[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:09]OFD Sender: No OFD packet to send [03:23:14]OFD Sender: No OFD packet to send [03:23:19]OFD Sender: No OFD packet to send [03:23:24]OFD Sender: No OFD packet to send [03:23:29]OFD Sender: No OFD packet to send [03:23:34]OFD Sender: No OFD packet to send [03:23:39]OFD Sender: No OFD packet to send [03:23:44]OFD Sender: No OFD packet to send [03:23:49]OFD Sender: No OFD packet to send [03:23:54]OFD Sender: No OFD packet to send [03:23:59]OFD Sender: No OFD packet to send [03:24:04]OFD Sender: No OFD packet to send [03:24:05]accept exits with 9 [03:24:05]New connection [03:24:05]New thread 3067067748 created [03:24:05]Thread 3066924388 joined [03:24:05]Waiting for new connection... [03:24:05] Sock 9.Parse request [03:24:05]Sock 9.Check first char [03:24:05]Sock 9.First char is OK [03:24:05]request: POST /json_proto HTTP/1.0 [03:24:05]Method: POST [03:24:05]URL: /json_proto [03:24:05]Method is POST - this is cgi request [03:24:05]url: /json_proto [03:24:05]query_string will be loaded in cgi processing [03:24:05]execute_cgi json_proto POST (null) [03:24:05]execute_cgi path=json_proto method=POST [03:24:05]POST find Content-Length [03:24:05]Host: 172.17.39.4:8080 [03:24:05]Content-Length: 779 [03:24:05]Content-Type: application/json [03:24:05] [03:24:05]POST finish read [03:24:05]Found Content-Length = 779 [03:24:05]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129584", "tax_sys" : 0, "items" : [ { "code": "5449000189332", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043F\u0435\u0440\u0441\u0438\u043A 1\u043B", "price" : 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" ] } } [03:24:05]execute_script... [03:24: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)129584", "tax_sys" : 0, "items" : [ { "code": "5449000189332", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043F\u0435\u0440\u0441\u0438\u043A 1\u043B", "price" : 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" ] } } [03:24:05]POST & json_proto [03:24:05]process_json_proto [03:24:05]json parsed OK: [03:24:05]protocol is kg_v1.0 [03:24:05]action value=close_receipt [03:24:05]process_action close_receipt [03:24:05]cmd_close_receipt [03:24:05]MH_GetDate [03:24:05]Write to MH i2c: F0 00 00 09 09 01 [03:24:05]Write i2c OK [03:24:05]MH_I2C_Read... [03:24:05]Read from MH i2c: F0 [03:24:05]MH_I2C_Read... [03:24:05]Read from MH i2c: F0 09 00 [03:24:05]MH_I2C_Read... [03:24:05]Read from MH i2c: F0 09 00 09 09 00 57 96 94 66 2D 25 5D 64 04 [03:24:05]GetLastDocTimeStamp 1721013692 [03:24:05]current date 1721013847 [03:24:05]FM_GetShiftState [03:24:05]SAM_PROTO_GetShiftState [03:24:05]wFMCommunicate request_size=4 [03:24:05]MH_SAM_APDU [03:24:05]CAPDU: 80 13 01 00 [03:24:05]Write to MH i2c: E2 08 00 0A 09 80 13 01 00 00 00 00 00 90 [03:24:05]Write i2c OK [03:24:05]MH_I2C_Read... [03:24:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [03:24:05]Read from MH i2c: E2 [03:24:05]MH_I2C_Read... [03:24:05]Read from MH i2c: E2 0E 00 [03:24:05]MH_I2C_Read... [03:24:05]Read from MH i2c: E2 0E 00 0A 09 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 09 [03:24:05]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [03:24:05]wFMCommunicate OK [03:24:05]SAM_PROTO_GetShiftState done [03:24:05]FM_GetShiftState done [03:24:05]opened in 1721003525 [03:24:05]opened+sec_in_day 1721089925 [03:24:05]quantity*price = 10700 [03:24:05]sum+1 = 10701 [03:24:05]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 СНО: Общий режим Чек 24 15.07.2024 03:24 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57129 ФПД: 265750284876195 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T032407&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57129&fm=265750284876195&tin=02508201610067®Number=0000000000091208&sum=10700 0 [03:24:06]StoreToDocumentArchive [03:24:06]shift 497 fd 57129 [03:24:06]save to /storage/0497/doc_00057129 [03:24:06]save last doc name /storage/0497/doc_00057129 to /storage/kkm_last_doc_name [03:24:06]save OK [03:24:06]Clear old archive folders... [03:24:06]ProcessDocumentItem done err = 0, tmpTLVsize=287 [03:24:06]tlvbuf is 009E2E10 [03:24:06]SAM_PROTO_ClearQueue [03:24:06]wFMCommunicate request_size=4 [03:24:06]MH_SAM_APDU [03:24:06]CAPDU: 80 09 00 00 [03:24:06]Write to MH i2c: E2 08 00 17 09 80 09 00 00 00 00 00 00 92 [03:24:06]Write i2c OK [03:24:06]MH_I2C_Read... [03:24:06]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [03:24:06]Read from MH i2c: E2 [03:24:06]MH_I2C_Read... [03:24:06]Read from MH i2c: E2 03 00 [03:24:06]MH_I2C_Read... [03:24:06]Read from MH i2c: E2 03 00 17 09 00 90 00 94 [03:24:06]RAPDU: 90 00 [03:24:06]wFMCommunicate OK [03:24:06]SAM_PROTO_ClearQueue done [03:24:06]KKMCreateOFDPacket [03:24:06]OFDProtocolAddRootSTLVToBuf [03:24:06]FM_MakeSignedData [03:24:06]FM_MakeSignedData [03:24:06]SAM_PROTO_SignData [03:24:06]wFMCommunicate request_size=4 [03:24:06]MH_SAM_APDU [03:24:06]CAPDU: 80 0D 01 02 [03:24:06]Write to MH i2c: E2 08 00 18 09 80 0D 01 02 00 00 00 00 9A [03:24:06]Write i2c OK [03:24:06]MH_I2C_Read... [03:24:06]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [03:24:06]Read from MH i2c: E2 [03:24:06]MH_I2C_Read... [03:24:06]Read from MH i2c: E2 03 00 [03:24:06]MH_I2C_Read... [03:24:06]Read from MH i2c: E2 03 00 18 09 00 90 00 95 [03:24:06]RAPDU: 90 00 [03:24:06]wFMCommunicate OK [03:24:06]wFMCommunicate request_size=255 [03:24:06]MH_SAM_APDU [03:24:06]CAPDU: 80 0D 02 02 FA 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 33 32 06 04 2D 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 18 00 00 00 F4 03 04 00 57 96 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 [03:24:06]Write to MH i2c: E2 02 01 19 09 80 0D 02 02 FA 00 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 33 32 06 04 2D 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 18 00 00 00 F4 03 04 00 57 96 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 00 00 96 [03:24:06]Write i2c OK [03:24:06]MH_I2C_Read... [03:24:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [03:24:06]Read from MH i2c: E2 [03:24:06]MH_I2C_Read... [03:24:06]Read from MH i2c: E2 03 00 [03:24:06]MH_I2C_Read... [03:24:06]Read from MH i2c: E2 03 00 19 09 00 90 00 96 [03:24:06]RAPDU: 90 00 [03:24:06]wFMCommunicate OK [03:24:06]wFMCommunicate request_size=46 [03:24:06]MH_SAM_APDU [03:24:06]CAPDU: 80 0D 02 02 29 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 29 DF 00 00 35 04 06 00 F1 B2 CF 54 39 A3 [03:24:07]Write to MH i2c: E2 31 00 1A 09 80 0D 02 02 29 00 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 29 DF 00 00 35 04 06 00 F1 B2 CF 54 39 A3 00 00 D6 [03:24:07]Write i2c OK [03:24:07]MH_I2C_Read... [03:24:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [03:24:07]Read from MH i2c: E2 [03:24:07]MH_I2C_Read... [03:24:07]Read from MH i2c: E2 03 00 [03:24:07]MH_I2C_Read... [03:24:07]Read from MH i2c: E2 03 00 1A 09 00 90 00 97 [03:24:07]RAPDU: 90 00 [03:24:07]wFMCommunicate OK [03:24:07]wFMCommunicate request_size=4 [03:24:07]MH_SAM_APDU [03:24:07]CAPDU: 80 0D 03 02 [03:24:07]Write to MH i2c: E2 08 00 1B 09 80 0D 03 02 00 00 00 00 9F [03:24:07]Write i2c OK [03:24:07]MH_I2C_Read... [03:24:07]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [03:24:07]Read from MH i2c: E2 [03:24:07]MH_I2C_Read... [03:24:07]Read from MH i2c: E2 0B 00 [03:24:07]MH_I2C_Read... [03:24:07]Read from MH i2c: E2 0B 00 1B 09 00 26 36 62 84 AF 7A 6A 46 90 00 BB [03:24:07]RAPDU: 26 36 62 84 AF 7A 6A 46 90 00 [03:24:07]wFMCommunicate OK [03:24:07]SAM_PROTO_SignData done [03:24:07]FM_MakeSignedData done [03:24:07]CreateOFDProtocolMessage [03:24:07]wFMCommunicate request_size=4 [03:24:07]MH_SAM_APDU [03:24:07]CAPDU: 80 11 00 00 [03:24:07]Write to MH i2c: E2 08 00 1C 09 80 11 00 00 00 00 00 00 9F [03:24:07]Write i2c OK [03:24:07]MH_I2C_Read... [03:24:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [03:24:07]Read from MH i2c: E2 [03:24:07]MH_I2C_Read... [03:24:07]Read from MH i2c: E2 17 00 [03:24:07]MH_I2C_Read... [03:24:07]Read from MH i2c: E2 17 00 1C 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 F9 [03:24:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [03:24:07]wFMCommunicate OK [03:24:07]CreateOFDProtocolMessage done [03:24:07]OFDSenderStorePacket 57129 [03:24:07]StoreOFDPacket docnum=57129 [03:24:07]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 33 01 00 00 07 11 2B 01 96 8B 5A 03 01 00 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 33 32 06 04 2D 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 18 00 00 00 F4 03 04 00 57 96 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 29 DF 00 00 35 04 06 00 F1 B2 CF 54 39 A3 26 36 62 84 AF 7A 6A 46 [03:24:07]CheckFolder [03:24:07]dirname=/storage/ofd_packets [03:24:07]CheckFolder done [03:24:07]ProducePacketName [03:24:07]name=ofd_packets/00057129 [03:24:07]NVStorageSaveData ofd_packets/00057129 [03:24:07]File name is /storage/ofd_packets/00057129 [03:24:07]Write 337 bytes [03:24:07]NVStorageSaveData done [03:24:07]OFDSenderStorePacket done [03:24:07]KKMCreateOFDPacket done [03:24:07]NVStorageSaveData kkm_last_timestamp [03:24:07]File name is /storage/kkm_last_timestamp [03:24:07]Write 4 bytes [03:24:07]NVStorageSaveData done [03:24:07]ExternCall_PrintAddStr [03:24:07]wPrintStart [03:24:07]Write to MH i2c: 01 00 00 1D 09 26 [03:24:07]Write i2c OK [03:24:07]MH_I2C_Read... [03:24:07]Read from MH i2c: 01 [03:24:07]MH_I2C_Read... [03:24:07]Read from MH i2c: 01 07 00 [03:24:07]MH_I2C_Read... [03:24:07]Read from MH i2c: 01 07 00 1D 09 00 00 00 00 00 FF 0F 3B [03:24:07]RasterBufferAndPrint [03:24:07]line Счет N : (3)129584 [03:24:07]line ИНН: 02508201610067 [03:24:07]line Контрольно-Кассовый Чек [03:24:07]line ПРОДАЖА [03:24:07]line Товар: 5449000189332 [03:24:07]line Холодный чай Fuse персик 1л [03:24:07]line 1.000 * 107.00 [03:24:07]line = 107.00 [03:24:07]line НДС 12% НСП 1% [03:24:07]line > о реализуемом товаре [03:24:07]line ИТОГО: 107.00 [03:24:07]line НСП 1% : 0.95 [03:24:07]line НДС 12% : 11.36 [03:24:07]line Наличными: 107.00 [03:24:07]line Безнал.: 0.00 [03:24:07]line Место: АЗС № 132 "Партнер Нефть" [03:24:07]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [03:24:07]line СНО: Общий режим [03:24:07]line Чек 24 15.07.2024 03:24 [03:24:07]line Смена: 497 ФФД: 1.0 [03:24:07]line ЗНМ: 0300000132 [03:24:07]line РНМ: 0000000000091208 [03:24:07]line Версия ККМ: 001 [03:24:07]line ФМ: 0000000000874857 [03:24:07]line ФД: 57129 [03:24:07]line ФПД: 265750284876195 [03:24:07]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T032407&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57129&fm=265750284876195&tin=02508201610067®Number=0000000000091208&sum=10700 [03:24:07]line 0 [03:24:07]OFD Sender: Processing packet 57129 [packets to send 38, broken 37] [03:24:07]ProducePacketName [03:24:07]name=ofd_packets/00057129 [03:24:07]OFD Sender: To server: pG, [03:24:07]CommunicateWithHost lk.salyk.kg:30040 [03:24:07]ConnectInit lk.salyk.kg [03:24:07]written 0, free lines is 4095 [03:24:07]Connected sock=10 [03:24: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 33 01 00 00 07 11 2B 01 96 8B 5A 03 01 00 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 33 32 06 04 2D 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 18 00 00 00 F4 03 04 00 57 96 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 29 DF 00 00 35 04 06 00 F1 B2 CF 54 39 A3 26 36 62 84 AF 7A 6A 46 [03:24: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 85 F9 47 00 D2 6B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 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 29 DF 00 00 F4 03 04 00 A6 3C 94 66 B6 04 01 00 00 A8 68 96 7D 52 9B 93 8F [03:24:07]CommunicateWithHost err = 0 [03:24:07]CheckOFDResponse [03:24:07]1017 (14) - 77093643461234 [03:24:07]1041 (16) - 0000000000874857 [03:24:07]1040 (4) - 57129 [03:24:07]1012 (4) - 14.07.2024 21:01 [03:24:07]1206 (1) - 0 [03:24:07]OFD Sender: Remove packet 57129 [03:24:07]ProducePacketName [03:24:07]name=ofd_packets/00057129 [03:24:07]NVStorageDeleteData [03:24:07]Write to MH i2c: 01 00 00 45 09 4E [03:24:07]Write i2c OK [03:24:07]MH_I2C_Read... [03:24:07]Read from MH i2c: 01 [03:24:07]MH_I2C_Read... [03:24:07]Read from MH i2c: 01 07 00 [03:24:07]MH_I2C_Read... [03:24:07]Read from MH i2c: 01 07 00 45 09 00 00 00 00 00 0E 0D 70 [03:24:07]RasterBufferAndPrint [03:24:07]line [03:24:07]line [03:24:07]line [03:24:07]line [03:24:07]line [03:24:07]written 0, free lines is 3348 [03:24:07]MH_Cut [03:24:07]Write to MH i2c: D1 01 00 4C 09 01 27 [03:24:07]Write i2c OK [03:24:07]MH_I2C_Read... [03:24:07]Read from MH i2c: D1 [03:24:07]MH_I2C_Read... [03:24:07]Read from MH i2c: D1 01 00 [03:24:07]MH_I2C_Read... [03:24:07]Read from MH i2c: D1 01 00 4C 09 00 26 [03:24:07]Write to MH i2c: 01 00 00 4D 09 56 [03:24:07]Write i2c OK [03:24:07]MH_I2C_Read... [03:24:08]OFD Sender: No OFD packet to send [03:24:08]*** Cut start [03:24:08]*** Partial cut [03:24:08]*** CUTSNS_PIN = 1 [03:24:08]*** CUTSNS_PIN = 0 [03:24:08]*** Brake cut motor [03:24:09]Read from MH i2c: 01 [03:24:09]MH_I2C_Read... [03:24:09]*** Stop cut motor [03:24:09]*** Cut end [03:24:09]Read from MH i2c: 01 07 00 [03:24:09]MH_I2C_Read... [03:24:09]Read from MH i2c: 01 07 00 4D 09 00 00 00 00 00 FF 0F 6B [03:24:09]process_action close_receipt done [03:24:09]requested_data is exist [03:24:09]produce_requested_data [03:24:09]requested_item fm.sn is exist - process it [03:24:09]wFMCommunicate request_size=4 [03:24:09]MH_SAM_APDU [03:24:09]CAPDU: 80 11 00 00 [03:24:09]Write to MH i2c: E2 08 00 4E 09 80 11 00 00 00 00 00 00 D1 [03:24:09]Write i2c OK [03:24:09]MH_I2C_Read... [03:24:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [03:24:09]Read from MH i2c: E2 [03:24:09]MH_I2C_Read... [03:24:09]Read from MH i2c: E2 17 00 [03:24:09]MH_I2C_Read... [03:24:09]Read from MH i2c: E2 17 00 4E 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 2B [03:24:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [03:24:09]wFMCommunicate OK [03:24:09]requested_item fd.num is exist - process it [03:24:09]SAM_PROTO_GetFieldsCounters [03:24:09]wFMCommunicate request_size=4 [03:24:09]MH_SAM_APDU [03:24:09]CAPDU: 80 13 00 00 [03:24:09]Write to MH i2c: E2 08 00 4F 09 80 13 00 00 00 00 00 00 D4 [03:24:09]Write i2c OK [03:24:09]MH_I2C_Read... [03:24:09]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [03:24:09]Read from MH i2c: E2 [03:24:09]MH_I2C_Read... [03:24:09]Read from MH i2c: E2 62 00 [03:24:09]MH_I2C_Read... [03:24:09]Read from MH i2c: E2 62 00 4F 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 29 DF 00 00 0E 04 04 00 F1 01 00 00 12 04 04 00 18 00 00 00 5E 04 04 00 18 00 00 00 57 04 04 00 19 00 00 00 19 04 04 00 00 00 00 00 90 00 39 [03:24: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 29 DF 00 00 0E 04 04 00 F1 01 00 00 12 04 04 00 18 00 00 00 5E 04 04 00 18 00 00 00 57 04 04 00 19 00 00 00 19 04 04 00 00 00 00 00 90 00 [03:24:09]wFMCommunicate OK [03:24:09]SAM_PROTO_GetFieldsCounters done [03:24:09]requested_item shift.num is exist - process it [03:24:09]requested_item shift.opened is exist - process it [03:24:09]req_shift_opened [03:24:09]FM_GetShiftState [03:24:09]SAM_PROTO_GetShiftState [03:24:09]wFMCommunicate request_size=4 [03:24:09]MH_SAM_APDU [03:24:09]CAPDU: 80 13 01 00 [03:24:09]Write to MH i2c: E2 08 00 50 09 80 13 01 00 00 00 00 00 D6 [03:24:09]Write i2c OK [03:24:09]MH_I2C_Read... [03:24:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [03:24:09]Read from MH i2c: E2 [03:24:09]MH_I2C_Read... [03:24:09]Read from MH i2c: E2 0E 00 [03:24:09]MH_I2C_Read... [03:24:09]Read from MH i2c: E2 0E 00 50 09 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 4F [03:24:09]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [03:24:09]wFMCommunicate OK [03:24:09]SAM_PROTO_GetShiftState done [03:24:09]FM_GetShiftState done [03:24:09]req_shift_opened done [03:24:09]requested_item shift.open_date is exist - process it [03:24:09]req_shift_open_date [03:24:09]req_shift_open_date done [03:24:09]requested_item shift.sale.total is exist - process it [03:24:09]SAM_PROTO_GetShiftData [03:24:09]wFMCommunicate request_size=4 [03:24:09]MH_SAM_APDU [03:24:09]CAPDU: 80 13 02 00 [03:24:09]Write to MH i2c: E2 08 00 51 09 80 13 02 00 00 00 00 00 D8 [03:24:09]Write i2c OK [03:24:09]MH_I2C_Read... [03:24:09]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [03:24:09]Read from MH i2c: E2 [03:24:09]MH_I2C_Read... [03:24:09]Read from MH i2c: E2 FD 00 [03:24:09]MH_I2C_Read... [03:24:09]Read from MH i2c: E2 FD 00 51 09 00 B6 04 AA 04 B2 04 6E 04 04 00 18 00 00 00 69 04 9B 00 6F 04 04 00 17 00 00 00 B1 04 03 00 71 B7 0A 70 04 03 00 F8 83 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 53 23 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 48 18 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 A3 [03:24:09]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 18 00 00 00 69 04 9B 00 6F 04 04 00 17 00 00 00 B1 04 03 00 71 B7 0A 70 04 03 00 F8 83 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 53 23 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 48 18 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:24:09]wFMCommunicate OK [03:24:09]wFMCommunicate request_size=4 [03:24:09]MH_SAM_APDU [03:24:09]CAPDU: 80 17 00 00 [03:24:09]Write to MH i2c: E2 08 00 52 09 80 17 00 00 00 00 00 00 DB [03:24:09]Write i2c OK [03:24:09]MH_I2C_Read... [03:24:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [03:24:10]Read from MH i2c: E2 [03:24:10]MH_I2C_Read... [03:24:10]Read from MH i2c: E2 FD 00 [03:24:10]MH_I2C_Read... [03:24:10]Read from MH i2c: E2 FD 00 52 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 10 [03:24:10]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:24:10]wFMCommunicate OK [03:24:10]wFMCommunicate request_size=4 [03:24:10]MH_SAM_APDU [03:24:10]CAPDU: 80 17 00 00 [03:24:10]Write to MH i2c: E2 08 00 53 09 80 17 00 00 00 00 00 00 DC [03:24:10]Write i2c OK [03:24:10]MH_I2C_Read... [03:24:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [03:24:10]Read from MH i2c: E2 [03:24:10]MH_I2C_Read... [03:24:10]Read from MH i2c: E2 FD 00 [03:24:10]MH_I2C_Read... [03:24:10]Read from MH i2c: E2 FD 00 53 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 9C [03:24:10]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:24:10]wFMCommunicate OK [03:24:10]wFMCommunicate request_size=4 [03:24:10]MH_SAM_APDU [03:24:10]CAPDU: 80 17 00 00 [03:24:10]Write to MH i2c: E2 08 00 54 09 80 17 00 00 00 00 00 00 DD [03:24:10]Write i2c OK [03:24:10]MH_I2C_Read... [03:24:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [03:24:10]Read from MH i2c: E2 [03:24:10]MH_I2C_Read... [03:24:10]Read from MH i2c: E2 FD 00 [03:24:10]MH_I2C_Read... [03:24:10]Read from MH i2c: E2 FD 00 54 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 4C [03:24:10]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:24:10]wFMCommunicate OK [03:24:10]wFMCommunicate request_size=4 [03:24:10]MH_SAM_APDU [03:24:10]CAPDU: 80 17 00 00 [03:24:10]Write to MH i2c: E2 08 00 55 09 80 17 00 00 00 00 00 00 DE [03:24:10]Write i2c OK [03:24:10]MH_I2C_Read... [03:24:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [03:24:11]Read from MH i2c: E2 [03:24:11]MH_I2C_Read... [03:24:11]Read from MH i2c: E2 D3 00 [03:24:11]MH_I2C_Read... [03:24:11]Read from MH i2c: E2 D3 00 55 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 CB [03:24:11]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:24:11]wFMCommunicate OK [03:24:11]SAM_PROTO_GetShiftData done [03:24:11]requested_item shift.sale.total_cash is exist - process it [03:24:11]requested_item shift.sale_refund.total is exist - process it [03:24:11]requested_item shift.sale_refund.total_cash is exist - process it [03:24:11]produce_requested_data done [03:24:11]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57129,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":7023.21,"shift.sale.total_cash":4270.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [03:24:11]process_action_free close_receipt [03:24:11]json_value_free [03:24:11]json_value_free done [03:24:11]process_json_proto returns [03:24:11]Send response to host [03:24:11]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57129,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":7023.21,"shift.sale.total_cash":4270.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [03:24:11]free response buf [03:24:11]execute_script done [03:24:11]execute_script returns [03:24:11]free content buf [03:24:11]Sock 9.Close socket [03:24:11]Sock 9.Thread stoped [03:24:13]OFD Sender: No OFD packet to send [03:24:18]OFD Sender: No OFD packet to send [03:24:23]OFD Sender: No OFD packet to send [03:24:28]OFD Sender: No OFD packet to send [03:24:33]OFD Sender: No OFD packet to send [03:24:38]OFD Sender: No OFD packet to send [03:24:43]OFD Sender: No OFD packet to send [03:24:48]OFD Sender: No OFD packet to send [03:24:53]OFD Sender: No OFD packet to send [03:24:58]OFD Sender: No OFD packet to send [03:25:03]OFD Sender: No OFD packet to send [03:25:08]OFD Sender: No OFD packet to send [03:25:13]OFD Sender: No OFD packet to send [03:25:18]OFD Sender: No OFD packet to send [03:25:23]OFD Sender: No OFD packet to send [03:25:28]OFD Sender: No OFD packet to send [03:25:33]OFD Sender: No OFD packet to send [03:25:38]OFD Sender: No OFD packet to send [03:25:43]OFD Sender: No OFD packet to send [03:25:48]OFD Sender: No OFD packet to send [03:25:53]OFD Sender: No OFD packet to send [03:25:58]OFD Sender: No OFD packet to send [03:26:03]OFD Sender: No OFD packet to send [03:26:08]OFD Sender: No OFD packet to send [03:26:13]OFD Sender: No OFD packet to send [03:26:18]OFD Sender: No OFD packet to send [03:26:23]OFD Sender: No OFD packet to send [03:26:28]OFD Sender: No OFD packet to send [03:26:33]OFD Sender: No OFD packet to send [03:26:38]OFD Sender: No OFD packet to send [03:26:43]OFD Sender: No OFD packet to send [03:26:48]OFD Sender: No OFD packet to send [03:26:53]OFD Sender: No OFD packet to send [03:26:58]OFD Sender: No OFD packet to send [03:27:03]OFD Sender: No OFD packet to send [03:27:08]OFD Sender: No OFD packet to send [03:27:13]OFD Sender: No OFD packet to send [03:27:18]OFD Sender: No OFD packet to send [03:27:23]OFD Sender: No OFD packet to send [03:27:28]OFD Sender: No OFD packet to send [03:27:33]OFD Sender: No OFD packet to send [03:27:38]OFD Sender: No OFD packet to send [03:27:43]OFD Sender: No OFD packet to send [03:27:48]OFD Sender: No OFD packet to send [03:27:53]OFD Sender: No OFD packet to send [03:27:58]OFD Sender: No OFD packet to send [03:28:03]OFD Sender: No OFD packet to send [03:28:08]OFD Sender: No OFD packet to send [03:28:13]OFD Sender: No OFD packet to send [03:28:18]OFD Sender: No OFD packet to send [03:28:23]OFD Sender: No OFD packet to send [03:28:28]OFD Sender: No OFD packet to send [03:28:33]OFD Sender: No OFD packet to send [03:28:38]OFD Sender: No OFD packet to send [03:28:43]OFD Sender: No OFD packet to send [03:28:48]OFD Sender: No OFD packet to send [03:28:53]OFD Sender: No OFD packet to send [03:28:58]OFD Sender: No OFD packet to send [03:29:03]OFD Sender: No OFD packet to send [03:29:08]OFD Sender: No OFD packet to send [03:29:13]OFD Sender: No OFD packet to send [03:29:18]OFD Sender: No OFD packet to send [03:29:23]OFD Sender: No OFD packet to send [03:29:28]OFD Sender: No OFD packet to send [03:29:33]OFD Sender: No OFD packet to send [03:29:38]OFD Sender: No OFD packet to send [03:29:43]OFD Sender: No OFD packet to send [03:29:48]OFD Sender: No OFD packet to send [03:29:53]OFD Sender: No OFD packet to send [03:29:58]OFD Sender: No OFD packet to send [03:30:03]OFD Sender: No OFD packet to send [03:30:08]OFD Sender: No OFD packet to send [03:30:13]OFD Sender: No OFD packet to send [03:30:18]OFD Sender: No OFD packet to send [03:30:23]OFD Sender: No OFD packet to send [03:30:28]OFD Sender: No OFD packet to send [03:30:33]OFD Sender: No OFD packet to send [03:30:38]OFD Sender: No OFD packet to send [03:30:43]OFD Sender: No OFD packet to send [03:30:48]OFD Sender: No OFD packet to send [03:30:53]OFD Sender: No OFD packet to send [03:30:58]OFD Sender: No OFD packet to send [03:31:03]OFD Sender: No OFD packet to send [03:31:08]OFD Sender: No OFD packet to send [03:31:13]OFD Sender: No OFD packet to send [03:31:18]OFD Sender: No OFD packet to send [03:31:23]OFD Sender: No OFD packet to send [03:31:28]OFD Sender: No OFD packet to send [03:31:33]OFD Sender: No OFD packet to send [03:31:38]OFD Sender: No OFD packet to send [03:31:43]OFD Sender: No OFD packet to send [03:31:48]OFD Sender: No OFD packet to send [03:31:53]OFD Sender: No OFD packet to send [03:31:58]OFD Sender: No OFD packet to send [03:32:03]OFD Sender: No OFD packet to send [03:32:08]OFD Sender: No OFD packet to send [03:32:13]OFD Sender: No OFD packet to send [03:32:18]OFD Sender: No OFD packet to send [03:32:23]OFD Sender: No OFD packet to send [03:32:28]OFD Sender: No OFD packet to send [03:32:33]OFD Sender: No OFD packet to send [03:32:38]OFD Sender: No OFD packet to send [03:32:43]OFD Sender: No OFD packet to send [03:32:48]OFD Sender: No OFD packet to send [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:44]OFD Sender: No OFD packet to send [03:36:49]OFD Sender: No OFD packet to send [03:36:54]OFD Sender: No OFD packet to send [03:36:59]OFD Sender: No OFD packet to send [03:37:04]OFD Sender: No OFD packet to send [03:37:09]OFD Sender: No OFD packet to send [03:37:14]OFD Sender: No OFD packet to send [03:37:19]OFD Sender: No OFD packet to send [03:37:24]OFD Sender: No OFD packet to send [03:37:29]OFD Sender: No OFD packet to send [03:37:34]OFD Sender: No OFD packet to send [03:37:39]OFD Sender: No OFD packet to send [03:37:44]OFD Sender: No OFD packet to send [03:37:49]OFD Sender: No OFD packet to send [03:37:54]OFD Sender: No OFD packet to send [03:37:59]OFD Sender: No OFD packet to send [03:38:04]OFD Sender: No OFD packet to send [03:38:09]OFD Sender: No OFD packet to send [03:38:14]OFD Sender: No OFD packet to send [03:38:19]OFD Sender: No OFD packet to send [03:38:24]OFD Sender: No OFD packet to send [03:38:29]OFD Sender: No OFD packet to send [03:38:34]OFD Sender: No OFD packet to send [03:38:39]OFD Sender: No OFD packet to send [03:38:44]OFD Sender: No OFD packet to send [03:38:49]OFD Sender: No OFD packet to send [03:38:54]OFD Sender: No OFD packet to send [03:38:59]OFD Sender: No OFD packet to send [03:39:04]OFD Sender: No OFD packet to send [03:39:09]OFD Sender: No OFD packet to send [03:39:14]OFD Sender: No OFD packet to send [03:39:19]OFD Sender: No OFD packet to send [03:39:24]OFD Sender: No OFD packet to send [03:39:29]OFD Sender: No OFD packet to send [03:39:34]OFD Sender: No OFD packet to send [03:39:39]OFD Sender: No OFD packet to send [03:39:44]OFD Sender: No OFD packet to send [03:39:49]OFD Sender: No OFD packet to send [03:39:54]OFD Sender: No OFD packet to send [03:39:59]OFD Sender: No OFD packet to send [03:40:04]OFD Sender: No OFD packet to send [03:40:09]OFD Sender: No OFD packet to send [03:40:14]OFD Sender: No OFD packet to send [03:40:19]OFD Sender: No OFD packet to send [03:40:24]OFD Sender: No OFD packet to send [03:40:29]OFD Sender: No OFD packet to send [03:40:34]OFD Sender: No OFD packet to send [03:40:39]OFD Sender: No OFD packet to send [03:40:44]OFD Sender: No OFD packet to send [03:40:49]OFD Sender: No OFD packet to send [03:40:54]OFD Sender: No OFD packet to send [03:40:59]OFD Sender: No OFD packet to send [03:41:04]OFD Sender: No OFD packet to send [03:41:09]OFD Sender: No OFD packet to send [03:41:14]OFD Sender: No OFD packet to send [03:41:19]OFD Sender: No OFD packet to send [03:41:24]OFD Sender: No OFD packet to send [03:41:29]OFD Sender: No OFD packet to send [03:41:34]OFD Sender: No OFD packet to send [03:41:39]OFD Sender: No OFD packet to send [03:41:44]OFD Sender: No OFD packet to send [03:41:49]OFD Sender: No OFD packet to send [03:41:54]OFD Sender: No OFD packet to send [03:41:59]OFD Sender: No OFD packet to send [03:42:04]OFD Sender: No OFD packet to send [03:42:09]OFD Sender: No OFD packet to send [03:42:14]OFD Sender: No OFD packet to send [03:42:19]OFD Sender: No OFD packet to send [03:42:24]OFD Sender: No OFD packet to send [03:42:29]OFD Sender: No OFD packet to send [03:42:34]OFD Sender: No OFD packet to send [03:42:39]OFD Sender: No OFD packet to send [03:42:44]OFD Sender: No OFD packet to send [03:42:49]OFD Sender: No OFD packet to send [03:42:54]OFD Sender: No OFD packet to send [03:42:59]OFD Sender: No OFD packet to send [03:43:04]OFD Sender: No OFD packet to send [03:43:09]OFD Sender: No OFD packet to send [03:43:14]OFD Sender: No OFD packet to send [03:43:19]OFD Sender: No OFD packet to send [03:43:24]OFD Sender: No OFD packet to send [03:43:29]OFD Sender: No OFD packet to send [03:43:34]OFD Sender: No OFD packet to send [03:43:39]OFD Sender: No OFD packet to send [03:43:44]OFD Sender: No OFD packet to send [03:43:49]OFD Sender: No OFD packet to send [03:43:54]OFD Sender: No OFD packet to send [03:43:59]OFD Sender: No OFD packet to send [03:44:04]OFD Sender: No OFD packet to send [03:44:09]OFD Sender: No OFD packet to send [03:44:14]OFD Sender: No OFD packet to send [03:44:19]OFD Sender: No OFD packet to send [03:44:24]OFD Sender: No OFD packet to send [03:44:29]OFD Sender: No OFD packet to send [03:44:34]OFD Sender: No OFD packet to send [03:44:39]OFD Sender: No OFD packet to send [03:44:44]OFD Sender: No OFD packet to send [03:44:49]OFD Sender: No OFD packet to send [03:44:54]OFD Sender: No OFD packet to send [03:44:59]OFD Sender: No OFD packet to send [03:45:04]OFD Sender: No OFD packet to send [03:45:09]OFD Sender: No OFD packet to send [03:45:14]OFD Sender: No OFD packet to send [03:45:19]OFD Sender: No OFD packet to send [03:45:24]OFD Sender: No OFD packet to send [03:45:29]OFD Sender: No OFD packet to send [03:45: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:34]OFD Sender: No OFD packet to send [03:49:39]OFD Sender: No OFD packet to send [03:49:44]OFD Sender: No OFD packet to send [03:49:49]OFD Sender: No OFD packet to send [03:49:54]OFD Sender: No OFD packet to send [03:49:59]OFD Sender: No OFD packet to send [03:50:04]OFD Sender: No OFD packet to send [03:50:09]OFD Sender: No OFD packet to send [03:50:14]OFD Sender: No OFD packet to send [03:50:19]OFD Sender: No OFD packet to send [03:50:24]OFD Sender: No OFD packet to send [03:50:29]OFD Sender: No OFD packet to send [03:50:34]OFD Sender: No OFD packet to send [03:50:39]OFD Sender: No OFD packet to send [03:50:44]OFD Sender: No OFD packet to send [03:50:49]OFD Sender: No OFD packet to send [03:50:54]OFD Sender: No OFD packet to send [03:50:59]OFD Sender: No OFD packet to send [03:51:04]OFD Sender: No OFD packet to send [03:51:09]OFD Sender: No OFD packet to send [03:51:14]OFD Sender: No OFD packet to send [03:51:19]OFD Sender: No OFD packet to send [03:51:24]OFD Sender: No OFD packet to send [03:51:29]OFD Sender: No OFD packet to send [03:51:34]OFD Sender: No OFD packet to send [03:51:39]OFD Sender: No OFD packet to send [03:51:44]OFD Sender: No OFD packet to send [03:51:49]OFD Sender: No OFD packet to send [03:51:54]OFD Sender: No OFD packet to send [03:51:59]OFD Sender: No OFD packet to send [03:52:04]OFD Sender: No OFD packet to send [03:52:09]OFD Sender: No OFD packet to send [03:52:14]OFD Sender: No OFD packet to send [03:52:19]OFD Sender: No OFD packet to send [03:52:24]OFD Sender: No OFD packet to send [03:52:29]OFD Sender: No OFD packet to send [03:52:34]OFD Sender: No OFD packet to send [03:52:39]OFD Sender: No OFD packet to send [03:52:44]OFD Sender: No OFD packet to send [03:52:49]OFD Sender: No OFD packet to send [03:52:54]OFD Sender: No OFD packet to send [03:52:59]OFD Sender: No OFD packet to send [03:53:04]OFD Sender: No OFD packet to send [03:53:09]OFD Sender: No OFD packet to send [03:53:14]OFD Sender: No OFD packet to send [03:53:19]OFD Sender: No OFD packet to send [03:53:24]OFD Sender: No OFD packet to send [03:53:29]OFD Sender: No OFD packet to send [03:53:34]OFD Sender: No OFD packet to send [03:53:39]OFD Sender: No OFD packet to send [03:53:44]OFD Sender: No OFD packet to send [03:53:49]OFD Sender: No OFD packet to send [03:53:54]OFD Sender: No OFD packet to send [03:53:59]OFD Sender: No OFD packet to send [03:54:04]OFD Sender: No OFD packet to send [03:54:09]OFD Sender: No OFD packet to send [03:54:14]OFD Sender: No OFD packet to send [03:54:19]OFD Sender: No OFD packet to send [03:54:24]OFD Sender: No OFD packet to send [03:54:29]OFD Sender: No OFD packet to send [03:54:34]OFD Sender: No OFD packet to send [03:54:39]OFD Sender: No OFD packet to send [03:54:44]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:30]OFD Sender: No OFD packet to send [03:55:35]OFD Sender: No OFD packet to send [03:55:40]OFD Sender: No OFD packet to send [03:55:45]OFD Sender: No OFD packet to send [03:55:50]OFD Sender: No OFD packet to send [03:55:55]OFD Sender: No OFD packet to send [03:56:00]OFD Sender: No OFD packet to send [03:56:05]OFD Sender: No OFD packet to send [03:56:10]OFD Sender: No OFD packet to send [03:56:15]OFD Sender: No OFD packet to send [03:56:20]OFD Sender: No OFD packet to send [03:56:25]OFD Sender: No OFD packet to send [03:56:30]OFD Sender: No OFD packet to send [03:56:35]OFD Sender: No OFD packet to send [03:56:40]OFD Sender: No OFD packet to send [03:56:45]OFD Sender: No OFD packet to send [03:56:50]OFD Sender: No OFD packet to send [03:56:55]OFD Sender: No OFD packet to send [03:57:00]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]accept exits with 8 [04:05:10]New connection [04:05:10]New thread 3066924388 created [04:05:10]Thread 3067067748 joined [04:05:10]Waiting for new connection... [04:05:10] Sock 8.Parse request [04:05:10]Sock 8.Check first char [04:05:10]Sock 8.First char is OK [04:05:10]request: POST /json_proto HTTP/1.0 [04:05:10]Method: POST [04:05:10]URL: /json_proto [04:05:10]Method is POST - this is cgi request [04:05:10]url: /json_proto [04:05:10]query_string will be loaded in cgi processing [04:05:10]execute_cgi json_proto POST (null) [04:05:10]execute_cgi path=json_proto method=POST [04:05:10]POST find Content-Length [04:05:10]Host: 172.17.39.4:8080 [04:05:10]Content-Length: 776 [04:05:10]Content-Type: application/json [04:05:10] [04:05:10]POST finish read [04:05:10]Found Content-Length = 776 [04:05:10]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129585", "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" ] } } [04:05:10]execute_script... [04:05: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)129585", "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" ] } } [04:05:10]POST & json_proto [04:05:10]process_json_proto [04:05:10]json parsed OK: [04:05:10]protocol is kg_v1.0 [04:05:10]action value=close_receipt [04:05:10]process_action close_receipt [04:05:10]cmd_close_receipt [04:05:10]MH_GetDate [04:05:10]Write to MH i2c: F0 00 00 56 09 4E [04:05:10]Write i2c OK [04:05:10]MH_I2C_Read... [04:05:10]Read from MH i2c: F0 [04:05:10]MH_I2C_Read... [04:05:10]Read from MH i2c: F0 09 00 [04:05:10]MH_I2C_Read... [04:05:10]Read from MH i2c: F0 09 00 56 09 00 F8 9F 94 66 2D 25 5D 64 FB [04:05:10]GetLastDocTimeStamp 1721013847 [04:05:10]current date 1721016312 [04:05:10]FM_GetShiftState [04:05:10]SAM_PROTO_GetShiftState [04:05:10]wFMCommunicate request_size=4 [04:05:10]MH_SAM_APDU [04:05:10]CAPDU: 80 13 01 00 [04:05:10]Write to MH i2c: E2 08 00 57 09 80 13 01 00 00 00 00 00 DD [04:05:10]Write i2c OK [04:05:10]MH_I2C_Read... [04:05:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [04:05:10]Read from MH i2c: E2 [04:05:10]MH_I2C_Read... [04:05:10]Read from MH i2c: E2 0E 00 [04:05:10]MH_I2C_Read... [04:05:10]Read from MH i2c: E2 0E 00 57 09 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 56 [04:05:10]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [04:05:10]wFMCommunicate OK [04:05:10]SAM_PROTO_GetShiftState done [04:05:10]FM_GetShiftState done [04:05:10]opened in 1721003525 [04:05:10]opened+sec_in_day 1721089925 [04:05:10]quantity*price = 26000 [04:05:10]sum+1 = 26001 [04:05:10]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 СНО: Общий режим Чек 25 15.07.2024 04:05 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57130 ФПД: 22077441699663 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T040512&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57130&fm=22077441699663&tin=02508201610067®Number=0000000000091208&sum=26000 0 [04:05:11]StoreToDocumentArchive [04:05:11]shift 497 fd 57130 [04:05:11]save to /storage/0497/doc_00057130 [04:05:11]save last doc name /storage/0497/doc_00057130 to /storage/kkm_last_doc_name [04:05:11]save OK [04:05:11]Clear old archive folders... [04:05:11]ProcessDocumentItem done err = 0, tmpTLVsize=284 [04:05:11]tlvbuf is 0099EC50 [04:05:11]SAM_PROTO_ClearQueue [04:05:11]wFMCommunicate request_size=4 [04:05:11]MH_SAM_APDU [04:05:11]CAPDU: 80 09 00 00 [04:05:11]Write to MH i2c: E2 08 00 64 09 80 09 00 00 00 00 00 00 DF [04:05:11]Write i2c OK [04:05:11]MH_I2C_Read... [04:05:11]Read from MH i2c: E2 [04:05:11]MH_I2C_Read... [04:05:11]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [04:05:11]Read from MH i2c: E2 03 00 [04:05:11]MH_I2C_Read... [04:05:11]Read from MH i2c: E2 03 00 64 09 00 90 00 E1 [04:05:11]RAPDU: 90 00 [04:05:11]wFMCommunicate OK [04:05:11]SAM_PROTO_ClearQueue done [04:05:11]KKMCreateOFDPacket [04:05:11]OFDProtocolAddRootSTLVToBuf [04:05:11]FM_MakeSignedData [04:05:11]FM_MakeSignedData [04:05:11]SAM_PROTO_SignData [04:05:11]wFMCommunicate request_size=4 [04:05:11]MH_SAM_APDU [04:05:11]CAPDU: 80 0D 01 02 [04:05:11]Write to MH i2c: E2 08 00 65 09 80 0D 01 02 00 00 00 00 E7 [04:05:11]Write i2c OK [04:05:11]MH_I2C_Read... [04:05:11]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [04:05:11]Read from MH i2c: E2 [04:05:11]MH_I2C_Read... [04:05:11]Read from MH i2c: E2 03 00 [04:05:11]MH_I2C_Read... [04:05:11]Read from MH i2c: E2 03 00 65 09 00 90 00 E2 [04:05:11]RAPDU: 90 00 [04:05:11]wFMCommunicate OK [04:05:11]wFMCommunicate request_size=255 [04:05:11]MH_SAM_APDU [04:05:11]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 19 00 00 00 F4 03 04 00 F8 9F 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 [04:05:11]Write to MH i2c: E2 02 01 66 09 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 19 00 00 00 F4 03 04 00 F8 9F 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 93 [04:05:11]Write i2c OK [04:05:11]MH_I2C_Read... [04:05:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [04:05:11]Read from MH i2c: E2 [04:05:11]MH_I2C_Read... [04:05:11]Read from MH i2c: E2 03 00 [04:05:11]MH_I2C_Read... [04:05:11]Read from MH i2c: E2 03 00 66 09 00 90 00 E3 [04:05:11]RAPDU: 90 00 [04:05:11]wFMCommunicate OK [04:05:11]wFMCommunicate request_size=43 [04:05:11]MH_SAM_APDU [04:05:11]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 2A DF 00 00 35 04 06 00 14 14 4E 11 EF 4F [04:05:11]Write to MH i2c: E2 2E 00 67 09 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 2A DF 00 00 35 04 06 00 14 14 4E 11 EF 4F 00 00 A7 [04:05:11]Write i2c OK [04:05:11]MH_I2C_Read... [04:05:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [04:05:11]Read from MH i2c: E2 [04:05:11]MH_I2C_Read... [04:05:11]Read from MH i2c: E2 03 00 [04:05:11]MH_I2C_Read... [04:05:12]Read from MH i2c: E2 03 00 67 09 00 90 00 E4 [04:05:12]RAPDU: 90 00 [04:05:12]wFMCommunicate OK [04:05:12]wFMCommunicate request_size=4 [04:05:12]MH_SAM_APDU [04:05:12]CAPDU: 80 0D 03 02 [04:05:12]Write to MH i2c: E2 08 00 68 09 80 0D 03 02 00 00 00 00 EC [04:05:12]Write i2c OK [04:05:12]MH_I2C_Read... [04:05:12]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [04:05:12]Read from MH i2c: E2 [04:05:12]MH_I2C_Read... [04:05:12]Read from MH i2c: E2 0B 00 [04:05:12]MH_I2C_Read... [04:05:12]Read from MH i2c: E2 0B 00 68 09 00 95 CA F2 FD E5 A3 47 2A 90 00 34 [04:05:12]RAPDU: 95 CA F2 FD E5 A3 47 2A 90 00 [04:05:12]wFMCommunicate OK [04:05:12]SAM_PROTO_SignData done [04:05:12]FM_MakeSignedData done [04:05:12]CreateOFDProtocolMessage [04:05:12]wFMCommunicate request_size=4 [04:05:12]MH_SAM_APDU [04:05:12]CAPDU: 80 11 00 00 [04:05:12]Write to MH i2c: E2 08 00 69 09 80 11 00 00 00 00 00 00 EC [04:05:12]Write i2c OK [04:05:12]MH_I2C_Read... [04:05:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [04:05:12]Read from MH i2c: E2 [04:05:12]MH_I2C_Read... [04:05:12]Read from MH i2c: E2 17 00 [04:05:12]MH_I2C_Read... [04:05:12]Read from MH i2c: E2 17 00 69 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 46 [04:05:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [04:05:12]wFMCommunicate OK [04:05:12]CreateOFDProtocolMessage done [04:05:12]OFDSenderStorePacket 57130 [04:05:12]StoreOFDPacket docnum=57130 [04:05: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 30 01 00 00 37 69 28 01 66 37 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 19 00 00 00 F4 03 04 00 F8 9F 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 2A DF 00 00 35 04 06 00 14 14 4E 11 EF 4F 95 CA F2 FD E5 A3 47 2A [04:05:12]CheckFolder [04:05:12]dirname=/storage/ofd_packets [04:05:12]CheckFolder done [04:05:12]ProducePacketName [04:05:12]name=ofd_packets/00057130 [04:05:12]NVStorageSaveData ofd_packets/00057130 [04:05:12]File name is /storage/ofd_packets/00057130 [04:05:12]Write 334 bytes [04:05:12]NVStorageSaveData done [04:05:12]OFDSenderStorePacket done [04:05:12]KKMCreateOFDPacket done [04:05:12]NVStorageSaveData kkm_last_timestamp [04:05:12]File name is /storage/kkm_last_timestamp [04:05:12]Write 4 bytes [04:05:12]NVStorageSaveData done [04:05:12]ExternCall_PrintAddStr [04:05:12]wPrintStart [04:05:12]Write to MH i2c: 01 00 00 6A 09 73 [04:05:12]Write i2c OK [04:05:12]MH_I2C_Read... [04:05:12]Read from MH i2c: 01 [04:05:12]MH_I2C_Read... [04:05:12]Read from MH i2c: 01 07 00 [04:05:12]MH_I2C_Read... [04:05:12]Read from MH i2c: 01 07 00 6A 09 00 00 00 00 00 FF 0F 88 [04:05:12]RasterBufferAndPrint [04:05:12]line Счет N : (3)129585 [04:05:12]line ИНН: 02508201610067 [04:05:12]line Контрольно-Кассовый Чек [04:05:12]line ПРОДАЖА [04:05:12]line Товар: 4620006995702 [04:05:12]line Водка Зеленая Марка 0,1л [04:05:12]line 2.000 * 130.00 [04:05:12]line = 260.00 [04:05:12]line НДС 12% НСП 1% [04:05:12]line > о реализуемом товаре [04:05:12]line ИТОГО: 260.00 [04:05:12]line НСП 1% : 2.30 [04:05:12]line НДС 12% : 27.61 [04:05:12]line Наличными: 260.00 [04:05:12]line Безнал.: 0.00 [04:05:12]line Место: АЗС № 132 "Партнер Нефть" [04:05:12]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [04:05:12]line СНО: Общий режим [04:05:12]line Чек 25 15.07.2024 04:05 [04:05:12]line Смена: 497 ФФД: 1.0 [04:05:12]line ЗНМ: 0300000132 [04:05:12]line РНМ: 0000000000091208 [04:05:12]line Версия ККМ: 001 [04:05:12]line ФМ: 0000000000874857 [04:05:12]line ФД: 57130 [04:05:12]line ФПД: 22077441699663 [04:05:12]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T040512&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57130&fm=22077441699663&tin=02508201610067®Number=0000000000091208&sum=26000 [04:05:12]line 0 [04:05:12]OFD Sender: Processing packet 57130 [packets to send 38, broken 37] [04:05:12]ProducePacketName [04:05:12]name=ofd_packets/00057130 [04:05:12]OFD Sender: To server: pG, [04:05:12]CommunicateWithHost lk.salyk.kg:30040 [04:05:12]ConnectInit lk.salyk.kg [04:05:12]written 0, free lines is 4095 [04:05:12]Connected sock=10 [04:05: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 30 01 00 00 37 69 28 01 66 37 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 19 00 00 00 F4 03 04 00 F8 9F 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 2A DF 00 00 35 04 06 00 14 14 4E 11 EF 4F 95 CA F2 FD E5 A3 47 2A [04:05: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 F1 63 47 00 C3 26 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 2A DF 00 00 F4 03 04 00 47 46 94 66 B6 04 01 00 00 9F 5F 7C DD 6A 0B F6 65 [04:05:12]CommunicateWithHost err = 0 [04:05:12]CheckOFDResponse [04:05:12]1017 (14) - 77093643461234 [04:05:12]1041 (16) - 0000000000874857 [04:05:12]1040 (4) - 57130 [04:05:12]1012 (4) - 14.07.2024 21:42 [04:05:12]1206 (1) - 0 [04:05:12]OFD Sender: Remove packet 57130 [04:05:12]ProducePacketName [04:05:12]name=ofd_packets/00057130 [04:05:12]NVStorageDeleteData [04:05:12]Write to MH i2c: 01 00 00 92 09 9B [04:05:12]Write i2c OK [04:05:12]MH_I2C_Read... [04:05:12]Read from MH i2c: 01 [04:05:12]MH_I2C_Read... [04:05:12]Read from MH i2c: 01 07 00 [04:05:12]MH_I2C_Read... [04:05:12]Read from MH i2c: 01 07 00 92 09 00 00 00 00 00 15 0D C4 [04:05:12]RasterBufferAndPrint [04:05:12]line [04:05:12]line [04:05:12]line [04:05:12]line [04:05:12]line [04:05:12]written 0, free lines is 3353 [04:05:12]MH_Cut [04:05:12]Write to MH i2c: D1 01 00 99 09 01 74 [04:05:12]Write i2c OK [04:05:12]MH_I2C_Read... [04:05:12]Read from MH i2c: D1 [04:05:12]MH_I2C_Read... [04:05:12]Read from MH i2c: D1 01 00 [04:05:12]MH_I2C_Read... [04:05:12]Read from MH i2c: D1 01 00 99 09 00 73 [04:05:12]Write to MH i2c: 01 00 00 9A 09 A3 [04:05:12]Write i2c OK [04:05:12]MH_I2C_Read... [04:05:13]OFD Sender: No OFD packet to send [04:05:13]*** Cut start [04:05:13]*** Partial cut [04:05:13]*** CUTSNS_PIN = 1 [04:05:13]*** CUTSNS_PIN = 0 [04:05:13]*** Brake cut motor [04:05:14]Read from MH i2c: 01 [04:05:14]MH_I2C_Read... [04:05:14]*** Stop cut motor [04:05:14]*** Cut end [04:05:14]Read from MH i2c: 01 07 00 [04:05:14]MH_I2C_Read... [04:05:14]Read from MH i2c: 01 07 00 9A 09 00 00 00 00 00 FF 0F B8 [04:05:14]process_action close_receipt done [04:05:14]requested_data is exist [04:05:14]produce_requested_data [04:05:14]requested_item fm.sn is exist - process it [04:05:14]wFMCommunicate request_size=4 [04:05:14]MH_SAM_APDU [04:05:14]CAPDU: 80 11 00 00 [04:05:14]Write to MH i2c: E2 08 00 9B 09 80 11 00 00 00 00 00 00 1E [04:05:14]Write i2c OK [04:05:14]MH_I2C_Read... [04:05:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [04:05:14]Read from MH i2c: E2 [04:05:14]MH_I2C_Read... [04:05:14]Read from MH i2c: E2 17 00 [04:05:14]MH_I2C_Read... [04:05:14]Read from MH i2c: E2 17 00 9B 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 78 [04:05:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [04:05:14]wFMCommunicate OK [04:05:14]requested_item fd.num is exist - process it [04:05:14]SAM_PROTO_GetFieldsCounters [04:05:14]wFMCommunicate request_size=4 [04:05:14]MH_SAM_APDU [04:05:14]CAPDU: 80 13 00 00 [04:05:14]Write to MH i2c: E2 08 00 9C 09 80 13 00 00 00 00 00 00 21 [04:05:14]Write i2c OK [04:05:14]MH_I2C_Read... [04:05:14]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [04:05:14]Read from MH i2c: E2 [04:05:14]MH_I2C_Read... [04:05:14]Read from MH i2c: E2 62 00 [04:05:14]MH_I2C_Read... [04:05:14]Read from MH i2c: E2 62 00 9C 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 2A DF 00 00 0E 04 04 00 F1 01 00 00 12 04 04 00 19 00 00 00 5E 04 04 00 19 00 00 00 57 04 04 00 1A 00 00 00 19 04 04 00 00 00 00 00 90 00 8A [04:05: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 2A DF 00 00 0E 04 04 00 F1 01 00 00 12 04 04 00 19 00 00 00 5E 04 04 00 19 00 00 00 57 04 04 00 1A 00 00 00 19 04 04 00 00 00 00 00 90 00 [04:05:14]wFMCommunicate OK [04:05:14]SAM_PROTO_GetFieldsCounters done [04:05:14]requested_item shift.num is exist - process it [04:05:14]requested_item shift.opened is exist - process it [04:05:14]req_shift_opened [04:05:14]FM_GetShiftState [04:05:14]SAM_PROTO_GetShiftState [04:05:14]wFMCommunicate request_size=4 [04:05:14]MH_SAM_APDU [04:05:14]CAPDU: 80 13 01 00 [04:05:14]Write to MH i2c: E2 08 00 9D 09 80 13 01 00 00 00 00 00 23 [04:05:14]Write i2c OK [04:05:14]MH_I2C_Read... [04:05:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [04:05:14]Read from MH i2c: E2 [04:05:14]MH_I2C_Read... [04:05:14]Read from MH i2c: E2 0E 00 [04:05:14]MH_I2C_Read... [04:05:14]Read from MH i2c: E2 0E 00 9D 09 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 9C [04:05:14]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [04:05:14]wFMCommunicate OK [04:05:14]SAM_PROTO_GetShiftState done [04:05:14]FM_GetShiftState done [04:05:14]req_shift_opened done [04:05:14]requested_item shift.open_date is exist - process it [04:05:14]req_shift_open_date [04:05:14]req_shift_open_date done [04:05:14]requested_item shift.sale.total is exist - process it [04:05:14]SAM_PROTO_GetShiftData [04:05:14]wFMCommunicate request_size=4 [04:05:14]MH_SAM_APDU [04:05:14]CAPDU: 80 13 02 00 [04:05:14]Write to MH i2c: E2 08 00 9E 09 80 13 02 00 00 00 00 00 25 [04:05:14]Write i2c OK [04:05:14]MH_I2C_Read... [04:05:14]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [04:05:14]Read from MH i2c: E2 [04:05:14]MH_I2C_Read... [04:05:14]Read from MH i2c: E2 FD 00 [04:05:14]MH_I2C_Read... [04:05:14]Read from MH i2c: E2 FD 00 9E 09 00 B6 04 AA 04 B2 04 6E 04 04 00 19 00 00 00 69 04 9B 00 6F 04 04 00 18 00 00 00 B1 04 03 00 01 1D 0B 70 04 03 00 88 E9 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 1C 2E 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 2E 19 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 9A [04:05:14]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 19 00 00 00 69 04 9B 00 6F 04 04 00 18 00 00 00 B1 04 03 00 01 1D 0B 70 04 03 00 88 E9 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 1C 2E 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 2E 19 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 [04:05:14]wFMCommunicate OK [04:05:14]wFMCommunicate request_size=4 [04:05:14]MH_SAM_APDU [04:05:14]CAPDU: 80 17 00 00 [04:05:14]Write to MH i2c: E2 08 00 9F 09 80 17 00 00 00 00 00 00 28 [04:05:14]Write i2c OK [04:05:14]MH_I2C_Read... [04:05:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [04:05:15]Read from MH i2c: E2 [04:05:15]MH_I2C_Read... [04:05:15]Read from MH i2c: E2 FD 00 [04:05:15]MH_I2C_Read... [04:05:15]Read from MH i2c: E2 FD 00 9F 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 5D [04:05:15]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 [04:05:15]wFMCommunicate OK [04:05:15]wFMCommunicate request_size=4 [04:05:15]MH_SAM_APDU [04:05:15]CAPDU: 80 17 00 00 [04:05:15]Write to MH i2c: E2 08 00 A0 09 80 17 00 00 00 00 00 00 29 [04:05:15]Write i2c OK [04:05:15]MH_I2C_Read... [04:05:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [04:05:15]Read from MH i2c: E2 [04:05:15]MH_I2C_Read... [04:05:15]Read from MH i2c: E2 FD 00 [04:05:15]MH_I2C_Read... [04:05:15]Read from MH i2c: E2 FD 00 A0 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 E9 [04:05:15]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 [04:05:15]wFMCommunicate OK [04:05:15]wFMCommunicate request_size=4 [04:05:15]MH_SAM_APDU [04:05:15]CAPDU: 80 17 00 00 [04:05:15]Write to MH i2c: E2 08 00 A1 09 80 17 00 00 00 00 00 00 2A [04:05:15]Write i2c OK [04:05:15]MH_I2C_Read... [04:05:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [04:05:15]Read from MH i2c: E2 [04:05:15]MH_I2C_Read... [04:05:15]Read from MH i2c: E2 FD 00 [04:05:15]MH_I2C_Read... [04:05:15]Read from MH i2c: E2 FD 00 A1 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 99 [04:05:15]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 [04:05:15]wFMCommunicate OK [04:05:15]wFMCommunicate request_size=4 [04:05:15]MH_SAM_APDU [04:05:15]CAPDU: 80 17 00 00 [04:05:15]Write to MH i2c: E2 08 00 A2 09 80 17 00 00 00 00 00 00 2B [04:05:15]Write i2c OK [04:05:15]MH_I2C_Read... [04:05:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [04:05:15]Read from MH i2c: E2 [04:05:15]MH_I2C_Read... [04:05:15]Read from MH i2c: E2 D3 00 [04:05:15]MH_I2C_Read... [04:05:15]Read from MH i2c: E2 D3 00 A2 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 18 [04:05:16]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 [04:05:16]wFMCommunicate OK [04:05:16]SAM_PROTO_GetShiftData done [04:05:16]requested_item shift.sale.total_cash is exist - process it [04:05:16]requested_item shift.sale_refund.total is exist - process it [04:05:16]requested_item shift.sale_refund.total_cash is exist - process it [04:05:16]produce_requested_data done [04:05:16]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57130,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":7283.21,"shift.sale.total_cash":4530.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [04:05:16]process_action_free close_receipt [04:05:16]json_value_free [04:05:16]json_value_free done [04:05:16]process_json_proto returns [04:05:16]Send response to host [04:05:16]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57130,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":7283.21,"shift.sale.total_cash":4530.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [04:05:16]free response buf [04:05:16]execute_script done [04:05:16]execute_script returns [04:05:16]free content buf [04:05:16]Sock 8.Close socket [04:05:16]Sock 8.Thread stoped [04:05:18]OFD Sender: No OFD packet to send [04:05:23]OFD Sender: No OFD packet to send [04:05:28]OFD Sender: No OFD packet to send [04:05:33]OFD Sender: No OFD packet to send [04:05:38]OFD Sender: No OFD packet to send [04:05:43]OFD Sender: No OFD packet to send [04:05:48]OFD Sender: No OFD packet to send [04:05:53]OFD Sender: No OFD packet to send [04:05:58]OFD Sender: No OFD packet to send [04:06:03]OFD Sender: No OFD packet to send [04:06:08]OFD Sender: No OFD packet to send [04:06:13]OFD Sender: No OFD packet to send [04:06:18]OFD Sender: No OFD packet to send [04:06:23]OFD Sender: No OFD packet to send [04:06:28]OFD Sender: No OFD packet to send [04:06:33]OFD Sender: No OFD packet to send [04:06:38]OFD Sender: No OFD packet to send [04:06:43]OFD Sender: No OFD packet to send [04:06:48]OFD Sender: No OFD packet to send [04:06:53]OFD Sender: No OFD packet to send [04:06:58]OFD Sender: No OFD packet to send [04:07:03]OFD Sender: No OFD packet to send [04:07:08]OFD Sender: No OFD packet to send [04:07:13]OFD Sender: No OFD packet to send [04:07:18]OFD Sender: No OFD packet to send [04:07:23]OFD Sender: No OFD packet to send [04:07:28]OFD Sender: No OFD packet to send [04:07:33]OFD Sender: No OFD packet to send [04:07:38]accept exits with 9 [04:07:38]New connection [04:07:38]New thread 3067067748 created [04:07:38]Thread 3066924388 joined [04:07:38]Waiting for new connection... [04:07:38] Sock 9.Parse request [04:07:38]Sock 9.Check first char [04:07:38]Sock 9.First char is OK [04:07:38]request: POST /json_proto HTTP/1.0 [04:07:38]Method: POST [04:07:38]URL: /json_proto [04:07:38]Method is POST - this is cgi request [04:07:38]url: /json_proto [04:07:38]query_string will be loaded in cgi processing [04:07:38]execute_cgi json_proto POST (null) [04:07:38]execute_cgi path=json_proto method=POST [04:07:38]POST find Content-Length [04:07:38]Host: 172.17.39.4:8080 [04:07:38]Content-Length: 990 [04:07:38]Content-Type: application/json [04:07:38] [04:07:38]POST finish read [04:07:38]Found Content-Length = 990 [04:07:38]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129586", "tax_sys" : 0, "items" : [ { "code": "4700003010476", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Let`s Go! \u0441/\u0441 \u044F\u0431\u043B\u043E\u043A\u043E \u041F\u042D\u0422 1\u043B", "price" : 80.00, "quantity" : 1.000, "sum" : 80.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" : 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" ] } } [04:07:38]execute_script... [04:07: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)129586", "tax_sys" : 0, "items" : [ { "code": "4700003010476", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Let`s Go! \u0441/\u0441 \u044F\u0431\u043B\u043E\u043A\u043E \u041F\u042D\u0422 1\u043B", "price" : 80.00, "quantity" : 1.000, "sum" : 80.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" : 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" ] } } [04:07:38]POST & json_proto [04:07:38]process_json_proto [04:07:38]json parsed OK: [04:07:38]protocol is kg_v1.0 [04:07:38]action value=close_receipt [04:07:38]process_action close_receipt [04:07:38]cmd_close_receipt [04:07:38]MH_GetDate [04:07:38]Write to MH i2c: F0 00 00 A3 09 9B [04:07:38]Write i2c OK [04:07:38]MH_I2C_Read... [04:07:38]Read from MH i2c: F0 [04:07:38]MH_I2C_Read... [04:07:38]Read from MH i2c: F0 09 00 [04:07:38]MH_I2C_Read... [04:07:38]Read from MH i2c: F0 09 00 A3 09 00 8C A0 94 66 2D 25 5D 64 DD [04:07:38]GetLastDocTimeStamp 1721016312 [04:07:38]current date 1721016460 [04:07:38]FM_GetShiftState [04:07:38]SAM_PROTO_GetShiftState [04:07:38]wFMCommunicate request_size=4 [04:07:38]MH_SAM_APDU [04:07:38]CAPDU: 80 13 01 00 [04:07:38]Write to MH i2c: E2 08 00 A4 09 80 13 01 00 00 00 00 00 2A [04:07:38]Write i2c OK [04:07:38]MH_I2C_Read... [04:07:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [04:07:38]Read from MH i2c: E2 [04:07:38]MH_I2C_Read... [04:07:38]Read from MH i2c: E2 0E 00 [04:07:38]MH_I2C_Read... [04:07:38]Read from MH i2c: E2 0E 00 A4 09 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 A3 [04:07:38]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [04:07:38]wFMCommunicate OK [04:07:38]SAM_PROTO_GetShiftState done [04:07:38]FM_GetShiftState done [04:07:38]opened in 1721003525 [04:07:38]opened+sec_in_day 1721089925 [04:07:38]quantity*price = 8000 [04:07:38]sum+1 = 8001 [04:07:38]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 80.00 НСП 1% : 0.71 НДС 12% : 8.50 Наличными: 0.00 Безнал.: 80.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 26 15.07.2024 04:07 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000874857 ФД: 57131 ФПД: 265023529103145 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T040740&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57131&fm=265023529103145&tin=02508201610067®Number=0000000000091208&sum=8000 0 [04:07:39]StoreToDocumentArchive [04:07:39]shift 497 fd 57131 [04:07:39]save to /storage/0497/doc_00057131 [04:07:39]save last doc name /storage/0497/doc_00057131 to /storage/kkm_last_doc_name [04:07:39]save OK [04:07:39]Clear old archive folders... [04:07:39]ProcessDocumentItem done err = 0, tmpTLVsize=296 [04:07:39]tlvbuf is 0099ACF0 [04:07:39]SAM_PROTO_ClearQueue [04:07:39]wFMCommunicate request_size=4 [04:07:39]MH_SAM_APDU [04:07:39]CAPDU: 80 09 00 00 [04:07:39]Write to MH i2c: E2 08 00 B1 09 80 09 00 00 00 00 00 00 2C [04:07:39]Write i2c OK [04:07:39]MH_I2C_Read... [04:07:39]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [04:07:39]Read from MH i2c: E2 [04:07:39]MH_I2C_Read... [04:07:39]Read from MH i2c: E2 03 00 [04:07:39]MH_I2C_Read... [04:07:39]Read from MH i2c: E2 03 00 B1 09 00 90 00 2E [04:07:39]RAPDU: 90 00 [04:07:39]wFMCommunicate OK [04:07:39]SAM_PROTO_ClearQueue done [04:07:39]KKMCreateOFDPacket [04:07:39]OFDProtocolAddRootSTLVToBuf [04:07:39]FM_MakeSignedData [04:07:39]FM_MakeSignedData [04:07:39]SAM_PROTO_SignData [04:07:39]wFMCommunicate request_size=4 [04:07:39]MH_SAM_APDU [04:07:39]CAPDU: 80 0D 01 02 [04:07:39]Write to MH i2c: E2 08 00 B2 09 80 0D 01 02 00 00 00 00 34 [04:07:39]Write i2c OK [04:07:39]MH_I2C_Read... [04:07:39]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [04:07:39]Read from MH i2c: E2 [04:07:39]MH_I2C_Read... [04:07:39]Read from MH i2c: E2 03 00 [04:07:39]MH_I2C_Read... [04:07:39]Read from MH i2c: E2 03 00 B2 09 00 90 00 2F [04:07:39]RAPDU: 90 00 [04:07:39]wFMCommunicate OK [04:07:39]wFMCommunicate request_size=255 [04:07:39]MH_SAM_APDU [04:07:39]CAPDU: 80 0D 02 02 FA 03 00 28 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 34 37 36 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 65 74 60 73 20 47 6F 21 20 D1 81 2F D1 81 20 D1 8F D0 B1 D0 BB D0 BE D0 BA D0 BE 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 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 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 00 00 00 00 00 00 39 04 06 00 40 1F 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 8C A0 94 66 0E 04 04 00 F1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 [04:07:39]Write to MH i2c: E2 02 01 B3 09 80 0D 02 02 FA 00 03 00 28 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 34 37 36 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 65 74 60 73 20 47 6F 21 20 D1 81 2F D1 81 20 D1 8F D0 B1 D0 BB D0 BE D0 BA D0 BE 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 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 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 00 00 00 00 00 00 39 04 06 00 40 1F 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 8C A0 94 66 0E 04 04 00 F1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 00 00 25 [04:07:39]Write i2c OK [04:07:39]MH_I2C_Read... [04:07:39]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [04:07:39]Read from MH i2c: E2 [04:07:39]MH_I2C_Read... [04:07:39]Read from MH i2c: E2 03 00 [04:07:39]MH_I2C_Read... [04:07:39]Read from MH i2c: E2 03 00 B3 09 00 90 00 30 [04:07:39]RAPDU: 90 00 [04:07:39]wFMCommunicate OK [04:07:39]wFMCommunicate request_size=55 [04:07:39]MH_SAM_APDU [04:07:39]CAPDU: 80 0D 02 02 32 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 2B DF 00 00 35 04 06 00 F1 09 99 4F 2F 29 [04:07:39]Write to MH i2c: E2 3A 00 B4 09 80 0D 02 02 32 00 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 2B DF 00 00 35 04 06 00 F1 09 99 4F 2F 29 00 00 D6 [04:07:39]Write i2c OK [04:07:39]MH_I2C_Read... [04:07:39]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [04:07:39]Read from MH i2c: E2 [04:07:39]MH_I2C_Read... [04:07:39]Read from MH i2c: E2 03 00 [04:07:39]MH_I2C_Read... [04:07:39]Read from MH i2c: E2 03 00 B4 09 00 90 00 31 [04:07:39]RAPDU: 90 00 [04:07:39]wFMCommunicate OK [04:07:39]wFMCommunicate request_size=4 [04:07:39]MH_SAM_APDU [04:07:39]CAPDU: 80 0D 03 02 [04:07:39]Write to MH i2c: E2 08 00 B5 09 80 0D 03 02 00 00 00 00 39 [04:07:39]Write i2c OK [04:07:39]MH_I2C_Read... [04:07:39]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [04:07:39]Read from MH i2c: E2 [04:07:39]MH_I2C_Read... [04:07:39]Read from MH i2c: E2 0B 00 [04:07:39]MH_I2C_Read... [04:07:39]Read from MH i2c: E2 0B 00 B5 09 00 8F F0 AE 87 C3 1C B5 32 90 00 B4 [04:07:39]RAPDU: 8F F0 AE 87 C3 1C B5 32 90 00 [04:07:39]wFMCommunicate OK [04:07:39]SAM_PROTO_SignData done [04:07:39]FM_MakeSignedData done [04:07:39]CreateOFDProtocolMessage [04:07:39]wFMCommunicate request_size=4 [04:07:39]MH_SAM_APDU [04:07:39]CAPDU: 80 11 00 00 [04:07:39]Write to MH i2c: E2 08 00 B6 09 80 11 00 00 00 00 00 00 39 [04:07:39]Write i2c OK [04:07:39]MH_I2C_Read... [04:07:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [04:07:39]Read from MH i2c: E2 [04:07:39]MH_I2C_Read... [04:07:39]Read from MH i2c: E2 17 00 [04:07:39]MH_I2C_Read... [04:07:39]Read from MH i2c: E2 17 00 B6 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 93 [04:07:39]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:39]wFMCommunicate OK [04:07:39]CreateOFDProtocolMessage done [04:07:39]OFDSenderStorePacket 57131 [04:07:39]StoreOFDPacket docnum=57131 [04:07: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 3C 01 00 00 FA CB 34 01 6C 57 5A 03 01 00 03 00 28 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 34 37 36 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 65 74 60 73 20 47 6F 21 20 D1 81 2F D1 81 20 D1 8F D0 B1 D0 BB D0 BE D0 BA D0 BE 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 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 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 00 00 00 00 00 00 39 04 06 00 40 1F 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 8C A0 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 2B DF 00 00 35 04 06 00 F1 09 99 4F 2F 29 8F F0 AE 87 C3 1C B5 32 [04:07:39]CheckFolder [04:07:39]dirname=/storage/ofd_packets [04:07:39]CheckFolder done [04:07:39]ProducePacketName [04:07:39]name=ofd_packets/00057131 [04:07:39]NVStorageSaveData ofd_packets/00057131 [04:07:39]File name is /storage/ofd_packets/00057131 [04:07:39]Write 346 bytes [04:07:39]NVStorageSaveData done [04:07:39]OFDSenderStorePacket done [04:07:39]KKMCreateOFDPacket done [04:07:39]NVStorageSaveData kkm_last_timestamp [04:07:39]File name is /storage/kkm_last_timestamp [04:07:39]Write 4 bytes [04:07:39]NVStorageSaveData done [04:07:39]ExternCall_PrintAddStr [04:07:39]wPrintStart [04:07:39]Write to MH i2c: 01 00 00 B7 09 C0 [04:07:39]Write i2c OK [04:07:39]MH_I2C_Read... [04:07:39]Read from MH i2c: 01 [04:07:39]MH_I2C_Read... [04:07:39]Read from MH i2c: 01 07 00 [04:07:39]MH_I2C_Read... [04:07:39]Read from MH i2c: 01 07 00 B7 09 00 00 00 00 00 FF 0F D5 [04:07:39]RasterBufferAndPrint [04:07:39]line Счет N : (3)129586 [04:07:39]line ИНН: 02508201610067 [04:07:39]line Контрольно-Кассовый Чек [04:07:39]line ПРОДАЖА [04:07:39]line Товар: 4700003010476 [04:07:39]line Напиток Let`s Go! с/с яблоко ПЭТ 1л [04:07:39]line 1.000 * 80.00 [04:07:39]line = 80.00 [04:07:39]line НДС 12% НСП 1% [04:07:39]line > о реализуемом товаре [04:07:39]line ИТОГО: 80.00 [04:07:39]line НСП 1% : 0.71 [04:07:39]line НДС 12% : 8.50 [04:07:39]line Наличными: 0.00 [04:07:39]line Безнал.: 80.00 [04:07:39]line Место: АЗС № 132 "Партнер Нефть" [04:07:39]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [04:07:39]line СНО: Общий режим [04:07:39]line Чек 26 15.07.2024 04:07 [04:07:39]line Смена: 497 ФФД: 1.0 [04:07:39]line ЗНМ: 0300000132 [04:07:39]line РНМ: 0000000000091208 [04:07:39]line Версия ККМ: 001 [04:07:39]line Платежная система: АКБ Кыргызстан [04:07:39]line ФМ: 0000000000874857 [04:07:39]line ФД: 57131 [04:07:39]line ФПД: 265023529103145 [04:07:40]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T040740&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57131&fm=265023529103145&tin=02508201610067®Number=0000000000091208&sum=8000 [04:07:40]line 0 [04:07:40]OFD Sender: Processing packet 57131 [packets to send 38, broken 37] [04:07:40]ProducePacketName [04:07:40]name=ofd_packets/00057131 [04:07:40]OFD Sender: To server: pG, [04:07:40]CommunicateWithHost lk.salyk.kg:30040 [04:07:40]ConnectInit lk.salyk.kg [04:07:40]written 0, free lines is 4095 [04:07:40]Connected sock=10 [04:07: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 3C 01 00 00 FA CB 34 01 6C 57 5A 03 01 00 03 00 28 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 34 37 36 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 65 74 60 73 20 47 6F 21 20 D1 81 2F D1 81 20 D1 8F D0 B1 D0 BB D0 BE D0 BA D0 BE 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 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 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 00 00 00 00 00 00 39 04 06 00 40 1F 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 8C A0 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 2B DF 00 00 35 04 06 00 F1 09 99 4F 2F 29 8F F0 AE 87 C3 1C B5 32 [04:07: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 C7 D2 47 00 E9 9B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 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 2B DF 00 00 F4 03 04 00 DB 46 94 66 B6 04 01 00 00 18 65 58 B7 58 C8 59 83 [04:07:40]CommunicateWithHost err = 0 [04:07:40]CheckOFDResponse [04:07:40]1017 (14) - 77093643461234 [04:07:40]1041 (16) - 0000000000874857 [04:07:40]1040 (4) - 57131 [04:07:40]1012 (4) - 14.07.2024 21:44 [04:07:40]1206 (1) - 0 [04:07:40]OFD Sender: Remove packet 57131 [04:07:40]ProducePacketName [04:07:40]name=ofd_packets/00057131 [04:07:40]NVStorageDeleteData [04:07:40]Write to MH i2c: 01 00 00 E2 09 EB [04:07:40]Write i2c OK [04:07:40]MH_I2C_Read... [04:07:40]Read from MH i2c: 01 [04:07:40]MH_I2C_Read... [04:07:40]Read from MH i2c: 01 07 00 [04:07:40]MH_I2C_Read... [04:07:40]Read from MH i2c: 01 07 00 E2 09 00 00 00 00 00 E1 0C DF [04:07:40]RasterBufferAndPrint [04:07:40]line [04:07:40]line [04:07:40]line [04:07:40]line [04:07:40]line [04:07:40]written 0, free lines is 3302 [04:07:40]MH_Cut [04:07:40]Write to MH i2c: D1 01 00 E9 09 01 C4 [04:07:40]Write i2c OK [04:07:40]MH_I2C_Read... [04:07:40]Read from MH i2c: D1 [04:07:40]MH_I2C_Read... [04:07:40]Read from MH i2c: D1 01 00 [04:07:40]MH_I2C_Read... [04:07:40]Read from MH i2c: D1 01 00 E9 09 00 C3 [04:07:40]Write to MH i2c: 01 00 00 EA 09 F3 [04:07:40]Write i2c OK [04:07:40]MH_I2C_Read... [04:07:41]OFD Sender: No OFD packet to send [04:07:41]*** Cut start [04:07:41]*** Partial cut [04:07:41]*** CUTSNS_PIN = 1 [04:07:41]*** CUTSNS_PIN = 0 [04:07:41]*** Brake cut motor [04:07:42]Read from MH i2c: 01 [04:07:42]MH_I2C_Read... [04:07:42]*** Stop cut motor [04:07:42]*** Cut end [04:07:42]Read from MH i2c: 01 07 00 [04:07:42]MH_I2C_Read... [04:07:42]Read from MH i2c: 01 07 00 EA 09 00 00 00 00 00 FF 0F 08 [04:07:42]process_action close_receipt done [04:07:42]requested_data is exist [04:07:42]produce_requested_data [04:07:42]requested_item fm.sn is exist - process it [04:07:42]wFMCommunicate request_size=4 [04:07:42]MH_SAM_APDU [04:07:42]CAPDU: 80 11 00 00 [04:07:42]Write to MH i2c: E2 08 00 EB 09 80 11 00 00 00 00 00 00 6E [04:07:42]Write i2c OK [04:07:42]MH_I2C_Read... [04:07:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [04:07:42]Read from MH i2c: E2 [04:07:42]MH_I2C_Read... [04:07:42]Read from MH i2c: E2 17 00 [04:07:42]MH_I2C_Read... [04:07:42]Read from MH i2c: E2 17 00 EB 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 C8 [04:07:42]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:42]wFMCommunicate OK [04:07:42]requested_item fd.num is exist - process it [04:07:42]SAM_PROTO_GetFieldsCounters [04:07:42]wFMCommunicate request_size=4 [04:07:42]MH_SAM_APDU [04:07:42]CAPDU: 80 13 00 00 [04:07:42]Write to MH i2c: E2 08 00 EC 09 80 13 00 00 00 00 00 00 71 [04:07:42]Write i2c OK [04:07:42]MH_I2C_Read... [04:07:42]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [04:07:42]Read from MH i2c: E2 [04:07:42]MH_I2C_Read... [04:07:42]Read from MH i2c: E2 62 00 [04:07:42]MH_I2C_Read... [04:07:42]Read from MH i2c: E2 62 00 EC 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 2B DF 00 00 0E 04 04 00 F1 01 00 00 12 04 04 00 1A 00 00 00 5E 04 04 00 1A 00 00 00 57 04 04 00 1B 00 00 00 19 04 04 00 00 00 00 00 90 00 DE [04:07: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 2B DF 00 00 0E 04 04 00 F1 01 00 00 12 04 04 00 1A 00 00 00 5E 04 04 00 1A 00 00 00 57 04 04 00 1B 00 00 00 19 04 04 00 00 00 00 00 90 00 [04:07:42]wFMCommunicate OK [04:07:42]SAM_PROTO_GetFieldsCounters done [04:07:42]requested_item shift.num is exist - process it [04:07:42]requested_item shift.opened is exist - process it [04:07:42]req_shift_opened [04:07:42]FM_GetShiftState [04:07:42]SAM_PROTO_GetShiftState [04:07:42]wFMCommunicate request_size=4 [04:07:42]MH_SAM_APDU [04:07:42]CAPDU: 80 13 01 00 [04:07:42]Write to MH i2c: E2 08 00 ED 09 80 13 01 00 00 00 00 00 73 [04:07:42]Write i2c OK [04:07:42]MH_I2C_Read... [04:07:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [04:07:42]Read from MH i2c: E2 [04:07:42]MH_I2C_Read... [04:07:42]Read from MH i2c: E2 0E 00 [04:07:42]MH_I2C_Read... [04:07:42]Read from MH i2c: E2 0E 00 ED 09 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 EC [04:07:42]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [04:07:42]wFMCommunicate OK [04:07:42]SAM_PROTO_GetShiftState done [04:07:42]FM_GetShiftState done [04:07:42]req_shift_opened done [04:07:42]requested_item shift.open_date is exist - process it [04:07:42]req_shift_open_date [04:07:42]req_shift_open_date done [04:07:42]requested_item shift.sale.total is exist - process it [04:07:42]SAM_PROTO_GetShiftData [04:07:42]wFMCommunicate request_size=4 [04:07:42]MH_SAM_APDU [04:07:42]CAPDU: 80 13 02 00 [04:07:42]Write to MH i2c: E2 08 00 EE 09 80 13 02 00 00 00 00 00 75 [04:07:42]Write i2c OK [04:07:42]MH_I2C_Read... [04:07:42]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [04:07:42]Read from MH i2c: E2 [04:07:42]MH_I2C_Read... [04:07:42]Read from MH i2c: E2 FD 00 [04:07:42]MH_I2C_Read... [04:07:42]Read from MH i2c: E2 FD 00 EE 09 00 B6 04 AA 04 B2 04 6E 04 04 00 1A 00 00 00 69 04 9B 00 6F 04 04 00 19 00 00 00 B1 04 03 00 41 3C 0B 70 04 03 00 88 E9 06 72 04 03 00 B9 52 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 6E 31 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 19 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 46 [04:07:42]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 1A 00 00 00 69 04 9B 00 6F 04 04 00 19 00 00 00 B1 04 03 00 41 3C 0B 70 04 03 00 88 E9 06 72 04 03 00 B9 52 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 6E 31 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 19 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 [04:07:42]wFMCommunicate OK [04:07:42]wFMCommunicate request_size=4 [04:07:42]MH_SAM_APDU [04:07:42]CAPDU: 80 17 00 00 [04:07:42]Write to MH i2c: E2 08 00 EF 09 80 17 00 00 00 00 00 00 78 [04:07:42]Write i2c OK [04:07:42]MH_I2C_Read... [04:07:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [04:07:43]Read from MH i2c: E2 [04:07:43]MH_I2C_Read... [04:07:43]Read from MH i2c: E2 FD 00 [04:07:43]MH_I2C_Read... [04:07:43]Read from MH i2c: E2 FD 00 EF 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 AD [04:07:43]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 [04:07:43]wFMCommunicate OK [04:07:43]wFMCommunicate request_size=4 [04:07:43]MH_SAM_APDU [04:07:43]CAPDU: 80 17 00 00 [04:07:43]Write to MH i2c: E2 08 00 F0 09 80 17 00 00 00 00 00 00 79 [04:07:43]Write i2c OK [04:07:43]MH_I2C_Read... [04:07:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [04:07:43]Read from MH i2c: E2 [04:07:43]MH_I2C_Read... [04:07:43]Read from MH i2c: E2 FD 00 [04:07:43]MH_I2C_Read... [04:07:43]Read from MH i2c: E2 FD 00 F0 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 39 [04:07:43]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 [04:07:43]wFMCommunicate OK [04:07:43]wFMCommunicate request_size=4 [04:07:43]MH_SAM_APDU [04:07:43]CAPDU: 80 17 00 00 [04:07:43]Write to MH i2c: E2 08 00 F1 09 80 17 00 00 00 00 00 00 7A [04:07:43]Write i2c OK [04:07:43]MH_I2C_Read... [04:07:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [04:07:43]Read from MH i2c: E2 [04:07:43]MH_I2C_Read... [04:07:43]Read from MH i2c: E2 FD 00 [04:07:43]MH_I2C_Read... [04:07:43]Read from MH i2c: E2 FD 00 F1 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 E9 [04:07:43]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 [04:07:43]wFMCommunicate OK [04:07:43]wFMCommunicate request_size=4 [04:07:43]MH_SAM_APDU [04:07:43]CAPDU: 80 17 00 00 [04:07:43]Write to MH i2c: E2 08 00 F2 09 80 17 00 00 00 00 00 00 7B [04:07:43]Write i2c OK [04:07:43]MH_I2C_Read... [04:07:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [04:07:43]Read from MH i2c: E2 [04:07:43]MH_I2C_Read... [04:07:43]Read from MH i2c: E2 D3 00 [04:07:43]MH_I2C_Read... [04:07:43]Read from MH i2c: E2 D3 00 F2 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 68 [04:07:43]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 [04:07:44]wFMCommunicate OK [04:07:44]SAM_PROTO_GetShiftData done [04:07:44]requested_item shift.sale.total_cash is exist - process it [04:07:44]requested_item shift.sale_refund.total is exist - process it [04:07:44]requested_item shift.sale_refund.total_cash is exist - process it [04:07:44]produce_requested_data done [04:07:44]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57131,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":7363.21,"shift.sale.total_cash":4530.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [04:07:44]process_action_free close_receipt [04:07:44]json_value_free [04:07:44]json_value_free done [04:07:44]process_json_proto returns [04:07:44]Send response to host [04:07:44]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57131,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":7363.21,"shift.sale.total_cash":4530.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [04:07:44]free response buf [04:07:44]execute_script done [04:07:44]execute_script returns [04:07:44]free content buf [04:07:44]Sock 9.Close socket [04:07:44]Sock 9.Thread stoped [04:07:46]OFD Sender: No OFD packet to send [04:07:51]OFD Sender: No OFD packet to send [04:07:56]OFD Sender: No OFD packet to send [04:08:01]OFD Sender: No OFD packet to send [04:08:06]OFD Sender: No OFD packet to send [04:08:11]OFD Sender: No OFD packet to send [04:08:16]OFD Sender: No OFD packet to send [04:08:21]OFD Sender: No OFD packet to send [04:08:26]OFD Sender: No OFD packet to send [04:08:31]OFD Sender: No OFD packet to send [04:08:36]OFD Sender: No OFD packet to send [04:08:41]OFD Sender: No OFD packet to send [04:08:46]OFD Sender: No OFD packet to send [04:08:51]OFD Sender: No OFD packet to send [04:08:56]OFD Sender: No OFD packet to send [04:09:01]OFD Sender: No OFD packet to send [04:09:06]OFD Sender: No OFD packet to send [04:09:11]OFD Sender: No OFD packet to send [04:09:16]OFD Sender: No OFD packet to send [04:09:21]OFD Sender: No OFD packet to send [04:09:26]OFD Sender: No OFD packet to send [04:09:31]OFD Sender: No OFD packet to send [04:09:36]OFD Sender: No OFD packet to send [04:09:41]OFD Sender: No OFD packet to send [04:09:46]OFD Sender: No OFD packet to send [04:09:51]OFD Sender: No OFD packet to send [04:09:56]OFD Sender: No OFD packet to send [04:10:01]OFD Sender: No OFD packet to send [04:10:06]OFD Sender: No OFD packet to send [04:10:11]OFD Sender: No OFD packet to send [04:10:16]OFD Sender: No OFD packet to send [04:10:18]accept exits with 8 [04:10:18]New connection [04:10:18]New thread 3066924388 created [04:10:18]Thread 3067067748 joined [04:10:18]Waiting for new connection... [04:10:18] Sock 8.Parse request [04:10:18]Sock 8.Check first char [04:10:18]Sock 8.First char is OK [04:10:18]request: POST /json_proto HTTP/1.0 [04:10:18]Method: POST [04:10:18]URL: /json_proto [04:10:18]Method is POST - this is cgi request [04:10:18]url: /json_proto [04:10:18]query_string will be loaded in cgi processing [04:10:18]execute_cgi json_proto POST (null) [04:10:18]execute_cgi path=json_proto method=POST [04:10:18]POST find Content-Length [04:10:18]Host: 172.17.39.4:8080 [04:10:18]Content-Length: 969 [04:10:18]Content-Type: application/json [04:10:18] [04:10:18]POST finish read [04:10:18]Found Content-Length = 969 [04:10:18]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129587", "tax_sys" : 0, "items" : [ { "code": "5449000066473", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u043D\u0430\u043A\u0432\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46123428", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Mevius Wind Blue", "price" : 155.00, "quantity" : 1.000, "sum" : 155.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" ] } } [04:10:18]execute_script... [04:10:18]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129587", "tax_sys" : 0, "items" : [ { "code": "5449000066473", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u043D\u0430\u043A\u0432\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46123428", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Mevius Wind Blue", "price" : 155.00, "quantity" : 1.000, "sum" : 155.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" ] } } [04:10:18]POST & json_proto [04:10:18]process_json_proto [04:10:18]json parsed OK: [04:10:18]protocol is kg_v1.0 [04:10:18]action value=close_receipt [04:10:18]process_action close_receipt [04:10:18]cmd_close_receipt [04:10:18]MH_GetDate [04:10:18]Write to MH i2c: F0 00 00 F3 09 EB [04:10:18]Write i2c OK [04:10:18]MH_I2C_Read... [04:10:18]Read from MH i2c: F0 [04:10:18]MH_I2C_Read... [04:10:18]Read from MH i2c: F0 09 00 [04:10:18]MH_I2C_Read... [04:10:18]Read from MH i2c: F0 09 00 F3 09 00 2C A1 94 66 2D 25 5D 64 CE [04:10:18]GetLastDocTimeStamp 1721016460 [04:10:18]current date 1721016620 [04:10:18]FM_GetShiftState [04:10:18]SAM_PROTO_GetShiftState [04:10:18]wFMCommunicate request_size=4 [04:10:18]MH_SAM_APDU [04:10:18]CAPDU: 80 13 01 00 [04:10:18]Write to MH i2c: E2 08 00 F4 09 80 13 01 00 00 00 00 00 7A [04:10:18]Write i2c OK [04:10:18]MH_I2C_Read... [04:10:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [04:10:18]Read from MH i2c: E2 [04:10:18]MH_I2C_Read... [04:10:18]Read from MH i2c: E2 0E 00 [04:10:18]MH_I2C_Read... [04:10:18]Read from MH i2c: E2 0E 00 F4 09 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 F3 [04:10:18]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [04:10:18]wFMCommunicate OK [04:10:18]SAM_PROTO_GetShiftState done [04:10:18]FM_GetShiftState done [04:10:18]opened in 1721003525 [04:10:18]opened+sec_in_day 1721089925 [04:10:18]quantity*price = 5000 [04:10:18]sum+1 = 5001 [04:10:18]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 46123428 Сигареты Mevius Wind Blue 1.000 * 155.00 = 155.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 205.00 НСП 1% : 1.81 НДС 12% : 21.77 Наличными: 205.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 27 15.07.2024 04:10 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57132 ФПД: 45787948896108 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T041020&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57132&fm=45787948896108&tin=02508201610067®Number=0000000000091208&sum=20500 0 [04:10:19]StoreToDocumentArchive [04:10:19]shift 497 fd 57132 [04:10:19]save to /storage/0497/doc_00057132 [04:10:19]save last doc name /storage/0497/doc_00057132 to /storage/kkm_last_doc_name [04:10:19]save OK [04:10:19]Clear old archive folders... [04:10:19]ProcessDocumentItem done err = 0, tmpTLVsize=369 [04:10:19]tlvbuf is 0098D4E0 [04:10:19]SAM_PROTO_ClearQueue [04:10:19]wFMCommunicate request_size=4 [04:10:19]MH_SAM_APDU [04:10:19]CAPDU: 80 09 00 00 [04:10:19]Write to MH i2c: E2 08 00 01 0A 80 09 00 00 00 00 00 00 7D [04:10:19]Write i2c OK [04:10:19]MH_I2C_Read... [04:10:19]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [04:10:19]Read from MH i2c: E2 [04:10:19]MH_I2C_Read... [04:10:19]Read from MH i2c: E2 03 00 [04:10:19]MH_I2C_Read... [04:10:19]Read from MH i2c: E2 03 00 01 0A 00 90 00 7F [04:10:19]RAPDU: 90 00 [04:10:19]wFMCommunicate OK [04:10:19]SAM_PROTO_ClearQueue done [04:10:19]KKMCreateOFDPacket [04:10:19]OFDProtocolAddRootSTLVToBuf [04:10:19]FM_MakeSignedData [04:10:19]FM_MakeSignedData [04:10:19]SAM_PROTO_SignData [04:10:19]wFMCommunicate request_size=4 [04:10:19]MH_SAM_APDU [04:10:19]CAPDU: 80 0D 01 02 [04:10:19]Write to MH i2c: E2 08 00 02 0A 80 0D 01 02 00 00 00 00 85 [04:10:19]Write i2c OK [04:10:19]MH_I2C_Read... [04:10:19]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [04:10:19]Read from MH i2c: E2 [04:10:19]MH_I2C_Read... [04:10:19]Read from MH i2c: E2 03 00 [04:10:19]MH_I2C_Read... [04:10:19]Read from MH i2c: E2 03 00 02 0A 00 90 00 80 [04:10:19]RAPDU: 90 00 [04:10:19]wFMCommunicate OK [04:10:19]wFMCommunicate request_size=255 [04:10:19]MH_SAM_APDU [04:10:19]CAPDU: 80 0D 02 02 FA 03 00 71 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 35 34 34 39 30 30 30 30 36 36 34 37 33 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 D0 B0 20 31 D0 BB 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 60 00 8A 04 08 00 34 36 31 32 33 34 32 38 06 04 21 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 57 69 6E 64 20 42 6C 75 65 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 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 [04:10:19]Write to MH i2c: E2 02 01 03 0A 80 0D 02 02 FA 00 03 00 71 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 35 34 34 39 30 30 30 30 36 36 34 37 33 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 D0 B0 20 31 D0 BB 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 60 00 8A 04 08 00 34 36 31 32 33 34 32 38 06 04 21 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 57 69 6E 64 20 42 6C 75 65 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 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 00 00 CC [04:10:19]Write i2c OK [04:10:19]MH_I2C_Read... [04:10:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [04:10:20]Read from MH i2c: E2 [04:10:20]MH_I2C_Read... [04:10:20]Read from MH i2c: E2 03 00 [04:10:20]MH_I2C_Read... [04:10:20]Read from MH i2c: E2 03 00 03 0A 00 90 00 81 [04:10:20]RAPDU: 90 00 [04:10:20]wFMCommunicate OK [04:10:20]wFMCommunicate request_size=128 [04:10:20]MH_SAM_APDU [04:10:20]CAPDU: 80 0D 02 02 7B 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 1B 00 00 00 F4 03 04 00 2C A1 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 2C DF 00 00 35 04 06 00 29 A4 D6 6D CF 6C [04:10:20]Write to MH i2c: E2 83 00 04 0A 80 0D 02 02 7B 00 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 1B 00 00 00 F4 03 04 00 2C A1 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 2C DF 00 00 35 04 06 00 29 A4 D6 6D CF 6C 00 00 CD [04:10:20]Write i2c OK [04:10:20]MH_I2C_Read... [04:10:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [04:10:20]Read from MH i2c: E2 [04:10:20]MH_I2C_Read... [04:10:20]Read from MH i2c: E2 03 00 [04:10:20]MH_I2C_Read... [04:10:20]Read from MH i2c: E2 03 00 04 0A 00 90 00 82 [04:10:20]RAPDU: 90 00 [04:10:20]wFMCommunicate OK [04:10:20]wFMCommunicate request_size=4 [04:10:20]MH_SAM_APDU [04:10:20]CAPDU: 80 0D 03 02 [04:10:20]Write to MH i2c: E2 08 00 05 0A 80 0D 03 02 00 00 00 00 8A [04:10:20]Write i2c OK [04:10:20]MH_I2C_Read... [04:10:20]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [04:10:20]Read from MH i2c: E2 [04:10:20]MH_I2C_Read... [04:10:20]Read from MH i2c: E2 0B 00 [04:10:20]MH_I2C_Read... [04:10:20]Read from MH i2c: E2 0B 00 05 0A 00 CD 7C 4F 0E 5C 00 1C B1 90 00 5A [04:10:20]RAPDU: CD 7C 4F 0E 5C 00 1C B1 90 00 [04:10:20]wFMCommunicate OK [04:10:20]SAM_PROTO_SignData done [04:10:20]FM_MakeSignedData done [04:10:20]CreateOFDProtocolMessage [04:10:20]wFMCommunicate request_size=4 [04:10:20]MH_SAM_APDU [04:10:20]CAPDU: 80 11 00 00 [04:10:20]Write to MH i2c: E2 08 00 06 0A 80 11 00 00 00 00 00 00 8A [04:10:20]Write i2c OK [04:10:20]MH_I2C_Read... [04:10:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [04:10:20]Read from MH i2c: E2 [04:10:20]MH_I2C_Read... [04:10:20]Read from MH i2c: E2 17 00 [04:10:20]MH_I2C_Read... [04:10:20]Read from MH i2c: E2 17 00 06 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 E4 [04:10:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [04:10:20]wFMCommunicate OK [04:10:20]CreateOFDProtocolMessage done [04:10:20]OFDSenderStorePacket 57132 [04:10:20]StoreOFDPacket docnum=57132 [04:10:20]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 01 00 00 5E E6 7D 01 92 6B 5A 03 01 00 03 00 71 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 35 34 34 39 30 30 30 30 36 36 34 37 33 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 D0 B0 20 31 D0 BB 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 60 00 8A 04 08 00 34 36 31 32 33 34 32 38 06 04 21 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 57 69 6E 64 20 42 6C 75 65 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 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 1B 00 00 00 F4 03 04 00 2C A1 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 2C DF 00 00 35 04 06 00 29 A4 D6 6D CF 6C CD 7C 4F 0E 5C 00 1C B1 [04:10:20]CheckFolder [04:10:20]dirname=/storage/ofd_packets [04:10:20]CheckFolder done [04:10:20]ProducePacketName [04:10:20]name=ofd_packets/00057132 [04:10:20]NVStorageSaveData ofd_packets/00057132 [04:10:20]File name is /storage/ofd_packets/00057132 [04:10:20]Write 419 bytes [04:10:20]NVStorageSaveData done [04:10:20]OFDSenderStorePacket done [04:10:20]KKMCreateOFDPacket done [04:10:20]NVStorageSaveData kkm_last_timestamp [04:10:20]File name is /storage/kkm_last_timestamp [04:10:20]Write 4 bytes [04:10:20]NVStorageSaveData done [04:10:20]ExternCall_PrintAddStr [04:10:20]wPrintStart [04:10:20]Write to MH i2c: 01 00 00 07 0A 11 [04:10:20]Write i2c OK [04:10:20]MH_I2C_Read... [04:10:20]Read from MH i2c: 01 [04:10:20]MH_I2C_Read... [04:10:20]Read from MH i2c: 01 07 00 [04:10:20]MH_I2C_Read... [04:10:20]Read from MH i2c: 01 07 00 07 0A 00 00 00 00 00 FF 0F 26 [04:10:20]RasterBufferAndPrint [04:10:20]line Счет N : (3)129587 [04:10:20]line ИНН: 02508201610067 [04:10:20]line Контрольно-Кассовый Чек [04:10:20]line ПРОДАЖА [04:10:20]line Товар: 5449000066473 [04:10:20]line Вода Бонаква 1л [04:10:20]line 1.000 * 50.00 [04:10:20]line = 50.00 [04:10:20]line НДС 12% НСП 1% [04:10:20]line > о реализуемом товаре [04:10:20]line Товар: 46123428 [04:10:20]line Сигареты Mevius Wind Blue [04:10:20]line 1.000 * 155.00 [04:10:20]line = 155.00 [04:10:20]line НДС 12% НСП 1% [04:10:20]line > о реализуемом товаре [04:10:20]line ИТОГО: 205.00 [04:10:20]line НСП 1% : 1.81 [04:10:20]line НДС 12% : 21.77 [04:10:20]line Наличными: 205.00 [04:10:20]line Безнал.: 0.00 [04:10:20]line Место: АЗС № 132 "Партнер Нефть" [04:10:20]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [04:10:20]line СНО: Общий режим [04:10:20]line Чек 27 15.07.2024 04:10 [04:10:20]line Смена: 497 ФФД: 1.0 [04:10:20]line ЗНМ: 0300000132 [04:10:20]line РНМ: 0000000000091208 [04:10:20]line Версия ККМ: 001 [04:10:20]line ФМ: 0000000000874857 [04:10:20]line ФД: 57132 [04:10:20]line ФПД: 45787948896108 [04:10:20]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T041020&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57132&fm=45787948896108&tin=02508201610067®Number=0000000000091208&sum=20500 [04:10:20]line 0 [04:10:20]OFD Sender: Processing packet 57132 [packets to send 38, broken 37] [04:10:20]ProducePacketName [04:10:20]name=ofd_packets/00057132 [04:10:20]OFD Sender: To server: pG, [04:10:20]CommunicateWithHost lk.salyk.kg:30040 [04:10:20]ConnectInit lk.salyk.kg [04:10:20]written 0, free lines is 4095 [04:10:20]Connected sock=10 [04:10:20]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 01 00 00 5E E6 7D 01 92 6B 5A 03 01 00 03 00 71 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 35 34 34 39 30 30 30 30 36 36 34 37 33 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 D0 B0 20 31 D0 BB 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 60 00 8A 04 08 00 34 36 31 32 33 34 32 38 06 04 21 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 57 69 6E 64 20 42 6C 75 65 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 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 1B 00 00 00 F4 03 04 00 2C A1 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 2C DF 00 00 35 04 06 00 29 A4 D6 6D CF 6C CD 7C 4F 0E 5C 00 1C B1 [04:10:20]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 A3 A8 47 00 B1 84 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 2C DF 00 00 F4 03 04 00 7B 47 94 66 B6 04 01 00 00 90 A5 0E 3A E7 83 E3 04 [04:10:20]CommunicateWithHost err = 0 [04:10:20]CheckOFDResponse [04:10:20]1017 (14) - 77093643461234 [04:10:20]1041 (16) - 0000000000874857 [04:10:20]1040 (4) - 57132 [04:10:20]1012 (4) - 14.07.2024 21:47 [04:10:20]1206 (1) - 0 [04:10:20]OFD Sender: Remove packet 57132 [04:10:20]ProducePacketName [04:10:20]name=ofd_packets/00057132 [04:10:20]NVStorageDeleteData [04:10:21]Write to MH i2c: 01 00 00 35 0A 3F [04:10:21]Write i2c OK [04:10:21]MH_I2C_Read... [04:10:21]Read from MH i2c: 01 [04:10:21]MH_I2C_Read... [04:10:21]Read from MH i2c: 01 07 00 [04:10:21]MH_I2C_Read... [04:10:21]Read from MH i2c: 01 07 00 35 0A 00 00 00 00 00 BA 0C 0C [04:10:21]RasterBufferAndPrint [04:10:21]line [04:10:21]line [04:10:21]line [04:10:21]line [04:10:21]line [04:10:21]written 0, free lines is 3267 [04:10:21]MH_Cut [04:10:21]Write to MH i2c: D1 01 00 3C 0A 01 18 [04:10:21]Write i2c OK [04:10:21]MH_I2C_Read... [04:10:21]Read from MH i2c: D1 [04:10:21]MH_I2C_Read... [04:10:21]Read from MH i2c: D1 01 00 [04:10:21]MH_I2C_Read... [04:10:21]Read from MH i2c: D1 01 00 3C 0A 00 17 [04:10:21]Write to MH i2c: 01 00 00 3D 0A 47 [04:10:21]Write i2c OK [04:10:21]MH_I2C_Read... [04:10:21]OFD Sender: No OFD packet to send [04:10:21]*** Cut start [04:10:21]*** Partial cut [04:10:21]*** CUTSNS_PIN = 1 [04:10:21]*** CUTSNS_PIN = 0 [04:10:22]*** Brake cut motor [04:10:22]Read from MH i2c: 01 [04:10:22]MH_I2C_Read... [04:10:22]*** Stop cut motor [04:10:22]*** Cut end [04:10:22]Read from MH i2c: 01 07 00 [04:10:22]MH_I2C_Read... [04:10:22]Read from MH i2c: 01 07 00 3D 0A 00 00 00 00 00 FF 0F 5C [04:10:22]process_action close_receipt done [04:10:22]requested_data is exist [04:10:22]produce_requested_data [04:10:22]requested_item fm.sn is exist - process it [04:10:22]wFMCommunicate request_size=4 [04:10:22]MH_SAM_APDU [04:10:22]CAPDU: 80 11 00 00 [04:10:22]Write to MH i2c: E2 08 00 3E 0A 80 11 00 00 00 00 00 00 C2 [04:10:22]Write i2c OK [04:10:22]MH_I2C_Read... [04:10:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [04:10:22]Read from MH i2c: E2 [04:10:22]MH_I2C_Read... [04:10:22]Read from MH i2c: E2 17 00 [04:10:22]MH_I2C_Read... [04:10:22]Read from MH i2c: E2 17 00 3E 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 1C [04:10:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [04:10:22]wFMCommunicate OK [04:10:22]requested_item fd.num is exist - process it [04:10:22]SAM_PROTO_GetFieldsCounters [04:10:22]wFMCommunicate request_size=4 [04:10:22]MH_SAM_APDU [04:10:22]CAPDU: 80 13 00 00 [04:10:22]Write to MH i2c: E2 08 00 3F 0A 80 13 00 00 00 00 00 00 C5 [04:10:22]Write i2c OK [04:10:22]MH_I2C_Read... [04:10:22]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [04:10:22]Read from MH i2c: E2 [04:10:22]MH_I2C_Read... [04:10:22]Read from MH i2c: E2 62 00 [04:10:22]MH_I2C_Read... [04:10:22]Read from MH i2c: E2 62 00 3F 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 2C DF 00 00 0E 04 04 00 F1 01 00 00 12 04 04 00 1B 00 00 00 5E 04 04 00 1B 00 00 00 57 04 04 00 1C 00 00 00 19 04 04 00 00 00 00 00 90 00 36 [04:10:22]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 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 2C DF 00 00 0E 04 04 00 F1 01 00 00 12 04 04 00 1B 00 00 00 5E 04 04 00 1B 00 00 00 57 04 04 00 1C 00 00 00 19 04 04 00 00 00 00 00 90 00 [04:10:22]wFMCommunicate OK [04:10:22]SAM_PROTO_GetFieldsCounters done [04:10:22]requested_item shift.num is exist - process it [04:10:22]requested_item shift.opened is exist - process it [04:10:22]req_shift_opened [04:10:22]FM_GetShiftState [04:10:22]SAM_PROTO_GetShiftState [04:10:22]wFMCommunicate request_size=4 [04:10:22]MH_SAM_APDU [04:10:22]CAPDU: 80 13 01 00 [04:10:22]Write to MH i2c: E2 08 00 40 0A 80 13 01 00 00 00 00 00 C7 [04:10:22]Write i2c OK [04:10:22]MH_I2C_Read... [04:10:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [04:10:22]Read from MH i2c: E2 [04:10:22]MH_I2C_Read... [04:10:22]Read from MH i2c: E2 0E 00 [04:10:22]MH_I2C_Read... [04:10:22]Read from MH i2c: E2 0E 00 40 0A 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 40 [04:10:22]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [04:10:22]wFMCommunicate OK [04:10:22]SAM_PROTO_GetShiftState done [04:10:22]FM_GetShiftState done [04:10:22]req_shift_opened done [04:10:22]requested_item shift.open_date is exist - process it [04:10:22]req_shift_open_date [04:10:22]req_shift_open_date done [04:10:22]requested_item shift.sale.total is exist - process it [04:10:22]SAM_PROTO_GetShiftData [04:10:22]wFMCommunicate request_size=4 [04:10:22]MH_SAM_APDU [04:10:22]CAPDU: 80 13 02 00 [04:10:22]Write to MH i2c: E2 08 00 41 0A 80 13 02 00 00 00 00 00 C9 [04:10:22]Write i2c OK [04:10:22]MH_I2C_Read... [04:10:23]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [04:10:23]Read from MH i2c: E2 [04:10:23]MH_I2C_Read... [04:10:23]Read from MH i2c: E2 FD 00 [04:10:23]MH_I2C_Read... [04:10:23]Read from MH i2c: E2 FD 00 41 0A 00 B6 04 AA 04 B2 04 6E 04 04 00 1B 00 00 00 69 04 9B 00 6F 04 04 00 1A 00 00 00 B1 04 03 00 55 8C 0B 70 04 03 00 9C 39 07 72 04 03 00 B9 52 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 EF 39 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 2A 1A EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 A4 [04:10:23]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 1B 00 00 00 69 04 9B 00 6F 04 04 00 1A 00 00 00 B1 04 03 00 55 8C 0B 70 04 03 00 9C 39 07 72 04 03 00 B9 52 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 EF 39 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 2A 1A EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 [04:10:23]wFMCommunicate OK [04:10:23]wFMCommunicate request_size=4 [04:10:23]MH_SAM_APDU [04:10:23]CAPDU: 80 17 00 00 [04:10:23]Write to MH i2c: E2 08 00 42 0A 80 17 00 00 00 00 00 00 CC [04:10:23]Write i2c OK [04:10:23]MH_I2C_Read... [04:10:23]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [04:10:23]Read from MH i2c: E2 [04:10:23]MH_I2C_Read... [04:10:23]Read from MH i2c: E2 FD 00 [04:10:23]MH_I2C_Read... [04:10:23]Read from MH i2c: E2 FD 00 42 0A 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 01 [04:10:23]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 [04:10:23]wFMCommunicate OK [04:10:23]wFMCommunicate request_size=4 [04:10:23]MH_SAM_APDU [04:10:23]CAPDU: 80 17 00 00 [04:10:23]Write to MH i2c: E2 08 00 43 0A 80 17 00 00 00 00 00 00 CD [04:10:23]Write i2c OK [04:10:23]MH_I2C_Read... [04:10:23]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [04:10:23]Read from MH i2c: E2 [04:10:23]MH_I2C_Read... [04:10:23]Read from MH i2c: E2 FD 00 [04:10:23]MH_I2C_Read... [04:10:23]Read from MH i2c: E2 FD 00 43 0A 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 8D [04:10:23]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 [04:10:23]wFMCommunicate OK [04:10:23]wFMCommunicate request_size=4 [04:10:23]MH_SAM_APDU [04:10:23]CAPDU: 80 17 00 00 [04:10:23]Write to MH i2c: E2 08 00 44 0A 80 17 00 00 00 00 00 00 CE [04:10:23]Write i2c OK [04:10:23]MH_I2C_Read... [04:10:24]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [04:10:24]Read from MH i2c: E2 [04:10:24]MH_I2C_Read... [04:10:24]Read from MH i2c: E2 FD 00 [04:10:24]MH_I2C_Read... [04:10:24]Read from MH i2c: E2 FD 00 44 0A 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 3D [04:10:24]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 [04:10:24]wFMCommunicate OK [04:10:24]wFMCommunicate request_size=4 [04:10:24]MH_SAM_APDU [04:10:24]CAPDU: 80 17 00 00 [04:10:24]Write to MH i2c: E2 08 00 45 0A 80 17 00 00 00 00 00 00 CF [04:10:24]Write i2c OK [04:10:24]MH_I2C_Read... [04:10:24]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [04:10:24]Read from MH i2c: E2 [04:10:24]MH_I2C_Read... [04:10:24]Read from MH i2c: E2 D3 00 [04:10:24]MH_I2C_Read... [04:10:24]Read from MH i2c: E2 D3 00 45 0A 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 BC [04:10:24]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 [04:10:24]wFMCommunicate OK [04:10:24]SAM_PROTO_GetShiftData done [04:10:24]requested_item shift.sale.total_cash is exist - process it [04:10:24]requested_item shift.sale_refund.total is exist - process it [04:10:24]requested_item shift.sale_refund.total_cash is exist - process it [04:10:24]produce_requested_data done [04:10:24]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57132,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":7568.21,"shift.sale.total_cash":4735.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [04:10:24]process_action_free close_receipt [04:10:24]json_value_free [04:10:24]json_value_free done [04:10:24]process_json_proto returns [04:10:24]Send response to host [04:10:24]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57132,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":7568.21,"shift.sale.total_cash":4735.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [04:10:24]free response buf [04:10:24]execute_script done [04:10:24]execute_script returns [04:10:24]free content buf [04:10:24]Sock 8.Close socket [04:10:24]Sock 8.Thread stoped [04:10:26]OFD Sender: No OFD packet to send [04:10:31]OFD Sender: No OFD packet to send [04:10:36]OFD Sender: No OFD packet to send [04:10:41]OFD Sender: No OFD packet to send [04:10:46]OFD Sender: No OFD packet to send [04:10:51]OFD Sender: No OFD packet to send [04:10:56]accept exits with 9 [04:10:56]New connection [04:10:56]New thread 3067067748 created [04:10:56]Thread 3066924388 joined [04:10:56]Waiting for new connection... [04:10:56] Sock 9.Parse request [04:10:56]Sock 9.Check first char [04:10:56]Sock 9.First char is OK [04:10:56]request: POST /json_proto HTTP/1.0 [04:10:56]Method: POST [04:10:56]URL: /json_proto [04:10:56]Method is POST - this is cgi request [04:10:56]url: /json_proto [04:10:56]query_string will be loaded in cgi processing [04:10:56]execute_cgi json_proto POST (null) [04:10:56]execute_cgi path=json_proto method=POST [04:10:56]POST find Content-Length [04:10:56]Host: 172.17.39.4:8080 [04:10:56]Content-Length: 725 [04:10:56]Content-Type: application/json [04:10:56] [04:10:56]POST finish read [04:10:56]Found Content-Length = 725 [04:10:56]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129588", "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" ] } } [04:10:56]execute_script... [04:10: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)129588", "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" ] } } [04:10:56]POST & json_proto [04:10:56]process_json_proto [04:10:56]json parsed OK: [04:10:56]protocol is kg_v1.0 [04:10:56]action value=close_receipt [04:10:56]process_action close_receipt [04:10:56]cmd_close_receipt [04:10:56]MH_GetDate [04:10:56]Write to MH i2c: F0 00 00 46 0A 3F [04:10:56]Write i2c OK [04:10:56]MH_I2C_Read... [04:10:56]Read from MH i2c: F0 [04:10:56]MH_I2C_Read... [04:10:56]Read from MH i2c: F0 09 00 [04:10:56]MH_I2C_Read... [04:10:56]Read from MH i2c: F0 09 00 46 0A 00 52 A1 94 66 2D 25 5D 64 48 [04:10:56]GetLastDocTimeStamp 1721016620 [04:10:56]current date 1721016658 [04:10:56]FM_GetShiftState [04:10:56]SAM_PROTO_GetShiftState [04:10:56]wFMCommunicate request_size=4 [04:10:56]MH_SAM_APDU [04:10:56]CAPDU: 80 13 01 00 [04:10:56]Write to MH i2c: E2 08 00 47 0A 80 13 01 00 00 00 00 00 CE [04:10:56]Write i2c OK [04:10:56]MH_I2C_Read... [04:10:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [04:10:56]Read from MH i2c: E2 [04:10:56]MH_I2C_Read... [04:10:56]Read from MH i2c: E2 0E 00 [04:10:56]MH_I2C_Read... [04:10:56]Read from MH i2c: E2 0E 00 47 0A 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 47 [04:10:56]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [04:10:56]wFMCommunicate OK [04:10:56]SAM_PROTO_GetShiftState done [04:10:56]FM_GetShiftState done [04:10:56]opened in 1721003525 [04:10:56]opened+sec_in_day 1721089925 [04:10:56]quantity*price = 14000 [04:10:56]sum+1 = 14001 [04:10:56]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 СНО: Общий режим Чек 28 15.07.2024 04:10 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57133 ФПД: 89992607639958 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T041058&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57133&fm=89992607639958&tin=02508201610067®Number=0000000000091208&sum=14000 0 [04:10:57]StoreToDocumentArchive [04:10:57]shift 497 fd 57133 [04:10:57]save to /storage/0497/doc_00057133 [04:10:57]save last doc name /storage/0497/doc_00057133 to /storage/kkm_last_doc_name [04:10:57]save OK [04:10:57]Clear old archive folders... [04:10:57]ProcessDocumentItem done err = 0, tmpTLVsize=273 [04:10:57]tlvbuf is 00991BA0 [04:10:57]SAM_PROTO_ClearQueue [04:10:57]wFMCommunicate request_size=4 [04:10:57]MH_SAM_APDU [04:10:57]CAPDU: 80 09 00 00 [04:10:57]Write to MH i2c: E2 08 00 54 0A 80 09 00 00 00 00 00 00 D0 [04:10:57]Write i2c OK [04:10:57]MH_I2C_Read... [04:10:57]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [04:10:57]Read from MH i2c: E2 [04:10:57]MH_I2C_Read... [04:10:57]Read from MH i2c: E2 03 00 [04:10:57]MH_I2C_Read... [04:10:57]Read from MH i2c: E2 03 00 54 0A 00 90 00 D2 [04:10:57]RAPDU: 90 00 [04:10:57]wFMCommunicate OK [04:10:57]SAM_PROTO_ClearQueue done [04:10:57]KKMCreateOFDPacket [04:10:57]OFDProtocolAddRootSTLVToBuf [04:10:57]FM_MakeSignedData [04:10:57]FM_MakeSignedData [04:10:57]SAM_PROTO_SignData [04:10:57]wFMCommunicate request_size=4 [04:10:57]MH_SAM_APDU [04:10:57]CAPDU: 80 0D 01 02 [04:10:57]Write to MH i2c: E2 08 00 55 0A 80 0D 01 02 00 00 00 00 D8 [04:10:57]Write i2c OK [04:10:57]MH_I2C_Read... [04:10:57]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [04:10:57]Read from MH i2c: E2 [04:10:57]MH_I2C_Read... [04:10:57]Read from MH i2c: E2 03 00 [04:10:57]MH_I2C_Read... [04:10:57]Read from MH i2c: E2 03 00 55 0A 00 90 00 D3 [04:10:57]RAPDU: 90 00 [04:10:57]wFMCommunicate OK [04:10:57]wFMCommunicate request_size=255 [04:10:57]MH_SAM_APDU [04:10:57]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 1C 00 00 00 F4 03 04 00 52 A1 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 [04:10:57]Write to MH i2c: E2 02 01 56 0A 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 1C 00 00 00 F4 03 04 00 52 A1 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 C3 [04:10:57]Write i2c OK [04:10:57]MH_I2C_Read... [04:10:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [04:10:57]Read from MH i2c: E2 [04:10:57]MH_I2C_Read... [04:10:57]Read from MH i2c: E2 03 00 [04:10:57]MH_I2C_Read... [04:10:57]Read from MH i2c: E2 03 00 56 0A 00 90 00 D4 [04:10:57]RAPDU: 90 00 [04:10:57]wFMCommunicate OK [04:10:57]wFMCommunicate request_size=32 [04:10:57]MH_SAM_APDU [04:10:57]CAPDU: 80 0D 02 02 1B 30 30 30 38 37 34 38 35 37 10 04 04 00 2D DF 00 00 35 04 06 00 51 D9 09 69 29 96 [04:10:57]Write to MH i2c: E2 23 00 57 0A 80 0D 02 02 1B 00 30 30 30 38 37 34 38 35 37 10 04 04 00 2D DF 00 00 35 04 06 00 51 D9 09 69 29 96 00 00 A6 [04:10:57]Write i2c OK [04:10:57]MH_I2C_Read... [04:10:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [04:10:57]Read from MH i2c: E2 [04:10:57]MH_I2C_Read... [04:10:57]Read from MH i2c: E2 03 00 [04:10:57]MH_I2C_Read... [04:10:57]Read from MH i2c: E2 03 00 57 0A 00 90 00 D5 [04:10:57]RAPDU: 90 00 [04:10:57]wFMCommunicate OK [04:10:57]wFMCommunicate request_size=4 [04:10:57]MH_SAM_APDU [04:10:57]CAPDU: 80 0D 03 02 [04:10:57]Write to MH i2c: E2 08 00 58 0A 80 0D 03 02 00 00 00 00 DD [04:10:57]Write i2c OK [04:10:57]MH_I2C_Read... [04:10:57]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [04:10:57]Read from MH i2c: E2 [04:10:57]MH_I2C_Read... [04:10:57]Read from MH i2c: E2 0B 00 [04:10:57]MH_I2C_Read... [04:10:57]Read from MH i2c: E2 0B 00 58 0A 00 C5 67 7B 96 0F 92 12 3D 90 00 0B [04:10:57]RAPDU: C5 67 7B 96 0F 92 12 3D 90 00 [04:10:57]wFMCommunicate OK [04:10:57]SAM_PROTO_SignData done [04:10:57]FM_MakeSignedData done [04:10:57]CreateOFDProtocolMessage [04:10:57]wFMCommunicate request_size=4 [04:10:57]MH_SAM_APDU [04:10:57]CAPDU: 80 11 00 00 [04:10:57]Write to MH i2c: E2 08 00 59 0A 80 11 00 00 00 00 00 00 DD [04:10:57]Write i2c OK [04:10:57]MH_I2C_Read... [04:10:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [04:10:58]Read from MH i2c: E2 [04:10:58]MH_I2C_Read... [04:10:58]Read from MH i2c: E2 17 00 [04:10:58]MH_I2C_Read... [04:10:58]Read from MH i2c: E2 17 00 59 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 37 [04:10:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [04:10:58]wFMCommunicate OK [04:10:58]CreateOFDProtocolMessage done [04:10:58]OFDSenderStorePacket 57133 [04:10:58]StoreOFDPacket docnum=57133 [04:10: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 25 01 00 00 53 7D 1D 01 DD E2 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 1C 00 00 00 F4 03 04 00 52 A1 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 2D DF 00 00 35 04 06 00 51 D9 09 69 29 96 C5 67 7B 96 0F 92 12 3D [04:10:58]CheckFolder [04:10:58]dirname=/storage/ofd_packets [04:10:58]CheckFolder done [04:10:58]ProducePacketName [04:10:58]name=ofd_packets/00057133 [04:10:58]NVStorageSaveData ofd_packets/00057133 [04:10:58]File name is /storage/ofd_packets/00057133 [04:10:58]Write 323 bytes [04:10:58]NVStorageSaveData done [04:10:58]OFDSenderStorePacket done [04:10:58]KKMCreateOFDPacket done [04:10:58]NVStorageSaveData kkm_last_timestamp [04:10:58]File name is /storage/kkm_last_timestamp [04:10:58]Write 4 bytes [04:10:58]NVStorageSaveData done [04:10:58]ExternCall_PrintAddStr [04:10:58]wPrintStart [04:10:58]Write to MH i2c: 01 00 00 5A 0A 64 [04:10:58]Write i2c OK [04:10:58]MH_I2C_Read... [04:10:58]Read from MH i2c: 01 [04:10:58]MH_I2C_Read... [04:10:58]Read from MH i2c: 01 07 00 [04:10:58]MH_I2C_Read... [04:10:58]Read from MH i2c: 01 07 00 5A 0A 00 00 00 00 00 FF 0F 79 [04:10:58]RasterBufferAndPrint [04:10:58]line Счет N : (3)129588 [04:10:58]line ИНН: 02508201610067 [04:10:58]line Контрольно-Кассовый Чек [04:10:58]line ПРОДАЖА [04:10:58]line Товар: 48743570 [04:10:58]line Сигареты Winston XStyle Blue [04:10:58]line 1.000 * 140.00 [04:10:58]line = 140.00 [04:10:58]line НДС 12% НСП 1% [04:10:58]line > о реализуемом товаре [04:10:58]line ИТОГО: 140.00 [04:10:58]line НСП 1% : 1.24 [04:10:58]line НДС 12% : 14.87 [04:10:58]line Наличными: 140.00 [04:10:58]line Безнал.: 0.00 [04:10:58]line Место: АЗС № 132 "Партнер Нефть" [04:10:58]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [04:10:58]line СНО: Общий режим [04:10:58]line Чек 28 15.07.2024 04:10 [04:10:58]line Смена: 497 ФФД: 1.0 [04:10:58]line ЗНМ: 0300000132 [04:10:58]line РНМ: 0000000000091208 [04:10:58]line Версия ККМ: 001 [04:10:58]line ФМ: 0000000000874857 [04:10:58]line ФД: 57133 [04:10:58]line ФПД: 89992607639958 [04:10:58]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T041058&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57133&fm=89992607639958&tin=02508201610067®Number=0000000000091208&sum=14000 [04:10:58]line 0 [04:10:58]written 0, free lines is 4095 [04:10:58]OFD Sender: Processing packet 57133 [packets to send 38, broken 37] [04:10:58]ProducePacketName [04:10:58]name=ofd_packets/00057133 [04:10:58]OFD Sender: To server: pG, [04:10:58]CommunicateWithHost lk.salyk.kg:30040 [04:10:58]ConnectInit lk.salyk.kg [04:10:58]Connected sock=10 [04:10: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 25 01 00 00 53 7D 1D 01 DD E2 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 1C 00 00 00 F4 03 04 00 52 A1 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 2D DF 00 00 35 04 06 00 51 D9 09 69 29 96 C5 67 7B 96 0F 92 12 3D [04:10: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 D3 BB 47 00 2B 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 2D DF 00 00 F4 03 04 00 A1 47 94 66 B6 04 01 00 00 88 A2 F5 02 85 47 4F 5F [04:10:58]CommunicateWithHost err = 0 [04:10:58]CheckOFDResponse [04:10:58]1017 (14) - 77093643461234 [04:10:58]1041 (16) - 0000000000874857 [04:10:58]1040 (4) - 57133 [04:10:58]1012 (4) - 14.07.2024 21:48 [04:10:58]1206 (1) - 0 [04:10:58]OFD Sender: Remove packet 57133 [04:10:58]ProducePacketName [04:10:58]name=ofd_packets/00057133 [04:10:58]NVStorageDeleteData [04:10:58]Write to MH i2c: 01 00 00 82 0A 8C [04:10:58]Write i2c OK [04:10:58]MH_I2C_Read... [04:10:58]Read from MH i2c: 01 [04:10:58]MH_I2C_Read... [04:10:58]Read from MH i2c: 01 07 00 [04:10:58]MH_I2C_Read... [04:10:58]Read from MH i2c: 01 07 00 82 0A 00 00 00 00 00 FC 0C 9B [04:10:58]RasterBufferAndPrint [04:10:58]line [04:10:58]line [04:10:58]line [04:10:58]line [04:10:58]line [04:10:58]written 0, free lines is 3331 [04:10:58]MH_Cut [04:10:58]Write to MH i2c: D1 01 00 89 0A 01 65 [04:10:58]Write i2c OK [04:10:58]MH_I2C_Read... [04:10:58]Read from MH i2c: D1 [04:10:58]MH_I2C_Read... [04:10:58]Read from MH i2c: D1 01 00 [04:10:58]MH_I2C_Read... [04:10:58]Read from MH i2c: D1 01 00 89 0A 00 64 [04:10:58]Write to MH i2c: 01 00 00 8A 0A 94 [04:10:58]Write i2c OK [04:10:58]MH_I2C_Read... [04:10:59]OFD Sender: No OFD packet to send [04:10:59]*** Cut start [04:10:59]*** Partial cut [04:10:59]*** CUTSNS_PIN = 1 [04:10:59]*** CUTSNS_PIN = 0 [04:10:59]*** Brake cut motor [04:11:00]Read from MH i2c: 01 [04:11:00]MH_I2C_Read... [04:11:00]*** Stop cut motor [04:11:00]*** Cut end [04:11:00]Read from MH i2c: 01 07 00 [04:11:00]MH_I2C_Read... [04:11:00]Read from MH i2c: 01 07 00 8A 0A 00 00 00 00 00 FF 0F A9 [04:11:00]process_action close_receipt done [04:11:00]requested_data is exist [04:11:00]produce_requested_data [04:11:00]requested_item fm.sn is exist - process it [04:11:00]wFMCommunicate request_size=4 [04:11:00]MH_SAM_APDU [04:11:00]CAPDU: 80 11 00 00 [04:11:00]Write to MH i2c: E2 08 00 8B 0A 80 11 00 00 00 00 00 00 0F [04:11:00]Write i2c OK [04:11:00]MH_I2C_Read... [04:11:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [04:11:00]Read from MH i2c: E2 [04:11:00]MH_I2C_Read... [04:11:00]Read from MH i2c: E2 17 00 [04:11:00]MH_I2C_Read... [04:11:00]Read from MH i2c: E2 17 00 8B 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 69 [04:11:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [04:11:00]wFMCommunicate OK [04:11:00]requested_item fd.num is exist - process it [04:11:00]SAM_PROTO_GetFieldsCounters [04:11:00]wFMCommunicate request_size=4 [04:11:00]MH_SAM_APDU [04:11:00]CAPDU: 80 13 00 00 [04:11:00]Write to MH i2c: E2 08 00 8C 0A 80 13 00 00 00 00 00 00 12 [04:11:00]Write i2c OK [04:11:00]MH_I2C_Read... [04:11:00]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [04:11:00]Read from MH i2c: E2 [04:11:00]MH_I2C_Read... [04:11:00]Read from MH i2c: E2 62 00 [04:11:00]MH_I2C_Read... [04:11:00]Read from MH i2c: E2 62 00 8C 0A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 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 2D DF 00 00 0E 04 04 00 F1 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 87 [04:11: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 2D DF 00 00 0E 04 04 00 F1 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 [04:11:00]wFMCommunicate OK [04:11:00]SAM_PROTO_GetFieldsCounters done [04:11:00]requested_item shift.num is exist - process it [04:11:00]requested_item shift.opened is exist - process it [04:11:00]req_shift_opened [04:11:00]FM_GetShiftState [04:11:00]SAM_PROTO_GetShiftState [04:11:00]wFMCommunicate request_size=4 [04:11:00]MH_SAM_APDU [04:11:00]CAPDU: 80 13 01 00 [04:11:00]Write to MH i2c: E2 08 00 8D 0A 80 13 01 00 00 00 00 00 14 [04:11:00]Write i2c OK [04:11:00]MH_I2C_Read... [04:11:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [04:11:00]Read from MH i2c: E2 [04:11:00]MH_I2C_Read... [04:11:00]Read from MH i2c: E2 0E 00 [04:11:00]MH_I2C_Read... [04:11:00]Read from MH i2c: E2 0E 00 8D 0A 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 8D [04:11:00]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [04:11:00]wFMCommunicate OK [04:11:00]SAM_PROTO_GetShiftState done [04:11:00]FM_GetShiftState done [04:11:00]req_shift_opened done [04:11:00]requested_item shift.open_date is exist - process it [04:11:00]req_shift_open_date [04:11:00]req_shift_open_date done [04:11:00]requested_item shift.sale.total is exist - process it [04:11:00]SAM_PROTO_GetShiftData [04:11:00]wFMCommunicate request_size=4 [04:11:00]MH_SAM_APDU [04:11:00]CAPDU: 80 13 02 00 [04:11:00]Write to MH i2c: E2 08 00 8E 0A 80 13 02 00 00 00 00 00 16 [04:11:00]Write i2c OK [04:11:00]MH_I2C_Read... [04:11:00]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [04:11:00]Read from MH i2c: E2 [04:11:00]MH_I2C_Read... [04:11:00]Read from MH i2c: E2 FD 00 [04:11:00]MH_I2C_Read... [04:11:00]Read from MH i2c: E2 FD 00 8E 0A 00 B6 04 AA 04 B2 04 6E 04 04 00 1C 00 00 00 69 04 9B 00 6F 04 04 00 1B 00 00 00 B1 04 03 00 05 C3 0B 70 04 03 00 4C 70 07 72 04 03 00 B9 52 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 BE 3F 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 A6 1A EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 12 [04:11:00]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 1C 00 00 00 69 04 9B 00 6F 04 04 00 1B 00 00 00 B1 04 03 00 05 C3 0B 70 04 03 00 4C 70 07 72 04 03 00 B9 52 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 BE 3F 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 A6 1A EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 [04:11:00]wFMCommunicate OK [04:11:00]wFMCommunicate request_size=4 [04:11:00]MH_SAM_APDU [04:11:00]CAPDU: 80 17 00 00 [04:11:00]Write to MH i2c: E2 08 00 8F 0A 80 17 00 00 00 00 00 00 19 [04:11:00]Write i2c OK [04:11:00]MH_I2C_Read... [04:11:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [04:11:01]Read from MH i2c: E2 [04:11:01]MH_I2C_Read... [04:11:01]Read from MH i2c: E2 FD 00 [04:11:01]MH_I2C_Read... [04:11:01]Read from MH i2c: E2 FD 00 8F 0A 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 4E [04:11:01]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 [04:11:01]wFMCommunicate OK [04:11:01]wFMCommunicate request_size=4 [04:11:01]MH_SAM_APDU [04:11:01]CAPDU: 80 17 00 00 [04:11:01]Write to MH i2c: E2 08 00 90 0A 80 17 00 00 00 00 00 00 1A [04:11:01]Write i2c OK [04:11:01]MH_I2C_Read... [04:11:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [04:11:01]Read from MH i2c: E2 [04:11:01]MH_I2C_Read... [04:11:01]Read from MH i2c: E2 FD 00 [04:11:01]MH_I2C_Read... [04:11:01]Read from MH i2c: E2 FD 00 90 0A 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 DA [04:11:01]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 [04:11:01]wFMCommunicate OK [04:11:01]wFMCommunicate request_size=4 [04:11:01]MH_SAM_APDU [04:11:01]CAPDU: 80 17 00 00 [04:11:01]Write to MH i2c: E2 08 00 91 0A 80 17 00 00 00 00 00 00 1B [04:11:01]Write i2c OK [04:11:01]MH_I2C_Read... [04:11:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [04:11:01]Read from MH i2c: E2 [04:11:01]MH_I2C_Read... [04:11:01]Read from MH i2c: E2 FD 00 [04:11:01]MH_I2C_Read... [04:11:01]Read from MH i2c: E2 FD 00 91 0A 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 8A [04:11:01]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 [04:11:01]wFMCommunicate OK [04:11:01]wFMCommunicate request_size=4 [04:11:01]MH_SAM_APDU [04:11:01]CAPDU: 80 17 00 00 [04:11:01]Write to MH i2c: E2 08 00 92 0A 80 17 00 00 00 00 00 00 1C [04:11:01]Write i2c OK [04:11:01]MH_I2C_Read... [04:11:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [04:11:01]Read from MH i2c: E2 [04:11:01]MH_I2C_Read... [04:11:01]Read from MH i2c: E2 D3 00 [04:11:01]MH_I2C_Read... [04:11:01]Read from MH i2c: E2 D3 00 92 0A 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 09 [04:11:01]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 [04:11:01]wFMCommunicate OK [04:11:01]SAM_PROTO_GetShiftData done [04:11:01]requested_item shift.sale.total_cash is exist - process it [04:11:01]requested_item shift.sale_refund.total is exist - process it [04:11:01]requested_item shift.sale_refund.total_cash is exist - process it [04:11:01]produce_requested_data done [04:11:01]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57133,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":7708.21,"shift.sale.total_cash":4875.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [04:11:01]process_action_free close_receipt [04:11:01]json_value_free [04:11:01]json_value_free done [04:11:01]process_json_proto returns [04:11:01]Send response to host [04:11:01]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57133,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":7708.21,"shift.sale.total_cash":4875.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [04:11:01]free response buf [04:11:01]execute_script done [04:11:01]execute_script returns [04:11:01]free content buf [04:11:01]Sock 9.Close socket [04:11:01]Sock 9.Thread stoped [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:49]accept exits with 8 [04:11:49]New connection [04:11:49]New thread 3066924388 created [04:11:49]Thread 3067067748 joined [04:11:49]Waiting for new connection... [04:11:49] Sock 8.Parse request [04:11:49]Sock 8.Check first char [04:11:49]Sock 8.First char is OK [04:11:49]request: POST /json_proto HTTP/1.0 [04:11:49]Method: POST [04:11:49]URL: /json_proto [04:11:49]Method is POST - this is cgi request [04:11:49]url: /json_proto [04:11:49]query_string will be loaded in cgi processing [04:11:49]execute_cgi json_proto POST (null) [04:11:49]execute_cgi path=json_proto method=POST [04:11:49]POST find Content-Length [04:11:49]Host: 172.17.39.4:8080 [04:11:49]Content-Length: 726 [04:11:49]Content-Type: application/json [04:11:49] [04:11:49]POST finish read [04:11:49]Found Content-Length = 726 [04:11:49]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129589", "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" ] } } [04:11:49]execute_script... [04:11: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)129589", "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" ] } } [04:11:49]POST & json_proto [04:11:49]process_json_proto [04:11:49]json parsed OK: [04:11:49]protocol is kg_v1.0 [04:11:49]action value=close_receipt [04:11:49]process_action close_receipt [04:11:49]cmd_close_receipt [04:11:49]MH_GetDate [04:11:49]Write to MH i2c: F0 00 00 93 0A 8C [04:11:49]Write i2c OK [04:11:49]MH_I2C_Read... [04:11:49]Read from MH i2c: F0 [04:11:49]MH_I2C_Read... [04:11:49]Read from MH i2c: F0 09 00 [04:11:49]MH_I2C_Read... [04:11:49]Read from MH i2c: F0 09 00 93 0A 00 87 A1 94 66 2D 25 5D 64 CA [04:11:49]GetLastDocTimeStamp 1721016658 [04:11:49]current date 1721016711 [04:11:49]FM_GetShiftState [04:11:49]SAM_PROTO_GetShiftState [04:11:49]wFMCommunicate request_size=4 [04:11:49]MH_SAM_APDU [04:11:49]CAPDU: 80 13 01 00 [04:11:49]Write to MH i2c: E2 08 00 94 0A 80 13 01 00 00 00 00 00 1B [04:11:49]Write i2c OK [04:11:49]MH_I2C_Read... [04:11:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [04:11:49]Read from MH i2c: E2 [04:11:49]MH_I2C_Read... [04:11:49]Read from MH i2c: E2 0E 00 [04:11:49]MH_I2C_Read... [04:11:49]Read from MH i2c: E2 0E 00 94 0A 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 94 [04:11:49]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [04:11:49]wFMCommunicate OK [04:11:49]SAM_PROTO_GetShiftState done [04:11:49]FM_GetShiftState done [04:11:49]opened in 1721003525 [04:11:49]opened+sec_in_day 1721089925 [04:11:49]quantity*price = 13800 [04:11:49]sum+1 = 13801 [04:11:49]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 СНО: Общий режим Чек 29 15.07.2024 04:11 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57134 ФПД: 262601012098064 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T041151&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57134&fm=262601012098064&tin=02508201610067®Number=0000000000091208&sum=13800 0 [04:11:50]StoreToDocumentArchive [04:11:50]shift 497 fd 57134 [04:11:50]save to /storage/0497/doc_00057134 [04:11:50]save last doc name /storage/0497/doc_00057134 to /storage/kkm_last_doc_name [04:11:50]save OK [04:11:50]Clear old archive folders... [04:11:50]ProcessDocumentItem done err = 0, tmpTLVsize=274 [04:11:50]tlvbuf is 009926F0 [04:11:50]SAM_PROTO_ClearQueue [04:11:50]wFMCommunicate request_size=4 [04:11:50]MH_SAM_APDU [04:11:50]CAPDU: 80 09 00 00 [04:11:50]Write to MH i2c: E2 08 00 A1 0A 80 09 00 00 00 00 00 00 1D [04:11:50]Write i2c OK [04:11:50]MH_I2C_Read... [04:11:50]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [04:11:50]Read from MH i2c: E2 [04:11:50]MH_I2C_Read... [04:11:50]Read from MH i2c: E2 03 00 [04:11:50]MH_I2C_Read... [04:11:50]Read from MH i2c: E2 03 00 A1 0A 00 90 00 1F [04:11:50]RAPDU: 90 00 [04:11:50]wFMCommunicate OK [04:11:50]SAM_PROTO_ClearQueue done [04:11:50]KKMCreateOFDPacket [04:11:50]OFDProtocolAddRootSTLVToBuf [04:11:50]FM_MakeSignedData [04:11:50]FM_MakeSignedData [04:11:50]SAM_PROTO_SignData [04:11:50]wFMCommunicate request_size=4 [04:11:50]MH_SAM_APDU [04:11:50]CAPDU: 80 0D 01 02 [04:11:50]Write to MH i2c: E2 08 00 A2 0A 80 0D 01 02 00 00 00 00 25 [04:11:50]Write i2c OK [04:11:50]MH_I2C_Read... [04:11:50]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [04:11:50]Read from MH i2c: E2 [04:11:50]MH_I2C_Read... [04:11:50]Read from MH i2c: E2 03 00 [04:11:50]MH_I2C_Read... [04:11:50]Read from MH i2c: E2 03 00 A2 0A 00 90 00 20 [04:11:50]RAPDU: 90 00 [04:11:50]wFMCommunicate OK [04:11:50]wFMCommunicate request_size=255 [04:11:50]MH_SAM_APDU [04:11:50]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 1D 00 00 00 F4 03 04 00 87 A1 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 [04:11:50]Write to MH i2c: E2 02 01 A3 0A 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 1D 00 00 00 F4 03 04 00 87 A1 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 00 00 8E [04:11:50]Write i2c OK [04:11:50]MH_I2C_Read... [04:11:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [04:11:50]Read from MH i2c: E2 [04:11:50]MH_I2C_Read... [04:11:50]Read from MH i2c: E2 03 00 [04:11:50]MH_I2C_Read... [04:11:50]Read from MH i2c: E2 03 00 A3 0A 00 90 00 21 [04:11:50]RAPDU: 90 00 [04:11:50]wFMCommunicate OK [04:11:50]wFMCommunicate request_size=33 [04:11:50]MH_SAM_APDU [04:11:50]CAPDU: 80 0D 02 02 1C 30 30 30 30 38 37 34 38 35 37 10 04 04 00 2E DF 00 00 35 04 06 00 EE D5 90 0B 34 10 [04:11:50]Write to MH i2c: E2 24 00 A4 0A 80 0D 02 02 1C 00 30 30 30 30 38 37 34 38 35 37 10 04 04 00 2E DF 00 00 35 04 06 00 EE D5 90 0B 34 10 00 00 6D [04:11:50]Write i2c OK [04:11:50]MH_I2C_Read... [04:11:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [04:11:51]Read from MH i2c: E2 [04:11:51]MH_I2C_Read... [04:11:51]Read from MH i2c: E2 03 00 [04:11:51]MH_I2C_Read... [04:11:51]Read from MH i2c: E2 03 00 A4 0A 00 90 00 22 [04:11:51]RAPDU: 90 00 [04:11:51]wFMCommunicate OK [04:11:51]wFMCommunicate request_size=4 [04:11:51]MH_SAM_APDU [04:11:51]CAPDU: 80 0D 03 02 [04:11:51]Write to MH i2c: E2 08 00 A5 0A 80 0D 03 02 00 00 00 00 2A [04:11:51]Write i2c OK [04:11:51]MH_I2C_Read... [04:11:51]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [04:11:51]Read from MH i2c: E2 [04:11:51]MH_I2C_Read... [04:11:51]Read from MH i2c: E2 0B 00 [04:11:51]MH_I2C_Read... [04:11:51]Read from MH i2c: E2 0B 00 A5 0A 00 CC BA C4 57 75 CF A2 8A 90 00 3C [04:11:51]RAPDU: CC BA C4 57 75 CF A2 8A 90 00 [04:11:51]wFMCommunicate OK [04:11:51]SAM_PROTO_SignData done [04:11:51]FM_MakeSignedData done [04:11:51]CreateOFDProtocolMessage [04:11:51]wFMCommunicate request_size=4 [04:11:51]MH_SAM_APDU [04:11:51]CAPDU: 80 11 00 00 [04:11:51]Write to MH i2c: E2 08 00 A6 0A 80 11 00 00 00 00 00 00 2A [04:11:51]Write i2c OK [04:11:51]MH_I2C_Read... [04:11:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [04:11:51]Read from MH i2c: E2 [04:11:51]MH_I2C_Read... [04:11:51]Read from MH i2c: E2 17 00 [04:11:51]MH_I2C_Read... [04:11:51]Read from MH i2c: E2 17 00 A6 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 84 [04:11:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [04:11:51]wFMCommunicate OK [04:11:51]CreateOFDProtocolMessage done [04:11:51]OFDSenderStorePacket 57134 [04:11:51]StoreOFDPacket docnum=57134 [04:11: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 26 01 00 00 C2 0B 1E 01 A2 2C 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 1D 00 00 00 F4 03 04 00 87 A1 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 2E DF 00 00 35 04 06 00 EE D5 90 0B 34 10 CC BA C4 57 75 CF A2 8A [04:11:51]CheckFolder [04:11:51]dirname=/storage/ofd_packets [04:11:51]CheckFolder done [04:11:51]ProducePacketName [04:11:51]name=ofd_packets/00057134 [04:11:51]NVStorageSaveData ofd_packets/00057134 [04:11:51]File name is /storage/ofd_packets/00057134 [04:11:51]Write 324 bytes [04:11:51]NVStorageSaveData done [04:11:51]OFDSenderStorePacket done [04:11:51]KKMCreateOFDPacket done [04:11:51]NVStorageSaveData kkm_last_timestamp [04:11:51]File name is /storage/kkm_last_timestamp [04:11:51]Write 4 bytes [04:11:51]NVStorageSaveData done [04:11:51]OFD Sender: Processing packet 57134 [packets to send 38, broken 37] [04:11:51]ProducePacketName [04:11:51]name=ofd_packets/00057134 [04:11:51]OFD Sender: To server: pG, [04:11:51]CommunicateWithHost lk.salyk.kg:30040 [04:11:51]ConnectInit lk.salyk.kg [04:11:51]ExternCall_PrintAddStr [04:11:51]wPrintStart [04:11:51]Write to MH i2c: 01 00 00 A7 0A B1 [04:11:51]Write i2c OK [04:11:51]MH_I2C_Read... [04:11:51]Read from MH i2c: 01 [04:11:51]MH_I2C_Read... [04:11:51]Read from MH i2c: 01 07 00 [04:11:51]MH_I2C_Read... [04:11:51]Read from MH i2c: 01 07 00 A7 0A 00 00 00 00 00 FF 0F C6 [04:11:51]RasterBufferAndPrint [04:11:51]line Счет N : (3)129589 [04:11:51]line ИНН: 02508201610067 [04:11:51]line Контрольно-Кассовый Чек [04:11:51]line ПРОДАЖА [04:11:51]line Товар: 4640030091645 [04:11:51]line Сигареты ESSE Exchange M [04:11:51]line 1.000 * 138.00 [04:11:51]line = 138.00 [04:11:51]line НДС 12% НСП 1% [04:11:51]line > о реализуемом товаре [04:11:51]line ИТОГО: 138.00 [04:11:51]line НСП 1% : 1.22 [04:11:51]line НДС 12% : 14.65 [04:11:51]line Наличными: 138.00 [04:11:51]line Безнал.: 0.00 [04:11:51]line Место: АЗС № 132 "Партнер Нефть" [04:11:51]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [04:11:51]line СНО: Общий режим [04:11:51]line Чек 29 15.07.2024 04:11 [04:11:51]line Смена: 497 ФФД: 1.0 [04:11:51]line ЗНМ: 0300000132 [04:11:51]line РНМ: 0000000000091208 [04:11:51]line Версия ККМ: 001 [04:11:51]line ФМ: 0000000000874857 [04:11:51]line ФД: 57134 [04:11:51]line ФПД: 262601012098064 [04:11:51]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T041151&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57134&fm=262601012098064&tin=02508201610067®Number=0000000000091208&sum=13800 [04:11:51]line 0 [04:11:51]Connected sock=11 [04:11: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 26 01 00 00 C2 0B 1E 01 A2 2C 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 1D 00 00 00 F4 03 04 00 87 A1 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 2E DF 00 00 35 04 06 00 EE D5 90 0B 34 10 CC BA C4 57 75 CF A2 8A [04:11:51]written 0, free lines is 4095 [04:11: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 5B 66 47 00 C0 B6 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 2E DF 00 00 F4 03 04 00 D6 47 94 66 B6 04 01 00 00 34 13 71 7B 2E 69 90 52 [04:11:51]CommunicateWithHost err = 0 [04:11:51]CheckOFDResponse [04:11:51]1017 (14) - 77093643461234 [04:11:51]1041 (16) - 0000000000874857 [04:11:51]1040 (4) - 57134 [04:11:51]1012 (4) - 14.07.2024 21:49 [04:11:51]1206 (1) - 0 [04:11:51]OFD Sender: Remove packet 57134 [04:11:51]ProducePacketName [04:11:51]name=ofd_packets/00057134 [04:11:51]NVStorageDeleteData [04:11:51]Write to MH i2c: 01 00 00 CF 0A D9 [04:11:51]Write i2c OK [04:11:51]MH_I2C_Read... [04:11:51]Read from MH i2c: 01 [04:11:51]MH_I2C_Read... [04:11:51]Read from MH i2c: 01 07 00 [04:11:51]MH_I2C_Read... [04:11:51]Read from MH i2c: 01 07 00 CF 0A 00 00 00 00 00 16 0D 03 [04:11:51]RasterBufferAndPrint [04:11:51]line [04:11:51]line [04:11:51]line [04:11:51]line [04:11:51]line [04:11:51]written 0, free lines is 3358 [04:11:51]MH_Cut [04:11:51]Write to MH i2c: D1 01 00 D6 0A 01 B2 [04:11:51]Write i2c OK [04:11:51]MH_I2C_Read... [04:11:51]Read from MH i2c: D1 [04:11:51]MH_I2C_Read... [04:11:51]Read from MH i2c: D1 01 00 [04:11:51]MH_I2C_Read... [04:11:51]Read from MH i2c: D1 01 00 D6 0A 00 B1 [04:11:51]Write to MH i2c: 01 00 00 D7 0A E1 [04:11:51]Write i2c OK [04:11:51]MH_I2C_Read... [04:11:52]OFD Sender: No OFD packet to send [04:11:52]*** Cut start [04:11:52]*** Partial cut [04:11:52]*** CUTSNS_PIN = 1 [04:11:52]*** CUTSNS_PIN = 0 [04:11:52]*** Brake cut motor [04:11:53]Read from MH i2c: 01 [04:11:53]MH_I2C_Read... [04:11:53]Read from MH i2c: 01 07 00 [04:11:53]MH_I2C_Read... [04:11:53]*** Stop cut motor [04:11:53]*** Cut end [04:11:53]Read from MH i2c: 01 07 00 D7 0A 00 00 00 00 00 FF 0F F6 [04:11:53]process_action close_receipt done [04:11:53]requested_data is exist [04:11:53]produce_requested_data [04:11:53]requested_item fm.sn is exist - process it [04:11:53]wFMCommunicate request_size=4 [04:11:53]MH_SAM_APDU [04:11:53]CAPDU: 80 11 00 00 [04:11:53]Write to MH i2c: E2 08 00 D8 0A 80 11 00 00 00 00 00 00 5C [04:11:53]Write i2c OK [04:11:53]MH_I2C_Read... [04:11:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [04:11:53]Read from MH i2c: E2 [04:11:53]MH_I2C_Read... [04:11:53]Read from MH i2c: E2 17 00 [04:11:53]MH_I2C_Read... [04:11:53]Read from MH i2c: E2 17 00 D8 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 B6 [04:11:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [04:11:53]wFMCommunicate OK [04:11:53]requested_item fd.num is exist - process it [04:11:53]SAM_PROTO_GetFieldsCounters [04:11:53]wFMCommunicate request_size=4 [04:11:53]MH_SAM_APDU [04:11:53]CAPDU: 80 13 00 00 [04:11:53]Write to MH i2c: E2 08 00 D9 0A 80 13 00 00 00 00 00 00 5F [04:11:53]Write i2c OK [04:11:53]MH_I2C_Read... [04:11:53]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [04:11:53]Read from MH i2c: E2 [04:11:53]MH_I2C_Read... [04:11:53]Read from MH i2c: E2 62 00 [04:11:53]MH_I2C_Read... [04:11:53]Read from MH i2c: E2 62 00 D9 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 2E DF 00 00 0E 04 04 00 F1 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 D8 [04:11: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 2E DF 00 00 0E 04 04 00 F1 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 [04:11:53]wFMCommunicate OK [04:11:53]SAM_PROTO_GetFieldsCounters done [04:11:53]requested_item shift.num is exist - process it [04:11:53]requested_item shift.opened is exist - process it [04:11:53]req_shift_opened [04:11:53]FM_GetShiftState [04:11:53]SAM_PROTO_GetShiftState [04:11:53]wFMCommunicate request_size=4 [04:11:53]MH_SAM_APDU [04:11:53]CAPDU: 80 13 01 00 [04:11:53]Write to MH i2c: E2 08 00 DA 0A 80 13 01 00 00 00 00 00 61 [04:11:53]Write i2c OK [04:11:53]MH_I2C_Read... [04:11:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [04:11:53]Read from MH i2c: E2 [04:11:53]MH_I2C_Read... [04:11:53]Read from MH i2c: E2 0E 00 [04:11:53]MH_I2C_Read... [04:11:53]Read from MH i2c: E2 0E 00 DA 0A 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 DA [04:11:53]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [04:11:53]wFMCommunicate OK [04:11:53]SAM_PROTO_GetShiftState done [04:11:53]FM_GetShiftState done [04:11:53]req_shift_opened done [04:11:53]requested_item shift.open_date is exist - process it [04:11:53]req_shift_open_date [04:11:53]req_shift_open_date done [04:11:53]requested_item shift.sale.total is exist - process it [04:11:53]SAM_PROTO_GetShiftData [04:11:53]wFMCommunicate request_size=4 [04:11:53]MH_SAM_APDU [04:11:53]CAPDU: 80 13 02 00 [04:11:53]Write to MH i2c: E2 08 00 DB 0A 80 13 02 00 00 00 00 00 63 [04:11:53]Write i2c OK [04:11:53]MH_I2C_Read... [04:11:53]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [04:11:53]Read from MH i2c: E2 [04:11:53]MH_I2C_Read... [04:11:53]Read from MH i2c: E2 FD 00 [04:11:53]MH_I2C_Read... [04:11:53]Read from MH i2c: E2 FD 00 DB 0A 00 B6 04 AA 04 B2 04 6E 04 04 00 1D 00 00 00 69 04 9B 00 6F 04 04 00 1C 00 00 00 B1 04 03 00 ED F8 0B 70 04 03 00 34 A6 07 72 04 03 00 B9 52 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 77 45 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 20 1B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 D6 [04:11:53]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 1D 00 00 00 69 04 9B 00 6F 04 04 00 1C 00 00 00 B1 04 03 00 ED F8 0B 70 04 03 00 34 A6 07 72 04 03 00 B9 52 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 77 45 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 20 1B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 [04:11:53]wFMCommunicate OK [04:11:53]wFMCommunicate request_size=4 [04:11:53]MH_SAM_APDU [04:11:53]CAPDU: 80 17 00 00 [04:11:53]Write to MH i2c: E2 08 00 DC 0A 80 17 00 00 00 00 00 00 66 [04:11:53]Write i2c OK [04:11:53]MH_I2C_Read... [04:11:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [04:11:54]Read from MH i2c: E2 [04:11:54]MH_I2C_Read... [04:11:54]Read from MH i2c: E2 FD 00 [04:11:54]MH_I2C_Read... [04:11:54]Read from MH i2c: E2 FD 00 DC 0A 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 9B [04:11:54]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 [04:11:54]wFMCommunicate OK [04:11:54]wFMCommunicate request_size=4 [04:11:54]MH_SAM_APDU [04:11:54]CAPDU: 80 17 00 00 [04:11:54]Write to MH i2c: E2 08 00 DD 0A 80 17 00 00 00 00 00 00 67 [04:11:54]Write i2c OK [04:11:54]MH_I2C_Read... [04:11:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [04:11:54]Read from MH i2c: E2 [04:11:54]MH_I2C_Read... [04:11:54]Read from MH i2c: E2 FD 00 [04:11:54]MH_I2C_Read... [04:11:54]Read from MH i2c: E2 FD 00 DD 0A 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 27 [04:11:54]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 [04:11:54]wFMCommunicate OK [04:11:54]wFMCommunicate request_size=4 [04:11:54]MH_SAM_APDU [04:11:54]CAPDU: 80 17 00 00 [04:11:54]Write to MH i2c: E2 08 00 DE 0A 80 17 00 00 00 00 00 00 68 [04:11:54]Write i2c OK [04:11:54]MH_I2C_Read... [04:11:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [04:11:54]Read from MH i2c: E2 [04:11:54]MH_I2C_Read... [04:11:54]Read from MH i2c: E2 FD 00 [04:11:54]MH_I2C_Read... [04:11:54]Read from MH i2c: E2 FD 00 DE 0A 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 D7 [04:11:54]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 [04:11:54]wFMCommunicate OK [04:11:54]wFMCommunicate request_size=4 [04:11:54]MH_SAM_APDU [04:11:54]CAPDU: 80 17 00 00 [04:11:54]Write to MH i2c: E2 08 00 DF 0A 80 17 00 00 00 00 00 00 69 [04:11:54]Write i2c OK [04:11:54]MH_I2C_Read... [04:11:55]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [04:11:55]Read from MH i2c: E2 [04:11:55]MH_I2C_Read... [04:11:55]Read from MH i2c: E2 D3 00 [04:11:55]MH_I2C_Read... [04:11:55]Read from MH i2c: E2 D3 00 DF 0A 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 56 [04:11:55]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 [04:11:55]wFMCommunicate OK [04:11:55]SAM_PROTO_GetShiftData done [04:11:55]requested_item shift.sale.total_cash is exist - process it [04:11:55]requested_item shift.sale_refund.total is exist - process it [04:11:55]requested_item shift.sale_refund.total_cash is exist - process it [04:11:55]produce_requested_data done [04:11:55]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57134,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":7846.21,"shift.sale.total_cash":5013.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [04:11:55]process_action_free close_receipt [04:11:55]json_value_free [04:11:55]json_value_free done [04:11:55]process_json_proto returns [04:11:55]Send response to host [04:11:55]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57134,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":7846.21,"shift.sale.total_cash":5013.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [04:11:55]free response buf [04:11:55]execute_script done [04:11:55]execute_script returns [04:11:55]free content buf [04:11:55]Sock 8.Close socket [04:11:55]Sock 8.Thread stoped [04:11:57]OFD Sender: No OFD packet to send [04:12:02]OFD Sender: No OFD packet to send [04:12:07]OFD Sender: No OFD packet to send [04:12:12]OFD Sender: No OFD packet to send [04:12:17]OFD Sender: No OFD packet to send [04:12:22]OFD Sender: No OFD packet to send [04:12:27]OFD Sender: No OFD packet to send [04:12:32]OFD Sender: No OFD packet to send [04:12:37]OFD Sender: No OFD packet to send [04:12:42]OFD Sender: No OFD packet to send [04:12:47]OFD Sender: No OFD packet to send [04:12:52]OFD Sender: No OFD packet to send [04:12:57]OFD Sender: No OFD packet to send [04:13:02]OFD Sender: No OFD packet to send [04:13:07]OFD Sender: No OFD packet to send [04:13:12]OFD Sender: No OFD packet to send [04:13:17]OFD Sender: No OFD packet to send [04:13:22]OFD Sender: No OFD packet to send [04:13:27]OFD Sender: No OFD packet to send [04:13:32]OFD Sender: No OFD packet to send [04:13:37]OFD Sender: No OFD packet to send [04:13:42]OFD Sender: No OFD packet to send [04:13:47]OFD Sender: No OFD packet to send [04:13:52]OFD Sender: No OFD packet to send [04:13:57]OFD Sender: No OFD packet to send [04:14:02]OFD Sender: No OFD packet to send [04:14:07]OFD Sender: No OFD packet to send [04:14:12]OFD Sender: No OFD packet to send [04:14:17]OFD Sender: No OFD packet to send [04:14:22]OFD Sender: No OFD packet to send [04:14:27]OFD Sender: No OFD packet to send [04:14:32]OFD Sender: No OFD packet to send [04:14:37]OFD Sender: No OFD packet to send [04:14:42]OFD Sender: No OFD packet to send [04:14:47]OFD Sender: No OFD packet to send [04:14:52]OFD Sender: No OFD packet to send [04:14:57]OFD Sender: No OFD packet to send [04:15:02]OFD Sender: No OFD packet to send [04:15:07]OFD Sender: No OFD packet to send [04:15:12]OFD Sender: No OFD packet to send [04:15:17]OFD Sender: No OFD packet to send [04:15:22]OFD Sender: No OFD packet to send [04:15:27]OFD Sender: No OFD packet to send [04:15:32]OFD Sender: No OFD packet to send [04:15:37]OFD Sender: No OFD packet to send [04:15:42]OFD Sender: No OFD packet to send [04:15:47]OFD Sender: No OFD packet to send [04:15:52]OFD Sender: No OFD packet to send [04:15:57]OFD Sender: No OFD packet to send [04:16:02]OFD Sender: No OFD packet to send [04:16:07]OFD Sender: No OFD packet to send [04:16:12]OFD Sender: No OFD packet to send [04:16:17]OFD Sender: No OFD packet to send [04:16:22]OFD Sender: No OFD packet to send [04:16:27]OFD Sender: No OFD packet to send [04:16:32]OFD Sender: No OFD packet to send [04:16:37]OFD Sender: No OFD packet to send [04:16:42]OFD Sender: No OFD packet to send [04:16:47]OFD Sender: No OFD packet to send [04:16:52]OFD Sender: No OFD packet to send [04:16:57]OFD Sender: No OFD packet to send [04:17:02]OFD Sender: No OFD packet to send [04:17:07]OFD Sender: No OFD packet to send [04:17:12]OFD Sender: No OFD packet to send [04:17:17]OFD Sender: No OFD packet to send [04:17:22]OFD Sender: No OFD packet to send [04:17:27]OFD Sender: No OFD packet to send [04:17:32]OFD Sender: No OFD packet to send [04:17:37]OFD Sender: No OFD packet to send [04:17:42]OFD Sender: No OFD packet to send [04:17:47]OFD Sender: No OFD packet to send [04:17:52]OFD Sender: No OFD packet to send [04:17:57]OFD Sender: No OFD packet to send [04:18:02]OFD Sender: No OFD packet to send [04:18:07]OFD Sender: No OFD packet to send [04:18:12]OFD Sender: No OFD packet to send [04:18:17]OFD Sender: No OFD packet to send [04:18:22]OFD Sender: No OFD packet to send [04:18:27]OFD Sender: No OFD packet to send [04:18:32]OFD Sender: No OFD packet to send [04:18:37]OFD Sender: No OFD packet to send [04:18:42]OFD Sender: No OFD packet to send [04:18:47]OFD Sender: No OFD packet to send [04:18:52]OFD Sender: No OFD packet to send [04:18:57]OFD Sender: No OFD packet to send [04:19:02]OFD Sender: No OFD packet to send [04:19:07]OFD Sender: No OFD packet to send [04:19:12]OFD Sender: No OFD packet to send [04:19:17]OFD Sender: No OFD packet to send [04:19:22]OFD Sender: No OFD packet to send [04:19:27]OFD Sender: No OFD packet to send [04:19:32]OFD Sender: No OFD packet to send [04:19:37]OFD Sender: No OFD packet to send [04:19:42]OFD Sender: No OFD packet to send [04:19:47]OFD Sender: No OFD packet to send [04:19:52]OFD Sender: No OFD packet to send [04:19:57]OFD Sender: No OFD packet to send [04:20:02]OFD Sender: No OFD packet to send [04:20:07]OFD Sender: No OFD packet to send [04:20:12]OFD Sender: No OFD packet to send [04:20:17]OFD Sender: No OFD packet to send [04:20:22]OFD Sender: No OFD packet to send [04:20:27]OFD Sender: No OFD packet to send [04:20:32]OFD Sender: No OFD packet to send [04:20:37]OFD Sender: No OFD packet to send [04:20:42]OFD Sender: No OFD packet to send [04:20:47]OFD Sender: No OFD packet to send [04:20:52]OFD Sender: No OFD packet to send [04:20:57]OFD Sender: No OFD packet to send [04:21:02]OFD Sender: No OFD packet to send [04:21:07]OFD Sender: No OFD packet to send [04:21:12]accept exits with 9 [04:21:12]New connection [04:21:12]New thread 3067067748 created [04:21:12]Thread 3066924388 joined [04:21:12]Waiting for new connection... [04:21:12] Sock 9.Parse request [04:21:12]Sock 9.Check first char [04:21:12]Sock 9.First char is OK [04:21:12]request: POST /json_proto HTTP/1.0 [04:21:12]Method: POST [04:21:12]URL: /json_proto [04:21:12]Method is POST - this is cgi request [04:21:12]url: /json_proto [04:21:12]query_string will be loaded in cgi processing [04:21:12]execute_cgi json_proto POST (null) [04:21:12]execute_cgi path=json_proto method=POST [04:21:12]POST find Content-Length [04:21:12]Host: 172.17.39.4:8080 [04:21:12]Content-Length: 1182 [04:21:12]Content-Type: application/json [04:21:12] [04:21:12]POST finish read [04:21:12]Found Content-Length = 1182 [04:21:12]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129590", "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": "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 }]} ], "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" : 495.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:21:12]execute_script... [04:21: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)129590", "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": "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 }]} ], "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" : 495.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:21:12]POST & json_proto [04:21:12]process_json_proto [04:21:12]json parsed OK: [04:21:12]protocol is kg_v1.0 [04:21:12]action value=close_receipt [04:21:12]process_action close_receipt [04:21:12]cmd_close_receipt [04:21:12]MH_GetDate [04:21:12]Write to MH i2c: F0 00 00 E0 0A D9 [04:21:12]Write i2c OK [04:21:12]MH_I2C_Read... [04:21:12]Read from MH i2c: F0 [04:21:12]MH_I2C_Read... [04:21:12]Read from MH i2c: F0 09 00 [04:21:12]MH_I2C_Read... [04:21:12]Read from MH i2c: F0 09 00 E0 0A 00 BA A3 94 66 2D 25 5D 64 4C [04:21:12]GetLastDocTimeStamp 1721016711 [04:21:12]current date 1721017274 [04:21:12]FM_GetShiftState [04:21:12]SAM_PROTO_GetShiftState [04:21:12]wFMCommunicate request_size=4 [04:21:12]MH_SAM_APDU [04:21:12]CAPDU: 80 13 01 00 [04:21:12]Write to MH i2c: E2 08 00 E1 0A 80 13 01 00 00 00 00 00 68 [04:21:12]Write i2c OK [04:21:12]MH_I2C_Read... [04:21:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [04:21:12]Read from MH i2c: E2 [04:21:12]MH_I2C_Read... [04:21:12]Read from MH i2c: E2 0E 00 [04:21:12]MH_I2C_Read... [04:21:12]Read from MH i2c: E2 0E 00 E1 0A 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 E1 [04:21:12]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [04:21:12]wFMCommunicate OK [04:21:12]SAM_PROTO_GetShiftState done [04:21:12]FM_GetShiftState done [04:21:12]opened in 1721003525 [04:21:12]opened+sec_in_day 1721089925 [04:21:12]quantity*price = 42500 [04:21:12]sum+1 = 42501 [04:21:12]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4630007400358 Семечки ДЖИНН 70г 1.000 * 70.00 = 70.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 495.00 НСП 1% : 4.38 НДС 12% : 52.56 Наличными: 0.00 Безнал.: 495.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 30 15.07.2024 04:21 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000874857 ФД: 57135 ФПД: 157464882362760 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T042114&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57135&fm=157464882362760&tin=02508201610067®Number=0000000000091208&sum=49500 0 [04:21:13]StoreToDocumentArchive [04:21:13]shift 497 fd 57135 [04:21:13]save to /storage/0497/doc_00057135 [04:21:13]save last doc name /storage/0497/doc_00057135 to /storage/kkm_last_doc_name [04:21:13]save OK [04:21:13]Clear old archive folders... [04:21:13]ProcessDocumentItem done err = 0, tmpTLVsize=369 [04:21:13]tlvbuf is 009953F0 [04:21:13]SAM_PROTO_ClearQueue [04:21:13]wFMCommunicate request_size=4 [04:21:13]MH_SAM_APDU [04:21:13]CAPDU: 80 09 00 00 [04:21:13]Write to MH i2c: E2 08 00 EE 0A 80 09 00 00 00 00 00 00 6A [04:21:13]Write i2c OK [04:21:13]MH_I2C_Read... [04:21:13]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [04:21:13]Read from MH i2c: E2 [04:21:13]MH_I2C_Read... [04:21:13]Read from MH i2c: E2 03 00 [04:21:13]MH_I2C_Read... [04:21:13]Read from MH i2c: E2 03 00 EE 0A 00 90 00 6C [04:21:13]RAPDU: 90 00 [04:21:13]wFMCommunicate OK [04:21:13]SAM_PROTO_ClearQueue done [04:21:13]KKMCreateOFDPacket [04:21:13]OFDProtocolAddRootSTLVToBuf [04:21:13]FM_MakeSignedData [04:21:13]FM_MakeSignedData [04:21:13]SAM_PROTO_SignData [04:21:13]wFMCommunicate request_size=4 [04:21:13]MH_SAM_APDU [04:21:13]CAPDU: 80 0D 01 02 [04:21:13]Write to MH i2c: E2 08 00 EF 0A 80 0D 01 02 00 00 00 00 72 [04:21:13]Write i2c OK [04:21:13]MH_I2C_Read... [04:21:13]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [04:21:13]Read from MH i2c: E2 [04:21:13]MH_I2C_Read... [04:21:13]Read from MH i2c: E2 03 00 [04:21:13]MH_I2C_Read... [04:21:13]Read from MH i2c: E2 03 00 EF 0A 00 90 00 6D [04:21:13]RAPDU: 90 00 [04:21:13]wFMCommunicate OK [04:21:13]wFMCommunicate request_size=255 [04:21:13]MH_SAM_APDU [04:21:13]CAPDU: 80 0D 02 02 FA 03 00 71 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 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 5C C1 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B6 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 [04:21:13]Write to MH i2c: E2 02 01 F0 0A 80 0D 02 02 FA 00 03 00 71 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 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 5C C1 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B6 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 00 00 4A [04:21:13]Write i2c OK [04:21:13]MH_I2C_Read... [04:21:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [04:21:14]Read from MH i2c: E2 [04:21:14]MH_I2C_Read... [04:21:14]Read from MH i2c: E2 03 00 [04:21:14]MH_I2C_Read... [04:21:14]Read from MH i2c: E2 03 00 F0 0A 00 90 00 6E [04:21:14]RAPDU: 90 00 [04:21:14]wFMCommunicate OK [04:21:14]wFMCommunicate request_size=128 [04:21:14]MH_SAM_APDU [04:21:14]CAPDU: 80 0D 02 02 7B F3 03 06 00 88 14 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 5C C1 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 BA A3 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 2F DF 00 00 35 04 06 00 8F 36 A6 60 B9 88 [04:21:14]Write to MH i2c: E2 83 00 F1 0A 80 0D 02 02 7B 00 F3 03 06 00 88 14 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 5C C1 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 BA A3 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 2F DF 00 00 35 04 06 00 8F 36 A6 60 B9 88 00 00 DD [04:21:14]Write i2c OK [04:21:14]MH_I2C_Read... [04:21:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [04:21:14]Read from MH i2c: E2 [04:21:14]MH_I2C_Read... [04:21:14]Read from MH i2c: E2 03 00 [04:21:14]MH_I2C_Read... [04:21:14]Read from MH i2c: E2 03 00 F1 0A 00 90 00 6F [04:21:14]RAPDU: 90 00 [04:21:14]wFMCommunicate OK [04:21:14]wFMCommunicate request_size=4 [04:21:14]MH_SAM_APDU [04:21:14]CAPDU: 80 0D 03 02 [04:21:14]Write to MH i2c: E2 08 00 F2 0A 80 0D 03 02 00 00 00 00 77 [04:21:14]Write i2c OK [04:21:14]MH_I2C_Read... [04:21:14]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [04:21:14]Read from MH i2c: E2 [04:21:14]MH_I2C_Read... [04:21:14]Read from MH i2c: E2 0B 00 [04:21:14]MH_I2C_Read... [04:21:14]Read from MH i2c: E2 0B 00 F2 0A 00 3A 9A 76 E6 0E 8C AC 46 90 00 34 [04:21:14]RAPDU: 3A 9A 76 E6 0E 8C AC 46 90 00 [04:21:14]wFMCommunicate OK [04:21:14]SAM_PROTO_SignData done [04:21:14]FM_MakeSignedData done [04:21:14]CreateOFDProtocolMessage [04:21:14]wFMCommunicate request_size=4 [04:21:14]MH_SAM_APDU [04:21:14]CAPDU: 80 11 00 00 [04:21:14]Write to MH i2c: E2 08 00 F3 0A 80 11 00 00 00 00 00 00 77 [04:21:14]Write i2c OK [04:21:14]MH_I2C_Read... [04:21:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [04:21:14]Read from MH i2c: E2 [04:21:14]MH_I2C_Read... [04:21:14]Read from MH i2c: E2 17 00 [04:21:14]MH_I2C_Read... [04:21:14]Read from MH i2c: E2 17 00 F3 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 D1 [04:21:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [04:21:14]wFMCommunicate OK [04:21:14]CreateOFDProtocolMessage done [04:21:14]OFDSenderStorePacket 57135 [04:21:14]StoreOFDPacket docnum=57135 [04:21: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 85 01 00 00 32 6E 7D 01 FD F1 5A 03 01 00 03 00 71 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 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 5C C1 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B6 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 88 14 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 5C C1 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 BA A3 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 2F DF 00 00 35 04 06 00 8F 36 A6 60 B9 88 3A 9A 76 E6 0E 8C AC 46 [04:21:14]CheckFolder [04:21:14]dirname=/storage/ofd_packets [04:21:14]CheckFolder done [04:21:14]ProducePacketName [04:21:14]name=ofd_packets/00057135 [04:21:14]NVStorageSaveData ofd_packets/00057135 [04:21:14]File name is /storage/ofd_packets/00057135 [04:21:14]Write 419 bytes [04:21:14]NVStorageSaveData done [04:21:14]OFDSenderStorePacket done [04:21:14]KKMCreateOFDPacket done [04:21:14]NVStorageSaveData kkm_last_timestamp [04:21:14]File name is /storage/kkm_last_timestamp [04:21:14]Write 4 bytes [04:21:14]NVStorageSaveData done [04:21:14]ExternCall_PrintAddStr [04:21:14]wPrintStart [04:21:14]Write to MH i2c: 01 00 00 F4 0A FE [04:21:14]Write i2c OK [04:21:14]MH_I2C_Read... [04:21:14]Read from MH i2c: 01 [04:21:14]MH_I2C_Read... [04:21:14]Read from MH i2c: 01 07 00 [04:21:14]MH_I2C_Read... [04:21:14]Read from MH i2c: 01 07 00 F4 0A 00 00 00 00 00 FF 0F 13 [04:21:14]RasterBufferAndPrint [04:21:14]line Счет N : (3)129590 [04:21:14]line ИНН: 02508201610067 [04:21:14]line Контрольно-Кассовый Чек [04:21:14]line ПРОДАЖА [04:21:14]line Товар: 4700003150486 [04:21:14]line Водка Ороон 0,5 [04:21:14]line 1.000 * 425.00 [04:21:14]line = 425.00 [04:21:14]line НДС 12% НСП 1% [04:21:14]line > о реализуемом товаре [04:21:14]line Товар: 4630007400358 [04:21:14]line Семечки ДЖИНН 70г [04:21:14]line 1.000 * 70.00 [04:21:14]line = 70.00 [04:21:14]line НДС 12% НСП 1% [04:21:14]line > о реализуемом товаре [04:21:14]line ИТОГО: 495.00 [04:21:14]line НСП 1% : 4.38 [04:21:14]line НДС 12% : 52.56 [04:21:14]line Наличными: 0.00 [04:21:14]line Безнал.: 495.00 [04:21:14]line Место: АЗС № 132 "Партнер Нефть" [04:21:14]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [04:21:14]line СНО: Общий режим [04:21:14]line Чек 30 15.07.2024 04:21 [04:21:14]line Смена: 497 ФФД: 1.0 [04:21:14]line ЗНМ: 0300000132 [04:21:14]line РНМ: 0000000000091208 [04:21:14]line Версия ККМ: 001 [04:21:14]line Платежная система: АКБ Кыргызстан [04:21:14]line ФМ: 0000000000874857 [04:21:14]line ФД: 57135 [04:21:14]line ФПД: 157464882362760 [04:21:14]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T042114&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57135&fm=157464882362760&tin=02508201610067®Number=0000000000091208&sum=49500 [04:21:14]line 0 [04:21:14]written 0, free lines is 4095 [04:21:14]OFD Sender: Processing packet 57135 [packets to send 38, broken 37] [04:21:14]ProducePacketName [04:21:14]name=ofd_packets/00057135 [04:21:14]OFD Sender: To server: pG, [04:21:14]CommunicateWithHost lk.salyk.kg:30040 [04:21:14]ConnectInit lk.salyk.kg [04:21:14]Connected sock=10 [04:21: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 85 01 00 00 32 6E 7D 01 FD F1 5A 03 01 00 03 00 71 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 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 5C C1 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B6 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 88 14 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 5C C1 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 BA A3 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 2F DF 00 00 35 04 06 00 8F 36 A6 60 B9 88 3A 9A 76 E6 0E 8C AC 46 [04:21: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 58 7D 47 00 C3 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 2F DF 00 00 F4 03 04 00 09 4A 94 66 B6 04 01 00 00 C6 E7 4E 1A B2 8A 17 FB [04:21:14]CommunicateWithHost err = 0 [04:21:14]CheckOFDResponse [04:21:14]1017 (14) - 77093643461234 [04:21:14]1041 (16) - 0000000000874857 [04:21:14]1040 (4) - 57135 [04:21:14]1012 (4) - 14.07.2024 21:58 [04:21:14]1206 (1) - 0 [04:21:14]OFD Sender: Remove packet 57135 [04:21:14]ProducePacketName [04:21:14]name=ofd_packets/00057135 [04:21:14]NVStorageDeleteData [04:21:15]Write to MH i2c: 01 00 00 24 0B 2F [04:21:15]Write i2c OK [04:21:15]MH_I2C_Read... [04:21:15]Read from MH i2c: 01 [04:21:15]MH_I2C_Read... [04:21:15]Read from MH i2c: 01 07 00 [04:21:15]MH_I2C_Read... [04:21:15]Read from MH i2c: 01 07 00 24 0B 00 00 00 00 00 AA 0C EC [04:21:15]RasterBufferAndPrint [04:21:15]line [04:21:15]line [04:21:15]line [04:21:15]line [04:21:15]line [04:21:15]written 0, free lines is 3248 [04:21:15]MH_Cut [04:21:15]Write to MH i2c: D1 01 00 2B 0B 01 08 [04:21:15]Write i2c OK [04:21:15]MH_I2C_Read... [04:21:15]Read from MH i2c: D1 [04:21:15]MH_I2C_Read... [04:21:15]Read from MH i2c: D1 01 00 [04:21:15]MH_I2C_Read... [04:21:15]Read from MH i2c: D1 01 00 2B 0B 00 07 [04:21:15]Write to MH i2c: 01 00 00 2C 0B 37 [04:21:15]Write i2c OK [04:21:15]MH_I2C_Read... [04:21:15]OFD Sender: No OFD packet to send [04:21:15]*** Cut start [04:21:15]*** Partial cut [04:21:15]*** CUTSNS_PIN = 1 [04:21:15]*** CUTSNS_PIN = 0 [04:21:16]*** Brake cut motor [04:21:16]Read from MH i2c: 01 [04:21:16]MH_I2C_Read... [04:21:16]*** Stop cut motor [04:21:16]*** Cut end [04:21:16]Read from MH i2c: 01 07 00 [04:21:16]MH_I2C_Read... [04:21:16]Read from MH i2c: 01 07 00 2C 0B 00 00 00 00 00 FF 0F 4C [04:21:16]process_action close_receipt done [04:21:16]requested_data is exist [04:21:16]produce_requested_data [04:21:16]requested_item fm.sn is exist - process it [04:21:16]wFMCommunicate request_size=4 [04:21:16]MH_SAM_APDU [04:21:16]CAPDU: 80 11 00 00 [04:21:16]Write to MH i2c: E2 08 00 2D 0B 80 11 00 00 00 00 00 00 B2 [04:21:16]Write i2c OK [04:21:16]MH_I2C_Read... [04:21:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [04:21:16]Read from MH i2c: E2 [04:21:16]MH_I2C_Read... [04:21:16]Read from MH i2c: E2 17 00 [04:21:16]MH_I2C_Read... [04:21:16]Read from MH i2c: E2 17 00 2D 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 0C [04:21:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [04:21:16]wFMCommunicate OK [04:21:16]requested_item fd.num is exist - process it [04:21:16]SAM_PROTO_GetFieldsCounters [04:21:16]wFMCommunicate request_size=4 [04:21:16]MH_SAM_APDU [04:21:16]CAPDU: 80 13 00 00 [04:21:16]Write to MH i2c: E2 08 00 2E 0B 80 13 00 00 00 00 00 00 B5 [04:21:16]Write i2c OK [04:21:16]MH_I2C_Read... [04:21:16]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [04:21:16]Read from MH i2c: E2 [04:21:16]MH_I2C_Read... [04:21:16]Read from MH i2c: E2 62 00 [04:21:16]MH_I2C_Read... [04:21:16]Read from MH i2c: E2 62 00 2E 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 2F DF 00 00 0E 04 04 00 F1 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 32 [04:21: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 2F DF 00 00 0E 04 04 00 F1 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 [04:21:16]wFMCommunicate OK [04:21:16]SAM_PROTO_GetFieldsCounters done [04:21:16]requested_item shift.num is exist - process it [04:21:16]requested_item shift.opened is exist - process it [04:21:16]req_shift_opened [04:21:16]FM_GetShiftState [04:21:16]SAM_PROTO_GetShiftState [04:21:16]wFMCommunicate request_size=4 [04:21:16]MH_SAM_APDU [04:21:16]CAPDU: 80 13 01 00 [04:21:16]Write to MH i2c: E2 08 00 2F 0B 80 13 01 00 00 00 00 00 B7 [04:21:16]Write i2c OK [04:21:16]MH_I2C_Read... [04:21:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [04:21:16]Read from MH i2c: E2 [04:21:16]MH_I2C_Read... [04:21:16]Read from MH i2c: E2 0E 00 [04:21:16]MH_I2C_Read... [04:21:16]Read from MH i2c: E2 0E 00 2F 0B 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 30 [04:21:16]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [04:21:16]wFMCommunicate OK [04:21:16]SAM_PROTO_GetShiftState done [04:21:16]FM_GetShiftState done [04:21:16]req_shift_opened done [04:21:16]requested_item shift.open_date is exist - process it [04:21:16]req_shift_open_date [04:21:16]req_shift_open_date done [04:21:16]requested_item shift.sale.total is exist - process it [04:21:16]SAM_PROTO_GetShiftData [04:21:16]wFMCommunicate request_size=4 [04:21:16]MH_SAM_APDU [04:21:16]CAPDU: 80 13 02 00 [04:21:16]Write to MH i2c: E2 08 00 30 0B 80 13 02 00 00 00 00 00 B9 [04:21:16]Write i2c OK [04:21:16]MH_I2C_Read... [04:21:17]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [04:21:17]Read from MH i2c: E2 [04:21:17]MH_I2C_Read... [04:21:17]Read from MH i2c: E2 FD 00 [04:21:17]MH_I2C_Read... [04:21:17]Read from MH i2c: E2 FD 00 30 0B 00 B6 04 AA 04 B2 04 6E 04 04 00 1E 00 00 00 69 04 9B 00 6F 04 04 00 1D 00 00 00 B1 04 03 00 49 BA 0C 70 04 03 00 34 A6 07 72 04 03 00 15 14 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 FF 59 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 D6 1C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 BF [04:21:17]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 1E 00 00 00 69 04 9B 00 6F 04 04 00 1D 00 00 00 B1 04 03 00 49 BA 0C 70 04 03 00 34 A6 07 72 04 03 00 15 14 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 FF 59 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 D6 1C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 [04:21:17]wFMCommunicate OK [04:21:17]wFMCommunicate request_size=4 [04:21:17]MH_SAM_APDU [04:21:17]CAPDU: 80 17 00 00 [04:21:17]Write to MH i2c: E2 08 00 31 0B 80 17 00 00 00 00 00 00 BC [04:21:17]Write i2c OK [04:21:17]MH_I2C_Read... [04:21:17]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [04:21:17]Read from MH i2c: E2 [04:21:17]MH_I2C_Read... [04:21:17]Read from MH i2c: E2 FD 00 [04:21:17]MH_I2C_Read... [04:21:17]Read from MH i2c: E2 FD 00 31 0B 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 F1 [04:21:17]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 [04:21:17]wFMCommunicate OK [04:21:17]wFMCommunicate request_size=4 [04:21:17]MH_SAM_APDU [04:21:17]CAPDU: 80 17 00 00 [04:21:17]Write to MH i2c: E2 08 00 32 0B 80 17 00 00 00 00 00 00 BD [04:21:17]Write i2c OK [04:21:17]MH_I2C_Read... [04:21:17]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [04:21:17]Read from MH i2c: E2 [04:21:17]MH_I2C_Read... [04:21:17]Read from MH i2c: E2 FD 00 [04:21:17]MH_I2C_Read... [04:21:17]Read from MH i2c: E2 FD 00 32 0B 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 7D [04:21:17]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 [04:21:17]wFMCommunicate OK [04:21:17]wFMCommunicate request_size=4 [04:21:17]MH_SAM_APDU [04:21:17]CAPDU: 80 17 00 00 [04:21:17]Write to MH i2c: E2 08 00 33 0B 80 17 00 00 00 00 00 00 BE [04:21:17]Write i2c OK [04:21:17]MH_I2C_Read... [04:21:18]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [04:21:18]Read from MH i2c: E2 [04:21:18]MH_I2C_Read... [04:21:18]Read from MH i2c: E2 FD 00 [04:21:18]MH_I2C_Read... [04:21:18]Read from MH i2c: E2 FD 00 33 0B 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 2D [04:21:18]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 [04:21:18]wFMCommunicate OK [04:21:18]wFMCommunicate request_size=4 [04:21:18]MH_SAM_APDU [04:21:18]CAPDU: 80 17 00 00 [04:21:18]Write to MH i2c: E2 08 00 34 0B 80 17 00 00 00 00 00 00 BF [04:21:18]Write i2c OK [04:21:18]MH_I2C_Read... [04:21:18]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [04:21:18]Read from MH i2c: E2 [04:21:18]MH_I2C_Read... [04:21:18]Read from MH i2c: E2 D3 00 [04:21:18]MH_I2C_Read... [04:21:18]Read from MH i2c: E2 D3 00 34 0B 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 AC [04:21:18]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 [04:21:18]wFMCommunicate OK [04:21:18]SAM_PROTO_GetShiftData done [04:21:18]requested_item shift.sale.total_cash is exist - process it [04:21:18]requested_item shift.sale_refund.total is exist - process it [04:21:18]requested_item shift.sale_refund.total_cash is exist - process it [04:21:18]produce_requested_data done [04:21:18]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57135,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":8341.21,"shift.sale.total_cash":5013.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [04:21:18]process_action_free close_receipt [04:21:18]json_value_free [04:21:18]json_value_free done [04:21:18]process_json_proto returns [04:21:18]Send response to host [04:21:18]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57135,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":8341.21,"shift.sale.total_cash":5013.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [04:21:18]free response buf [04:21:18]execute_script done [04:21:18]execute_script returns [04:21:18]free content buf [04:21:18]Sock 9.Close socket [04:21:18]Sock 9.Thread stoped [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:11]OFD Sender: No OFD packet to send [04:30:16]OFD Sender: No OFD packet to send [04:30:21]OFD Sender: No OFD packet to send [04:30:26]OFD Sender: No OFD packet to send [04:30:31]OFD Sender: No OFD packet to send [04:30:36]OFD Sender: No OFD packet to send [04:30:41]OFD Sender: No OFD packet to send [04:30:46]OFD Sender: No OFD packet to send [04:30:51]OFD Sender: No OFD packet to send [04:30:56]OFD Sender: No OFD packet to send [04:31:01]OFD Sender: No OFD packet to send [04:31:06]OFD Sender: No OFD packet to send [04:31:11]OFD Sender: No OFD packet to send [04:31:16]OFD Sender: No OFD packet to send [04:31:21]OFD Sender: No OFD packet to send [04:31:26]OFD Sender: No OFD packet to send [04:31:31]OFD Sender: No OFD packet to send [04:31:36]OFD Sender: No OFD packet to send [04:31:41]OFD Sender: No OFD packet to send [04:31:46]OFD Sender: No OFD packet to send [04:31:51]OFD Sender: No OFD packet to send [04:31:56]OFD Sender: No OFD packet to send [04:32:01]OFD Sender: No OFD packet to send [04:32:06]OFD Sender: No OFD packet to send [04:32:11]OFD Sender: No OFD packet to send [04:32:16]OFD Sender: No OFD packet to send [04:32:21]OFD Sender: No OFD packet to send [04:32:26]OFD Sender: No OFD packet to send [04:32:31]OFD Sender: No OFD packet to send [04:32:36]OFD Sender: No OFD packet to send [04:32:41]OFD Sender: No OFD packet to send [04:32:46]OFD Sender: No OFD packet to send [04:32:51]OFD Sender: No OFD packet to send [04:32:56]OFD Sender: No OFD packet to send [04:33:01]OFD Sender: No OFD packet to send [04:33:06]OFD Sender: No OFD packet to send [04:33:11]OFD Sender: No OFD packet to send [04:33:16]OFD Sender: No OFD packet to send [04:33:21]OFD Sender: No OFD packet to send [04:33:26]OFD Sender: No OFD packet to send [04:33:31]OFD Sender: No OFD packet to send [04:33:36]OFD Sender: No OFD packet to send [04:33:41]OFD Sender: No OFD packet to send [04:33:46]OFD Sender: No OFD packet to send [04:33:51]OFD Sender: No OFD packet to send [04:33:56]OFD Sender: No OFD packet to send [04:34:01]OFD Sender: No OFD packet to send [04:34:06]OFD Sender: No OFD packet to send [04:34:11]OFD Sender: No OFD packet to send [04:34:16]OFD Sender: No OFD packet to send [04:34:21]OFD Sender: No OFD packet to send [04:34:26]OFD Sender: No OFD packet to send [04:34:31]OFD Sender: No OFD packet to send [04:34:36]OFD Sender: No OFD packet to send [04:34:41]OFD Sender: No OFD packet to send [04:34:46]OFD Sender: No OFD packet to send [04:34:51]OFD Sender: No OFD packet to send [04:34:56]OFD Sender: No OFD packet to send [04:35:01]OFD Sender: No OFD packet to send [04:35:06]OFD Sender: No OFD packet to send [04:35:11]OFD Sender: No OFD packet to send [04:35:16]OFD Sender: No OFD packet to send [04:35:21]OFD Sender: No OFD packet to send [04:35:26]OFD Sender: No OFD packet to send [04:35:31]OFD Sender: No OFD packet to send [04:35:36]OFD Sender: No OFD packet to send [04:35:41]OFD Sender: No OFD packet to send [04:35:46]OFD Sender: No OFD packet to send [04:35:51]OFD Sender: No OFD packet to send [04:35:56]OFD Sender: No OFD packet to send [04:36:01]OFD Sender: No OFD packet to send [04:36:06]OFD Sender: No OFD packet to send [04:36:11]OFD Sender: No OFD packet to send [04:36:16]OFD Sender: No OFD packet to send [04:36:21]OFD Sender: No OFD packet to send [04:36:26]OFD Sender: No OFD packet to send [04:36:31]OFD Sender: No OFD packet to send [04:36:36]OFD Sender: No OFD packet to send [04:36:41]OFD Sender: No OFD packet to send [04:36:46]OFD Sender: No OFD packet to send [04:36:51]OFD Sender: No OFD packet to send [04:36:56]OFD Sender: No OFD packet to send [04:37:01]OFD Sender: No OFD packet to send [04:37:06]OFD Sender: No OFD packet to send [04:37:11]OFD Sender: No OFD packet to send [04:37:16]OFD Sender: No OFD packet to send [04:37:21]OFD Sender: No OFD packet to send [04:37:26]OFD Sender: No OFD packet to send [04:37:31]OFD Sender: No OFD packet to send [04:37:36]OFD Sender: No OFD packet to send [04:37:41]OFD Sender: No OFD packet to send [04:37:46]OFD Sender: No OFD packet to send [04:37:51]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:12]OFD Sender: No OFD packet to send [04:49:17]OFD Sender: No OFD packet to send [04:49:22]OFD Sender: No OFD packet to send [04:49:27]OFD Sender: No OFD packet to send [04:49:32]OFD Sender: No OFD packet to send [04:49:37]OFD Sender: No OFD packet to send [04:49:42]OFD Sender: No OFD packet to send [04:49:47]OFD Sender: No OFD packet to send [04:49:52]OFD Sender: No OFD packet to send [04:49:57]OFD Sender: No OFD packet to send [04:50:02]OFD Sender: No OFD packet to send [04:50:07]OFD Sender: No OFD packet to send [04:50:12]OFD Sender: No OFD packet to send [04:50:17]OFD Sender: No OFD packet to send [04:50:22]OFD Sender: No OFD packet to send [04:50:27]OFD Sender: No OFD packet to send [04:50:32]OFD Sender: No OFD packet to send [04:50:37]OFD Sender: No OFD packet to send [04:50:42]OFD Sender: No OFD packet to send [04:50:47]OFD Sender: No OFD packet to send [04:50:52]OFD Sender: No OFD packet to send [04:50:57]OFD Sender: No OFD packet to send [04:51:02]OFD Sender: No OFD packet to send [04:51:07]OFD Sender: No OFD packet to send [04:51:12]OFD Sender: No OFD packet to send [04:51:17]OFD Sender: No OFD packet to send [04:51:22]OFD Sender: No OFD packet to send [04:51:27]OFD Sender: No OFD packet to send [04:51:32]OFD Sender: No OFD packet to send [04:51:37]OFD Sender: No OFD packet to send [04:51:42]OFD Sender: No OFD packet to send [04:51:47]OFD Sender: No OFD packet to send [04:51:52]OFD Sender: No OFD packet to send [04:51:57]OFD Sender: No OFD packet to send [04:52:02]OFD Sender: No OFD packet to send [04:52:07]OFD Sender: No OFD packet to send [04:52:12]OFD Sender: No OFD packet to send [04:52:17]OFD Sender: No OFD packet to send [04:52:22]OFD Sender: No OFD packet to send [04:52:27]OFD Sender: No OFD packet to send [04:52:32]OFD Sender: No OFD packet to send [04:52:37]OFD Sender: No OFD packet to send [04:52:42]OFD Sender: No OFD packet to send [04:52:47]OFD Sender: No OFD packet to send [04:52:52]OFD Sender: No OFD packet to send [04:52:57]OFD Sender: No OFD packet to send [04:53:02]OFD Sender: No OFD packet to send [04:53:07]OFD Sender: No OFD packet to send [04:53:12]OFD Sender: No OFD packet to send [04:53:17]OFD Sender: No OFD packet to send [04:53:22]OFD Sender: No OFD packet to send [04:53:27]OFD Sender: No OFD packet to send [04:53:32]OFD Sender: No OFD packet to send [04:53:37]OFD Sender: No OFD packet to send [04:53:42]OFD Sender: No OFD packet to send [04:53:47]OFD Sender: No OFD packet to send [04:53:52]OFD Sender: No OFD packet to send [04:53:57]OFD Sender: No OFD packet to send [04:54:02]OFD Sender: No OFD packet to send [04:54:07]OFD Sender: No OFD packet to send [04:54:12]OFD Sender: No OFD packet to send [04:54:17]OFD Sender: No OFD packet to send [04:54:22]OFD Sender: No OFD packet to send [04:54:27]OFD Sender: No OFD packet to send [04:54:32]OFD Sender: No OFD packet to send [04:54:37]OFD Sender: No OFD packet to send [04:54:42]OFD Sender: No OFD packet to send [04:54:47]OFD Sender: No OFD packet to send [04:54:52]OFD Sender: No OFD packet to send [04:54:57]OFD Sender: No OFD packet to send [04:55:02]OFD Sender: No OFD packet to send [04:55:07]OFD Sender: No OFD packet to send [04:55:12]OFD Sender: No OFD packet to send [04:55:17]OFD Sender: No OFD packet to send [04:55:22]OFD Sender: No OFD packet to send [04:55:27]OFD Sender: No OFD packet to send [04:55:32]OFD Sender: No OFD packet to send [04:55:37]OFD Sender: No OFD packet to send [04:55:42]OFD Sender: No OFD packet to send [04:55:47]OFD Sender: No OFD packet to send [04:55:52]OFD Sender: No OFD packet to send [04:55:57]OFD Sender: No OFD packet to send [04:56:02]OFD Sender: No OFD packet to send [04:56:07]OFD Sender: No OFD packet to send [04:56:12]OFD Sender: No OFD packet to send [04:56:17]OFD Sender: No OFD packet to send [04:56:22]OFD Sender: No OFD packet to send [04:56:27]OFD Sender: No OFD packet to send [04:56:32]OFD Sender: No OFD packet to send [04:56:37]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:23]OFD Sender: No OFD packet to send [05:08:28]OFD Sender: No OFD packet to send [05:08:33]OFD Sender: No OFD packet to send [05:08:38]OFD Sender: No OFD packet to send [05:08:43]OFD Sender: No OFD packet to send [05:08:48]OFD Sender: No OFD packet to send [05:08:53]OFD Sender: No OFD packet to send [05:08:58]OFD Sender: No OFD packet to send [05:09:03]OFD Sender: No OFD packet to send [05:09:08]OFD Sender: No OFD packet to send [05:09:13]OFD Sender: No OFD packet to send [05:09:18]OFD Sender: No OFD packet to send [05:09:23]OFD Sender: No OFD packet to send [05:09:28]OFD Sender: No OFD packet to send [05:09:33]OFD Sender: No OFD packet to send [05:09:38]OFD Sender: No OFD packet to send [05:09:43]OFD Sender: No OFD packet to send [05:09:48]OFD Sender: No OFD packet to send [05:09:53]OFD Sender: No OFD packet to send [05:09:58]OFD Sender: No OFD packet to send [05:10:03]OFD Sender: No OFD packet to send [05:10:08]OFD Sender: No OFD packet to send [05:10:13]OFD Sender: No OFD packet to send [05:10:18]OFD Sender: No OFD packet to send [05:10:23]OFD Sender: No OFD packet to send [05:10:28]OFD Sender: No OFD packet to send [05:10:33]OFD Sender: No OFD packet to send [05:10:38]OFD Sender: No OFD packet to send [05:10:43]OFD Sender: No OFD packet to send [05:10:48]OFD Sender: No OFD packet to send [05:10:53]OFD Sender: No OFD packet to send [05:10:58]OFD Sender: No OFD packet to send [05:11:03]OFD Sender: No OFD packet to send [05:11:08]OFD Sender: No OFD packet to send [05:11:13]OFD Sender: No OFD packet to send [05:11:18]OFD Sender: No OFD packet to send [05:11:23]OFD Sender: No OFD packet to send [05:11:28]OFD Sender: No OFD packet to send [05:11:33]OFD Sender: No OFD packet to send [05:11:38]OFD Sender: No OFD packet to send [05:11:43]OFD Sender: No OFD packet to send [05:11:48]OFD Sender: No OFD packet to send [05:11:53]OFD Sender: No OFD packet to send [05:11:58]OFD Sender: No OFD packet to send [05:12:03]OFD Sender: No OFD packet to send [05:12:08]OFD Sender: No OFD packet to send [05:12:13]OFD Sender: No OFD packet to send [05:12:18]OFD Sender: No OFD packet to send [05:12:23]OFD Sender: No OFD packet to send [05:12:28]OFD Sender: No OFD packet to send [05:12:33]OFD Sender: No OFD packet to send [05:12:38]OFD Sender: No OFD packet to send [05:12:43]OFD Sender: No OFD packet to send [05:12:48]OFD Sender: No OFD packet to send [05:12:53]OFD Sender: No OFD packet to send [05:12:58]OFD Sender: No OFD packet to send [05:13:03]OFD Sender: No OFD packet to send [05:13:08]OFD Sender: No OFD packet to send [05:13:13]OFD Sender: No OFD packet to send [05:13:18]OFD Sender: No OFD packet to send [05:13:23]OFD Sender: No OFD packet to send [05:13:28]OFD Sender: No OFD packet to send [05:13:33]OFD Sender: No OFD packet to send [05:13:38]OFD Sender: No OFD packet to send [05:13:43]OFD Sender: No OFD packet to send [05:13:48]OFD Sender: No OFD packet to send [05:13:53]OFD Sender: No OFD packet to send [05:13:58]OFD Sender: No OFD packet to send [05:14:03]OFD Sender: No OFD packet to send [05:14:08]OFD Sender: No OFD packet to send [05:14:13]OFD Sender: No OFD packet to send [05:14:18]OFD Sender: No OFD packet to send [05:14:23]OFD Sender: No OFD packet to send [05:14:28]OFD Sender: No OFD packet to send [05:14:33]OFD Sender: No OFD packet to send [05:14:38]OFD Sender: No OFD packet to send [05:14:43]OFD Sender: No OFD packet to send [05:14:48]OFD Sender: No OFD packet to send [05:14:53]OFD Sender: No OFD packet to send [05:14:58]OFD Sender: No OFD packet to send [05:15:03]OFD Sender: No OFD packet to send [05:15:08]OFD Sender: No OFD packet to send [05:15:13]OFD Sender: No OFD packet to send [05:15:18]OFD Sender: No OFD packet to send [05:15:23]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:33]OFD Sender: No OFD packet to send [05:16:38]OFD Sender: No OFD packet to send [05:16:43]OFD Sender: No OFD packet to send [05:16:48]OFD Sender: No OFD packet to send [05:16:53]OFD Sender: No OFD packet to send [05:16:58]OFD Sender: No OFD packet to send [05:17:03]OFD Sender: No OFD packet to send [05:17:08]OFD Sender: No OFD packet to send [05:17:13]OFD Sender: No OFD packet to send [05:17:18]OFD Sender: No OFD packet to send [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:38]OFD Sender: No OFD packet to send [05:17:43]OFD Sender: No OFD packet to send [05:17:48]OFD Sender: No OFD packet to send [05:17:53]OFD Sender: No OFD packet to send [05:17:58]OFD Sender: No OFD packet to send [05:18:03]OFD Sender: No OFD packet to send [05:18:08]OFD Sender: No OFD packet to send [05:18:13]OFD Sender: No OFD packet to send [05:18:18]OFD Sender: No OFD packet to send [05:18:23]OFD Sender: No OFD packet to send [05:18:28]OFD Sender: No OFD packet to send [05:18:33]OFD Sender: No OFD packet to send [05:18:38]OFD Sender: No OFD packet to send [05:18:43]OFD Sender: No OFD packet to send [05:18:48]OFD Sender: No OFD packet to send [05:18:53]OFD Sender: No OFD packet to send [05:18:58]OFD Sender: No OFD packet to send [05:19:03]OFD Sender: No OFD packet to send [05:19:08]OFD Sender: No OFD packet to send [05:19:13]OFD Sender: No OFD packet to send [05:19:18]OFD Sender: No OFD packet to send [05:19:23]OFD Sender: No OFD packet to send [05:19:28]OFD Sender: No OFD packet to send [05:19:33]OFD Sender: No OFD packet to send [05:19:38]OFD Sender: No OFD packet to send [05:19:43]OFD Sender: No OFD packet to send [05:19:48]OFD Sender: No OFD packet to send [05:19:53]OFD Sender: No OFD packet to send [05:19:58]OFD Sender: No OFD packet to send [05:20:03]OFD Sender: No OFD packet to send [05:20:08]OFD Sender: No OFD packet to send [05:20:13]OFD Sender: No OFD packet to send [05:20:18]OFD Sender: No OFD packet to send [05:20:23]OFD Sender: No OFD packet to send [05:20:28]OFD Sender: No OFD packet to send [05:20:33]OFD Sender: No OFD packet to send [05:20:38]OFD Sender: No OFD packet to send [05:20:43]OFD Sender: No OFD packet to send [05:20:48]OFD Sender: No OFD packet to send [05:20:53]OFD Sender: No OFD packet to send [05:20:58]OFD Sender: No OFD packet to send [05:21:03]OFD Sender: No OFD packet to send [05:21:08]OFD Sender: No OFD packet to send [05:21:13]OFD Sender: No OFD packet to send [05:21:18]OFD Sender: No OFD packet to send [05:21:23]OFD Sender: No OFD packet to send [05:21:28]OFD Sender: No OFD packet to send [05:21:33]OFD Sender: No OFD packet to send [05:21:38]OFD Sender: No OFD packet to send [05:21:43]OFD Sender: No OFD packet to send [05:21:48]OFD Sender: No OFD packet to send [05:21:53]OFD Sender: No OFD packet to send [05:21:58]OFD Sender: No OFD packet to send [05:22:03]OFD Sender: No OFD packet to send [05:22:08]OFD Sender: No OFD packet to send [05:22:13]OFD Sender: No OFD packet to send [05:22:18]OFD Sender: No OFD packet to send [05:22:23]OFD Sender: No OFD packet to send [05:22:28]OFD Sender: No OFD packet to send [05:22:33]OFD Sender: No OFD packet to send [05:22:38]OFD Sender: No OFD packet to send [05:22:43]OFD Sender: No OFD packet to send [05:22:48]OFD Sender: No OFD packet to send [05:22:53]OFD Sender: No OFD packet to send [05:22:58]OFD Sender: No OFD packet to send [05:23:03]OFD Sender: No OFD packet to send [05:23:08]OFD Sender: No OFD packet to send [05:23:13]OFD Sender: No OFD packet to send [05:23:18]OFD Sender: No OFD packet to send [05:23:23]OFD Sender: No OFD packet to send [05:23:28]OFD Sender: No OFD packet to send [05:23:33]OFD Sender: No OFD packet to send [05:23:38]OFD Sender: No OFD packet to send [05:23:43]OFD Sender: No OFD packet to send [05:23:48]OFD Sender: No OFD packet to send [05:23:53]OFD Sender: No OFD packet to send [05:23:58]OFD Sender: No OFD packet to send [05:24:03]OFD Sender: No OFD packet to send [05:24:08]OFD Sender: No OFD packet to send [05:24:13]OFD Sender: No OFD packet to send [05:24:18]OFD Sender: No OFD packet to send [05:24:23]OFD Sender: No OFD packet to send [05:24:28]OFD Sender: No OFD packet to send [05:24:33]OFD Sender: No OFD packet to send [05:24:38]OFD Sender: No OFD packet to send [05:24:43]OFD Sender: No OFD packet to send [05:24:48]OFD Sender: No OFD packet to send [05:24:53]OFD Sender: No OFD packet to send [05:24:58]OFD Sender: No OFD packet to send [05:25:03]OFD Sender: No OFD packet to send [05:25:08]OFD Sender: No OFD packet to send [05:25:13]OFD Sender: No OFD packet to send [05:25:18]OFD Sender: No OFD packet to send [05:25:23]OFD Sender: No OFD packet to send [05:25:28]OFD Sender: No OFD packet to send [05:25:33]OFD Sender: No OFD packet to send [05:25:38]OFD Sender: No OFD packet to send [05:25:43]OFD Sender: No OFD packet to send [05:25:48]OFD Sender: No OFD packet to send [05:25:53]OFD Sender: No OFD packet to send [05:25:58]OFD Sender: No OFD packet to send [05:26:03]OFD Sender: No OFD packet to send [05:26:08]OFD Sender: No OFD packet to send [05:26:13]OFD Sender: No OFD packet to send [05:26:18]OFD Sender: No OFD packet to send [05:26:23]OFD Sender: No OFD packet to send [05:26:28]OFD Sender: No OFD packet to send [05:26:33]OFD Sender: No OFD packet to send [05:26:38]OFD Sender: No OFD packet to send [05:26:43]OFD Sender: No OFD packet to send [05:26:48]OFD Sender: No OFD packet to send [05:26:53]OFD Sender: No OFD packet to send [05:26:58]OFD Sender: No OFD packet to send [05:27:03]OFD Sender: No OFD packet to send [05:27:08]OFD Sender: No OFD packet to send [05:27:13]OFD Sender: No OFD packet to send [05:27:18]OFD Sender: No OFD packet to send [05:27: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:11]accept exits with 8 [05:34:11]New connection [05:34:11]New thread 3066924388 created [05:34:11]Thread 3067067748 joined [05:34:11]Waiting for new connection... [05:34:11] Sock 8.Parse request [05:34:11]Sock 8.Check first char [05:34:11]Sock 8.First char is OK [05:34:11]request: POST /json_proto HTTP/1.0 [05:34:11]Method: POST [05:34:11]URL: /json_proto [05:34:11]Method is POST - this is cgi request [05:34:11]url: /json_proto [05:34:11]query_string will be loaded in cgi processing [05:34:11]execute_cgi json_proto POST (null) [05:34:11]execute_cgi path=json_proto method=POST [05:34:11]POST find Content-Length [05:34:11]Host: 172.17.39.4:8080 [05:34:11]Content-Length: 742 [05:34:11]Content-Type: application/json [05:34:11] [05:34:11]POST finish read [05:34:11]Found Content-Length = 742 [05:34:11]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129591", "tax_sys" : 0, "items" : [ { "code": "4870205390987", "name": "\u0410\u043D\u0442\u0438\u0444\u0440\u0438\u0437 PN -40 ORGANIC COOLANT Carbox (", "price" : 300.00, "quantity" : 1.000, "sum" : 300.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 300.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:34:11]execute_script... [05:34:11]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129591", "tax_sys" : 0, "items" : [ { "code": "4870205390987", "name": "\u0410\u043D\u0442\u0438\u0444\u0440\u0438\u0437 PN -40 ORGANIC COOLANT Carbox (", "price" : 300.00, "quantity" : 1.000, "sum" : 300.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 300.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:34:11]POST & json_proto [05:34:11]process_json_proto [05:34:11]json parsed OK: [05:34:11]protocol is kg_v1.0 [05:34:11]action value=close_receipt [05:34:11]process_action close_receipt [05:34:11]cmd_close_receipt [05:34:11]MH_GetDate [05:34:11]Write to MH i2c: F0 00 00 35 0B 2F [05:34:11]Write i2c OK [05:34:11]MH_I2C_Read... [05:34:11]Read from MH i2c: F0 [05:34:11]MH_I2C_Read... [05:34:11]Read from MH i2c: F0 09 00 [05:34:11]MH_I2C_Read... [05:34:11]Read from MH i2c: F0 09 00 35 0B 00 D5 B4 94 66 2D 25 5D 64 CE [05:34:11]GetLastDocTimeStamp 1721017274 [05:34:11]current date 1721021653 [05:34:11]FM_GetShiftState [05:34:11]SAM_PROTO_GetShiftState [05:34:11]wFMCommunicate request_size=4 [05:34:11]MH_SAM_APDU [05:34:11]CAPDU: 80 13 01 00 [05:34:11]Write to MH i2c: E2 08 00 36 0B 80 13 01 00 00 00 00 00 BE [05:34:11]Write i2c OK [05:34:11]MH_I2C_Read... [05:34:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [05:34:11]Read from MH i2c: E2 [05:34:11]MH_I2C_Read... [05:34:11]Read from MH i2c: E2 0E 00 [05:34:11]MH_I2C_Read... [05:34:11]Read from MH i2c: E2 0E 00 36 0B 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 37 [05:34:11]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [05:34:11]wFMCommunicate OK [05:34:11]SAM_PROTO_GetShiftState done [05:34:11]FM_GetShiftState done [05:34:11]opened in 1721003525 [05:34:11]opened+sec_in_day 1721089925 [05:34:11]quantity*price = 30000 [05:34:11]sum+1 = 30001 [05:34:11]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 300.00 НСП 1% : 2.65 НДС 12% : 31.86 Наличными: 300.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 31 15.07.2024 05:34 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57136 ФПД: 201511297843932 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T053413&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57136&fm=201511297843932&tin=02508201610067®Number=0000000000091208&sum=30000 0 [05:34:12]StoreToDocumentArchive [05:34:12]shift 497 fd 57136 [05:34:12]save to /storage/0497/doc_00057136 [05:34:12]save last doc name /storage/0497/doc_00057136 to /storage/kkm_last_doc_name [05:34:12]save OK [05:34:12]Clear old archive folders... [05:34:12]ProcessDocumentItem done err = 0, tmpTLVsize=290 [05:34:12]tlvbuf is B6F74520 [05:34:12]SAM_PROTO_ClearQueue [05:34:12]wFMCommunicate request_size=4 [05:34:12]MH_SAM_APDU [05:34:12]CAPDU: 80 09 00 00 [05:34:12]Write to MH i2c: E2 08 00 43 0B 80 09 00 00 00 00 00 00 C0 [05:34:12]Write i2c OK [05:34:12]MH_I2C_Read... [05:34:12]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [05:34:12]Read from MH i2c: E2 [05:34:12]MH_I2C_Read... [05:34:12]Read from MH i2c: E2 03 00 [05:34:12]MH_I2C_Read... [05:34:12]Read from MH i2c: E2 03 00 43 0B 00 90 00 C2 [05:34:12]RAPDU: 90 00 [05:34:12]wFMCommunicate OK [05:34:12]SAM_PROTO_ClearQueue done [05:34:12]KKMCreateOFDPacket [05:34:12]OFDProtocolAddRootSTLVToBuf [05:34:12]FM_MakeSignedData [05:34:12]FM_MakeSignedData [05:34:12]SAM_PROTO_SignData [05:34:12]wFMCommunicate request_size=4 [05:34:12]MH_SAM_APDU [05:34:12]CAPDU: 80 0D 01 02 [05:34:12]Write to MH i2c: E2 08 00 44 0B 80 0D 01 02 00 00 00 00 C8 [05:34:12]Write i2c OK [05:34:12]MH_I2C_Read... [05:34:12]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [05:34:12]Read from MH i2c: E2 [05:34:12]MH_I2C_Read... [05:34:12]Read from MH i2c: E2 03 00 [05:34:12]MH_I2C_Read... [05:34:12]Read from MH i2c: E2 03 00 44 0B 00 90 00 C3 [05:34:12]RAPDU: 90 00 [05:34:12]wFMCommunicate OK [05:34:12]wFMCommunicate request_size=255 [05:34:12]MH_SAM_APDU [05:34:12]CAPDU: 80 0D 02 02 FA 03 00 22 01 1E 04 01 00 01 23 04 74 00 8A 04 0D 00 34 38 37 30 32 30 35 33 39 30 39 38 37 06 04 30 00 D0 90 D0 BD D1 82 D0 B8 D1 84 D1 80 D0 B8 D0 B7 20 50 4E 20 2D 34 30 20 4F 52 47 41 4E 49 43 20 43 4F 4F 4C 41 4E 54 20 43 61 72 62 6F 78 20 28 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 30 75 00 00 00 00 13 04 06 00 30 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 09 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 72 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 1F 00 00 00 F4 03 04 00 D5 B4 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 [05:34:12]Write to MH i2c: E2 02 01 45 0B 80 0D 02 02 FA 00 03 00 22 01 1E 04 01 00 01 23 04 74 00 8A 04 0D 00 34 38 37 30 32 30 35 33 39 30 39 38 37 06 04 30 00 D0 90 D0 BD D1 82 D0 B8 D1 84 D1 80 D0 B8 D0 B7 20 50 4E 20 2D 34 30 20 4F 52 47 41 4E 49 43 20 43 4F 4F 4C 41 4E 54 20 43 61 72 62 6F 78 20 28 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 30 75 00 00 00 00 13 04 06 00 30 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 09 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 72 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 1F 00 00 00 F4 03 04 00 D5 B4 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 00 00 54 [05:34:12]Write i2c OK [05:34:12]MH_I2C_Read... [05:34:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [05:34:12]Read from MH i2c: E2 [05:34:12]MH_I2C_Read... [05:34:12]Read from MH i2c: E2 03 00 [05:34:12]MH_I2C_Read... [05:34:12]Read from MH i2c: E2 03 00 45 0B 00 90 00 C4 [05:34:12]RAPDU: 90 00 [05:34:12]wFMCommunicate OK [05:34:12]wFMCommunicate request_size=49 [05:34:12]MH_SAM_APDU [05:34:12]CAPDU: 80 0D 02 02 2C 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 30 DF 00 00 35 04 06 00 B7 46 01 53 82 DC [05:34:12]Write to MH i2c: E2 34 00 46 0B 80 0D 02 02 2C 00 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 30 DF 00 00 35 04 06 00 B7 46 01 53 82 DC 00 00 B8 [05:34:12]Write i2c OK [05:34:12]MH_I2C_Read... [05:34:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [05:34:12]Read from MH i2c: E2 [05:34:12]MH_I2C_Read... [05:34:12]Read from MH i2c: E2 03 00 [05:34:12]MH_I2C_Read... [05:34:12]Read from MH i2c: E2 03 00 46 0B 00 90 00 C5 [05:34:12]RAPDU: 90 00 [05:34:12]wFMCommunicate OK [05:34:12]wFMCommunicate request_size=4 [05:34:12]MH_SAM_APDU [05:34:12]CAPDU: 80 0D 03 02 [05:34:12]Write to MH i2c: E2 08 00 47 0B 80 0D 03 02 00 00 00 00 CD [05:34:12]Write i2c OK [05:34:12]MH_I2C_Read... [05:34:12]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [05:34:12]Read from MH i2c: E2 [05:34:12]MH_I2C_Read... [05:34:12]Read from MH i2c: E2 0B 00 [05:34:12]MH_I2C_Read... [05:34:12]Read from MH i2c: E2 0B 00 47 0B 00 1B 6A A1 D2 36 4F 3D 5E 90 00 E6 [05:34:12]RAPDU: 1B 6A A1 D2 36 4F 3D 5E 90 00 [05:34:12]wFMCommunicate OK [05:34:12]SAM_PROTO_SignData done [05:34:12]FM_MakeSignedData done [05:34:12]CreateOFDProtocolMessage [05:34:12]wFMCommunicate request_size=4 [05:34:12]MH_SAM_APDU [05:34:12]CAPDU: 80 11 00 00 [05:34:12]Write to MH i2c: E2 08 00 48 0B 80 11 00 00 00 00 00 00 CD [05:34:12]Write i2c OK [05:34:12]MH_I2C_Read... [05:34:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [05:34:12]Read from MH i2c: E2 [05:34:12]MH_I2C_Read... [05:34:12]Read from MH i2c: E2 17 00 [05:34:12]MH_I2C_Read... [05:34:12]Read from MH i2c: E2 17 00 48 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 27 [05:34:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [05:34:12]wFMCommunicate OK [05:34:12]CreateOFDProtocolMessage done [05:34:12]OFDSenderStorePacket 57136 [05:34:12]StoreOFDPacket docnum=57136 [05:34: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 36 01 00 00 63 AD 2E 01 B6 EA 5A 03 01 00 03 00 22 01 1E 04 01 00 01 23 04 74 00 8A 04 0D 00 34 38 37 30 32 30 35 33 39 30 39 38 37 06 04 30 00 D0 90 D0 BD D1 82 D0 B8 D1 84 D1 80 D0 B8 D0 B7 20 50 4E 20 2D 34 30 20 4F 52 47 41 4E 49 43 20 43 4F 4F 4C 41 4E 54 20 43 61 72 62 6F 78 20 28 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 30 75 00 00 00 00 13 04 06 00 30 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 09 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 72 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 1F 00 00 00 F4 03 04 00 D5 B4 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 30 DF 00 00 35 04 06 00 B7 46 01 53 82 DC 1B 6A A1 D2 36 4F 3D 5E [05:34:12]CheckFolder [05:34:12]dirname=/storage/ofd_packets [05:34:12]CheckFolder done [05:34:12]ProducePacketName [05:34:12]name=ofd_packets/00057136 [05:34:12]NVStorageSaveData ofd_packets/00057136 [05:34:12]File name is /storage/ofd_packets/00057136 [05:34:12]Write 340 bytes [05:34:12]NVStorageSaveData done [05:34:12]OFDSenderStorePacket done [05:34:12]KKMCreateOFDPacket done [05:34:12]NVStorageSaveData kkm_last_timestamp [05:34:12]File name is /storage/kkm_last_timestamp [05:34:12]Write 4 bytes [05:34:12]NVStorageSaveData done [05:34:12]ExternCall_PrintAddStr [05:34:12]wPrintStart [05:34:12]Write to MH i2c: 01 00 00 49 0B 54 [05:34:12]Write i2c OK [05:34:12]MH_I2C_Read... [05:34:12]Read from MH i2c: 01 [05:34:12]MH_I2C_Read... [05:34:12]Read from MH i2c: 01 07 00 [05:34:12]MH_I2C_Read... [05:34:12]Read from MH i2c: 01 07 00 49 0B 00 00 00 00 00 FF 0F 69 [05:34:12]RasterBufferAndPrint [05:34:12]line Счет N : (3)129591 [05:34:12]line ИНН: 02508201610067 [05:34:12]line Контрольно-Кассовый Чек [05:34:12]line ПРОДАЖА [05:34:12]line Товар: 4870205390987 [05:34:12]line Антифриз PN -40 ORGANIC COOLANT Carbox ( [05:34:12]line 1.000 * 300.00 [05:34:12]line = 300.00 [05:34:12]line НДС 12% НСП 1% [05:34:12]line > о реализуемом товаре [05:34:12]line ИТОГО: 300.00 [05:34:12]line НСП 1% : 2.65 [05:34:12]line НДС 12% : 31.86 [05:34:12]line Наличными: 300.00 [05:34:12]line Безнал.: 0.00 [05:34:12]line Место: АЗС № 132 "Партнер Нефть" [05:34:12]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [05:34:12]line СНО: Общий режим [05:34:12]line Чек 31 15.07.2024 05:34 [05:34:12]line Смена: 497 ФФД: 1.0 [05:34:12]line ЗНМ: 0300000132 [05:34:12]line РНМ: 0000000000091208 [05:34:12]line Версия ККМ: 001 [05:34:12]line ФМ: 0000000000874857 [05:34:12]line ФД: 57136 [05:34:12]line ФПД: 201511297843932 [05:34:12]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T053413&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57136&fm=201511297843932&tin=02508201610067®Number=0000000000091208&sum=30000 [05:34:13]OFD Sender: Processing packet 57136 [packets to send 38, broken 37] [05:34:13]ProducePacketName [05:34:13]name=ofd_packets/00057136 [05:34:13]OFD Sender: To server: pG, [05:34:13]CommunicateWithHost lk.salyk.kg:30040 [05:34:13]ConnectInit lk.salyk.kg [05:34:13]line 0 [05:34:13]written 0, free lines is 4095 [05:34:13]Connected sock=10 [05:34:13]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 36 01 00 00 63 AD 2E 01 B6 EA 5A 03 01 00 03 00 22 01 1E 04 01 00 01 23 04 74 00 8A 04 0D 00 34 38 37 30 32 30 35 33 39 30 39 38 37 06 04 30 00 D0 90 D0 BD D1 82 D0 B8 D1 84 D1 80 D0 B8 D0 B7 20 50 4E 20 2D 34 30 20 4F 52 47 41 4E 49 43 20 43 4F 4F 4C 41 4E 54 20 43 61 72 62 6F 78 20 28 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 30 75 00 00 00 00 13 04 06 00 30 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 09 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 72 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 1F 00 00 00 F4 03 04 00 D5 B4 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 30 DF 00 00 35 04 06 00 B7 46 01 53 82 DC 1B 6A A1 D2 36 4F 3D 5E [05:34:13]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 F2 47 00 0B 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 30 DF 00 00 F4 03 04 00 24 5B 94 66 B6 04 01 00 00 76 A6 FD 11 84 8B 32 FE [05:34:13]CommunicateWithHost err = 0 [05:34:13]CheckOFDResponse [05:34:13]1017 (14) - 77093643461234 [05:34:13]1041 (16) - 0000000000874857 [05:34:13]1040 (4) - 57136 [05:34:13]1012 (4) - 14.07.2024 23:11 [05:34:13]1206 (1) - 0 [05:34:13]OFD Sender: Remove packet 57136 [05:34:13]ProducePacketName [05:34:13]name=ofd_packets/00057136 [05:34:13]NVStorageDeleteData [05:34:13]Write to MH i2c: 01 00 00 72 0B 7D [05:34:13]Write i2c OK [05:34:13]MH_I2C_Read... [05:34:13]Read from MH i2c: 01 [05:34:13]MH_I2C_Read... [05:34:13]Read from MH i2c: 01 07 00 [05:34:13]MH_I2C_Read... [05:34:13]Read from MH i2c: 01 07 00 72 0B 00 00 00 00 00 01 0D 92 [05:34:13]RasterBufferAndPrint [05:34:13]line [05:34:13]line [05:34:13]line [05:34:13]line [05:34:13]line [05:34:13]written 0, free lines is 3336 [05:34:13]MH_Cut [05:34:13]Write to MH i2c: D1 01 00 79 0B 01 56 [05:34:13]Write i2c OK [05:34:13]MH_I2C_Read... [05:34:13]Read from MH i2c: D1 [05:34:13]MH_I2C_Read... [05:34:13]Read from MH i2c: D1 01 00 [05:34:13]MH_I2C_Read... [05:34:13]Read from MH i2c: D1 01 00 79 0B 00 55 [05:34:13]Write to MH i2c: 01 00 00 7A 0B 85 [05:34:13]Write i2c OK [05:34:13]MH_I2C_Read... [05:34:13]OFD Sender: No OFD packet to send [05:34:14]*** Cut start [05:34:14]*** Partial cut [05:34:14]*** CUTSNS_PIN = 1 [05:34:14]*** CUTSNS_PIN = 0 [05:34:14]*** Brake cut motor [05:34:14]Read from MH i2c: 01 [05:34:14]MH_I2C_Read... [05:34:14]*** Stop cut motor [05:34:14]*** Cut end [05:34:14]Read from MH i2c: 01 07 00 [05:34:14]MH_I2C_Read... [05:34:14]Read from MH i2c: 01 07 00 7A 0B 00 00 00 00 00 FF 0F 9A [05:34:14]process_action close_receipt done [05:34:14]requested_data is exist [05:34:14]produce_requested_data [05:34:14]requested_item fm.sn is exist - process it [05:34:14]wFMCommunicate request_size=4 [05:34:14]MH_SAM_APDU [05:34:14]CAPDU: 80 11 00 00 [05:34:14]Write to MH i2c: E2 08 00 7B 0B 80 11 00 00 00 00 00 00 00 [05:34:14]Write i2c OK [05:34:14]MH_I2C_Read... [05:34:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [05:34:15]Read from MH i2c: E2 [05:34:15]MH_I2C_Read... [05:34:15]Read from MH i2c: E2 17 00 [05:34:15]MH_I2C_Read... [05:34:15]Read from MH i2c: E2 17 00 7B 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 5A [05:34:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [05:34:15]wFMCommunicate OK [05:34:15]requested_item fd.num is exist - process it [05:34:15]SAM_PROTO_GetFieldsCounters [05:34:15]wFMCommunicate request_size=4 [05:34:15]MH_SAM_APDU [05:34:15]CAPDU: 80 13 00 00 [05:34:15]Write to MH i2c: E2 08 00 7C 0B 80 13 00 00 00 00 00 00 03 [05:34:15]Write i2c OK [05:34:15]MH_I2C_Read... [05:34:15]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [05:34:15]Read from MH i2c: E2 [05:34:15]MH_I2C_Read... [05:34:15]Read from MH i2c: E2 62 00 [05:34:15]MH_I2C_Read... [05:34:15]Read from MH i2c: E2 62 00 7C 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 30 DF 00 00 0E 04 04 00 F1 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 84 [05:34: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 30 DF 00 00 0E 04 04 00 F1 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 [05:34:15]wFMCommunicate OK [05:34:15]SAM_PROTO_GetFieldsCounters done [05:34:15]requested_item shift.num is exist - process it [05:34:15]requested_item shift.opened is exist - process it [05:34:15]req_shift_opened [05:34:15]FM_GetShiftState [05:34:15]SAM_PROTO_GetShiftState [05:34:15]wFMCommunicate request_size=4 [05:34:15]MH_SAM_APDU [05:34:15]CAPDU: 80 13 01 00 [05:34:15]Write to MH i2c: E2 08 00 7D 0B 80 13 01 00 00 00 00 00 05 [05:34:15]Write i2c OK [05:34:15]MH_I2C_Read... [05:34:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [05:34:15]Read from MH i2c: E2 [05:34:15]MH_I2C_Read... [05:34:15]Read from MH i2c: E2 0E 00 [05:34:15]MH_I2C_Read... [05:34:15]Read from MH i2c: E2 0E 00 7D 0B 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 7E [05:34:15]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [05:34:15]wFMCommunicate OK [05:34:15]SAM_PROTO_GetShiftState done [05:34:15]FM_GetShiftState done [05:34:15]req_shift_opened done [05:34:15]requested_item shift.open_date is exist - process it [05:34:15]req_shift_open_date [05:34:15]req_shift_open_date done [05:34:15]requested_item shift.sale.total is exist - process it [05:34:15]SAM_PROTO_GetShiftData [05:34:15]wFMCommunicate request_size=4 [05:34:15]MH_SAM_APDU [05:34:15]CAPDU: 80 13 02 00 [05:34:15]Write to MH i2c: E2 08 00 7E 0B 80 13 02 00 00 00 00 00 07 [05:34:15]Write i2c OK [05:34:15]MH_I2C_Read... [05:34:15]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [05:34:15]Read from MH i2c: E2 [05:34:15]MH_I2C_Read... [05:34:15]Read from MH i2c: E2 FD 00 [05:34:15]MH_I2C_Read... [05:34:15]Read from MH i2c: E2 FD 00 7E 0B 00 B6 04 AA 04 B2 04 6E 04 04 00 1F 00 00 00 69 04 9B 00 6F 04 04 00 1E 00 00 00 B1 04 03 00 79 2F 0D 70 04 03 00 64 1B 08 72 04 03 00 15 14 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 71 66 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 DF 1D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 E4 [05:34:15]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 1F 00 00 00 69 04 9B 00 6F 04 04 00 1E 00 00 00 B1 04 03 00 79 2F 0D 70 04 03 00 64 1B 08 72 04 03 00 15 14 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 71 66 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 DF 1D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 [05:34:15]wFMCommunicate OK [05:34:15]wFMCommunicate request_size=4 [05:34:15]MH_SAM_APDU [05:34:15]CAPDU: 80 17 00 00 [05:34:15]Write to MH i2c: E2 08 00 7F 0B 80 17 00 00 00 00 00 00 0A [05:34:15]Write i2c OK [05:34:15]MH_I2C_Read... [05:34:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [05:34:15]Read from MH i2c: E2 [05:34:15]MH_I2C_Read... [05:34:15]Read from MH i2c: E2 FD 00 [05:34:15]MH_I2C_Read... [05:34:15]Read from MH i2c: E2 FD 00 7F 0B 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 3F [05:34:15]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 [05:34:15]wFMCommunicate OK [05:34:15]wFMCommunicate request_size=4 [05:34:15]MH_SAM_APDU [05:34:15]CAPDU: 80 17 00 00 [05:34:15]Write to MH i2c: E2 08 00 80 0B 80 17 00 00 00 00 00 00 0B [05:34:15]Write i2c OK [05:34:15]MH_I2C_Read... [05:34:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [05:34:16]Read from MH i2c: E2 [05:34:16]MH_I2C_Read... [05:34:16]Read from MH i2c: E2 FD 00 [05:34:16]MH_I2C_Read... [05:34:16]Read from MH i2c: E2 FD 00 80 0B 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 CB [05:34:16]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 [05:34:16]wFMCommunicate OK [05:34:16]wFMCommunicate request_size=4 [05:34:16]MH_SAM_APDU [05:34:16]CAPDU: 80 17 00 00 [05:34:16]Write to MH i2c: E2 08 00 81 0B 80 17 00 00 00 00 00 00 0C [05:34:16]Write i2c OK [05:34:16]MH_I2C_Read... [05:34:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [05:34:16]Read from MH i2c: E2 [05:34:16]MH_I2C_Read... [05:34:16]Read from MH i2c: E2 FD 00 [05:34:16]MH_I2C_Read... [05:34:16]Read from MH i2c: E2 FD 00 81 0B 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 7B [05:34:16]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 [05:34:16]wFMCommunicate OK [05:34:16]wFMCommunicate request_size=4 [05:34:16]MH_SAM_APDU [05:34:16]CAPDU: 80 17 00 00 [05:34:16]Write to MH i2c: E2 08 00 82 0B 80 17 00 00 00 00 00 00 0D [05:34:16]Write i2c OK [05:34:16]MH_I2C_Read... [05:34:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [05:34:16]Read from MH i2c: E2 [05:34:16]MH_I2C_Read... [05:34:16]Read from MH i2c: E2 D3 00 [05:34:16]MH_I2C_Read... [05:34:16]Read from MH i2c: E2 D3 00 82 0B 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 FA [05:34:16]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 [05:34:16]wFMCommunicate OK [05:34:16]SAM_PROTO_GetShiftData done [05:34:16]requested_item shift.sale.total_cash is exist - process it [05:34:16]requested_item shift.sale_refund.total is exist - process it [05:34:16]requested_item shift.sale_refund.total_cash is exist - process it [05:34:16]produce_requested_data done [05:34:16]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57136,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":8641.21,"shift.sale.total_cash":5313.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [05:34:16]process_action_free close_receipt [05:34:16]json_value_free [05:34:16]json_value_free done [05:34:16]process_json_proto returns [05:34:16]Send response to host [05:34:16]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57136,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":8641.21,"shift.sale.total_cash":5313.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [05:34:16]free response buf [05:34:16]execute_script done [05:34:16]execute_script returns [05:34:16]free content buf [05:34:16]Sock 8.Close socket [05:34:16]Sock 8.Thread stoped [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:34]OFD Sender: No OFD packet to send [05:36:39]OFD Sender: No OFD packet to send [05:36:44]OFD Sender: No OFD packet to send [05:36:49]OFD Sender: No OFD packet to send [05:36:54]OFD Sender: No OFD packet to send [05:36:59]OFD Sender: No OFD packet to send [05:37:04]OFD Sender: No OFD packet to send [05:37:09]OFD Sender: No OFD packet to send [05:37:14]OFD Sender: No OFD packet to send [05:37:19]OFD Sender: No OFD packet to send [05:37:24]OFD Sender: No OFD packet to send [05:37:29]OFD Sender: No OFD packet to send [05:37:34]OFD Sender: No OFD packet to send [05:37:39]OFD Sender: No OFD packet to send [05:37:44]OFD Sender: No OFD packet to send [05:37:49]OFD Sender: No OFD packet to send [05:37:54]OFD Sender: No OFD packet to send [05:37:59]OFD Sender: No OFD packet to send [05:38:04]OFD Sender: No OFD packet to send [05:38:09]OFD Sender: No OFD packet to send [05:38:14]OFD Sender: No OFD packet to send [05:38:19]OFD Sender: No OFD packet to send [05:38:24]OFD Sender: No OFD packet to send [05:38:29]OFD Sender: No OFD packet to send [05:38:34]OFD Sender: No OFD packet to send [05:38:39]OFD Sender: No OFD packet to send [05:38:44]OFD Sender: No OFD packet to send [05:38:49]OFD Sender: No OFD packet to send [05:38:54]OFD Sender: No OFD packet to send [05:38:59]OFD Sender: No OFD packet to send [05:39:04]OFD Sender: No OFD packet to send [05:39:09]OFD Sender: No OFD packet to send [05:39:14]OFD Sender: No OFD packet to send [05:39:19]OFD Sender: No OFD packet to send [05:39:24]OFD Sender: No OFD packet to send [05:39:29]OFD Sender: No OFD packet to send [05:39:34]OFD Sender: No OFD packet to send [05:39:39]OFD Sender: No OFD packet to send [05:39:44]OFD Sender: No OFD packet to send [05:39:49]OFD Sender: No OFD packet to send [05:39:54]OFD Sender: No OFD packet to send [05:39:59]OFD Sender: No OFD packet to send [05:40:04]OFD Sender: No OFD packet to send [05:40:09]OFD Sender: No OFD packet to send [05:40:14]OFD Sender: No OFD packet to send [05:40:19]OFD Sender: No OFD packet to send [05:40:24]OFD Sender: No OFD packet to send [05:40:29]OFD Sender: No OFD packet to send [05:40:34]OFD Sender: No OFD packet to send [05:40:39]OFD Sender: No OFD packet to send [05:40:44]OFD Sender: No OFD packet to send [05:40:49]OFD Sender: No OFD packet to send [05:40:54]OFD Sender: No OFD packet to send [05:40:59]OFD Sender: No OFD packet to send [05:41:04]OFD Sender: No OFD packet to send [05:41:09]OFD Sender: No OFD packet to send [05:41:14]OFD Sender: No OFD packet to send [05:41:19]OFD Sender: No OFD packet to send [05:41:24]OFD Sender: No OFD packet to send [05:41:29]OFD Sender: No OFD packet to send [05:41:34]OFD Sender: No OFD packet to send [05:41:39]OFD Sender: No OFD packet to send [05:41:44]OFD Sender: No OFD packet to send [05:41:49]OFD Sender: No OFD packet to send [05:41:54]OFD Sender: No OFD packet to send [05:41:59]OFD Sender: No OFD packet to send [05:42:04]OFD Sender: No OFD packet to send [05:42:09]OFD Sender: No OFD packet to send [05:42:14]OFD Sender: No OFD packet to send [05:42:19]OFD Sender: No OFD packet to send [05:42:24]OFD Sender: No OFD packet to send [05:42:29]OFD Sender: No OFD packet to send [05:42:34]OFD Sender: No OFD packet to send [05:42:39]OFD Sender: No OFD packet to send [05:42:44]OFD Sender: No OFD packet to send [05:42:49]OFD Sender: No OFD packet to send [05:42:54]OFD Sender: No OFD packet to send [05:42:59]OFD Sender: No OFD packet to send [05:43:04]OFD Sender: No OFD packet to send [05:43:09]OFD Sender: No OFD packet to send [05:43:14]OFD Sender: No OFD packet to send [05:43:19]OFD Sender: No OFD packet to send [05:43:24]OFD Sender: No OFD packet to send [05:43:29]OFD Sender: No OFD packet to send [05:43:34]OFD Sender: No OFD packet to send [05:43:39]OFD Sender: No OFD packet to send [05:43:44]OFD Sender: No OFD packet to send [05:43:49]OFD Sender: No OFD packet to send [05:43:54]OFD Sender: No OFD packet to send [05:43:59]OFD Sender: No OFD packet to send [05:44:04]OFD Sender: No OFD packet to send [05:44:09]OFD Sender: No OFD packet to send [05:44:14]OFD Sender: No OFD packet to send [05:44:19]OFD Sender: No OFD packet to send [05:44:24]OFD Sender: No OFD packet to send [05:44:29]OFD Sender: No OFD packet to send [05:44:34]OFD Sender: No OFD packet to send [05:44:39]OFD Sender: No OFD packet to send [05:44:44]OFD Sender: No OFD packet to send [05:44:49]OFD Sender: No OFD packet to send [05:44:54]OFD Sender: No OFD packet to send [05:44:59]OFD Sender: No OFD packet to send [05:45:04]OFD Sender: No OFD packet to send [05:45:09]OFD Sender: No OFD packet to send [05:45:14]OFD Sender: No OFD packet to send [05:45:19]OFD Sender: No OFD packet to send [05:45:24]OFD Sender: No OFD packet to send [05:45:29]OFD Sender: No OFD packet to send [05:45:34]OFD Sender: No OFD packet to send [05:45:39]OFD Sender: No OFD packet to send [05:45:44]OFD Sender: No OFD packet to send [05:45:49]OFD Sender: No OFD packet to send [05:45:54]OFD Sender: No OFD packet to send [05:45:59]OFD Sender: No OFD packet to send [05:46:04]OFD Sender: No OFD packet to send [05:46:09]OFD Sender: No OFD packet to send [05:46:14]OFD Sender: No OFD packet to send [05:46:19]OFD Sender: No OFD packet to send [05:46:24]OFD Sender: No OFD packet to send [05:46:29]OFD Sender: No OFD packet to send [05:46:34]OFD Sender: No OFD packet to send [05:46:39]OFD Sender: No OFD packet to send [05:46:44]OFD Sender: No OFD packet to send [05:46:49]OFD Sender: No OFD packet to send [05:46:54]OFD Sender: No OFD packet to send [05:46:59]OFD Sender: No OFD packet to send [05:47:04]OFD Sender: No OFD packet to send [05:47:09]OFD Sender: No OFD packet to send [05:47:14]OFD Sender: No OFD packet to send [05:47:19]OFD Sender: No OFD packet to send [05:47:24]OFD Sender: No OFD packet to send [05:47:29]OFD Sender: No OFD packet to send [05:47:34]OFD Sender: No OFD packet to send [05:47:39]OFD Sender: No OFD packet to send [05:47:44]OFD Sender: No OFD packet to send [05:47:49]OFD Sender: No OFD packet to send [05:47:54]OFD Sender: No OFD packet to send [05:47:59]OFD Sender: No OFD packet to send [05:48:04]OFD Sender: No OFD packet to send [05:48:09]OFD Sender: No OFD packet to send [05:48:14]OFD Sender: No OFD packet to send [05:48:19]OFD Sender: No OFD packet to send [05:48:24]OFD Sender: No OFD packet to send [05:48:29]OFD Sender: No OFD packet to send [05:48:34]OFD Sender: No OFD packet to send [05:48:39]OFD Sender: No OFD packet to send [05:48:44]OFD Sender: No OFD packet to send [05:48:49]OFD Sender: No OFD packet to send [05:48:54]OFD Sender: No OFD packet to send [05:48:59]OFD Sender: No OFD packet to send [05:49:04]OFD Sender: No OFD packet to send [05:49:09]OFD Sender: No OFD packet to send [05:49:14]OFD Sender: No OFD packet to send [05:49:19]OFD Sender: No OFD packet to send [05:49:24]OFD Sender: No OFD packet to send [05:49:29]OFD Sender: No OFD packet to send [05:49:34]OFD Sender: No OFD packet to send [05:49:39]OFD Sender: No OFD packet to send [05:49:44]OFD Sender: No OFD packet to send [05:49:49]OFD Sender: No OFD packet to send [05:49:54]OFD Sender: No OFD packet to send [05:49:59]OFD Sender: No OFD packet to send [05:50:04]OFD Sender: No OFD packet to send [05:50:09]OFD Sender: No OFD packet to send [05:50:14]OFD Sender: No OFD packet to send [05:50:19]OFD Sender: No OFD packet to send [05:50:24]OFD Sender: No OFD packet to send [05:50:29]OFD Sender: No OFD packet to send [05:50:34]OFD Sender: No OFD packet to send [05:50:39]OFD Sender: No OFD packet to send [05:50:44]OFD Sender: No OFD packet to send [05:50:49]OFD Sender: No OFD packet to send [05:50:54]OFD Sender: No OFD packet to send [05:50:59]OFD Sender: No OFD packet to send [05:51:04]OFD Sender: No OFD packet to send [05:51:09]OFD Sender: No OFD packet to send [05:51:14]OFD Sender: No OFD packet to send [05:51:19]OFD Sender: No OFD packet to send [05:51:24]OFD Sender: No OFD packet to send [05:51:29]OFD Sender: No OFD packet to send [05:51:34]OFD Sender: No OFD packet to send [05:51:39]OFD Sender: No OFD packet to send [05:51:44]OFD Sender: No OFD packet to send [05:51:49]OFD Sender: No OFD packet to send [05:51:54]OFD Sender: No OFD packet to send [05:51:59]OFD Sender: No OFD packet to send [05:52:04]OFD Sender: No OFD packet to send [05:52:09]OFD Sender: No OFD packet to send [05:52:14]OFD Sender: No OFD packet to send [05:52:19]OFD Sender: No OFD packet to send [05:52:24]OFD Sender: No OFD packet to send [05:52:29]OFD Sender: No OFD packet to send [05:52:34]OFD Sender: No OFD packet to send [05:52:39]OFD Sender: No OFD packet to send [05:52:44]OFD Sender: No OFD packet to send [05:52:49]OFD Sender: No OFD packet to send [05:52:55]OFD Sender: No OFD packet to send [05:53:00]OFD Sender: No OFD packet to send [05:53:05]OFD Sender: No OFD packet to send [05:53:10]OFD Sender: No OFD packet to send [05:53:15]OFD Sender: No OFD packet to send [05:53:20]OFD Sender: No OFD packet to send [05:53:25]OFD Sender: No OFD packet to send [05:53:30]OFD Sender: No OFD packet to send [05:53:35]OFD Sender: No OFD packet to send [05:53:40]OFD Sender: No OFD packet to send [05:53:45]OFD Sender: No OFD packet to send [05:53:50]OFD Sender: No OFD packet to send [05:53:55]OFD Sender: No OFD packet to send [05:54:00]OFD Sender: No OFD packet to send [05:54:05]OFD Sender: No OFD packet to send [05:54:10]OFD Sender: No OFD packet to send [05:54:15]OFD Sender: No OFD packet to send [05:54:20]OFD Sender: No OFD packet to send [05:54:25]OFD Sender: No OFD packet to send [05:54:30]OFD Sender: No OFD packet to send [05:54:35]OFD Sender: No OFD packet to send [05:54:40]OFD Sender: No OFD packet to send [05:54:45]OFD Sender: No OFD packet to send [05:54:50]OFD Sender: No OFD packet to send [05:54:55]OFD Sender: No OFD packet to send [05:55:00]OFD Sender: No OFD packet to send [05:55:05]OFD Sender: No OFD packet to send [05:55:10]OFD Sender: No OFD packet to send [05:55:15]OFD Sender: No OFD packet to send [05:55:20]OFD Sender: No OFD packet to send [05:55:25]OFD Sender: No OFD packet to send [05:55:30]OFD Sender: No OFD packet to send [05:55:35]OFD Sender: No OFD packet to send [05:55:40]OFD Sender: No OFD packet to send [05:55:45]OFD Sender: No OFD packet to send [05:55:50]OFD Sender: No OFD packet to send [05:55:55]OFD Sender: No OFD packet to send [05:56:00]OFD Sender: No OFD packet to send [05:56:05]OFD Sender: No OFD packet to send [05:56:10]OFD Sender: No OFD packet to send [05:56:15]OFD Sender: No OFD packet to send [05:56:20]OFD Sender: No OFD packet to send [05:56:25]OFD Sender: No OFD packet to send [05:56:30]OFD Sender: No OFD packet to send [05:56:35]OFD Sender: No OFD packet to send [05:56:40]OFD Sender: No OFD packet to send [05:56:45]OFD Sender: No OFD packet to send [05:56:50]OFD Sender: No OFD packet to send [05:56:55]OFD Sender: No OFD packet to send [05:57:00]OFD Sender: No OFD packet to send [05:57:05]OFD Sender: No OFD packet to send [05:57:10]OFD Sender: No OFD packet to send [05:57:15]OFD Sender: No OFD packet to send [05:57:20]OFD Sender: No OFD packet to send [05:57:25]OFD Sender: No OFD packet to send [05:57:30]OFD Sender: No OFD packet to send [05:57:35]OFD Sender: No OFD packet to send [05:57:40]OFD Sender: No OFD packet to send [05:57:45]OFD Sender: No OFD packet to send [05:57:50]OFD Sender: No OFD packet to send [05:57:55]OFD Sender: No OFD packet to send [05:58:00]OFD Sender: No OFD packet to send [05:58:05]OFD Sender: No OFD packet to send [05:58:10]OFD Sender: No OFD packet to send [05:58:15]OFD Sender: No OFD packet to send [05:58:20]OFD Sender: No OFD packet to send [05:58:25]OFD Sender: No OFD packet to send [05:58:30]OFD Sender: No OFD packet to send [05:58:35]OFD Sender: No OFD packet to send [05:58:40]OFD Sender: No OFD packet to send [05:58:45]OFD Sender: No OFD packet to send [05:58:50]OFD Sender: No OFD packet to send [05:58:55]OFD Sender: No OFD packet to send [05:59:00]OFD Sender: No OFD packet to send [05:59:05]OFD Sender: No OFD packet to send [05:59:10]OFD Sender: No OFD packet to send [05:59:15]OFD Sender: No OFD packet to send [05:59:20]OFD Sender: No OFD packet to send [05:59:25]OFD Sender: No OFD packet to send [05:59:30]OFD Sender: No OFD packet to send [05:59:35]OFD Sender: No OFD packet to send [05:59:40]OFD Sender: No OFD packet to send [05:59:45]OFD Sender: No OFD packet to send [05:59:50]OFD Sender: No OFD packet to send [05:59:55]OFD Sender: No OFD packet to send [06:00:00]OFD Sender: No OFD packet to send [06:00:05]OFD Sender: No OFD packet to send [06:00:10]OFD Sender: No OFD packet to send [06:00:15]OFD Sender: No OFD packet to send [06:00:20]OFD Sender: No OFD packet to send [06:00:25]OFD Sender: No OFD packet to send [06:00:30]OFD Sender: No OFD packet to send [06:00:35]OFD Sender: No OFD packet to send [06:00:40]OFD Sender: No OFD packet to send [06:00:45]OFD Sender: No OFD packet to send [06:00:50]OFD Sender: No OFD packet to send [06:00:55]OFD Sender: No OFD packet to send [06:01:00]OFD Sender: No OFD packet to send [06:01:05]OFD Sender: No OFD packet to send [06:01:10]OFD Sender: No OFD packet to send [06:01:15]OFD Sender: No OFD packet to send [06:01:20]OFD Sender: No OFD packet to send [06:01:25]OFD Sender: No OFD packet to send [06:01:30]OFD Sender: No OFD packet to send [06:01:35]OFD Sender: No OFD packet to send [06:01:40]OFD Sender: No OFD packet to send [06:01:45]OFD Sender: No OFD packet to send [06:01:50]OFD Sender: No OFD packet to send [06:01:55]OFD Sender: No OFD packet to send [06:02:00]OFD Sender: No OFD packet to send [06:02:05]OFD Sender: No OFD packet to send [06:02:10]OFD Sender: No OFD packet to send [06:02:15]OFD Sender: No OFD packet to send [06:02:20]OFD Sender: No OFD packet to send [06:02:25]OFD Sender: No OFD packet to send [06:02:30]OFD Sender: No OFD packet to send [06:02:35]OFD Sender: No OFD packet to send [06:02:40]OFD Sender: No OFD packet to send [06:02:45]OFD Sender: No OFD packet to send [06:02:50]OFD Sender: No OFD packet to send [06:02:55]OFD Sender: No OFD packet to send [06:03:00]OFD Sender: No OFD packet to send [06:03:05]OFD Sender: No OFD packet to send [06:03:10]OFD Sender: No OFD packet to send [06:03:15]OFD Sender: No OFD packet to send [06:03:20]OFD Sender: No OFD packet to send [06:03:25]OFD Sender: No OFD packet to send [06:03:30]OFD Sender: No OFD packet to send [06:03:35]OFD Sender: No OFD packet to send [06:03:40]OFD Sender: No OFD packet to send [06:03:45]OFD Sender: No OFD packet to send [06:03:50]OFD Sender: No OFD packet to send [06:03:55]OFD Sender: No OFD packet to send [06:04:00]OFD Sender: No OFD packet to send [06:04:05]OFD Sender: No OFD packet to send [06:04:10]OFD Sender: No OFD packet to send [06:04:15]OFD Sender: No OFD packet to send [06:04:20]OFD Sender: No OFD packet to send [06:04:25]OFD Sender: No OFD packet to send [06:04:30]OFD Sender: No OFD packet to send [06:04:35]OFD Sender: No OFD packet to send [06:04:40]OFD Sender: No OFD packet to send [06:04:45]OFD Sender: No OFD packet to send [06:04:50]OFD Sender: No OFD packet to send [06:04:55]OFD Sender: No OFD packet to send [06:05:00]OFD Sender: No OFD packet to send [06:05:05]OFD Sender: No OFD packet to send [06:05:10]OFD Sender: No OFD packet to send [06:05:15]OFD Sender: No OFD packet to send [06:05:20]OFD Sender: No OFD packet to send [06:05:25]OFD Sender: No OFD packet to send [06:05:30]OFD Sender: No OFD packet to send [06:05:32]accept exits with 9 [06:05:32]New connection [06:05:32]New thread 3067067748 created [06:05:32]Thread 3066924388 joined [06:05:32]Waiting for new connection... [06:05:32] Sock 9.Parse request [06:05:32]Sock 9.Check first char [06:05:32]Sock 9.First char is OK [06:05:32]request: POST /json_proto HTTP/1.0 [06:05:32]Method: POST [06:05:32]URL: /json_proto [06:05:32]Method is POST - this is cgi request [06:05:32]url: /json_proto [06:05:32]query_string will be loaded in cgi processing [06:05:32]execute_cgi json_proto POST (null) [06:05:32]execute_cgi path=json_proto method=POST [06:05:32]POST find Content-Length [06:05:32]Host: 172.17.39.4:8080 [06:05:32]Content-Length: 713 [06:05:32]Content-Type: application/json [06:05:32] [06:05:32]POST finish read [06:05:32]Found Content-Length = 713 [06:05:32]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129592", "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 }]} ], "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" ] } } [06:05:32]execute_script... [06:05: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)129592", "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 }]} ], "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" ] } } [06:05:32]POST & json_proto [06:05:32]process_json_proto [06:05:32]json parsed OK: [06:05:32]protocol is kg_v1.0 [06:05:32]action value=close_receipt [06:05:32]process_action close_receipt [06:05:32]cmd_close_receipt [06:05:32]MH_GetDate [06:05:32]Write to MH i2c: F0 00 00 83 0B 7D [06:05:32]Write i2c OK [06:05:32]MH_I2C_Read... [06:05:32]Read from MH i2c: F0 [06:05:32]MH_I2C_Read... [06:05:32]Read from MH i2c: F0 09 00 [06:05:32]MH_I2C_Read... [06:05:32]Read from MH i2c: F0 09 00 83 0B 00 2E BC 94 66 2D 25 5D 64 7D [06:05:32]GetLastDocTimeStamp 1721021653 [06:05:32]current date 1721023534 [06:05:32]FM_GetShiftState [06:05:32]SAM_PROTO_GetShiftState [06:05:32]wFMCommunicate request_size=4 [06:05:32]MH_SAM_APDU [06:05:32]CAPDU: 80 13 01 00 [06:05:32]Write to MH i2c: E2 08 00 84 0B 80 13 01 00 00 00 00 00 0C [06:05:32]Write i2c OK [06:05:32]MH_I2C_Read... [06:05:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [06:05:32]Read from MH i2c: E2 [06:05:32]MH_I2C_Read... [06:05:32]Read from MH i2c: E2 0E 00 [06:05:32]MH_I2C_Read... [06:05:32]Read from MH i2c: E2 0E 00 84 0B 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 85 [06:05:32]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [06:05:32]wFMCommunicate OK [06:05:32]SAM_PROTO_GetShiftState done [06:05:32]FM_GetShiftState done [06:05:32]opened in 1721003525 [06:05:32]opened+sec_in_day 1721089925 [06:05:32]quantity*price = 13000 [06:05:32]sum+1 = 13001 [06:05:32]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 СНО: Общий режим Чек 32 15.07.2024 06:05 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57137 ФПД: 125729196302485 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T060534&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57137&fm=125729196302485&tin=02508201610067®Number=0000000000091208&sum=13000 0 [06:05:33]StoreToDocumentArchive [06:05:33]shift 497 fd 57137 [06:05:33]save to /storage/0497/doc_00057137 [06:05:33]save last doc name /storage/0497/doc_00057137 to /storage/kkm_last_doc_name [06:05:33]save OK [06:05:33]Clear old archive folders... [06:05:33]ProcessDocumentItem done err = 0, tmpTLVsize=261 [06:05:33]tlvbuf is 009DD740 [06:05:33]SAM_PROTO_ClearQueue [06:05:33]wFMCommunicate request_size=4 [06:05:33]MH_SAM_APDU [06:05:33]CAPDU: 80 09 00 00 [06:05:33]Write to MH i2c: E2 08 00 91 0B 80 09 00 00 00 00 00 00 0E [06:05:33]Write i2c OK [06:05:33]MH_I2C_Read... [06:05:33]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [06:05:33]Read from MH i2c: E2 [06:05:33]MH_I2C_Read... [06:05:33]Read from MH i2c: E2 03 00 [06:05:33]MH_I2C_Read... [06:05:33]Read from MH i2c: E2 03 00 91 0B 00 90 00 10 [06:05:33]RAPDU: 90 00 [06:05:33]wFMCommunicate OK [06:05:33]SAM_PROTO_ClearQueue done [06:05:33]KKMCreateOFDPacket [06:05:33]OFDProtocolAddRootSTLVToBuf [06:05:33]FM_MakeSignedData [06:05:33]FM_MakeSignedData [06:05:33]SAM_PROTO_SignData [06:05:33]wFMCommunicate request_size=4 [06:05:33]MH_SAM_APDU [06:05:33]CAPDU: 80 0D 01 02 [06:05:33]Write to MH i2c: E2 08 00 92 0B 80 0D 01 02 00 00 00 00 16 [06:05:33]Write i2c OK [06:05:33]MH_I2C_Read... [06:05:33]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [06:05:33]Read from MH i2c: E2 [06:05:33]MH_I2C_Read... [06:05:33]Read from MH i2c: E2 03 00 [06:05:33]MH_I2C_Read... [06:05:33]Read from MH i2c: E2 03 00 92 0B 00 90 00 11 [06:05:33]RAPDU: 90 00 [06:05:33]wFMCommunicate OK [06:05:33]wFMCommunicate request_size=255 [06:05:33]MH_SAM_APDU [06:05:33]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 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 2E BC 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 [06:05:33]Write to MH i2c: E2 02 01 93 0B 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 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 2E BC 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 00 B6 [06:05:33]Write i2c OK [06:05:33]MH_I2C_Read... [06:05:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:05:33]Read from MH i2c: E2 [06:05:33]MH_I2C_Read... [06:05:33]Read from MH i2c: E2 03 00 [06:05:33]MH_I2C_Read... [06:05:33]Read from MH i2c: E2 03 00 93 0B 00 90 00 12 [06:05:33]RAPDU: 90 00 [06:05:33]wFMCommunicate OK [06:05:33]wFMCommunicate request_size=20 [06:05:33]MH_SAM_APDU [06:05:33]CAPDU: 80 0D 02 02 0F 00 31 DF 00 00 35 04 06 00 72 59 9C 15 60 95 [06:05:33]Write to MH i2c: E2 17 00 94 0B 80 0D 02 02 0F 00 00 31 DF 00 00 35 04 06 00 72 59 9C 15 60 95 00 00 F7 [06:05:33]Write i2c OK [06:05:33]MH_I2C_Read... [06:05:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:05:33]Read from MH i2c: E2 [06:05:33]MH_I2C_Read... [06:05:33]Read from MH i2c: E2 03 00 [06:05:33]MH_I2C_Read... [06:05:33]Read from MH i2c: E2 03 00 94 0B 00 90 00 13 [06:05:33]RAPDU: 90 00 [06:05:33]wFMCommunicate OK [06:05:33]wFMCommunicate request_size=4 [06:05:33]MH_SAM_APDU [06:05:33]CAPDU: 80 0D 03 02 [06:05:33]Write to MH i2c: E2 08 00 95 0B 80 0D 03 02 00 00 00 00 1B [06:05:33]Write i2c OK [06:05:33]MH_I2C_Read... [06:05:33]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [06:05:33]Read from MH i2c: E2 [06:05:33]MH_I2C_Read... [06:05:33]Read from MH i2c: E2 0B 00 [06:05:33]MH_I2C_Read... [06:05:33]Read from MH i2c: E2 0B 00 95 0B 00 0F 8E 2D BE 20 76 1B 54 90 00 A9 [06:05:33]RAPDU: 0F 8E 2D BE 20 76 1B 54 90 00 [06:05:33]wFMCommunicate OK [06:05:33]SAM_PROTO_SignData done [06:05:33]FM_MakeSignedData done [06:05:33]CreateOFDProtocolMessage [06:05:33]wFMCommunicate request_size=4 [06:05:33]MH_SAM_APDU [06:05:33]CAPDU: 80 11 00 00 [06:05:33]Write to MH i2c: E2 08 00 96 0B 80 11 00 00 00 00 00 00 1B [06:05:33]Write i2c OK [06:05:33]MH_I2C_Read... [06:05:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:05:33]Read from MH i2c: E2 [06:05:33]MH_I2C_Read... [06:05:33]Read from MH i2c: E2 17 00 [06:05:33]MH_I2C_Read... [06:05:33]Read from MH i2c: E2 17 00 96 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 75 [06:05:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [06:05:33]wFMCommunicate OK [06:05:33]CreateOFDProtocolMessage done [06:05:33]OFDSenderStorePacket 57137 [06:05:33]StoreOFDPacket docnum=57137 [06:05: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 19 01 00 00 42 11 11 01 BC 95 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 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 2E BC 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 31 DF 00 00 35 04 06 00 72 59 9C 15 60 95 0F 8E 2D BE 20 76 1B 54 [06:05:33]CheckFolder [06:05:33]dirname=/storage/ofd_packets [06:05:33]CheckFolder done [06:05:33]ProducePacketName [06:05:33]name=ofd_packets/00057137 [06:05:33]NVStorageSaveData ofd_packets/00057137 [06:05:33]File name is /storage/ofd_packets/00057137 [06:05:33]Write 311 bytes [06:05:33]NVStorageSaveData done [06:05:33]OFDSenderStorePacket done [06:05:33]KKMCreateOFDPacket done [06:05:33]NVStorageSaveData kkm_last_timestamp [06:05:33]File name is /storage/kkm_last_timestamp [06:05:33]Write 4 bytes [06:05:33]NVStorageSaveData done [06:05:33]ExternCall_PrintAddStr [06:05:33]wPrintStart [06:05:33]Write to MH i2c: 01 00 00 97 0B A2 [06:05:33]Write i2c OK [06:05:33]MH_I2C_Read... [06:05:33]Read from MH i2c: 01 [06:05:33]MH_I2C_Read... [06:05:33]Read from MH i2c: 01 07 00 [06:05:33]MH_I2C_Read... [06:05:33]Read from MH i2c: 01 07 00 97 0B 00 00 00 00 00 FF 0F B7 [06:05:33]RasterBufferAndPrint [06:05:33]line Счет N : (3)129592 [06:05:33]line ИНН: 02508201610067 [06:05:33]line Контрольно-Кассовый Чек [06:05:33]line ПРОДАЖА [06:05:33]line Товар: 48741156 [06:05:33]line Сигареты LD Blue [06:05:33]line 1.000 * 130.00 [06:05:33]line = 130.00 [06:05:33]line НДС 12% НСП 1% [06:05:33]line > о реализуемом товаре [06:05:33]line ИТОГО: 130.00 [06:05:33]line НСП 1% : 1.15 [06:05:33]line НДС 12% : 13.80 [06:05:33]line Наличными: 130.00 [06:05:33]line Безнал.: 0.00 [06:05:33]line Место: АЗС № 132 "Партнер Нефть" [06:05:33]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [06:05:33]line СНО: Общий режим [06:05:33]line Чек 32 15.07.2024 06:05 [06:05:33]line Смена: 497 ФФД: 1.0 [06:05:33]line ЗНМ: 0300000132 [06:05:33]line РНМ: 0000000000091208 [06:05:33]line Версия ККМ: 001 [06:05:33]line ФМ: 0000000000874857 [06:05:33]line ФД: 57137 [06:05:33]line ФПД: 125729196302485 [06:05:33]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T060534&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57137&fm=125729196302485&tin=02508201610067®Number=0000000000091208&sum=13000 [06:05:33]line 0 [06:05:34]written 0, free lines is 4095 [06:05:34]OFD Sender: Processing packet 57137 [packets to send 38, broken 37] [06:05:34]ProducePacketName [06:05:34]name=ofd_packets/00057137 [06:05:34]OFD Sender: To server: pG, [06:05:34]CommunicateWithHost lk.salyk.kg:30040 [06:05:34]ConnectInit lk.salyk.kg [06:05:34]Connected sock=10 [06:05: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 19 01 00 00 42 11 11 01 BC 95 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 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 2E BC 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 31 DF 00 00 35 04 06 00 72 59 9C 15 60 95 0F 8E 2D BE 20 76 1B 54 [06:05: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 2E A1 47 00 6D 5F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 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 31 DF 00 00 F4 03 04 00 7D 62 94 66 B6 04 01 00 00 00 65 D9 3A EB DB 6C D6 [06:05:34]CommunicateWithHost err = 0 [06:05:34]CheckOFDResponse [06:05:34]1017 (14) - 77093643461234 [06:05:34]1041 (16) - 0000000000874857 [06:05:34]1040 (4) - 57137 [06:05:34]1012 (4) - 14.07.2024 23:42 [06:05:34]1206 (1) - 0 [06:05:34]OFD Sender: Remove packet 57137 [06:05:34]ProducePacketName [06:05:34]name=ofd_packets/00057137 [06:05:34]NVStorageDeleteData [06:05:34]Write to MH i2c: 01 00 00 BF 0B CA [06:05:34]Write i2c OK [06:05:34]MH_I2C_Read... [06:05:34]Read from MH i2c: 01 [06:05:34]MH_I2C_Read... [06:05:34]Read from MH i2c: 01 07 00 [06:05:34]MH_I2C_Read... [06:05:34]Read from MH i2c: 01 07 00 BF 0B 00 00 00 00 00 09 0D E7 [06:05:34]RasterBufferAndPrint [06:05:34]line [06:05:34]line [06:05:34]line [06:05:34]line [06:05:34]line [06:05:34]written 0, free lines is 3345 [06:05:34]MH_Cut [06:05:34]Write to MH i2c: D1 01 00 C6 0B 01 A3 [06:05:34]Write i2c OK [06:05:34]MH_I2C_Read... [06:05:34]Read from MH i2c: D1 [06:05:34]MH_I2C_Read... [06:05:34]Read from MH i2c: D1 01 00 [06:05:34]MH_I2C_Read... [06:05:34]Read from MH i2c: D1 01 00 C6 0B 00 A2 [06:05:34]Write to MH i2c: 01 00 00 C7 0B D2 [06:05:34]Write i2c OK [06:05:34]MH_I2C_Read... [06:05:34]OFD Sender: No OFD packet to send [06:05:35]*** Cut start [06:05:35]*** Partial cut [06:05:35]*** CUTSNS_PIN = 1 [06:05:35]*** CUTSNS_PIN = 0 [06:05:35]*** Brake cut motor [06:05:35]Read from MH i2c: 01 [06:05:35]MH_I2C_Read... [06:05:35]*** Stop cut motor [06:05:35]*** Cut end [06:05:35]Read from MH i2c: 01 07 00 [06:05:35]MH_I2C_Read... [06:05:35]Read from MH i2c: 01 07 00 C7 0B 00 00 00 00 00 FF 0F E7 [06:05:35]process_action close_receipt done [06:05:35]requested_data is exist [06:05:35]produce_requested_data [06:05:35]requested_item fm.sn is exist - process it [06:05:35]wFMCommunicate request_size=4 [06:05:35]MH_SAM_APDU [06:05:35]CAPDU: 80 11 00 00 [06:05:35]Write to MH i2c: E2 08 00 C8 0B 80 11 00 00 00 00 00 00 4D [06:05:35]Write i2c OK [06:05:35]MH_I2C_Read... [06:05:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:05:35]Read from MH i2c: E2 [06:05:35]MH_I2C_Read... [06:05:35]Read from MH i2c: E2 17 00 [06:05:35]MH_I2C_Read... [06:05:35]Read from MH i2c: E2 17 00 C8 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 A7 [06:05:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [06:05:35]wFMCommunicate OK [06:05:35]requested_item fd.num is exist - process it [06:05:35]SAM_PROTO_GetFieldsCounters [06:05:35]wFMCommunicate request_size=4 [06:05:35]MH_SAM_APDU [06:05:35]CAPDU: 80 13 00 00 [06:05:35]Write to MH i2c: E2 08 00 C9 0B 80 13 00 00 00 00 00 00 50 [06:05:35]Write i2c OK [06:05:35]MH_I2C_Read... [06:05:36]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [06:05:36]Read from MH i2c: E2 [06:05:36]MH_I2C_Read... [06:05:36]Read from MH i2c: E2 62 00 [06:05:36]MH_I2C_Read... [06:05:36]Read from MH i2c: E2 62 00 C9 0B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 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 31 DF 00 00 0E 04 04 00 F1 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 D5 [06:05: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 31 DF 00 00 0E 04 04 00 F1 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 [06:05:36]wFMCommunicate OK [06:05:36]SAM_PROTO_GetFieldsCounters done [06:05:36]requested_item shift.num is exist - process it [06:05:36]requested_item shift.opened is exist - process it [06:05:36]req_shift_opened [06:05:36]FM_GetShiftState [06:05:36]SAM_PROTO_GetShiftState [06:05:36]wFMCommunicate request_size=4 [06:05:36]MH_SAM_APDU [06:05:36]CAPDU: 80 13 01 00 [06:05:36]Write to MH i2c: E2 08 00 CA 0B 80 13 01 00 00 00 00 00 52 [06:05:36]Write i2c OK [06:05:36]MH_I2C_Read... [06:05:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [06:05:36]Read from MH i2c: E2 [06:05:36]MH_I2C_Read... [06:05:36]Read from MH i2c: E2 0E 00 [06:05:36]MH_I2C_Read... [06:05:36]Read from MH i2c: E2 0E 00 CA 0B 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 CB [06:05:36]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [06:05:36]wFMCommunicate OK [06:05:36]SAM_PROTO_GetShiftState done [06:05:36]FM_GetShiftState done [06:05:36]req_shift_opened done [06:05:36]requested_item shift.open_date is exist - process it [06:05:36]req_shift_open_date [06:05:36]req_shift_open_date done [06:05:36]requested_item shift.sale.total is exist - process it [06:05:36]SAM_PROTO_GetShiftData [06:05:36]wFMCommunicate request_size=4 [06:05:36]MH_SAM_APDU [06:05:36]CAPDU: 80 13 02 00 [06:05:36]Write to MH i2c: E2 08 00 CB 0B 80 13 02 00 00 00 00 00 54 [06:05:36]Write i2c OK [06:05:36]MH_I2C_Read... [06:05:36]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [06:05:36]Read from MH i2c: E2 [06:05:36]MH_I2C_Read... [06:05:36]Read from MH i2c: E2 FD 00 [06:05:36]MH_I2C_Read... [06:05:36]Read from MH i2c: E2 FD 00 CB 0B 00 B6 04 AA 04 B2 04 6E 04 04 00 20 00 00 00 69 04 9B 00 6F 04 04 00 1F 00 00 00 B1 04 03 00 41 62 0D 70 04 03 00 2C 4E 08 72 04 03 00 15 14 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 D5 6B 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 52 1E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 06 [06:05:36]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 20 00 00 00 69 04 9B 00 6F 04 04 00 1F 00 00 00 B1 04 03 00 41 62 0D 70 04 03 00 2C 4E 08 72 04 03 00 15 14 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 D5 6B 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 52 1E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 [06:05:36]wFMCommunicate OK [06:05:36]wFMCommunicate request_size=4 [06:05:36]MH_SAM_APDU [06:05:36]CAPDU: 80 17 00 00 [06:05:36]Write to MH i2c: E2 08 00 CC 0B 80 17 00 00 00 00 00 00 57 [06:05:36]Write i2c OK [06:05:36]MH_I2C_Read... [06:05:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [06:05:36]Read from MH i2c: E2 [06:05:36]MH_I2C_Read... [06:05:36]Read from MH i2c: E2 FD 00 [06:05:36]MH_I2C_Read... [06:05:36]Read from MH i2c: E2 FD 00 CC 0B 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 8C [06:05: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 [06:05:36]wFMCommunicate OK [06:05:36]wFMCommunicate request_size=4 [06:05:36]MH_SAM_APDU [06:05:36]CAPDU: 80 17 00 00 [06:05:36]Write to MH i2c: E2 08 00 CD 0B 80 17 00 00 00 00 00 00 58 [06:05:36]Write i2c OK [06:05:36]MH_I2C_Read... [06:05:37]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [06:05:37]Read from MH i2c: E2 [06:05:37]MH_I2C_Read... [06:05:37]Read from MH i2c: E2 FD 00 [06:05:37]MH_I2C_Read... [06:05:37]Read from MH i2c: E2 FD 00 CD 0B 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 18 [06:05:37]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 [06:05:37]wFMCommunicate OK [06:05:37]wFMCommunicate request_size=4 [06:05:37]MH_SAM_APDU [06:05:37]CAPDU: 80 17 00 00 [06:05:37]Write to MH i2c: E2 08 00 CE 0B 80 17 00 00 00 00 00 00 59 [06:05:37]Write i2c OK [06:05:37]MH_I2C_Read... [06:05:37]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [06:05:37]Read from MH i2c: E2 [06:05:37]MH_I2C_Read... [06:05:37]Read from MH i2c: E2 FD 00 [06:05:37]MH_I2C_Read... [06:05:37]Read from MH i2c: E2 FD 00 CE 0B 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 C8 [06:05:37]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 [06:05:37]wFMCommunicate OK [06:05:37]wFMCommunicate request_size=4 [06:05:37]MH_SAM_APDU [06:05:37]CAPDU: 80 17 00 00 [06:05:37]Write to MH i2c: E2 08 00 CF 0B 80 17 00 00 00 00 00 00 5A [06:05:37]Write i2c OK [06:05:37]MH_I2C_Read... [06:05:37]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [06:05:37]Read from MH i2c: E2 [06:05:37]MH_I2C_Read... [06:05:37]Read from MH i2c: E2 D3 00 [06:05:37]MH_I2C_Read... [06:05:37]Read from MH i2c: E2 D3 00 CF 0B 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 47 [06:05:37]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 [06:05:37]wFMCommunicate OK [06:05:37]SAM_PROTO_GetShiftData done [06:05:37]requested_item shift.sale.total_cash is exist - process it [06:05:37]requested_item shift.sale_refund.total is exist - process it [06:05:37]requested_item shift.sale_refund.total_cash is exist - process it [06:05:37]produce_requested_data done [06:05:37]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57137,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":8771.21,"shift.sale.total_cash":5443.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [06:05:37]process_action_free close_receipt [06:05:37]json_value_free [06:05:37]json_value_free done [06:05:37]process_json_proto returns [06:05:37]Send response to host [06:05:37]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57137,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":8771.21,"shift.sale.total_cash":5443.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [06:05:37]free response buf [06:05:37]execute_script done [06:05:37]execute_script returns [06:05:37]free content buf [06:05:37]Sock 9.Close socket [06:05:37]Sock 9.Thread stoped [06:05:40]OFD Sender: No OFD packet to send [06:05:45]OFD Sender: No OFD packet to send [06:05:50]OFD Sender: No OFD packet to send [06:05:55]OFD Sender: No OFD packet to send [06:06:00]OFD Sender: No OFD packet to send [06:06:05]OFD Sender: No OFD packet to send [06:06:10]OFD Sender: No OFD packet to send [06:06:15]OFD Sender: No OFD packet to send [06:06:20]OFD Sender: No OFD packet to send [06:06:25]OFD Sender: No OFD packet to send [06:06:30]OFD Sender: No OFD packet to send [06:06:35]OFD Sender: No OFD packet to send [06:06:40]OFD Sender: No OFD packet to send [06:06:45]OFD Sender: No OFD packet to send [06:06:50]OFD Sender: No OFD packet to send [06:06:55]OFD Sender: No OFD packet to send [06:07:00]OFD Sender: No OFD packet to send [06:07:05]OFD Sender: No OFD packet to send [06:07:10]OFD Sender: No OFD packet to send [06:07:15]OFD Sender: No OFD packet to send [06:07:20]OFD Sender: No OFD packet to send [06:07:25]OFD Sender: No OFD packet to send [06:07:30]OFD Sender: No OFD packet to send [06:07:35]OFD Sender: No OFD packet to send [06:07:40]OFD Sender: No OFD packet to send [06:07:45]OFD Sender: No OFD packet to send [06:07:50]OFD Sender: No OFD packet to send [06:07:55]OFD Sender: No OFD packet to send [06:08:00]OFD Sender: No OFD packet to send [06:08:05]OFD Sender: No OFD packet to send [06:08:10]OFD Sender: No OFD packet to send [06:08:15]OFD Sender: No OFD packet to send [06:08:20]OFD Sender: No OFD packet to send [06:08:25]OFD Sender: No OFD packet to send [06:08:30]OFD Sender: No OFD packet to send [06:08:35]OFD Sender: No OFD packet to send [06:08:40]OFD Sender: No OFD packet to send [06:08:45]OFD Sender: No OFD packet to send [06:08:50]OFD Sender: No OFD packet to send [06:08:55]OFD Sender: No OFD packet to send [06:09:00]OFD Sender: No OFD packet to send [06:09:05]OFD Sender: No OFD packet to send [06:09:10]OFD Sender: No OFD packet to send [06:09:15]OFD Sender: No OFD packet to send [06:09:20]OFD Sender: No OFD packet to send [06:09:25]OFD Sender: No OFD packet to send [06:09:30]OFD Sender: No OFD packet to send [06:09:35]OFD Sender: No OFD packet to send [06:09:40]OFD Sender: No OFD packet to send [06:09:45]OFD Sender: No OFD packet to send [06:09:50]OFD Sender: No OFD packet to send [06:09:55]OFD Sender: No OFD packet to send [06:10:00]OFD Sender: No OFD packet to send [06:10:05]OFD Sender: No OFD packet to send [06:10:10]OFD Sender: No OFD packet to send [06:10:15]OFD Sender: No OFD packet to send [06:10:20]OFD Sender: No OFD packet to send [06:10:25]OFD Sender: No OFD packet to send [06:10:30]OFD Sender: No OFD packet to send [06:10:35]OFD Sender: No OFD packet to send [06:10:40]OFD Sender: No OFD packet to send [06:10:45]OFD Sender: No OFD packet to send [06:10:50]OFD Sender: No OFD packet to send [06:10:55]OFD Sender: No OFD packet to send [06:11:00]OFD Sender: No OFD packet to send [06:11:05]OFD Sender: No OFD packet to send [06:11:10]OFD Sender: No OFD packet to send [06:11:15]OFD Sender: No OFD packet to send [06:11:20]OFD Sender: No OFD packet to send [06:11:25]OFD Sender: No OFD packet to send [06:11:30]OFD Sender: No OFD packet to send [06:11:35]OFD Sender: No OFD packet to send [06:11:40]OFD Sender: No OFD packet to send [06:11:45]OFD Sender: No OFD packet to send [06:11:50]OFD Sender: No OFD packet to send [06:11:55]OFD Sender: No OFD packet to send [06:12:00]OFD Sender: No OFD packet to send [06:12:05]OFD Sender: No OFD packet to send [06:12:10]OFD Sender: No OFD packet to send [06:12:15]OFD Sender: No OFD packet to send [06:12:20]OFD Sender: No OFD packet to send [06:12:25]OFD Sender: No OFD packet to send [06:12:30]OFD Sender: No OFD packet to send [06:12:35]OFD Sender: No OFD packet to send [06:12:40]OFD Sender: No OFD packet to send [06:12:45]OFD Sender: No OFD packet to send [06:12:50]OFD Sender: No OFD packet to send [06:12:55]OFD Sender: No OFD packet to send [06:13:00]OFD Sender: No OFD packet to send [06:13:05]OFD Sender: No OFD packet to send [06:13:10]OFD Sender: No OFD packet to send [06:13:15]OFD Sender: No OFD packet to send [06:13:20]OFD Sender: No OFD packet to send [06:13:25]OFD Sender: No OFD packet to send [06:13:30]OFD Sender: No OFD packet to send [06:13:35]OFD Sender: No OFD packet to send [06:13:40]OFD Sender: No OFD packet to send [06:13:45]OFD Sender: No OFD packet to send [06:13:50]OFD Sender: No OFD packet to send [06:13:55]OFD Sender: No OFD packet to send [06:14:00]OFD Sender: No OFD packet to send [06:14:05]OFD Sender: No OFD packet to send [06:14:10]OFD Sender: No OFD packet to send [06:14:15]OFD Sender: No OFD packet to send [06:14:20]OFD Sender: No OFD packet to send [06:14:25]OFD Sender: No OFD packet to send [06:14:30]OFD Sender: No OFD packet to send [06:14:35]OFD Sender: No OFD packet to send [06:14:40]OFD Sender: No OFD packet to send [06:14:45]OFD Sender: No OFD packet to send [06:14:50]OFD Sender: No OFD packet to send [06:14:55]OFD Sender: No OFD packet to send [06:15:00]OFD Sender: No OFD packet to send [06:15:05]OFD Sender: No OFD packet to send [06:15:10]OFD Sender: No OFD packet to send [06:15:15]OFD Sender: No OFD packet to send [06:15:20]OFD Sender: No OFD packet to send [06:15:25]OFD Sender: No OFD packet to send [06:15:30]OFD Sender: No OFD packet to send [06:15:35]OFD Sender: No OFD packet to send [06:15:40]OFD Sender: No OFD packet to send [06:15:45]OFD Sender: No OFD packet to send [06:15:50]OFD Sender: No OFD packet to send [06:15:55]OFD Sender: No OFD packet to send [06:16:00]OFD Sender: No OFD packet to send [06:16:05]OFD Sender: No OFD packet to send [06:16:10]OFD Sender: No OFD packet to send [06:16:15]OFD Sender: No OFD packet to send [06:16:20]OFD Sender: No OFD packet to send [06:16:25]OFD Sender: No OFD packet to send [06:16:30]OFD Sender: No OFD packet to send [06:16:35]OFD Sender: No OFD packet to send [06:16:40]OFD Sender: No OFD packet to send [06:16:45]OFD Sender: No OFD packet to send [06:16:50]OFD Sender: No OFD packet to send [06:16:55]OFD Sender: No OFD packet to send [06:17:00]OFD Sender: No OFD packet to send [06:17:05]OFD Sender: No OFD packet to send [06:17:10]OFD Sender: No OFD packet to send [06:17:15]OFD Sender: No OFD packet to send [06:17:20]OFD Sender: No OFD packet to send [06:17:25]OFD Sender: No OFD packet to send [06:17:30]OFD Sender: No OFD packet to send [06:17:35]OFD Sender: No OFD packet to send [06:17:40]OFD Sender: No OFD packet to send [06:17:45]OFD Sender: No OFD packet to send [06:17:50]OFD Sender: No OFD packet to send [06:17:55]OFD Sender: No OFD packet to send [06:18:00]OFD Sender: No OFD packet to send [06:18:05]OFD Sender: No OFD packet to send [06:18:10]OFD Sender: No OFD packet to send [06:18:15]OFD Sender: No OFD packet to send [06:18:20]OFD Sender: No OFD packet to send [06:18:25]OFD Sender: No OFD packet to send [06:18:30]OFD Sender: No OFD packet to send [06:18:35]OFD Sender: No OFD packet to send [06:18:40]OFD Sender: No OFD packet to send [06:18:45]OFD Sender: No OFD packet to send [06:18:50]OFD Sender: No OFD packet to send [06:18:55]OFD Sender: No OFD packet to send [06:19:00]OFD Sender: No OFD packet to send [06:19:05]OFD Sender: No OFD packet to send [06:19:10]OFD Sender: No OFD packet to send [06:19:15]OFD Sender: No OFD packet to send [06:19:20]OFD Sender: No OFD packet to send [06:19:25]OFD Sender: No OFD packet to send [06:19:30]OFD Sender: No OFD packet to send [06:19:35]OFD Sender: No OFD packet to send [06:19:40]OFD Sender: No OFD packet to send [06:19:45]OFD Sender: No OFD packet to send [06:19:50]OFD Sender: No OFD packet to send [06:19:55]OFD Sender: No OFD packet to send [06:20:00]OFD Sender: No OFD packet to send [06:20:05]OFD Sender: No OFD packet to send [06:20:10]OFD Sender: No OFD packet to send [06:20:15]OFD Sender: No OFD packet to send [06:20:20]OFD Sender: No OFD packet to send [06:20:25]OFD Sender: No OFD packet to send [06:20:30]OFD Sender: No OFD packet to send [06:20:35]OFD Sender: No OFD packet to send [06:20:40]OFD Sender: No OFD packet to send [06:20:45]OFD Sender: No OFD packet to send [06:20:50]OFD Sender: No OFD packet to send [06:20:55]OFD Sender: No OFD packet to send [06:21:00]OFD Sender: No OFD packet to send [06:21:05]OFD Sender: No OFD packet to send [06:21:10]OFD Sender: No OFD packet to send [06:21:15]OFD Sender: No OFD packet to send [06:21:20]OFD Sender: No OFD packet to send [06:21:25]OFD Sender: No OFD packet to send [06:21:30]OFD Sender: No OFD packet to send [06:21:35]OFD Sender: No OFD packet to send [06:21:40]OFD Sender: No OFD packet to send [06:21:45]OFD Sender: No OFD packet to send [06:21:50]OFD Sender: No OFD packet to send [06:21:55]OFD Sender: No OFD packet to send [06:22:00]OFD Sender: No OFD packet to send [06:22:05]OFD Sender: No OFD packet to send [06:22:10]OFD Sender: No OFD packet to send [06:22:15]OFD Sender: No OFD packet to send [06:22:20]OFD Sender: No OFD packet to send [06:22:25]OFD Sender: No OFD packet to send [06:22:30]OFD Sender: No OFD packet to send [06:22:35]OFD Sender: No OFD packet to send [06:22:40]OFD Sender: No OFD packet to send [06:22:45]OFD Sender: No OFD packet to send [06:22:50]OFD Sender: No OFD packet to send [06:22:55]OFD Sender: No OFD packet to send [06:23:00]OFD Sender: No OFD packet to send [06:23:05]OFD Sender: No OFD packet to send [06:23:10]OFD Sender: No OFD packet to send [06:23:15]OFD Sender: No OFD packet to send [06:23:20]OFD Sender: No OFD packet to send [06:23:25]OFD Sender: No OFD packet to send [06:23:30]OFD Sender: No OFD packet to send [06:23:35]OFD Sender: No OFD packet to send [06:23:40]OFD Sender: No OFD packet to send [06:23:45]OFD Sender: No OFD packet to send [06:23:50]OFD Sender: No OFD packet to send [06:23:55]OFD Sender: No OFD packet to send [06:24:00]OFD Sender: No OFD packet to send [06:24:05]OFD Sender: No OFD packet to send [06:24:10]OFD Sender: No OFD packet to send [06:24:16]OFD Sender: No OFD packet to send [06:24:21]OFD Sender: No OFD packet to send [06:24:26]OFD Sender: No OFD packet to send [06:24:31]OFD Sender: No OFD packet to send [06:24:36]OFD Sender: No OFD packet to send [06:24:41]OFD Sender: No OFD packet to send [06:24:46]OFD Sender: No OFD packet to send [06:24:51]OFD Sender: No OFD packet to send [06:24:56]OFD Sender: No OFD packet to send [06:25:01]OFD Sender: No OFD packet to send [06:25:06]OFD Sender: No OFD packet to send [06:25:11]OFD Sender: No OFD packet to send [06:25:16]OFD Sender: No OFD packet to send [06:25:21]OFD Sender: No OFD packet to send [06:25:26]OFD Sender: No OFD packet to send [06:25:31]OFD Sender: No OFD packet to send [06:25:36]OFD Sender: No OFD packet to send [06:25:41]OFD Sender: No OFD packet to send [06:25:46]OFD Sender: No OFD packet to send [06:25:51]OFD Sender: No OFD packet to send [06:25:56]OFD Sender: No OFD packet to send [06:26:01]OFD Sender: No OFD packet to send [06:26:06]OFD Sender: No OFD packet to send [06:26:11]OFD Sender: No OFD packet to send [06:26:16]OFD Sender: No OFD packet to send [06:26:21]OFD Sender: No OFD packet to send [06:26:26]OFD Sender: No OFD packet to send [06:26:31]OFD Sender: No OFD packet to send [06:26:36]OFD Sender: No OFD packet to send [06:26:41]OFD Sender: No OFD packet to send [06:26:46]OFD Sender: No OFD packet to send [06:26:51]OFD Sender: No OFD packet to send [06:26:56]OFD Sender: No OFD packet to send [06:27:01]OFD Sender: No OFD packet to send [06:27:06]OFD Sender: No OFD packet to send [06:27:11]OFD Sender: No OFD packet to send [06:27:16]OFD Sender: No OFD packet to send [06:27:21]OFD Sender: No OFD packet to send [06:27:26]OFD Sender: No OFD packet to send [06:27:31]OFD Sender: No OFD packet to send [06:27:36]OFD Sender: No OFD packet to send [06:27:41]OFD Sender: No OFD packet to send [06:27:46]OFD Sender: No OFD packet to send [06:27:51]OFD Sender: No OFD packet to send [06:27:56]OFD Sender: No OFD packet to send [06:28:01]OFD Sender: No OFD packet to send [06:28:06]OFD Sender: No OFD packet to send [06:28:11]OFD Sender: No OFD packet to send [06:28:16]OFD Sender: No OFD packet to send [06:28:21]OFD Sender: No OFD packet to send [06:28:26]OFD Sender: No OFD packet to send [06:28:31]OFD Sender: No OFD packet to send [06:28:36]OFD Sender: No OFD packet to send [06:28:41]OFD Sender: No OFD packet to send [06:28:46]OFD Sender: No OFD packet to send [06:28:51]OFD Sender: No OFD packet to send [06:28:56]OFD Sender: No OFD packet to send [06:29:01]OFD Sender: No OFD packet to send [06:29:06]OFD Sender: No OFD packet to send [06:29:11]OFD Sender: No OFD packet to send [06:29:16]OFD Sender: No OFD packet to send [06:29:21]OFD Sender: No OFD packet to send [06:29:26]OFD Sender: No OFD packet to send [06:29:31]OFD Sender: No OFD packet to send [06:29:36]OFD Sender: No OFD packet to send [06:29:41]OFD Sender: No OFD packet to send [06:29:46]OFD Sender: No OFD packet to send [06:29:51]OFD Sender: No OFD packet to send [06:29:56]OFD Sender: No OFD packet to send [06:30:01]OFD Sender: No OFD packet to send [06:30:06]OFD Sender: No OFD packet to send [06:30:11]OFD Sender: No OFD packet to send [06:30:16]OFD Sender: No OFD packet to send [06:30:21]OFD Sender: No OFD packet to send [06:30:26]OFD Sender: No OFD packet to send [06:30:31]OFD Sender: No OFD packet to send [06:30:36]OFD Sender: No OFD packet to send [06:30:41]OFD Sender: No OFD packet to send [06:30:46]OFD Sender: No OFD packet to send [06:30:51]OFD Sender: No OFD packet to send [06:30:56]OFD Sender: No OFD packet to send [06:31:01]OFD Sender: No OFD packet to send [06:31:06]OFD Sender: No OFD packet to send [06:31:11]OFD Sender: No OFD packet to send [06:31:16]OFD Sender: No OFD packet to send [06:31:21]OFD Sender: No OFD packet to send [06:31:26]OFD Sender: No OFD packet to send [06:31:31]OFD Sender: No OFD packet to send [06:31:36]OFD Sender: No OFD packet to send [06:31:41]OFD Sender: No OFD packet to send [06:31:46]OFD Sender: No OFD packet to send [06:31:51]OFD Sender: No OFD packet to send [06:31:56]OFD Sender: No OFD packet to send [06:32:01]OFD Sender: No OFD packet to send [06:32:06]OFD Sender: No OFD packet to send [06:32:11]OFD Sender: No OFD packet to send [06:32:16]OFD Sender: No OFD packet to send [06:32:21]OFD Sender: No OFD packet to send [06:32:26]OFD Sender: No OFD packet to send [06:32:31]OFD Sender: No OFD packet to send [06:32:36]OFD Sender: No OFD packet to send [06:32:41]OFD Sender: No OFD packet to send [06:32:46]OFD Sender: No OFD packet to send [06:32:51]OFD Sender: No OFD packet to send [06:32:56]OFD Sender: No OFD packet to send [06:33:01]OFD Sender: No OFD packet to send [06:33:06]OFD Sender: No OFD packet to send [06:33:11]OFD Sender: No OFD packet to send [06:33:16]OFD Sender: No OFD packet to send [06:33:21]OFD Sender: No OFD packet to send [06:33:26]OFD Sender: No OFD packet to send [06:33:31]OFD Sender: No OFD packet to send [06:33:36]OFD Sender: No OFD packet to send [06:33:41]OFD Sender: No OFD packet to send [06:33:46]OFD Sender: No OFD packet to send [06:33:51]OFD Sender: No OFD packet to send [06:33:56]OFD Sender: No OFD packet to send [06:34:01]OFD Sender: No OFD packet to send [06:34:06]OFD Sender: No OFD packet to send [06:34:11]OFD Sender: No OFD packet to send [06:34:16]OFD Sender: No OFD packet to send [06:34:21]OFD Sender: No OFD packet to send [06:34:26]OFD Sender: No OFD packet to send [06:34:31]OFD Sender: No OFD packet to send [06:34:36]OFD Sender: No OFD packet to send [06:34:41]OFD Sender: No OFD packet to send [06:34:46]OFD Sender: No OFD packet to send [06:34:51]OFD Sender: No OFD packet to send [06:34:56]OFD Sender: No OFD packet to send [06:35:01]OFD Sender: No OFD packet to send [06:35:06]OFD Sender: No OFD packet to send [06:35:11]OFD Sender: No OFD packet to send [06:35:16]OFD Sender: No OFD packet to send [06:35:21]OFD Sender: No OFD packet to send [06:35:26]OFD Sender: No OFD packet to send [06:35:31]OFD Sender: No OFD packet to send [06:35:36]OFD Sender: No OFD packet to send [06:35:41]OFD Sender: No OFD packet to send [06:35:46]OFD Sender: No OFD packet to send [06:35:51]OFD Sender: No OFD packet to send [06:35:56]OFD Sender: No OFD packet to send [06:36:01]OFD Sender: No OFD packet to send [06:36:06]OFD Sender: No OFD packet to send [06:36:11]OFD Sender: No OFD packet to send [06:36:16]OFD Sender: No OFD packet to send [06:36:18]accept exits with 8 [06:36:18]New connection [06:36:18]New thread 3066924388 created [06:36:18]Thread 3067067748 joined [06:36:18]Waiting for new connection... [06:36:18] Sock 8.Parse request [06:36:18]Sock 8.Check first char [06:36:18]Sock 8.First char is OK [06:36:18]request: POST /json_proto HTTP/1.0 [06:36:18]Method: POST [06:36:18]URL: /json_proto [06:36:18]Method is POST - this is cgi request [06:36:18]url: /json_proto [06:36:18]query_string will be loaded in cgi processing [06:36:18]execute_cgi json_proto POST (null) [06:36:18]execute_cgi path=json_proto method=POST [06:36:18]POST find Content-Length [06:36:18]Host: 172.17.39.4:8080 [06:36:18]Content-Length: 1007 [06:36:18]Content-Type: application/json [06:36:18] [06:36:18]POST finish read [06:36:18]Found Content-Length = 1007 [06:36:18]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129593", "tax_sys" : 0, "items" : [ { "code": "4870202521292", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0421\u043E\u043A \u0431\u0435\u0440\u0435\u0437\u044B 1,2\u043B", "price" : 125.00, "quantity" : 1.000, "sum" : 125.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" : 265.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:36:18]execute_script... [06:36:18]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129593", "tax_sys" : 0, "items" : [ { "code": "4870202521292", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0421\u043E\u043A \u0431\u0435\u0440\u0435\u0437\u044B 1,2\u043B", "price" : 125.00, "quantity" : 1.000, "sum" : 125.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" : 265.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:36:18]POST & json_proto [06:36:18]process_json_proto [06:36:18]json parsed OK: [06:36:18]protocol is kg_v1.0 [06:36:18]action value=close_receipt [06:36:18]process_action close_receipt [06:36:18]cmd_close_receipt [06:36:18]MH_GetDate [06:36:18]Write to MH i2c: F0 00 00 D0 0B CA [06:36:18]Write i2c OK [06:36:18]MH_I2C_Read... [06:36:18]Read from MH i2c: F0 [06:36:18]MH_I2C_Read... [06:36:18]Read from MH i2c: F0 09 00 [06:36:18]MH_I2C_Read... [06:36:18]Read from MH i2c: F0 09 00 D0 0B 00 64 C3 94 66 2D 25 5D 64 07 [06:36:18]GetLastDocTimeStamp 1721023534 [06:36:18]current date 1721025380 [06:36:18]FM_GetShiftState [06:36:18]SAM_PROTO_GetShiftState [06:36:18]wFMCommunicate request_size=4 [06:36:18]MH_SAM_APDU [06:36:18]CAPDU: 80 13 01 00 [06:36:18]Write to MH i2c: E2 08 00 D1 0B 80 13 01 00 00 00 00 00 59 [06:36:18]Write i2c OK [06:36:18]MH_I2C_Read... [06:36:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [06:36:18]Read from MH i2c: E2 [06:36:18]MH_I2C_Read... [06:36:18]Read from MH i2c: E2 0E 00 [06:36:18]MH_I2C_Read... [06:36:18]Read from MH i2c: E2 0E 00 D1 0B 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 D2 [06:36:18]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [06:36:18]wFMCommunicate OK [06:36:18]SAM_PROTO_GetShiftState done [06:36:18]FM_GetShiftState done [06:36:18]opened in 1721003525 [06:36:18]opened+sec_in_day 1721089925 [06:36:18]quantity*price = 12500 [06:36:18]sum+1 = 12501 [06:36:18]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 48743570 Сигареты Winston XStyle Blue 1.000 * 140.00 = 140.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 265.00 НСП 1% : 2.35 НДС 12% : 28.14 Наличными: 265.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 33 15.07.2024 06:36 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57138 ФПД: 258302582097273 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T063620&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57138&fm=258302582097273&tin=02508201610067®Number=0000000000091208&sum=26500 0 [06:36:19]StoreToDocumentArchive [06:36:19]shift 497 fd 57138 [06:36:19]save to /storage/0497/doc_00057138 [06:36:19]save last doc name /storage/0497/doc_00057138 to /storage/kkm_last_doc_name [06:36:19]save OK [06:36:19]Clear old archive folders... [06:36:19]ProcessDocumentItem done err = 0, tmpTLVsize=385 [06:36:19]tlvbuf is 00991A40 [06:36:19]SAM_PROTO_ClearQueue [06:36:19]wFMCommunicate request_size=4 [06:36:19]MH_SAM_APDU [06:36:19]CAPDU: 80 09 00 00 [06:36:19]Write to MH i2c: E2 08 00 DE 0B 80 09 00 00 00 00 00 00 5B [06:36:19]Write i2c OK [06:36:19]MH_I2C_Read... [06:36:19]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [06:36:19]Read from MH i2c: E2 [06:36:19]MH_I2C_Read... [06:36:19]Read from MH i2c: E2 03 00 [06:36:19]MH_I2C_Read... [06:36:19]Read from MH i2c: E2 03 00 DE 0B 00 90 00 5D [06:36:19]RAPDU: 90 00 [06:36:19]wFMCommunicate OK [06:36:19]SAM_PROTO_ClearQueue done [06:36:19]KKMCreateOFDPacket [06:36:19]OFDProtocolAddRootSTLVToBuf [06:36:19]FM_MakeSignedData [06:36:19]FM_MakeSignedData [06:36:19]SAM_PROTO_SignData [06:36:19]wFMCommunicate request_size=4 [06:36:19]MH_SAM_APDU [06:36:19]CAPDU: 80 0D 01 02 [06:36:19]Write to MH i2c: E2 08 00 DF 0B 80 0D 01 02 00 00 00 00 63 [06:36:19]Write i2c OK [06:36:19]MH_I2C_Read... [06:36:19]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [06:36:19]Read from MH i2c: E2 [06:36:19]MH_I2C_Read... [06:36:19]Read from MH i2c: E2 03 00 [06:36:19]MH_I2C_Read... [06:36:19]Read from MH i2c: E2 03 00 DF 0B 00 90 00 5E [06:36:19]RAPDU: 90 00 [06:36:19]wFMCommunicate OK [06:36:19]wFMCommunicate request_size=255 [06:36:19]MH_SAM_APDU [06:36:19]CAPDU: 80 0D 02 02 FA 03 00 81 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 39 32 06 04 28 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A1 D0 BE D0 BA 20 D0 B1 D0 B5 D1 80 D0 B5 D0 B7 D1 8B 20 31 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 84 67 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 [06:36:19]Write to MH i2c: E2 02 01 E0 0B 80 0D 02 02 FA 00 03 00 81 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 39 32 06 04 28 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A1 D0 BE D0 BA 20 D0 B1 D0 B5 D1 80 D0 B5 D0 B7 D1 8B 20 31 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 84 67 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 D0 [06:36:19]Write i2c OK [06:36:19]MH_I2C_Read... [06:36:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:36:19]Read from MH i2c: E2 [06:36:19]MH_I2C_Read... [06:36:19]Read from MH i2c: E2 03 00 [06:36:19]MH_I2C_Read... [06:36:19]Read from MH i2c: E2 03 00 E0 0B 00 90 00 5F [06:36:19]RAPDU: 90 00 [06:36:19]wFMCommunicate OK [06:36:19]wFMCommunicate request_size=144 [06:36:19]MH_SAM_APDU [06:36:19]CAPDU: 80 0D 02 02 8B 00 EB 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FE 0A 00 00 00 00 07 04 06 00 84 67 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 21 00 00 00 F4 03 04 00 64 C3 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 32 DF 00 00 35 04 06 00 EA EC C1 A6 85 79 [06:36:19]Write to MH i2c: E2 93 00 E1 0B 80 0D 02 02 8B 00 00 EB 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FE 0A 00 00 00 00 07 04 06 00 84 67 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 21 00 00 00 F4 03 04 00 64 C3 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 32 DF 00 00 35 04 06 00 EA EC C1 A6 85 79 00 00 09 [06:36:19]Write i2c OK [06:36:19]MH_I2C_Read... [06:36:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:36:19]Read from MH i2c: E2 [06:36:19]MH_I2C_Read... [06:36:19]Read from MH i2c: E2 03 00 [06:36:19]MH_I2C_Read... [06:36:19]Read from MH i2c: E2 03 00 E1 0B 00 90 00 60 [06:36:19]RAPDU: 90 00 [06:36:19]wFMCommunicate OK [06:36:19]wFMCommunicate request_size=4 [06:36:19]MH_SAM_APDU [06:36:19]CAPDU: 80 0D 03 02 [06:36:19]Write to MH i2c: E2 08 00 E2 0B 80 0D 03 02 00 00 00 00 68 [06:36:19]Write i2c OK [06:36:19]MH_I2C_Read... [06:36:20]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [06:36:20]Read from MH i2c: E2 [06:36:20]MH_I2C_Read... [06:36:20]Read from MH i2c: E2 0B 00 [06:36:20]MH_I2C_Read... [06:36:20]Read from MH i2c: E2 0B 00 E2 0B 00 29 29 8D 84 DE F9 50 F5 90 00 E8 [06:36:20]RAPDU: 29 29 8D 84 DE F9 50 F5 90 00 [06:36:20]wFMCommunicate OK [06:36:20]SAM_PROTO_SignData done [06:36:20]FM_MakeSignedData done [06:36:20]CreateOFDProtocolMessage [06:36:20]wFMCommunicate request_size=4 [06:36:20]MH_SAM_APDU [06:36:20]CAPDU: 80 11 00 00 [06:36:20]Write to MH i2c: E2 08 00 E3 0B 80 11 00 00 00 00 00 00 68 [06:36:20]Write i2c OK [06:36:20]MH_I2C_Read... [06:36:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:36:20]Read from MH i2c: E2 [06:36:20]MH_I2C_Read... [06:36:20]Read from MH i2c: E2 17 00 [06:36:20]MH_I2C_Read... [06:36:20]Read from MH i2c: E2 17 00 E3 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 C2 [06:36:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [06:36:20]wFMCommunicate OK [06:36:20]CreateOFDProtocolMessage done [06:36:20]OFDSenderStorePacket 57138 [06:36:20]StoreOFDPacket docnum=57138 [06:36:20]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 01 00 00 93 B0 8D 01 7C E3 5A 03 01 00 03 00 81 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 39 32 06 04 28 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A1 D0 BE D0 BA 20 D0 B1 D0 B5 D1 80 D0 B5 D0 B7 D1 8B 20 31 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 84 67 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EB 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FE 0A 00 00 00 00 07 04 06 00 84 67 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 21 00 00 00 F4 03 04 00 64 C3 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 32 DF 00 00 35 04 06 00 EA EC C1 A6 85 79 29 29 8D 84 DE F9 50 F5 [06:36:20]CheckFolder [06:36:20]dirname=/storage/ofd_packets [06:36:20]CheckFolder done [06:36:20]ProducePacketName [06:36:20]name=ofd_packets/00057138 [06:36:20]NVStorageSaveData ofd_packets/00057138 [06:36:20]File name is /storage/ofd_packets/00057138 [06:36:20]Write 435 bytes [06:36:20]NVStorageSaveData done [06:36:20]OFDSenderStorePacket done [06:36:20]KKMCreateOFDPacket done [06:36:20]NVStorageSaveData kkm_last_timestamp [06:36:20]File name is /storage/kkm_last_timestamp [06:36:20]Write 4 bytes [06:36:20]NVStorageSaveData done [06:36:20]ExternCall_PrintAddStr [06:36:20]wPrintStart [06:36:20]Write to MH i2c: 01 00 00 E4 0B EF [06:36:20]Write i2c OK [06:36:20]MH_I2C_Read... [06:36:20]Read from MH i2c: 01 [06:36:20]MH_I2C_Read... [06:36:20]Read from MH i2c: 01 07 00 [06:36:20]MH_I2C_Read... [06:36:20]Read from MH i2c: 01 07 00 E4 0B 00 00 00 00 00 FF 0F 04 [06:36:20]RasterBufferAndPrint [06:36:20]line Счет N : (3)129593 [06:36:20]line ИНН: 02508201610067 [06:36:20]line Контрольно-Кассовый Чек [06:36:20]line ПРОДАЖА [06:36:20]line Товар: 4870202521292 [06:36:20]line Напиток Сок березы 1,2л [06:36:20]line 1.000 * 125.00 [06:36:20]line = 125.00 [06:36:20]line НДС 12% НСП 1% [06:36:20]line > о реализуемом товаре [06:36:20]line Товар: 48743570 [06:36:20]line Сигареты Winston XStyle Blue [06:36:20]line 1.000 * 140.00 [06:36:20]line = 140.00 [06:36:20]line НДС 12% НСП 1% [06:36:20]line > о реализуемом товаре [06:36:20]line ИТОГО: 265.00 [06:36:20]line НСП 1% : 2.35 [06:36:20]line НДС 12% : 28.14 [06:36:20]line Наличными: 265.00 [06:36:20]line Безнал.: 0.00 [06:36:20]line Место: АЗС № 132 "Партнер Нефть" [06:36:20]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [06:36:20]line СНО: Общий режим [06:36:20]line Чек 33 15.07.2024 06:36 [06:36:20]line Смена: 497 ФФД: 1.0 [06:36:20]line ЗНМ: 0300000132 [06:36:20]line РНМ: 0000000000091208 [06:36:20]line Версия ККМ: 001 [06:36:20]line ФМ: 0000000000874857 [06:36:20]line ФД: 57138 [06:36:20]line ФПД: 258302582097273 [06:36:20]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T063620&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57138&fm=258302582097273&tin=02508201610067®Number=0000000000091208&sum=26500 [06:36:20]line 0 [06:36:20]OFD Sender: Processing packet 57138 [packets to send 38, broken 37] [06:36:20]ProducePacketName [06:36:20]name=ofd_packets/00057138 [06:36:20]OFD Sender: To server: pG, [06:36:20]CommunicateWithHost lk.salyk.kg:30040 [06:36:20]ConnectInit lk.salyk.kg [06:36:20]written 0, free lines is 4095 [06:36:20]Connected sock=10 [06:36:20]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 01 00 00 93 B0 8D 01 7C E3 5A 03 01 00 03 00 81 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 39 32 06 04 28 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A1 D0 BE D0 BA 20 D0 B1 D0 B5 D1 80 D0 B5 D0 B7 D1 8B 20 31 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 84 67 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EB 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FE 0A 00 00 00 00 07 04 06 00 84 67 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 21 00 00 00 F4 03 04 00 64 C3 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 32 DF 00 00 35 04 06 00 EA EC C1 A6 85 79 29 29 8D 84 DE F9 50 F5 [06:36:20]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 E9 47 00 80 F6 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 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 32 DF 00 00 F4 03 04 00 B3 69 94 66 B6 04 01 00 00 AB 0D B7 EE E1 17 D1 DD [06:36:20]CommunicateWithHost err = 0 [06:36:20]CheckOFDResponse [06:36:20]1017 (14) - 77093643461234 [06:36:20]1041 (16) - 0000000000874857 [06:36:20]1040 (4) - 57138 [06:36:20]1012 (4) - 15.07.2024 00:13 [06:36:20]1206 (1) - 0 [06:36:20]OFD Sender: Remove packet 57138 [06:36:20]ProducePacketName [06:36:20]name=ofd_packets/00057138 [06:36:20]NVStorageDeleteData [06:36:20]Write to MH i2c: 01 00 00 12 0C 1E [06:36:20]Write i2c OK [06:36:20]MH_I2C_Read... [06:36:20]Read from MH i2c: 01 [06:36:20]MH_I2C_Read... [06:36:20]Read from MH i2c: 01 07 00 [06:36:20]MH_I2C_Read... [06:36:20]Read from MH i2c: 01 07 00 12 0C 00 00 00 00 00 A1 0C D2 [06:36:20]RasterBufferAndPrint [06:36:20]line [06:36:20]line [06:36:20]line [06:36:20]line [06:36:20]line [06:36:20]written 0, free lines is 3240 [06:36:20]MH_Cut [06:36:20]Write to MH i2c: D1 01 00 19 0C 01 F7 [06:36:20]Write i2c OK [06:36:20]MH_I2C_Read... [06:36:20]Read from MH i2c: D1 [06:36:20]MH_I2C_Read... [06:36:20]Read from MH i2c: D1 01 00 [06:36:20]MH_I2C_Read... [06:36:20]Read from MH i2c: D1 01 00 19 0C 00 F6 [06:36:20]Write to MH i2c: 01 00 00 1A 0C 26 [06:36:20]Write i2c OK [06:36:20]MH_I2C_Read... [06:36:21]OFD Sender: No OFD packet to send [06:36:21]*** Cut start [06:36:21]*** Partial cut [06:36:21]*** CUTSNS_PIN = 1 [06:36:21]*** CUTSNS_PIN = 0 [06:36:21]*** Brake cut motor [06:36:22]Read from MH i2c: 01 [06:36:22]MH_I2C_Read... [06:36:22]*** Stop cut motor [06:36:22]*** Cut end [06:36:22]Read from MH i2c: 01 07 00 [06:36:22]MH_I2C_Read... [06:36:22]Read from MH i2c: 01 07 00 1A 0C 00 00 00 00 00 FF 0F 3B [06:36:22]process_action close_receipt done [06:36:22]requested_data is exist [06:36:22]produce_requested_data [06:36:22]requested_item fm.sn is exist - process it [06:36:22]wFMCommunicate request_size=4 [06:36:22]MH_SAM_APDU [06:36:22]CAPDU: 80 11 00 00 [06:36:22]Write to MH i2c: E2 08 00 1B 0C 80 11 00 00 00 00 00 00 A1 [06:36:22]Write i2c OK [06:36:22]MH_I2C_Read... [06:36:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:36:22]Read from MH i2c: E2 [06:36:22]MH_I2C_Read... [06:36:22]Read from MH i2c: E2 17 00 [06:36:22]MH_I2C_Read... [06:36:22]Read from MH i2c: E2 17 00 1B 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 FB [06:36:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [06:36:22]wFMCommunicate OK [06:36:22]requested_item fd.num is exist - process it [06:36:22]SAM_PROTO_GetFieldsCounters [06:36:22]wFMCommunicate request_size=4 [06:36:22]MH_SAM_APDU [06:36:22]CAPDU: 80 13 00 00 [06:36:22]Write to MH i2c: E2 08 00 1C 0C 80 13 00 00 00 00 00 00 A4 [06:36:22]Write i2c OK [06:36:22]MH_I2C_Read... [06:36:22]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [06:36:22]Read from MH i2c: E2 [06:36:22]MH_I2C_Read... [06:36:22]Read from MH i2c: E2 62 00 [06:36:22]MH_I2C_Read... [06:36:22]Read from MH i2c: E2 62 00 1C 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 32 DF 00 00 0E 04 04 00 F1 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 2D [06:36:22]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 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 32 DF 00 00 0E 04 04 00 F1 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 [06:36:22]wFMCommunicate OK [06:36:22]SAM_PROTO_GetFieldsCounters done [06:36:22]requested_item shift.num is exist - process it [06:36:22]requested_item shift.opened is exist - process it [06:36:22]req_shift_opened [06:36:22]FM_GetShiftState [06:36:22]SAM_PROTO_GetShiftState [06:36:22]wFMCommunicate request_size=4 [06:36:22]MH_SAM_APDU [06:36:22]CAPDU: 80 13 01 00 [06:36:22]Write to MH i2c: E2 08 00 1D 0C 80 13 01 00 00 00 00 00 A6 [06:36:22]Write i2c OK [06:36:22]MH_I2C_Read... [06:36:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [06:36:22]Read from MH i2c: E2 [06:36:22]MH_I2C_Read... [06:36:22]Read from MH i2c: E2 0E 00 [06:36:22]MH_I2C_Read... [06:36:22]Read from MH i2c: E2 0E 00 1D 0C 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 1F [06:36:22]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [06:36:22]wFMCommunicate OK [06:36:22]SAM_PROTO_GetShiftState done [06:36:22]FM_GetShiftState done [06:36:22]req_shift_opened done [06:36:22]requested_item shift.open_date is exist - process it [06:36:22]req_shift_open_date [06:36:22]req_shift_open_date done [06:36:22]requested_item shift.sale.total is exist - process it [06:36:22]SAM_PROTO_GetShiftData [06:36:22]wFMCommunicate request_size=4 [06:36:22]MH_SAM_APDU [06:36:22]CAPDU: 80 13 02 00 [06:36:22]Write to MH i2c: E2 08 00 1E 0C 80 13 02 00 00 00 00 00 A8 [06:36:22]Write i2c OK [06:36:22]MH_I2C_Read... [06:36:22]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [06:36:22]Read from MH i2c: E2 [06:36:23]MH_I2C_Read... [06:36:23]Read from MH i2c: E2 FD 00 [06:36:23]MH_I2C_Read... [06:36:23]Read from MH i2c: E2 FD 00 1E 0C 00 B6 04 AA 04 B2 04 6E 04 04 00 21 00 00 00 69 04 9B 00 6F 04 04 00 20 00 00 00 B1 04 03 00 C5 C9 0D 70 04 03 00 B0 B5 08 72 04 03 00 15 14 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 D3 76 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 3D 1F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 27 [06:36:23]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 21 00 00 00 69 04 9B 00 6F 04 04 00 20 00 00 00 B1 04 03 00 C5 C9 0D 70 04 03 00 B0 B5 08 72 04 03 00 15 14 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 D3 76 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 3D 1F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 [06:36:23]wFMCommunicate OK [06:36:23]wFMCommunicate request_size=4 [06:36:23]MH_SAM_APDU [06:36:23]CAPDU: 80 17 00 00 [06:36:23]Write to MH i2c: E2 08 00 1F 0C 80 17 00 00 00 00 00 00 AB [06:36:23]Write i2c OK [06:36:23]MH_I2C_Read... [06:36:23]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [06:36:23]Read from MH i2c: E2 [06:36:23]MH_I2C_Read... [06:36:23]Read from MH i2c: E2 FD 00 [06:36:23]MH_I2C_Read... [06:36:23]Read from MH i2c: E2 FD 00 1F 0C 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 E0 [06:36:23]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 [06:36:23]wFMCommunicate OK [06:36:23]wFMCommunicate request_size=4 [06:36:23]MH_SAM_APDU [06:36:23]CAPDU: 80 17 00 00 [06:36:23]Write to MH i2c: E2 08 00 20 0C 80 17 00 00 00 00 00 00 AC [06:36:23]Write i2c OK [06:36:23]MH_I2C_Read... [06:36:23]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [06:36:23]Read from MH i2c: E2 [06:36:23]MH_I2C_Read... [06:36:23]Read from MH i2c: E2 FD 00 [06:36:23]MH_I2C_Read... [06:36:23]Read from MH i2c: E2 FD 00 20 0C 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 6C [06:36:23]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 [06:36:23]wFMCommunicate OK [06:36:23]wFMCommunicate request_size=4 [06:36:23]MH_SAM_APDU [06:36:23]CAPDU: 80 17 00 00 [06:36:23]Write to MH i2c: E2 08 00 21 0C 80 17 00 00 00 00 00 00 AD [06:36:23]Write i2c OK [06:36:23]MH_I2C_Read... [06:36:23]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [06:36:23]Read from MH i2c: E2 [06:36:23]MH_I2C_Read... [06:36:23]Read from MH i2c: E2 FD 00 [06:36:23]MH_I2C_Read... [06:36:23]Read from MH i2c: E2 FD 00 21 0C 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 1C [06:36:23]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 [06:36:23]wFMCommunicate OK [06:36:23]wFMCommunicate request_size=4 [06:36:23]MH_SAM_APDU [06:36:23]CAPDU: 80 17 00 00 [06:36:23]Write to MH i2c: E2 08 00 22 0C 80 17 00 00 00 00 00 00 AE [06:36:23]Write i2c OK [06:36:23]MH_I2C_Read... [06:36:24]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [06:36:24]Read from MH i2c: E2 [06:36:24]MH_I2C_Read... [06:36:24]Read from MH i2c: E2 D3 00 [06:36:24]MH_I2C_Read... [06:36:24]Read from MH i2c: E2 D3 00 22 0C 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 9B [06:36:24]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 [06:36:24]wFMCommunicate OK [06:36:24]SAM_PROTO_GetShiftData done [06:36:24]requested_item shift.sale.total_cash is exist - process it [06:36:24]requested_item shift.sale_refund.total is exist - process it [06:36:24]requested_item shift.sale_refund.total_cash is exist - process it [06:36:24]produce_requested_data done [06:36:24]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57138,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":9036.21,"shift.sale.total_cash":5708.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [06:36:24]process_action_free close_receipt [06:36:24]json_value_free [06:36:24]json_value_free done [06:36:24]process_json_proto returns [06:36:24]Send response to host [06:36:24]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57138,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":9036.21,"shift.sale.total_cash":5708.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [06:36:24]free response buf [06:36:24]execute_script done [06:36:24]execute_script returns [06:36:24]free content buf [06:36:24]Sock 8.Close socket [06:36:24]Sock 8.Thread stoped [06:36:26]OFD Sender: No OFD packet to send [06:36:31]OFD Sender: No OFD packet to send [06:36:36]OFD Sender: No OFD packet to send [06:36:41]OFD Sender: No OFD packet to send [06:36:46]OFD Sender: No OFD packet to send [06:36:51]OFD Sender: No OFD packet to send [06:36:56]OFD Sender: No OFD packet to send [06:37:01]OFD Sender: No OFD packet to send [06:37:06]OFD Sender: No OFD packet to send [06:37:11]OFD Sender: No OFD packet to send [06:37:16]OFD Sender: No OFD packet to send [06:37:21]OFD Sender: No OFD packet to send [06:37:26]OFD Sender: No OFD packet to send [06:37:31]OFD Sender: No OFD packet to send [06:37:36]OFD Sender: No OFD packet to send [06:37:41]OFD Sender: No OFD packet to send [06:37:46]OFD Sender: No OFD packet to send [06:37:51]OFD Sender: No OFD packet to send [06:37:56]OFD Sender: No OFD packet to send [06:38:01]OFD Sender: No OFD packet to send [06:38:06]OFD Sender: No OFD packet to send [06:38:11]OFD Sender: No OFD packet to send [06:38:16]OFD Sender: No OFD packet to send [06:38:21]OFD Sender: No OFD packet to send [06:38:26]OFD Sender: No OFD packet to send [06:38:31]OFD Sender: No OFD packet to send [06:38:36]OFD Sender: No OFD packet to send [06:38:41]OFD Sender: No OFD packet to send [06:38:46]OFD Sender: No OFD packet to send [06:38:51]OFD Sender: No OFD packet to send [06:38:56]OFD Sender: No OFD packet to send [06:39:01]OFD Sender: No OFD packet to send [06:39:06]OFD Sender: No OFD packet to send [06:39:11]OFD Sender: No OFD packet to send [06:39:16]OFD Sender: No OFD packet to send [06:39:21]OFD Sender: No OFD packet to send [06:39:26]OFD Sender: No OFD packet to send [06:39:31]OFD Sender: No OFD packet to send [06:39:36]OFD Sender: No OFD packet to send [06:39:41]OFD Sender: No OFD packet to send [06:39:46]OFD Sender: No OFD packet to send [06:39:51]OFD Sender: No OFD packet to send [06:39:56]OFD Sender: No OFD packet to send [06:40:01]OFD Sender: No OFD packet to send [06:40:06]OFD Sender: No OFD packet to send [06:40:11]OFD Sender: No OFD packet to send [06:40:16]OFD Sender: No OFD packet to send [06:40:21]OFD Sender: No OFD packet to send [06:40:26]OFD Sender: No OFD packet to send [06:40:31]OFD Sender: No OFD packet to send [06:40:36]OFD Sender: No OFD packet to send [06:40:41]OFD Sender: No OFD packet to send [06:40:46]OFD Sender: No OFD packet to send [06:40:51]OFD Sender: No OFD packet to send [06:40:56]OFD Sender: No OFD packet to send [06:41:01]OFD Sender: No OFD packet to send [06:41:06]OFD Sender: No OFD packet to send [06:41:11]OFD Sender: No OFD packet to send [06:41:16]OFD Sender: No OFD packet to send [06:41:21]OFD Sender: No OFD packet to send [06:41:26]OFD Sender: No OFD packet to send [06:41:31]OFD Sender: No OFD packet to send [06:41:36]OFD Sender: No OFD packet to send [06:41:41]OFD Sender: No OFD packet to send [06:41:46]OFD Sender: No OFD packet to send [06:41:51]OFD Sender: No OFD packet to send [06:41:56]OFD Sender: No OFD packet to send [06:42:01]OFD Sender: No OFD packet to send [06:42:06]OFD Sender: No OFD packet to send [06:42:11]OFD Sender: No OFD packet to send [06:42:16]OFD Sender: No OFD packet to send [06:42:21]OFD Sender: No OFD packet to send [06:42:26]OFD Sender: No OFD packet to send [06:42:31]OFD Sender: No OFD packet to send [06:42:36]OFD Sender: No OFD packet to send [06:42:41]OFD Sender: No OFD packet to send [06:42:46]OFD Sender: No OFD packet to send [06:42:51]OFD Sender: No OFD packet to send [06:42:56]OFD Sender: No OFD packet to send [06:43:01]OFD Sender: No OFD packet to send [06:43:06]OFD Sender: No OFD packet to send [06:43:11]OFD Sender: No OFD packet to send [06:43:16]OFD Sender: No OFD packet to send [06:43:21]OFD Sender: No OFD packet to send [06:43:26]OFD Sender: No OFD packet to send [06:43:31]OFD Sender: No OFD packet to send [06:43:36]OFD Sender: No OFD packet to send [06:43:41]OFD Sender: No OFD packet to send [06:43:46]OFD Sender: No OFD packet to send [06:43:51]OFD Sender: No OFD packet to send [06:43:56]OFD Sender: No OFD packet to send [06:44:01]OFD Sender: No OFD packet to send [06:44:06]OFD Sender: No OFD packet to send [06:44:11]OFD Sender: No OFD packet to send [06:44:16]OFD Sender: No OFD packet to send [06:44:21]OFD Sender: No OFD packet to send [06:44:26]OFD Sender: No OFD packet to send [06:44:31]OFD Sender: No OFD packet to send [06:44:36]OFD Sender: No OFD packet to send [06:44:41]OFD Sender: No OFD packet to send [06:44:46]OFD Sender: No OFD packet to send [06:44:51]OFD Sender: No OFD packet to send [06:44:56]OFD Sender: No OFD packet to send [06:45:01]OFD Sender: No OFD packet to send [06:45:06]OFD Sender: No OFD packet to send [06:45:11]OFD Sender: No OFD packet to send [06:45:16]OFD Sender: No OFD packet to send [06:45:21]OFD Sender: No OFD packet to send [06:45:26]OFD Sender: No OFD packet to send [06:45:31]OFD Sender: No OFD packet to send [06:45:36]OFD Sender: No OFD packet to send [06:45:41]OFD Sender: No OFD packet to send [06:45:46]OFD Sender: No OFD packet to send [06:45:51]OFD Sender: No OFD packet to send [06:45:56]OFD Sender: No OFD packet to send [06:46:01]OFD Sender: No OFD packet to send [06:46:06]OFD Sender: No OFD packet to send [06:46:11]OFD Sender: No OFD packet to send [06:46:16]OFD Sender: No OFD packet to send [06:46:21]OFD Sender: No OFD packet to send [06:46:26]OFD Sender: No OFD packet to send [06:46:31]OFD Sender: No OFD packet to send [06:46:36]OFD Sender: No OFD packet to send [06:46:41]OFD Sender: No OFD packet to send [06:46:46]OFD Sender: No OFD packet to send [06:46:51]OFD Sender: No OFD packet to send [06:46:56]OFD Sender: No OFD packet to send [06:47:01]OFD Sender: No OFD packet to send [06:47:06]OFD Sender: No OFD packet to send [06:47:11]OFD Sender: No OFD packet to send [06:47:16]OFD Sender: No OFD packet to send [06:47:21]OFD Sender: No OFD packet to send [06:47:26]OFD Sender: No OFD packet to send [06:47:31]OFD Sender: No OFD packet to send [06:47:36]OFD Sender: No OFD packet to send [06:47:41]OFD Sender: No OFD packet to send [06:47:46]OFD Sender: No OFD packet to send [06:47:51]OFD Sender: No OFD packet to send [06:47:56]OFD Sender: No OFD packet to send [06:48:01]OFD Sender: No OFD packet to send [06:48:04]accept exits with 9 [06:48:04]New connection [06:48:04]New thread 3067067748 created [06:48:04]Thread 3066924388 joined [06:48:04]Waiting for new connection... [06:48:04] Sock 9.Parse request [06:48:04]Sock 9.Check first char [06:48:04]Sock 9.First char is OK [06:48:04]request: POST /json_proto HTTP/1.0 [06:48:04]Method: POST [06:48:04]URL: /json_proto [06:48:04]Method is POST - this is cgi request [06:48:04]url: /json_proto [06:48:04]query_string will be loaded in cgi processing [06:48:04]execute_cgi json_proto POST (null) [06:48:04]execute_cgi path=json_proto method=POST [06:48:04]POST find Content-Length [06:48:04]Host: 172.17.39.4:8080 [06:48:04]Content-Length: 725 [06:48:04]Content-Type: application/json [06:48:04] [06:48:04]POST finish read [06:48:04]Found Content-Length = 725 [06:48:04]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129594", "tax_sys" : 0, "items" : [ { "code": "48744119", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Xstyle Dual", "price" : 145.00, "quantity" : 1.000, "sum" : 145.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 145.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:48:04]execute_script... [06:48: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)129594", "tax_sys" : 0, "items" : [ { "code": "48744119", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Xstyle Dual", "price" : 145.00, "quantity" : 1.000, "sum" : 145.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 145.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:48:04]POST & json_proto [06:48:04]process_json_proto [06:48:04]json parsed OK: [06:48:04]protocol is kg_v1.0 [06:48:04]action value=close_receipt [06:48:04]process_action close_receipt [06:48:04]cmd_close_receipt [06:48:04]MH_GetDate [06:48:04]Write to MH i2c: F0 00 00 23 0C 1E [06:48:04]Write i2c OK [06:48:04]MH_I2C_Read... [06:48:04]Read from MH i2c: F0 [06:48:04]MH_I2C_Read... [06:48:04]Read from MH i2c: F0 09 00 [06:48:04]MH_I2C_Read... [06:48:04]Read from MH i2c: F0 09 00 23 0C 00 26 C6 94 66 2D 25 5D 64 20 [06:48:04]GetLastDocTimeStamp 1721025380 [06:48:04]current date 1721026086 [06:48:04]FM_GetShiftState [06:48:04]SAM_PROTO_GetShiftState [06:48:04]wFMCommunicate request_size=4 [06:48:04]MH_SAM_APDU [06:48:04]CAPDU: 80 13 01 00 [06:48:04]Write to MH i2c: E2 08 00 24 0C 80 13 01 00 00 00 00 00 AD [06:48:04]Write i2c OK [06:48:04]MH_I2C_Read... [06:48:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [06:48:04]Read from MH i2c: E2 [06:48:04]MH_I2C_Read... [06:48:04]Read from MH i2c: E2 0E 00 [06:48:04]MH_I2C_Read... [06:48:04]Read from MH i2c: E2 0E 00 24 0C 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 26 [06:48:04]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [06:48:04]wFMCommunicate OK [06:48:04]SAM_PROTO_GetShiftState done [06:48:04]FM_GetShiftState done [06:48:04]opened in 1721003525 [06:48:04]opened+sec_in_day 1721089925 [06:48:04]quantity*price = 14500 [06:48:04]sum+1 = 14501 [06:48:04]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 145.00 НСП 1% : 1.28 НДС 12% : 15.40 Наличными: 145.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 34 15.07.2024 06:48 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57139 ФПД: 125585856980463 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T064806&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57139&fm=125585856980463&tin=02508201610067®Number=0000000000091208&sum=14500 0 [06:48:05]StoreToDocumentArchive [06:48:05]shift 497 fd 57139 [06:48:05]save to /storage/0497/doc_00057139 [06:48:05]save last doc name /storage/0497/doc_00057139 to /storage/kkm_last_doc_name [06:48:05]save OK [06:48:05]Clear old archive folders... [06:48:05]ProcessDocumentItem done err = 0, tmpTLVsize=273 [06:48:05]tlvbuf is 0097F260 [06:48:05]SAM_PROTO_ClearQueue [06:48:05]wFMCommunicate request_size=4 [06:48:05]MH_SAM_APDU [06:48:05]CAPDU: 80 09 00 00 [06:48:05]Write to MH i2c: E2 08 00 31 0C 80 09 00 00 00 00 00 00 AF [06:48:05]Write i2c OK [06:48:05]MH_I2C_Read... [06:48:05]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [06:48:05]Read from MH i2c: E2 [06:48:05]MH_I2C_Read... [06:48:05]Read from MH i2c: E2 03 00 [06:48:05]MH_I2C_Read... [06:48:05]Read from MH i2c: E2 03 00 31 0C 00 90 00 B1 [06:48:05]RAPDU: 90 00 [06:48:05]wFMCommunicate OK [06:48:05]SAM_PROTO_ClearQueue done [06:48:05]KKMCreateOFDPacket [06:48:05]OFDProtocolAddRootSTLVToBuf [06:48:05]FM_MakeSignedData [06:48:05]FM_MakeSignedData [06:48:05]SAM_PROTO_SignData [06:48:05]wFMCommunicate request_size=4 [06:48:05]MH_SAM_APDU [06:48:05]CAPDU: 80 0D 01 02 [06:48:05]Write to MH i2c: E2 08 00 32 0C 80 0D 01 02 00 00 00 00 B7 [06:48:05]Write i2c OK [06:48:05]MH_I2C_Read... [06:48:05]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [06:48:05]Read from MH i2c: E2 [06:48:05]MH_I2C_Read... [06:48:05]Read from MH i2c: E2 03 00 [06:48:05]MH_I2C_Read... [06:48:05]Read from MH i2c: E2 03 00 32 0C 00 90 00 B2 [06:48:05]RAPDU: 90 00 [06:48:05]wFMCommunicate OK [06:48:05]wFMCommunicate request_size=255 [06:48:05]MH_SAM_APDU [06:48:05]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 34 31 31 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 73 74 79 6C 65 20 44 75 61 6C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A4 38 00 00 00 00 13 04 06 00 A4 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A4 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 80 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 04 06 00 00 00 00 07 04 06 00 A4 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 22 00 00 00 F4 03 04 00 26 C6 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 [06:48:05]Write to MH i2c: E2 02 01 33 0C 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 34 31 31 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 73 74 79 6C 65 20 44 75 61 6C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A4 38 00 00 00 00 13 04 06 00 A4 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A4 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 80 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 04 06 00 00 00 00 07 04 06 00 A4 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 22 00 00 00 F4 03 04 00 26 C6 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 D1 [06:48:05]Write i2c OK [06:48:05]MH_I2C_Read... [06:48:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:48:05]Read from MH i2c: E2 [06:48:05]MH_I2C_Read... [06:48:05]Read from MH i2c: E2 03 00 [06:48:05]MH_I2C_Read... [06:48:05]Read from MH i2c: E2 03 00 33 0C 00 90 00 B3 [06:48:05]RAPDU: 90 00 [06:48:05]wFMCommunicate OK [06:48:05]wFMCommunicate request_size=32 [06:48:05]MH_SAM_APDU [06:48:05]CAPDU: 80 0D 02 02 1B 30 30 30 38 37 34 38 35 37 10 04 04 00 33 DF 00 00 35 04 06 00 72 38 3C 64 E5 EF [06:48:05]Write to MH i2c: E2 23 00 34 0C 80 0D 02 02 1B 00 30 30 30 38 37 34 38 35 37 10 04 04 00 33 DF 00 00 35 04 06 00 72 38 3C 64 E5 EF 00 00 4E [06:48:05]Write i2c OK [06:48:05]MH_I2C_Read... [06:48:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:48:05]Read from MH i2c: E2 [06:48:05]MH_I2C_Read... [06:48:05]Read from MH i2c: E2 03 00 [06:48:05]MH_I2C_Read... [06:48:05]Read from MH i2c: E2 03 00 34 0C 00 90 00 B4 [06:48:05]RAPDU: 90 00 [06:48:05]wFMCommunicate OK [06:48:05]wFMCommunicate request_size=4 [06:48:05]MH_SAM_APDU [06:48:05]CAPDU: 80 0D 03 02 [06:48:05]Write to MH i2c: E2 08 00 35 0C 80 0D 03 02 00 00 00 00 BC [06:48:05]Write i2c OK [06:48:05]MH_I2C_Read... [06:48:05]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [06:48:05]Read from MH i2c: E2 [06:48:05]MH_I2C_Read... [06:48:05]Read from MH i2c: E2 0B 00 [06:48:05]MH_I2C_Read... [06:48:05]Read from MH i2c: E2 0B 00 35 0C 00 20 36 B5 B6 34 AE 02 C1 90 00 23 [06:48:05]RAPDU: 20 36 B5 B6 34 AE 02 C1 90 00 [06:48:05]wFMCommunicate OK [06:48:05]SAM_PROTO_SignData done [06:48:05]FM_MakeSignedData done [06:48:05]CreateOFDProtocolMessage [06:48:05]wFMCommunicate request_size=4 [06:48:05]MH_SAM_APDU [06:48:05]CAPDU: 80 11 00 00 [06:48:05]Write to MH i2c: E2 08 00 36 0C 80 11 00 00 00 00 00 00 BC [06:48:05]Write i2c OK [06:48:05]MH_I2C_Read... [06:48:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:48:05]Read from MH i2c: E2 [06:48:05]MH_I2C_Read... [06:48:05]Read from MH i2c: E2 17 00 [06:48:05]MH_I2C_Read... [06:48:05]Read from MH i2c: E2 17 00 36 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 16 [06:48:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [06:48:05]wFMCommunicate OK [06:48:05]CreateOFDProtocolMessage done [06:48:05]OFDSenderStorePacket 57139 [06:48:05]StoreOFDPacket docnum=57139 [06:48: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 25 01 00 00 AD FD 1D 01 51 80 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 34 31 31 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 73 74 79 6C 65 20 44 75 61 6C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A4 38 00 00 00 00 13 04 06 00 A4 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A4 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 80 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 04 06 00 00 00 00 07 04 06 00 A4 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 22 00 00 00 F4 03 04 00 26 C6 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 33 DF 00 00 35 04 06 00 72 38 3C 64 E5 EF 20 36 B5 B6 34 AE 02 C1 [06:48:05]CheckFolder [06:48:05]dirname=/storage/ofd_packets [06:48:05]CheckFolder done [06:48:05]ProducePacketName [06:48:05]name=ofd_packets/00057139 [06:48:05]NVStorageSaveData ofd_packets/00057139 [06:48:05]File name is /storage/ofd_packets/00057139 [06:48:05]Write 323 bytes [06:48:05]NVStorageSaveData done [06:48:05]OFDSenderStorePacket done [06:48:05]KKMCreateOFDPacket done [06:48:05]NVStorageSaveData kkm_last_timestamp [06:48:05]File name is /storage/kkm_last_timestamp [06:48:05]Write 4 bytes [06:48:05]NVStorageSaveData done [06:48:05]ExternCall_PrintAddStr [06:48:05]wPrintStart [06:48:05]Write to MH i2c: 01 00 00 37 0C 43 [06:48:05]Write i2c OK [06:48:05]MH_I2C_Read... [06:48:05]Read from MH i2c: 01 [06:48:05]MH_I2C_Read... [06:48:05]Read from MH i2c: 01 07 00 [06:48:05]MH_I2C_Read... [06:48:05]Read from MH i2c: 01 07 00 37 0C 00 00 00 00 00 FF 0F 58 [06:48:05]RasterBufferAndPrint [06:48:05]line Счет N : (3)129594 [06:48:05]line ИНН: 02508201610067 [06:48:05]line Контрольно-Кассовый Чек [06:48:05]line ПРОДАЖА [06:48:05]line Товар: 48744119 [06:48:05]line Сигареты Winston Xstyle Dual [06:48:05]line 1.000 * 145.00 [06:48:05]line = 145.00 [06:48:05]line НДС 12% НСП 1% [06:48:05]line > о реализуемом товаре [06:48:05]line ИТОГО: 145.00 [06:48:05]line НСП 1% : 1.28 [06:48:05]line НДС 12% : 15.40 [06:48:05]line Наличными: 145.00 [06:48:05]line Безнал.: 0.00 [06:48:05]line Место: АЗС № 132 "Партнер Нефть" [06:48:05]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [06:48:05]line СНО: Общий режим [06:48:05]line Чек 34 15.07.2024 06:48 [06:48:05]line Смена: 497 ФФД: 1.0 [06:48:05]line ЗНМ: 0300000132 [06:48:05]line РНМ: 0000000000091208 [06:48:05]line Версия ККМ: 001 [06:48:05]line ФМ: 0000000000874857 [06:48:05]line ФД: 57139 [06:48:05]line ФПД: 125585856980463 [06:48:05]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T064806&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57139&fm=125585856980463&tin=02508201610067®Number=0000000000091208&sum=14500 [06:48:05]line 0 [06:48:06]written 0, free lines is 4095 [06:48:06]OFD Sender: Processing packet 57139 [packets to send 38, broken 37] [06:48:06]ProducePacketName [06:48:06]name=ofd_packets/00057139 [06:48:06]OFD Sender: To server: pG, [06:48:06]CommunicateWithHost lk.salyk.kg:30040 [06:48:06]ConnectInit lk.salyk.kg [06:48:06]Connected sock=10 [06:48: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 25 01 00 00 AD FD 1D 01 51 80 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 34 31 31 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 73 74 79 6C 65 20 44 75 61 6C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A4 38 00 00 00 00 13 04 06 00 A4 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A4 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 80 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 04 06 00 00 00 00 07 04 06 00 A4 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 22 00 00 00 F4 03 04 00 26 C6 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 33 DF 00 00 35 04 06 00 72 38 3C 64 E5 EF 20 36 B5 B6 34 AE 02 C1 [06:48: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 63 52 47 00 E5 46 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 33 DF 00 00 F4 03 04 00 75 6C 94 66 B6 04 01 00 00 63 32 2D 62 B9 3B 35 A6 [06:48:06]CommunicateWithHost err = 0 [06:48:06]CheckOFDResponse [06:48:06]1017 (14) - 77093643461234 [06:48:06]1041 (16) - 0000000000874857 [06:48:06]1040 (4) - 57139 [06:48:06]1012 (4) - 15.07.2024 00:25 [06:48:06]1206 (1) - 0 [06:48:06]OFD Sender: Remove packet 57139 [06:48:06]ProducePacketName [06:48:06]name=ofd_packets/00057139 [06:48:06]NVStorageDeleteData [06:48:06]Write to MH i2c: 01 00 00 5F 0C 6B [06:48:06]Write i2c OK [06:48:06]MH_I2C_Read... [06:48:06]Read from MH i2c: 01 [06:48:06]MH_I2C_Read... [06:48:06]Read from MH i2c: 01 07 00 [06:48:06]MH_I2C_Read... [06:48:06]Read from MH i2c: 01 07 00 5F 0C 00 00 00 00 00 FE 0C 7C [06:48:06]RasterBufferAndPrint [06:48:06]line [06:48:06]line [06:48:06]line [06:48:06]line [06:48:06]line [06:48:06]written 0, free lines is 3332 [06:48:06]MH_Cut [06:48:06]Write to MH i2c: D1 01 00 66 0C 01 44 [06:48:06]Write i2c OK [06:48:06]MH_I2C_Read... [06:48:06]Read from MH i2c: D1 [06:48:06]MH_I2C_Read... [06:48:06]Read from MH i2c: D1 01 00 [06:48:06]MH_I2C_Read... [06:48:06]Read from MH i2c: D1 01 00 66 0C 00 43 [06:48:06]Write to MH i2c: 01 00 00 67 0C 73 [06:48:06]Write i2c OK [06:48:06]MH_I2C_Read... [06:48:06]OFD Sender: No OFD packet to send [06:48:07]*** Cut start [06:48:07]*** Partial cut [06:48:07]*** CUTSNS_PIN = 1 [06:48:07]*** CUTSNS_PIN = 0 [06:48:07]*** Brake cut motor [06:48:07]Read from MH i2c: 01 [06:48:07]MH_I2C_Read... [06:48:07]*** Stop cut motor [06:48:07]*** Cut end [06:48:07]Read from MH i2c: 01 07 00 [06:48:07]MH_I2C_Read... [06:48:07]Read from MH i2c: 01 07 00 67 0C 00 00 00 00 00 FF 0F 88 [06:48:07]process_action close_receipt done [06:48:07]requested_data is exist [06:48:07]produce_requested_data [06:48:07]requested_item fm.sn is exist - process it [06:48:07]wFMCommunicate request_size=4 [06:48:07]MH_SAM_APDU [06:48:07]CAPDU: 80 11 00 00 [06:48:07]Write to MH i2c: E2 08 00 68 0C 80 11 00 00 00 00 00 00 EE [06:48:07]Write i2c OK [06:48:07]MH_I2C_Read... [06:48:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:48:07]Read from MH i2c: E2 [06:48:07]MH_I2C_Read... [06:48:07]Read from MH i2c: E2 17 00 [06:48:07]MH_I2C_Read... [06:48:07]Read from MH i2c: E2 17 00 68 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 48 [06:48:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [06:48:07]wFMCommunicate OK [06:48:07]requested_item fd.num is exist - process it [06:48:07]SAM_PROTO_GetFieldsCounters [06:48:07]wFMCommunicate request_size=4 [06:48:07]MH_SAM_APDU [06:48:07]CAPDU: 80 13 00 00 [06:48:07]Write to MH i2c: E2 08 00 69 0C 80 13 00 00 00 00 00 00 F1 [06:48:07]Write i2c OK [06:48:07]MH_I2C_Read... [06:48:08]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [06:48:08]Read from MH i2c: E2 [06:48:08]MH_I2C_Read... [06:48:08]Read from MH i2c: E2 62 00 [06:48:08]MH_I2C_Read... [06:48:08]Read from MH i2c: E2 62 00 69 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 33 DF 00 00 0E 04 04 00 F1 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 7E [06:48: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 33 DF 00 00 0E 04 04 00 F1 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 [06:48:08]wFMCommunicate OK [06:48:08]SAM_PROTO_GetFieldsCounters done [06:48:08]requested_item shift.num is exist - process it [06:48:08]requested_item shift.opened is exist - process it [06:48:08]req_shift_opened [06:48:08]FM_GetShiftState [06:48:08]SAM_PROTO_GetShiftState [06:48:08]wFMCommunicate request_size=4 [06:48:08]MH_SAM_APDU [06:48:08]CAPDU: 80 13 01 00 [06:48:08]Write to MH i2c: E2 08 00 6A 0C 80 13 01 00 00 00 00 00 F3 [06:48:08]Write i2c OK [06:48:08]MH_I2C_Read... [06:48:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [06:48:08]Read from MH i2c: E2 [06:48:08]MH_I2C_Read... [06:48:08]Read from MH i2c: E2 0E 00 [06:48:08]MH_I2C_Read... [06:48:08]Read from MH i2c: E2 0E 00 6A 0C 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 6C [06:48:08]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [06:48:08]wFMCommunicate OK [06:48:08]SAM_PROTO_GetShiftState done [06:48:08]FM_GetShiftState done [06:48:08]req_shift_opened done [06:48:08]requested_item shift.open_date is exist - process it [06:48:08]req_shift_open_date [06:48:08]req_shift_open_date done [06:48:08]requested_item shift.sale.total is exist - process it [06:48:08]SAM_PROTO_GetShiftData [06:48:08]wFMCommunicate request_size=4 [06:48:08]MH_SAM_APDU [06:48:08]CAPDU: 80 13 02 00 [06:48:08]Write to MH i2c: E2 08 00 6B 0C 80 13 02 00 00 00 00 00 F5 [06:48:08]Write i2c OK [06:48:08]MH_I2C_Read... [06:48:08]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [06:48:08]Read from MH i2c: E2 [06:48:08]MH_I2C_Read... [06:48:08]Read from MH i2c: E2 FD 00 [06:48:08]MH_I2C_Read... [06:48:08]Read from MH i2c: E2 FD 00 6B 0C 00 B6 04 AA 04 B2 04 6E 04 04 00 22 00 00 00 69 04 9B 00 6F 04 04 00 21 00 00 00 B1 04 03 00 69 02 0E 70 04 03 00 54 EE 08 72 04 03 00 15 14 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 D7 7C 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 BD 1F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 BB [06:48:08]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 22 00 00 00 69 04 9B 00 6F 04 04 00 21 00 00 00 B1 04 03 00 69 02 0E 70 04 03 00 54 EE 08 72 04 03 00 15 14 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 D7 7C 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 BD 1F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 [06:48:08]wFMCommunicate OK [06:48:08]wFMCommunicate request_size=4 [06:48:08]MH_SAM_APDU [06:48:08]CAPDU: 80 17 00 00 [06:48:08]Write to MH i2c: E2 08 00 6C 0C 80 17 00 00 00 00 00 00 F8 [06:48:08]Write i2c OK [06:48:08]MH_I2C_Read... [06:48:08]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [06:48:08]Read from MH i2c: E2 [06:48:08]MH_I2C_Read... [06:48:08]Read from MH i2c: E2 FD 00 [06:48:08]MH_I2C_Read... [06:48:08]Read from MH i2c: E2 FD 00 6C 0C 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 2D [06:48:08]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 [06:48:08]wFMCommunicate OK [06:48:08]wFMCommunicate request_size=4 [06:48:08]MH_SAM_APDU [06:48:08]CAPDU: 80 17 00 00 [06:48:08]Write to MH i2c: E2 08 00 6D 0C 80 17 00 00 00 00 00 00 F9 [06:48:08]Write i2c OK [06:48:08]MH_I2C_Read... [06:48:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [06:48:09]Read from MH i2c: E2 [06:48:09]MH_I2C_Read... [06:48:09]Read from MH i2c: E2 FD 00 [06:48:09]MH_I2C_Read... [06:48:09]Read from MH i2c: E2 FD 00 6D 0C 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 B9 [06:48:09]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 [06:48:09]wFMCommunicate OK [06:48:09]wFMCommunicate request_size=4 [06:48:09]MH_SAM_APDU [06:48:09]CAPDU: 80 17 00 00 [06:48:09]Write to MH i2c: E2 08 00 6E 0C 80 17 00 00 00 00 00 00 FA [06:48:09]Write i2c OK [06:48:09]MH_I2C_Read... [06:48:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [06:48:09]Read from MH i2c: E2 [06:48:09]MH_I2C_Read... [06:48:09]Read from MH i2c: E2 FD 00 [06:48:09]MH_I2C_Read... [06:48:09]Read from MH i2c: E2 FD 00 6E 0C 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 69 [06:48:09]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 [06:48:09]wFMCommunicate OK [06:48:09]wFMCommunicate request_size=4 [06:48:09]MH_SAM_APDU [06:48:09]CAPDU: 80 17 00 00 [06:48:09]Write to MH i2c: E2 08 00 6F 0C 80 17 00 00 00 00 00 00 FB [06:48:09]Write i2c OK [06:48:09]MH_I2C_Read... [06:48:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [06:48:09]Read from MH i2c: E2 [06:48:09]MH_I2C_Read... [06:48:09]Read from MH i2c: E2 D3 00 [06:48:09]MH_I2C_Read... [06:48:09]Read from MH i2c: E2 D3 00 6F 0C 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 E8 [06:48:09]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 [06:48:09]wFMCommunicate OK [06:48:09]SAM_PROTO_GetShiftData done [06:48:09]requested_item shift.sale.total_cash is exist - process it [06:48:09]requested_item shift.sale_refund.total is exist - process it [06:48:09]requested_item shift.sale_refund.total_cash is exist - process it [06:48:09]produce_requested_data done [06:48:09]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57139,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":9181.21,"shift.sale.total_cash":5853.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [06:48:09]process_action_free close_receipt [06:48:09]json_value_free [06:48:09]json_value_free done [06:48:09]process_json_proto returns [06:48:09]Send response to host [06:48:09]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57139,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":9181.21,"shift.sale.total_cash":5853.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [06:48:09]free response buf [06:48:09]execute_script done [06:48:09]execute_script returns [06:48:09]free content buf [06:48:09]Sock 9.Close socket [06:48:09]Sock 9.Thread stoped [06:48:11]OFD Sender: No OFD packet to send [06:48:16]OFD Sender: No OFD packet to send [06:48:21]OFD Sender: No OFD packet to send [06:48:26]OFD Sender: No OFD packet to send [06:48:31]OFD Sender: No OFD packet to send [06:48:36]OFD Sender: No OFD packet to send [06:48:41]OFD Sender: No OFD packet to send [06:48:46]OFD Sender: No OFD packet to send [06:48:51]OFD Sender: No OFD packet to send [06:48:56]OFD Sender: No OFD packet to send [06:49:01]OFD Sender: No OFD packet to send [06:49:06]OFD Sender: No OFD packet to send [06:49:11]OFD Sender: No OFD packet to send [06:49:16]OFD Sender: No OFD packet to send [06:49:21]OFD Sender: No OFD packet to send [06:49:26]OFD Sender: No OFD packet to send [06:49:31]OFD Sender: No OFD packet to send [06:49:36]OFD Sender: No OFD packet to send [06:49:41]OFD Sender: No OFD packet to send [06:49:46]OFD Sender: No OFD packet to send [06:49:51]OFD Sender: No OFD packet to send [06:49:56]OFD Sender: No OFD packet to send [06:50:01]OFD Sender: No OFD packet to send [06:50:06]OFD Sender: No OFD packet to send [06:50:11]OFD Sender: No OFD packet to send [06:50:16]OFD Sender: No OFD packet to send [06:50:21]OFD Sender: No OFD packet to send [06:50:26]OFD Sender: No OFD packet to send [06:50:31]OFD Sender: No OFD packet to send [06:50:36]OFD Sender: No OFD packet to send [06:50:41]OFD Sender: No OFD packet to send [06:50:46]OFD Sender: No OFD packet to send [06:50:51]OFD Sender: No OFD packet to send [06:50:57]OFD Sender: No OFD packet to send [06:51:02]OFD Sender: No OFD packet to send [06:51:07]OFD Sender: No OFD packet to send [06:51:12]OFD Sender: No OFD packet to send [06:51:17]OFD Sender: No OFD packet to send [06:51:22]OFD Sender: No OFD packet to send [06:51:27]OFD Sender: No OFD packet to send [06:51:32]OFD Sender: No OFD packet to send [06:51:37]OFD Sender: No OFD packet to send [06:51:42]OFD Sender: No OFD packet to send [06:51:47]OFD Sender: No OFD packet to send [06:51:52]OFD Sender: No OFD packet to send [06:51:57]OFD Sender: No OFD packet to send [06:52:02]OFD Sender: No OFD packet to send [06:52:07]OFD Sender: No OFD packet to send [06:52:12]OFD Sender: No OFD packet to send [06:52:17]OFD Sender: No OFD packet to send [06:52:22]OFD Sender: No OFD packet to send [06:52:27]OFD Sender: No OFD packet to send [06:52:32]OFD Sender: No OFD packet to send [06:52:37]OFD Sender: No OFD packet to send [06:52:42]OFD Sender: No OFD packet to send [06:52:47]OFD Sender: No OFD packet to send [06:52:52]OFD Sender: No OFD packet to send [06:52:57]OFD Sender: No OFD packet to send [06:53:02]OFD Sender: No OFD packet to send [06:53:07]OFD Sender: No OFD packet to send [06:53:12]OFD Sender: No OFD packet to send [06:53:17]OFD Sender: No OFD packet to send [06:53:22]OFD Sender: No OFD packet to send [06:53:27]OFD Sender: No OFD packet to send [06:53:32]OFD Sender: No OFD packet to send [06:53:37]OFD Sender: No OFD packet to send [06:53:42]OFD Sender: No OFD packet to send [06:53:47]OFD Sender: No OFD packet to send [06:53:52]OFD Sender: No OFD packet to send [06:53:57]OFD Sender: No OFD packet to send [06:54:02]OFD Sender: No OFD packet to send [06:54:07]OFD Sender: No OFD packet to send [06:54:12]OFD Sender: No OFD packet to send [06:54:17]OFD Sender: No OFD packet to send [06:54:22]OFD Sender: No OFD packet to send [06:54:27]OFD Sender: No OFD packet to send [06:54:32]OFD Sender: No OFD packet to send [06:54:37]OFD Sender: No OFD packet to send [06:54:42]OFD Sender: No OFD packet to send [06:54:47]OFD Sender: No OFD packet to send [06:54:52]OFD Sender: No OFD packet to send [06:54:57]OFD Sender: No OFD packet to send [06:55:02]OFD Sender: No OFD packet to send [06:55:07]OFD Sender: No OFD packet to send [06:55:12]OFD Sender: No OFD packet to send [06:55:17]OFD Sender: No OFD packet to send [06:55:22]OFD Sender: No OFD packet to send [06:55:27]OFD Sender: No OFD packet to send [06:55:32]OFD Sender: No OFD packet to send [06:55:37]OFD Sender: No OFD packet to send [06:55:42]OFD Sender: No OFD packet to send [06:55:47]OFD Sender: No OFD packet to send [06:55:52]OFD Sender: No OFD packet to send [06:55:57]OFD Sender: No OFD packet to send [06:56:02]OFD Sender: No OFD packet to send [06:56:07]OFD Sender: No OFD packet to send [06:56:12]OFD Sender: No OFD packet to send [06:56:17]OFD Sender: No OFD packet to send [06:56:22]OFD Sender: No OFD packet to send [06:56:27]OFD Sender: No OFD packet to send [06:56:32]OFD Sender: No OFD packet to send [06:56:37]OFD Sender: No OFD packet to send [06:56:42]OFD Sender: No OFD packet to send [06:56:47]OFD Sender: No OFD packet to send [06:56:52]OFD Sender: No OFD packet to send [06:56:57]OFD Sender: No OFD packet to send [06:57:02]OFD Sender: No OFD packet to send [06:57:07]OFD Sender: No OFD packet to send [06:57:12]OFD Sender: No OFD packet to send [06:57:17]OFD Sender: No OFD packet to send [06:57:22]OFD Sender: No OFD packet to send [06:57:27]OFD Sender: No OFD packet to send [06:57:32]OFD Sender: No OFD packet to send [06:57:37]OFD Sender: No OFD packet to send [06:57:42]OFD Sender: No OFD packet to send [06:57:47]OFD Sender: No OFD packet to send [06:57:52]OFD Sender: No OFD packet to send [06:57:57]OFD Sender: No OFD packet to send [06:58:02]OFD Sender: No OFD packet to send [06:58:07]OFD Sender: No OFD packet to send [06:58:12]OFD Sender: No OFD packet to send [06:58:17]OFD Sender: No OFD packet to send [06:58:22]OFD Sender: No OFD packet to send [06:58:27]OFD Sender: No OFD packet to send [06:58:32]OFD Sender: No OFD packet to send [06:58:37]OFD Sender: No OFD packet to send [06:58:42]OFD Sender: No OFD packet to send [06:58:47]OFD Sender: No OFD packet to send [06:58:52]OFD Sender: No OFD packet to send [06:58:57]OFD Sender: No OFD packet to send [06:59:02]OFD Sender: No OFD packet to send [06:59:07]OFD Sender: No OFD packet to send [06:59:12]OFD Sender: No OFD packet to send [06:59:17]OFD Sender: No OFD packet to send [06:59:22]OFD Sender: No OFD packet to send [06:59:27]OFD Sender: No OFD packet to send [06:59:32]OFD Sender: No OFD packet to send [06:59:37]OFD Sender: No OFD packet to send [06:59:42]OFD Sender: No OFD packet to send [06:59:47]OFD Sender: No OFD packet to send [06:59:52]OFD Sender: No OFD packet to send [06:59:57]OFD Sender: No OFD packet to send [07:00:02]OFD Sender: No OFD packet to send [07:00:07]OFD Sender: No OFD packet to send [07:00:12]OFD Sender: No OFD packet to send [07:00:17]OFD Sender: No OFD packet to send [07:00:22]OFD Sender: No OFD packet to send [07:00:27]OFD Sender: No OFD packet to send [07:00:32]OFD Sender: No OFD packet to send [07:00:37]OFD Sender: No OFD packet to send [07:00:42]OFD Sender: No OFD packet to send [07:00:47]OFD Sender: No OFD packet to send [07:00:52]OFD Sender: No OFD packet to send [07:00:57]OFD Sender: No OFD packet to send [07:01:02]OFD Sender: No OFD packet to send [07:01:07]OFD Sender: No OFD packet to send [07:01:12]OFD Sender: No OFD packet to send [07:01:17]OFD Sender: No OFD packet to send [07:01:22]OFD Sender: No OFD packet to send [07:01:27]OFD Sender: No OFD packet to send [07:01:32]OFD Sender: No OFD packet to send [07:01:37]OFD Sender: No OFD packet to send [07:01:42]OFD Sender: No OFD packet to send [07:01:47]OFD Sender: No OFD packet to send [07:01:52]OFD Sender: No OFD packet to send [07:01:57]OFD Sender: No OFD packet to send [07:02:02]OFD Sender: No OFD packet to send [07:02:07]OFD Sender: No OFD packet to send [07:02:12]OFD Sender: No OFD packet to send [07:02:17]OFD Sender: No OFD packet to send [07:02:22]OFD Sender: No OFD packet to send [07:02:27]OFD Sender: No OFD packet to send [07:02:32]OFD Sender: No OFD packet to send [07:02:37]OFD Sender: No OFD packet to send [07:02:42]OFD Sender: No OFD packet to send [07:02:47]OFD Sender: No OFD packet to send [07:02:52]OFD Sender: No OFD packet to send [07:02:57]OFD Sender: No OFD packet to send [07:03:02]OFD Sender: No OFD packet to send [07:03:07]OFD Sender: No OFD packet to send [07:03:12]OFD Sender: No OFD packet to send [07:03:17]OFD Sender: No OFD packet to send [07:03:22]OFD Sender: No OFD packet to send [07:03:27]OFD Sender: No OFD packet to send [07:03:32]OFD Sender: No OFD packet to send [07:03:37]OFD Sender: No OFD packet to send [07:03:42]OFD Sender: No OFD packet to send [07:03:47]OFD Sender: No OFD packet to send [07:03:52]OFD Sender: No OFD packet to send [07:03:57]OFD Sender: No OFD packet to send [07:04:02]OFD Sender: No OFD packet to send [07:04:07]OFD Sender: No OFD packet to send [07:04:12]OFD Sender: No OFD packet to send [07:04:17]OFD Sender: No OFD packet to send [07:04:22]OFD Sender: No OFD packet to send [07:04:27]OFD Sender: No OFD packet to send [07:04:32]OFD Sender: No OFD packet to send [07:04:37]OFD Sender: No OFD packet to send [07:04:42]OFD Sender: No OFD packet to send [07:04:47]OFD Sender: No OFD packet to send [07:04:52]OFD Sender: No OFD packet to send [07:04:57]OFD Sender: No OFD packet to send [07:05:02]OFD Sender: No OFD packet to send [07:05:07]OFD Sender: No OFD packet to send [07:05:12]OFD Sender: No OFD packet to send [07:05:17]OFD Sender: No OFD packet to send [07:05:22]OFD Sender: No OFD packet to send [07:05:27]OFD Sender: No OFD packet to send [07:05:32]OFD Sender: No OFD packet to send [07:05:37]OFD Sender: No OFD packet to send [07:05:42]OFD Sender: No OFD packet to send [07:05:47]OFD Sender: No OFD packet to send [07:05:52]OFD Sender: No OFD packet to send [07:05:57]OFD Sender: No OFD packet to send [07:06:02]OFD Sender: No OFD packet to send [07:06:07]OFD Sender: No OFD packet to send [07:06:12]OFD Sender: No OFD packet to send [07:06:17]OFD Sender: No OFD packet to send [07:06:22]OFD Sender: No OFD packet to send [07:06:27]OFD Sender: No OFD packet to send [07:06:32]OFD Sender: No OFD packet to send [07:06:37]OFD Sender: No OFD packet to send [07:06:42]OFD Sender: No OFD packet to send [07:06:47]OFD Sender: No OFD packet to send [07:06:52]OFD Sender: No OFD packet to send [07:06:57]OFD Sender: No OFD packet to send [07:07:02]OFD Sender: No OFD packet to send [07:07:07]OFD Sender: No OFD packet to send [07:07:12]OFD Sender: No OFD packet to send [07:07:17]OFD Sender: No OFD packet to send [07:07:22]OFD Sender: No OFD packet to send [07:07:27]OFD Sender: No OFD packet to send [07:07:32]OFD Sender: No OFD packet to send [07:07:37]OFD Sender: No OFD packet to send [07:07:42]OFD Sender: No OFD packet to send [07:07:47]OFD Sender: No OFD packet to send [07:07:52]OFD Sender: No OFD packet to send [07:07:57]OFD Sender: No OFD packet to send [07:08:02]OFD Sender: No OFD packet to send [07:08:07]OFD Sender: No OFD packet to send [07:08:12]OFD Sender: No OFD packet to send [07:08:17]OFD Sender: No OFD packet to send [07:08:22]OFD Sender: No OFD packet to send [07:08:27]OFD Sender: No OFD packet to send [07:08:32]OFD Sender: No OFD packet to send [07:08:37]OFD Sender: No OFD packet to send [07:08:42]OFD Sender: No OFD packet to send [07:08:47]OFD Sender: No OFD packet to send [07:08:52]OFD Sender: No OFD packet to send [07:08:57]OFD Sender: No OFD packet to send [07:09:02]OFD Sender: No OFD packet to send [07:09:07]OFD Sender: No OFD packet to send [07:09:12]OFD Sender: No OFD packet to send [07:09:17]OFD Sender: No OFD packet to send [07:09:22]OFD Sender: No OFD packet to send [07:09:27]OFD Sender: No OFD packet to send [07:09:32]OFD Sender: No OFD packet to send [07:09:37]OFD Sender: No OFD packet to send [07:09:42]OFD Sender: No OFD packet to send [07:09:47]OFD Sender: No OFD packet to send [07:09:52]OFD Sender: No OFD packet to send [07:09:57]OFD Sender: No OFD packet to send [07:10:03]OFD Sender: No OFD packet to send [07:10:08]OFD Sender: No OFD packet to send [07:10:13]OFD Sender: No OFD packet to send [07:10:18]OFD Sender: No OFD packet to send [07:10:23]OFD Sender: No OFD packet to send [07:10:28]OFD Sender: No OFD packet to send [07:10:33]OFD Sender: No OFD packet to send [07:10:38]OFD Sender: No OFD packet to send [07:10:43]OFD Sender: No OFD packet to send [07:10:48]OFD Sender: No OFD packet to send [07:10:53]OFD Sender: No OFD packet to send [07:10:58]OFD Sender: No OFD packet to send [07:11:03]OFD Sender: No OFD packet to send [07:11:08]OFD Sender: No OFD packet to send [07:11:13]OFD Sender: No OFD packet to send [07:11:18]OFD Sender: No OFD packet to send [07:11:23]OFD Sender: No OFD packet to send [07:11:28]OFD Sender: No OFD packet to send [07:11:33]OFD Sender: No OFD packet to send [07:11:38]OFD Sender: No OFD packet to send [07:11:43]OFD Sender: No OFD packet to send [07:11:48]OFD Sender: No OFD packet to send [07:11:53]OFD Sender: No OFD packet to send [07:11:58]OFD Sender: No OFD packet to send [07:12:03]OFD Sender: No OFD packet to send [07:12:08]OFD Sender: No OFD packet to send [07:12:13]OFD Sender: No OFD packet to send [07:12:18]OFD Sender: No OFD packet to send [07:12:23]OFD Sender: No OFD packet to send [07:12:28]OFD Sender: No OFD packet to send [07:12:33]OFD Sender: No OFD packet to send [07:12:38]OFD Sender: No OFD packet to send [07:12:43]OFD Sender: No OFD packet to send [07:12:48]OFD Sender: No OFD packet to send [07:12:53]OFD Sender: No OFD packet to send [07:12:58]OFD Sender: No OFD packet to send [07:13:03]OFD Sender: No OFD packet to send [07:13:08]OFD Sender: No OFD packet to send [07:13:13]OFD Sender: No OFD packet to send [07:13:18]OFD Sender: No OFD packet to send [07:13:23]OFD Sender: No OFD packet to send [07:13:28]OFD Sender: No OFD packet to send [07:13:33]OFD Sender: No OFD packet to send [07:13:38]OFD Sender: No OFD packet to send [07:13:43]OFD Sender: No OFD packet to send [07:13:48]OFD Sender: No OFD packet to send [07:13:53]OFD Sender: No OFD packet to send [07:13:58]OFD Sender: No OFD packet to send [07:14:03]OFD Sender: No OFD packet to send [07:14:08]OFD Sender: No OFD packet to send [07:14:13]OFD Sender: No OFD packet to send [07:14:18]OFD Sender: No OFD packet to send [07:14:23]OFD Sender: No OFD packet to send [07:14:28]OFD Sender: No OFD packet to send [07:14:33]OFD Sender: No OFD packet to send [07:14:38]OFD Sender: No OFD packet to send [07:14:43]OFD Sender: No OFD packet to send [07:14:48]OFD Sender: No OFD packet to send [07:14:53]OFD Sender: No OFD packet to send [07:14:58]OFD Sender: No OFD packet to send [07:15:03]OFD Sender: No OFD packet to send [07:15:08]OFD Sender: No OFD packet to send [07:15:13]OFD Sender: No OFD packet to send [07:15:18]OFD Sender: No OFD packet to send [07:15:23]OFD Sender: No OFD packet to send [07:15:28]OFD Sender: No OFD packet to send [07:15:33]OFD Sender: No OFD packet to send [07:15:38]OFD Sender: No OFD packet to send [07:15:43]OFD Sender: No OFD packet to send [07:15:48]OFD Sender: No OFD packet to send [07:15:53]OFD Sender: No OFD packet to send [07:15:58]OFD Sender: No OFD packet to send [07:16:03]OFD Sender: No OFD packet to send [07:16:08]OFD Sender: No OFD packet to send [07:16:13]OFD Sender: No OFD packet to send [07:16:18]OFD Sender: No OFD packet to send [07:16:23]OFD Sender: No OFD packet to send [07:16:28]OFD Sender: No OFD packet to send [07:16:33]OFD Sender: No OFD packet to send [07:16:38]OFD Sender: No OFD packet to send [07:16:43]OFD Sender: No OFD packet to send [07:16:48]OFD Sender: No OFD packet to send [07:16:53]OFD Sender: No OFD packet to send [07:16:58]OFD Sender: No OFD packet to send [07:17:03]OFD Sender: No OFD packet to send [07:17:08]OFD Sender: No OFD packet to send [07:17:13]OFD Sender: No OFD packet to send [07:17:18]OFD Sender: No OFD packet to send [07:17:23]OFD Sender: No OFD packet to send [07:17:28]OFD Sender: No OFD packet to send [07:17:33]OFD Sender: No OFD packet to send [07:17:38]OFD Sender: No OFD packet to send [07:17:43]OFD Sender: No OFD packet to send [07:17:48]OFD Sender: No OFD packet to send [07:17:53]OFD Sender: No OFD packet to send [07:17:58]OFD Sender: No OFD packet to send [07:18:03]OFD Sender: No OFD packet to send [07:18:08]OFD Sender: No OFD packet to send [07:18:13]OFD Sender: No OFD packet to send [07:18:18]OFD Sender: No OFD packet to send [07:18:23]OFD Sender: No OFD packet to send [07:18:28]OFD Sender: No OFD packet to send [07:18:33]OFD Sender: No OFD packet to send [07:18:38]OFD Sender: No OFD packet to send [07:18:43]OFD Sender: No OFD packet to send [07:18:48]OFD Sender: No OFD packet to send [07:18:53]OFD Sender: No OFD packet to send [07:18:58]OFD Sender: No OFD packet to send [07:19:03]OFD Sender: No OFD packet to send [07:19:08]OFD Sender: No OFD packet to send [07:19:13]OFD Sender: No OFD packet to send [07:19:18]OFD Sender: No OFD packet to send [07:19:23]OFD Sender: No OFD packet to send [07:19:28]OFD Sender: No OFD packet to send [07:19:33]OFD Sender: No OFD packet to send [07:19:38]OFD Sender: No OFD packet to send [07:19:43]OFD Sender: No OFD packet to send [07:19:48]OFD Sender: No OFD packet to send [07:19:53]OFD Sender: No OFD packet to send [07:19:58]OFD Sender: No OFD packet to send [07:20:03]OFD Sender: No OFD packet to send [07:20:08]OFD Sender: No OFD packet to send [07:20:13]OFD Sender: No OFD packet to send [07:20:18]OFD Sender: No OFD packet to send [07:20:23]OFD Sender: No OFD packet to send [07:20:28]OFD Sender: No OFD packet to send [07:20:33]OFD Sender: No OFD packet to send [07:20:38]OFD Sender: No OFD packet to send [07:20:43]OFD Sender: No OFD packet to send [07:20:48]OFD Sender: No OFD packet to send [07:20:53]OFD Sender: No OFD packet to send [07:20:58]OFD Sender: No OFD packet to send [07:21:03]OFD Sender: No OFD packet to send [07:21:08]OFD Sender: No OFD packet to send [07:21:13]OFD Sender: No OFD packet to send [07:21:18]OFD Sender: No OFD packet to send [07:21:23]OFD Sender: No OFD packet to send [07:21:28]OFD Sender: No OFD packet to send [07:21:33]OFD Sender: No OFD packet to send [07:21:38]OFD Sender: No OFD packet to send [07:21:43]OFD Sender: No OFD packet to send [07:21:48]OFD Sender: No OFD packet to send [07:21:53]OFD Sender: No OFD packet to send [07:21:58]OFD Sender: No OFD packet to send [07:22:03]OFD Sender: No OFD packet to send [07:22:08]OFD Sender: No OFD packet to send [07:22:13]OFD Sender: No OFD packet to send [07:22:18]OFD Sender: No OFD packet to send [07:22:23]OFD Sender: No OFD packet to send [07:22:28]OFD Sender: No OFD packet to send [07:22:33]OFD Sender: No OFD packet to send [07:22:38]OFD Sender: No OFD packet to send [07:22:43]OFD Sender: No OFD packet to send [07:22:48]OFD Sender: No OFD packet to send [07:22:53]OFD Sender: No OFD packet to send [07:22:58]OFD Sender: No OFD packet to send [07:23:03]OFD Sender: No OFD packet to send [07:23:08]OFD Sender: No OFD packet to send [07:23:13]OFD Sender: No OFD packet to send [07:23:18]OFD Sender: No OFD packet to send [07:23:23]OFD Sender: No OFD packet to send [07:23:28]OFD Sender: No OFD packet to send [07:23:33]OFD Sender: No OFD packet to send [07:23:38]OFD Sender: No OFD packet to send [07:23:43]OFD Sender: No OFD packet to send [07:23:48]OFD Sender: No OFD packet to send [07:23:53]OFD Sender: No OFD packet to send [07:23:58]OFD Sender: No OFD packet to send [07:24:03]OFD Sender: No OFD packet to send [07:24:08]OFD Sender: No OFD packet to send [07:24:13]OFD Sender: No OFD packet to send [07:24:18]OFD Sender: No OFD packet to send [07:24:23]OFD Sender: No OFD packet to send [07:24:28]OFD Sender: No OFD packet to send [07:24:33]OFD Sender: No OFD packet to send [07:24:38]OFD Sender: No OFD packet to send [07:24:43]OFD Sender: No OFD packet to send [07:24:48]OFD Sender: No OFD packet to send [07:24:53]OFD Sender: No OFD packet to send [07:24:58]OFD Sender: No OFD packet to send [07:25:03]OFD Sender: No OFD packet to send [07:25:08]OFD Sender: No OFD packet to send [07:25:13]OFD Sender: No OFD packet to send [07:25:18]OFD Sender: No OFD packet to send [07:25:23]OFD Sender: No OFD packet to send [07:25:28]OFD Sender: No OFD packet to send [07:25:33]OFD Sender: No OFD packet to send [07:25:38]OFD Sender: No OFD packet to send [07:25:43]OFD Sender: No OFD packet to send [07:25:48]OFD Sender: No OFD packet to send [07:25:53]OFD Sender: No OFD packet to send [07:25:58]OFD Sender: No OFD packet to send [07:26:03]OFD Sender: No OFD packet to send [07:26:08]OFD Sender: No OFD packet to send [07:26:13]OFD Sender: No OFD packet to send [07:26:18]OFD Sender: No OFD packet to send [07:26:23]OFD Sender: No OFD packet to send [07:26:28]OFD Sender: No OFD packet to send [07:26:33]OFD Sender: No OFD packet to send [07:26:38]OFD Sender: No OFD packet to send [07:26:43]OFD Sender: No OFD packet to send [07:26:48]OFD Sender: No OFD packet to send [07:26:53]OFD Sender: No OFD packet to send [07:26:58]OFD Sender: No OFD packet to send [07:27:03]OFD Sender: No OFD packet to send [07:27:08]OFD Sender: No OFD packet to send [07:27:13]OFD Sender: No OFD packet to send [07:27:18]OFD Sender: No OFD packet to send [07:27:23]OFD Sender: No OFD packet to send [07:27:28]OFD Sender: No OFD packet to send [07:27:33]OFD Sender: No OFD packet to send [07:27:38]OFD Sender: No OFD packet to send [07:27:43]OFD Sender: No OFD packet to send [07:27:48]OFD Sender: No OFD packet to send [07:27:53]OFD Sender: No OFD packet to send [07:27:58]OFD Sender: No OFD packet to send [07:28:03]OFD Sender: No OFD packet to send [07:28:08]OFD Sender: No OFD packet to send [07:28:13]OFD Sender: No OFD packet to send [07:28:18]OFD Sender: No OFD packet to send [07:28:23]OFD Sender: No OFD packet to send [07:28:28]OFD Sender: No OFD packet to send [07:28:33]OFD Sender: No OFD packet to send [07:28:38]OFD Sender: No OFD packet to send [07:28:43]OFD Sender: No OFD packet to send [07:28:48]OFD Sender: No OFD packet to send [07:28:53]OFD Sender: No OFD packet to send [07:28:59]OFD Sender: No OFD packet to send [07:29:04]OFD Sender: No OFD packet to send [07:29:09]OFD Sender: No OFD packet to send [07:29:14]OFD Sender: No OFD packet to send [07:29:19]OFD Sender: No OFD packet to send [07:29:24]OFD Sender: No OFD packet to send [07:29:29]OFD Sender: No OFD packet to send [07:29:34]OFD Sender: No OFD packet to send [07:29:39]OFD Sender: No OFD packet to send [07:29:44]OFD Sender: No OFD packet to send [07:29:49]OFD Sender: No OFD packet to send [07:29:54]OFD Sender: No OFD packet to send [07:29:59]OFD Sender: No OFD packet to send [07:30:04]OFD Sender: No OFD packet to send [07:30:09]OFD Sender: No OFD packet to send [07:30:14]OFD Sender: No OFD packet to send [07:30:19]OFD Sender: No OFD packet to send [07:30:24]OFD Sender: No OFD packet to send [07:30:29]OFD Sender: No OFD packet to send [07:30:34]OFD Sender: No OFD packet to send [07:30:39]OFD Sender: No OFD packet to send [07:30:44]OFD Sender: No OFD packet to send [07:30:49]OFD Sender: No OFD packet to send [07:30:54]OFD Sender: No OFD packet to send [07:30:59]OFD Sender: No OFD packet to send [07:31:04]OFD Sender: No OFD packet to send [07:31:09]OFD Sender: No OFD packet to send [07:31:14]OFD Sender: No OFD packet to send [07:31:19]OFD Sender: No OFD packet to send [07:31:24]OFD Sender: No OFD packet to send [07:31:29]OFD Sender: No OFD packet to send [07:31:34]OFD Sender: No OFD packet to send [07:31:39]OFD Sender: No OFD packet to send [07:31:44]OFD Sender: No OFD packet to send [07:31:49]OFD Sender: No OFD packet to send [07:31:54]OFD Sender: No OFD packet to send [07:31:59]OFD Sender: No OFD packet to send [07:32:04]OFD Sender: No OFD packet to send [07:32:09]OFD Sender: No OFD packet to send [07:32:14]OFD Sender: No OFD packet to send [07:32:19]OFD Sender: No OFD packet to send [07:32:24]OFD Sender: No OFD packet to send [07:32:29]OFD Sender: No OFD packet to send [07:32:34]OFD Sender: No OFD packet to send [07:32:39]OFD Sender: No OFD packet to send [07:32:44]OFD Sender: No OFD packet to send [07:32:49]OFD Sender: No OFD packet to send [07:32:54]OFD Sender: No OFD packet to send [07:32:59]OFD Sender: No OFD packet to send [07:33:04]OFD Sender: No OFD packet to send [07:33:09]OFD Sender: No OFD packet to send [07:33:14]OFD Sender: No OFD packet to send [07:33:19]OFD Sender: No OFD packet to send [07:33:24]OFD Sender: No OFD packet to send [07:33:29]OFD Sender: No OFD packet to send [07:33:34]OFD Sender: No OFD packet to send [07:33:39]OFD Sender: No OFD packet to send [07:33:44]OFD Sender: No OFD packet to send [07:33:49]OFD Sender: No OFD packet to send [07:33:54]OFD Sender: No OFD packet to send [07:33:59]OFD Sender: No OFD packet to send [07:34:04]OFD Sender: No OFD packet to send [07:34:09]OFD Sender: No OFD packet to send [07:34:14]OFD Sender: No OFD packet to send [07:34:19]OFD Sender: No OFD packet to send [07:34:24]OFD Sender: No OFD packet to send [07:34:29]OFD Sender: No OFD packet to send [07:34:34]OFD Sender: No OFD packet to send [07:34:39]OFD Sender: No OFD packet to send [07:34:44]OFD Sender: No OFD packet to send [07:34:49]OFD Sender: No OFD packet to send [07:34:54]OFD Sender: No OFD packet to send [07:34:59]OFD Sender: No OFD packet to send [07:35:04]OFD Sender: No OFD packet to send [07:35:09]OFD Sender: No OFD packet to send [07:35:14]OFD Sender: No OFD packet to send [07:35:19]OFD Sender: No OFD packet to send [07:35:24]OFD Sender: No OFD packet to send [07:35:29]OFD Sender: No OFD packet to send [07:35:34]OFD Sender: No OFD packet to send [07:35:39]OFD Sender: No OFD packet to send [07:35:44]OFD Sender: No OFD packet to send [07:35:49]OFD Sender: No OFD packet to send [07:35:54]OFD Sender: No OFD packet to send [07:35:59]OFD Sender: No OFD packet to send [07:36:04]OFD Sender: No OFD packet to send [07:36:09]OFD Sender: No OFD packet to send [07:36:14]OFD Sender: No OFD packet to send [07:36:19]OFD Sender: No OFD packet to send [07:36:24]OFD Sender: No OFD packet to send [07:36:29]OFD Sender: No OFD packet to send [07:36:34]OFD Sender: No OFD packet to send [07:36:39]OFD Sender: No OFD packet to send [07:36:44]OFD Sender: No OFD packet to send [07:36:49]OFD Sender: No OFD packet to send [07:36:54]OFD Sender: No OFD packet to send [07:36:59]OFD Sender: No OFD packet to send [07:37:04]OFD Sender: No OFD packet to send [07:37:09]OFD Sender: No OFD packet to send [07:37:14]OFD Sender: No OFD packet to send [07:37:19]OFD Sender: No OFD packet to send [07:37:24]OFD Sender: No OFD packet to send [07:37:29]OFD Sender: No OFD packet to send [07:37:34]OFD Sender: No OFD packet to send [07:37:39]OFD Sender: No OFD packet to send [07:37:44]OFD Sender: No OFD packet to send [07:37:49]OFD Sender: No OFD packet to send [07:37:53]accept exits with 8 [07:37:53]New connection [07:37:53]New thread 3066924388 created [07:37:53]Thread 3067067748 joined [07:37:53]Waiting for new connection... [07:37:53] Sock 8.Parse request [07:37:53]Sock 8.Check first char [07:37:53]Sock 8.First char is OK [07:37:53]request: POST /json_proto HTTP/1.0 [07:37:53]Method: POST [07:37:53]URL: /json_proto [07:37:53]Method is POST - this is cgi request [07:37:53]url: /json_proto [07:37:53]query_string will be loaded in cgi processing [07:37:53]execute_cgi json_proto POST (null) [07:37:53]execute_cgi path=json_proto method=POST [07:37:53]POST find Content-Length [07:37:53]Host: 172.17.39.4:8080 [07:37:53]Content-Length: 815 [07:37:53]Content-Type: application/json [07:37:53] [07:37:53]POST finish read [07:37:53]Found Content-Length = 815 [07:37:53]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129595", "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" ] } } [07:37:53]execute_script... [07:37: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)129595", "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" ] } } [07:37:53]POST & json_proto [07:37:53]process_json_proto [07:37:53]json parsed OK: [07:37:53]protocol is kg_v1.0 [07:37:53]action value=close_receipt [07:37:53]process_action close_receipt [07:37:53]cmd_close_receipt [07:37:53]MH_GetDate [07:37:53]Write to MH i2c: F0 00 00 70 0C 6B [07:37:53]Write i2c OK [07:37:53]MH_I2C_Read... [07:37:53]Read from MH i2c: F0 [07:37:53]MH_I2C_Read... [07:37:53]Read from MH i2c: F0 09 00 [07:37:53]MH_I2C_Read... [07:37:53]Read from MH i2c: F0 09 00 70 0C 00 D3 D1 94 66 2D 25 5D 64 25 [07:37:53]GetLastDocTimeStamp 1721026086 [07:37:53]current date 1721029075 [07:37:53]FM_GetShiftState [07:37:53]SAM_PROTO_GetShiftState [07:37:53]wFMCommunicate request_size=4 [07:37:53]MH_SAM_APDU [07:37:53]CAPDU: 80 13 01 00 [07:37:53]Write to MH i2c: E2 08 00 71 0C 80 13 01 00 00 00 00 00 FA [07:37:53]Write i2c OK [07:37:53]MH_I2C_Read... [07:37:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:37:53]Read from MH i2c: E2 [07:37:53]MH_I2C_Read... [07:37:53]Read from MH i2c: E2 0E 00 [07:37:53]MH_I2C_Read... [07:37:53]Read from MH i2c: E2 0E 00 71 0C 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 73 [07:37:53]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [07:37:53]wFMCommunicate OK [07:37:53]SAM_PROTO_GetShiftState done [07:37:53]FM_GetShiftState done [07:37:53]opened in 1721003525 [07:37:53]opened+sec_in_day 1721089925 [07:37:53]quantity*price = 11000 [07:37:53]sum+1 = 11001 [07:37:53]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 СНО: Общий режим Чек 35 15.07.2024 07:37 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57140 ФПД: 4167515089562 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T073755&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57140&fm=4167515089562&tin=02508201610067®Number=0000000000091208&sum=11000 0 [07:37:54]StoreToDocumentArchive [07:37:54]shift 497 fd 57140 [07:37:54]save to /storage/0497/doc_00057140 [07:37:54]save last doc name /storage/0497/doc_00057140 to /storage/kkm_last_doc_name [07:37:54]save OK [07:37:54]Clear old archive folders... [07:37:54]ProcessDocumentItem done err = 0, tmpTLVsize=303 [07:37:54]tlvbuf is 0097FC80 [07:37:54]SAM_PROTO_ClearQueue [07:37:54]wFMCommunicate request_size=4 [07:37:54]MH_SAM_APDU [07:37:54]CAPDU: 80 09 00 00 [07:37:54]Write to MH i2c: E2 08 00 7E 0C 80 09 00 00 00 00 00 00 FC [07:37:54]Write i2c OK [07:37:54]MH_I2C_Read... [07:37:54]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [07:37:54]Read from MH i2c: E2 [07:37:54]MH_I2C_Read... [07:37:54]Read from MH i2c: E2 03 00 [07:37:54]MH_I2C_Read... [07:37:54]Read from MH i2c: E2 03 00 7E 0C 00 90 00 FE [07:37:54]RAPDU: 90 00 [07:37:54]wFMCommunicate OK [07:37:54]SAM_PROTO_ClearQueue done [07:37:54]KKMCreateOFDPacket [07:37:54]OFDProtocolAddRootSTLVToBuf [07:37:54]FM_MakeSignedData [07:37:54]FM_MakeSignedData [07:37:54]SAM_PROTO_SignData [07:37:54]wFMCommunicate request_size=4 [07:37:54]MH_SAM_APDU [07:37:54]CAPDU: 80 0D 01 02 [07:37:54]Write to MH i2c: E2 08 00 7F 0C 80 0D 01 02 00 00 00 00 04 [07:37:54]Write i2c OK [07:37:54]MH_I2C_Read... [07:37:54]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [07:37:54]Read from MH i2c: E2 [07:37:54]MH_I2C_Read... [07:37:54]Read from MH i2c: E2 03 00 [07:37:54]MH_I2C_Read... [07:37:54]Read from MH i2c: E2 03 00 7F 0C 00 90 00 FF [07:37:54]RAPDU: 90 00 [07:37:54]wFMCommunicate OK [07:37:54]wFMCommunicate request_size=255 [07:37:54]MH_SAM_APDU [07:37:54]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 23 00 00 00 F4 03 04 00 D3 D1 94 66 0E 04 04 00 F1 01 00 00 B9 04 01 00 01 0D [07:37:54]Write to MH i2c: E2 02 01 80 0C 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 23 00 00 00 F4 03 04 00 D3 D1 94 66 0E 04 04 00 F1 01 00 00 B9 04 01 00 01 0D 00 00 A7 [07:37:54]Write i2c OK [07:37:54]MH_I2C_Read... [07:37:54]OFD Sender: No OFD packet to send [07:37:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:37:54]Read from MH i2c: E2 [07:37:54]MH_I2C_Read... [07:37:54]Read from MH i2c: E2 03 00 [07:37:54]MH_I2C_Read... [07:37:54]Read from MH i2c: E2 03 00 80 0C 00 90 00 00 [07:37:54]RAPDU: 90 00 [07:37:54]wFMCommunicate OK [07:37:54]wFMCommunicate request_size=62 [07:37:54]MH_SAM_APDU [07:37:54]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 34 DF 00 00 35 04 06 00 03 CA 53 41 AA 9A [07:37:54]Write to MH i2c: E2 41 00 81 0C 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 34 DF 00 00 35 04 06 00 03 CA 53 41 AA 9A 00 00 FC [07:37:54]Write i2c OK [07:37:54]MH_I2C_Read... [07:37:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:37:54]Read from MH i2c: E2 [07:37:54]MH_I2C_Read... [07:37:54]Read from MH i2c: E2 03 00 [07:37:54]MH_I2C_Read... [07:37:54]Read from MH i2c: E2 03 00 81 0C 00 90 00 01 [07:37:54]RAPDU: 90 00 [07:37:54]wFMCommunicate OK [07:37:54]wFMCommunicate request_size=4 [07:37:54]MH_SAM_APDU [07:37:54]CAPDU: 80 0D 03 02 [07:37:54]Write to MH i2c: E2 08 00 82 0C 80 0D 03 02 00 00 00 00 09 [07:37:54]Write i2c OK [07:37:54]MH_I2C_Read... [07:37:54]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [07:37:54]Read from MH i2c: E2 [07:37:54]MH_I2C_Read... [07:37:54]Read from MH i2c: E2 0B 00 [07:37:54]MH_I2C_Read... [07:37:54]Read from MH i2c: E2 0B 00 82 0C 00 D0 53 1A 43 AD FF 04 21 90 00 5B [07:37:54]RAPDU: D0 53 1A 43 AD FF 04 21 90 00 [07:37:54]wFMCommunicate OK [07:37:54]SAM_PROTO_SignData done [07:37:54]FM_MakeSignedData done [07:37:54]CreateOFDProtocolMessage [07:37:54]wFMCommunicate request_size=4 [07:37:54]MH_SAM_APDU [07:37:54]CAPDU: 80 11 00 00 [07:37:54]Write to MH i2c: E2 08 00 83 0C 80 11 00 00 00 00 00 00 09 [07:37:54]Write i2c OK [07:37:54]MH_I2C_Read... [07:37:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:37:54]Read from MH i2c: E2 [07:37:54]MH_I2C_Read... [07:37:54]Read from MH i2c: E2 17 00 [07:37:54]MH_I2C_Read... [07:37:54]Read from MH i2c: E2 17 00 83 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 63 [07:37:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [07:37:54]wFMCommunicate OK [07:37:54]CreateOFDProtocolMessage done [07:37:54]OFDSenderStorePacket 57140 [07:37:54]StoreOFDPacket docnum=57140 [07:37: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 43 01 00 00 AE B0 3B 01 49 47 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 23 00 00 00 F4 03 04 00 D3 D1 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 34 DF 00 00 35 04 06 00 03 CA 53 41 AA 9A D0 53 1A 43 AD FF 04 21 [07:37:54]CheckFolder [07:37:54]dirname=/storage/ofd_packets [07:37:54]CheckFolder done [07:37:54]ProducePacketName [07:37:54]name=ofd_packets/00057140 [07:37:54]NVStorageSaveData ofd_packets/00057140 [07:37:54]File name is /storage/ofd_packets/00057140 [07:37:54]Write 353 bytes [07:37:54]NVStorageSaveData done [07:37:54]OFDSenderStorePacket done [07:37:54]KKMCreateOFDPacket done [07:37:54]NVStorageSaveData kkm_last_timestamp [07:37:54]File name is /storage/kkm_last_timestamp [07:37:54]Write 4 bytes [07:37:54]NVStorageSaveData done [07:37:54]ExternCall_PrintAddStr [07:37:54]wPrintStart [07:37:54]Write to MH i2c: 01 00 00 84 0C 90 [07:37:54]Write i2c OK [07:37:54]MH_I2C_Read... [07:37:54]Read from MH i2c: 01 [07:37:54]MH_I2C_Read... [07:37:54]Read from MH i2c: 01 07 00 [07:37:54]MH_I2C_Read... [07:37:54]Read from MH i2c: 01 07 00 84 0C 00 00 00 00 00 FF 0F A5 [07:37:54]RasterBufferAndPrint [07:37:54]line Счет N : (3)129595 [07:37:54]line ИНН: 02508201610067 [07:37:54]line Контрольно-Кассовый Чек [07:37:54]line ПРОДАЖА [07:37:54]line Товар: 4870202521216 [07:37:54]line Напиток MAXI чай 1,2 зел.лимон (новый) [07:37:54]line 1.000 * 110.00 [07:37:54]line = 110.00 [07:37:54]line НДС 12% НСП 1% [07:37:54]line > о реализуемом товаре [07:37:54]line ИТОГО: 110.00 [07:37:54]line НСП 1% : 0.97 [07:37:54]line НДС 12% : 11.68 [07:37:54]line Наличными: 110.00 [07:37:54]line Безнал.: 0.00 [07:37:54]line Место: АЗС № 132 "Партнер Нефть" [07:37:54]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [07:37:54]line СНО: Общий режим [07:37:54]line Чек 35 15.07.2024 07:37 [07:37:54]line Смена: 497 ФФД: 1.0 [07:37:54]line ЗНМ: 0300000132 [07:37:54]line РНМ: 0000000000091208 [07:37:54]line Версия ККМ: 001 [07:37:54]line ФМ: 0000000000874857 [07:37:54]line ФД: 57140 [07:37:54]line ФПД: 4167515089562 [07:37:55]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T073755&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57140&fm=4167515089562&tin=02508201610067®Number=0000000000091208&sum=11000 [07:37:55]line 0 [07:37:55]OFD Sender: Processing packet 57140 [packets to send 38, broken 37] [07:37:55]ProducePacketName [07:37:55]name=ofd_packets/00057140 [07:37:55]OFD Sender: To server: pG, [07:37:55]CommunicateWithHost lk.salyk.kg:30040 [07:37:55]ConnectInit lk.salyk.kg [07:37:55]written 0, free lines is 4095 [07:37:55]Connected sock=10 [07:37: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 43 01 00 00 AE B0 3B 01 49 47 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 23 00 00 00 F4 03 04 00 D3 D1 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 34 DF 00 00 35 04 06 00 03 CA 53 41 AA 9A D0 53 1A 43 AD FF 04 21 [07:37: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 40 F0 47 00 42 84 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 34 DF 00 00 F4 03 04 00 22 78 94 66 B6 04 01 00 00 93 65 A2 EC 82 1F BB 52 [07:37:55]CommunicateWithHost err = 0 [07:37:55]CheckOFDResponse [07:37:55]1017 (14) - 77093643461234 [07:37:55]1041 (16) - 0000000000874857 [07:37:55]1040 (4) - 57140 [07:37:55]1012 (4) - 15.07.2024 01:15 [07:37:55]1206 (1) - 0 [07:37:55]OFD Sender: Remove packet 57140 [07:37:55]ProducePacketName [07:37:55]name=ofd_packets/00057140 [07:37:55]NVStorageDeleteData [07:37:55]Write to MH i2c: 01 00 00 AD 0C B9 [07:37:55]Write i2c OK [07:37:55]MH_I2C_Read... [07:37:55]Read from MH i2c: 01 [07:37:55]MH_I2C_Read... [07:37:55]Read from MH i2c: 01 07 00 [07:37:55]MH_I2C_Read... [07:37:55]Read from MH i2c: 01 07 00 AD 0C 00 00 00 00 00 E8 0C B4 [07:37:55]RasterBufferAndPrint [07:37:55]line [07:37:55]line [07:37:55]line [07:37:55]line [07:37:55]line [07:37:55]written 0, free lines is 3313 [07:37:55]MH_Cut [07:37:55]Write to MH i2c: D1 01 00 B4 0C 01 92 [07:37:55]Write i2c OK [07:37:55]MH_I2C_Read... [07:37:55]Read from MH i2c: D1 [07:37:55]MH_I2C_Read... [07:37:55]Read from MH i2c: D1 01 00 [07:37:55]MH_I2C_Read... [07:37:55]Read from MH i2c: D1 01 00 B4 0C 00 91 [07:37:55]Write to MH i2c: 01 00 00 B5 0C C1 [07:37:55]Write i2c OK [07:37:55]MH_I2C_Read... [07:37:55]OFD Sender: No OFD packet to send [07:37:56]*** Cut start [07:37:56]*** Partial cut [07:37:56]*** CUTSNS_PIN = 1 [07:37:56]*** CUTSNS_PIN = 0 [07:37:56]*** Brake cut motor [07:37:56]Read from MH i2c: 01 [07:37:56]MH_I2C_Read... [07:37:56]*** Stop cut motor [07:37:56]*** Cut end [07:37:56]Read from MH i2c: 01 07 00 [07:37:56]MH_I2C_Read... [07:37:56]Read from MH i2c: 01 07 00 B5 0C 00 00 00 00 00 FF 0F D6 [07:37:56]process_action close_receipt done [07:37:56]requested_data is exist [07:37:56]produce_requested_data [07:37:56]requested_item fm.sn is exist - process it [07:37:56]wFMCommunicate request_size=4 [07:37:56]MH_SAM_APDU [07:37:56]CAPDU: 80 11 00 00 [07:37:56]Write to MH i2c: E2 08 00 B6 0C 80 11 00 00 00 00 00 00 3C [07:37:56]Write i2c OK [07:37:56]MH_I2C_Read... [07:37:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:37:57]Read from MH i2c: E2 [07:37:57]MH_I2C_Read... [07:37:57]Read from MH i2c: E2 17 00 [07:37:57]MH_I2C_Read... [07:37:57]Read from MH i2c: E2 17 00 B6 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 96 [07:37:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [07:37:57]wFMCommunicate OK [07:37:57]requested_item fd.num is exist - process it [07:37:57]SAM_PROTO_GetFieldsCounters [07:37:57]wFMCommunicate request_size=4 [07:37:57]MH_SAM_APDU [07:37:57]CAPDU: 80 13 00 00 [07:37:57]Write to MH i2c: E2 08 00 B7 0C 80 13 00 00 00 00 00 00 3F [07:37:57]Write i2c OK [07:37:57]MH_I2C_Read... [07:37:57]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:37:57]Read from MH i2c: E2 [07:37:57]MH_I2C_Read... [07:37:57]Read from MH i2c: E2 62 00 [07:37:57]MH_I2C_Read... [07:37:57]Read from MH i2c: E2 62 00 B7 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 34 DF 00 00 0E 04 04 00 F1 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 D0 [07:37: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 34 DF 00 00 0E 04 04 00 F1 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 [07:37:57]wFMCommunicate OK [07:37:57]SAM_PROTO_GetFieldsCounters done [07:37:57]requested_item shift.num is exist - process it [07:37:57]requested_item shift.opened is exist - process it [07:37:57]req_shift_opened [07:37:57]FM_GetShiftState [07:37:57]SAM_PROTO_GetShiftState [07:37:57]wFMCommunicate request_size=4 [07:37:57]MH_SAM_APDU [07:37:57]CAPDU: 80 13 01 00 [07:37:57]Write to MH i2c: E2 08 00 B8 0C 80 13 01 00 00 00 00 00 41 [07:37:57]Write i2c OK [07:37:57]MH_I2C_Read... [07:37:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:37:57]Read from MH i2c: E2 [07:37:57]MH_I2C_Read... [07:37:57]Read from MH i2c: E2 0E 00 [07:37:57]MH_I2C_Read... [07:37:57]Read from MH i2c: E2 0E 00 B8 0C 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 BA [07:37:57]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [07:37:57]wFMCommunicate OK [07:37:57]SAM_PROTO_GetShiftState done [07:37:57]FM_GetShiftState done [07:37:57]req_shift_opened done [07:37:57]requested_item shift.open_date is exist - process it [07:37:57]req_shift_open_date [07:37:57]req_shift_open_date done [07:37:57]requested_item shift.sale.total is exist - process it [07:37:57]SAM_PROTO_GetShiftData [07:37:57]wFMCommunicate request_size=4 [07:37:57]MH_SAM_APDU [07:37:57]CAPDU: 80 13 02 00 [07:37:57]Write to MH i2c: E2 08 00 B9 0C 80 13 02 00 00 00 00 00 43 [07:37:57]Write i2c OK [07:37:57]MH_I2C_Read... [07:37:57]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [07:37:57]Read from MH i2c: E2 [07:37:57]MH_I2C_Read... [07:37:57]Read from MH i2c: E2 FD 00 [07:37:57]MH_I2C_Read... [07:37:57]Read from MH i2c: E2 FD 00 B9 0C 00 B6 04 AA 04 B2 04 6E 04 04 00 23 00 00 00 69 04 9B 00 6F 04 04 00 22 00 00 00 B1 04 03 00 61 2D 0E 70 04 03 00 4C 19 09 72 04 03 00 15 14 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 67 81 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 1E 20 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 49 [07:37:57]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 23 00 00 00 69 04 9B 00 6F 04 04 00 22 00 00 00 B1 04 03 00 61 2D 0E 70 04 03 00 4C 19 09 72 04 03 00 15 14 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 67 81 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 1E 20 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 [07:37:57]wFMCommunicate OK [07:37:57]wFMCommunicate request_size=4 [07:37:57]MH_SAM_APDU [07:37:57]CAPDU: 80 17 00 00 [07:37:57]Write to MH i2c: E2 08 00 BA 0C 80 17 00 00 00 00 00 00 46 [07:37:57]Write i2c OK [07:37:57]MH_I2C_Read... [07:37:57]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [07:37:57]Read from MH i2c: E2 [07:37:57]MH_I2C_Read... [07:37:57]Read from MH i2c: E2 FD 00 [07:37:57]MH_I2C_Read... [07:37:57]Read from MH i2c: E2 FD 00 BA 0C 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 7B [07:37:57]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 [07:37:57]wFMCommunicate OK [07:37:57]wFMCommunicate request_size=4 [07:37:57]MH_SAM_APDU [07:37:57]CAPDU: 80 17 00 00 [07:37:57]Write to MH i2c: E2 08 00 BB 0C 80 17 00 00 00 00 00 00 47 [07:37:57]Write i2c OK [07:37:57]MH_I2C_Read... [07:37:58]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [07:37:58]Read from MH i2c: E2 [07:37:58]MH_I2C_Read... [07:37:58]Read from MH i2c: E2 FD 00 [07:37:58]MH_I2C_Read... [07:37:58]Read from MH i2c: E2 FD 00 BB 0C 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 07 [07:37:58]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 [07:37:58]wFMCommunicate OK [07:37:58]wFMCommunicate request_size=4 [07:37:58]MH_SAM_APDU [07:37:58]CAPDU: 80 17 00 00 [07:37:58]Write to MH i2c: E2 08 00 BC 0C 80 17 00 00 00 00 00 00 48 [07:37:58]Write i2c OK [07:37:58]MH_I2C_Read... [07:37:58]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [07:37:58]Read from MH i2c: E2 [07:37:58]MH_I2C_Read... [07:37:58]Read from MH i2c: E2 FD 00 [07:37:58]MH_I2C_Read... [07:37:58]Read from MH i2c: E2 FD 00 BC 0C 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 B7 [07:37:58]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 [07:37:58]wFMCommunicate OK [07:37:58]wFMCommunicate request_size=4 [07:37:58]MH_SAM_APDU [07:37:58]CAPDU: 80 17 00 00 [07:37:58]Write to MH i2c: E2 08 00 BD 0C 80 17 00 00 00 00 00 00 49 [07:37:58]Write i2c OK [07:37:58]MH_I2C_Read... [07:37:58]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [07:37:58]Read from MH i2c: E2 [07:37:58]MH_I2C_Read... [07:37:58]Read from MH i2c: E2 D3 00 [07:37:58]MH_I2C_Read... [07:37:58]Read from MH i2c: E2 D3 00 BD 0C 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 36 [07:37:58]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 [07:37:58]wFMCommunicate OK [07:37:58]SAM_PROTO_GetShiftData done [07:37:58]requested_item shift.sale.total_cash is exist - process it [07:37:58]requested_item shift.sale_refund.total is exist - process it [07:37:58]requested_item shift.sale_refund.total_cash is exist - process it [07:37:58]produce_requested_data done [07:37:58]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57140,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":9291.21,"shift.sale.total_cash":5963.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [07:37:58]process_action_free close_receipt [07:37:58]json_value_free [07:37:58]json_value_free done [07:37:58]process_json_proto returns [07:37:58]Send response to host [07:37:58]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57140,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":9291.21,"shift.sale.total_cash":5963.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [07:37:58]free response buf [07:37:58]execute_script done [07:37:58]execute_script returns [07:37:58]free content buf [07:37:58]Sock 8.Close socket [07:37:58]Sock 8.Thread stoped [07:38:01]OFD Sender: No OFD packet to send [07:38:06]OFD Sender: No OFD packet to send [07:38:11]OFD Sender: No OFD packet to send [07:38:16]OFD Sender: No OFD packet to send [07:38:21]OFD Sender: No OFD packet to send [07:38:26]OFD Sender: No OFD packet to send [07:38:31]OFD Sender: No OFD packet to send [07:38:36]OFD Sender: No OFD packet to send [07:38:41]OFD Sender: No OFD packet to send [07:38:46]OFD Sender: No OFD packet to send [07:38:51]OFD Sender: No OFD packet to send [07:38:56]OFD Sender: No OFD packet to send [07:38:59]accept exits with 9 [07:38:59]New connection [07:38:59]New thread 3067067748 created [07:38:59]Thread 3066924388 joined [07:38:59]Waiting for new connection... [07:38:59] Sock 9.Parse request [07:38:59]Sock 9.Check first char [07:38:59]Sock 9.First char is OK [07:38:59]request: POST /json_proto HTTP/1.0 [07:38:59]Method: POST [07:38:59]URL: /json_proto [07:38:59]Method is POST - this is cgi request [07:38:59]url: /json_proto [07:38:59]query_string will be loaded in cgi processing [07:38:59]execute_cgi json_proto POST (null) [07:38:59]execute_cgi path=json_proto method=POST [07:38:59]POST find Content-Length [07:38:59]Host: 172.17.39.4:8080 [07:38:59]Content-Length: 1363 [07:38:59]Content-Type: application/json [07:38:59] [07:38:59]POST finish read [07:38:59]Found Content-Length = 1363 [07:38:59]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129596", "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": "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": "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 }]} ], "payments": [ { "type": 0, "sum" : 307.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:38:59]execute_script... [07:38: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)129596", "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": "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": "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 }]} ], "payments": [ { "type": 0, "sum" : 307.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:38:59]POST & json_proto [07:38:59]process_json_proto [07:38:59]json parsed OK: [07:38:59]protocol is kg_v1.0 [07:38:59]action value=close_receipt [07:38:59]process_action close_receipt [07:38:59]cmd_close_receipt [07:38:59]MH_GetDate [07:38:59]Write to MH i2c: F0 00 00 BE 0C B9 [07:38:59]Write i2c OK [07:38:59]MH_I2C_Read... [07:38:59]Read from MH i2c: F0 [07:38:59]MH_I2C_Read... [07:38:59]Read from MH i2c: F0 09 00 [07:38:59]MH_I2C_Read... [07:38:59]Read from MH i2c: F0 09 00 BE 0C 00 15 D2 94 66 2D 25 5D 64 B6 [07:38:59]GetLastDocTimeStamp 1721029075 [07:38:59]current date 1721029141 [07:38:59]FM_GetShiftState [07:38:59]SAM_PROTO_GetShiftState [07:38:59]wFMCommunicate request_size=4 [07:38:59]MH_SAM_APDU [07:38:59]CAPDU: 80 13 01 00 [07:38:59]Write to MH i2c: E2 08 00 BF 0C 80 13 01 00 00 00 00 00 48 [07:38:59]Write i2c OK [07:38:59]MH_I2C_Read... [07:38:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:38:59]Read from MH i2c: E2 [07:38:59]MH_I2C_Read... [07:38:59]Read from MH i2c: E2 0E 00 [07:38:59]MH_I2C_Read... [07:38:59]Read from MH i2c: E2 0E 00 BF 0C 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 C1 [07:38:59]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [07:38:59]wFMCommunicate OK [07:38:59]SAM_PROTO_GetShiftState done [07:38:59]FM_GetShiftState done [07:38:59]opened in 1721003525 [07:38:59]opened+sec_in_day 1721089925 [07:38:59]quantity*price = 15700 [07:38:59]sum+1 = 15701 [07:38:59]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 5449000189325 Холодный чай Fuse персик 0,5л 1.000 * 75.00 = 75.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 5449000189349 Холодный чай Fuse манго ананас 0,5л 1.000 * 75.00 = 75.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 307.00 НСП 1% : 2.71 НДС 12% : 32.59 Наличными: 307.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 36 15.07.2024 07:39 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57141 ФПД: 646956427669 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T073902&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57141&fm=646956427669&tin=02508201610067®Number=0000000000091208&sum=30700 0 [07:39:00]StoreToDocumentArchive [07:39:00]shift 497 fd 57141 [07:39:00]save to /storage/0497/doc_00057141 [07:39:00]save last doc name /storage/0497/doc_00057141 to /storage/kkm_last_doc_name [07:39:00]save OK [07:39:00]Clear old archive folders... [07:39:00]ProcessDocumentItem done err = 0, tmpTLVsize=527 [07:39:00]tlvbuf is 00991730 [07:39:00]SAM_PROTO_ClearQueue [07:39:00]wFMCommunicate request_size=4 [07:39:00]MH_SAM_APDU [07:39:00]CAPDU: 80 09 00 00 [07:39:00]Write to MH i2c: E2 08 00 CC 0C 80 09 00 00 00 00 00 00 4A [07:39:00]Write i2c OK [07:39:00]MH_I2C_Read... [07:39:00]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [07:39:00]Read from MH i2c: E2 [07:39:00]MH_I2C_Read... [07:39:00]Read from MH i2c: E2 03 00 [07:39:00]MH_I2C_Read... [07:39:00]Read from MH i2c: E2 03 00 CC 0C 00 90 00 4C [07:39:00]RAPDU: 90 00 [07:39:00]wFMCommunicate OK [07:39:00]SAM_PROTO_ClearQueue done [07:39:00]KKMCreateOFDPacket [07:39:00]OFDProtocolAddRootSTLVToBuf [07:39:00]FM_MakeSignedData [07:39:00]FM_MakeSignedData [07:39:00]SAM_PROTO_SignData [07:39:00]wFMCommunicate request_size=4 [07:39:00]MH_SAM_APDU [07:39:00]CAPDU: 80 0D 01 02 [07:39:00]Write to MH i2c: E2 08 00 CD 0C 80 0D 01 02 00 00 00 00 52 [07:39:00]Write i2c OK [07:39:00]MH_I2C_Read... [07:39:00]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [07:39:00]Read from MH i2c: E2 [07:39:00]MH_I2C_Read... [07:39:00]Read from MH i2c: E2 03 00 [07:39:00]MH_I2C_Read... [07:39:00]Read from MH i2c: E2 03 00 CD 0C 00 90 00 4D [07:39:00]RAPDU: 90 00 [07:39:00]wFMCommunicate OK [07:39:00]wFMCommunicate request_size=255 [07:39:00]MH_SAM_APDU [07:39:00]CAPDU: 80 0D 02 02 FA 03 00 0F 02 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 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 7E 00 8A 04 0D 00 35 34 34 39 30 30 [07:39:01]Write to MH i2c: E2 02 01 CE 0C 80 0D 02 02 FA 00 03 00 0F 02 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 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 7E 00 8A 04 0D 00 35 34 34 39 30 30 00 00 F6 [07:39:01]Write i2c OK [07:39:01]MH_I2C_Read... [07:39:01]OFD Sender: No OFD packet to send [07:39:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:39:01]Read from MH i2c: E2 [07:39:01]MH_I2C_Read... [07:39:01]Read from MH i2c: E2 03 00 [07:39:01]MH_I2C_Read... [07:39:01]Read from MH i2c: E2 03 00 CE 0C 00 90 00 4E [07:39:01]RAPDU: 90 00 [07:39:01]wFMCommunicate OK [07:39:01]wFMCommunicate request_size=255 [07:39:01]MH_SAM_APDU [07:39:01]CAPDU: 80 0D 02 02 FA 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 FC 03 06 00 EC 77 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0F 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BB 0C 00 00 00 00 07 04 06 00 EC 77 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 16 D2 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 [07:39:01]Write to MH i2c: E2 02 01 CF 0C 80 0D 02 02 FA 00 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 FC 03 06 00 EC 77 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0F 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BB 0C 00 00 00 00 07 04 06 00 EC 77 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 16 D2 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 00 00 1F [07:39:01]Write i2c OK [07:39:01]MH_I2C_Read... [07:39:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:39:01]Read from MH i2c: E2 [07:39:01]MH_I2C_Read... [07:39:01]Read from MH i2c: E2 03 00 [07:39:01]MH_I2C_Read... [07:39:01]Read from MH i2c: E2 03 00 CF 0C 00 90 00 4F [07:39:01]RAPDU: 90 00 [07:39:01]wFMCommunicate OK [07:39:01]wFMCommunicate request_size=36 [07:39:01]MH_SAM_APDU [07:39:01]CAPDU: 80 0D 02 02 1F 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 35 DF 00 00 35 04 06 00 00 96 A1 9B A9 95 [07:39:01]Write to MH i2c: E2 27 00 D0 0C 80 0D 02 02 1F 00 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 35 DF 00 00 35 04 06 00 00 96 A1 9B A9 95 00 00 A6 [07:39:01]Write i2c OK [07:39:01]MH_I2C_Read... [07:39:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:39:01]Read from MH i2c: E2 [07:39:01]MH_I2C_Read... [07:39:01]Read from MH i2c: E2 03 00 [07:39:01]MH_I2C_Read... [07:39:01]Read from MH i2c: E2 03 00 D0 0C 00 90 00 50 [07:39:01]RAPDU: 90 00 [07:39:01]wFMCommunicate OK [07:39:01]wFMCommunicate request_size=4 [07:39:01]MH_SAM_APDU [07:39:01]CAPDU: 80 0D 03 02 [07:39:01]Write to MH i2c: E2 08 00 D1 0C 80 0D 03 02 00 00 00 00 58 [07:39:01]Write i2c OK [07:39:01]MH_I2C_Read... [07:39:01]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [07:39:01]Read from MH i2c: E2 [07:39:01]MH_I2C_Read... [07:39:01]Read from MH i2c: E2 0B 00 [07:39:01]MH_I2C_Read... [07:39:01]Read from MH i2c: E2 0B 00 D1 0C 00 2C EC 84 67 2D 4D 30 CD 90 00 D3 [07:39:01]RAPDU: 2C EC 84 67 2D 4D 30 CD 90 00 [07:39:01]wFMCommunicate OK [07:39:01]SAM_PROTO_SignData done [07:39:01]FM_MakeSignedData done [07:39:01]CreateOFDProtocolMessage [07:39:01]wFMCommunicate request_size=4 [07:39:01]MH_SAM_APDU [07:39:01]CAPDU: 80 11 00 00 [07:39:01]Write to MH i2c: E2 08 00 D2 0C 80 11 00 00 00 00 00 00 58 [07:39:01]Write i2c OK [07:39:01]MH_I2C_Read... [07:39:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:39:01]Read from MH i2c: E2 [07:39:01]MH_I2C_Read... [07:39:01]Read from MH i2c: E2 17 00 [07:39:01]MH_I2C_Read... [07:39:01]Read from MH i2c: E2 17 00 D2 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 B2 [07:39:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [07:39:01]wFMCommunicate OK [07:39:01]CreateOFDProtocolMessage done [07:39:01]OFDSenderStorePacket 57141 [07:39:01]StoreOFDPacket docnum=57141 [07:39: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 23 02 00 00 A7 6B 1B 02 C9 E5 5A 03 01 00 03 00 0F 02 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 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 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 FC 03 06 00 EC 77 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0F 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BB 0C 00 00 00 00 07 04 06 00 EC 77 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 16 D2 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 35 DF 00 00 35 04 06 00 00 96 A1 9B A9 95 2C EC 84 67 2D 4D 30 CD [07:39:01]CheckFolder [07:39:01]dirname=/storage/ofd_packets [07:39:01]CheckFolder done [07:39:01]ProducePacketName [07:39:01]name=ofd_packets/00057141 [07:39:01]NVStorageSaveData ofd_packets/00057141 [07:39:01]File name is /storage/ofd_packets/00057141 [07:39:01]Write 577 bytes [07:39:01]NVStorageSaveData done [07:39:01]OFDSenderStorePacket done [07:39:01]KKMCreateOFDPacket done [07:39:01]NVStorageSaveData kkm_last_timestamp [07:39:01]File name is /storage/kkm_last_timestamp [07:39:01]Write 4 bytes [07:39:01]NVStorageSaveData done [07:39:01]ExternCall_PrintAddStr [07:39:01]wPrintStart [07:39:01]Write to MH i2c: 01 00 00 D3 0C DF [07:39:01]Write i2c OK [07:39:01]MH_I2C_Read... [07:39:01]Read from MH i2c: 01 [07:39:01]MH_I2C_Read... [07:39:01]Read from MH i2c: 01 07 00 [07:39:01]MH_I2C_Read... [07:39:01]Read from MH i2c: 01 07 00 D3 0C 00 00 00 00 00 FF 0F F4 [07:39:01]RasterBufferAndPrint [07:39:01]line Счет N : (3)129596 [07:39:01]line ИНН: 02508201610067 [07:39:01]line Контрольно-Кассовый Чек [07:39:01]line ПРОДАЖА [07:39:01]line Товар: 90162602 [07:39:01]line Энерг напиток Red bull 0,25л [07:39:01]line 1.000 * 157.00 [07:39:01]line = 157.00 [07:39:01]line НДС 12% НСП 1% [07:39:01]line > о реализуемом товаре [07:39:01]line Товар: 5449000189325 [07:39:01]line Холодный чай Fuse персик 0,5л [07:39:01]line 1.000 * 75.00 [07:39:01]line = 75.00 [07:39:01]line НДС 12% НСП 1% [07:39:01]line > о реализуемом товаре [07:39:01]line Товар: 5449000189349 [07:39:01]line Холодный чай Fuse манго ананас 0,5л [07:39:01]line 1.000 * 75.00 [07:39:01]line = 75.00 [07:39:01]line НДС 12% НСП 1% [07:39:01]line > о реализуемом товаре [07:39:01]line ИТОГО: 307.00 [07:39:01]line НСП 1% : 2.71 [07:39:01]line НДС 12% : 32.59 [07:39:01]line Наличными: 307.00 [07:39:01]line Безнал.: 0.00 [07:39:01]line Место: АЗС № 132 "Партнер Нефть" [07:39:01]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [07:39:01]line СНО: Общий режим [07:39:01]line Чек 36 15.07.2024 07:39 [07:39:01]line Смена: 497 ФФД: 1.0 [07:39:01]line ЗНМ: 0300000132 [07:39:01]line РНМ: 0000000000091208 [07:39:01]line Версия ККМ: 001 [07:39:01]line ФМ: 0000000000874857 [07:39:01]line ФД: 57141 [07:39:01]line ФПД: 646956427669 [07:39:01]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T073902&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57141&fm=646956427669&tin=02508201610067®Number=0000000000091208&sum=30700 [07:39:02]OFD Sender: Processing packet 57141 [packets to send 38, broken 37] [07:39:02]ProducePacketName [07:39:02]name=ofd_packets/00057141 [07:39:02]OFD Sender: To server: pG, [07:39:02]CommunicateWithHost lk.salyk.kg:30040 [07:39:02]ConnectInit lk.salyk.kg [07:39:02]line 0 [07:39:02]written 0, free lines is 4095 [07:39:02]Connected sock=10 [07:39: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 23 02 00 00 A7 6B 1B 02 C9 E5 5A 03 01 00 03 00 0F 02 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 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 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 FC 03 06 00 EC 77 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0F 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BB 0C 00 00 00 00 07 04 06 00 EC 77 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 16 D2 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 35 DF 00 00 35 04 06 00 00 96 A1 9B A9 95 2C EC 84 67 2D 4D 30 CD [07:39: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 E9 CA 47 00 66 5F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 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 35 DF 00 00 F4 03 04 00 65 78 94 66 B6 04 01 00 00 13 98 C6 05 09 F9 D8 91 [07:39:02]CommunicateWithHost err = 0 [07:39:02]CheckOFDResponse [07:39:02]1017 (14) - 77093643461234 [07:39:02]1041 (16) - 0000000000874857 [07:39:02]1040 (4) - 57141 [07:39:02]1012 (4) - 15.07.2024 01:16 [07:39:02]1206 (1) - 0 [07:39:02]OFD Sender: Remove packet 57141 [07:39:02]ProducePacketName [07:39:02]name=ofd_packets/00057141 [07:39:02]NVStorageDeleteData [07:39:02]Write to MH i2c: 01 00 00 09 0D 16 [07:39:02]Write i2c OK [07:39:02]MH_I2C_Read... [07:39:02]Read from MH i2c: 01 [07:39:02]MH_I2C_Read... [07:39:02]Read from MH i2c: 01 07 00 [07:39:02]MH_I2C_Read... [07:39:02]Read from MH i2c: 01 07 00 09 0D 00 00 00 00 00 23 0C 4C [07:39:02]RasterBufferAndPrint [07:39:02]line [07:39:02]line [07:39:02]line [07:39:02]line [07:39:02]line [07:39:02]written 0, free lines is 3113 [07:39:02]MH_Cut [07:39:02]Write to MH i2c: D1 01 00 10 0D 01 EF [07:39:02]Write i2c OK [07:39:02]MH_I2C_Read... [07:39:02]Read from MH i2c: D1 [07:39:02]MH_I2C_Read... [07:39:02]Read from MH i2c: D1 01 00 [07:39:02]MH_I2C_Read... [07:39:02]Read from MH i2c: D1 01 00 10 0D 00 EE [07:39:02]Write to MH i2c: 01 00 00 11 0D 1E [07:39:02]Write i2c OK [07:39:02]MH_I2C_Read... [07:39:02]OFD Sender: No OFD packet to send [07:39:03]*** Cut start [07:39:03]*** Partial cut [07:39:03]*** CUTSNS_PIN = 1 [07:39:03]*** CUTSNS_PIN = 0 [07:39:03]*** Brake cut motor [07:39:04]Read from MH i2c: 01 [07:39:04]MH_I2C_Read... [07:39:04]*** Stop cut motor [07:39:04]*** Cut end [07:39:04]Read from MH i2c: 01 07 00 [07:39:04]MH_I2C_Read... [07:39:04]Read from MH i2c: 01 07 00 11 0D 00 00 00 00 00 FF 0F 33 [07:39:04]process_action close_receipt done [07:39:04]requested_data is exist [07:39:04]produce_requested_data [07:39:04]requested_item fm.sn is exist - process it [07:39:04]wFMCommunicate request_size=4 [07:39:04]MH_SAM_APDU [07:39:04]CAPDU: 80 11 00 00 [07:39:04]Write to MH i2c: E2 08 00 12 0D 80 11 00 00 00 00 00 00 99 [07:39:04]Write i2c OK [07:39:04]MH_I2C_Read... [07:39:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:39:04]Read from MH i2c: E2 [07:39:04]MH_I2C_Read... [07:39:04]Read from MH i2c: E2 17 00 [07:39:04]MH_I2C_Read... [07:39:04]Read from MH i2c: E2 17 00 12 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 F3 [07: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 [07:39:04]wFMCommunicate OK [07:39:04]requested_item fd.num is exist - process it [07:39:04]SAM_PROTO_GetFieldsCounters [07:39:04]wFMCommunicate request_size=4 [07:39:04]MH_SAM_APDU [07:39:04]CAPDU: 80 13 00 00 [07:39:04]Write to MH i2c: E2 08 00 13 0D 80 13 00 00 00 00 00 00 9C [07:39:04]Write i2c OK [07:39:04]MH_I2C_Read... [07:39:04]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:39:04]Read from MH i2c: E2 [07:39:04]MH_I2C_Read... [07:39:04]Read from MH i2c: E2 62 00 [07:39:04]MH_I2C_Read... [07:39:04]Read from MH i2c: E2 62 00 13 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 35 DF 00 00 0E 04 04 00 F1 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 31 [07:39: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 35 DF 00 00 0E 04 04 00 F1 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 [07:39:04]wFMCommunicate OK [07:39:04]SAM_PROTO_GetFieldsCounters done [07:39:04]requested_item shift.num is exist - process it [07:39:04]requested_item shift.opened is exist - process it [07:39:04]req_shift_opened [07:39:04]FM_GetShiftState [07:39:04]SAM_PROTO_GetShiftState [07:39:04]wFMCommunicate request_size=4 [07:39:04]MH_SAM_APDU [07:39:04]CAPDU: 80 13 01 00 [07:39:04]Write to MH i2c: E2 08 00 14 0D 80 13 01 00 00 00 00 00 9E [07:39:04]Write i2c OK [07:39:04]MH_I2C_Read... [07:39:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:39:04]Read from MH i2c: E2 [07:39:04]MH_I2C_Read... [07:39:04]Read from MH i2c: E2 0E 00 [07:39:04]MH_I2C_Read... [07:39:04]Read from MH i2c: E2 0E 00 14 0D 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 17 [07:39:04]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [07:39:04]wFMCommunicate OK [07:39:04]SAM_PROTO_GetShiftState done [07:39:04]FM_GetShiftState done [07:39:04]req_shift_opened done [07:39:04]requested_item shift.open_date is exist - process it [07:39:04]req_shift_open_date [07:39:04]req_shift_open_date done [07:39:04]requested_item shift.sale.total is exist - process it [07:39:04]SAM_PROTO_GetShiftData [07:39:04]wFMCommunicate request_size=4 [07:39:04]MH_SAM_APDU [07:39:04]CAPDU: 80 13 02 00 [07:39:04]Write to MH i2c: E2 08 00 15 0D 80 13 02 00 00 00 00 00 A0 [07:39:04]Write i2c OK [07:39:04]MH_I2C_Read... [07:39:04]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [07:39:04]Read from MH i2c: E2 [07:39:04]MH_I2C_Read... [07:39:04]Read from MH i2c: E2 FD 00 [07:39:04]MH_I2C_Read... [07:39:04]Read from MH i2c: E2 FD 00 15 0D 00 B6 04 AA 04 B2 04 6E 04 04 00 24 00 00 00 69 04 9B 00 6F 04 04 00 23 00 00 00 B1 04 03 00 4D A5 0E 70 04 03 00 38 91 09 72 04 03 00 15 14 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 22 8E 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 2D 21 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 48 [07:39:04]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 24 00 00 00 69 04 9B 00 6F 04 04 00 23 00 00 00 B1 04 03 00 4D A5 0E 70 04 03 00 38 91 09 72 04 03 00 15 14 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 22 8E 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 2D 21 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 [07:39:04]wFMCommunicate OK [07:39:04]wFMCommunicate request_size=4 [07:39:04]MH_SAM_APDU [07:39:04]CAPDU: 80 17 00 00 [07:39:04]Write to MH i2c: E2 08 00 16 0D 80 17 00 00 00 00 00 00 A3 [07:39:04]Write i2c OK [07:39:04]MH_I2C_Read... [07:39:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [07:39:05]Read from MH i2c: E2 [07:39:05]MH_I2C_Read... [07:39:05]Read from MH i2c: E2 FD 00 [07:39:05]MH_I2C_Read... [07:39:05]Read from MH i2c: E2 FD 00 16 0D 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 D8 [07:39:05]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 [07:39:05]wFMCommunicate OK [07:39:05]wFMCommunicate request_size=4 [07:39:05]MH_SAM_APDU [07:39:05]CAPDU: 80 17 00 00 [07:39:05]Write to MH i2c: E2 08 00 17 0D 80 17 00 00 00 00 00 00 A4 [07:39:05]Write i2c OK [07:39:05]MH_I2C_Read... [07:39:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [07:39:05]Read from MH i2c: E2 [07:39:05]MH_I2C_Read... [07:39:05]Read from MH i2c: E2 FD 00 [07:39:05]MH_I2C_Read... [07:39:05]Read from MH i2c: E2 FD 00 17 0D 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 64 [07:39:05]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 [07:39:05]wFMCommunicate OK [07:39:05]wFMCommunicate request_size=4 [07:39:05]MH_SAM_APDU [07:39:05]CAPDU: 80 17 00 00 [07:39:05]Write to MH i2c: E2 08 00 18 0D 80 17 00 00 00 00 00 00 A5 [07:39:05]Write i2c OK [07:39:05]MH_I2C_Read... [07:39:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [07:39:05]Read from MH i2c: E2 [07:39:05]MH_I2C_Read... [07:39:05]Read from MH i2c: E2 FD 00 [07:39:05]MH_I2C_Read... [07:39:05]Read from MH i2c: E2 FD 00 18 0D 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 14 [07:39:05]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 [07:39:05]wFMCommunicate OK [07:39:05]wFMCommunicate request_size=4 [07:39:05]MH_SAM_APDU [07:39:05]CAPDU: 80 17 00 00 [07:39:05]Write to MH i2c: E2 08 00 19 0D 80 17 00 00 00 00 00 00 A6 [07:39:05]Write i2c OK [07:39:05]MH_I2C_Read... [07:39:06]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [07:39:06]Read from MH i2c: E2 [07:39:06]MH_I2C_Read... [07:39:06]Read from MH i2c: E2 D3 00 [07:39:06]MH_I2C_Read... [07:39:06]Read from MH i2c: E2 D3 00 19 0D 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 93 [07:39:06]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 [07:39:06]wFMCommunicate OK [07:39:06]SAM_PROTO_GetShiftData done [07:39:06]requested_item shift.sale.total_cash is exist - process it [07:39:06]requested_item shift.sale_refund.total is exist - process it [07:39:06]requested_item shift.sale_refund.total_cash is exist - process it [07:39:06]produce_requested_data done [07:39:06]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57141,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":9598.21,"shift.sale.total_cash":6270.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [07:39:06]process_action_free close_receipt [07:39:06]json_value_free [07:39:06]json_value_free done [07:39:06]process_json_proto returns [07:39:06]Send response to host [07:39:06]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57141,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":9598.21,"shift.sale.total_cash":6270.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [07:39:06]free response buf [07:39:06]execute_script done [07:39:06]execute_script returns [07:39:06]free content buf [07:39:06]Sock 9.Close socket [07:39:06]Sock 9.Thread stoped [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:23]OFD Sender: No OFD packet to send [07:39:28]OFD Sender: No OFD packet to send [07:39:33]OFD Sender: No OFD packet to send [07:39:35]accept exits with 8 [07:39:35]New connection [07:39:35]New thread 3066924388 created [07:39:35]Thread 3067067748 joined [07:39:35]Waiting for new connection... [07:39:35] Sock 8.Parse request [07:39:35]Sock 8.Check first char [07:39:35]Sock 8.First char is OK [07:39:35]request: POST /json_proto HTTP/1.0 [07:39:35]Method: POST [07:39:35]URL: /json_proto [07:39:35]Method is POST - this is cgi request [07:39:35]url: /json_proto [07:39:35]query_string will be loaded in cgi processing [07:39:35]execute_cgi json_proto POST (null) [07:39:35]execute_cgi path=json_proto method=POST [07:39:35]POST find Content-Length [07:39:35]Host: 172.17.39.4:8080 [07:39:35]Content-Length: 812 [07:39:35]Content-Type: application/json [07:39:35] [07:39:35]POST finish read [07:39:35]Found Content-Length = 812 [07:39:35]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129597", "tax_sys" : 0, "items" : [ { "code": "5449000273680", "name": "\u0421\u043E\u043A Piko Pulpy \u043A\u0440\u0430\u0441\u043D\u044B\u0439 \u0432\u0438\u043D\u043E\u0433\u0440\u0430\u0434 \u041F\u042D\u0422 0,5\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" ] } } [07:39:35]execute_script... [07:39: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)129597", "tax_sys" : 0, "items" : [ { "code": "5449000273680", "name": "\u0421\u043E\u043A Piko Pulpy \u043A\u0440\u0430\u0441\u043D\u044B\u0439 \u0432\u0438\u043D\u043E\u0433\u0440\u0430\u0434 \u041F\u042D\u0422 0,5\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" ] } } [07:39:35]POST & json_proto [07:39:35]process_json_proto [07:39:35]json parsed OK: [07:39:35]protocol is kg_v1.0 [07:39:35]action value=close_receipt [07:39:35]process_action close_receipt [07:39:35]cmd_close_receipt [07:39:35]MH_GetDate [07:39:35]Write to MH i2c: F0 00 00 1A 0D 16 [07:39:35]Write i2c OK [07:39:35]MH_I2C_Read... [07:39:35]Read from MH i2c: F0 [07:39:35]MH_I2C_Read... [07:39:35]Read from MH i2c: F0 09 00 [07:39:35]MH_I2C_Read... [07:39:35]Read from MH i2c: F0 09 00 1A 0D 00 3A D2 94 66 2D 25 5D 64 38 [07:39:35]GetLastDocTimeStamp 1721029142 [07:39:35]current date 1721029178 [07:39:35]FM_GetShiftState [07:39:35]SAM_PROTO_GetShiftState [07:39:35]wFMCommunicate request_size=4 [07:39:35]MH_SAM_APDU [07:39:35]CAPDU: 80 13 01 00 [07:39:35]Write to MH i2c: E2 08 00 1B 0D 80 13 01 00 00 00 00 00 A5 [07:39:35]Write i2c OK [07:39:35]MH_I2C_Read... [07:39:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:39:36]Read from MH i2c: E2 [07:39:36]MH_I2C_Read... [07:39:36]Read from MH i2c: E2 0E 00 [07:39:36]MH_I2C_Read... [07:39:36]Read from MH i2c: E2 0E 00 1B 0D 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 1E [07:39:36]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [07:39:36]wFMCommunicate OK [07:39:36]SAM_PROTO_GetShiftState done [07:39:36]FM_GetShiftState done [07:39:36]opened in 1721003525 [07:39:36]opened+sec_in_day 1721089925 [07:39:36]quantity*price = 10000 [07:39:36]sum+1 = 10001 [07:39:36]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 СНО: Общий режим Чек 37 15.07.2024 07:39 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57142 ФПД: 59390468289332 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T073938&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57142&fm=59390468289332&tin=02508201610067®Number=0000000000091208&sum=10000 0 [07:39:37]StoreToDocumentArchive [07:39:37]shift 497 fd 57142 [07:39:37]save to /storage/0497/doc_00057142 [07:39:37]save last doc name /storage/0497/doc_00057142 to /storage/kkm_last_doc_name [07:39:37]save OK [07:39:37]Clear old archive folders... [07:39:37]ProcessDocumentItem done err = 0, tmpTLVsize=304 [07:39:37]tlvbuf is 009890A0 [07:39:37]SAM_PROTO_ClearQueue [07:39:37]wFMCommunicate request_size=4 [07:39:37]MH_SAM_APDU [07:39:37]CAPDU: 80 09 00 00 [07:39:37]Write to MH i2c: E2 08 00 28 0D 80 09 00 00 00 00 00 00 A7 [07:39:37]Write i2c OK [07:39:37]MH_I2C_Read... [07:39:37]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [07:39:37]Read from MH i2c: E2 [07:39:37]MH_I2C_Read... [07:39:37]Read from MH i2c: E2 03 00 [07:39:37]MH_I2C_Read... [07:39:37]Read from MH i2c: E2 03 00 28 0D 00 90 00 A9 [07:39:37]RAPDU: 90 00 [07:39:37]wFMCommunicate OK [07:39:37]SAM_PROTO_ClearQueue done [07:39:37]KKMCreateOFDPacket [07:39:37]OFDProtocolAddRootSTLVToBuf [07:39:37]FM_MakeSignedData [07:39:37]FM_MakeSignedData [07:39:37]SAM_PROTO_SignData [07:39:37]wFMCommunicate request_size=4 [07:39:37]MH_SAM_APDU [07:39:37]CAPDU: 80 0D 01 02 [07:39:37]Write to MH i2c: E2 08 00 29 0D 80 0D 01 02 00 00 00 00 AF [07:39:37]Write i2c OK [07:39:37]MH_I2C_Read... [07:39:37]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [07:39:37]Read from MH i2c: E2 [07:39:37]MH_I2C_Read... [07:39:37]Read from MH i2c: E2 03 00 [07:39:37]MH_I2C_Read... [07:39:37]Read from MH i2c: E2 03 00 29 0D 00 90 00 AA [07:39:37]RAPDU: 90 00 [07:39:37]wFMCommunicate OK [07:39:37]wFMCommunicate request_size=255 [07:39:37]MH_SAM_APDU [07:39:37]CAPDU: 80 0D 02 02 FA 03 00 30 01 1E 04 01 00 01 23 04 82 00 8A 04 0D 00 35 34 34 39 30 30 30 32 37 33 36 38 30 06 04 3E 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 BA D1 80 D0 B0 D1 81 D0 BD D1 8B D0 B9 20 D0 B2 D0 B8 D0 BD D0 BE D0 B3 D1 80 D0 B0 D0 B4 20 D0 9F D0 AD D0 A2 20 30 2C 35 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 25 00 00 00 F4 03 04 00 3A D2 94 66 0E 04 04 00 F1 01 00 00 B9 04 01 00 01 [07:39:37]Write to MH i2c: E2 02 01 2A 0D 80 0D 02 02 FA 00 03 00 30 01 1E 04 01 00 01 23 04 82 00 8A 04 0D 00 35 34 34 39 30 30 30 32 37 33 36 38 30 06 04 3E 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 BA D1 80 D0 B0 D1 81 D0 BD D1 8B D0 B9 20 D0 B2 D0 B8 D0 BD D0 BE D0 B3 D1 80 D0 B0 D0 B4 20 D0 9F D0 AD D0 A2 20 30 2C 35 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 25 00 00 00 F4 03 04 00 3A D2 94 66 0E 04 04 00 F1 01 00 00 B9 04 01 00 01 00 00 A7 [07:39:37]Write i2c OK [07:39:37]MH_I2C_Read... [07:39:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:39:37]Read from MH i2c: E2 [07:39:37]MH_I2C_Read... [07:39:37]Read from MH i2c: E2 03 00 [07:39:37]MH_I2C_Read... [07:39:37]Read from MH i2c: E2 03 00 2A 0D 00 90 00 AB [07:39:37]RAPDU: 90 00 [07:39:37]wFMCommunicate OK [07:39:37]wFMCommunicate request_size=63 [07:39:37]MH_SAM_APDU [07:39:37]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 36 DF 00 00 35 04 06 00 36 03 EB C3 F3 34 [07:39:37]Write to MH i2c: E2 42 00 2B 0D 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 36 DF 00 00 35 04 06 00 36 03 EB C3 F3 34 00 00 21 [07:39:37]Write i2c OK [07:39:37]MH_I2C_Read... [07:39:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:39:37]Read from MH i2c: E2 [07:39:37]MH_I2C_Read... [07:39:37]Read from MH i2c: E2 03 00 [07:39:37]MH_I2C_Read... [07:39:37]Read from MH i2c: E2 03 00 2B 0D 00 90 00 AC [07:39:37]RAPDU: 90 00 [07:39:37]wFMCommunicate OK [07:39:37]wFMCommunicate request_size=4 [07:39:37]MH_SAM_APDU [07:39:37]CAPDU: 80 0D 03 02 [07:39:37]Write to MH i2c: E2 08 00 2C 0D 80 0D 03 02 00 00 00 00 B4 [07:39:37]Write i2c OK [07:39:37]MH_I2C_Read... [07:39:37]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [07:39:37]Read from MH i2c: E2 [07:39:37]MH_I2C_Read... [07:39:37]Read from MH i2c: E2 0B 00 [07:39:37]MH_I2C_Read... [07:39:37]Read from MH i2c: E2 0B 00 2C 0D 00 A0 0E 16 42 D2 9E BA 54 90 00 39 [07:39:37]RAPDU: A0 0E 16 42 D2 9E BA 54 90 00 [07:39:37]wFMCommunicate OK [07:39:37]SAM_PROTO_SignData done [07:39:37]FM_MakeSignedData done [07:39:37]CreateOFDProtocolMessage [07:39:37]wFMCommunicate request_size=4 [07:39:37]MH_SAM_APDU [07:39:37]CAPDU: 80 11 00 00 [07:39:37]Write to MH i2c: E2 08 00 2D 0D 80 11 00 00 00 00 00 00 B4 [07:39:37]Write i2c OK [07:39:37]MH_I2C_Read... [07:39:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:39:37]Read from MH i2c: E2 [07:39:37]MH_I2C_Read... [07:39:37]Read from MH i2c: E2 17 00 [07:39:37]MH_I2C_Read... [07:39:37]Read from MH i2c: E2 17 00 2D 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 0E [07:39:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [07:39:37]wFMCommunicate OK [07:39:37]CreateOFDProtocolMessage done [07:39:37]OFDSenderStorePacket 57142 [07:39:37]StoreOFDPacket docnum=57142 [07:39: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 44 01 00 00 BD 23 3C 01 69 1F 5A 03 01 00 03 00 30 01 1E 04 01 00 01 23 04 82 00 8A 04 0D 00 35 34 34 39 30 30 30 32 37 33 36 38 30 06 04 3E 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 BA D1 80 D0 B0 D1 81 D0 BD D1 8B D0 B9 20 D0 B2 D0 B8 D0 BD D0 BE D0 B3 D1 80 D0 B0 D0 B4 20 D0 9F D0 AD D0 A2 20 30 2C 35 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 25 00 00 00 F4 03 04 00 3A D2 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 36 DF 00 00 35 04 06 00 36 03 EB C3 F3 34 A0 0E 16 42 D2 9E BA 54 [07:39:37]CheckFolder [07:39:37]dirname=/storage/ofd_packets [07:39:37]CheckFolder done [07:39:37]ProducePacketName [07:39:37]name=ofd_packets/00057142 [07:39:37]NVStorageSaveData ofd_packets/00057142 [07:39:37]File name is /storage/ofd_packets/00057142 [07:39:37]Write 354 bytes [07:39:37]NVStorageSaveData done [07:39:37]OFDSenderStorePacket done [07:39:37]KKMCreateOFDPacket done [07:39:37]NVStorageSaveData kkm_last_timestamp [07:39:37]File name is /storage/kkm_last_timestamp [07:39:37]Write 4 bytes [07:39:37]NVStorageSaveData done [07:39:37]ExternCall_PrintAddStr [07:39:37]wPrintStart [07:39:37]Write to MH i2c: 01 00 00 2E 0D 3B [07:39:37]Write i2c OK [07:39:37]MH_I2C_Read... [07:39:37]Read from MH i2c: 01 [07:39:37]MH_I2C_Read... [07:39:37]Read from MH i2c: 01 07 00 [07:39:37]MH_I2C_Read... [07:39:37]Read from MH i2c: 01 07 00 2E 0D 00 00 00 00 00 FF 0F 50 [07:39:37]RasterBufferAndPrint [07:39:37]line Счет N : (3)129597 [07:39:37]line ИНН: 02508201610067 [07:39:37]line Контрольно-Кассовый Чек [07:39:37]line ПРОДАЖА [07:39:37]line Товар: 5449000273680 [07:39:37]line Сок Piko Pulpy красный виноград ПЭТ 0,5л [07:39:37]line 1.000 * 100.00 [07:39:37]line = 100.00 [07:39:37]line НДС 12% НСП 1% [07:39:37]line > о реализуемом товаре [07:39:37]line ИТОГО: 100.00 [07:39:37]line НСП 1% : 0.88 [07:39:37]line НДС 12% : 10.62 [07:39:37]line Наличными: 100.00 [07:39:37]line Безнал.: 0.00 [07:39:37]line Место: АЗС № 132 "Партнер Нефть" [07:39:37]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [07:39:37]line СНО: Общий режим [07:39:37]line Чек 37 15.07.2024 07:39 [07:39:37]line Смена: 497 ФФД: 1.0 [07:39:37]line ЗНМ: 0300000132 [07:39:37]line РНМ: 0000000000091208 [07:39:37]line Версия ККМ: 001 [07:39:37]line ФМ: 0000000000874857 [07:39:37]line ФД: 57142 [07:39:37]line ФПД: 59390468289332 [07:39:38]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T073938&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57142&fm=59390468289332&tin=02508201610067®Number=0000000000091208&sum=10000 [07:39:38]line 0 [07:39:38]OFD Sender: Processing packet 57142 [packets to send 38, broken 37] [07:39:38]ProducePacketName [07:39:38]name=ofd_packets/00057142 [07:39:38]OFD Sender: To server: pG, [07:39:38]CommunicateWithHost lk.salyk.kg:30040 [07:39:38]ConnectInit lk.salyk.kg [07:39:38]written 0, free lines is 4095 [07:39:38]Connected sock=11 [07:39: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 44 01 00 00 BD 23 3C 01 69 1F 5A 03 01 00 03 00 30 01 1E 04 01 00 01 23 04 82 00 8A 04 0D 00 35 34 34 39 30 30 30 32 37 33 36 38 30 06 04 3E 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 BA D1 80 D0 B0 D1 81 D0 BD D1 8B D0 B9 20 D0 B2 D0 B8 D0 BD D0 BE D0 B3 D1 80 D0 B0 D0 B4 20 D0 9F D0 AD D0 A2 20 30 2C 35 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 25 00 00 00 F4 03 04 00 3A D2 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 36 DF 00 00 35 04 06 00 36 03 EB C3 F3 34 A0 0E 16 42 D2 9E BA 54 [07:39: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 59 3B 47 00 9E 53 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 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 36 DF 00 00 F4 03 04 00 89 78 94 66 B6 04 01 00 00 DA 6F 58 19 99 B3 D9 5F [07:39:38]CommunicateWithHost err = 0 [07:39:38]CheckOFDResponse [07:39:38]1017 (14) - 77093643461234 [07:39:38]1041 (16) - 0000000000874857 [07:39:38]1040 (4) - 57142 [07:39:38]1012 (4) - 15.07.2024 01:16 [07:39:38]1206 (1) - 0 [07:39:38]OFD Sender: Remove packet 57142 [07:39:38]ProducePacketName [07:39:38]name=ofd_packets/00057142 [07:39:38]NVStorageDeleteData [07:39:38]Write to MH i2c: 01 00 00 57 0D 64 [07:39:38]Write i2c OK [07:39:38]MH_I2C_Read... [07:39:38]Read from MH i2c: 01 [07:39:38]MH_I2C_Read... [07:39:38]Read from MH i2c: 01 07 00 [07:39:38]MH_I2C_Read... [07:39:38]Read from MH i2c: 01 07 00 57 0D 00 00 00 00 00 0F 0D 87 [07:39:38]RasterBufferAndPrint [07:39:38]line [07:39:38]line [07:39:38]line [07:39:38]line [07:39:38]line [07:39:38]written 0, free lines is 3349 [07:39:38]MH_Cut [07:39:38]Write to MH i2c: D1 01 00 5E 0D 01 3D [07:39:38]Write i2c OK [07:39:38]MH_I2C_Read... [07:39:38]Read from MH i2c: D1 [07:39:38]MH_I2C_Read... [07:39:38]Read from MH i2c: D1 01 00 [07:39:38]MH_I2C_Read... [07:39:38]Read from MH i2c: D1 01 00 5E 0D 00 3C [07:39:38]Write to MH i2c: 01 00 00 5F 0D 6C [07:39:38]Write i2c OK [07:39:38]MH_I2C_Read... [07:39:38]OFD Sender: No OFD packet to send [07:39:39]*** Cut start [07:39:39]*** Partial cut [07:39:39]*** CUTSNS_PIN = 1 [07:39:39]*** CUTSNS_PIN = 0 [07:39:39]*** Brake cut motor [07:39:39]Read from MH i2c: 01 [07:39:39]MH_I2C_Read... [07:39:39]*** Stop cut motor [07:39:39]*** Cut end [07:39:39]Read from MH i2c: 01 07 00 [07:39:39]MH_I2C_Read... [07:39:39]Read from MH i2c: 01 07 00 5F 0D 00 00 00 00 00 FF 0F 81 [07:39:39]process_action close_receipt done [07:39:39]requested_data is exist [07:39:39]produce_requested_data [07:39:39]requested_item fm.sn is exist - process it [07:39:39]wFMCommunicate request_size=4 [07:39:39]MH_SAM_APDU [07:39:39]CAPDU: 80 11 00 00 [07:39:39]Write to MH i2c: E2 08 00 60 0D 80 11 00 00 00 00 00 00 E7 [07:39:39]Write i2c OK [07:39:39]MH_I2C_Read... [07:39:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:39:39]Read from MH i2c: E2 [07:39:39]MH_I2C_Read... [07:39:39]Read from MH i2c: E2 17 00 [07:39:39]MH_I2C_Read... [07:39:39]Read from MH i2c: E2 17 00 60 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 41 [07:39:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [07:39:39]wFMCommunicate OK [07:39:39]requested_item fd.num is exist - process it [07:39:39]SAM_PROTO_GetFieldsCounters [07:39:39]wFMCommunicate request_size=4 [07:39:39]MH_SAM_APDU [07:39:39]CAPDU: 80 13 00 00 [07:39:39]Write to MH i2c: E2 08 00 61 0D 80 13 00 00 00 00 00 00 EA [07:39:39]Write i2c OK [07:39:39]MH_I2C_Read... [07:39:40]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:39:40]Read from MH i2c: E2 [07:39:40]MH_I2C_Read... [07:39:40]Read from MH i2c: E2 62 00 [07:39:40]MH_I2C_Read... [07:39:40]Read from MH i2c: E2 62 00 61 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 36 DF 00 00 0E 04 04 00 F1 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 83 [07:39: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 36 DF 00 00 0E 04 04 00 F1 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 [07:39:40]wFMCommunicate OK [07:39:40]SAM_PROTO_GetFieldsCounters done [07:39:40]requested_item shift.num is exist - process it [07:39:40]requested_item shift.opened is exist - process it [07:39:40]req_shift_opened [07:39:40]FM_GetShiftState [07:39:40]SAM_PROTO_GetShiftState [07:39:40]wFMCommunicate request_size=4 [07:39:40]MH_SAM_APDU [07:39:40]CAPDU: 80 13 01 00 [07:39:40]Write to MH i2c: E2 08 00 62 0D 80 13 01 00 00 00 00 00 EC [07:39:40]Write i2c OK [07:39:40]MH_I2C_Read... [07:39:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:39:40]Read from MH i2c: E2 [07:39:40]MH_I2C_Read... [07:39:40]Read from MH i2c: E2 0E 00 [07:39:40]MH_I2C_Read... [07:39:40]Read from MH i2c: E2 0E 00 62 0D 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 65 [07:39:40]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [07:39:40]wFMCommunicate OK [07:39:40]SAM_PROTO_GetShiftState done [07:39:40]FM_GetShiftState done [07:39:40]req_shift_opened done [07:39:40]requested_item shift.open_date is exist - process it [07:39:40]req_shift_open_date [07:39:40]req_shift_open_date done [07:39:40]requested_item shift.sale.total is exist - process it [07:39:40]SAM_PROTO_GetShiftData [07:39:40]wFMCommunicate request_size=4 [07:39:40]MH_SAM_APDU [07:39:40]CAPDU: 80 13 02 00 [07:39:40]Write to MH i2c: E2 08 00 63 0D 80 13 02 00 00 00 00 00 EE [07:39:40]Write i2c OK [07:39:40]MH_I2C_Read... [07:39:40]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [07:39:40]Read from MH i2c: E2 [07:39:40]MH_I2C_Read... [07:39:40]Read from MH i2c: E2 FD 00 [07:39:40]MH_I2C_Read... [07:39:40]Read from MH i2c: E2 FD 00 63 0D 00 B6 04 AA 04 B2 04 6E 04 04 00 25 00 00 00 69 04 9B 00 6F 04 04 00 24 00 00 00 B1 04 03 00 5D CC 0E 70 04 03 00 48 B8 09 72 04 03 00 15 14 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 48 92 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 85 21 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 88 [07:39:40]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 25 00 00 00 69 04 9B 00 6F 04 04 00 24 00 00 00 B1 04 03 00 5D CC 0E 70 04 03 00 48 B8 09 72 04 03 00 15 14 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 48 92 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 85 21 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 [07:39:40]wFMCommunicate OK [07:39:40]wFMCommunicate request_size=4 [07:39:40]MH_SAM_APDU [07:39:40]CAPDU: 80 17 00 00 [07:39:40]Write to MH i2c: E2 08 00 64 0D 80 17 00 00 00 00 00 00 F1 [07:39:40]Write i2c OK [07:39:40]MH_I2C_Read... [07:39:40]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [07:39:40]Read from MH i2c: E2 [07:39:40]MH_I2C_Read... [07:39:40]Read from MH i2c: E2 FD 00 [07:39:40]MH_I2C_Read... [07:39:40]Read from MH i2c: E2 FD 00 64 0D 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 26 [07:39:40]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 [07:39:40]wFMCommunicate OK [07:39:40]wFMCommunicate request_size=4 [07:39:40]MH_SAM_APDU [07:39:40]CAPDU: 80 17 00 00 [07:39:40]Write to MH i2c: E2 08 00 65 0D 80 17 00 00 00 00 00 00 F2 [07:39:40]Write i2c OK [07:39:40]MH_I2C_Read... [07:39:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [07:39:41]Read from MH i2c: E2 [07:39:41]MH_I2C_Read... [07:39:41]Read from MH i2c: E2 FD 00 [07:39:41]MH_I2C_Read... [07:39:41]Read from MH i2c: E2 FD 00 65 0D 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 B2 [07:39:41]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 [07:39:41]wFMCommunicate OK [07:39:41]wFMCommunicate request_size=4 [07:39:41]MH_SAM_APDU [07:39:41]CAPDU: 80 17 00 00 [07:39:41]Write to MH i2c: E2 08 00 66 0D 80 17 00 00 00 00 00 00 F3 [07:39:41]Write i2c OK [07:39:41]MH_I2C_Read... [07:39:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [07:39:41]Read from MH i2c: E2 [07:39:41]MH_I2C_Read... [07:39:41]Read from MH i2c: E2 FD 00 [07:39:41]MH_I2C_Read... [07:39:41]Read from MH i2c: E2 FD 00 66 0D 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 62 [07:39:41]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 [07:39:41]wFMCommunicate OK [07:39:41]wFMCommunicate request_size=4 [07:39:41]MH_SAM_APDU [07:39:41]CAPDU: 80 17 00 00 [07:39:41]Write to MH i2c: E2 08 00 67 0D 80 17 00 00 00 00 00 00 F4 [07:39:41]Write i2c OK [07:39:41]MH_I2C_Read... [07:39:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [07:39:41]Read from MH i2c: E2 [07:39:41]MH_I2C_Read... [07:39:41]Read from MH i2c: E2 D3 00 [07:39:41]MH_I2C_Read... [07:39:41]Read from MH i2c: E2 D3 00 67 0D 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 E1 [07:39:41]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 [07:39:41]wFMCommunicate OK [07:39:41]SAM_PROTO_GetShiftData done [07:39:41]requested_item shift.sale.total_cash is exist - process it [07:39:41]requested_item shift.sale_refund.total is exist - process it [07:39:41]requested_item shift.sale_refund.total_cash is exist - process it [07:39:41]produce_requested_data done [07:39:41]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57142,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":9698.21,"shift.sale.total_cash":6370.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [07:39:41]process_action_free close_receipt [07:39:41]json_value_free [07:39:41]json_value_free done [07:39:41]process_json_proto returns [07:39:41]Send response to host [07:39:41]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57142,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":9698.21,"shift.sale.total_cash":6370.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [07:39:41]free response buf [07:39:41]execute_script done [07:39:41]execute_script returns [07:39:41]free content buf [07:39:41]Sock 8.Close socket [07:39:41]Sock 8.Thread stoped [07:39:43]OFD Sender: No OFD packet to send [07:39:48]OFD Sender: No OFD packet to send [07:39:53]OFD Sender: No OFD packet to send [07:39:58]OFD Sender: No OFD packet to send [07:40:03]OFD Sender: No OFD packet to send [07:40:08]OFD Sender: No OFD packet to send [07:40:13]OFD Sender: No OFD packet to send [07:40:18]OFD Sender: No OFD packet to send [07:40:23]OFD Sender: No OFD packet to send [07:40:28]OFD Sender: No OFD packet to send [07:40:33]OFD Sender: No OFD packet to send [07:40:38]OFD Sender: No OFD packet to send [07:40:43]OFD Sender: No OFD packet to send [07:40:48]OFD Sender: No OFD packet to send [07:40:53]OFD Sender: No OFD packet to send [07:40:59]OFD Sender: No OFD packet to send [07:41:04]OFD Sender: No OFD packet to send [07:41:09]OFD Sender: No OFD packet to send [07:41:14]OFD Sender: No OFD packet to send [07:41:19]OFD Sender: No OFD packet to send [07:41:24]OFD Sender: No OFD packet to send [07:41:29]OFD Sender: No OFD packet to send [07:41:34]OFD Sender: No OFD packet to send [07:41:39]OFD Sender: No OFD packet to send [07:41:44]OFD Sender: No OFD packet to send [07:41:49]OFD Sender: No OFD packet to send [07:41:54]OFD Sender: No OFD packet to send [07:41:59]OFD Sender: No OFD packet to send [07:42:04]OFD Sender: No OFD packet to send [07:42:09]OFD Sender: No OFD packet to send [07:42:14]OFD Sender: No OFD packet to send [07:42:19]OFD Sender: No OFD packet to send [07:42:24]OFD Sender: No OFD packet to send [07:42:29]OFD Sender: No OFD packet to send [07:42:34]OFD Sender: No OFD packet to send [07:42:39]OFD Sender: No OFD packet to send [07:42:44]OFD Sender: No OFD packet to send [07:42:49]OFD Sender: No OFD packet to send [07:42:54]OFD Sender: No OFD packet to send [07:42:59]OFD Sender: No OFD packet to send [07:43:04]OFD Sender: No OFD packet to send [07:43:09]OFD Sender: No OFD packet to send [07:43:11]accept exits with 9 [07:43:11]New connection [07:43:11]New thread 3067067748 created [07:43:11]Thread 3066924388 joined [07:43:11]Waiting for new connection... [07:43:11] Sock 9.Parse request [07:43:11]Sock 9.Check first char [07:43:11]Sock 9.First char is OK [07:43:11]request: POST /json_proto HTTP/1.0 [07:43:11]Method: POST [07:43:11]URL: /json_proto [07:43:11]Method is POST - this is cgi request [07:43:11]url: /json_proto [07:43:11]query_string will be loaded in cgi processing [07:43:11]execute_cgi json_proto POST (null) [07:43:11]execute_cgi path=json_proto method=POST [07:43:11]POST find Content-Length [07:43:11]Host: 172.17.39.4:8080 [07:43:11]Content-Length: 884 [07:43:11]Content-Type: application/json [07:43:11] [07:43:11]POST finish read [07:43:11]Found Content-Length = 884 [07:43:11]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)855677", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 0.00, "quantity" : 40.000, "sum" : 0.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u0422\u0430\u043B\u043E\u043D\u044B: \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u043D\u0435\u0444\u0442\u044C\u000A30153144", "payments": [ { "type": 1, "sum" : 0.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" ] } } [07:43:11]execute_script... [07:43:11]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)855677", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 0.00, "quantity" : 40.000, "sum" : 0.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u0422\u0430\u043B\u043E\u043D\u044B: \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u043D\u0435\u0444\u0442\u044C\u000A30153144", "payments": [ { "type": 1, "sum" : 0.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" ] } } [07:43:11]POST & json_proto [07:43:11]process_json_proto [07:43:11]json parsed OK: [07:43:11]protocol is kg_v1.0 [07:43:11]action value=close_receipt [07:43:11]process_action close_receipt [07:43:11]cmd_close_receipt [07:43:11]MH_GetDate [07:43:11]Write to MH i2c: F0 00 00 68 0D 64 [07:43:11]Write i2c OK [07:43:11]MH_I2C_Read... [07:43:11]Read from MH i2c: F0 [07:43:11]MH_I2C_Read... [07:43:11]Read from MH i2c: F0 09 00 [07:43:11]MH_I2C_Read... [07:43:11]Read from MH i2c: F0 09 00 68 0D 00 11 D3 94 66 2D 25 5D 64 5E [07:43:11]GetLastDocTimeStamp 1721029178 [07:43:11]current date 1721029393 [07:43:11]FM_GetShiftState [07:43:11]SAM_PROTO_GetShiftState [07:43:11]wFMCommunicate request_size=4 [07:43:11]MH_SAM_APDU [07:43:11]CAPDU: 80 13 01 00 [07:43:11]Write to MH i2c: E2 08 00 69 0D 80 13 01 00 00 00 00 00 F3 [07:43:11]Write i2c OK [07:43:11]MH_I2C_Read... [07:43:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:43:11]Read from MH i2c: E2 [07:43:11]MH_I2C_Read... [07:43:11]Read from MH i2c: E2 0E 00 [07:43:11]MH_I2C_Read... [07:43:11]Read from MH i2c: E2 0E 00 69 0D 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 6C [07:43:11]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [07:43:11]wFMCommunicate OK [07:43:11]SAM_PROTO_GetShiftState done [07:43:11]FM_GetShiftState done [07:43:11]opened in 1721003525 [07:43:11]opened+sec_in_day 1721089925 [07:43:11]quantity*price = 0 [07:43:11]sum+1 = 1 [07:43:11]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 0.00 НСП 1% : 0.00 НДС 12% : 0.00 Наличными: 0.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 38 15.07.2024 07:43 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 Талоны: Партнер нефть 30153144 ФМ: 0000000000874857 ФД: 57143 ФПД: 229966179926188 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T074313&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57143&fm=229966179926188&tin=02508201610067®Number=0000000000091208&sum=0 [07:43:12]StoreToDocumentArchive [07:43:12]shift 497 fd 57143 [07:43:12]save to /storage/0497/doc_00057143 [07:43:12]save last doc name /storage/0497/doc_00057143 to /storage/kkm_last_doc_name [07:43:12]save OK [07:43:12]Clear old archive folders... [07:43:12]ProcessDocumentItem done err = 0, tmpTLVsize=248 [07:43:12]tlvbuf is 0098C870 [07:43:12]SAM_PROTO_ClearQueue [07:43:12]wFMCommunicate request_size=4 [07:43:12]MH_SAM_APDU [07:43:12]CAPDU: 80 09 00 00 [07:43:12]Write to MH i2c: E2 08 00 76 0D 80 09 00 00 00 00 00 00 F5 [07:43:12]Write i2c OK [07:43:12]MH_I2C_Read... [07:43:12]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [07:43:12]Read from MH i2c: E2 [07:43:12]MH_I2C_Read... [07:43:12]Read from MH i2c: E2 03 00 [07:43:12]MH_I2C_Read... [07:43:12]Read from MH i2c: E2 03 00 76 0D 00 90 00 F7 [07:43:12]RAPDU: 90 00 [07:43:12]wFMCommunicate OK [07:43:12]SAM_PROTO_ClearQueue done [07:43:12]KKMCreateOFDPacket [07:43:12]OFDProtocolAddRootSTLVToBuf [07:43:12]FM_MakeSignedData [07:43:12]FM_MakeSignedData [07:43:12]SAM_PROTO_SignData [07:43:12]wFMCommunicate request_size=4 [07:43:12]MH_SAM_APDU [07:43:12]CAPDU: 80 0D 01 02 [07:43:12]Write to MH i2c: E2 08 00 77 0D 80 0D 01 02 00 00 00 00 FD [07:43:12]Write i2c OK [07:43:12]MH_I2C_Read... [07:43:12]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [07:43:12]Read from MH i2c: E2 [07:43:12]MH_I2C_Read... [07:43:12]Read from MH i2c: E2 03 00 [07:43:12]MH_I2C_Read... [07:43:12]Read from MH i2c: E2 03 00 77 0D 00 90 00 F8 [07:43:12]RAPDU: 90 00 [07:43:12]wFMCommunicate OK [07:43:12]wFMCommunicate request_size=255 [07:43:12]MH_SAM_APDU [07:43:12]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 40 9C 00 00 00 00 00 37 04 06 00 00 00 00 00 00 00 13 04 06 00 00 00 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 00 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 00 00 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 11 D3 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 37 DF 00 00 35 04 06 00 D1 27 2C 77 [07:43:12]Write to MH i2c: E2 02 01 78 0D 80 0D 02 02 FA 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 40 9C 00 00 00 00 00 37 04 06 00 00 00 00 00 00 00 13 04 06 00 00 00 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 00 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 00 00 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 11 D3 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 37 DF 00 00 35 04 06 00 D1 27 2C 77 00 00 DF [07:43:12]Write i2c OK [07:43:12]MH_I2C_Read... [07:43:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:43:12]Read from MH i2c: E2 [07:43:12]MH_I2C_Read... [07:43:12]Read from MH i2c: E2 03 00 [07:43:12]MH_I2C_Read... [07:43:12]Read from MH i2c: E2 03 00 78 0D 00 90 00 F9 [07:43:12]RAPDU: 90 00 [07:43:12]wFMCommunicate OK [07:43:12]wFMCommunicate request_size=7 [07:43:12]MH_SAM_APDU [07:43:12]CAPDU: 80 0D 02 02 02 00 AC [07:43:12]Write to MH i2c: E2 0A 00 79 0D 80 0D 02 02 02 00 00 AC 00 00 B0 [07:43:12]Write i2c OK [07:43:12]MH_I2C_Read... [07:43:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:43:12]Read from MH i2c: E2 [07:43:12]MH_I2C_Read... [07:43:12]Read from MH i2c: E2 03 00 [07:43:12]MH_I2C_Read... [07:43:12]Read from MH i2c: E2 03 00 79 0D 00 90 00 FA [07:43:12]RAPDU: 90 00 [07:43:12]wFMCommunicate OK [07:43:12]wFMCommunicate request_size=4 [07:43:12]MH_SAM_APDU [07:43:12]CAPDU: 80 0D 03 02 [07:43:12]Write to MH i2c: E2 08 00 7A 0D 80 0D 03 02 00 00 00 00 02 [07:43:12]Write i2c OK [07:43:12]MH_I2C_Read... [07:43:12]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [07:43:12]Read from MH i2c: E2 [07:43:12]MH_I2C_Read... [07:43:12]Read from MH i2c: E2 0B 00 [07:43:12]MH_I2C_Read... [07:43:12]Read from MH i2c: E2 0B 00 7A 0D 00 EF 75 A9 0E AD CE 4F 60 90 00 48 [07:43:12]RAPDU: EF 75 A9 0E AD CE 4F 60 90 00 [07:43:12]wFMCommunicate OK [07:43:12]SAM_PROTO_SignData done [07:43:12]FM_MakeSignedData done [07:43:12]CreateOFDProtocolMessage [07:43:12]wFMCommunicate request_size=4 [07:43:12]MH_SAM_APDU [07:43:12]CAPDU: 80 11 00 00 [07:43:12]Write to MH i2c: E2 08 00 7B 0D 80 11 00 00 00 00 00 00 02 [07:43:12]Write i2c OK [07:43:12]MH_I2C_Read... [07:43:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:43:13]Read from MH i2c: E2 [07:43:13]MH_I2C_Read... [07:43:13]Read from MH i2c: E2 17 00 [07:43:13]MH_I2C_Read... [07:43:13]Read from MH i2c: E2 17 00 7B 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 5C [07:43: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:43:13]wFMCommunicate OK [07:43:13]CreateOFDProtocolMessage done [07:43:13]OFDSenderStorePacket 57143 [07:43:13]StoreOFDPacket docnum=57143 [07:43: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 0C 01 00 00 C3 68 04 01 3E 74 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 40 9C 00 00 00 00 00 37 04 06 00 00 00 00 00 00 00 13 04 06 00 00 00 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 00 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 00 00 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 11 D3 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 37 DF 00 00 35 04 06 00 D1 27 2C 77 00 AC EF 75 A9 0E AD CE 4F 60 [07:43:13]CheckFolder [07:43:13]dirname=/storage/ofd_packets [07:43:13]CheckFolder done [07:43:13]ProducePacketName [07:43:13]name=ofd_packets/00057143 [07:43:13]NVStorageSaveData ofd_packets/00057143 [07:43:13]File name is /storage/ofd_packets/00057143 [07:43:13]Write 298 bytes [07:43:13]NVStorageSaveData done [07:43:13]OFDSenderStorePacket done [07:43:13]KKMCreateOFDPacket done [07:43:13]NVStorageSaveData kkm_last_timestamp [07:43:13]File name is /storage/kkm_last_timestamp [07:43:13]Write 4 bytes [07:43:13]NVStorageSaveData done [07:43:13]ExternCall_PrintAddStr [07:43:13]wPrintStart [07:43:13]Write to MH i2c: 01 00 00 7C 0D 89 [07:43:13]Write i2c OK [07:43:13]MH_I2C_Read... [07:43:13]Read from MH i2c: 01 [07:43:13]MH_I2C_Read... [07:43:13]Read from MH i2c: 01 07 00 [07:43:13]MH_I2C_Read... [07:43:13]Read from MH i2c: 01 07 00 7C 0D 00 00 00 00 00 FF 0F 9E [07:43:13]RasterBufferAndPrint [07:43:13]line Счет N : (1)855677 [07:43:13]line ИНН: 02508201610067 [07:43:13]line Контрольно-Кассовый Чек [07:43:13]line ПРОДАЖА [07:43:13]line ТРК (МРК, ГНК) : 21 [07:43:13]line Товар: 2710194210 [07:43:13]line ДТ-К-5 [07:43:13]line 40.000 * 0.00 [07:43:13]line = 0.00 [07:43:13]line НДС 12% НСП 1% [07:43:13]line > о реализуемом товаре [07:43:13]line ИТОГО: 0.00 [07:43:13]line НСП 1% : 0.00 [07:43:13]line НДС 12% : 0.00 [07:43:13]line Наличными: 0.00 [07:43:13]line Безнал.: 0.00 [07:43:13]line Место: АЗС № 132 "Партнер Нефть" [07:43:13]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [07:43:13]line СНО: Общий режим [07:43:13]line Чек 38 15.07.2024 07:43 [07:43:13]line Смена: 497 ФФД: 1.0 [07:43:13]line ЗНМ: 0300000132 [07:43:13]line РНМ: 0000000000091208 [07:43:13]line Версия ККМ: 001 [07:43:13]line Талоны: Партнер нефть [07:43:13]line 30153144 [07:43:13]line ФМ: 0000000000874857 [07:43:13]line ФД: 57143 [07:43:13]line ФПД: 229966179926188 [07:43:13]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T074313&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57143&fm=229966179926188&tin=02508201610067®Number=0000000000091208&sum=0 [07:43:13]OFD Sender: Processing packet 57143 [packets to send 38, broken 37] [07:43:13]ProducePacketName [07:43:13]name=ofd_packets/00057143 [07:43:13]OFD Sender: To server: pG, [07:43:13]CommunicateWithHost lk.salyk.kg:30040 [07:43:13]ConnectInit lk.salyk.kg [07:43:13]written 0, free lines is 4095 [07:43:13]Connected sock=10 [07:43:13]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 C3 68 04 01 3E 74 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 40 9C 00 00 00 00 00 37 04 06 00 00 00 00 00 00 00 13 04 06 00 00 00 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 00 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 00 00 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 11 D3 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 37 DF 00 00 35 04 06 00 D1 27 2C 77 00 AC EF 75 A9 0E AD CE 4F 60 [07:43:13]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 5B 90 47 00 B2 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 37 DF 00 00 F4 03 04 00 60 79 94 66 B6 04 01 00 00 DC F5 26 61 7C 1F C8 F6 [07:43:13]CommunicateWithHost err = 0 [07:43:13]CheckOFDResponse [07:43:13]1017 (14) - 77093643461234 [07:43:13]1041 (16) - 0000000000874857 [07:43:13]1040 (4) - 57143 [07:43:13]1012 (4) - 15.07.2024 01:20 [07:43:13]1206 (1) - 0 [07:43:13]OFD Sender: Remove packet 57143 [07:43:13]ProducePacketName [07:43:13]name=ofd_packets/00057143 [07:43:13]NVStorageDeleteData [07:43:13]Write to MH i2c: 01 00 00 A6 0D B3 [07:43:13]Write i2c OK [07:43:13]MH_I2C_Read... [07:43:13]Read from MH i2c: 01 [07:43:13]MH_I2C_Read... [07:43:13]Read from MH i2c: 01 07 00 [07:43:13]MH_I2C_Read... [07:43:13]Read from MH i2c: 01 07 00 A6 0D 00 00 00 00 00 F6 0C BC [07:43:13]RasterBufferAndPrint [07:43:13]line [07:43:13]line [07:43:13]line [07:43:13]line [07:43:13]line [07:43:13]written 0, free lines is 3324 [07:43:13]MH_Cut [07:43:13]Write to MH i2c: D1 01 00 AD 0D 01 8C [07:43:13]Write i2c OK [07:43:13]MH_I2C_Read... [07:43:13]Read from MH i2c: D1 [07:43:13]MH_I2C_Read... [07:43:13]Read from MH i2c: D1 01 00 [07:43:13]MH_I2C_Read... [07:43:13]Read from MH i2c: D1 01 00 AD 0D 00 8B [07:43:13]Write to MH i2c: 01 00 00 AE 0D BB [07:43:13]Write i2c OK [07:43:13]MH_I2C_Read... [07:43:14]OFD Sender: No OFD packet to send [07:43:14]*** Cut start [07:43:14]*** Partial cut [07:43:14]*** CUTSNS_PIN = 1 [07:43:14]*** CUTSNS_PIN = 0 [07:43:14]*** Brake cut motor [07:43:15]Read from MH i2c: 01 [07:43:15]MH_I2C_Read... [07:43:15]*** Stop cut motor [07:43:15]*** Cut end [07:43:15]Read from MH i2c: 01 07 00 [07:43:15]MH_I2C_Read... [07:43:15]Read from MH i2c: 01 07 00 AE 0D 00 00 00 00 00 FF 0F D0 [07:43:15]process_action close_receipt done [07:43:15]requested_data is exist [07:43:15]produce_requested_data [07:43:15]requested_item fm.sn is exist - process it [07:43:15]wFMCommunicate request_size=4 [07:43:15]MH_SAM_APDU [07:43:15]CAPDU: 80 11 00 00 [07:43:15]Write to MH i2c: E2 08 00 AF 0D 80 11 00 00 00 00 00 00 36 [07:43:15]Write i2c OK [07:43:15]MH_I2C_Read... [07:43:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:43:15]Read from MH i2c: E2 [07:43:15]MH_I2C_Read... [07:43:15]Read from MH i2c: E2 17 00 [07:43:15]MH_I2C_Read... [07:43:15]Read from MH i2c: E2 17 00 AF 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 90 [07:43: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:43:15]wFMCommunicate OK [07:43:15]requested_item fd.num is exist - process it [07:43:15]SAM_PROTO_GetFieldsCounters [07:43:15]wFMCommunicate request_size=4 [07:43:15]MH_SAM_APDU [07:43:15]CAPDU: 80 13 00 00 [07:43:15]Write to MH i2c: E2 08 00 B0 0D 80 13 00 00 00 00 00 00 39 [07:43:15]Write i2c OK [07:43:15]MH_I2C_Read... [07:43:15]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:43:15]Read from MH i2c: E2 [07:43:15]MH_I2C_Read... [07:43:15]Read from MH i2c: E2 62 00 [07:43:15]MH_I2C_Read... [07:43:15]Read from MH i2c: E2 62 00 B0 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 37 DF 00 00 0E 04 04 00 F1 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 D6 [07:43: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 37 DF 00 00 0E 04 04 00 F1 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:43:15]wFMCommunicate OK [07:43:15]SAM_PROTO_GetFieldsCounters done [07:43:15]requested_item shift.num is exist - process it [07:43:15]requested_item shift.opened is exist - process it [07:43:15]req_shift_opened [07:43:15]FM_GetShiftState [07:43:15]SAM_PROTO_GetShiftState [07:43:15]wFMCommunicate request_size=4 [07:43:15]MH_SAM_APDU [07:43:15]CAPDU: 80 13 01 00 [07:43:15]Write to MH i2c: E2 08 00 B1 0D 80 13 01 00 00 00 00 00 3B [07:43:15]Write i2c OK [07:43:15]MH_I2C_Read... [07:43:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:43:15]Read from MH i2c: E2 [07:43:15]MH_I2C_Read... [07:43:15]Read from MH i2c: E2 0E 00 [07:43:15]MH_I2C_Read... [07:43:15]Read from MH i2c: E2 0E 00 B1 0D 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 B4 [07:43:15]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [07:43:15]wFMCommunicate OK [07:43:15]SAM_PROTO_GetShiftState done [07:43:15]FM_GetShiftState done [07:43:15]req_shift_opened done [07:43:15]requested_item shift.open_date is exist - process it [07:43:15]req_shift_open_date [07:43:15]req_shift_open_date done [07:43:15]requested_item shift.sale.total is exist - process it [07:43:15]SAM_PROTO_GetShiftData [07:43:15]wFMCommunicate request_size=4 [07:43:15]MH_SAM_APDU [07:43:15]CAPDU: 80 13 02 00 [07:43:15]Write to MH i2c: E2 08 00 B2 0D 80 13 02 00 00 00 00 00 3D [07:43:15]Write i2c OK [07:43:15]MH_I2C_Read... [07:43:15]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [07:43:15]Read from MH i2c: E2 [07:43:15]MH_I2C_Read... [07:43:15]Read from MH i2c: E2 FD 00 [07:43:15]MH_I2C_Read... [07:43:15]Read from MH i2c: E2 FD 00 B2 0D 00 B6 04 AA 04 B2 04 6E 04 04 00 26 00 00 00 69 04 9B 00 6F 04 04 00 25 00 00 00 B1 04 03 00 5D CC 0E 70 04 03 00 48 B8 09 72 04 03 00 15 14 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 48 92 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 85 21 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 D9 [07:43:15]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 26 00 00 00 69 04 9B 00 6F 04 04 00 25 00 00 00 B1 04 03 00 5D CC 0E 70 04 03 00 48 B8 09 72 04 03 00 15 14 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 48 92 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 85 21 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 [07:43:15]wFMCommunicate OK [07:43:15]wFMCommunicate request_size=4 [07:43:15]MH_SAM_APDU [07:43:15]CAPDU: 80 17 00 00 [07:43:15]Write to MH i2c: E2 08 00 B3 0D 80 17 00 00 00 00 00 00 40 [07:43:15]Write i2c OK [07:43:15]MH_I2C_Read... [07:43:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [07:43:16]Read from MH i2c: E2 [07:43:16]MH_I2C_Read... [07:43:16]Read from MH i2c: E2 FD 00 [07:43:16]MH_I2C_Read... [07:43:16]Read from MH i2c: E2 FD 00 B3 0D 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 [07:43:16]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 [07:43:16]wFMCommunicate OK [07:43:16]wFMCommunicate request_size=4 [07:43:16]MH_SAM_APDU [07:43:16]CAPDU: 80 17 00 00 [07:43:16]Write to MH i2c: E2 08 00 B4 0D 80 17 00 00 00 00 00 00 41 [07:43:16]Write i2c OK [07:43:16]MH_I2C_Read... [07:43:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [07:43:16]Read from MH i2c: E2 [07:43:16]MH_I2C_Read... [07:43:16]Read from MH i2c: E2 FD 00 [07:43:16]MH_I2C_Read... [07:43:16]Read from MH i2c: E2 FD 00 B4 0D 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 [07:43:16]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 [07:43:16]wFMCommunicate OK [07:43:16]wFMCommunicate request_size=4 [07:43:16]MH_SAM_APDU [07:43:16]CAPDU: 80 17 00 00 [07:43:16]Write to MH i2c: E2 08 00 B5 0D 80 17 00 00 00 00 00 00 42 [07:43:16]Write i2c OK [07:43:16]MH_I2C_Read... [07:43:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [07:43:16]Read from MH i2c: E2 [07:43:16]MH_I2C_Read... [07:43:16]Read from MH i2c: E2 FD 00 [07:43:16]MH_I2C_Read... [07:43:16]Read from MH i2c: E2 FD 00 B5 0D 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 [07:43:16]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 [07:43:16]wFMCommunicate OK [07:43:16]wFMCommunicate request_size=4 [07:43:16]MH_SAM_APDU [07:43:16]CAPDU: 80 17 00 00 [07:43:16]Write to MH i2c: E2 08 00 B6 0D 80 17 00 00 00 00 00 00 43 [07:43:16]Write i2c OK [07:43:16]MH_I2C_Read... [07:43:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [07:43:16]Read from MH i2c: E2 [07:43:16]MH_I2C_Read... [07:43:16]Read from MH i2c: E2 D3 00 [07:43:16]MH_I2C_Read... [07:43:16]Read from MH i2c: E2 D3 00 B6 0D 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 [07:43:17]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 [07:43:17]wFMCommunicate OK [07:43:17]SAM_PROTO_GetShiftData done [07:43:17]requested_item shift.sale.total_cash is exist - process it [07:43:17]requested_item shift.sale_refund.total is exist - process it [07:43:17]requested_item shift.sale_refund.total_cash is exist - process it [07:43:17]produce_requested_data done [07:43:17]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57143,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":9698.21,"shift.sale.total_cash":6370.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [07:43:17]process_action_free close_receipt [07:43:17]json_value_free [07:43:17]json_value_free done [07:43:17]process_json_proto returns [07:43:17]Send response to host [07:43:17]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57143,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":9698.21,"shift.sale.total_cash":6370.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [07:43:17]free response buf [07:43:17]execute_script done [07:43:17]execute_script returns [07:43:17]free content buf [07:43:17]Sock 9.Close socket [07:43:17]Sock 9.Thread stoped [07:43:19]OFD Sender: No OFD packet to send [07:43:24]OFD Sender: No OFD packet to send [07:43:29]OFD Sender: No OFD packet to send [07:43:34]OFD Sender: No OFD packet to send [07:43:39]OFD Sender: No OFD packet to send [07:43:44]OFD Sender: No OFD packet to send [07:43:49]OFD Sender: No OFD packet to send [07:43:54]OFD Sender: No OFD packet to send [07:43:59]OFD Sender: No OFD packet to send [07:44:04]OFD Sender: No OFD packet to send [07:44:09]OFD Sender: No OFD packet to send [07:44:14]OFD Sender: No OFD packet to send [07:44:19]OFD Sender: No OFD packet to send [07:44:24]OFD Sender: No OFD packet to send [07:44:29]OFD Sender: No OFD packet to send [07:44:34]OFD Sender: No OFD packet to send [07:44:39]OFD Sender: No OFD packet to send [07:44:44]OFD Sender: No OFD packet to send [07:44:49]OFD Sender: No OFD packet to send [07:44:54]OFD Sender: No OFD packet to send [07:44:59]OFD Sender: No OFD packet to send [07:45:04]OFD Sender: No OFD packet to send [07:45:09]OFD Sender: No OFD packet to send [07:45:14]OFD Sender: No OFD packet to send [07:45:19]OFD Sender: No OFD packet to send [07:45:24]OFD Sender: No OFD packet to send [07:45:29]OFD Sender: No OFD packet to send [07:45:34]OFD Sender: No OFD packet to send [07:45:39]OFD Sender: No OFD packet to send [07:45:44]OFD Sender: No OFD packet to send [07:45:49]OFD Sender: No OFD packet to send [07:45:54]OFD Sender: No OFD packet to send [07:45:59]OFD Sender: No OFD packet to send [07:46:04]OFD Sender: No OFD packet to send [07:46:09]OFD Sender: No OFD packet to send [07:46:14]OFD Sender: No OFD packet to send [07:46:19]OFD Sender: No OFD packet to send [07:46:24]OFD Sender: No OFD packet to send [07:46:29]OFD Sender: No OFD packet to send [07:46:34]OFD Sender: No OFD packet to send [07:46:39]OFD Sender: No OFD packet to send [07:46:44]OFD Sender: No OFD packet to send [07:46:49]OFD Sender: No OFD packet to send [07:46:54]OFD Sender: No OFD packet to send [07:46:59]OFD Sender: No OFD packet to send [07:47:04]OFD Sender: No OFD packet to send [07:47:09]OFD Sender: No OFD packet to send [07:47:14]OFD Sender: No OFD packet to send [07:47:19]OFD Sender: No OFD packet to send [07:47:24]OFD Sender: No OFD packet to send [07:47:29]OFD Sender: No OFD packet to send [07:47:34]OFD Sender: No OFD packet to send [07:47:39]OFD Sender: No OFD packet to send [07:47:44]OFD Sender: No OFD packet to send [07:47:49]OFD Sender: No OFD packet to send [07:47:54]OFD Sender: No OFD packet to send [07:47:59]OFD Sender: No OFD packet to send [07:48:04]OFD Sender: No OFD packet to send [07:48:09]OFD Sender: No OFD packet to send [07:48:14]OFD Sender: No OFD packet to send [07:48:19]OFD Sender: No OFD packet to send [07:48:24]OFD Sender: No OFD packet to send [07:48:29]OFD Sender: No OFD packet to send [07:48:34]OFD Sender: No OFD packet to send [07:48:39]OFD Sender: No OFD packet to send [07:48:44]OFD Sender: No OFD packet to send [07:48:49]OFD Sender: No OFD packet to send [07:48:54]OFD Sender: No OFD packet to send [07:48:59]OFD Sender: No OFD packet to send [07:49:04]OFD Sender: No OFD packet to send [07:49:09]OFD Sender: No OFD packet to send [07:49:14]OFD Sender: No OFD packet to send [07:49:19]OFD Sender: No OFD packet to send [07:49:24]OFD Sender: No OFD packet to send [07:49:29]OFD Sender: No OFD packet to send [07:49:34]OFD Sender: No OFD packet to send [07:49:39]OFD Sender: No OFD packet to send [07:49:44]OFD Sender: No OFD packet to send [07:49:49]OFD Sender: No OFD packet to send [07:49:54]OFD Sender: No OFD packet to send [07:49:59]OFD Sender: No OFD packet to send [07:50:04]OFD Sender: No OFD packet to send [07:50:09]OFD Sender: No OFD packet to send [07:50:14]OFD Sender: No OFD packet to send [07:50:19]OFD Sender: No OFD packet to send [07:50:24]OFD Sender: No OFD packet to send [07:50:29]OFD Sender: No OFD packet to send [07:50:34]OFD Sender: No OFD packet to send [07:50:39]OFD Sender: No OFD packet to send [07:50:44]OFD Sender: No OFD packet to send [07:50:49]OFD Sender: No OFD packet to send [07:50:54]OFD Sender: No OFD packet to send [07:50:59]OFD Sender: No OFD packet to send [07:51:04]OFD Sender: No OFD packet to send [07:51:09]OFD Sender: No OFD packet to send [07:51:14]OFD Sender: No OFD packet to send [07:51:19]OFD Sender: No OFD packet to send [07:51:24]OFD Sender: No OFD packet to send [07:51:29]OFD Sender: No OFD packet to send [07:51:34]OFD Sender: No OFD packet to send [07:51:39]OFD Sender: No OFD packet to send [07:51:44]OFD Sender: No OFD packet to send [07:51:49]OFD Sender: No OFD packet to send [07:51:54]OFD Sender: No OFD packet to send [07:51:59]OFD Sender: No OFD packet to send [07:52:04]OFD Sender: No OFD packet to send [07:52:09]OFD Sender: No OFD packet to send [07:52:14]OFD Sender: No OFD packet to send [07:52:19]OFD Sender: No OFD packet to send [07:52:24]OFD Sender: No OFD packet to send [07:52:29]OFD Sender: No OFD packet to send [07:52:34]OFD Sender: No OFD packet to send [07:52:39]OFD Sender: No OFD packet to send [07:52:44]OFD Sender: No OFD packet to send [07:52:49]OFD Sender: No OFD packet to send [07:52:54]OFD Sender: No OFD packet to send [07:52:59]OFD Sender: No OFD packet to send [07:53:04]OFD Sender: No OFD packet to send [07:53:09]OFD Sender: No OFD packet to send [07:53:14]OFD Sender: No OFD packet to send [07:53:19]OFD Sender: No OFD packet to send [07:53:24]OFD Sender: No OFD packet to send [07:53:29]OFD Sender: No OFD packet to send [07:53:34]OFD Sender: No OFD packet to send [07:53:39]OFD Sender: No OFD packet to send [07:53:44]OFD Sender: No OFD packet to send [07:53:49]OFD Sender: No OFD packet to send [07:53:54]OFD Sender: No OFD packet to send [07:53:59]OFD Sender: No OFD packet to send [07:54:04]OFD Sender: No OFD packet to send [07:54:09]OFD Sender: No OFD packet to send [07:54:14]OFD Sender: No OFD packet to send [07:54:19]OFD Sender: No OFD packet to send [07:54:24]OFD Sender: No OFD packet to send [07:54:29]OFD Sender: No OFD packet to send [07:54:34]OFD Sender: No OFD packet to send [07:54:39]OFD Sender: No OFD packet to send [07:54:44]OFD Sender: No OFD packet to send [07:54:49]OFD Sender: No OFD packet to send [07:54:54]OFD Sender: No OFD packet to send [07:54:59]OFD Sender: No OFD packet to send [07:55:04]OFD Sender: No OFD packet to send [07:55:09]OFD Sender: No OFD packet to send [07:55:14]OFD Sender: No OFD packet to send [07:55:19]OFD Sender: No OFD packet to send [07:55:24]OFD Sender: No OFD packet to send [07:55:29]OFD Sender: No OFD packet to send [07:55:34]OFD Sender: No OFD packet to send [07:55:39]OFD Sender: No OFD packet to send [07:55:44]OFD Sender: No OFD packet to send [07:55:50]OFD Sender: No OFD packet to send [07:55:55]OFD Sender: No OFD packet to send [07:56:00]OFD Sender: No OFD packet to send [07:56:05]OFD Sender: No OFD packet to send [07:56:10]OFD Sender: No OFD packet to send [07:56:15]OFD Sender: No OFD packet to send [07:56:20]OFD Sender: No OFD packet to send [07:56:25]OFD Sender: No OFD packet to send [07:56:30]OFD Sender: No OFD packet to send [07:56:35]OFD Sender: No OFD packet to send [07:56:40]OFD Sender: No OFD packet to send [07:56:45]OFD Sender: No OFD packet to send [07:56:50]OFD Sender: No OFD packet to send [07:56:55]OFD Sender: No OFD packet to send [07:57:00]OFD Sender: No OFD packet to send [07:57:05]OFD Sender: No OFD packet to send [07:57:10]OFD Sender: No OFD packet to send [07:57:15]OFD Sender: No OFD packet to send [07:57:20]OFD Sender: No OFD packet to send [07:57:25]OFD Sender: No OFD packet to send [07:57:30]OFD Sender: No OFD packet to send [07:57:35]OFD Sender: No OFD packet to send [07:57:40]OFD Sender: No OFD packet to send [07:57:45]OFD Sender: No OFD packet to send [07:57:50]OFD Sender: No OFD packet to send [07:57:55]OFD Sender: No OFD packet to send [07:58:00]OFD Sender: No OFD packet to send [07:58:05]OFD Sender: No OFD packet to send [07:58:10]OFD Sender: No OFD packet to send [07:58:15]OFD Sender: No OFD packet to send [07:58:20]OFD Sender: No OFD packet to send [07:58:25]OFD Sender: No OFD packet to send [07:58:30]OFD Sender: No OFD packet to send [07:58:35]OFD Sender: No OFD packet to send [07:58:40]OFD Sender: No OFD packet to send [07:58:45]OFD Sender: No OFD packet to send [07:58:50]OFD Sender: No OFD packet to send [07:58:55]OFD Sender: No OFD packet to send [07:59:00]OFD Sender: No OFD packet to send [07:59:05]OFD Sender: No OFD packet to send [07:59:10]OFD Sender: No OFD packet to send [07:59:15]OFD Sender: No OFD packet to send [07:59:20]OFD Sender: No OFD packet to send [07:59:25]OFD Sender: No OFD packet to send [07:59:30]OFD Sender: No OFD packet to send [07:59:35]OFD Sender: No OFD packet to send [07:59:40]OFD Sender: No OFD packet to send [07:59:45]OFD Sender: No OFD packet to send [07:59:50]OFD Sender: No OFD packet to send [07:59:55]OFD Sender: No OFD packet to send [08:00:00]OFD Sender: No OFD packet to send [08:00:05]OFD Sender: No OFD packet to send [08:00:10]OFD Sender: No OFD packet to send [08:00:15]OFD Sender: No OFD packet to send [08:00:20]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:50]OFD Sender: No OFD packet to send [08:03:55]OFD Sender: No OFD packet to send [08:04:00]OFD Sender: No OFD packet to send [08:04:05]OFD Sender: No OFD packet to send [08:04:10]OFD Sender: No OFD packet to send [08:04:15]OFD Sender: No OFD packet to send [08:04:20]OFD Sender: No OFD packet to send [08:04:25]OFD Sender: No OFD packet to send [08:04:30]OFD Sender: No OFD packet to send [08:04:35]OFD Sender: No OFD packet to send [08:04:40]OFD Sender: No OFD packet to send [08:04:45]OFD Sender: No OFD packet to send [08:04:50]OFD Sender: No OFD packet to send [08:04:55]OFD Sender: No OFD packet to send [08:05:00]OFD Sender: No OFD packet to send [08:05:05]OFD Sender: No OFD packet to send [08:05:10]OFD Sender: No OFD packet to send [08:05:15]OFD Sender: No OFD packet to send [08:05:20]OFD Sender: No OFD packet to send [08:05:25]OFD Sender: No OFD packet to send [08:05:30]OFD Sender: No OFD packet to send [08:05:35]OFD Sender: No OFD packet to send [08:05:40]OFD Sender: No OFD packet to send [08:05:45]OFD Sender: No OFD packet to send [08:05:50]OFD Sender: No OFD packet to send [08:05:55]OFD Sender: No OFD packet to send [08:06:00]OFD Sender: No OFD packet to send [08:06:05]OFD Sender: No OFD packet to send [08:06:07]accept exits with 8 [08:06:07]New connection [08:06:07]New thread 3066924388 created [08:06:07]Thread 3067067748 joined [08:06:07]Waiting for new connection... [08:06:07] Sock 8.Parse request [08:06:07]Sock 8.Check first char [08:06:07]Sock 8.First char is OK [08:06:07]request: POST /json_proto HTTP/1.0 [08:06:07]Method: POST [08:06:07]URL: /json_proto [08:06:07]Method is POST - this is cgi request [08:06:07]url: /json_proto [08:06:07]query_string will be loaded in cgi processing [08:06:07]execute_cgi json_proto POST (null) [08:06:07]execute_cgi path=json_proto method=POST [08:06:07]POST find Content-Length [08:06:07]Host: 172.17.39.4:8080 [08:06:07]Content-Length: 725 [08:06:07]Content-Type: application/json [08:06:07] [08:06:07]POST finish read [08:06:07]Found Content-Length = 725 [08:06:07]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129598", "tax_sys" : 0, "items" : [ { "code": "48742344", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B LD Super Slims Pink", "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" ] } } [08:06:07]execute_script... [08:06: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)129598", "tax_sys" : 0, "items" : [ { "code": "48742344", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B LD Super Slims Pink", "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" ] } } [08:06:07]POST & json_proto [08:06:07]process_json_proto [08:06:07]json parsed OK: [08:06:07]protocol is kg_v1.0 [08:06:07]action value=close_receipt [08:06:07]process_action close_receipt [08:06:07]cmd_close_receipt [08:06:07]MH_GetDate [08:06:07]Write to MH i2c: F0 00 00 B7 0D B3 [08:06:07]Write i2c OK [08:06:07]MH_I2C_Read... [08:06:07]Read from MH i2c: F0 [08:06:07]MH_I2C_Read... [08:06:07]Read from MH i2c: F0 09 00 [08:06:07]MH_I2C_Read... [08:06:07]Read from MH i2c: F0 09 00 B7 0D 00 72 D8 94 66 2D 25 5D 64 13 [08:06:07]GetLastDocTimeStamp 1721029393 [08:06:07]current date 1721030770 [08:06:07]FM_GetShiftState [08:06:07]SAM_PROTO_GetShiftState [08:06:07]wFMCommunicate request_size=4 [08:06:07]MH_SAM_APDU [08:06:07]CAPDU: 80 13 01 00 [08:06:07]Write to MH i2c: E2 08 00 B8 0D 80 13 01 00 00 00 00 00 42 [08:06:07]Write i2c OK [08:06:07]MH_I2C_Read... [08:06:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:06:08]Read from MH i2c: E2 [08:06:08]MH_I2C_Read... [08:06:08]Read from MH i2c: E2 0E 00 [08:06:08]MH_I2C_Read... [08:06:08]Read from MH i2c: E2 0E 00 B8 0D 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 BB [08:06:08]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [08:06:08]wFMCommunicate OK [08:06:08]SAM_PROTO_GetShiftState done [08:06:08]FM_GetShiftState done [08:06:08]opened in 1721003525 [08:06:08]opened+sec_in_day 1721089925 [08:06:08]quantity*price = 13000 [08:06:08]sum+1 = 13001 [08:06:08]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 СНО: Общий режим Чек 39 15.07.2024 08:06 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57144 ФПД: 88006507779229 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T080610&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57144&fm=88006507779229&tin=02508201610067®Number=0000000000091208&sum=13000 0 [08:06:09]StoreToDocumentArchive [08:06:09]shift 497 fd 57144 [08:06:09]save to /storage/0497/doc_00057144 [08:06:09]save last doc name /storage/0497/doc_00057144 to /storage/kkm_last_doc_name [08:06:09]save OK [08:06:09]Clear old archive folders... [08:06:09]ProcessDocumentItem done err = 0, tmpTLVsize=273 [08:06:09]tlvbuf is 0099ED10 [08:06:09]SAM_PROTO_ClearQueue [08:06:09]wFMCommunicate request_size=4 [08:06:09]MH_SAM_APDU [08:06:09]CAPDU: 80 09 00 00 [08:06:09]Write to MH i2c: E2 08 00 C5 0D 80 09 00 00 00 00 00 00 44 [08:06:09]Write i2c OK [08:06:09]MH_I2C_Read... [08:06:09]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:06:09]Read from MH i2c: E2 [08:06:09]MH_I2C_Read... [08:06:09]Read from MH i2c: E2 03 00 [08:06:09]MH_I2C_Read... [08:06:09]Read from MH i2c: E2 03 00 C5 0D 00 90 00 46 [08:06:09]RAPDU: 90 00 [08:06:09]wFMCommunicate OK [08:06:09]SAM_PROTO_ClearQueue done [08:06:09]KKMCreateOFDPacket [08:06:09]OFDProtocolAddRootSTLVToBuf [08:06:09]FM_MakeSignedData [08:06:09]FM_MakeSignedData [08:06:09]SAM_PROTO_SignData [08:06:09]wFMCommunicate request_size=4 [08:06:09]MH_SAM_APDU [08:06:09]CAPDU: 80 0D 01 02 [08:06:09]Write to MH i2c: E2 08 00 C6 0D 80 0D 01 02 00 00 00 00 4C [08:06:09]Write i2c OK [08:06:09]MH_I2C_Read... [08:06:09]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:06:09]Read from MH i2c: E2 [08:06:09]MH_I2C_Read... [08:06:09]Read from MH i2c: E2 03 00 [08:06:09]MH_I2C_Read... [08:06:09]Read from MH i2c: E2 03 00 C6 0D 00 90 00 47 [08:06:09]RAPDU: 90 00 [08:06:09]wFMCommunicate OK [08:06:09]wFMCommunicate request_size=255 [08:06:09]MH_SAM_APDU [08:06: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 32 33 34 34 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 53 75 70 65 72 20 53 6C 69 6D 73 20 50 69 6E 6B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 27 00 00 00 F4 03 04 00 72 D8 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 [08:06:09]Write to MH i2c: E2 02 01 C7 0D 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 32 33 34 34 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 53 75 70 65 72 20 53 6C 69 6D 73 20 50 69 6E 6B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 27 00 00 00 F4 03 04 00 72 D8 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 E9 [08:06:09]Write i2c OK [08:06:09]MH_I2C_Read... [08:06:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:06:09]Read from MH i2c: E2 [08:06:09]MH_I2C_Read... [08:06:09]Read from MH i2c: E2 03 00 [08:06:09]MH_I2C_Read... [08:06:09]Read from MH i2c: E2 03 00 C7 0D 00 90 00 48 [08:06:09]RAPDU: 90 00 [08:06:09]wFMCommunicate OK [08:06:09]wFMCommunicate request_size=32 [08:06:09]MH_SAM_APDU [08:06:09]CAPDU: 80 0D 02 02 1B 30 30 30 38 37 34 38 35 37 10 04 04 00 38 DF 00 00 35 04 06 00 50 0A 9C A2 54 9D [08:06:09]Write to MH i2c: E2 23 00 C8 0D 80 0D 02 02 1B 00 30 30 30 38 37 34 38 35 37 10 04 04 00 38 DF 00 00 35 04 06 00 50 0A 9C A2 54 9D 00 00 53 [08:06:09]Write i2c OK [08:06:09]MH_I2C_Read... [08:06:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:06:09]Read from MH i2c: E2 [08:06:09]MH_I2C_Read... [08:06:09]Read from MH i2c: E2 03 00 [08:06:09]MH_I2C_Read... [08:06:09]Read from MH i2c: E2 03 00 C8 0D 00 90 00 49 [08:06:09]RAPDU: 90 00 [08:06:09]wFMCommunicate OK [08:06:09]wFMCommunicate request_size=4 [08:06:09]MH_SAM_APDU [08:06:09]CAPDU: 80 0D 03 02 [08:06:09]Write to MH i2c: E2 08 00 C9 0D 80 0D 03 02 00 00 00 00 51 [08:06:09]Write i2c OK [08:06:09]MH_I2C_Read... [08:06:09]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:06:09]Read from MH i2c: E2 [08:06:09]MH_I2C_Read... [08:06:09]Read from MH i2c: E2 0B 00 [08:06:09]MH_I2C_Read... [08:06:09]Read from MH i2c: E2 0B 00 C9 0D 00 C8 C0 3E 5C 0F 32 54 0E 90 00 17 [08:06:09]RAPDU: C8 C0 3E 5C 0F 32 54 0E 90 00 [08:06:09]wFMCommunicate OK [08:06:09]SAM_PROTO_SignData done [08:06:09]FM_MakeSignedData done [08:06:09]CreateOFDProtocolMessage [08:06:09]wFMCommunicate request_size=4 [08:06:09]MH_SAM_APDU [08:06:09]CAPDU: 80 11 00 00 [08:06:09]Write to MH i2c: E2 08 00 CA 0D 80 11 00 00 00 00 00 00 51 [08:06:09]Write i2c OK [08:06:09]MH_I2C_Read... [08:06:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:06:09]Read from MH i2c: E2 [08:06:09]MH_I2C_Read... [08:06:09]Read from MH i2c: E2 17 00 [08:06:09]MH_I2C_Read... [08:06:09]Read from MH i2c: E2 17 00 CA 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 AB [08:06:09]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:09]wFMCommunicate OK [08:06:09]CreateOFDProtocolMessage done [08:06:09]OFDSenderStorePacket 57144 [08:06:09]StoreOFDPacket docnum=57144 [08:06: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 6C 35 1D 01 FA 17 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 32 33 34 34 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 53 75 70 65 72 20 53 6C 69 6D 73 20 50 69 6E 6B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 27 00 00 00 F4 03 04 00 72 D8 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 38 DF 00 00 35 04 06 00 50 0A 9C A2 54 9D C8 C0 3E 5C 0F 32 54 0E [08:06:09]CheckFolder [08:06:09]dirname=/storage/ofd_packets [08:06:09]CheckFolder done [08:06:09]ProducePacketName [08:06:09]name=ofd_packets/00057144 [08:06:09]NVStorageSaveData ofd_packets/00057144 [08:06:09]File name is /storage/ofd_packets/00057144 [08:06:09]Write 323 bytes [08:06:09]NVStorageSaveData done [08:06:09]OFDSenderStorePacket done [08:06:09]KKMCreateOFDPacket done [08:06:09]NVStorageSaveData kkm_last_timestamp [08:06:09]File name is /storage/kkm_last_timestamp [08:06:09]Write 4 bytes [08:06:09]NVStorageSaveData done [08:06:09]ExternCall_PrintAddStr [08:06:09]wPrintStart [08:06:09]Write to MH i2c: 01 00 00 CB 0D D8 [08:06:09]Write i2c OK [08:06:09]MH_I2C_Read... [08:06:09]Read from MH i2c: 01 [08:06:09]MH_I2C_Read... [08:06:09]Read from MH i2c: 01 07 00 [08:06:09]MH_I2C_Read... [08:06:09]Read from MH i2c: 01 07 00 CB 0D 00 00 00 00 00 FF 0F ED [08:06:09]RasterBufferAndPrint [08:06:09]line Счет N : (3)129598 [08:06:09]line ИНН: 02508201610067 [08:06:09]line Контрольно-Кассовый Чек [08:06:09]line ПРОДАЖА [08:06:09]line Товар: 48742344 [08:06:09]line Сигареты LD Super Slims Pink [08:06:09]line 1.000 * 130.00 [08:06:09]line = 130.00 [08:06:09]line НДС 12% НСП 1% [08:06:09]line > о реализуемом товаре [08:06:09]line ИТОГО: 130.00 [08:06:09]line НСП 1% : 1.15 [08:06:09]line НДС 12% : 13.80 [08:06:09]line Наличными: 130.00 [08:06:09]line Безнал.: 0.00 [08:06:09]line Место: АЗС № 132 "Партнер Нефть" [08:06:09]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [08:06:09]line СНО: Общий режим [08:06:09]line Чек 39 15.07.2024 08:06 [08:06:09]line Смена: 497 ФФД: 1.0 [08:06:09]line ЗНМ: 0300000132 [08:06:09]line РНМ: 0000000000091208 [08:06:09]line Версия ККМ: 001 [08:06:09]line ФМ: 0000000000874857 [08:06:09]line ФД: 57144 [08:06:09]line ФПД: 88006507779229 [08:06:09]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T080610&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57144&fm=88006507779229&tin=02508201610067®Number=0000000000091208&sum=13000 [08:06:09]line 0 [08:06:10]written 0, free lines is 4095 [08:06:10]OFD Sender: Processing packet 57144 [packets to send 38, broken 37] [08:06:10]ProducePacketName [08:06:10]name=ofd_packets/00057144 [08:06:10]OFD Sender: To server: pG, [08:06:10]CommunicateWithHost lk.salyk.kg:30040 [08:06:10]ConnectInit lk.salyk.kg [08:06:10]Connected sock=10 [08:06: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 25 01 00 00 6C 35 1D 01 FA 17 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 32 33 34 34 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 53 75 70 65 72 20 53 6C 69 6D 73 20 50 69 6E 6B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 27 00 00 00 F4 03 04 00 72 D8 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 38 DF 00 00 35 04 06 00 50 0A 9C A2 54 9D C8 C0 3E 5C 0F 32 54 0E [08:06: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 6D 1D 47 00 8A 26 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 38 DF 00 00 F4 03 04 00 C1 7E 94 66 B6 04 01 00 00 02 97 AB 0B 48 1F AD CE [08:06:10]CommunicateWithHost err = 0 [08:06:10]CheckOFDResponse [08:06:10]1017 (14) - 77093643461234 [08:06:10]1041 (16) - 0000000000874857 [08:06:10]1040 (4) - 57144 [08:06:10]1012 (4) - 15.07.2024 01:43 [08:06:10]1206 (1) - 0 [08:06:10]OFD Sender: Remove packet 57144 [08:06:10]ProducePacketName [08:06:10]name=ofd_packets/00057144 [08:06:10]NVStorageDeleteData [08:06:10]Write to MH i2c: 01 00 00 F3 0D 00 [08:06:10]Write i2c OK [08:06:10]MH_I2C_Read... [08:06:10]Read from MH i2c: 01 [08:06:10]MH_I2C_Read... [08:06:10]Read from MH i2c: 01 07 00 [08:06:10]MH_I2C_Read... [08:06:10]Read from MH i2c: 01 07 00 F3 0D 00 00 00 00 00 02 0D 16 [08:06:10]RasterBufferAndPrint [08:06:10]line [08:06:10]line [08:06:10]line [08:06:10]line [08:06:10]line [08:06:10]written 0, free lines is 3336 [08:06:10]MH_Cut [08:06:10]Write to MH i2c: D1 01 00 FA 0D 01 D9 [08:06:10]Write i2c OK [08:06:10]MH_I2C_Read... [08:06:10]Read from MH i2c: D1 [08:06:10]MH_I2C_Read... [08:06:10]Read from MH i2c: D1 01 00 [08:06:10]MH_I2C_Read... [08:06:10]Read from MH i2c: D1 01 00 FA 0D 00 D8 [08:06:10]Write to MH i2c: 01 00 00 FB 0D 08 [08:06:10]Write i2c OK [08:06:10]MH_I2C_Read... [08:06:10]OFD Sender: No OFD packet to send [08:06:11]*** Cut start [08:06:11]*** Partial cut [08:06:11]*** CUTSNS_PIN = 1 [08:06:11]*** CUTSNS_PIN = 0 [08:06:11]*** Brake cut motor [08:06:11]Read from MH i2c: 01 [08:06:11]MH_I2C_Read... [08:06:11]*** Stop cut motor [08:06:11]*** Cut end [08:06:11]Read from MH i2c: 01 07 00 [08:06:11]MH_I2C_Read... [08:06:11]Read from MH i2c: 01 07 00 FB 0D 00 00 00 00 00 FF 0F 1D [08:06:11]process_action close_receipt done [08:06:11]requested_data is exist [08:06:11]produce_requested_data [08:06:11]requested_item fm.sn is exist - process it [08:06:11]wFMCommunicate request_size=4 [08:06:11]MH_SAM_APDU [08:06:11]CAPDU: 80 11 00 00 [08:06:11]Write to MH i2c: E2 08 00 FC 0D 80 11 00 00 00 00 00 00 83 [08:06:11]Write i2c OK [08:06:11]MH_I2C_Read... [08:06:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:06:11]Read from MH i2c: E2 [08:06:11]MH_I2C_Read... [08:06:11]Read from MH i2c: E2 17 00 [08:06:11]MH_I2C_Read... [08:06:11]Read from MH i2c: E2 17 00 FC 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 DD [08:06: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:06:11]wFMCommunicate OK [08:06:11]requested_item fd.num is exist - process it [08:06:11]SAM_PROTO_GetFieldsCounters [08:06:11]wFMCommunicate request_size=4 [08:06:11]MH_SAM_APDU [08:06:11]CAPDU: 80 13 00 00 [08:06:11]Write to MH i2c: E2 08 00 FD 0D 80 13 00 00 00 00 00 00 86 [08:06:11]Write i2c OK [08:06:11]MH_I2C_Read... [08:06:11]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:06:11]Read from MH i2c: E2 [08:06:11]MH_I2C_Read... [08:06:12]Read from MH i2c: E2 62 00 [08:06:12]MH_I2C_Read... [08:06:12]Read from MH i2c: E2 62 00 FD 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 38 DF 00 00 0E 04 04 00 F1 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 27 [08:06: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 38 DF 00 00 0E 04 04 00 F1 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 [08:06:12]wFMCommunicate OK [08:06:12]SAM_PROTO_GetFieldsCounters done [08:06:12]requested_item shift.num is exist - process it [08:06:12]requested_item shift.opened is exist - process it [08:06:12]req_shift_opened [08:06:12]FM_GetShiftState [08:06:12]SAM_PROTO_GetShiftState [08:06:12]wFMCommunicate request_size=4 [08:06:12]MH_SAM_APDU [08:06:12]CAPDU: 80 13 01 00 [08:06:12]Write to MH i2c: E2 08 00 FE 0D 80 13 01 00 00 00 00 00 88 [08:06:12]Write i2c OK [08:06:12]MH_I2C_Read... [08:06:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:06:12]Read from MH i2c: E2 [08:06:12]MH_I2C_Read... [08:06:12]Read from MH i2c: E2 0E 00 [08:06:12]MH_I2C_Read... [08:06:12]Read from MH i2c: E2 0E 00 FE 0D 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 01 [08:06:12]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [08:06:12]wFMCommunicate OK [08:06:12]SAM_PROTO_GetShiftState done [08:06:12]FM_GetShiftState done [08:06:12]req_shift_opened done [08:06:12]requested_item shift.open_date is exist - process it [08:06:12]req_shift_open_date [08:06:12]req_shift_open_date done [08:06:12]requested_item shift.sale.total is exist - process it [08:06:12]SAM_PROTO_GetShiftData [08:06:12]wFMCommunicate request_size=4 [08:06:12]MH_SAM_APDU [08:06:12]CAPDU: 80 13 02 00 [08:06:12]Write to MH i2c: E2 08 00 FF 0D 80 13 02 00 00 00 00 00 8A [08:06:12]Write i2c OK [08:06:12]MH_I2C_Read... [08:06:12]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [08:06:12]Read from MH i2c: E2 [08:06:12]MH_I2C_Read... [08:06:12]Read from MH i2c: E2 FD 00 [08:06:12]MH_I2C_Read... [08:06:12]Read from MH i2c: E2 FD 00 FF 0D 00 B6 04 AA 04 B2 04 6E 04 04 00 27 00 00 00 69 04 9B 00 6F 04 04 00 26 00 00 00 B1 04 03 00 25 FF 0E 70 04 03 00 10 EB 09 72 04 03 00 15 14 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 AC 97 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 F8 21 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 FA [08:06:12]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 27 00 00 00 69 04 9B 00 6F 04 04 00 26 00 00 00 B1 04 03 00 25 FF 0E 70 04 03 00 10 EB 09 72 04 03 00 15 14 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 AC 97 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 F8 21 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 [08:06:12]wFMCommunicate OK [08:06:12]wFMCommunicate request_size=4 [08:06:12]MH_SAM_APDU [08:06:12]CAPDU: 80 17 00 00 [08:06:12]Write to MH i2c: E2 08 00 00 0E 80 17 00 00 00 00 00 00 8E [08:06:12]Write i2c OK [08:06:12]MH_I2C_Read... [08:06:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:06:12]Read from MH i2c: E2 [08:06:12]MH_I2C_Read... [08:06:12]Read from MH i2c: E2 FD 00 [08:06:12]MH_I2C_Read... [08:06:12]Read from MH i2c: E2 FD 00 00 0E 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 [08:06:12]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 [08:06:12]wFMCommunicate OK [08:06:12]wFMCommunicate request_size=4 [08:06:12]MH_SAM_APDU [08:06:12]CAPDU: 80 17 00 00 [08:06:12]Write to MH i2c: E2 08 00 01 0E 80 17 00 00 00 00 00 00 8F [08:06:12]Write i2c OK [08:06:12]MH_I2C_Read... [08:06:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:06:13]Read from MH i2c: E2 [08:06:13]MH_I2C_Read... [08:06:13]Read from MH i2c: E2 FD 00 [08:06:13]MH_I2C_Read... [08:06:13]Read from MH i2c: E2 FD 00 01 0E 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 [08:06:13]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 [08:06:13]wFMCommunicate OK [08:06:13]wFMCommunicate request_size=4 [08:06:13]MH_SAM_APDU [08:06:13]CAPDU: 80 17 00 00 [08:06:13]Write to MH i2c: E2 08 00 02 0E 80 17 00 00 00 00 00 00 90 [08:06:13]Write i2c OK [08:06:13]MH_I2C_Read... [08:06:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:06:13]Read from MH i2c: E2 [08:06:13]MH_I2C_Read... [08:06:13]Read from MH i2c: E2 FD 00 [08:06:13]MH_I2C_Read... [08:06:13]Read from MH i2c: E2 FD 00 02 0E 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 [08:06:13]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 [08:06:13]wFMCommunicate OK [08:06:13]wFMCommunicate request_size=4 [08:06:13]MH_SAM_APDU [08:06:13]CAPDU: 80 17 00 00 [08:06:13]Write to MH i2c: E2 08 00 03 0E 80 17 00 00 00 00 00 00 91 [08:06:13]Write i2c OK [08:06:13]MH_I2C_Read... [08:06:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [08:06:13]Read from MH i2c: E2 [08:06:13]MH_I2C_Read... [08:06:13]Read from MH i2c: E2 D3 00 [08:06:13]MH_I2C_Read... [08:06:13]Read from MH i2c: E2 D3 00 03 0E 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 [08:06:13]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 [08:06:13]wFMCommunicate OK [08:06:13]SAM_PROTO_GetShiftData done [08:06:13]requested_item shift.sale.total_cash is exist - process it [08:06:13]requested_item shift.sale_refund.total is exist - process it [08:06:13]requested_item shift.sale_refund.total_cash is exist - process it [08:06:13]produce_requested_data done [08:06:13]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57144,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":9828.21,"shift.sale.total_cash":6500.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [08:06:13]process_action_free close_receipt [08:06:13]json_value_free [08:06:13]json_value_free done [08:06:13]process_json_proto returns [08:06:13]Send response to host [08:06:13]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57144,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":9828.21,"shift.sale.total_cash":6500.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [08:06:13]free response buf [08:06:13]execute_script done [08:06:13]execute_script returns [08:06:13]free content buf [08:06:13]Sock 8.Close socket [08:06:13]Sock 8.Thread stoped [08:06:15]OFD Sender: No OFD packet to send [08:06:20]OFD Sender: No OFD packet to send [08:06:25]OFD Sender: No OFD packet to send [08:06:30]OFD Sender: No OFD packet to send [08:06:35]OFD Sender: No OFD packet to send [08:06:40]OFD Sender: No OFD packet to send [08:06:45]OFD Sender: No OFD packet to send [08:06:50]OFD Sender: No OFD packet to send [08:06:55]OFD Sender: No OFD packet to send [08:07:00]OFD Sender: No OFD packet to send [08:07:05]OFD Sender: No OFD packet to send [08:07:10]OFD Sender: No OFD packet to send [08:07:15]OFD Sender: No OFD packet to send [08:07:20]OFD Sender: No OFD packet to send [08:07:25]OFD Sender: No OFD packet to send [08:07:30]OFD Sender: No OFD packet to send [08:07:35]OFD Sender: No OFD packet to send [08:07:40]OFD Sender: No OFD packet to send [08:07:45]OFD Sender: No OFD packet to send [08:07:50]OFD Sender: No OFD packet to send [08:07:55]OFD Sender: No OFD packet to send [08:08:00]OFD Sender: No OFD packet to send [08:08:05]OFD Sender: No OFD packet to send [08:08:10]OFD Sender: No OFD packet to send [08:08:15]OFD Sender: No OFD packet to send [08:08:21]OFD Sender: No OFD packet to send [08:08:26]OFD Sender: No OFD packet to send [08:08:31]OFD Sender: No OFD packet to send [08:08:36]OFD Sender: No OFD packet to send [08:08:41]OFD Sender: No OFD packet to send [08:08:46]OFD Sender: No OFD packet to send [08:08:51]OFD Sender: No OFD packet to send [08:08:56]OFD Sender: No OFD packet to send [08:09:01]OFD Sender: No OFD packet to send [08:09:06]OFD Sender: No OFD packet to send [08:09:11]OFD Sender: No OFD packet to send [08:09:16]OFD Sender: No OFD packet to send [08:09:21]OFD Sender: No OFD packet to send [08:09:26]OFD Sender: No OFD packet to send [08:09:31]OFD Sender: No OFD packet to send [08:09:36]OFD Sender: No OFD packet to send [08:09:41]OFD Sender: No OFD packet to send [08:09:46]OFD Sender: No OFD packet to send [08:09:51]OFD Sender: No OFD packet to send [08:09:56]OFD Sender: No OFD packet to send [08:10:01]OFD Sender: No OFD packet to send [08:10:06]OFD Sender: No OFD packet to send [08:10:11]OFD Sender: No OFD packet to send [08:10:16]OFD Sender: No OFD packet to send [08:10:21]OFD Sender: No OFD packet to send [08:10:26]OFD Sender: No OFD packet to send [08:10:31]OFD Sender: No OFD packet to send [08:10:36]OFD Sender: No OFD packet to send [08:10:41]OFD Sender: No OFD packet to send [08:10:46]OFD Sender: No OFD packet to send [08:10:51]OFD Sender: No OFD packet to send [08:10:56]OFD Sender: No OFD packet to send [08:11:01]OFD Sender: No OFD packet to send [08:11:06]OFD Sender: No OFD packet to send [08:11:11]OFD Sender: No OFD packet to send [08:11:16]OFD Sender: No OFD packet to send [08:11:21]OFD Sender: No OFD packet to send [08:11:26]OFD Sender: No OFD packet to send [08:11:31]OFD Sender: No OFD packet to send [08:11:36]OFD Sender: No OFD packet to send [08:11:41]OFD Sender: No OFD packet to send [08:11:46]OFD Sender: No OFD packet to send [08:11:51]OFD Sender: No OFD packet to send [08:11:56]OFD Sender: No OFD packet to send [08:12:01]OFD Sender: No OFD packet to send [08:12:06]OFD Sender: No OFD packet to send [08:12:11]OFD Sender: No OFD packet to send [08:12:16]OFD Sender: No OFD packet to send [08:12:21]OFD Sender: No OFD packet to send [08:12:26]OFD Sender: No OFD packet to send [08:12:31]OFD Sender: No OFD packet to send [08:12:36]OFD Sender: No OFD packet to send [08:12:41]OFD Sender: No OFD packet to send [08:12:46]OFD Sender: No OFD packet to send [08:12:51]OFD Sender: No OFD packet to send [08:12:56]OFD Sender: No OFD packet to send [08:13:01]OFD Sender: No OFD packet to send [08:13:06]OFD Sender: No OFD packet to send [08:13:11]OFD Sender: No OFD packet to send [08:13:16]OFD Sender: No OFD packet to send [08:13:21]OFD Sender: No OFD packet to send [08:13:26]OFD Sender: No OFD packet to send [08:13:31]OFD Sender: No OFD packet to send [08:13:36]OFD Sender: No OFD packet to send [08:13:41]OFD Sender: No OFD packet to send [08:13:46]OFD Sender: No OFD packet to send [08:13:51]OFD Sender: No OFD packet to send [08:13:56]OFD Sender: No OFD packet to send [08:14:01]OFD Sender: No OFD packet to send [08:14:06]OFD Sender: No OFD packet to send [08:14:11]OFD Sender: No OFD packet to send [08:14:16]OFD Sender: No OFD packet to send [08:14:21]OFD Sender: No OFD packet to send [08:14:26]OFD Sender: No OFD packet to send [08:14:31]OFD Sender: No OFD packet to send [08:14:36]OFD Sender: No OFD packet to send [08:14:41]OFD Sender: No OFD packet to send [08:14:46]OFD Sender: No OFD packet to send [08:14:51]OFD Sender: No OFD packet to send [08:14:56]OFD Sender: No OFD packet to send [08:15:01]OFD Sender: No OFD packet to send [08:15:06]OFD Sender: No OFD packet to send [08:15:11]OFD Sender: No OFD packet to send [08:15:16]OFD Sender: No OFD packet to send [08:15:21]OFD Sender: No OFD packet to send [08:15:26]OFD Sender: No OFD packet to send [08:15:31]OFD Sender: No OFD packet to send [08:15:36]OFD Sender: No OFD packet to send [08:15:41]OFD Sender: No OFD packet to send [08:15:46]OFD Sender: No OFD packet to send [08:15:51]OFD Sender: No OFD packet to send [08:15:56]OFD Sender: No OFD packet to send [08:16:01]OFD Sender: No OFD packet to send [08:16:06]OFD Sender: No OFD packet to send [08:16:11]OFD Sender: No OFD packet to send [08:16:16]OFD Sender: No OFD packet to send [08:16:21]OFD Sender: No OFD packet to send [08:16:26]OFD Sender: No OFD packet to send [08:16:31]OFD Sender: No OFD packet to send [08:16:36]OFD Sender: No OFD packet to send [08:16:41]OFD Sender: No OFD packet to send [08:16:46]OFD Sender: No OFD packet to send [08:16:51]OFD Sender: No OFD packet to send [08:16:56]OFD Sender: No OFD packet to send [08:17:01]OFD Sender: No OFD packet to send [08:17:06]OFD Sender: No OFD packet to send [08:17:11]OFD Sender: No OFD packet to send [08:17:16]OFD Sender: No OFD packet to send [08:17:21]OFD Sender: No OFD packet to send [08:17:26]OFD Sender: No OFD packet to send [08:17:31]OFD Sender: No OFD packet to send [08:17:36]OFD Sender: No OFD packet to send [08:17:41]OFD Sender: No OFD packet to send [08:17:46]OFD Sender: No OFD packet to send [08:17:51]OFD Sender: No OFD packet to send [08:17:56]OFD Sender: No OFD packet to send [08:18:01]OFD Sender: No OFD packet to send [08:18:06]OFD Sender: No OFD packet to send [08:18:11]OFD Sender: No OFD packet to send [08:18:16]OFD Sender: No OFD packet to send [08:18:21]OFD Sender: No OFD packet to send [08:18:26]OFD Sender: No OFD packet to send [08:18:31]OFD Sender: No OFD packet to send [08:18:36]OFD Sender: No OFD packet to send [08:18:41]OFD Sender: No OFD packet to send [08:18:46]OFD Sender: No OFD packet to send [08:18:51]OFD Sender: No OFD packet to send [08:18:56]OFD Sender: No OFD packet to send [08:19:01]OFD Sender: No OFD packet to send [08:19:06]OFD Sender: No OFD packet to send [08:19:11]OFD Sender: No OFD packet to send [08:19:16]OFD Sender: No OFD packet to send [08:19:21]OFD Sender: No OFD packet to send [08:19:26]OFD Sender: No OFD packet to send [08:19:31]OFD Sender: No OFD packet to send [08:19:36]OFD Sender: No OFD packet to send [08:19:41]OFD Sender: No OFD packet to send [08:19:46]OFD Sender: No OFD packet to send [08:19:51]OFD Sender: No OFD packet to send [08:19:56]OFD Sender: No OFD packet to send [08:20:01]OFD Sender: No OFD packet to send [08:20:06]OFD Sender: No OFD packet to send [08:20:11]OFD Sender: No OFD packet to send [08:20:16]OFD Sender: No OFD packet to send [08:20:21]OFD Sender: No OFD packet to send [08:20:26]OFD Sender: No OFD packet to send [08:20:31]OFD Sender: No OFD packet to send [08:20:36]OFD Sender: No OFD packet to send [08:20:41]OFD Sender: No OFD packet to send [08:20:46]OFD Sender: No OFD packet to send [08:20:51]OFD Sender: No OFD packet to send [08:20:56]OFD Sender: No OFD packet to send [08:21:01]OFD Sender: No OFD packet to send [08:21:06]OFD Sender: No OFD packet to send [08:21:11]OFD Sender: No OFD packet to send [08:21:16]OFD Sender: No OFD packet to send [08:21:21]OFD Sender: No OFD packet to send [08:21:26]OFD Sender: No OFD packet to send [08:21:31]OFD Sender: No OFD packet to send [08:21:36]OFD Sender: No OFD packet to send [08:21:41]OFD Sender: No OFD packet to send [08:21:46]OFD Sender: No OFD packet to send [08:21:51]OFD Sender: No OFD packet to send [08:21:56]OFD Sender: No OFD packet to send [08:22:01]OFD Sender: No OFD packet to send [08:22:06]OFD Sender: No OFD packet to send [08:22:11]OFD Sender: No OFD packet to send [08:22:16]OFD Sender: No OFD packet to send [08:22:21]OFD Sender: No OFD packet to send [08:22:26]OFD Sender: No OFD packet to send [08:22:31]OFD Sender: No OFD packet to send [08:22:36]OFD Sender: No OFD packet to send [08:22:41]OFD Sender: No OFD packet to send [08:22:46]OFD Sender: No OFD packet to send [08:22:51]OFD Sender: No OFD packet to send [08:22:56]OFD Sender: No OFD packet to send [08:23:01]OFD Sender: No OFD packet to send [08:23:06]OFD Sender: No OFD packet to send [08:23:11]OFD Sender: No OFD packet to send [08:23:16]OFD Sender: No OFD packet to send [08:23:21]OFD Sender: No OFD packet to send [08:23:26]OFD Sender: No OFD packet to send [08:23:31]OFD Sender: No OFD packet to send [08:23:36]OFD Sender: No OFD packet to send [08:23:41]OFD Sender: No OFD packet to send [08:23:46]OFD Sender: No OFD packet to send [08:23:51]OFD Sender: No OFD packet to send [08:23:56]OFD Sender: No OFD packet to send [08:24:01]OFD Sender: No OFD packet to send [08:24:06]OFD Sender: No OFD packet to send [08:24:11]OFD Sender: No OFD packet to send [08:24:16]OFD Sender: No OFD packet to send [08:24:21]OFD Sender: No OFD packet to send [08:24:26]OFD Sender: No OFD packet to send [08:24:31]OFD Sender: No OFD packet to send [08:24:36]OFD Sender: No OFD packet to send [08:24:41]OFD Sender: No OFD packet to send [08:24:46]OFD Sender: No OFD packet to send [08:24:51]OFD Sender: No OFD packet to send [08:24:56]OFD Sender: No OFD packet to send [08:25:01]OFD Sender: No OFD packet to send [08:25:06]OFD Sender: No OFD packet to send [08:25:11]OFD Sender: No OFD packet to send [08:25:16]OFD Sender: No OFD packet to send [08:25:21]OFD Sender: No OFD packet to send [08:25:26]OFD Sender: No OFD packet to send [08:25:31]OFD Sender: No OFD packet to send [08:25:36]OFD Sender: No OFD packet to send [08:25:41]OFD Sender: No OFD packet to send [08:25:46]OFD Sender: No OFD packet to send [08:25:51]OFD Sender: No OFD packet to send [08:25:56]OFD Sender: No OFD packet to send [08:26:01]OFD Sender: No OFD packet to send [08:26:06]OFD Sender: No OFD packet to send [08:26:11]OFD Sender: No OFD packet to send [08:26:16]OFD Sender: No OFD packet to send [08:26:21]OFD Sender: No OFD packet to send [08:26:26]OFD Sender: No OFD packet to send [08:26:31]OFD Sender: No OFD packet to send [08:26:36]OFD Sender: No OFD packet to send [08:26:41]OFD Sender: No OFD packet to send [08:26:46]OFD Sender: No OFD packet to send [08:26:51]OFD Sender: No OFD packet to send [08:26:56]OFD Sender: No OFD packet to send [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:22]OFD Sender: No OFD packet to send [08:27:27]OFD Sender: No OFD packet to send [08:27:32]OFD Sender: No OFD packet to send [08:27:37]OFD Sender: No OFD packet to send [08:27:42]OFD Sender: No OFD packet to send [08:27:47]OFD Sender: No OFD packet to send [08:27:52]OFD Sender: No OFD packet to send [08:27:57]OFD Sender: No OFD packet to send [08:28:02]OFD Sender: No OFD packet to send [08:28:07]OFD Sender: No OFD packet to send [08:28:12]OFD Sender: No OFD packet to send [08:28:17]OFD Sender: No OFD packet to send [08:28:22]OFD Sender: No OFD packet to send [08:28:27]OFD Sender: No OFD packet to send [08:28:32]OFD Sender: No OFD packet to send [08:28:37]OFD Sender: No OFD packet to send [08:28:42]OFD Sender: No OFD packet to send [08:28:47]OFD Sender: No OFD packet to send [08:28:52]OFD Sender: No OFD packet to send [08:28:57]OFD Sender: No OFD packet to send [08:29:02]OFD Sender: No OFD packet to send [08:29:07]OFD Sender: No OFD packet to send [08:29:12]OFD Sender: No OFD packet to send [08:29:17]OFD Sender: No OFD packet to send [08:29:22]OFD Sender: No OFD packet to send [08:29:27]OFD Sender: No OFD packet to send [08:29:32]OFD Sender: No OFD packet to send [08:29:37]OFD Sender: No OFD packet to send [08:29:42]OFD Sender: No OFD packet to send [08:29:47]OFD Sender: No OFD packet to send [08:29:52]OFD Sender: No OFD packet to send [08:29:57]OFD Sender: No OFD packet to send [08:30:02]OFD Sender: No OFD packet to send [08:30:07]OFD Sender: No OFD packet to send [08:30:12]OFD Sender: No OFD packet to send [08:30:13]accept exits with 9 [08:30:13]New connection [08:30:13]New thread 3067067748 created [08:30:13]Thread 3066924388 joined [08:30:13]Waiting for new connection... [08:30:13] Sock 9.Parse request [08:30:13]Sock 9.Check first char [08:30:13]Sock 9.First char is OK [08:30:13]request: POST /json_proto HTTP/1.0 [08:30:13]Method: POST [08:30:13]URL: /json_proto [08:30:13]Method is POST - this is cgi request [08:30:13]url: /json_proto [08:30:13]query_string will be loaded in cgi processing [08:30:13]execute_cgi json_proto POST (null) [08:30:13]execute_cgi path=json_proto method=POST [08:30:13]POST find Content-Length [08:30:13]Host: 172.17.39.4:8080 [08:30:13]Content-Length: 1063 [08:30:13]Content-Type: application/json [08:30:13] [08:30:13]POST finish read [08:30:13]Found Content-Length = 1063 [08:30:13]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129599", "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": "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" : 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" ] } } [08:30:13]execute_script... [08:30: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)129599", "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": "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" : 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" ] } } [08:30:13]POST & json_proto [08:30:13]process_json_proto [08:30:13]json parsed OK: [08:30:13]protocol is kg_v1.0 [08:30:13]action value=close_receipt [08:30:13]process_action close_receipt [08:30:13]cmd_close_receipt [08:30:13]MH_GetDate [08:30:13]Write to MH i2c: F0 00 00 04 0E 01 [08:30:13]Write i2c OK [08:30:13]MH_I2C_Read... [08:30:13]Read from MH i2c: F0 [08:30:13]MH_I2C_Read... [08:30:13]Read from MH i2c: F0 09 00 [08:30:13]MH_I2C_Read... [08:30:13]Read from MH i2c: F0 09 00 04 0E 00 18 DE 94 66 2D 25 5D 64 0D [08:30:13]GetLastDocTimeStamp 1721030770 [08:30:13]current date 1721032216 [08:30:13]FM_GetShiftState [08:30:13]SAM_PROTO_GetShiftState [08:30:13]wFMCommunicate request_size=4 [08:30:13]MH_SAM_APDU [08:30:13]CAPDU: 80 13 01 00 [08:30:13]Write to MH i2c: E2 08 00 05 0E 80 13 01 00 00 00 00 00 90 [08:30:13]Write i2c OK [08:30:13]MH_I2C_Read... [08:30:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:30:13]Read from MH i2c: E2 [08:30:13]MH_I2C_Read... [08:30:13]Read from MH i2c: E2 0E 00 [08:30:13]MH_I2C_Read... [08:30:13]Read from MH i2c: E2 0E 00 05 0E 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 09 [08:30:13]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [08:30:13]wFMCommunicate OK [08:30:13]SAM_PROTO_GetShiftState done [08:30:13]FM_GetShiftState done [08:30:13]opened in 1721003525 [08:30:13]opened+sec_in_day 1721089925 [08:30:13]quantity*price = 9500 [08:30:13]sum+1 = 9501 [08:30:13]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 2000036220012 Кофе Капучино XL(GABB TRADE) 1.000 * 130.00 = 130.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 225.00 НСП 1% : 1.99 НДС 12% : 23.89 Наличными: 225.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 40 15.07.2024 08:30 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57145 ФПД: 32607881431777 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T083016&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57145&fm=32607881431777&tin=02508201610067®Number=0000000000091208&sum=22500 0 [08:30:15]StoreToDocumentArchive [08:30:15]shift 497 fd 57145 [08:30:15]save to /storage/0497/doc_00057145 [08:30:15]save last doc name /storage/0497/doc_00057145 to /storage/kkm_last_doc_name [08:30:15]save OK [08:30:15]Clear old archive folders... [08:30:15]ProcessDocumentItem done err = 0, tmpTLVsize=411 [08:30:15]tlvbuf is 0098C9A0 [08:30:15]SAM_PROTO_ClearQueue [08:30:15]wFMCommunicate request_size=4 [08:30:15]MH_SAM_APDU [08:30:15]CAPDU: 80 09 00 00 [08:30:15]Write to MH i2c: E2 08 00 12 0E 80 09 00 00 00 00 00 00 92 [08:30:15]Write i2c OK [08:30:15]MH_I2C_Read... [08:30:15]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:30:15]Read from MH i2c: E2 [08:30:15]MH_I2C_Read... [08:30:15]Read from MH i2c: E2 03 00 [08:30:15]MH_I2C_Read... [08:30:15]Read from MH i2c: E2 03 00 12 0E 00 90 00 94 [08:30:15]RAPDU: 90 00 [08:30:15]wFMCommunicate OK [08:30:15]SAM_PROTO_ClearQueue done [08:30:15]KKMCreateOFDPacket [08:30:15]OFDProtocolAddRootSTLVToBuf [08:30:15]FM_MakeSignedData [08:30:15]FM_MakeSignedData [08:30:15]SAM_PROTO_SignData [08:30:15]wFMCommunicate request_size=4 [08:30:15]MH_SAM_APDU [08:30:15]CAPDU: 80 0D 01 02 [08:30:15]Write to MH i2c: E2 08 00 13 0E 80 0D 01 02 00 00 00 00 9A [08:30:15]Write i2c OK [08:30:15]MH_I2C_Read... [08:30:15]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:30:15]Read from MH i2c: E2 [08:30:15]MH_I2C_Read... [08:30:15]Read from MH i2c: E2 03 00 [08:30:15]MH_I2C_Read... [08:30:15]Read from MH i2c: E2 03 00 13 0E 00 90 00 95 [08:30:15]RAPDU: 90 00 [08:30:15]wFMCommunicate OK [08:30:15]wFMCommunicate request_size=255 [08:30:15]MH_SAM_APDU [08:30:15]CAPDU: 80 0D 02 02 FA 03 00 9B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 36 34 06 04 39 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D1 8D D0 BA D0 B7 D0 BE D1 82 D0 B8 D0 BA 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 [08:30:15]Write to MH i2c: E2 02 01 14 0E 80 0D 02 02 FA 00 03 00 9B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 36 34 06 04 39 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D1 8D D0 BA D0 B7 D0 BE D1 82 D0 B8 D0 BA 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 00 00 FF [08:30:15]Write i2c OK [08:30:15]MH_I2C_Read... [08:30:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:30:15]Read from MH i2c: E2 [08:30:15]MH_I2C_Read... [08:30:15]Read from MH i2c: E2 03 00 [08:30:15]MH_I2C_Read... [08:30:15]Read from MH i2c: E2 03 00 14 0E 00 90 00 96 [08:30:15]RAPDU: 90 00 [08:30:15]wFMCommunicate OK [08:30:15]wFMCommunicate request_size=170 [08:30:15]MH_SAM_APDU [08:30:15]CAPDU: 80 0D 02 02 A5 FC 03 06 00 E4 57 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 55 09 00 00 00 00 07 04 06 00 E4 57 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 28 00 00 00 F4 03 04 00 18 DE 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 39 DF 00 00 35 04 06 00 1D A8 1D 30 8A E1 [08:30:15]Write to MH i2c: E2 AD 00 15 0E 80 0D 02 02 A5 00 FC 03 06 00 E4 57 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 55 09 00 00 00 00 07 04 06 00 E4 57 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 28 00 00 00 F4 03 04 00 18 DE 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 39 DF 00 00 35 04 06 00 1D A8 1D 30 8A E1 00 00 65 [08:30:15]Write i2c OK [08:30:15]MH_I2C_Read... [08:30:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:30:15]Read from MH i2c: E2 [08:30:15]MH_I2C_Read... [08:30:15]Read from MH i2c: E2 03 00 [08:30:15]MH_I2C_Read... [08:30:15]Read from MH i2c: E2 03 00 15 0E 00 90 00 97 [08:30:15]RAPDU: 90 00 [08:30:15]wFMCommunicate OK [08:30:15]wFMCommunicate request_size=4 [08:30:15]MH_SAM_APDU [08:30:15]CAPDU: 80 0D 03 02 [08:30:15]Write to MH i2c: E2 08 00 16 0E 80 0D 03 02 00 00 00 00 9F [08:30:15]Write i2c OK [08:30:15]MH_I2C_Read... [08:30:15]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:30:15]Read from MH i2c: E2 [08:30:15]MH_I2C_Read... [08:30:15]Read from MH i2c: E2 0B 00 [08:30:15]MH_I2C_Read... [08:30:15]Read from MH i2c: E2 0B 00 16 0E 00 AC 04 BA 9F 3C BB 71 7F 90 00 90 [08:30:15]RAPDU: AC 04 BA 9F 3C BB 71 7F 90 00 [08:30:15]wFMCommunicate OK [08:30:15]SAM_PROTO_SignData done [08:30:15]FM_MakeSignedData done [08:30:15]CreateOFDProtocolMessage [08:30:15]wFMCommunicate request_size=4 [08:30:15]MH_SAM_APDU [08:30:15]CAPDU: 80 11 00 00 [08:30:15]Write to MH i2c: E2 08 00 17 0E 80 11 00 00 00 00 00 00 9F [08:30:15]Write i2c OK [08:30:15]MH_I2C_Read... [08:30:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:30:15]Read from MH i2c: E2 [08:30:15]MH_I2C_Read... [08:30:15]Read from MH i2c: E2 17 00 [08:30:15]MH_I2C_Read... [08:30:15]Read from MH i2c: E2 17 00 17 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 F9 [08:30:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [08:30:15]wFMCommunicate OK [08:30:15]CreateOFDProtocolMessage done [08:30:15]OFDSenderStorePacket 57145 [08:30:15]StoreOFDPacket docnum=57145 [08:30: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 AF 01 00 00 C9 91 A7 01 54 61 5A 03 01 00 03 00 9B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 36 34 06 04 39 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D1 8D D0 BA D0 B7 D0 BE D1 82 D0 B8 D0 BA 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 E4 57 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 55 09 00 00 00 00 07 04 06 00 E4 57 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 28 00 00 00 F4 03 04 00 18 DE 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 39 DF 00 00 35 04 06 00 1D A8 1D 30 8A E1 AC 04 BA 9F 3C BB 71 7F [08:30:15]CheckFolder [08:30:15]dirname=/storage/ofd_packets [08:30:15]CheckFolder done [08:30:15]ProducePacketName [08:30:15]name=ofd_packets/00057145 [08:30:15]NVStorageSaveData ofd_packets/00057145 [08:30:15]File name is /storage/ofd_packets/00057145 [08:30:15]Write 461 bytes [08:30:15]NVStorageSaveData done [08:30:15]OFDSenderStorePacket done [08:30:15]KKMCreateOFDPacket done [08:30:15]NVStorageSaveData kkm_last_timestamp [08:30:15]File name is /storage/kkm_last_timestamp [08:30:15]Write 4 bytes [08:30:15]NVStorageSaveData done [08:30:15]ExternCall_PrintAddStr [08:30:15]wPrintStart [08:30:15]Write to MH i2c: 01 00 00 18 0E 26 [08:30:15]Write i2c OK [08:30:15]MH_I2C_Read... [08:30:15]Read from MH i2c: 01 [08:30:16]MH_I2C_Read... [08:30:16]OFD Sender: Processing packet 57145 [packets to send 38, broken 37] [08:30:16]Read from MH i2c: ProducePacketName [08:30:16]01 name=ofd_packets/00057145 [08:30:16]07 00 [08:30:16]OFD Sender: To server: pG, [08:30:16]MH_I2C_Read... [08:30:16]CommunicateWithHost lk.salyk.kg:30040 [08:30:16]ConnectInit lk.salyk.kg [08:30:16]Read from MH i2c: 01 07 00 18 0E 00 00 00 00 00 FF 0F 3B [08:30:16]RasterBufferAndPrint [08:30:16]line Счет N : (3)129599 [08:30:16]line ИНН: 02508201610067 [08:30:16]line Контрольно-Кассовый Чек [08:30:16]line ПРОДАЖА [08:30:16]line Товар: 4700000480364 [08:30:16]line Напиток энерг Nitro экзотик 0.45 ж/б [08:30:16]line 1.000 * 95.00 [08:30:16]line = 95.00 [08:30:16]line НДС 12% НСП 1% [08:30:16]line > о реализуемом товаре [08:30:16]line Товар: 2000036220012 [08:30:16]line Кофе Капучино XL(GABB TRADE) [08:30:16]line 1.000 * 130.00 [08:30:16]line = 130.00 [08:30:16]line НДС 12% НСП 1% [08:30:16]line > о реализуемом товаре [08:30:16]line ИТОГО: 225.00 [08:30:16]line НСП 1% : 1.99 [08:30:16]line НДС 12% : 23.89 [08:30:16]line Наличными: 225.00 [08:30:16]line Безнал.: 0.00 [08:30:16]line Место: АЗС № 132 "Партнер Нефть" [08:30:16]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [08:30:16]line СНО: Общий режим [08:30:16]line Чек 40 15.07.2024 08:30 [08:30:16]line Смена: 497 ФФД: 1.0 [08:30:16]line ЗНМ: 0300000132 [08:30:16]line РНМ: 0000000000091208 [08:30:16]line Версия ККМ: 001 [08:30:16]line ФМ: 0000000000874857 [08:30:16]line ФД: 57145 [08:30:16]line ФПД: 32607881431777 [08:30:16]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T083016&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57145&fm=32607881431777&tin=02508201610067®Number=0000000000091208&sum=22500 [08:30:16]line 0 [08:30:16]written 0, free lines is 4095 [08:30:16]Connected sock=10 [08:30: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 AF 01 00 00 C9 91 A7 01 54 61 5A 03 01 00 03 00 9B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 36 34 06 04 39 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D1 8D D0 BA D0 B7 D0 BE D1 82 D0 B8 D0 BA 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 E4 57 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 55 09 00 00 00 00 07 04 06 00 E4 57 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 28 00 00 00 F4 03 04 00 18 DE 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 39 DF 00 00 35 04 06 00 1D A8 1D 30 8A E1 AC 04 BA 9F 3C BB 71 7F [08:30: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 3A 75 47 00 CE 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 39 DF 00 00 F4 03 04 00 67 84 94 66 B6 04 01 00 00 C9 33 7D 54 7A 0B B6 3E [08:30:16]CommunicateWithHost err = 0 [08:30:16]CheckOFDResponse [08:30:16]1017 (14) - 77093643461234 [08:30:16]1041 (16) - 0000000000874857 [08:30:16]1040 (4) - 57145 [08:30:16]1012 (4) - 15.07.2024 02:07 [08:30:16]1206 (1) - 0 [08:30:16]OFD Sender: Remove packet 57145 [08:30:16]ProducePacketName [08:30:16]name=ofd_packets/00057145 [08:30:16]NVStorageDeleteData [08:30:16]Write to MH i2c: 01 00 00 48 0E 56 [08:30:16]Write i2c OK [08:30:16]MH_I2C_Read... [08:30:16]Read from MH i2c: 01 [08:30:16]MH_I2C_Read... [08:30:16]Read from MH i2c: 01 07 00 [08:30:16]MH_I2C_Read... [08:30:16]Read from MH i2c: 01 07 00 48 0E 00 00 00 00 00 91 0C FA [08:30:16]RasterBufferAndPrint [08:30:16]line [08:30:16]line [08:30:16]line [08:30:16]line [08:30:16]line [08:30:16]written 0, free lines is 3222 [08:30:16]MH_Cut [08:30:16]Write to MH i2c: D1 01 00 4F 0E 01 2F [08:30:16]Write i2c OK [08:30:16]MH_I2C_Read... [08:30:16]Read from MH i2c: D1 [08:30:16]MH_I2C_Read... [08:30:16]Read from MH i2c: D1 01 00 [08:30:16]MH_I2C_Read... [08:30:16]Read from MH i2c: D1 01 00 4F 0E 00 2E [08:30:16]Write to MH i2c: 01 00 00 50 0E 5E [08:30:16]Write i2c OK [08:30:16]MH_I2C_Read... [08:30:16]OFD Sender: No OFD packet to send [08:30:17]*** Cut start [08:30:17]*** Partial cut [08:30:17]*** CUTSNS_PIN = 1 [08:30:17]*** CUTSNS_PIN = 0 [08:30:17]*** Brake cut motor [08:30:17]Read from MH i2c: 01 [08:30:18]MH_I2C_Read... [08:30:18]*** Stop cut motor [08:30:18]*** Cut end [08:30:18]Read from MH i2c: 01 07 00 [08:30:18]MH_I2C_Read... [08:30:18]Read from MH i2c: 01 07 00 50 0E 00 00 00 00 00 FF 0F 73 [08:30:18]process_action close_receipt done [08:30:18]requested_data is exist [08:30:18]produce_requested_data [08:30:18]requested_item fm.sn is exist - process it [08:30:18]wFMCommunicate request_size=4 [08:30:18]MH_SAM_APDU [08:30:18]CAPDU: 80 11 00 00 [08:30:18]Write to MH i2c: E2 08 00 51 0E 80 11 00 00 00 00 00 00 D9 [08:30:18]Write i2c OK [08:30:18]MH_I2C_Read... [08:30:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:30:18]Read from MH i2c: E2 [08:30:18]MH_I2C_Read... [08:30:18]Read from MH i2c: E2 17 00 [08:30:18]MH_I2C_Read... [08:30:18]Read from MH i2c: E2 17 00 51 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 33 [08:30:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [08:30:18]wFMCommunicate OK [08:30:18]requested_item fd.num is exist - process it [08:30:18]SAM_PROTO_GetFieldsCounters [08:30:18]wFMCommunicate request_size=4 [08:30:18]MH_SAM_APDU [08:30:18]CAPDU: 80 13 00 00 [08:30:18]Write to MH i2c: E2 08 00 52 0E 80 13 00 00 00 00 00 00 DC [08:30:18]Write i2c OK [08:30:18]MH_I2C_Read... [08:30:18]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:30:18]Read from MH i2c: E2 [08:30:18]MH_I2C_Read... [08:30:18]Read from MH i2c: E2 62 00 [08:30:18]MH_I2C_Read... [08:30:18]Read from MH i2c: E2 62 00 52 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 39 DF 00 00 0E 04 04 00 F1 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 81 [08:30: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 39 DF 00 00 0E 04 04 00 F1 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 [08:30:18]wFMCommunicate OK [08:30:18]SAM_PROTO_GetFieldsCounters done [08:30:18]requested_item shift.num is exist - process it [08:30:18]requested_item shift.opened is exist - process it [08:30:18]req_shift_opened [08:30:18]FM_GetShiftState [08:30:18]SAM_PROTO_GetShiftState [08:30:18]wFMCommunicate request_size=4 [08:30:18]MH_SAM_APDU [08:30:18]CAPDU: 80 13 01 00 [08:30:18]Write to MH i2c: E2 08 00 53 0E 80 13 01 00 00 00 00 00 DE [08:30:18]Write i2c OK [08:30:18]MH_I2C_Read... [08:30:18]Read from MH i2c: E2 [08:30:18]MH_I2C_Read... [08:30:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:30:18]Read from MH i2c: E2 0E 00 [08:30:18]MH_I2C_Read... [08:30:18]Read from MH i2c: E2 0E 00 53 0E 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 57 [08:30:18]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [08:30:18]wFMCommunicate OK [08:30:18]SAM_PROTO_GetShiftState done [08:30:18]FM_GetShiftState done [08:30:18]req_shift_opened done [08:30:18]requested_item shift.open_date is exist - process it [08:30:18]req_shift_open_date [08:30:18]req_shift_open_date done [08:30:18]requested_item shift.sale.total is exist - process it [08:30:18]SAM_PROTO_GetShiftData [08:30:18]wFMCommunicate request_size=4 [08:30:18]MH_SAM_APDU [08:30:18]CAPDU: 80 13 02 00 [08:30:18]Write to MH i2c: E2 08 00 54 0E 80 13 02 00 00 00 00 00 E0 [08:30:18]Write i2c OK [08:30:18]MH_I2C_Read... [08:30:18]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [08:30:18]Read from MH i2c: E2 [08:30:18]MH_I2C_Read... [08:30:18]Read from MH i2c: E2 FD 00 [08:30:18]MH_I2C_Read... [08:30:18]Read from MH i2c: E2 FD 00 54 0E 00 B6 04 AA 04 B2 04 6E 04 04 00 28 00 00 00 69 04 9B 00 6F 04 04 00 27 00 00 00 B1 04 03 00 09 57 0F 70 04 03 00 F4 42 0A 72 04 03 00 15 14 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 01 A1 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 BF 22 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 F2 [08:30:18]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 28 00 00 00 69 04 9B 00 6F 04 04 00 27 00 00 00 B1 04 03 00 09 57 0F 70 04 03 00 F4 42 0A 72 04 03 00 15 14 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 01 A1 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 BF 22 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 [08:30:18]wFMCommunicate OK [08:30:18]wFMCommunicate request_size=4 [08:30:18]MH_SAM_APDU [08:30:18]CAPDU: 80 17 00 00 [08:30:18]Write to MH i2c: E2 08 00 55 0E 80 17 00 00 00 00 00 00 E3 [08:30:18]Write i2c OK [08:30:18]MH_I2C_Read... [08:30:18]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:30:19]Read from MH i2c: E2 [08:30:19]MH_I2C_Read... [08:30:19]Read from MH i2c: E2 FD 00 [08:30:19]MH_I2C_Read... [08:30:19]Read from MH i2c: E2 FD 00 55 0E 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 18 [08:30:19]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 [08:30:19]wFMCommunicate OK [08:30:19]wFMCommunicate request_size=4 [08:30:19]MH_SAM_APDU [08:30:19]CAPDU: 80 17 00 00 [08:30:19]Write to MH i2c: E2 08 00 56 0E 80 17 00 00 00 00 00 00 E4 [08:30:19]Write i2c OK [08:30:19]MH_I2C_Read... [08:30:19]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:30:19]Read from MH i2c: E2 [08:30:19]MH_I2C_Read... [08:30:19]Read from MH i2c: E2 FD 00 [08:30:19]MH_I2C_Read... [08:30:19]Read from MH i2c: E2 FD 00 56 0E 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 A4 [08:30:19]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 [08:30:19]wFMCommunicate OK [08:30:19]wFMCommunicate request_size=4 [08:30:19]MH_SAM_APDU [08:30:19]CAPDU: 80 17 00 00 [08:30:19]Write to MH i2c: E2 08 00 57 0E 80 17 00 00 00 00 00 00 E5 [08:30:19]Write i2c OK [08:30:19]MH_I2C_Read... [08:30:19]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:30:19]Read from MH i2c: E2 [08:30:19]MH_I2C_Read... [08:30:19]Read from MH i2c: E2 FD 00 [08:30:19]MH_I2C_Read... [08:30:19]Read from MH i2c: E2 FD 00 57 0E 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 54 [08:30:19]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 [08:30:19]wFMCommunicate OK [08:30:19]wFMCommunicate request_size=4 [08:30:19]MH_SAM_APDU [08:30:19]CAPDU: 80 17 00 00 [08:30:19]Write to MH i2c: E2 08 00 58 0E 80 17 00 00 00 00 00 00 E6 [08:30:19]Write i2c OK [08:30:19]MH_I2C_Read... [08:30:19]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [08:30:19]Read from MH i2c: E2 [08:30:19]MH_I2C_Read... [08:30:19]Read from MH i2c: E2 D3 00 [08:30:19]MH_I2C_Read... [08:30:19]Read from MH i2c: E2 D3 00 58 0E 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 D3 [08:30:19]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 [08:30:19]wFMCommunicate OK [08:30:19]SAM_PROTO_GetShiftData done [08:30:19]requested_item shift.sale.total_cash is exist - process it [08:30:19]requested_item shift.sale_refund.total is exist - process it [08:30:19]requested_item shift.sale_refund.total_cash is exist - process it [08:30:19]produce_requested_data done [08:30:19]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57145,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":10053.21,"shift.sale.total_cash":6725.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [08:30:19]process_action_free close_receipt [08:30:19]json_value_free [08:30:19]json_value_free done [08:30:19]process_json_proto returns [08:30:19]Send response to host [08:30:19]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57145,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":10053.21,"shift.sale.total_cash":6725.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [08:30:19]free response buf [08:30:19]execute_script done [08:30:19]execute_script returns [08:30:19]free content buf [08:30:19]Sock 9.Close socket [08:30:19]Sock 9.Thread stoped [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:47]accept exits with 8 [08:31:47]New connection [08:31:47]New thread 3066924388 created [08:31:47]Thread 3067067748 joined [08:31:47]Waiting for new connection... [08:31:47] Sock 8.Parse request [08:31:47]Sock 8.Check first char [08:31:47]Sock 8.First char is OK [08:31:47]request: POST /json_proto HTTP/1.0 [08:31:47]Method: POST [08:31:47]URL: /json_proto [08:31:47]Method is POST - this is cgi request [08:31:47]url: /json_proto [08:31:47]query_string will be loaded in cgi processing [08:31:47]execute_cgi json_proto POST (null) [08:31:47]execute_cgi path=json_proto method=POST [08:31:47]POST find Content-Length [08:31:47]Host: 172.17.39.4:8080 [08:31:47]Content-Length: 774 [08:31:47]Content-Type: application/json [08:31:47] [08:31:47]POST finish read [08:31:47]Found Content-Length = 774 [08:31:47]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129600", "tax_sys" : 0, "items" : [ { "code": "4700003010056", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B Let`s Go! \u0437\u0435\u043B \u043B\u0438\u043C \u041F\u042D\u0422 1,25\u043B", "price" : 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" ] } } [08:31:47]execute_script... [08:31: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)129600", "tax_sys" : 0, "items" : [ { "code": "4700003010056", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B Let`s Go! \u0437\u0435\u043B \u043B\u0438\u043C \u041F\u042D\u0422 1,25\u043B", "price" : 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" ] } } [08:31:47]POST & json_proto [08:31:47]process_json_proto [08:31:47]json parsed OK: [08:31:47]protocol is kg_v1.0 [08:31:47]action value=close_receipt [08:31:47]process_action close_receipt [08:31:47]cmd_close_receipt [08:31:47]MH_GetDate [08:31:47]Write to MH i2c: F0 00 00 59 0E 56 [08:31:47]Write i2c OK [08:31:47]MH_I2C_Read... [08:31:47]Read from MH i2c: F0 [08:31:47]MH_I2C_Read... [08:31:47]Read from MH i2c: F0 09 00 [08:31:47]MH_I2C_Read... [08:31:47]Read from MH i2c: F0 09 00 59 0E 00 76 DE 94 66 2D 25 5D 64 C0 [08:31:47]GetLastDocTimeStamp 1721032216 [08:31:47]current date 1721032310 [08:31:47]FM_GetShiftState [08:31:47]SAM_PROTO_GetShiftState [08:31:47]wFMCommunicate request_size=4 [08:31:47]MH_SAM_APDU [08:31:47]CAPDU: 80 13 01 00 [08:31:47]Write to MH i2c: E2 08 00 5A 0E 80 13 01 00 00 00 00 00 E5 [08:31:47]Write i2c OK [08:31:47]MH_I2C_Read... [08:31:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:31:48]Read from MH i2c: E2 [08:31:48]MH_I2C_Read... [08:31:48]Read from MH i2c: E2 0E 00 [08:31:48]MH_I2C_Read... [08:31:48]Read from MH i2c: E2 0E 00 5A 0E 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 5E [08:31:48]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [08:31:48]wFMCommunicate OK [08:31:48]SAM_PROTO_GetShiftState done [08:31:48]FM_GetShiftState done [08:31:48]opened in 1721003525 [08:31:48]opened+sec_in_day 1721089925 [08:31:48]quantity*price = 9500 [08:31:48]sum+1 = 9501 [08:31:48]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 СНО: Общий режим Чек 41 15.07.2024 08:31 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57146 ФПД: 263968351775844 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T083150&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57146&fm=263968351775844&tin=02508201610067®Number=0000000000091208&sum=9500 0 [08:31:49]StoreToDocumentArchive [08:31:49]shift 497 fd 57146 [08:31:49]save to /storage/0497/doc_00057146 [08:31:49]save last doc name /storage/0497/doc_00057146 to /storage/kkm_last_doc_name [08:31:49]save OK [08:31:49]Clear old archive folders... [08:31:49]ProcessDocumentItem done err = 0, tmpTLVsize=293 [08:31:49]tlvbuf is 009A1FF0 [08:31:49]SAM_PROTO_ClearQueue [08:31:49]wFMCommunicate request_size=4 [08:31:49]MH_SAM_APDU [08:31:49]CAPDU: 80 09 00 00 [08:31:49]Write to MH i2c: E2 08 00 67 0E 80 09 00 00 00 00 00 00 E7 [08:31:49]Write i2c OK [08:31:49]MH_I2C_Read... [08:31:49]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:31:49]Read from MH i2c: E2 [08:31:49]MH_I2C_Read... [08:31:49]Read from MH i2c: E2 03 00 [08:31:49]MH_I2C_Read... [08:31:49]Read from MH i2c: E2 03 00 67 0E 00 90 00 E9 [08:31:49]RAPDU: 90 00 [08:31:49]wFMCommunicate OK [08:31:49]SAM_PROTO_ClearQueue done [08:31:49]KKMCreateOFDPacket [08:31:49]OFDProtocolAddRootSTLVToBuf [08:31:49]FM_MakeSignedData [08:31:49]FM_MakeSignedData [08:31:49]SAM_PROTO_SignData [08:31:49]wFMCommunicate request_size=4 [08:31:49]MH_SAM_APDU [08:31:49]CAPDU: 80 0D 01 02 [08:31:49]Write to MH i2c: E2 08 00 68 0E 80 0D 01 02 00 00 00 00 EF [08:31:49]Write i2c OK [08:31:49]MH_I2C_Read... [08:31:49]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:31:49]Read from MH i2c: E2 [08:31:49]MH_I2C_Read... [08:31:49]Read from MH i2c: E2 03 00 [08:31:49]MH_I2C_Read... [08:31:49]Read from MH i2c: E2 03 00 68 0E 00 90 00 EA [08:31:49]RAPDU: 90 00 [08:31:49]wFMCommunicate OK [08:31:49]wFMCommunicate request_size=255 [08:31:49]MH_SAM_APDU [08:31:49]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 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 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 29 00 00 00 F4 03 04 00 76 DE 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 [08:31:49]Write to MH i2c: E2 02 01 69 0E 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 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 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 29 00 00 00 F4 03 04 00 76 DE 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 50 [08:31:49]Write i2c OK [08:31:49]MH_I2C_Read... [08:31:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:31:49]Read from MH i2c: E2 [08:31:49]MH_I2C_Read... [08:31:49]Read from MH i2c: E2 03 00 [08:31:49]MH_I2C_Read... [08:31:49]Read from MH i2c: E2 03 00 69 0E 00 90 00 EB [08:31:49]RAPDU: 90 00 [08:31:49]wFMCommunicate OK [08:31:49]wFMCommunicate request_size=52 [08:31:49]MH_SAM_APDU [08:31:49]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 3A DF 00 00 35 04 06 00 F0 13 EB D6 EC 64 [08:31:49]Write to MH i2c: E2 37 00 6A 0E 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 3A DF 00 00 35 04 06 00 F0 13 EB D6 EC 64 00 00 E4 [08:31:49]Write i2c OK [08:31:49]MH_I2C_Read... [08:31:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:31:49]Read from MH i2c: E2 [08:31:49]MH_I2C_Read... [08:31:49]Read from MH i2c: E2 03 00 [08:31:49]MH_I2C_Read... [08:31:49]Read from MH i2c: E2 03 00 6A 0E 00 90 00 EC [08:31:49]RAPDU: 90 00 [08:31:49]wFMCommunicate OK [08:31:49]wFMCommunicate request_size=4 [08:31:49]MH_SAM_APDU [08:31:49]CAPDU: 80 0D 03 02 [08:31:49]Write to MH i2c: E2 08 00 6B 0E 80 0D 03 02 00 00 00 00 F4 [08:31:49]Write i2c OK [08:31:49]MH_I2C_Read... [08:31:49]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:31:49]Read from MH i2c: E2 [08:31:49]MH_I2C_Read... [08:31:49]Read from MH i2c: E2 0B 00 [08:31:49]MH_I2C_Read... [08:31:49]Read from MH i2c: E2 0B 00 6B 0E 00 A4 2F 75 C6 C9 71 49 72 90 00 F8 [08:31:49]RAPDU: A4 2F 75 C6 C9 71 49 72 90 00 [08:31:49]wFMCommunicate OK [08:31:49]SAM_PROTO_SignData done [08:31:49]FM_MakeSignedData done [08:31:49]CreateOFDProtocolMessage [08:31:49]wFMCommunicate request_size=4 [08:31:49]MH_SAM_APDU [08:31:49]CAPDU: 80 11 00 00 [08:31:49]Write to MH i2c: E2 08 00 6C 0E 80 11 00 00 00 00 00 00 F4 [08:31:49]Write i2c OK [08:31:49]MH_I2C_Read... [08:31:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:31:49]Read from MH i2c: E2 [08:31:49]MH_I2C_Read... [08:31:49]Read from MH i2c: E2 17 00 [08:31:49]MH_I2C_Read... [08:31:49]Read from MH i2c: E2 17 00 6C 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 4E [08:31:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [08:31:49]wFMCommunicate OK [08:31:49]CreateOFDProtocolMessage done [08:31:49]OFDSenderStorePacket 57146 [08:31:49]StoreOFDPacket docnum=57146 [08:31: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 39 01 00 00 22 4F 31 01 81 97 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 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 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 29 00 00 00 F4 03 04 00 76 DE 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 3A DF 00 00 35 04 06 00 F0 13 EB D6 EC 64 A4 2F 75 C6 C9 71 49 72 [08:31:49]CheckFolder [08:31:49]dirname=/storage/ofd_packets [08:31:49]CheckFolder done [08:31:49]ProducePacketName [08:31:49]name=ofd_packets/00057146 [08:31:49]NVStorageSaveData ofd_packets/00057146 [08:31:49]File name is /storage/ofd_packets/00057146 [08:31:49]Write 343 bytes [08:31:49]NVStorageSaveData done [08:31:49]OFDSenderStorePacket done [08:31:49]KKMCreateOFDPacket done [08:31:49]NVStorageSaveData kkm_last_timestamp [08:31:49]File name is /storage/kkm_last_timestamp [08:31:49]Write 4 bytes [08:31:49]NVStorageSaveData done [08:31:49]ExternCall_PrintAddStr [08:31:49]wPrintStart [08:31:49]Write to MH i2c: 01 00 00 6D 0E 7B [08:31:49]Write i2c OK [08:31:49]MH_I2C_Read... [08:31:49]Read from MH i2c: 01 [08:31:49]MH_I2C_Read... [08:31:49]Read from MH i2c: 01 07 00 [08:31:49]MH_I2C_Read... [08:31:49]Read from MH i2c: 01 07 00 6D 0E 00 00 00 00 00 FF 0F 90 [08:31:49]RasterBufferAndPrint [08:31:49]line Счет N : (3)129600 [08:31:49]line ИНН: 02508201610067 [08:31:49]line Контрольно-Кассовый Чек [08:31:49]line ПРОДАЖА [08:31:49]line Товар: 4700003010056 [08:31:49]line Чай хол Let`s Go! зел лим ПЭТ 1,25л [08:31:49]line 1.000 * 95.00 [08:31:49]line = 95.00 [08:31:49]line НДС 12% НСП 1% [08:31:49]line > о реализуемом товаре [08:31:49]line ИТОГО: 95.00 [08:31:49]line НСП 1% : 0.84 [08:31:49]line НДС 12% : 10.09 [08:31:49]line Наличными: 95.00 [08:31:49]line Безнал.: 0.00 [08:31:49]line Место: АЗС № 132 "Партнер Нефть" [08:31:49]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [08:31:49]line СНО: Общий режим [08:31:49]line Чек 41 15.07.2024 08:31 [08:31:49]line Смена: 497 ФФД: 1.0 [08:31:49]line ЗНМ: 0300000132 [08:31:49]line РНМ: 0000000000091208 [08:31:49]line Версия ККМ: 001 [08:31:49]line ФМ: 0000000000874857 [08:31:49]line ФД: 57146 [08:31:49]line ФПД: 263968351775844 [08:31:50]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T083150&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57146&fm=263968351775844&tin=02508201610067®Number=0000000000091208&sum=9500 [08:31:50]line 0 [08:31:50]OFD Sender: Processing packet 57146 [packets to send 38, broken 37] [08:31:50]ProducePacketName [08:31:50]name=ofd_packets/00057146 [08:31:50]OFD Sender: To server: pG, [08:31:50]CommunicateWithHost lk.salyk.kg:30040 [08:31:50]ConnectInit lk.salyk.kg [08:31:50]written 0, free lines is 4095 [08:31:50]Connected sock=10 [08:31:50]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 22 4F 31 01 81 97 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 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 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 29 00 00 00 F4 03 04 00 76 DE 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 3A DF 00 00 35 04 06 00 F0 13 EB D6 EC 64 A4 2F 75 C6 C9 71 49 72 [08:31:50]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 4C 24 47 00 08 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 3A DF 00 00 F4 03 04 00 C5 84 94 66 B6 04 01 00 00 3E 11 6C 21 12 9C 8A F3 [08:31:50]CommunicateWithHost err = 0 [08:31:50]CheckOFDResponse [08:31:50]1017 (14) - 77093643461234 [08:31:50]1041 (16) - 0000000000874857 [08:31:50]1040 (4) - 57146 [08:31:50]1012 (4) - 15.07.2024 02:09 [08:31:50]1206 (1) - 0 [08:31:50]OFD Sender: Remove packet 57146 [08:31:50]ProducePacketName [08:31:50]name=ofd_packets/00057146 [08:31:50]NVStorageDeleteData [08:31:50]Write to MH i2c: 01 00 00 96 0E A4 [08:31:50]Write i2c OK [08:31:50]MH_I2C_Read... [08:31:50]Read from MH i2c: 01 [08:31:50]MH_I2C_Read... [08:31:50]Read from MH i2c: 01 07 00 [08:31:50]MH_I2C_Read... [08:31:50]Read from MH i2c: 01 07 00 96 0E 00 00 00 00 00 FC 0C B3 [08:31:50]RasterBufferAndPrint [08:31:50]line [08:31:50]line [08:31:50]line [08:31:50]line [08:31:50]line [08:31:50]written 0, free lines is 3330 [08:31:50]MH_Cut [08:31:50]Write to MH i2c: D1 01 00 9D 0E 01 7D [08:31:50]Write i2c OK [08:31:50]MH_I2C_Read... [08:31:50]Read from MH i2c: D1 [08:31:50]MH_I2C_Read... [08:31:50]Read from MH i2c: D1 01 00 [08:31:50]MH_I2C_Read... [08:31:50]Read from MH i2c: D1 01 00 9D 0E 00 7C [08:31:50]Write to MH i2c: 01 00 00 9E 0E AC [08:31:50]Write i2c OK [08:31:50]MH_I2C_Read... [08:31:50]OFD Sender: No OFD packet to send [08:31:51]*** Cut start [08:31:51]*** Partial cut [08:31:51]*** CUTSNS_PIN = 1 [08:31:51]*** CUTSNS_PIN = 0 [08:31:51]*** Brake cut motor [08:31:51]Read from MH i2c: 01 [08:31:51]MH_I2C_Read... [08:31:51]*** Stop cut motor [08:31:51]*** Cut end [08:31:51]Read from MH i2c: 01 07 00 [08:31:51]MH_I2C_Read... [08:31:51]Read from MH i2c: 01 07 00 9E 0E 00 00 00 00 00 FF 0F C1 [08:31:51]process_action close_receipt done [08:31:51]requested_data is exist [08:31:51]produce_requested_data [08:31:51]requested_item fm.sn is exist - process it [08:31:51]wFMCommunicate request_size=4 [08:31:51]MH_SAM_APDU [08:31:51]CAPDU: 80 11 00 00 [08:31:51]Write to MH i2c: E2 08 00 9F 0E 80 11 00 00 00 00 00 00 27 [08:31:51]Write i2c OK [08:31:51]MH_I2C_Read... [08:31:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:31:51]Read from MH i2c: E2 [08:31:51]MH_I2C_Read... [08:31:51]Read from MH i2c: E2 17 00 [08:31:51]MH_I2C_Read... [08:31:51]Read from MH i2c: E2 17 00 9F 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 81 [08:31: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:31:51]wFMCommunicate OK [08:31:51]requested_item fd.num is exist - process it [08:31:51]SAM_PROTO_GetFieldsCounters [08:31:51]wFMCommunicate request_size=4 [08:31:51]MH_SAM_APDU [08:31:51]CAPDU: 80 13 00 00 [08:31:51]Write to MH i2c: E2 08 00 A0 0E 80 13 00 00 00 00 00 00 2A [08:31:51]Write i2c OK [08:31:51]MH_I2C_Read... [08:31:52]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:31:52]Read from MH i2c: E2 [08:31:52]MH_I2C_Read... [08:31:52]Read from MH i2c: E2 62 00 [08:31:52]MH_I2C_Read... [08:31:52]Read from MH i2c: E2 62 00 A0 0E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 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 3A DF 00 00 0E 04 04 00 F1 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 D3 [08:31:52]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 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 3A DF 00 00 0E 04 04 00 F1 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 [08:31:52]wFMCommunicate OK [08:31:52]SAM_PROTO_GetFieldsCounters done [08:31:52]requested_item shift.num is exist - process it [08:31:52]requested_item shift.opened is exist - process it [08:31:52]req_shift_opened [08:31:52]FM_GetShiftState [08:31:52]SAM_PROTO_GetShiftState [08:31:52]wFMCommunicate request_size=4 [08:31:52]MH_SAM_APDU [08:31:52]CAPDU: 80 13 01 00 [08:31:52]Write to MH i2c: E2 08 00 A1 0E 80 13 01 00 00 00 00 00 2C [08:31:52]Write i2c OK [08:31:52]MH_I2C_Read... [08:31:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:31:52]Read from MH i2c: E2 [08:31:52]MH_I2C_Read... [08:31:52]Read from MH i2c: E2 0E 00 [08:31:52]MH_I2C_Read... [08:31:52]Read from MH i2c: E2 0E 00 A1 0E 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 A5 [08:31:52]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [08:31:52]wFMCommunicate OK [08:31:52]SAM_PROTO_GetShiftState done [08:31:52]FM_GetShiftState done [08:31:52]req_shift_opened done [08:31:52]requested_item shift.open_date is exist - process it [08:31:52]req_shift_open_date [08:31:52]req_shift_open_date done [08:31:52]requested_item shift.sale.total is exist - process it [08:31:52]SAM_PROTO_GetShiftData [08:31:52]wFMCommunicate request_size=4 [08:31:52]MH_SAM_APDU [08:31:52]CAPDU: 80 13 02 00 [08:31:52]Write to MH i2c: E2 08 00 A2 0E 80 13 02 00 00 00 00 00 2E [08:31:52]Write i2c OK [08:31:52]MH_I2C_Read... [08:31:52]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [08:31:52]Read from MH i2c: E2 [08:31:52]MH_I2C_Read... [08:31:52]Read from MH i2c: E2 FD 00 [08:31:52]MH_I2C_Read... [08:31:52]Read from MH i2c: E2 FD 00 A2 0E 00 B6 04 AA 04 B2 04 6E 04 04 00 29 00 00 00 69 04 9B 00 6F 04 04 00 28 00 00 00 B1 04 03 00 25 7C 0F 70 04 03 00 10 68 0A 72 04 03 00 15 14 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 F2 A4 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 13 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 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 0E [08:31:52]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 29 00 00 00 69 04 9B 00 6F 04 04 00 28 00 00 00 B1 04 03 00 25 7C 0F 70 04 03 00 10 68 0A 72 04 03 00 15 14 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 F2 A4 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 13 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 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 [08:31:52]wFMCommunicate OK [08:31:52]wFMCommunicate request_size=4 [08:31:52]MH_SAM_APDU [08:31:52]CAPDU: 80 17 00 00 [08:31:52]Write to MH i2c: E2 08 00 A3 0E 80 17 00 00 00 00 00 00 31 [08:31:52]Write i2c OK [08:31:52]MH_I2C_Read... [08:31:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:31:52]Read from MH i2c: E2 [08:31:52]MH_I2C_Read... [08:31:52]Read from MH i2c: E2 FD 00 [08:31:52]MH_I2C_Read... [08:31:52]Read from MH i2c: E2 FD 00 A3 0E 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 66 [08:31:52]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 [08:31:52]wFMCommunicate OK [08:31:52]wFMCommunicate request_size=4 [08:31:52]MH_SAM_APDU [08:31:52]CAPDU: 80 17 00 00 [08:31:52]Write to MH i2c: E2 08 00 A4 0E 80 17 00 00 00 00 00 00 32 [08:31:52]Write i2c OK [08:31:52]MH_I2C_Read... [08:31:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:31:53]Read from MH i2c: E2 [08:31:53]MH_I2C_Read... [08:31:53]Read from MH i2c: E2 FD 00 [08:31:53]MH_I2C_Read... [08:31:53]Read from MH i2c: E2 FD 00 A4 0E 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 F2 [08:31:53]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 [08:31:53]wFMCommunicate OK [08:31:53]wFMCommunicate request_size=4 [08:31:53]MH_SAM_APDU [08:31:53]CAPDU: 80 17 00 00 [08:31:53]Write to MH i2c: E2 08 00 A5 0E 80 17 00 00 00 00 00 00 33 [08:31:53]Write i2c OK [08:31:53]MH_I2C_Read... [08:31:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:31:53]Read from MH i2c: E2 [08:31:53]MH_I2C_Read... [08:31:53]Read from MH i2c: E2 FD 00 [08:31:53]MH_I2C_Read... [08:31:53]Read from MH i2c: E2 FD 00 A5 0E 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 A2 [08:31:53]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 [08:31:53]wFMCommunicate OK [08:31:53]wFMCommunicate request_size=4 [08:31:53]MH_SAM_APDU [08:31:53]CAPDU: 80 17 00 00 [08:31:53]Write to MH i2c: E2 08 00 A6 0E 80 17 00 00 00 00 00 00 34 [08:31:53]Write i2c OK [08:31:53]MH_I2C_Read... [08:31:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [08:31:53]Read from MH i2c: E2 [08:31:53]MH_I2C_Read... [08:31:53]Read from MH i2c: E2 D3 00 [08:31:53]MH_I2C_Read... [08:31:53]Read from MH i2c: E2 D3 00 A6 0E 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 21 [08:31:53]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 [08:31:53]wFMCommunicate OK [08:31:53]SAM_PROTO_GetShiftData done [08:31:53]requested_item shift.sale.total_cash is exist - process it [08:31:53]requested_item shift.sale_refund.total is exist - process it [08:31:53]requested_item shift.sale_refund.total_cash is exist - process it [08:31:53]produce_requested_data done [08:31:53]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57146,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":10148.21,"shift.sale.total_cash":6820.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [08:31:53]process_action_free close_receipt [08:31:53]json_value_free [08:31:53]json_value_free done [08:31:53]process_json_proto returns [08:31:53]Send response to host [08:31:53]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57146,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":10148.21,"shift.sale.total_cash":6820.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [08:31:53]free response buf [08:31:53]execute_script done [08:31:53]execute_script returns [08:31:53]free content buf [08:31:53]Sock 8.Close socket [08:31:53]Sock 8.Thread stoped [08:31:55]OFD Sender: No OFD packet to send [08:32:00]OFD Sender: No OFD packet to send [08:32:05]OFD Sender: No OFD packet to send [08:32:10]OFD Sender: No OFD packet to send [08:32:15]OFD Sender: No OFD packet to send [08:32:20]OFD Sender: No OFD packet to send [08:32:25]OFD Sender: No OFD packet to send [08:32:30]OFD Sender: No OFD packet to send [08:32:35]OFD Sender: No OFD packet to send [08:32:40]OFD Sender: No OFD packet to send [08:32:42]accept exits with 9 [08:32:42]New connection [08:32:42]New thread 3067067748 created [08:32:42]Thread 3066924388 joined [08:32:42]Waiting for new connection... [08:32:42] Sock 9.Parse request [08:32:42]Sock 9.Check first char [08:32:42]Sock 9.First char is OK [08:32:42]request: POST /json_proto HTTP/1.0 [08:32:42]Method: POST [08:32:42]URL: /json_proto [08:32:42]Method is POST - this is cgi request [08:32:42]url: /json_proto [08:32:42]query_string will be loaded in cgi processing [08:32:42]execute_cgi json_proto POST (null) [08:32:42]execute_cgi path=json_proto method=POST [08:32:42]POST find Content-Length [08:32:42]Host: 172.17.39.4:8080 [08:32:42]Content-Length: 1489 [08:32:42]Content-Type: application/json [08:32:42] [08:32:42]POST finish read [08:32:42]Found Content-Length = 1489 [08:32:42]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129601", "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 }]} ,{ "code": "4870002329937", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Lipton IceTea 1\u043B \u043F\u0435\u0440\u0441\u0438\u043A Regular", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "42113270", "name": "\u0416\u0435\u0432 Orbit \u0430\u0440\u0431\u0443\u0437", "price" : 45.00, "quantity" : 2.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "50173372", "name": "\u0416\u0435\u0432 Orbit \u0434\u043B\u044F \u0434\u0435\u0442\u0435\u0439 Classic", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 310.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:32:42]execute_script... [08:32: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)129601", "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 }]} ,{ "code": "4870002329937", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Lipton IceTea 1\u043B \u043F\u0435\u0440\u0441\u0438\u043A Regular", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "42113270", "name": "\u0416\u0435\u0432 Orbit \u0430\u0440\u0431\u0443\u0437", "price" : 45.00, "quantity" : 2.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "50173372", "name": "\u0416\u0435\u0432 Orbit \u0434\u043B\u044F \u0434\u0435\u0442\u0435\u0439 Classic", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 310.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:32:42]POST & json_proto [08:32:42]process_json_proto [08:32:42]json parsed OK: [08:32:42]protocol is kg_v1.0 [08:32:42]action value=close_receipt [08:32:42]process_action close_receipt [08:32:42]cmd_close_receipt [08:32:42]MH_GetDate [08:32:42]Write to MH i2c: F0 00 00 A7 0E A4 [08:32:42]Write i2c OK [08:32:42]MH_I2C_Read... [08:32:42]Read from MH i2c: F0 [08:32:42]MH_I2C_Read... [08:32:42]Read from MH i2c: F0 09 00 [08:32:42]MH_I2C_Read... [08:32:42]Read from MH i2c: F0 09 00 A7 0E 00 AD DE 94 66 2D 25 5D 64 45 [08:32:42]GetLastDocTimeStamp 1721032310 [08:32:42]current date 1721032365 [08:32:42]FM_GetShiftState [08:32:42]SAM_PROTO_GetShiftState [08:32:42]wFMCommunicate request_size=4 [08:32:42]MH_SAM_APDU [08:32:42]CAPDU: 80 13 01 00 [08:32:42]Write to MH i2c: E2 08 00 A8 0E 80 13 01 00 00 00 00 00 33 [08:32:42]Write i2c OK [08:32:42]MH_I2C_Read... [08:32:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:32:43]Read from MH i2c: E2 [08:32:43]MH_I2C_Read... [08:32:43]Read from MH i2c: E2 0E 00 [08:32:43]MH_I2C_Read... [08:32:43]Read from MH i2c: E2 0E 00 A8 0E 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 AC [08:32:43]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [08:32:43]wFMCommunicate OK [08:32:43]SAM_PROTO_GetShiftState done [08:32:43]FM_GetShiftState done [08:32:43]opened in 1721003525 [08:32:43]opened+sec_in_day 1721089925 [08:32:43]quantity*price = 5000 [08:32:43]sum+1 = 5001 [08:32:43]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4870002329937 Напиток Lipton IceTea 1л персик Regular 1.000 * 130.00 = 130.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 42113270 Жев Orbit арбуз 2.000 * 45.00 = 90.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 50173372 Жев Orbit для детей Classic 1.000 * 40.00 = 40.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 310.00 НСП 1% : 2.74 НДС 12% : 32.92 Наличными: 310.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 42 15.07.2024 08:32 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57147 ФПД: 215198638242843 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T083245&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57147&fm=215198638242843&tin=02508201610067®Number=0000000000091208&sum=31000 0 [08:32:44]StoreToDocumentArchive [08:32:44]shift 497 fd 57147 [08:32:44]save to /storage/0497/doc_00057147 [08:32:44]save last doc name /storage/0497/doc_00057147 to /storage/kkm_last_doc_name [08:32:44]save OK [08:32:44]Clear old archive folders... [08:32:44]ProcessDocumentItem done err = 0, tmpTLVsize=589 [08:32:44]tlvbuf is 009E38F0 [08:32:44]SAM_PROTO_ClearQueue [08:32:44]wFMCommunicate request_size=4 [08:32:44]MH_SAM_APDU [08:32:44]CAPDU: 80 09 00 00 [08:32:44]Write to MH i2c: E2 08 00 B5 0E 80 09 00 00 00 00 00 00 35 [08:32:44]Write i2c OK [08:32:44]MH_I2C_Read... [08:32:44]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:32:44]Read from MH i2c: E2 [08:32:44]MH_I2C_Read... [08:32:44]Read from MH i2c: E2 03 00 [08:32:44]MH_I2C_Read... [08:32:44]Read from MH i2c: E2 03 00 B5 0E 00 90 00 37 [08:32:44]RAPDU: 90 00 [08:32:44]wFMCommunicate OK [08:32:44]SAM_PROTO_ClearQueue done [08:32:44]KKMCreateOFDPacket [08:32:44]OFDProtocolAddRootSTLVToBuf [08:32:44]FM_MakeSignedData [08:32:44]FM_MakeSignedData [08:32:44]SAM_PROTO_SignData [08:32:44]wFMCommunicate request_size=4 [08:32:44]MH_SAM_APDU [08:32:44]CAPDU: 80 0D 01 02 [08:32:44]Write to MH i2c: E2 08 00 B6 0E 80 0D 01 02 00 00 00 00 3D [08:32:44]Write i2c OK [08:32:44]MH_I2C_Read... [08:32:44]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:32:44]Read from MH i2c: E2 [08:32:44]MH_I2C_Read... [08:32:44]Read from MH i2c: E2 03 00 [08:32:44]MH_I2C_Read... [08:32:44]Read from MH i2c: E2 03 00 B6 0E 00 90 00 38 [08:32:44]RAPDU: 90 00 [08:32:44]wFMCommunicate OK [08:32:44]wFMCommunicate request_size=255 [08:32:44]MH_SAM_APDU [08:32:44]CAPDU: 80 0D 02 02 FA 03 00 4D 02 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 23 04 79 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 39 39 33 37 06 04 35 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 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 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 56 00 8A 04 08 00 34 32 31 31 33 32 37 30 06 [08:32:44]Write to MH i2c: E2 02 01 B7 0E 80 0D 02 02 FA 00 03 00 4D 02 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 23 04 79 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 39 39 33 37 06 04 35 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 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 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 56 00 8A 04 08 00 34 32 31 31 33 32 37 30 06 00 00 0D [08:32:44]Write i2c OK [08:32:44]MH_I2C_Read... [08:32:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:32:44]Read from MH i2c: E2 [08:32:44]MH_I2C_Read... [08:32:44]Read from MH i2c: E2 03 00 [08:32:44]MH_I2C_Read... [08:32:44]Read from MH i2c: E2 03 00 B7 0E 00 90 00 39 [08:32:44]RAPDU: 90 00 [08:32:44]wFMCommunicate OK [08:32:44]wFMCommunicate request_size=255 [08:32:44]MH_SAM_APDU [08:32:44]CAPDU: 80 0D 02 02 FA 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D0 B0 D1 80 D0 B1 D1 83 D0 B7 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 94 11 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 65 00 8A 04 08 00 35 30 31 37 33 33 37 32 06 04 26 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D0 B4 D0 BB D1 8F 20 D0 B4 D0 B5 D1 82 D0 B5 D0 B9 20 43 6C 61 73 73 69 63 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 18 79 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 12 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DC 0C 00 00 00 00 07 04 06 00 18 79 00 00 00 00 39 04 06 00 00 00 00 00 00 00 [08:32:44]Write to MH i2c: E2 02 01 B8 0E 80 0D 02 02 FA 00 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D0 B0 D1 80 D0 B1 D1 83 D0 B7 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 94 11 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 65 00 8A 04 08 00 35 30 31 37 33 33 37 32 06 04 26 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D0 B4 D0 BB D1 8F 20 D0 B4 D0 B5 D1 82 D0 B5 D0 B9 20 43 6C 61 73 73 69 63 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 18 79 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 12 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DC 0C 00 00 00 00 07 04 06 00 18 79 00 00 00 00 39 04 06 00 00 00 00 00 00 00 00 00 67 [08:32:44]Write i2c OK [08:32:44]MH_I2C_Read... [08:32:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:32:44]Read from MH i2c: E2 [08:32:44]MH_I2C_Read... [08:32:44]Read from MH i2c: E2 03 00 [08:32:44]MH_I2C_Read... [08:32:44]Read from MH i2c: E2 03 00 B8 0E 00 90 00 3A [08:32:44]RAPDU: 90 00 [08:32:44]wFMCommunicate OK [08:32:44]wFMCommunicate request_size=98 [08:32:44]MH_SAM_APDU [08:32:44]CAPDU: 80 0D 02 02 5D 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 AD DE 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 3B DF 00 00 35 04 06 00 C3 B8 D6 63 7C 1B [08:32:44]Write to MH i2c: E2 65 00 B9 0E 80 0D 02 02 5D 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 AD DE 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 3B DF 00 00 35 04 06 00 C3 B8 D6 63 7C 1B 00 00 E9 [08:32:44]Write i2c OK [08:32:44]MH_I2C_Read... [08:32:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:32:44]Read from MH i2c: E2 [08:32:44]MH_I2C_Read... [08:32:44]Read from MH i2c: E2 03 00 [08:32:44]MH_I2C_Read... [08:32:44]Read from MH i2c: E2 03 00 B9 0E 00 90 00 3B [08:32:44]RAPDU: 90 00 [08:32:44]wFMCommunicate OK [08:32:44]wFMCommunicate request_size=4 [08:32:44]MH_SAM_APDU [08:32:44]CAPDU: 80 0D 03 02 [08:32:44]Write to MH i2c: E2 08 00 BA 0E 80 0D 03 02 00 00 00 00 43 [08:32:44]Write i2c OK [08:32:44]MH_I2C_Read... [08:32:44]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:32:44]Read from MH i2c: E2 [08:32:44]MH_I2C_Read... [08:32:44]Read from MH i2c: E2 0B 00 [08:32:44]MH_I2C_Read... [08:32:44]Read from MH i2c: E2 0B 00 BA 0E 00 B1 20 FF 2B 8B 55 0F CB 90 00 F9 [08:32:44]RAPDU: B1 20 FF 2B 8B 55 0F CB 90 00 [08:32:44]wFMCommunicate OK [08:32:44]SAM_PROTO_SignData done [08:32:44]FM_MakeSignedData done [08:32:44]CreateOFDProtocolMessage [08:32:44]wFMCommunicate request_size=4 [08:32:44]MH_SAM_APDU [08:32:44]CAPDU: 80 11 00 00 [08:32:44]Write to MH i2c: E2 08 00 BB 0E 80 11 00 00 00 00 00 00 43 [08:32:44]Write i2c OK [08:32:44]MH_I2C_Read... [08:32:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:32:45]Read from MH i2c: E2 [08:32:45]MH_I2C_Read... [08:32:45]Read from MH i2c: E2 17 00 [08:32:45]MH_I2C_Read... [08:32:45]Read from MH i2c: E2 17 00 BB 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 9D [08:32:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [08:32:45]wFMCommunicate OK [08:32:45]CreateOFDProtocolMessage done [08:32:45]OFDSenderStorePacket 57147 [08:32:45]StoreOFDPacket docnum=57147 [08:32:45]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 61 02 00 00 4C 34 59 02 35 FE 5A 03 01 00 03 00 4D 02 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 23 04 79 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 39 39 33 37 06 04 35 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 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 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 56 00 8A 04 08 00 34 32 31 31 33 32 37 30 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D0 B0 D1 80 D0 B1 D1 83 D0 B7 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 94 11 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 65 00 8A 04 08 00 35 30 31 37 33 33 37 32 06 04 26 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D0 B4 D0 BB D1 8F 20 D0 B4 D0 B5 D1 82 D0 B5 D0 B9 20 43 6C 61 73 73 69 63 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 18 79 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 12 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DC 0C 00 00 00 00 07 04 06 00 18 79 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 AD DE 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 3B DF 00 00 35 04 06 00 C3 B8 D6 63 7C 1B B1 20 FF 2B 8B 55 0F CB [08:32:45]CheckFolder [08:32:45]dirname=/storage/ofd_packets [08:32:45]CheckFolder done [08:32:45]ProducePacketName [08:32:45]name=ofd_packets/00057147 [08:32:45]NVStorageSaveData ofd_packets/00057147 [08:32:45]File name is /storage/ofd_packets/00057147 [08:32:45]Write 639 bytes [08:32:45]NVStorageSaveData done [08:32:45]OFDSenderStorePacket done [08:32:45]KKMCreateOFDPacket done [08:32:45]NVStorageSaveData kkm_last_timestamp [08:32:45]File name is /storage/kkm_last_timestamp [08:32:45]Write 4 bytes [08:32:45]NVStorageSaveData done [08:32:45]ExternCall_PrintAddStr [08:32:45]wPrintStart [08:32:45]Write to MH i2c: 01 00 00 BC 0E CA [08:32:45]Write i2c OK [08:32:45]MH_I2C_Read... [08:32:45]Read from MH i2c: 01 [08:32:45]MH_I2C_Read... [08:32:45]Read from MH i2c: 01 07 00 [08:32:45]MH_I2C_Read... [08:32:45]Read from MH i2c: 01 07 00 BC 0E 00 00 00 00 00 FF 0F DF [08:32:45]RasterBufferAndPrint [08:32:45]line Счет N : (3)129601 [08:32:45]line ИНН: 02508201610067 [08:32:45]line Контрольно-Кассовый Чек [08:32:45]line ПРОДАЖА [08:32:45]line Товар: 4700000160358 [08:32:45]line Вода Легенда 1л [08:32:45]line 1.000 * 50.00 [08:32:45]line = 50.00 [08:32:45]line НДС 12% НСП 1% [08:32:45]line > о реализуемом товаре [08:32:45]line Товар: 4870002329937 [08:32:45]line Напиток Lipton IceTea 1л персик Regular [08:32:45]line 1.000 * 130.00 [08:32:45]line = 130.00 [08:32:45]line НДС 12% НСП 1% [08:32:45]line > о реализуемом товаре [08:32:45]line Товар: 42113270 [08:32:45]line Жев Orbit арбуз [08:32:45]line 2.000 * 45.00 [08:32:45]line = 90.00 [08:32:45]line НДС 12% НСП 1% [08:32:45]line > о реализуемом товаре [08:32:45]line Товар: 50173372 [08:32:45]line Жев Orbit для детей Classic [08:32:45]line 1.000 * 40.00 [08:32:45]line = 40.00 [08:32:45]line НДС 12% НСП 1% [08:32:45]line > о реализуемом товаре [08:32:45]line ИТОГО: 310.00 [08:32:45]line НСП 1% : 2.74 [08:32:45]line НДС 12% : 32.92 [08:32:45]line Наличными: 310.00 [08:32:45]line Безнал.: 0.00 [08:32:45]line Место: АЗС № 132 "Партнер Нефть" [08:32:45]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [08:32:45]line СНО: Общий режим [08:32:45]line Чек 42 15.07.2024 08:32 [08:32:45]line Смена: 497 ФФД: 1.0 [08:32:45]line ЗНМ: 0300000132 [08:32:45]line РНМ: 0000000000091208 [08:32:45]line Версия ККМ: 001 [08:32:45]line ФМ: 0000000000874857 [08:32:45]line ФД: 57147 [08:32:45]line ФПД: 215198638242843 [08:32:45]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T083245&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57147&fm=215198638242843&tin=02508201610067®Number=0000000000091208&sum=31000 [08:32:45]line 0 [08:32:45]OFD Sender: Processing packet 57147 [packets to send 38, broken 37] [08:32:45]ProducePacketName [08:32:45]name=ofd_packets/00057147 [08:32:45]OFD Sender: To server: pG, [08:32:45]CommunicateWithHost lk.salyk.kg:30040 [08:32:45]ConnectInit lk.salyk.kg [08:32:45]written 0, free lines is 4095 [08:32:45]Connected sock=10 [08:32:45]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 61 02 00 00 4C 34 59 02 35 FE 5A 03 01 00 03 00 4D 02 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 23 04 79 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 39 39 33 37 06 04 35 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 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 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 56 00 8A 04 08 00 34 32 31 31 33 32 37 30 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D0 B0 D1 80 D0 B1 D1 83 D0 B7 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 94 11 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 65 00 8A 04 08 00 35 30 31 37 33 33 37 32 06 04 26 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D0 B4 D0 BB D1 8F 20 D0 B4 D0 B5 D1 82 D0 B5 D0 B9 20 43 6C 61 73 73 69 63 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 18 79 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 12 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DC 0C 00 00 00 00 07 04 06 00 18 79 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 AD DE 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 3B DF 00 00 35 04 06 00 C3 B8 D6 63 7C 1B B1 20 FF 2B 8B 55 0F CB [08:32: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 FA 0E 47 00 8C 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 3B DF 00 00 F4 03 04 00 FC 84 94 66 B6 04 01 00 00 52 DA CA 94 2F 6C 3E 59 [08:32:45]CommunicateWithHost err = 0 [08:32:45]CheckOFDResponse [08:32:45]1017 (14) - 77093643461234 [08:32:45]1041 (16) - 0000000000874857 [08:32:45]1040 (4) - 57147 [08:32:45]1012 (4) - 15.07.2024 02:10 [08:32:45]1206 (1) - 0 [08:32:45]OFD Sender: Remove packet 57147 [08:32:45]ProducePacketName [08:32:45]name=ofd_packets/00057147 [08:32:45]NVStorageDeleteData [08:32:46]Write to MH i2c: 01 00 00 F7 0E 05 [08:32:46]Write i2c OK [08:32:46]MH_I2C_Read... [08:32:46]Read from MH i2c: 01 [08:32:46]MH_I2C_Read... [08:32:46]Read from MH i2c: 01 07 00 [08:32:46]MH_I2C_Read... [08:32:46]Read from MH i2c: 01 07 00 F7 0E 00 00 00 00 00 08 0C 20 [08:32:46]RasterBufferAndPrint [08:32:46]line [08:32:46]line [08:32:46]line [08:32:46]line [08:32:46]line [08:32:46]written 0, free lines is 3090 [08:32:46]MH_Cut [08:32:46]Write to MH i2c: D1 01 00 FE 0E 01 DE [08:32:46]Write i2c OK [08:32:46]MH_I2C_Read... [08:32:46]Read from MH i2c: D1 [08:32:46]MH_I2C_Read... [08:32:46]Read from MH i2c: D1 01 00 [08:32:46]MH_I2C_Read... [08:32:46]Read from MH i2c: D1 01 00 FE 0E 00 DD [08:32:46]Write to MH i2c: 01 00 00 FF 0E 0D [08:32:46]Write i2c OK [08:32:46]MH_I2C_Read... [08:32:46]OFD Sender: No OFD packet to send [08:32:46]*** Cut start [08:32:46]*** Partial cut [08:32:46]*** CUTSNS_PIN = 1 [08:32:46]*** CUTSNS_PIN = 0 [08:32:47]*** Brake cut motor [08:32:47]Read from MH i2c: 01 [08:32:47]MH_I2C_Read... [08:32:47]*** Stop cut motor [08:32:47]*** Cut end [08:32:47]Read from MH i2c: 01 07 00 [08:32:47]MH_I2C_Read... [08:32:47]Read from MH i2c: 01 07 00 FF 0E 00 00 00 00 00 FF 0F 22 [08:32:47]process_action close_receipt done [08:32:47]requested_data is exist [08:32:47]produce_requested_data [08:32:47]requested_item fm.sn is exist - process it [08:32:47]wFMCommunicate request_size=4 [08:32:47]MH_SAM_APDU [08:32:47]CAPDU: 80 11 00 00 [08:32:47]Write to MH i2c: E2 08 00 00 0F 80 11 00 00 00 00 00 00 89 [08:32:47]Write i2c OK [08:32:47]MH_I2C_Read... [08:32:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:32:47]Read from MH i2c: E2 [08:32:47]MH_I2C_Read... [08:32:47]Read from MH i2c: E2 17 00 [08:32:47]MH_I2C_Read... [08:32:47]Read from MH i2c: E2 17 00 00 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 E3 [08: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 [08:32:47]wFMCommunicate OK [08:32:47]requested_item fd.num is exist - process it [08:32:47]SAM_PROTO_GetFieldsCounters [08:32:47]wFMCommunicate request_size=4 [08:32:47]MH_SAM_APDU [08:32:47]CAPDU: 80 13 00 00 [08:32:47]Write to MH i2c: E2 08 00 01 0F 80 13 00 00 00 00 00 00 8C [08:32:47]Write i2c OK [08:32:47]MH_I2C_Read... [08:32:47]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:32:47]Read from MH i2c: E2 [08:32:47]MH_I2C_Read... [08:32:47]Read from MH i2c: E2 62 00 [08:32:47]MH_I2C_Read... [08:32:47]Read from MH i2c: E2 62 00 01 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 3B DF 00 00 0E 04 04 00 F1 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 39 [08:32:47]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 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 3B DF 00 00 0E 04 04 00 F1 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:32:47]wFMCommunicate OK [08:32:47]SAM_PROTO_GetFieldsCounters done [08:32:47]requested_item shift.num is exist - process it [08:32:47]requested_item shift.opened is exist - process it [08:32:47]req_shift_opened [08:32:47]FM_GetShiftState [08:32:47]SAM_PROTO_GetShiftState [08:32:47]wFMCommunicate request_size=4 [08:32:47]MH_SAM_APDU [08:32:47]CAPDU: 80 13 01 00 [08:32:47]Write to MH i2c: E2 08 00 02 0F 80 13 01 00 00 00 00 00 8E [08:32:47]Write i2c OK [08:32:47]MH_I2C_Read... [08:32:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:32:47]Read from MH i2c: E2 [08:32:47]MH_I2C_Read... [08:32:47]Read from MH i2c: E2 0E 00 [08:32:47]MH_I2C_Read... [08:32:47]Read from MH i2c: E2 0E 00 02 0F 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 07 [08:32:47]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [08:32:47]wFMCommunicate OK [08:32:47]SAM_PROTO_GetShiftState done [08:32:47]FM_GetShiftState done [08:32:47]req_shift_opened done [08:32:47]requested_item shift.open_date is exist - process it [08:32:47]req_shift_open_date [08:32:47]req_shift_open_date done [08:32:47]requested_item shift.sale.total is exist - process it [08:32:47]SAM_PROTO_GetShiftData [08:32:47]wFMCommunicate request_size=4 [08:32:47]MH_SAM_APDU [08:32:47]CAPDU: 80 13 02 00 [08:32:47]Write to MH i2c: E2 08 00 03 0F 80 13 02 00 00 00 00 00 90 [08:32:47]Write i2c OK [08:32:47]MH_I2C_Read... [08:32:48]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [08:32:48]Read from MH i2c: E2 [08:32:48]MH_I2C_Read... [08:32:48]Read from MH i2c: E2 FD 00 [08:32:48]MH_I2C_Read... [08:32:48]Read from MH i2c: E2 FD 00 03 0F 00 B6 04 AA 04 B2 04 6E 04 04 00 2A 00 00 00 69 04 9B 00 6F 04 04 00 29 00 00 00 B1 04 03 00 3D F5 0F 70 04 03 00 28 E1 0A 72 04 03 00 15 14 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 CE B1 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 25 24 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 90 [08:32:48]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 2A 00 00 00 69 04 9B 00 6F 04 04 00 29 00 00 00 B1 04 03 00 3D F5 0F 70 04 03 00 28 E1 0A 72 04 03 00 15 14 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 CE B1 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 25 24 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 [08:32:48]wFMCommunicate OK [08:32:48]wFMCommunicate request_size=4 [08:32:48]MH_SAM_APDU [08:32:48]CAPDU: 80 17 00 00 [08:32:48]Write to MH i2c: E2 08 00 04 0F 80 17 00 00 00 00 00 00 93 [08:32:48]Write i2c OK [08:32:48]MH_I2C_Read... [08:32:48]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:32:48]Read from MH i2c: E2 [08:32:48]MH_I2C_Read... [08:32:48]Read from MH i2c: E2 FD 00 [08:32:48]MH_I2C_Read... [08:32:48]Read from MH i2c: E2 FD 00 04 0F 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 C8 [08:32:48]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 [08:32:48]wFMCommunicate OK [08:32:48]wFMCommunicate request_size=4 [08:32:48]MH_SAM_APDU [08:32:48]CAPDU: 80 17 00 00 [08:32:48]Write to MH i2c: E2 08 00 05 0F 80 17 00 00 00 00 00 00 94 [08:32:48]Write i2c OK [08:32:48]MH_I2C_Read... [08:32:48]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:32:48]Read from MH i2c: E2 [08:32:48]MH_I2C_Read... [08:32:48]Read from MH i2c: E2 FD 00 [08:32:48]MH_I2C_Read... [08:32:48]Read from MH i2c: E2 FD 00 05 0F 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 54 [08:32:48]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 [08:32:48]wFMCommunicate OK [08:32:48]wFMCommunicate request_size=4 [08:32:48]MH_SAM_APDU [08:32:48]CAPDU: 80 17 00 00 [08:32:48]Write to MH i2c: E2 08 00 06 0F 80 17 00 00 00 00 00 00 95 [08:32:48]Write i2c OK [08:32:48]MH_I2C_Read... [08:32:49]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:32:49]Read from MH i2c: E2 [08:32:49]MH_I2C_Read... [08:32:49]Read from MH i2c: E2 FD 00 [08:32:49]MH_I2C_Read... [08:32:49]Read from MH i2c: E2 FD 00 06 0F 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 04 [08:32:49]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 [08:32:49]wFMCommunicate OK [08:32:49]wFMCommunicate request_size=4 [08:32:49]MH_SAM_APDU [08:32:49]CAPDU: 80 17 00 00 [08:32:49]Write to MH i2c: E2 08 00 07 0F 80 17 00 00 00 00 00 00 96 [08:32:49]Write i2c OK [08:32:49]MH_I2C_Read... [08:32:49]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [08:32:49]Read from MH i2c: E2 [08:32:49]MH_I2C_Read... [08:32:49]Read from MH i2c: E2 D3 00 [08:32:49]MH_I2C_Read... [08:32:49]Read from MH i2c: E2 D3 00 07 0F 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 83 [08:32:49]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 [08:32:49]wFMCommunicate OK [08:32:49]SAM_PROTO_GetShiftData done [08:32:49]requested_item shift.sale.total_cash is exist - process it [08:32:49]requested_item shift.sale_refund.total is exist - process it [08:32:49]requested_item shift.sale_refund.total_cash is exist - process it [08:32:49]produce_requested_data done [08:32:49]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57147,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":10458.21,"shift.sale.total_cash":7130.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [08:32:49]process_action_free close_receipt [08:32:49]json_value_free [08:32:49]json_value_free done [08:32:49]process_json_proto returns [08:32:49]Send response to host [08:32:49]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57147,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":10458.21,"shift.sale.total_cash":7130.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [08:32:49]free response buf [08:32:49]execute_script done [08:32:49]execute_script returns [08:32:49]free content buf [08:32:49]Sock 9.Close socket [08:32:49]Sock 9.Thread stoped [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:32]accept exits with 8 [08:33:32]New connection [08:33:32]New thread 3066924388 created [08:33:32]Thread 3067067748 joined [08:33:32]Waiting for new connection... [08:33:32] Sock 8.Parse request [08:33:32]Sock 8.Check first char [08:33:32]Sock 8.First char is OK [08:33:32]request: POST /json_proto HTTP/1.0 [08:33:32]Method: POST [08:33:32]URL: /json_proto [08:33:32]Method is POST - this is cgi request [08:33:32]url: /json_proto [08:33:32]query_string will be loaded in cgi processing [08:33:32]execute_cgi json_proto POST (null) [08:33:32]execute_cgi path=json_proto method=POST [08:33:32]POST find Content-Length [08:33:32]Host: 172.17.39.4:8080 [08:33:32]Content-Length: 727 [08:33:32]Content-Type: application/json [08:33:32] [08:33:32]POST finish read [08:33:32]Found Content-Length = 727 [08:33:32]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129602", "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 }]} ], "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" ] } } [08:33:32]execute_script... [08:33: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)129602", "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 }]} ], "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" ] } } [08:33:32]POST & json_proto [08:33:32]process_json_proto [08:33:32]json parsed OK: [08:33:32]protocol is kg_v1.0 [08:33:32]action value=close_receipt [08:33:32]process_action close_receipt [08:33:32]cmd_close_receipt [08:33:32]MH_GetDate [08:33:32]Write to MH i2c: F0 00 00 08 0F 06 [08:33:32]Write i2c OK [08:33:32]MH_I2C_Read... [08:33:32]Read from MH i2c: F0 [08:33:32]MH_I2C_Read... [08:33:32]Read from MH i2c: F0 09 00 [08:33:32]MH_I2C_Read... [08:33:32]Read from MH i2c: F0 09 00 08 0F 00 DF DE 94 66 2D 25 5D 64 D9 [08:33:32]GetLastDocTimeStamp 1721032365 [08:33:32]current date 1721032415 [08:33:32]FM_GetShiftState [08:33:32]SAM_PROTO_GetShiftState [08:33:32]wFMCommunicate request_size=4 [08:33:32]MH_SAM_APDU [08:33:32]CAPDU: 80 13 01 00 [08:33:32]Write to MH i2c: E2 08 00 09 0F 80 13 01 00 00 00 00 00 95 [08:33:32]Write i2c OK [08:33:32]MH_I2C_Read... [08:33:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:33:32]Read from MH i2c: E2 [08:33:32]MH_I2C_Read... [08:33:32]Read from MH i2c: E2 0E 00 [08:33:32]MH_I2C_Read... [08:33:32]Read from MH i2c: E2 0E 00 09 0F 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 0E [08:33:32]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [08:33:32]wFMCommunicate OK [08:33:32]SAM_PROTO_GetShiftState done [08:33:32]FM_GetShiftState done [08:33:32]opened in 1721003525 [08:33:32]opened+sec_in_day 1721089925 [08:33:32]quantity*price = 14000 [08:33:32]sum+1 = 14001 [08:33:32]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 СНО: Общий режим Чек 43 15.07.2024 08:33 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57148 ФПД: 26734676773109 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T083335&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57148&fm=26734676773109&tin=02508201610067®Number=0000000000091208&sum=14000 0 [08:33:34]StoreToDocumentArchive [08:33:34]shift 497 fd 57148 [08:33:34]save to /storage/0497/doc_00057148 [08:33:34]save last doc name /storage/0497/doc_00057148 to /storage/kkm_last_doc_name [08:33:34]save OK [08:33:34]Clear old archive folders... [08:33:34]ProcessDocumentItem done err = 0, tmpTLVsize=275 [08:33:34]tlvbuf is 0095AE50 [08:33:34]SAM_PROTO_ClearQueue [08:33:34]wFMCommunicate request_size=4 [08:33:34]MH_SAM_APDU [08:33:34]CAPDU: 80 09 00 00 [08:33:34]Write to MH i2c: E2 08 00 16 0F 80 09 00 00 00 00 00 00 97 [08:33:34]Write i2c OK [08:33:34]MH_I2C_Read... [08:33:34]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:33:34]Read from MH i2c: E2 [08:33:34]MH_I2C_Read... [08:33:34]Read from MH i2c: E2 03 00 [08:33:34]MH_I2C_Read... [08:33:34]Read from MH i2c: E2 03 00 16 0F 00 90 00 99 [08:33:34]RAPDU: 90 00 [08:33:34]wFMCommunicate OK [08:33:34]SAM_PROTO_ClearQueue done [08:33:34]KKMCreateOFDPacket [08:33:34]OFDProtocolAddRootSTLVToBuf [08:33:34]FM_MakeSignedData [08:33:34]FM_MakeSignedData [08:33:34]SAM_PROTO_SignData [08:33:34]wFMCommunicate request_size=4 [08:33:34]MH_SAM_APDU [08:33:34]CAPDU: 80 0D 01 02 [08:33:34]Write to MH i2c: E2 08 00 17 0F 80 0D 01 02 00 00 00 00 9F [08:33:34]Write i2c OK [08:33:34]MH_I2C_Read... [08:33:34]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:33:34]Read from MH i2c: E2 [08:33:34]MH_I2C_Read... [08:33:34]Read from MH i2c: E2 03 00 [08:33:34]MH_I2C_Read... [08:33:34]Read from MH i2c: E2 03 00 17 0F 00 90 00 9A [08:33:34]RAPDU: 90 00 [08:33:34]wFMCommunicate OK [08:33:34]wFMCommunicate request_size=255 [08:33:34]MH_SAM_APDU [08:33:34]CAPDU: 80 0D 02 02 FA 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 2B 00 00 00 F4 03 04 00 DF DE 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 [08:33:34]Write to MH i2c: E2 02 01 18 0F 80 0D 02 02 FA 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 2B 00 00 00 F4 03 04 00 DF DE 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 00 00 FE [08:33:34]Write i2c OK [08:33:34]MH_I2C_Read... [08:33:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:33:34]Read from MH i2c: E2 [08:33:34]MH_I2C_Read... [08:33:34]Read from MH i2c: E2 03 00 [08:33:34]MH_I2C_Read... [08:33:34]Read from MH i2c: E2 03 00 18 0F 00 90 00 9B [08:33:34]RAPDU: 90 00 [08:33:34]wFMCommunicate OK [08:33:34]wFMCommunicate request_size=34 [08:33:34]MH_SAM_APDU [08:33:34]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 3C DF 00 00 35 04 06 00 18 50 A6 E9 88 F5 [08:33:34]Write to MH i2c: E2 25 00 19 0F 80 0D 02 02 1D 00 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 3C DF 00 00 35 04 06 00 18 50 A6 E9 88 F5 00 00 F9 [08:33:34]Write i2c OK [08:33:34]MH_I2C_Read... [08:33:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:33:34]Read from MH i2c: E2 [08:33:34]MH_I2C_Read... [08:33:34]Read from MH i2c: E2 03 00 [08:33:34]MH_I2C_Read... [08:33:34]Read from MH i2c: E2 03 00 19 0F 00 90 00 9C [08:33:34]RAPDU: 90 00 [08:33:34]wFMCommunicate OK [08:33:34]wFMCommunicate request_size=4 [08:33:34]MH_SAM_APDU [08:33:34]CAPDU: 80 0D 03 02 [08:33:34]Write to MH i2c: E2 08 00 1A 0F 80 0D 03 02 00 00 00 00 A4 [08:33:34]Write i2c OK [08:33:34]MH_I2C_Read... [08:33:34]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:33:34]Read from MH i2c: E2 [08:33:34]MH_I2C_Read... [08:33:34]Read from MH i2c: E2 0B 00 [08:33:34]MH_I2C_Read... [08:33:34]Read from MH i2c: E2 0B 00 1A 0F 00 50 88 53 72 40 07 5A 51 90 00 34 [08:33:34]RAPDU: 50 88 53 72 40 07 5A 51 90 00 [08:33:34]wFMCommunicate OK [08:33:34]SAM_PROTO_SignData done [08:33:34]FM_MakeSignedData done [08:33:34]CreateOFDProtocolMessage [08:33:34]wFMCommunicate request_size=4 [08:33:34]MH_SAM_APDU [08:33:34]CAPDU: 80 11 00 00 [08:33:34]Write to MH i2c: E2 08 00 1B 0F 80 11 00 00 00 00 00 00 A4 [08:33:34]Write i2c OK [08:33:34]MH_I2C_Read... [08:33:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:33:34]Read from MH i2c: E2 [08:33:34]MH_I2C_Read... [08:33:34]Read from MH i2c: E2 17 00 [08:33:34]MH_I2C_Read... [08:33:34]Read from MH i2c: E2 17 00 1B 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 FE [08:33:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [08:33:34]wFMCommunicate OK [08:33:34]CreateOFDProtocolMessage done [08:33:34]OFDSenderStorePacket 57148 [08:33:34]StoreOFDPacket docnum=57148 [08:33: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 27 01 00 00 EA C0 1F 01 D7 65 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 2B 00 00 00 F4 03 04 00 DF DE 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 3C DF 00 00 35 04 06 00 18 50 A6 E9 88 F5 50 88 53 72 40 07 5A 51 [08:33:34]CheckFolder [08:33:34]dirname=/storage/ofd_packets [08:33:34]CheckFolder done [08:33:34]ProducePacketName [08:33:34]name=ofd_packets/00057148 [08:33:34]NVStorageSaveData ofd_packets/00057148 [08:33:34]File name is /storage/ofd_packets/00057148 [08:33:34]Write 325 bytes [08:33:34]NVStorageSaveData done [08:33:34]OFDSenderStorePacket done [08:33:34]KKMCreateOFDPacket done [08:33:34]NVStorageSaveData kkm_last_timestamp [08:33:34]File name is /storage/kkm_last_timestamp [08:33:34]Write 4 bytes [08:33:34]NVStorageSaveData done [08:33:34]ExternCall_PrintAddStr [08:33:34]wPrintStart [08:33:34]Write to MH i2c: 01 00 00 1C 0F 2B [08:33:34]Write i2c OK [08:33:34]MH_I2C_Read... [08:33:34]Read from MH i2c: 01 [08:33:34]MH_I2C_Read... [08:33:34]Read from MH i2c: 01 07 00 [08:33:34]MH_I2C_Read... [08:33:34]Read from MH i2c: 01 07 00 1C 0F 00 00 00 00 00 FF 0F 40 [08:33:34]RasterBufferAndPrint [08:33:34]line Счет N : (3)129602 [08:33:34]line ИНН: 02508201610067 [08:33:34]line Контрольно-Кассовый Чек [08:33:34]line ПРОДАЖА [08:33:34]line Товар: 48743587 [08:33:34]line Сигареты Winston XStyle Silver [08:33:34]line 1.000 * 140.00 [08:33:34]line = 140.00 [08:33:34]line НДС 12% НСП 1% [08:33:34]line > о реализуемом товаре [08:33:34]line ИТОГО: 140.00 [08:33:34]line НСП 1% : 1.24 [08:33:34]line НДС 12% : 14.87 [08:33:34]line Наличными: 140.00 [08:33:34]line Безнал.: 0.00 [08:33:34]line Место: АЗС № 132 "Партнер Нефть" [08:33:34]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [08:33:34]line СНО: Общий режим [08:33:34]line Чек 43 15.07.2024 08:33 [08:33:34]line Смена: 497 ФФД: 1.0 [08:33:34]line ЗНМ: 0300000132 [08:33:34]line РНМ: 0000000000091208 [08:33:34]line Версия ККМ: 001 [08:33:34]line ФМ: 0000000000874857 [08:33:34]line ФД: 57148 [08:33:34]line ФПД: 26734676773109 [08:33:34]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T083335&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57148&fm=26734676773109&tin=02508201610067®Number=0000000000091208&sum=14000 [08:33:34]line 0 [08:33:34]written 0, free lines is 4095 [08:33:34]OFD Sender: Processing packet 57148 [packets to send 38, broken 37] [08:33:34]ProducePacketName [08:33:34]name=ofd_packets/00057148 [08:33:34]OFD Sender: To server: pG, [08:33:34]CommunicateWithHost lk.salyk.kg:30040 [08:33:34]ConnectInit lk.salyk.kg [08:33:34]Connected sock=10 [08:33: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 27 01 00 00 EA C0 1F 01 D7 65 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 2B 00 00 00 F4 03 04 00 DF DE 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 3C DF 00 00 35 04 06 00 18 50 A6 E9 88 F5 50 88 53 72 40 07 5A 51 [08:33: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 8B 57 47 00 73 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 3C DF 00 00 F4 03 04 00 2E 85 94 66 B6 04 01 00 00 D8 A1 70 5B 32 BA F4 9C [08:33:35]CommunicateWithHost err = 0 [08:33:35]CheckOFDResponse [08:33:35]1017 (14) - 77093643461234 [08:33:35]1041 (16) - 0000000000874857 [08:33:35]1040 (4) - 57148 [08:33:35]1012 (4) - 15.07.2024 02:10 [08:33:35]1206 (1) - 0 [08:33:35]OFD Sender: Remove packet 57148 [08:33:35]ProducePacketName [08:33:35]name=ofd_packets/00057148 [08:33:35]NVStorageDeleteData [08:33:35]Write to MH i2c: 01 00 00 45 0F 54 [08:33:35]Write i2c OK [08:33:35]MH_I2C_Read... [08:33:35]Read from MH i2c: 01 [08:33:35]MH_I2C_Read... [08:33:35]Read from MH i2c: 01 07 00 [08:33:35]MH_I2C_Read... [08:33:35]Read from MH i2c: 01 07 00 45 0F 00 00 00 00 00 E8 0C 4F [08:33:35]RasterBufferAndPrint [08:33:35]line [08:33:35]line [08:33:35]line [08:33:35]line [08:33:35]line [08:33:35]written 0, free lines is 3310 [08:33:35]MH_Cut [08:33:35]Write to MH i2c: D1 01 00 4C 0F 01 2D [08:33:35]Write i2c OK [08:33:35]MH_I2C_Read... [08:33:35]Read from MH i2c: D1 [08:33:35]MH_I2C_Read... [08:33:35]Read from MH i2c: D1 01 00 [08:33:35]MH_I2C_Read... [08:33:35]Read from MH i2c: D1 01 00 4C 0F 00 2C [08:33:35]Write to MH i2c: 01 00 00 4D 0F 5C [08:33:35]Write i2c OK [08:33:35]MH_I2C_Read... [08:33:35]OFD Sender: No OFD packet to send [08:33:36]*** Cut start [08:33:36]*** Partial cut [08:33:36]*** CUTSNS_PIN = 1 [08:33:36]*** CUTSNS_PIN = 0 [08:33:36]*** Brake cut motor [08:33:36]Read from MH i2c: 01 [08:33:36]MH_I2C_Read... [08:33:36]*** Stop cut motor [08:33:36]*** Cut end [08:33:36]Read from MH i2c: 01 07 00 [08:33:36]MH_I2C_Read... [08:33:36]Read from MH i2c: 01 07 00 4D 0F 00 00 00 00 00 FF 0F 71 [08:33:36]process_action close_receipt done [08:33:36]requested_data is exist [08:33:36]produce_requested_data [08:33:36]requested_item fm.sn is exist - process it [08:33:36]wFMCommunicate request_size=4 [08:33:36]MH_SAM_APDU [08:33:36]CAPDU: 80 11 00 00 [08:33:36]Write to MH i2c: E2 08 00 4E 0F 80 11 00 00 00 00 00 00 D7 [08:33:36]Write i2c OK [08:33:36]MH_I2C_Read... [08:33:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:33:36]Read from MH i2c: E2 [08:33:36]MH_I2C_Read... [08:33:36]Read from MH i2c: E2 17 00 [08:33:36]MH_I2C_Read... [08:33:36]Read from MH i2c: E2 17 00 4E 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 31 [08:33:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [08:33:36]wFMCommunicate OK [08:33:36]requested_item fd.num is exist - process it [08:33:36]SAM_PROTO_GetFieldsCounters [08:33:36]wFMCommunicate request_size=4 [08:33:36]MH_SAM_APDU [08:33:36]CAPDU: 80 13 00 00 [08:33:36]Write to MH i2c: E2 08 00 4F 0F 80 13 00 00 00 00 00 00 DA [08:33:36]Write i2c OK [08:33:36]MH_I2C_Read... [08:33:36]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:33:36]Read from MH i2c: E2 [08:33:36]MH_I2C_Read... [08:33:36]Read from MH i2c: E2 62 00 [08:33:36]MH_I2C_Read... [08:33:36]Read from MH i2c: E2 62 00 4F 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 3C DF 00 00 0E 04 04 00 F1 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 8B [08:33: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 3C DF 00 00 0E 04 04 00 F1 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:33:36]wFMCommunicate OK [08:33:36]SAM_PROTO_GetFieldsCounters done [08:33:36]requested_item shift.num is exist - process it [08:33:36]requested_item shift.opened is exist - process it [08:33:36]req_shift_opened [08:33:36]FM_GetShiftState [08:33:36]SAM_PROTO_GetShiftState [08:33:36]wFMCommunicate request_size=4 [08:33:36]MH_SAM_APDU [08:33:36]CAPDU: 80 13 01 00 [08:33:36]Write to MH i2c: E2 08 00 50 0F 80 13 01 00 00 00 00 00 DC [08:33:36]Write i2c OK [08:33:36]MH_I2C_Read... [08:33:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:33:36]Read from MH i2c: E2 [08:33:36]MH_I2C_Read... [08:33:36]Read from MH i2c: E2 0E 00 [08:33:36]MH_I2C_Read... [08:33:36]Read from MH i2c: E2 0E 00 50 0F 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 55 [08:33:36]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [08:33:36]wFMCommunicate OK [08:33:36]SAM_PROTO_GetShiftState done [08:33:36]FM_GetShiftState done [08:33:36]req_shift_opened done [08:33:36]requested_item shift.open_date is exist - process it [08:33:36]req_shift_open_date [08:33:36]req_shift_open_date done [08:33:36]requested_item shift.sale.total is exist - process it [08:33:36]SAM_PROTO_GetShiftData [08:33:36]wFMCommunicate request_size=4 [08:33:36]MH_SAM_APDU [08:33:36]CAPDU: 80 13 02 00 [08:33:36]Write to MH i2c: E2 08 00 51 0F 80 13 02 00 00 00 00 00 DE [08:33:36]Write i2c OK [08:33:36]MH_I2C_Read... [08:33:37]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [08:33:37]Read from MH i2c: E2 [08:33:37]MH_I2C_Read... [08:33:37]Read from MH i2c: E2 FD 00 [08:33:37]MH_I2C_Read... [08:33:37]Read from MH i2c: E2 FD 00 51 0F 00 B6 04 AA 04 B2 04 6E 04 04 00 2B 00 00 00 69 04 9B 00 6F 04 04 00 2A 00 00 00 B1 04 03 00 ED 2B 10 70 04 03 00 D8 17 0B 72 04 03 00 15 14 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 9D B7 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 24 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 FF [08:33:37]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 2B 00 00 00 69 04 9B 00 6F 04 04 00 2A 00 00 00 B1 04 03 00 ED 2B 10 70 04 03 00 D8 17 0B 72 04 03 00 15 14 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 9D B7 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 24 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 [08:33:37]wFMCommunicate OK [08:33:37]wFMCommunicate request_size=4 [08:33:37]MH_SAM_APDU [08:33:37]CAPDU: 80 17 00 00 [08:33:37]Write to MH i2c: E2 08 00 52 0F 80 17 00 00 00 00 00 00 E1 [08:33:37]Write i2c OK [08:33:37]MH_I2C_Read... [08:33:37]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:33:37]Read from MH i2c: E2 [08:33:37]MH_I2C_Read... [08:33:37]Read from MH i2c: E2 FD 00 [08:33:37]MH_I2C_Read... [08:33:37]Read from MH i2c: E2 FD 00 52 0F 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 16 [08:33:37]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 [08:33:37]wFMCommunicate OK [08:33:37]wFMCommunicate request_size=4 [08:33:37]MH_SAM_APDU [08:33:37]CAPDU: 80 17 00 00 [08:33:37]Write to MH i2c: E2 08 00 53 0F 80 17 00 00 00 00 00 00 E2 [08:33:37]Write i2c OK [08:33:37]MH_I2C_Read... [08:33:37]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:33:37]Read from MH i2c: E2 [08:33:37]MH_I2C_Read... [08:33:37]Read from MH i2c: E2 FD 00 [08:33:37]MH_I2C_Read... [08:33:37]Read from MH i2c: E2 FD 00 53 0F 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 A2 [08:33:37]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 [08:33:37]wFMCommunicate OK [08:33:37]wFMCommunicate request_size=4 [08:33:37]MH_SAM_APDU [08:33:37]CAPDU: 80 17 00 00 [08:33:37]Write to MH i2c: E2 08 00 54 0F 80 17 00 00 00 00 00 00 E3 [08:33:37]Write i2c OK [08:33:37]MH_I2C_Read... [08:33:38]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:33:38]Read from MH i2c: E2 [08:33:38]MH_I2C_Read... [08:33:38]Read from MH i2c: E2 FD 00 [08:33:38]MH_I2C_Read... [08:33:38]Read from MH i2c: E2 FD 00 54 0F 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 52 [08:33:38]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 [08:33:38]wFMCommunicate OK [08:33:38]wFMCommunicate request_size=4 [08:33:38]MH_SAM_APDU [08:33:38]CAPDU: 80 17 00 00 [08:33:38]Write to MH i2c: E2 08 00 55 0F 80 17 00 00 00 00 00 00 E4 [08:33:38]Write i2c OK [08:33:38]MH_I2C_Read... [08:33:38]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [08:33:38]Read from MH i2c: E2 [08:33:38]MH_I2C_Read... [08:33:38]Read from MH i2c: E2 D3 00 [08:33:38]MH_I2C_Read... [08:33:38]Read from MH i2c: E2 D3 00 55 0F 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 D1 [08:33:38]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 [08:33:38]wFMCommunicate OK [08:33:38]SAM_PROTO_GetShiftData done [08:33:38]requested_item shift.sale.total_cash is exist - process it [08:33:38]requested_item shift.sale_refund.total is exist - process it [08:33:38]requested_item shift.sale_refund.total_cash is exist - process it [08:33:38]produce_requested_data done [08:33:38]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57148,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":10598.21,"shift.sale.total_cash":7270.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [08:33:38]process_action_free close_receipt [08:33:38]json_value_free [08:33:38]json_value_free done [08:33:38]process_json_proto returns [08:33:38]Send response to host [08:33:38]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57148,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":10598.21,"shift.sale.total_cash":7270.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [08:33:38]free response buf [08:33:38]execute_script done [08:33:38]execute_script returns [08:33:38]free content buf [08:33:38]Sock 8.Close socket [08:33:38]Sock 8.Thread stoped [08:33:40]OFD Sender: No OFD packet to send [08:33:45]OFD Sender: No OFD packet to send [08:33:50]OFD Sender: No OFD packet to send [08:33:55]OFD Sender: No OFD packet to send [08:34:00]OFD Sender: No OFD packet to send [08:34:05]OFD Sender: No OFD packet to send [08:34:10]OFD Sender: No OFD packet to send [08:34:15]OFD Sender: No OFD packet to send [08:34:20]OFD Sender: No OFD packet to send [08:34:25]OFD Sender: No OFD packet to send [08:34:30]OFD Sender: No OFD packet to send [08:34:35]OFD Sender: No OFD packet to send [08:34:40]OFD Sender: No OFD packet to send [08:34:45]OFD Sender: No OFD packet to send [08:34:50]OFD Sender: No OFD packet to send [08:34:55]OFD Sender: No OFD packet to send [08:35:00]OFD Sender: No OFD packet to send [08:35:05]OFD Sender: No OFD packet to send [08:35:10]OFD Sender: No OFD packet to send [08:35:15]OFD Sender: No OFD packet to send [08:35:20]OFD Sender: No OFD packet to send [08:35:25]OFD Sender: No OFD packet to send [08:35:30]OFD Sender: No OFD packet to send [08:35:35]OFD Sender: No OFD packet to send [08:35:40]OFD Sender: No OFD packet to send [08:35:45]OFD Sender: No OFD packet to send [08:35:50]OFD Sender: No OFD packet to send [08:35:55]OFD Sender: No OFD packet to send [08:36:00]OFD Sender: No OFD packet to send [08:36:05]OFD Sender: No OFD packet to send [08:36:10]OFD Sender: No OFD packet to send [08:36:15]OFD Sender: No OFD packet to send [08:36:20]OFD Sender: No OFD packet to send [08:36:25]OFD Sender: No OFD packet to send [08:36:30]OFD Sender: No OFD packet to send [08:36:35]OFD Sender: No OFD packet to send [08:36:40]OFD Sender: No OFD packet to send [08:36:45]OFD Sender: No OFD packet to send [08:36:50]OFD Sender: No OFD packet to send [08:36:55]OFD Sender: No OFD packet to send [08:37:00]OFD Sender: No OFD packet to send [08:37:05]OFD Sender: No OFD packet to send [08:37:10]OFD Sender: No OFD packet to send [08:37:15]OFD Sender: No OFD packet to send [08:37:20]OFD Sender: No OFD packet to send [08:37:25]OFD Sender: No OFD packet to send [08:37:30]OFD Sender: No OFD packet to send [08:37:35]OFD Sender: No OFD packet to send [08:37:40]OFD Sender: No OFD packet to send [08:37:45]OFD Sender: No OFD packet to send [08:37:50]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:11]OFD Sender: No OFD packet to send [08:40:16]OFD Sender: No OFD packet to send [08:40:21]OFD Sender: No OFD packet to send [08:40:26]OFD Sender: No OFD packet to send [08:40:31]OFD Sender: No OFD packet to send [08:40:36]OFD Sender: No OFD packet to send [08:40:41]OFD Sender: No OFD packet to send [08:40:46]OFD Sender: No OFD packet to send [08:40:51]OFD Sender: No OFD packet to send [08:40:56]OFD Sender: No OFD packet to send [08:41:01]OFD Sender: No OFD packet to send [08:41:06]OFD Sender: No OFD packet to send [08:41:11]OFD Sender: No OFD packet to send [08:41:16]OFD Sender: No OFD packet to send [08:41:21]OFD Sender: No OFD packet to send [08:41:26]OFD Sender: No OFD packet to send [08:41:31]OFD Sender: No OFD packet to send [08:41:36]OFD Sender: No OFD packet to send [08:41:41]OFD Sender: No OFD packet to send [08:41:46]OFD Sender: No OFD packet to send [08:41:51]OFD Sender: No OFD packet to send [08:41:56]OFD Sender: No OFD packet to send [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:32]accept exits with 9 [08:44:32]New connection [08:44:32]New thread 3067067748 created [08:44:32]Thread 3066924388 joined [08:44:32]Waiting for new connection... [08:44:32] Sock 9.Parse request [08:44:32]Sock 9.Check first char [08:44:32]Sock 9.First char is OK [08:44:32]request: POST /json_proto HTTP/1.0 [08:44:32]Method: POST [08:44:32]URL: /json_proto [08:44:32]Method is POST - this is cgi request [08:44:32]url: /json_proto [08:44:32]query_string will be loaded in cgi processing [08:44:32]execute_cgi json_proto POST (null) [08:44:32]execute_cgi path=json_proto method=POST [08:44:32]POST find Content-Length [08:44:32]Host: 172.17.39.4:8080 [08:44:32]Content-Length: 771 [08:44:32]Content-Type: application/json [08:44:32] [08:44:32]POST finish read [08:44:32]Found Content-Length = 771 [08:44:32]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129603", "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:44:32]execute_script... [08:44: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)129603", "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:44:32]POST & json_proto [08:44:32]process_json_proto [08:44:32]json parsed OK: [08:44:32]protocol is kg_v1.0 [08:44:32]action value=close_receipt [08:44:32]process_action close_receipt [08:44:32]cmd_close_receipt [08:44:32]MH_GetDate [08:44:32]Write to MH i2c: F0 00 00 56 0F 54 [08:44:32]Write i2c OK [08:44:32]MH_I2C_Read... [08:44:32]Read from MH i2c: F0 [08:44:32]MH_I2C_Read... [08:44:32]Read from MH i2c: F0 09 00 [08:44:32]MH_I2C_Read... [08:44:32]Read from MH i2c: F0 09 00 56 0F 00 73 E1 94 66 2D 25 5D 64 BE [08:44:32]GetLastDocTimeStamp 1721032415 [08:44:32]current date 1721033075 [08:44:32]FM_GetShiftState [08:44:32]SAM_PROTO_GetShiftState [08:44:32]wFMCommunicate request_size=4 [08:44:32]MH_SAM_APDU [08:44:32]CAPDU: 80 13 01 00 [08:44:32]Write to MH i2c: E2 08 00 57 0F 80 13 01 00 00 00 00 00 E3 [08:44:32]Write i2c OK [08:44:32]MH_I2C_Read... [08:44:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:44:32]Read from MH i2c: E2 [08:44:32]MH_I2C_Read... [08:44:32]Read from MH i2c: E2 0E 00 [08:44:32]MH_I2C_Read... [08:44:32]Read from MH i2c: E2 0E 00 57 0F 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 5C [08:44:32]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [08:44:32]wFMCommunicate OK [08:44:32]SAM_PROTO_GetShiftState done [08:44:32]FM_GetShiftState done [08:44:32]opened in 1721003525 [08:44:32]opened+sec_in_day 1721089925 [08:44:32]quantity*price = 20000 [08:44:32]sum+1 = 20001 [08:44:32]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 СНО: Общий режим Чек 44 15.07.2024 08:44 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57149 ФПД: 89584224716227 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T084435&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57149&fm=89584224716227&tin=02508201610067®Number=0000000000091208&sum=20000 0 [08:44:33]StoreToDocumentArchive [08:44:33]shift 497 fd 57149 [08:44:33]save to /storage/0497/doc_00057149 [08:44:33]save last doc name /storage/0497/doc_00057149 to /storage/kkm_last_doc_name [08:44:33]save OK [08:44:33]Clear old archive folders... [08:44:33]ProcessDocumentItem done err = 0, tmpTLVsize=283 [08:44:33]tlvbuf is 00979E20 [08:44:33]SAM_PROTO_ClearQueue [08:44:33]wFMCommunicate request_size=4 [08:44:33]MH_SAM_APDU [08:44:33]CAPDU: 80 09 00 00 [08:44:33]Write to MH i2c: E2 08 00 64 0F 80 09 00 00 00 00 00 00 E5 [08:44:33]Write i2c OK [08:44:33]MH_I2C_Read... [08:44:33]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:44:33]Read from MH i2c: E2 [08:44:33]MH_I2C_Read... [08:44:33]Read from MH i2c: E2 03 00 [08:44:33]MH_I2C_Read... [08:44:33]Read from MH i2c: E2 03 00 64 0F 00 90 00 E7 [08:44:33]RAPDU: 90 00 [08:44:33]wFMCommunicate OK [08:44:33]SAM_PROTO_ClearQueue done [08:44:33]KKMCreateOFDPacket [08:44:33]OFDProtocolAddRootSTLVToBuf [08:44:33]FM_MakeSignedData [08:44:33]FM_MakeSignedData [08:44:33]SAM_PROTO_SignData [08:44:33]wFMCommunicate request_size=4 [08:44:33]MH_SAM_APDU [08:44:33]CAPDU: 80 0D 01 02 [08:44:33]Write to MH i2c: E2 08 00 65 0F 80 0D 01 02 00 00 00 00 ED [08:44:33]Write i2c OK [08:44:33]MH_I2C_Read... [08:44:33]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:44:33]Read from MH i2c: E2 [08:44:33]MH_I2C_Read... [08:44:33]Read from MH i2c: E2 03 00 [08:44:33]MH_I2C_Read... [08:44:33]Read from MH i2c: E2 03 00 65 0F 00 90 00 E8 [08:44:33]RAPDU: 90 00 [08:44:33]wFMCommunicate OK [08:44:33]wFMCommunicate request_size=255 [08:44:33]MH_SAM_APDU [08:44: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 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 2C 00 00 00 F4 03 04 00 73 E1 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 [08:44:33]Write to MH i2c: E2 02 01 66 0F 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 2C 00 00 00 F4 03 04 00 73 E1 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 00 00 C2 [08:44:33]Write i2c OK [08:44:33]MH_I2C_Read... [08:44:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:44:33]Read from MH i2c: E2 [08:44:33]MH_I2C_Read... [08:44:33]Read from MH i2c: E2 03 00 [08:44:33]MH_I2C_Read... [08:44:33]Read from MH i2c: E2 03 00 66 0F 00 90 00 E9 [08:44:33]RAPDU: 90 00 [08:44:33]wFMCommunicate OK [08:44:33]wFMCommunicate request_size=42 [08:44:33]MH_SAM_APDU [08:44: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 3D DF 00 00 35 04 06 00 51 79 F3 E4 45 C3 [08:44:33]Write to MH i2c: E2 2D 00 67 0F 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 3D DF 00 00 35 04 06 00 51 79 F3 E4 45 C3 00 00 91 [08:44:33]Write i2c OK [08:44:33]MH_I2C_Read... [08:44:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:44:34]Read from MH i2c: E2 [08:44:34]MH_I2C_Read... [08:44:34]Read from MH i2c: E2 03 00 [08:44:34]MH_I2C_Read... [08:44:34]Read from MH i2c: E2 03 00 67 0F 00 90 00 EA [08:44:34]RAPDU: 90 00 [08:44:34]wFMCommunicate OK [08:44:34]wFMCommunicate request_size=4 [08:44:34]MH_SAM_APDU [08:44:34]CAPDU: 80 0D 03 02 [08:44:34]Write to MH i2c: E2 08 00 68 0F 80 0D 03 02 00 00 00 00 F2 [08:44:34]Write i2c OK [08:44:34]MH_I2C_Read... [08:44:34]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:44:34]Read from MH i2c: E2 [08:44:34]MH_I2C_Read... [08:44:34]Read from MH i2c: E2 0B 00 [08:44:34]MH_I2C_Read... [08:44:34]Read from MH i2c: E2 0B 00 68 0F 00 42 83 B6 FD DF CE F3 8D 90 00 98 [08:44:34]RAPDU: 42 83 B6 FD DF CE F3 8D 90 00 [08:44:34]wFMCommunicate OK [08:44:34]SAM_PROTO_SignData done [08:44:34]FM_MakeSignedData done [08:44:34]CreateOFDProtocolMessage [08:44:34]wFMCommunicate request_size=4 [08:44:34]MH_SAM_APDU [08:44:34]CAPDU: 80 11 00 00 [08:44:34]Write to MH i2c: E2 08 00 69 0F 80 11 00 00 00 00 00 00 F2 [08:44:34]Write i2c OK [08:44:34]MH_I2C_Read... [08:44:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:44:34]Read from MH i2c: E2 [08:44:34]MH_I2C_Read... [08:44:34]Read from MH i2c: E2 17 00 [08:44:34]MH_I2C_Read... [08:44:34]Read from MH i2c: E2 17 00 69 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 4C [08:44:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [08:44:34]wFMCommunicate OK [08:44:34]CreateOFDProtocolMessage done [08:44:34]OFDSenderStorePacket 57149 [08:44:34]StoreOFDPacket docnum=57149 [08:44: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 2F 01 00 00 EC 38 27 01 C4 74 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 2C 00 00 00 F4 03 04 00 73 E1 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 3D DF 00 00 35 04 06 00 51 79 F3 E4 45 C3 42 83 B6 FD DF CE F3 8D [08:44:34]CheckFolder [08:44:34]dirname=/storage/ofd_packets [08:44:34]CheckFolder done [08:44:34]ProducePacketName [08:44:34]name=ofd_packets/00057149 [08:44:34]NVStorageSaveData ofd_packets/00057149 [08:44:34]File name is /storage/ofd_packets/00057149 [08:44:34]Write 333 bytes [08:44:34]NVStorageSaveData done [08:44:34]OFDSenderStorePacket done [08:44:34]KKMCreateOFDPacket done [08:44:34]NVStorageSaveData kkm_last_timestamp [08:44:34]File name is /storage/kkm_last_timestamp [08:44:34]Write 4 bytes [08:44:34]NVStorageSaveData done [08:44:34]ExternCall_PrintAddStr [08:44:34]wPrintStart [08:44:34]Write to MH i2c: 01 00 00 6A 0F 79 [08:44:34]Write i2c OK [08:44:34]MH_I2C_Read... [08:44:34]Read from MH i2c: 01 [08:44:34]MH_I2C_Read... [08:44:34]Read from MH i2c: 01 07 00 [08:44:34]MH_I2C_Read... [08:44:34]Read from MH i2c: 01 07 00 6A 0F 00 00 00 00 00 FF 0F 8E [08:44:34]RasterBufferAndPrint [08:44:34]line Счет N : (3)129603 [08:44:34]line ИНН: 02508201610067 [08:44:34]line Контрольно-Кассовый Чек [08:44:34]line ПРОДАЖА [08:44:34]line Товар: 4700002086281 [08:44:34]line Водка Белое золото 0,24л [08:44:34]line 1.000 * 200.00 [08:44:34]line = 200.00 [08:44:34]line НДС 12% НСП 1% [08:44:34]line > о реализуемом товаре [08:44:34]line ИТОГО: 200.00 [08:44:34]line НСП 1% : 1.77 [08:44:34]line НДС 12% : 21.24 [08:44:34]line Наличными: 200.00 [08:44:34]line Безнал.: 0.00 [08:44:34]line Место: АЗС № 132 "Партнер Нефть" [08:44:34]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [08:44:34]line СНО: Общий режим [08:44:34]line Чек 44 15.07.2024 08:44 [08:44:34]line Смена: 497 ФФД: 1.0 [08:44:34]line ЗНМ: 0300000132 [08:44:34]line РНМ: 0000000000091208 [08:44:34]line Версия ККМ: 001 [08:44:34]line ФМ: 0000000000874857 [08:44:34]line ФД: 57149 [08:44:34]line ФПД: 89584224716227 [08:44:34]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T084435&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57149&fm=89584224716227&tin=02508201610067®Number=0000000000091208&sum=20000 [08:44:34]line 0 [08:44:34]OFD Sender: Processing packet 57149 [packets to send 38, broken 37] [08:44:34]ProducePacketName [08:44:34]name=ofd_packets/00057149 [08:44:34]OFD Sender: To server: pG, [08:44:34]CommunicateWithHost lk.salyk.kg:30040 [08:44:34]ConnectInit lk.salyk.kg [08:44:34]written 0, free lines is 4095 [08:44:34]Connected sock=10 [08:44: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 EC 38 27 01 C4 74 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 2C 00 00 00 F4 03 04 00 73 E1 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 3D DF 00 00 35 04 06 00 51 79 F3 E4 45 C3 42 83 B6 FD DF CE F3 8D [08:44: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 73 48 47 00 83 04 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 3D DF 00 00 F4 03 04 00 C1 87 94 66 B6 04 01 00 00 CD 9B 62 24 BA B4 C2 74 [08:44:34]CommunicateWithHost err = 0 [08:44:34]CheckOFDResponse [08:44:34]1017 (14) - 77093643461234 [08:44:34]1041 (16) - 0000000000874857 [08:44:34]1040 (4) - 57149 [08:44:34]1012 (4) - 15.07.2024 02:21 [08:44:34]1206 (1) - 0 [08:44:34]OFD Sender: Remove packet 57149 [08:44:34]ProducePacketName [08:44:34]name=ofd_packets/00057149 [08:44:34]NVStorageDeleteData [08:44:34]Write to MH i2c: 01 00 00 92 0F A1 [08:44:34]Write i2c OK [08:44:34]MH_I2C_Read... [08:44:34]Read from MH i2c: 01 [08:44:34]MH_I2C_Read... [08:44:34]Read from MH i2c: 01 07 00 [08:44:34]MH_I2C_Read... [08:44:34]Read from MH i2c: 01 07 00 92 0F 00 00 00 00 00 10 0D C5 [08:44:34]RasterBufferAndPrint [08:44:34]line [08:44:34]line [08:44:34]line [08:44:34]line [08:44:34]line [08:44:34]written 0, free lines is 3350 [08:44:34]MH_Cut [08:44:34]Write to MH i2c: D1 01 00 99 0F 01 7A [08:44:34]Write i2c OK [08:44:34]MH_I2C_Read... [08:44:34]Read from MH i2c: D1 [08:44:34]MH_I2C_Read... [08:44:34]Read from MH i2c: D1 01 00 [08:44:34]MH_I2C_Read... [08:44:34]Read from MH i2c: D1 01 00 99 0F 00 79 [08:44:34]Write to MH i2c: 01 00 00 9A 0F A9 [08:44:34]Write i2c OK [08:44:34]MH_I2C_Read... [08:44:35]OFD Sender: No OFD packet to send [08:44:35]*** Cut start [08:44:35]*** Partial cut [08:44:35]*** CUTSNS_PIN = 1 [08:44:35]*** CUTSNS_PIN = 0 [08:44:35]*** Brake cut motor [08:44:36]Read from MH i2c: 01 [08:44:36]MH_I2C_Read... [08:44:36]*** Stop cut motor [08:44:36]*** Cut end [08:44:36]Read from MH i2c: 01 07 00 [08:44:36]MH_I2C_Read... [08:44:36]Read from MH i2c: 01 07 00 9A 0F 00 00 00 00 00 FF 0F BE [08:44:36]process_action close_receipt done [08:44:36]requested_data is exist [08:44:36]produce_requested_data [08:44:36]requested_item fm.sn is exist - process it [08:44:36]wFMCommunicate request_size=4 [08:44:36]MH_SAM_APDU [08:44:36]CAPDU: 80 11 00 00 [08:44:36]Write to MH i2c: E2 08 00 9B 0F 80 11 00 00 00 00 00 00 24 [08:44:36]Write i2c OK [08:44:36]MH_I2C_Read... [08:44:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:44:36]Read from MH i2c: E2 [08:44:36]MH_I2C_Read... [08:44:36]Read from MH i2c: E2 17 00 [08:44:36]MH_I2C_Read... [08:44:36]Read from MH i2c: E2 17 00 9B 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 7E [08:44:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [08:44:36]wFMCommunicate OK [08:44:36]requested_item fd.num is exist - process it [08:44:36]SAM_PROTO_GetFieldsCounters [08:44:36]wFMCommunicate request_size=4 [08:44:36]MH_SAM_APDU [08:44:36]CAPDU: 80 13 00 00 [08:44:36]Write to MH i2c: E2 08 00 9C 0F 80 13 00 00 00 00 00 00 27 [08:44:36]Write i2c OK [08:44:36]MH_I2C_Read... [08:44:36]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:44:36]Read from MH i2c: E2 [08:44:36]MH_I2C_Read... [08:44:36]Read from MH i2c: E2 62 00 [08:44:36]MH_I2C_Read... [08:44:36]Read from MH i2c: E2 62 00 9C 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 3D DF 00 00 0E 04 04 00 F1 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 DC [08:44: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 3D DF 00 00 0E 04 04 00 F1 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:44:36]wFMCommunicate OK [08:44:36]SAM_PROTO_GetFieldsCounters done [08:44:36]requested_item shift.num is exist - process it [08:44:36]requested_item shift.opened is exist - process it [08:44:36]req_shift_opened [08:44:36]FM_GetShiftState [08:44:36]SAM_PROTO_GetShiftState [08:44:36]wFMCommunicate request_size=4 [08:44:36]MH_SAM_APDU [08:44:36]CAPDU: 80 13 01 00 [08:44:36]Write to MH i2c: E2 08 00 9D 0F 80 13 01 00 00 00 00 00 29 [08:44:36]Write i2c OK [08:44:36]MH_I2C_Read... [08:44:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:44:36]Read from MH i2c: E2 [08:44:36]MH_I2C_Read... [08:44:36]Read from MH i2c: E2 0E 00 [08:44:36]MH_I2C_Read... [08:44:36]Read from MH i2c: E2 0E 00 9D 0F 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 A2 [08:44:36]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [08:44:36]wFMCommunicate OK [08:44:36]SAM_PROTO_GetShiftState done [08:44:36]FM_GetShiftState done [08:44:36]req_shift_opened done [08:44:36]requested_item shift.open_date is exist - process it [08:44:36]req_shift_open_date [08:44:36]req_shift_open_date done [08:44:36]requested_item shift.sale.total is exist - process it [08:44:36]SAM_PROTO_GetShiftData [08:44:36]wFMCommunicate request_size=4 [08:44:36]MH_SAM_APDU [08:44:36]CAPDU: 80 13 02 00 [08:44:36]Write to MH i2c: E2 08 00 9E 0F 80 13 02 00 00 00 00 00 2B [08:44:36]Write i2c OK [08:44:36]MH_I2C_Read... [08:44:36]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [08:44:36]Read from MH i2c: E2 [08:44:36]MH_I2C_Read... [08:44:36]Read from MH i2c: E2 FD 00 [08:44:36]MH_I2C_Read... [08:44:36]Read from MH i2c: E2 FD 00 9E 0F 00 B6 04 AA 04 B2 04 6E 04 04 00 2C 00 00 00 69 04 9B 00 6F 04 04 00 2B 00 00 00 B1 04 03 00 0D 7A 10 70 04 03 00 F8 65 0B 72 04 03 00 15 14 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 E9 BF 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 52 25 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 31 [08:44:36]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 2C 00 00 00 69 04 9B 00 6F 04 04 00 2B 00 00 00 B1 04 03 00 0D 7A 10 70 04 03 00 F8 65 0B 72 04 03 00 15 14 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 E9 BF 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 52 25 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 [08:44:36]wFMCommunicate OK [08:44:36]wFMCommunicate request_size=4 [08:44:36]MH_SAM_APDU [08:44:36]CAPDU: 80 17 00 00 [08:44:36]Write to MH i2c: E2 08 00 9F 0F 80 17 00 00 00 00 00 00 2E [08:44:36]Write i2c OK [08:44:36]MH_I2C_Read... [08:44:37]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:44:37]Read from MH i2c: E2 [08:44:37]MH_I2C_Read... [08:44:37]Read from MH i2c: E2 FD 00 [08:44:37]MH_I2C_Read... [08:44:37]Read from MH i2c: E2 FD 00 9F 0F 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 63 [08:44:37]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 [08:44:37]wFMCommunicate OK [08:44:37]wFMCommunicate request_size=4 [08:44:37]MH_SAM_APDU [08:44:37]CAPDU: 80 17 00 00 [08:44:37]Write to MH i2c: E2 08 00 A0 0F 80 17 00 00 00 00 00 00 2F [08:44:37]Write i2c OK [08:44:37]MH_I2C_Read... [08:44:37]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:44:37]Read from MH i2c: E2 [08:44:37]MH_I2C_Read... [08:44:37]Read from MH i2c: E2 FD 00 [08:44:37]MH_I2C_Read... [08:44:37]Read from MH i2c: E2 FD 00 A0 0F 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 EF [08:44:37]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 [08:44:37]wFMCommunicate OK [08:44:37]wFMCommunicate request_size=4 [08:44:37]MH_SAM_APDU [08:44:37]CAPDU: 80 17 00 00 [08:44:37]Write to MH i2c: E2 08 00 A1 0F 80 17 00 00 00 00 00 00 30 [08:44:37]Write i2c OK [08:44:37]MH_I2C_Read... [08:44:37]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:44:37]Read from MH i2c: E2 [08:44:37]MH_I2C_Read... [08:44:37]Read from MH i2c: E2 FD 00 [08:44:37]MH_I2C_Read... [08:44:37]Read from MH i2c: E2 FD 00 A1 0F 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 9F [08:44:37]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 [08:44:37]wFMCommunicate OK [08:44:37]wFMCommunicate request_size=4 [08:44:37]MH_SAM_APDU [08:44:37]CAPDU: 80 17 00 00 [08:44:37]Write to MH i2c: E2 08 00 A2 0F 80 17 00 00 00 00 00 00 31 [08:44:37]Write i2c OK [08:44:37]MH_I2C_Read... [08:44:38]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [08:44:38]Read from MH i2c: E2 [08:44:38]MH_I2C_Read... [08:44:38]Read from MH i2c: E2 D3 00 [08:44:38]MH_I2C_Read... [08:44:38]Read from MH i2c: E2 D3 00 A2 0F 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 1E [08:44:38]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 [08:44:38]wFMCommunicate OK [08:44:38]SAM_PROTO_GetShiftData done [08:44:38]requested_item shift.sale.total_cash is exist - process it [08:44:38]requested_item shift.sale_refund.total is exist - process it [08:44:38]requested_item shift.sale_refund.total_cash is exist - process it [08:44:38]produce_requested_data done [08:44:38]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57149,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":10798.21,"shift.sale.total_cash":7470.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [08:44:38]process_action_free close_receipt [08:44:38]json_value_free [08:44:38]json_value_free done [08:44:38]process_json_proto returns [08:44:38]Send response to host [08:44:38]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57149,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":10798.21,"shift.sale.total_cash":7470.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [08:44:38]free response buf [08:44:38]execute_script done [08:44:38]execute_script returns [08:44:38]free content buf [08:44:38]Sock 9.Close socket [08:44:38]Sock 9.Thread stoped [08:44:40]OFD Sender: No OFD packet to send [08:44:45]OFD Sender: No OFD packet to send [08:44:50]OFD Sender: No OFD packet to send [08:44:55]OFD Sender: No OFD packet to send [08:45:00]OFD Sender: No OFD packet to send [08:45:05]OFD Sender: No OFD packet to send [08:45:10]OFD Sender: No OFD packet to send [08:45:15]OFD Sender: No OFD packet to send [08:45:20]OFD Sender: No OFD packet to send [08:45:25]OFD Sender: No OFD packet to send [08:45:30]OFD Sender: No OFD packet to send [08:45:35]OFD Sender: No OFD packet to send [08:45:40]OFD Sender: No OFD packet to send [08:45:45]OFD Sender: No OFD packet to send [08:45:47]accept exits with 8 [08:45:47]New connection [08:45:47]New thread 3066924388 created [08:45:47]Thread 3067067748 joined [08:45:47]Waiting for new connection... [08:45:47] Sock 8.Parse request [08:45:47]Sock 8.Check first char [08:45:47]Sock 8.First char is OK [08:45:47]request: POST /json_proto HTTP/1.0 [08:45:47]Method: POST [08:45:47]URL: /json_proto [08:45:47]Method is POST - this is cgi request [08:45:47]url: /json_proto [08:45:47]query_string will be loaded in cgi processing [08:45:47]execute_cgi json_proto POST (null) [08:45:47]execute_cgi path=json_proto method=POST [08:45:47]POST find Content-Length [08:45:47]Host: 172.17.39.4:8080 [08:45:47]Content-Length: 986 [08:45:47]Content-Type: application/json [08:45:47] [08:45:47]POST finish read [08:45:47]Found Content-Length = 986 [08:45:47]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129604", "tax_sys" : 0, "items" : [ { "code": "46254955", "name": "\u0414\u0440\u0430\u0436\u0435 mentos \u0436\u0435\u0432 fresh cola \u0440\u043E\u043B\u043B 37\u0433", "price" : 75.00, "quantity" : 1.000, "sum" : 75.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" : 186.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:45:47]execute_script... [08:45: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)129604", "tax_sys" : 0, "items" : [ { "code": "46254955", "name": "\u0414\u0440\u0430\u0436\u0435 mentos \u0436\u0435\u0432 fresh cola \u0440\u043E\u043B\u043B 37\u0433", "price" : 75.00, "quantity" : 1.000, "sum" : 75.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" : 186.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:45:47]POST & json_proto [08:45:47]process_json_proto [08:45:47]json parsed OK: [08:45:47]protocol is kg_v1.0 [08:45:47]action value=close_receipt [08:45:47]process_action close_receipt [08:45:47]cmd_close_receipt [08:45:47]MH_GetDate [08:45:47]Write to MH i2c: F0 00 00 A3 0F A1 [08:45:47]Write i2c OK [08:45:47]MH_I2C_Read... [08:45:47]Read from MH i2c: F0 [08:45:47]MH_I2C_Read... [08:45:47]Read from MH i2c: F0 09 00 [08:45:47]MH_I2C_Read... [08:45:47]Read from MH i2c: F0 09 00 A3 0F 00 BD E1 94 66 2D 25 5D 64 55 [08:45:47]GetLastDocTimeStamp 1721033075 [08:45:47]current date 1721033149 [08:45:47]FM_GetShiftState [08:45:47]SAM_PROTO_GetShiftState [08:45:47]wFMCommunicate request_size=4 [08:45:47]MH_SAM_APDU [08:45:47]CAPDU: 80 13 01 00 [08:45:47]Write to MH i2c: E2 08 00 A4 0F 80 13 01 00 00 00 00 00 30 [08:45:47]Write i2c OK [08:45:47]MH_I2C_Read... [08:45:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:45:47]Read from MH i2c: E2 [08:45:47]MH_I2C_Read... [08:45:47]Read from MH i2c: E2 0E 00 [08:45:47]MH_I2C_Read... [08:45:47]Read from MH i2c: E2 0E 00 A4 0F 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 A9 [08:45:47]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [08:45:47]wFMCommunicate OK [08:45:47]SAM_PROTO_GetShiftState done [08:45:47]FM_GetShiftState done [08:45:47]opened in 1721003525 [08:45:47]opened+sec_in_day 1721089925 [08:45:47]quantity*price = 7500 [08:45:47]sum+1 = 7501 [08:45:47]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4870001570071 Напиток Pepsi 1л 1.000 * 111.00 = 111.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 186.00 НСП 1% : 1.64 НДС 12% : 19.75 Наличными: 186.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 45 15.07.2024 08:45 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57150 ФПД: 204735970941394 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T084549&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57150&fm=204735970941394&tin=02508201610067®Number=0000000000091208&sum=18600 0 [08:45:48]StoreToDocumentArchive [08:45:48]shift 497 fd 57150 [08:45:48]save to /storage/0497/doc_00057150 [08:45:48]save last doc name /storage/0497/doc_00057150 to /storage/kkm_last_doc_name [08:45:48]save OK [08:45:48]Clear old archive folders... [08:45:48]ProcessDocumentItem done err = 0, tmpTLVsize=382 [08:45:48]tlvbuf is 0095B090 [08:45:48]SAM_PROTO_ClearQueue [08:45:48]wFMCommunicate request_size=4 [08:45:48]MH_SAM_APDU [08:45:48]CAPDU: 80 09 00 00 [08:45:48]Write to MH i2c: E2 08 00 B1 0F 80 09 00 00 00 00 00 00 32 [08:45:48]Write i2c OK [08:45:48]MH_I2C_Read... [08:45:48]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:45:48]Read from MH i2c: E2 [08:45:48]MH_I2C_Read... [08:45:48]Read from MH i2c: E2 03 00 [08:45:48]MH_I2C_Read... [08:45:48]Read from MH i2c: E2 03 00 B1 0F 00 90 00 34 [08:45:48]RAPDU: 90 00 [08:45:48]wFMCommunicate OK [08:45:48]SAM_PROTO_ClearQueue done [08:45:48]KKMCreateOFDPacket [08:45:48]OFDProtocolAddRootSTLVToBuf [08:45:48]FM_MakeSignedData [08:45:48]FM_MakeSignedData [08:45:48]SAM_PROTO_SignData [08:45:48]wFMCommunicate request_size=4 [08:45:48]MH_SAM_APDU [08:45:48]CAPDU: 80 0D 01 02 [08:45:48]Write to MH i2c: E2 08 00 B2 0F 80 0D 01 02 00 00 00 00 3A [08:45:48]Write i2c OK [08:45:48]MH_I2C_Read... [08:45:48]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:45:48]Read from MH i2c: E2 [08:45:48]MH_I2C_Read... [08:45:48]Read from MH i2c: E2 03 00 [08:45:48]MH_I2C_Read... [08:45:48]Read from MH i2c: E2 03 00 B2 0F 00 90 00 35 [08:45:48]RAPDU: 90 00 [08:45:48]wFMCommunicate OK [08:45:48]wFMCommunicate request_size=255 [08:45:48]MH_SAM_APDU [08:45:48]CAPDU: 80 0D 02 02 FA 03 00 7E 01 1E 04 01 00 01 23 04 70 00 8A 04 08 00 34 36 32 35 34 39 35 35 06 04 31 00 D0 94 D1 80 D0 B0 D0 B6 D0 B5 20 6D 65 6E 74 6F 73 20 D0 B6 D0 B5 D0 B2 20 66 72 65 73 68 20 63 6F 6C 61 20 D1 80 D0 BE D0 BB D0 BB 20 33 37 D0 B3 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 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 A8 48 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A4 00 [08:45:48]Write to MH i2c: E2 02 01 B3 0F 80 0D 02 02 FA 00 03 00 7E 01 1E 04 01 00 01 23 04 70 00 8A 04 08 00 34 36 32 35 34 39 35 35 06 04 31 00 D0 94 D1 80 D0 B0 D0 B6 D0 B5 20 6D 65 6E 74 6F 73 20 D0 B6 D0 B5 D0 B2 20 66 72 65 73 68 20 63 6F 6C 61 20 D1 80 D0 BE D0 BB D0 BB 20 33 37 D0 B3 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 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 A8 48 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A4 00 00 00 84 [08:45:48]Write i2c OK [08:45:48]MH_I2C_Read... [08:45:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:45:48]Read from MH i2c: E2 [08:45:48]MH_I2C_Read... [08:45:48]Read from MH i2c: E2 03 00 [08:45:48]MH_I2C_Read... [08:45:48]Read from MH i2c: E2 03 00 B3 0F 00 90 00 36 [08:45:48]RAPDU: 90 00 [08:45:48]wFMCommunicate OK [08:45:48]wFMCommunicate request_size=141 [08:45:48]MH_SAM_APDU [08:45:48]CAPDU: 80 0D 02 02 88 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B7 07 00 00 00 00 07 04 06 00 A8 48 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 BD E1 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 3E DF 00 00 35 04 06 00 BA 34 CE D2 19 D2 [08:45:48]Write to MH i2c: E2 90 00 B4 0F 80 0D 02 02 88 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B7 07 00 00 00 00 07 04 06 00 A8 48 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 BD E1 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 3E DF 00 00 35 04 06 00 BA 34 CE D2 19 D2 00 00 77 [08:45:48]Write i2c OK [08:45:48]MH_I2C_Read... [08:45:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:45:48]Read from MH i2c: E2 [08:45:48]MH_I2C_Read... [08:45:48]Read from MH i2c: E2 03 00 [08:45:48]MH_I2C_Read... [08:45:48]Read from MH i2c: E2 03 00 B4 0F 00 90 00 37 [08:45:48]RAPDU: 90 00 [08:45:48]wFMCommunicate OK [08:45:48]wFMCommunicate request_size=4 [08:45:48]MH_SAM_APDU [08:45:48]CAPDU: 80 0D 03 02 [08:45:48]Write to MH i2c: E2 08 00 B5 0F 80 0D 03 02 00 00 00 00 3F [08:45:48]Write i2c OK [08:45:48]MH_I2C_Read... [08:45:48]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:45:48]Read from MH i2c: E2 [08:45:48]MH_I2C_Read... [08:45:48]Read from MH i2c: E2 0B 00 [08:45:48]MH_I2C_Read... [08:45:48]Read from MH i2c: E2 0B 00 B5 0F 00 86 9F 1A 00 83 CD 8C A6 90 00 01 [08:45:48]RAPDU: 86 9F 1A 00 83 CD 8C A6 90 00 [08:45:48]wFMCommunicate OK [08:45:48]SAM_PROTO_SignData done [08:45:48]FM_MakeSignedData done [08:45:48]CreateOFDProtocolMessage [08:45:48]wFMCommunicate request_size=4 [08:45:48]MH_SAM_APDU [08:45:48]CAPDU: 80 11 00 00 [08:45:48]Write to MH i2c: E2 08 00 B6 0F 80 11 00 00 00 00 00 00 3F [08:45:48]Write i2c OK [08:45:48]MH_I2C_Read... [08:45:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:45:48]Read from MH i2c: E2 [08:45:48]MH_I2C_Read... [08:45:48]Read from MH i2c: E2 17 00 [08:45:48]MH_I2C_Read... [08:45:48]Read from MH i2c: E2 17 00 B6 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 99 [08:45:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [08:45:48]wFMCommunicate OK [08:45:48]CreateOFDProtocolMessage done [08:45:48]OFDSenderStorePacket 57150 [08:45:48]StoreOFDPacket docnum=57150 [08:45: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 92 01 00 00 82 A0 8A 01 D4 B9 5A 03 01 00 03 00 7E 01 1E 04 01 00 01 23 04 70 00 8A 04 08 00 34 36 32 35 34 39 35 35 06 04 31 00 D0 94 D1 80 D0 B0 D0 B6 D0 B5 20 6D 65 6E 74 6F 73 20 D0 B6 D0 B5 D0 B2 20 66 72 65 73 68 20 63 6F 6C 61 20 D1 80 D0 BE D0 BB D0 BB 20 33 37 D0 B3 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 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 A8 48 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A4 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B7 07 00 00 00 00 07 04 06 00 A8 48 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 BD E1 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 3E DF 00 00 35 04 06 00 BA 34 CE D2 19 D2 86 9F 1A 00 83 CD 8C A6 [08:45:48]CheckFolder [08:45:48]dirname=/storage/ofd_packets [08:45:48]CheckFolder done [08:45:48]ProducePacketName [08:45:48]name=ofd_packets/00057150 [08:45:48]NVStorageSaveData ofd_packets/00057150 [08:45:48]File name is /storage/ofd_packets/00057150 [08:45:48]Write 432 bytes [08:45:48]NVStorageSaveData done [08:45:48]OFDSenderStorePacket done [08:45:48]KKMCreateOFDPacket done [08:45:48]NVStorageSaveData kkm_last_timestamp [08:45:48]File name is /storage/kkm_last_timestamp [08:45:48]Write 4 bytes [08:45:48]NVStorageSaveData done [08:45:48]ExternCall_PrintAddStr [08:45:48]wPrintStart [08:45:48]Write to MH i2c: 01 00 00 B7 0F C6 [08:45:48]Write i2c OK [08:45:48]MH_I2C_Read... [08:45:48]Read from MH i2c: 01 [08:45:48]MH_I2C_Read... [08:45:48]Read from MH i2c: 01 07 00 [08:45:48]MH_I2C_Read... [08:45:48]Read from MH i2c: 01 07 00 B7 0F 00 00 00 00 00 FF 0F DB [08:45:48]RasterBufferAndPrint [08:45:48]line Счет N : (3)129604 [08:45:48]line ИНН: 02508201610067 [08:45:48]line Контрольно-Кассовый Чек [08:45:48]line ПРОДАЖА [08:45:48]line Товар: 46254955 [08:45:48]line Драже mentos жев fresh cola ролл 37г [08:45:48]line 1.000 * 75.00 [08:45:48]line = 75.00 [08:45:48]line НДС 12% НСП 1% [08:45:48]line > о реализуемом товаре [08:45:48]line Товар: 4870001570071 [08:45:48]line Напиток Pepsi 1л [08:45:48]line 1.000 * 111.00 [08:45:49]line = 111.00 [08:45:49]line НДС 12% НСП 1% [08:45:49]line > о реализуемом товаре [08:45:49]line ИТОГО: 186.00 [08:45:49]line НСП 1% : 1.64 [08:45:49]line НДС 12% : 19.75 [08:45:49]line Наличными: 186.00 [08:45:49]line Безнал.: 0.00 [08:45:49]line Место: АЗС № 132 "Партнер Нефть" [08:45:49]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [08:45:49]line СНО: Общий режим [08:45:49]line Чек 45 15.07.2024 08:45 [08:45:49]line Смена: 497 ФФД: 1.0 [08:45:49]line ЗНМ: 0300000132 [08:45:49]line РНМ: 0000000000091208 [08:45:49]line Версия ККМ: 001 [08:45:49]line ФМ: 0000000000874857 [08:45:49]line ФД: 57150 [08:45:49]line ФПД: 204735970941394 [08:45:49]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T084549&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57150&fm=204735970941394&tin=02508201610067®Number=0000000000091208&sum=18600 [08:45:49]line 0 [08:45:49]OFD Sender: Processing packet 57150 [packets to send 38, broken 37] [08:45:49]ProducePacketName [08:45:49]name=ofd_packets/00057150 [08:45:49]OFD Sender: To server: pG, [08:45:49]CommunicateWithHost lk.salyk.kg:30040 [08:45:49]ConnectInit lk.salyk.kg [08:45:49]written 0, free lines is 4095 [08:45:49]Connected sock=10 [08: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 92 01 00 00 82 A0 8A 01 D4 B9 5A 03 01 00 03 00 7E 01 1E 04 01 00 01 23 04 70 00 8A 04 08 00 34 36 32 35 34 39 35 35 06 04 31 00 D0 94 D1 80 D0 B0 D0 B6 D0 B5 20 6D 65 6E 74 6F 73 20 D0 B6 D0 B5 D0 B2 20 66 72 65 73 68 20 63 6F 6C 61 20 D1 80 D0 BE D0 BB D0 BB 20 33 37 D0 B3 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 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 A8 48 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A4 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B7 07 00 00 00 00 07 04 06 00 A8 48 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 BD E1 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 3E DF 00 00 35 04 06 00 BA 34 CE D2 19 D2 86 9F 1A 00 83 CD 8C A6 [08: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 8A 4E 47 00 10 48 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 3E DF 00 00 F4 03 04 00 0C 88 94 66 B6 04 01 00 00 9D 8E AC 75 0D E9 99 97 [08:45:49]CommunicateWithHost err = 0 [08:45:49]CheckOFDResponse [08:45:49]1017 (14) - 77093643461234 [08:45:49]1041 (16) - 0000000000874857 [08:45:49]1040 (4) - 57150 [08:45:49]1012 (4) - 15.07.2024 02:23 [08:45:49]1206 (1) - 0 [08:45:49]OFD Sender: Remove packet 57150 [08:45:49]ProducePacketName [08:45:49]name=ofd_packets/00057150 [08:45:49]NVStorageDeleteData [08:45:49]Write to MH i2c: 01 00 00 E6 0F F5 [08:45:49]Write i2c OK [08:45:49]MH_I2C_Read... [08:45:49]Read from MH i2c: 01 [08:45:49]MH_I2C_Read... [08:45:49]Read from MH i2c: 01 07 00 [08:45:49]MH_I2C_Read... [08:45:49]Read from MH i2c: 01 07 00 E6 0F 00 00 00 00 00 A0 0C A8 [08:45:49]RasterBufferAndPrint [08:45:49]line [08:45:49]line [08:45:49]line [08:45:49]line [08:45:49]line [08:45:49]written 0, free lines is 3239 [08:45:49]MH_Cut [08:45:49]Write to MH i2c: D1 01 00 ED 0F 01 CE [08:45:49]Write i2c OK [08:45:49]MH_I2C_Read... [08:45:49]Read from MH i2c: D1 [08:45:49]MH_I2C_Read... [08:45:49]Read from MH i2c: D1 01 00 [08:45:49]MH_I2C_Read... [08:45:49]Read from MH i2c: D1 01 00 ED 0F 00 CD [08:45:49]Write to MH i2c: 01 00 00 EE 0F FD [08:45:49]Write i2c OK [08:45:49]MH_I2C_Read... [08:45:50]OFD Sender: No OFD packet to send [08:45:50]*** Cut start [08:45:50]*** Partial cut [08:45:50]*** CUTSNS_PIN = 1 [08:45:50]*** CUTSNS_PIN = 0 [08:45:50]*** Brake cut motor [08:45:51]Read from MH i2c: 01 [08:45:51]MH_I2C_Read... [08:45:51]*** Stop cut motor [08:45:51]*** Cut end [08:45:51]Read from MH i2c: 01 07 00 [08:45:51]MH_I2C_Read... [08:45:51]Read from MH i2c: 01 07 00 EE 0F 00 00 00 00 00 FF 0F 12 [08:45:51]process_action close_receipt done [08:45:51]requested_data is exist [08:45:51]produce_requested_data [08:45:51]requested_item fm.sn is exist - process it [08:45:51]wFMCommunicate request_size=4 [08:45:51]MH_SAM_APDU [08:45:51]CAPDU: 80 11 00 00 [08:45:51]Write to MH i2c: E2 08 00 EF 0F 80 11 00 00 00 00 00 00 78 [08:45:51]Write i2c OK [08:45:51]MH_I2C_Read... [08:45:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:45:51]Read from MH i2c: E2 [08:45:51]MH_I2C_Read... [08:45:51]Read from MH i2c: E2 17 00 [08:45:51]MH_I2C_Read... [08:45:51]Read from MH i2c: E2 17 00 EF 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 D2 [08: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 [08:45:51]wFMCommunicate OK [08:45:51]requested_item fd.num is exist - process it [08:45:51]SAM_PROTO_GetFieldsCounters [08:45:51]wFMCommunicate request_size=4 [08:45:51]MH_SAM_APDU [08:45:51]CAPDU: 80 13 00 00 [08:45:51]Write to MH i2c: E2 08 00 F0 0F 80 13 00 00 00 00 00 00 7B [08:45:51]Write i2c OK [08:45:51]MH_I2C_Read... [08:45:51]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:45:51]Read from MH i2c: E2 [08:45:51]MH_I2C_Read... [08:45:51]Read from MH i2c: E2 62 00 [08:45:51]MH_I2C_Read... [08:45:51]Read from MH i2c: E2 62 00 F0 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 3E DF 00 00 0E 04 04 00 F1 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 34 [08: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 3E DF 00 00 0E 04 04 00 F1 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:45:51]wFMCommunicate OK [08:45:51]SAM_PROTO_GetFieldsCounters done [08:45:51]requested_item shift.num is exist - process it [08:45:51]requested_item shift.opened is exist - process it [08:45:51]req_shift_opened [08:45:51]FM_GetShiftState [08:45:51]SAM_PROTO_GetShiftState [08:45:51]wFMCommunicate request_size=4 [08:45:51]MH_SAM_APDU [08:45:51]CAPDU: 80 13 01 00 [08:45:51]Write to MH i2c: E2 08 00 F1 0F 80 13 01 00 00 00 00 00 7D [08:45:51]Write i2c OK [08:45:51]MH_I2C_Read... [08:45:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:45:51]Read from MH i2c: E2 [08:45:51]MH_I2C_Read... [08:45:51]Read from MH i2c: E2 0E 00 [08:45:51]MH_I2C_Read... [08:45:51]Read from MH i2c: E2 0E 00 F1 0F 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 F6 [08:45:51]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [08:45:51]wFMCommunicate OK [08:45:51]SAM_PROTO_GetShiftState done [08:45:51]FM_GetShiftState done [08:45:51]req_shift_opened done [08:45:51]requested_item shift.open_date is exist - process it [08:45:51]req_shift_open_date [08:45:51]req_shift_open_date done [08:45:51]requested_item shift.sale.total is exist - process it [08:45:51]SAM_PROTO_GetShiftData [08:45:51]wFMCommunicate request_size=4 [08:45:51]MH_SAM_APDU [08:45:51]CAPDU: 80 13 02 00 [08:45:51]Write to MH i2c: E2 08 00 F2 0F 80 13 02 00 00 00 00 00 7F [08:45:51]Write i2c OK [08:45:51]MH_I2C_Read... [08:45:51]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [08:45:51]Read from MH i2c: E2 [08:45:51]MH_I2C_Read... [08:45:51]Read from MH i2c: E2 FD 00 [08:45:51]MH_I2C_Read... [08:45:51]Read from MH i2c: E2 FD 00 F2 0F 00 B6 04 AA 04 B2 04 6E 04 04 00 2D 00 00 00 69 04 9B 00 6F 04 04 00 2C 00 00 00 B1 04 03 00 B5 C2 10 70 04 03 00 A0 AE 0B 72 04 03 00 15 14 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 A0 C7 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 F6 25 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 CB [08:45:51]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 2D 00 00 00 69 04 9B 00 6F 04 04 00 2C 00 00 00 B1 04 03 00 B5 C2 10 70 04 03 00 A0 AE 0B 72 04 03 00 15 14 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 A0 C7 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 F6 25 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 [08:45:51]wFMCommunicate OK [08:45:51]wFMCommunicate request_size=4 [08:45:51]MH_SAM_APDU [08:45:51]CAPDU: 80 17 00 00 [08:45:51]Write to MH i2c: E2 08 00 F3 0F 80 17 00 00 00 00 00 00 82 [08:45:51]Write i2c OK [08:45:51]MH_I2C_Read... [08:45:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:45:52]Read from MH i2c: E2 [08:45:52]MH_I2C_Read... [08:45:52]Read from MH i2c: E2 FD 00 [08:45:52]MH_I2C_Read... [08:45:52]Read from MH i2c: E2 FD 00 F3 0F 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 B7 [08:45:52]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 [08:45:52]wFMCommunicate OK [08:45:52]wFMCommunicate request_size=4 [08:45:52]MH_SAM_APDU [08:45:52]CAPDU: 80 17 00 00 [08:45:52]Write to MH i2c: E2 08 00 F4 0F 80 17 00 00 00 00 00 00 83 [08:45:52]Write i2c OK [08:45:52]MH_I2C_Read... [08:45:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:45:52]Read from MH i2c: E2 [08:45:52]MH_I2C_Read... [08:45:52]Read from MH i2c: E2 FD 00 [08:45:52]MH_I2C_Read... [08:45:52]Read from MH i2c: E2 FD 00 F4 0F 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 43 [08:45:52]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 [08:45:52]wFMCommunicate OK [08:45:52]wFMCommunicate request_size=4 [08:45:52]MH_SAM_APDU [08:45:52]CAPDU: 80 17 00 00 [08:45:52]Write to MH i2c: E2 08 00 F5 0F 80 17 00 00 00 00 00 00 84 [08:45:52]Write i2c OK [08:45:52]MH_I2C_Read... [08:45:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:45:52]Read from MH i2c: E2 [08:45:52]MH_I2C_Read... [08:45:52]Read from MH i2c: E2 FD 00 [08:45:52]MH_I2C_Read... [08:45:52]Read from MH i2c: E2 FD 00 F5 0F 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 F3 [08:45:52]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 [08:45:52]wFMCommunicate OK [08:45:52]wFMCommunicate request_size=4 [08:45:52]MH_SAM_APDU [08:45:52]CAPDU: 80 17 00 00 [08:45:52]Write to MH i2c: E2 08 00 F6 0F 80 17 00 00 00 00 00 00 85 [08:45:52]Write i2c OK [08:45:52]MH_I2C_Read... [08:45:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [08:45:53]Read from MH i2c: E2 [08:45:53]MH_I2C_Read... [08:45:53]Read from MH i2c: E2 D3 00 [08:45:53]MH_I2C_Read... [08:45:53]Read from MH i2c: E2 D3 00 F6 0F 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 72 [08:45:53]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 [08:45:53]wFMCommunicate OK [08:45:53]SAM_PROTO_GetShiftData done [08:45:53]requested_item shift.sale.total_cash is exist - process it [08:45:53]requested_item shift.sale_refund.total is exist - process it [08:45:53]requested_item shift.sale_refund.total_cash is exist - process it [08:45:53]produce_requested_data done [08:45:53]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57150,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":10984.21,"shift.sale.total_cash":7656.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [08:45:53]process_action_free close_receipt [08:45:53]json_value_free [08:45:53]json_value_free done [08:45:53]process_json_proto returns [08:45:53]Send response to host [08:45:53]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57150,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":10984.21,"shift.sale.total_cash":7656.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [08:45:53]free response buf [08:45:53]execute_script done [08:45:53]execute_script returns [08:45:53]free content buf [08:45:53]Sock 8.Close socket [08:45:53]Sock 8.Thread stoped [08:45:55]OFD Sender: No OFD packet to send [08:46:00]OFD Sender: No OFD packet to send [08:46:05]OFD Sender: No OFD packet to send [08:46:10]OFD Sender: No OFD packet to send [08:46:15]OFD Sender: No OFD packet to send [08:46:20]OFD Sender: No OFD packet to send [08:46:25]OFD Sender: No OFD packet to send [08:46:30]OFD Sender: No OFD packet to send [08:46:35]OFD Sender: No OFD packet to send [08:46:40]OFD Sender: No OFD packet to send [08:46:45]OFD Sender: No OFD packet to send [08:46:50]OFD Sender: No OFD packet to send [08:46:55]OFD Sender: No OFD packet to send [08:47:00]OFD Sender: No OFD packet to send [08:47:05]OFD Sender: No OFD packet to send [08:47:10]OFD Sender: No OFD packet to send [08:47:15]OFD Sender: No OFD packet to send [08:47:20]OFD Sender: No OFD packet to send [08:47:25]OFD Sender: No OFD packet to send [08:47:30]OFD Sender: No OFD packet to send [08:47:35]OFD Sender: No OFD packet to send [08:47:40]OFD Sender: No OFD packet to send [08:47:45]OFD Sender: No OFD packet to send [08:47:50]OFD Sender: No OFD packet to send [08:47:55]OFD Sender: No OFD packet to send [08:48:00]OFD Sender: No OFD packet to send [08:48:05]OFD Sender: No OFD packet to send [08:48:10]OFD Sender: No OFD packet to send [08:48:15]OFD Sender: No OFD packet to send [08:48:20]OFD Sender: No OFD packet to send [08:48:25]OFD Sender: No OFD packet to send [08:48:30]OFD Sender: No OFD packet to send [08:48:35]OFD Sender: No OFD packet to send [08:48:40]OFD Sender: No OFD packet to send [08:48:45]OFD Sender: No OFD packet to send [08:48:50]OFD Sender: No OFD packet to send [08:48:55]OFD Sender: No OFD packet to send [08:49:00]OFD Sender: No OFD packet to send [08:49:05]OFD Sender: No OFD packet to send [08:49:10]OFD Sender: No OFD packet to send [08:49:15]OFD Sender: No OFD packet to send [08:49:20]OFD Sender: No OFD packet to send [08:49:25]OFD Sender: No OFD packet to send [08:49:30]OFD Sender: No OFD packet to send [08:49:35]OFD Sender: No OFD packet to send [08:49:40]OFD Sender: No OFD packet to send [08:49:45]OFD Sender: No OFD packet to send [08:49:50]OFD Sender: No OFD packet to send [08:49:55]OFD Sender: No OFD packet to send [08:50:00]OFD Sender: No OFD packet to send [08:50:05]OFD Sender: No OFD packet to send [08:50:10]OFD Sender: No OFD packet to send [08:50:15]OFD Sender: No OFD packet to send [08:50:20]OFD Sender: No OFD packet to send [08:50:25]OFD Sender: No OFD packet to send [08:50:30]OFD Sender: No OFD packet to send [08:50:35]OFD Sender: No OFD packet to send [08:50:40]OFD Sender: No OFD packet to send [08:50:45]OFD Sender: No OFD packet to send [08:50:50]OFD Sender: No OFD packet to send [08:50:55]OFD Sender: No OFD packet to send [08:51:00]OFD Sender: No OFD packet to send [08:51:05]OFD Sender: No OFD packet to send [08:51:10]OFD Sender: No OFD packet to send [08:51:15]OFD Sender: No OFD packet to send [08:51:20]OFD Sender: No OFD packet to send [08:51:25]OFD Sender: No OFD packet to send [08:51:30]OFD Sender: No OFD packet to send [08:51:35]OFD Sender: No OFD packet to send [08:51:40]OFD Sender: No OFD packet to send [08:51:45]OFD Sender: No OFD packet to send [08:51:50]OFD Sender: No OFD packet to send [08:51:55]OFD Sender: No OFD packet to send [08:52:00]OFD Sender: No OFD packet to send [08:52:05]OFD Sender: No OFD packet to send [08:52:10]OFD Sender: No OFD packet to send [08:52:15]OFD Sender: No OFD packet to send [08:52:20]OFD Sender: No OFD packet to send [08:52:25]OFD Sender: No OFD packet to send [08:52:30]OFD Sender: No OFD packet to send [08:52:35]OFD Sender: No OFD packet to send [08:52:40]OFD Sender: No OFD packet to send [08:52:45]OFD Sender: No OFD packet to send [08:52:50]OFD Sender: No OFD packet to send [08:52:55]OFD Sender: No OFD packet to send [08:53:00]OFD Sender: No OFD packet to send [08:53:05]OFD Sender: No OFD packet to send [08:53:10]OFD Sender: No OFD packet to send [08:53:15]OFD Sender: No OFD packet to send [08:53:20]OFD Sender: No OFD packet to send [08:53:25]OFD Sender: No OFD packet to send [08:53:30]OFD Sender: No OFD packet to send [08:53:35]OFD Sender: No OFD packet to send [08:53:40]OFD Sender: No OFD packet to send [08:53:45]OFD Sender: No OFD packet to send [08:53:50]OFD Sender: No OFD packet to send [08:53:55]OFD Sender: No OFD packet to send [08:54:00]OFD Sender: No OFD packet to send [08:54:05]OFD Sender: No OFD packet to send [08:54:10]OFD Sender: No OFD packet to send [08:54:15]OFD Sender: No OFD packet to send [08:54:20]OFD Sender: No OFD packet to send [08:54:25]OFD Sender: No OFD packet to send [08:54:30]OFD Sender: No OFD packet to send [08:54:35]OFD Sender: No OFD packet to send [08:54:40]OFD Sender: No OFD packet to send [08:54:45]OFD Sender: No OFD packet to send [08:54:50]OFD Sender: No OFD packet to send [08:54:55]OFD Sender: No OFD packet to send [08:55:00]OFD Sender: No OFD packet to send [08:55:05]OFD Sender: No OFD packet to send [08:55:10]OFD Sender: No OFD packet to send [08:55:15]OFD Sender: No OFD packet to send [08:55:20]OFD Sender: No OFD packet to send [08:55:25]OFD Sender: No OFD packet to send [08:55:30]OFD Sender: No OFD packet to send [08:55:35]OFD Sender: No OFD packet to send [08:55:40]OFD Sender: No OFD packet to send [08:55:45]OFD Sender: No OFD packet to send [08:55:50]OFD Sender: No OFD packet to send [08:55:55]OFD Sender: No OFD packet to send [08:56:00]OFD Sender: No OFD packet to send [08:56:05]OFD Sender: No OFD packet to send [08:56:10]OFD Sender: No OFD packet to send [08:56:15]OFD Sender: No OFD packet to send [08:56:20]OFD Sender: No OFD packet to send [08:56:25]OFD Sender: No OFD packet to send [08:56:30]accept exits with 9 [08:56:30]New connection [08:56:30]New thread 3067067748 created [08:56:30]Thread 3066924388 joined [08:56:30]Waiting for new connection... [08:56:30] Sock 9.Parse request [08:56:30]Sock 9.Check first char [08:56:30]Sock 9.First char is OK [08:56:30]request: POST /json_proto HTTP/1.0 [08:56:30]Method: POST [08:56:30]URL: /json_proto [08:56:30]Method is POST - this is cgi request [08:56:30]url: /json_proto [08:56:30]query_string will be loaded in cgi processing [08:56:30]execute_cgi json_proto POST (null) [08:56:30]execute_cgi path=json_proto method=POST [08:56:30]POST find Content-Length [08:56:30]Host: 172.17.39.4:8080 [08:56:30]Content-Length: 750 [08:56:30]Content-Type: application/json [08:56:30] [08:56:30]POST finish read [08:56:30]Found Content-Length = 750 [08:56:30]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129605", "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" ] } } [08:56:30]execute_script... [08:56:30]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129605", "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" ] } } [08:56:30]POST & json_proto [08:56:30]process_json_proto [08:56:30]json parsed OK: [08:56:30]protocol is kg_v1.0 [08:56:30]action value=close_receipt [08:56:30]process_action close_receipt [08:56:30]cmd_close_receipt [08:56:30]MH_GetDate [08:56:30]Write to MH i2c: F0 00 00 F7 0F F5 [08:56:30]Write i2c OK [08:56:30]MH_I2C_Read... [08:56:30]Read from MH i2c: F0 [08:56:30]MH_I2C_Read... [08:56:30]Read from MH i2c: F0 09 00 [08:56:30]MH_I2C_Read... [08:56:30]Read from MH i2c: F0 09 00 F7 0F 00 41 E4 94 66 2D 25 5D 64 30 [08:56:30]GetLastDocTimeStamp 1721033149 [08:56:30]current date 1721033793 [08:56:30]FM_GetShiftState [08:56:30]SAM_PROTO_GetShiftState [08:56:30]wFMCommunicate request_size=4 [08:56:30]MH_SAM_APDU [08:56:30]CAPDU: 80 13 01 00 [08:56:30]Write to MH i2c: E2 08 00 F8 0F 80 13 01 00 00 00 00 00 84 [08:56:30]Write i2c OK [08:56:30]MH_I2C_Read... [08:56:30]OFD Sender: No OFD packet to send [08:56:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:56:30]Read from MH i2c: E2 [08:56:30]MH_I2C_Read... [08:56:30]Read from MH i2c: E2 0E 00 [08:56:30]MH_I2C_Read... [08:56:30]Read from MH i2c: E2 0E 00 F8 0F 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 FD [08:56:30]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [08:56:30]wFMCommunicate OK [08:56:30]SAM_PROTO_GetShiftState done [08:56:30]FM_GetShiftState done [08:56:30]opened in 1721003525 [08:56:30]opened+sec_in_day 1721089925 [08:56:30]quantity*price = 13000 [08:56:30]sum+1 = 13001 [08:56:30]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 СНО: Общий режим Чек 46 15.07.2024 08:56 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57151 ФПД: 136140611259062 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T085633&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57151&fm=136140611259062&tin=02508201610067®Number=0000000000091208&sum=13000 0 [08:56:31]StoreToDocumentArchive [08:56:31]shift 497 fd 57151 [08:56:31]save to /storage/0497/doc_00057151 [08:56:31]save last doc name /storage/0497/doc_00057151 to /storage/kkm_last_doc_name [08:56:31]save OK [08:56:31]Clear old archive folders... [08:56:31]ProcessDocumentItem done err = 0, tmpTLVsize=282 [08:56:31]tlvbuf is 0098C640 [08:56:31]SAM_PROTO_ClearQueue [08:56:31]wFMCommunicate request_size=4 [08:56:31]MH_SAM_APDU [08:56:31]CAPDU: 80 09 00 00 [08:56:31]Write to MH i2c: E2 08 00 05 10 80 09 00 00 00 00 00 00 87 [08:56:31]Write i2c OK [08:56:31]MH_I2C_Read... [08:56:31]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:56:32]Read from MH i2c: E2 [08:56:32]MH_I2C_Read... [08:56:32]Read from MH i2c: E2 03 00 [08:56:32]MH_I2C_Read... [08:56:32]Read from MH i2c: E2 03 00 05 10 00 90 00 89 [08:56:32]RAPDU: 90 00 [08:56:32]wFMCommunicate OK [08:56:32]SAM_PROTO_ClearQueue done [08:56:32]KKMCreateOFDPacket [08:56:32]OFDProtocolAddRootSTLVToBuf [08:56:32]FM_MakeSignedData [08:56:32]FM_MakeSignedData [08:56:32]SAM_PROTO_SignData [08:56:32]wFMCommunicate request_size=4 [08:56:32]MH_SAM_APDU [08:56:32]CAPDU: 80 0D 01 02 [08:56:32]Write to MH i2c: E2 08 00 06 10 80 0D 01 02 00 00 00 00 8F [08:56:32]Write i2c OK [08:56:32]MH_I2C_Read... [08:56:32]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:56:32]Read from MH i2c: E2 [08:56:32]MH_I2C_Read... [08:56:32]Read from MH i2c: E2 03 00 [08:56:32]MH_I2C_Read... [08:56:32]Read from MH i2c: E2 03 00 06 10 00 90 00 8A [08:56:32]RAPDU: 90 00 [08:56:32]wFMCommunicate OK [08:56:32]wFMCommunicate request_size=255 [08:56:32]MH_SAM_APDU [08:56:32]CAPDU: 80 0D 02 02 FA 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2E 00 00 00 F4 03 04 00 41 E4 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 [08:56:32]Write to MH i2c: E2 02 01 07 10 80 0D 02 02 FA 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2E 00 00 00 F4 03 04 00 41 E4 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 00 00 D8 [08:56:32]Write i2c OK [08:56:32]MH_I2C_Read... [08:56:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:56:32]Read from MH i2c: E2 [08:56:32]MH_I2C_Read... [08:56:32]Read from MH i2c: E2 03 00 [08:56:32]MH_I2C_Read... [08:56:32]Read from MH i2c: E2 03 00 07 10 00 90 00 8B [08:56:32]RAPDU: 90 00 [08:56:32]wFMCommunicate OK [08:56:32]wFMCommunicate request_size=41 [08:56:32]MH_SAM_APDU [08:56:32]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 3F DF 00 00 35 04 06 00 7B D1 B4 C6 0A B6 [08:56:32]Write to MH i2c: E2 2C 00 08 10 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 3F DF 00 00 35 04 06 00 7B D1 B4 C6 0A B6 00 00 0C [08:56:32]Write i2c OK [08:56:32]MH_I2C_Read... [08:56:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:56:32]Read from MH i2c: E2 [08:56:32]MH_I2C_Read... [08:56:32]Read from MH i2c: E2 03 00 [08:56:32]MH_I2C_Read... [08:56:32]Read from MH i2c: E2 03 00 08 10 00 90 00 8C [08:56:32]RAPDU: 90 00 [08:56:32]wFMCommunicate OK [08:56:32]wFMCommunicate request_size=4 [08:56:32]MH_SAM_APDU [08:56:32]CAPDU: 80 0D 03 02 [08:56:32]Write to MH i2c: E2 08 00 09 10 80 0D 03 02 00 00 00 00 94 [08:56:32]Write i2c OK [08:56:32]MH_I2C_Read... [08:56:32]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:56:32]Read from MH i2c: E2 [08:56:32]MH_I2C_Read... [08:56:32]Read from MH i2c: E2 0B 00 [08:56:32]MH_I2C_Read... [08:56:32]Read from MH i2c: E2 0B 00 09 10 00 F2 18 00 70 ED E9 1D 59 90 00 5B [08:56:32]RAPDU: F2 18 00 70 ED E9 1D 59 90 00 [08:56:32]wFMCommunicate OK [08:56:32]SAM_PROTO_SignData done [08:56:32]FM_MakeSignedData done [08:56:32]CreateOFDProtocolMessage [08:56:32]wFMCommunicate request_size=4 [08:56:32]MH_SAM_APDU [08:56:32]CAPDU: 80 11 00 00 [08:56:32]Write to MH i2c: E2 08 00 0A 10 80 11 00 00 00 00 00 00 94 [08:56:32]Write i2c OK [08:56:32]MH_I2C_Read... [08:56:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:56:32]Read from MH i2c: E2 [08:56:32]MH_I2C_Read... [08:56:32]Read from MH i2c: E2 17 00 [08:56:32]MH_I2C_Read... [08:56:32]Read from MH i2c: E2 17 00 0A 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 EE [08:56:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [08:56:32]wFMCommunicate OK [08:56:32]CreateOFDProtocolMessage done [08:56:32]OFDSenderStorePacket 57151 [08:56:32]StoreOFDPacket docnum=57151 [08:56: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 2E 01 00 00 6B D1 26 01 BC 9B 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2E 00 00 00 F4 03 04 00 41 E4 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 3F DF 00 00 35 04 06 00 7B D1 B4 C6 0A B6 F2 18 00 70 ED E9 1D 59 [08:56:32]CheckFolder [08:56:32]dirname=/storage/ofd_packets [08:56:32]CheckFolder done [08:56:32]ProducePacketName [08:56:32]name=ofd_packets/00057151 [08:56:32]NVStorageSaveData ofd_packets/00057151 [08:56:32]File name is /storage/ofd_packets/00057151 [08:56:32]Write 332 bytes [08:56:32]NVStorageSaveData done [08:56:32]OFDSenderStorePacket done [08:56:32]KKMCreateOFDPacket done [08:56:32]NVStorageSaveData kkm_last_timestamp [08:56:32]File name is /storage/kkm_last_timestamp [08:56:32]Write 4 bytes [08:56:32]NVStorageSaveData done [08:56:32]OFD Sender: Processing packet 57151 [packets to send 38, broken 37] [08:56:32]ProducePacketName [08:56:32]name=ofd_packets/00057151 [08:56:32]OFD Sender: To server: pG, [08:56:32]CommunicateWithHost lk.salyk.kg:30040 [08:56:32]ConnectInit lk.salyk.kg [08:56:32]ExternCall_PrintAddStr [08:56:32]wPrintStart [08:56:32]Write to MH i2c: 01 00 00 0B 10 1B [08:56:32]Write i2c OK [08:56:32]MH_I2C_Read... [08:56:32]Read from MH i2c: 01 [08:56:32]MH_I2C_Read... [08:56:32]Read from MH i2c: 01 07 00 [08:56:32]MH_I2C_Read... [08:56:32]Read from MH i2c: 01 07 00 0B 10 00 00 00 00 00 FF 0F 30 [08:56:32]RasterBufferAndPrint [08:56:32]line Счет N : (3)129605 [08:56:32]line ИНН: 02508201610067 [08:56:32]line Контрольно-Кассовый Чек [08:56:32]line ПРОДАЖА [08:56:32]line Товар: 2000036220012 [08:56:32]line Кофе Капучино XL(GABB TRADE) [08:56:32]line 1.000 * 130.00 [08:56:32]line = 130.00 [08:56:32]line НДС 12% НСП 1% [08:56:32]line > о реализуемом товаре [08:56:32]line ИТОГО: 130.00 [08:56:32]line НСП 1% : 1.15 [08:56:32]line НДС 12% : 13.80 [08:56:32]line Наличными: 130.00 [08:56:32]line Безнал.: 0.00 [08:56:32]line Место: АЗС № 132 "Партнер Нефть" [08:56:32]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [08:56:32]line СНО: Общий режим [08:56:32]line Чек 46 15.07.2024 08:56 [08:56:32]line Смена: 497 ФФД: 1.0 [08:56:32]line ЗНМ: 0300000132 [08:56:32]line РНМ: 0000000000091208 [08:56:32]line Версия ККМ: 001 [08:56:32]line ФМ: 0000000000874857 [08:56:32]line ФД: 57151 [08:56:32]line ФПД: 136140611259062 [08:56:32]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T085633&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57151&fm=136140611259062&tin=02508201610067®Number=0000000000091208&sum=13000 [08:56:32]line 0 [08:56:32]Connected sock=11 [08:56: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 2E 01 00 00 6B D1 26 01 BC 9B 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2E 00 00 00 F4 03 04 00 41 E4 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 3F DF 00 00 35 04 06 00 7B D1 B4 C6 0A B6 F2 18 00 70 ED E9 1D 59 [08:56:32]written 0, free lines is 4095 [08:56: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 98 09 47 00 28 EF A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 3F DF 00 00 F4 03 04 00 90 8A 94 66 B6 04 01 00 00 D4 AC 68 36 C7 F0 A7 E4 [08:56:33]CommunicateWithHost err = 0 [08:56:33]CheckOFDResponse [08:56:33]1017 (14) - 77093643461234 [08:56:33]1041 (16) - 0000000000874857 [08:56:33]1040 (4) - 57151 [08:56:33]1012 (4) - 15.07.2024 02:33 [08:56:33]1206 (1) - 0 [08:56:33]OFD Sender: Remove packet 57151 [08:56:33]ProducePacketName [08:56:33]name=ofd_packets/00057151 [08:56:33]NVStorageDeleteData [08:56:33]Write to MH i2c: 01 00 00 34 10 44 [08:56:33]Write i2c OK [08:56:33]MH_I2C_Read... [08:56:33]Read from MH i2c: 01 [08:56:33]MH_I2C_Read... [08:56:33]Read from MH i2c: 01 07 00 [08:56:33]MH_I2C_Read... [08:56:33]Read from MH i2c: 01 07 00 34 10 00 00 00 00 00 00 0D 58 [08:56:33]RasterBufferAndPrint [08:56:33]line [08:56:33]line [08:56:33]line [08:56:33]line [08:56:33]line [08:56:33]written 0, free lines is 3334 [08:56:33]MH_Cut [08:56:33]Write to MH i2c: D1 01 00 3B 10 01 1D [08:56:33]Write i2c OK [08:56:33]MH_I2C_Read... [08:56:33]Read from MH i2c: D1 [08:56:33]MH_I2C_Read... [08:56:33]Read from MH i2c: D1 01 00 [08:56:33]MH_I2C_Read... [08:56:33]Read from MH i2c: D1 01 00 3B 10 00 1C [08:56:33]Write to MH i2c: 01 00 00 3C 10 4C [08:56:33]Write i2c OK [08:56:33]MH_I2C_Read... [08:56:33]OFD Sender: No OFD packet to send [08:56:34]*** Cut start [08:56:34]*** Partial cut [08:56:34]*** CUTSNS_PIN = 1 [08:56:34]*** CUTSNS_PIN = 0 [08:56:34]*** Brake cut motor [08:56:34]Read from MH i2c: 01 [08:56:34]MH_I2C_Read... [08:56:34]*** Stop cut motor [08:56:34]*** Cut end [08:56:34]Read from MH i2c: 01 07 00 [08:56:34]MH_I2C_Read... [08:56:34]Read from MH i2c: 01 07 00 3C 10 00 00 00 00 00 FF 0F 61 [08:56:34]process_action close_receipt done [08:56:34]requested_data is exist [08:56:34]produce_requested_data [08:56:34]requested_item fm.sn is exist - process it [08:56:34]wFMCommunicate request_size=4 [08:56:34]MH_SAM_APDU [08:56:34]CAPDU: 80 11 00 00 [08:56:34]Write to MH i2c: E2 08 00 3D 10 80 11 00 00 00 00 00 00 C7 [08:56:34]Write i2c OK [08:56:34]MH_I2C_Read... [08:56:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:56:34]Read from MH i2c: E2 [08:56:34]MH_I2C_Read... [08:56:34]Read from MH i2c: E2 17 00 [08:56:34]MH_I2C_Read... [08:56:34]Read from MH i2c: E2 17 00 3D 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 21 [08:56:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [08:56:34]wFMCommunicate OK [08:56:34]requested_item fd.num is exist - process it [08:56:34]SAM_PROTO_GetFieldsCounters [08:56:34]wFMCommunicate request_size=4 [08:56:34]MH_SAM_APDU [08:56:34]CAPDU: 80 13 00 00 [08:56:34]Write to MH i2c: E2 08 00 3E 10 80 13 00 00 00 00 00 00 CA [08:56:34]Write i2c OK [08:56:34]MH_I2C_Read... [08:56:34]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:56:34]Read from MH i2c: E2 [08:56:34]MH_I2C_Read... [08:56:34]Read from MH i2c: E2 62 00 [08:56:34]MH_I2C_Read... [08:56:34]Read from MH i2c: E2 62 00 3E 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 3F DF 00 00 0E 04 04 00 F1 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 87 [08:56:34]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 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 3F DF 00 00 0E 04 04 00 F1 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 [08:56:34]wFMCommunicate OK [08:56:34]SAM_PROTO_GetFieldsCounters done [08:56:34]requested_item shift.num is exist - process it [08:56:34]requested_item shift.opened is exist - process it [08:56:34]req_shift_opened [08:56:34]FM_GetShiftState [08:56:34]SAM_PROTO_GetShiftState [08:56:34]wFMCommunicate request_size=4 [08:56:34]MH_SAM_APDU [08:56:34]CAPDU: 80 13 01 00 [08:56:34]Write to MH i2c: E2 08 00 3F 10 80 13 01 00 00 00 00 00 CC [08:56:34]Write i2c OK [08:56:34]MH_I2C_Read... [08:56:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:56:34]Read from MH i2c: E2 [08:56:34]MH_I2C_Read... [08:56:34]Read from MH i2c: E2 0E 00 [08:56:34]MH_I2C_Read... [08:56:34]Read from MH i2c: E2 0E 00 3F 10 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 45 [08:56:34]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [08:56:34]wFMCommunicate OK [08:56:34]SAM_PROTO_GetShiftState done [08:56:34]FM_GetShiftState done [08:56:34]req_shift_opened done [08:56:34]requested_item shift.open_date is exist - process it [08:56:34]req_shift_open_date [08:56:34]req_shift_open_date done [08:56:34]requested_item shift.sale.total is exist - process it [08:56:34]SAM_PROTO_GetShiftData [08:56:34]wFMCommunicate request_size=4 [08:56:34]MH_SAM_APDU [08:56:34]CAPDU: 80 13 02 00 [08:56:34]Write to MH i2c: E2 08 00 40 10 80 13 02 00 00 00 00 00 CE [08:56:34]Write i2c OK [08:56:34]MH_I2C_Read... [08:56:35]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [08:56:35]Read from MH i2c: E2 [08:56:35]MH_I2C_Read... [08:56:35]Read from MH i2c: E2 FD 00 [08:56:35]MH_I2C_Read... [08:56:35]Read from MH i2c: E2 FD 00 40 10 00 B6 04 AA 04 B2 04 6E 04 04 00 2E 00 00 00 69 04 9B 00 6F 04 04 00 2D 00 00 00 B1 04 03 00 7D F5 10 70 04 03 00 68 E1 0B 72 04 03 00 15 14 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 04 CD 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 69 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 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 F0 [08:56:35]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 2E 00 00 00 69 04 9B 00 6F 04 04 00 2D 00 00 00 B1 04 03 00 7D F5 10 70 04 03 00 68 E1 0B 72 04 03 00 15 14 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 04 CD 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 69 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 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 [08:56:35]wFMCommunicate OK [08:56:35]wFMCommunicate request_size=4 [08:56:35]MH_SAM_APDU [08:56:35]CAPDU: 80 17 00 00 [08:56:35]Write to MH i2c: E2 08 00 41 10 80 17 00 00 00 00 00 00 D1 [08:56:35]Write i2c OK [08:56:35]MH_I2C_Read... [08:56:35]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:56:35]Read from MH i2c: E2 [08:56:35]MH_I2C_Read... [08:56:35]Read from MH i2c: E2 FD 00 [08:56:35]MH_I2C_Read... [08:56:35]Read from MH i2c: E2 FD 00 41 10 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 06 [08:56:35]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 [08:56:35]wFMCommunicate OK [08:56:35]wFMCommunicate request_size=4 [08:56:35]MH_SAM_APDU [08:56:35]CAPDU: 80 17 00 00 [08:56:35]Write to MH i2c: E2 08 00 42 10 80 17 00 00 00 00 00 00 D2 [08:56:35]Write i2c OK [08:56:35]MH_I2C_Read... [08:56:35]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:56:35]Read from MH i2c: E2 [08:56:35]MH_I2C_Read... [08:56:35]Read from MH i2c: E2 FD 00 [08:56:35]MH_I2C_Read... [08:56:35]Read from MH i2c: E2 FD 00 42 10 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 92 [08:56:35]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 [08:56:35]wFMCommunicate OK [08:56:35]wFMCommunicate request_size=4 [08:56:35]MH_SAM_APDU [08:56:35]CAPDU: 80 17 00 00 [08:56:35]Write to MH i2c: E2 08 00 43 10 80 17 00 00 00 00 00 00 D3 [08:56:35]Write i2c OK [08:56:35]MH_I2C_Read... [08:56:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:56:36]Read from MH i2c: E2 [08:56:36]MH_I2C_Read... [08:56:36]Read from MH i2c: E2 FD 00 [08:56:36]MH_I2C_Read... [08:56:36]Read from MH i2c: E2 FD 00 43 10 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 42 [08:56: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 [08:56:36]wFMCommunicate OK [08:56:36]wFMCommunicate request_size=4 [08:56:36]MH_SAM_APDU [08:56:36]CAPDU: 80 17 00 00 [08:56:36]Write to MH i2c: E2 08 00 44 10 80 17 00 00 00 00 00 00 D4 [08:56:36]Write i2c OK [08:56:36]MH_I2C_Read... [08:56:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [08:56:36]Read from MH i2c: E2 [08:56:36]MH_I2C_Read... [08:56:36]Read from MH i2c: E2 D3 00 [08:56:36]MH_I2C_Read... [08:56:36]Read from MH i2c: E2 D3 00 44 10 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 C1 [08:56: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 [08:56:36]wFMCommunicate OK [08:56:36]SAM_PROTO_GetShiftData done [08:56:36]requested_item shift.sale.total_cash is exist - process it [08:56:36]requested_item shift.sale_refund.total is exist - process it [08:56:36]requested_item shift.sale_refund.total_cash is exist - process it [08:56:36]produce_requested_data done [08:56:36]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57151,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":11114.21,"shift.sale.total_cash":7786.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [08:56:36]process_action_free close_receipt [08:56:36]json_value_free [08:56:36]json_value_free done [08:56:36]process_json_proto returns [08:56:36]Send response to host [08:56:36]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57151,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":11114.21,"shift.sale.total_cash":7786.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [08:56:36]free response buf [08:56:36]execute_script done [08:56:36]execute_script returns [08:56:36]free content buf [08:56:36]Sock 9.Close socket [08:56:36]Sock 9.Thread stoped [08:56:38]OFD Sender: No OFD packet to send [08:56:43]OFD Sender: No OFD packet to send [08:56:48]OFD Sender: No OFD packet to send [08:56:53]OFD Sender: No OFD packet to send [08:56:58]OFD Sender: No OFD packet to send [08:57:03]OFD Sender: No OFD packet to send [08:57:08]OFD Sender: No OFD packet to send [08:57:13]OFD Sender: No OFD packet to send [08:57:18]OFD Sender: No OFD packet to send [08:57:23]OFD Sender: No OFD packet to send [08:57:28]OFD Sender: No OFD packet to send [08:57:33]OFD Sender: No OFD packet to send [08:57:38]OFD Sender: No OFD packet to send [08:57:43]OFD Sender: No OFD packet to send [08:57:48]OFD Sender: No OFD packet to send [08:57:53]OFD Sender: No OFD packet to send [08:57:58]OFD Sender: No OFD packet to send [08:58:03]OFD Sender: No OFD packet to send [08:58:08]OFD Sender: No OFD packet to send [08:58:13]OFD Sender: No OFD packet to send [08:58:18]OFD Sender: No OFD packet to send [08:58:23]OFD Sender: No OFD packet to send [08:58:28]OFD Sender: No OFD packet to send [08:58:33]OFD Sender: No OFD packet to send [08:58:38]OFD Sender: No OFD packet to send [08:58:43]OFD Sender: No OFD packet to send [08:58:48]OFD Sender: No OFD packet to send [08:58:53]OFD Sender: No OFD packet to send [08:58:58]OFD Sender: No OFD packet to send [08:59:03]OFD Sender: No OFD packet to send [08:59:08]OFD Sender: No OFD packet to send [08:59:13]OFD Sender: No OFD packet to send [08:59:18]OFD Sender: No OFD packet to send [08:59:23]OFD Sender: No OFD packet to send [08:59:28]OFD Sender: No OFD packet to send [08:59:33]OFD Sender: No OFD packet to send [08:59:38]OFD Sender: No OFD packet to send [08:59:43]OFD Sender: No OFD packet to send [08:59:48]OFD Sender: No OFD packet to send [08:59:53]OFD Sender: No OFD packet to send [08:59:58]OFD Sender: No OFD packet to send [09:00:03]OFD Sender: No OFD packet to send [09:00:08]OFD Sender: No OFD packet to send [09:00:13]OFD Sender: No OFD packet to send [09:00:18]OFD Sender: No OFD packet to send [09:00:23]OFD Sender: No OFD packet to send [09:00:28]OFD Sender: No OFD packet to send [09:00:33]OFD Sender: No OFD packet to send [09:00:38]OFD Sender: No OFD packet to send [09:00:43]OFD Sender: No OFD packet to send [09:00:48]OFD Sender: No OFD packet to send [09:00:53]OFD Sender: No OFD packet to send [09:00:58]OFD Sender: No OFD packet to send [09:01:03]OFD Sender: No OFD packet to send [09:01:08]OFD Sender: No OFD packet to send [09:01:13]OFD Sender: No OFD packet to send [09:01:18]OFD Sender: No OFD packet to send [09:01:23]OFD Sender: No OFD packet to send [09:01:28]OFD Sender: No OFD packet to send [09:01:33]OFD Sender: No OFD packet to send [09:01:38]OFD Sender: No OFD packet to send [09:01:43]OFD Sender: No OFD packet to send [09:01:48]OFD Sender: No OFD packet to send [09:01:53]OFD Sender: No OFD packet to send [09:01:58]OFD Sender: No OFD packet to send [09:02:03]OFD Sender: No OFD packet to send [09:02:08]OFD Sender: No OFD packet to send [09:02:13]OFD Sender: No OFD packet to send [09:02:18]OFD Sender: No OFD packet to send [09:02:23]OFD Sender: No OFD packet to send [09:02:28]OFD Sender: No OFD packet to send [09:02:33]OFD Sender: No OFD packet to send [09:02:38]OFD Sender: No OFD packet to send [09:02:43]OFD Sender: No OFD packet to send [09:02:48]OFD Sender: No OFD packet to send [09:02:53]OFD Sender: No OFD packet to send [09:02:58]OFD Sender: No OFD packet to send [09:03:03]OFD Sender: No OFD packet to send [09:03:08]OFD Sender: No OFD packet to send [09:03:13]OFD Sender: No OFD packet to send [09:03:18]OFD Sender: No OFD packet to send [09:03:23]OFD Sender: No OFD packet to send [09:03:28]OFD Sender: No OFD packet to send [09:03:33]OFD Sender: No OFD packet to send [09:03:38]OFD Sender: No OFD packet to send [09:03:43]OFD Sender: No OFD packet to send [09:03:48]OFD Sender: No OFD packet to send [09:03:53]OFD Sender: No OFD packet to send [09:03:58]OFD Sender: No OFD packet to send [09:04:03]OFD Sender: No OFD packet to send [09:04:08]OFD Sender: No OFD packet to send [09:04:13]OFD Sender: No OFD packet to send [09:04:18]OFD Sender: No OFD packet to send [09:04:24]OFD Sender: No OFD packet to send [09:04:29]OFD Sender: No OFD packet to send [09:04:34]OFD Sender: No OFD packet to send [09:04:39]OFD Sender: No OFD packet to send [09:04:44]OFD Sender: No OFD packet to send [09:04:49]OFD Sender: No OFD packet to send [09:04:54]OFD Sender: No OFD packet to send [09:04:59]OFD Sender: No OFD packet to send [09:05:04]OFD Sender: No OFD packet to send [09:05:09]OFD Sender: No OFD packet to send [09:05:14]OFD Sender: No OFD packet to send [09:05:19]OFD Sender: No OFD packet to send [09:05:24]OFD Sender: No OFD packet to send [09:05:29]OFD Sender: No OFD packet to send [09:05:34]OFD Sender: No OFD packet to send [09:05:39]OFD Sender: No OFD packet to send [09:05:44]OFD Sender: No OFD packet to send [09:05:49]OFD Sender: No OFD packet to send [09:05:54]OFD Sender: No OFD packet to send [09:05:59]OFD Sender: No OFD packet to send [09:06:04]OFD Sender: No OFD packet to send [09:06:09]OFD Sender: No OFD packet to send [09:06:14]OFD Sender: No OFD packet to send [09:06:19]OFD Sender: No OFD packet to send [09:06:24]OFD Sender: No OFD packet to send [09:06:29]OFD Sender: No OFD packet to send [09:06:34]OFD Sender: No OFD packet to send [09:06:39]OFD Sender: No OFD packet to send [09:06:44]OFD Sender: No OFD packet to send [09:06:49]OFD Sender: No OFD packet to send [09:06:54]OFD Sender: No OFD packet to send [09:06:59]OFD Sender: No OFD packet to send [09:07:04]OFD Sender: No OFD packet to send [09:07:09]OFD Sender: No OFD packet to send [09:07:14]OFD Sender: No OFD packet to send [09:07:19]OFD Sender: No OFD packet to send [09:07:24]OFD Sender: No OFD packet to send [09:07:29]OFD Sender: No OFD packet to send [09:07:34]OFD Sender: No OFD packet to send [09:07:39]OFD Sender: No OFD packet to send [09:07:44]OFD Sender: No OFD packet to send [09:07:49]OFD Sender: No OFD packet to send [09:07:54]OFD Sender: No OFD packet to send [09:07:59]OFD Sender: No OFD packet to send [09:08:04]OFD Sender: No OFD packet to send [09:08:09]OFD Sender: No OFD packet to send [09:08:14]OFD Sender: No OFD packet to send [09:08:19]OFD Sender: No OFD packet to send [09:08:24]OFD Sender: No OFD packet to send [09:08:29]OFD Sender: No OFD packet to send [09:08:34]OFD Sender: No OFD packet to send [09:08:39]OFD Sender: No OFD packet to send [09:08:44]OFD Sender: No OFD packet to send [09:08:49]OFD Sender: No OFD packet to send [09:08:54]OFD Sender: No OFD packet to send [09:08:59]OFD Sender: No OFD packet to send [09:09:04]OFD Sender: No OFD packet to send [09:09:09]OFD Sender: No OFD packet to send [09:09:14]OFD Sender: No OFD packet to send [09:09:19]OFD Sender: No OFD packet to send [09:09:24]OFD Sender: No OFD packet to send [09:09:29]OFD Sender: No OFD packet to send [09:09:34]OFD Sender: No OFD packet to send [09:09:39]OFD Sender: No OFD packet to send [09:09:44]OFD Sender: No OFD packet to send [09:09:49]OFD Sender: No OFD packet to send [09:09:54]OFD Sender: No OFD packet to send [09:09:59]OFD Sender: No OFD packet to send [09:10:04]OFD Sender: No OFD packet to send [09:10:09]OFD Sender: No OFD packet to send [09:10:14]OFD Sender: No OFD packet to send [09:10:19]OFD Sender: No OFD packet to send [09:10:24]OFD Sender: No OFD packet to send [09:10:29]OFD Sender: No OFD packet to send [09:10:34]OFD Sender: No OFD packet to send [09:10:39]OFD Sender: No OFD packet to send [09:10:44]OFD Sender: No OFD packet to send [09:10:49]OFD Sender: No OFD packet to send [09:10:54]OFD Sender: No OFD packet to send [09:10:59]OFD Sender: No OFD packet to send [09:11:04]OFD Sender: No OFD packet to send [09:11:09]OFD Sender: No OFD packet to send [09:11:14]OFD Sender: No OFD packet to send [09:11:19]OFD Sender: No OFD packet to send [09:11:24]OFD Sender: No OFD packet to send [09:11:29]OFD Sender: No OFD packet to send [09:11:34]OFD Sender: No OFD packet to send [09:11:39]OFD Sender: No OFD packet to send [09:11:44]OFD Sender: No OFD packet to send [09:11:49]OFD Sender: No OFD packet to send [09:11:54]OFD Sender: No OFD packet to send [09:11:59]OFD Sender: No OFD packet to send [09:12:04]OFD Sender: No OFD packet to send [09:12:09]OFD Sender: No OFD packet to send [09:12:14]OFD Sender: No OFD packet to send [09:12:19]OFD Sender: No OFD packet to send [09:12:24]OFD Sender: No OFD packet to send [09:12:29]OFD Sender: No OFD packet to send [09:12:34]OFD Sender: No OFD packet to send [09:12:39]OFD Sender: No OFD packet to send [09:12:44]OFD Sender: No OFD packet to send [09:12:49]OFD Sender: No OFD packet to send [09:12:54]OFD Sender: No OFD packet to send [09:12:59]OFD Sender: No OFD packet to send [09:13:04]OFD Sender: No OFD packet to send [09:13:09]OFD Sender: No OFD packet to send [09:13:14]OFD Sender: No OFD packet to send [09:13:19]OFD Sender: No OFD packet to send [09:13:24]OFD Sender: No OFD packet to send [09:13:29]OFD Sender: No OFD packet to send [09:13:34]OFD Sender: No OFD packet to send [09:13:39]OFD Sender: No OFD packet to send [09:13:44]OFD Sender: No OFD packet to send [09:13:49]OFD Sender: No OFD packet to send [09:13:54]OFD Sender: No OFD packet to send [09:13:59]OFD Sender: No OFD packet to send [09:14:04]OFD Sender: No OFD packet to send [09:14:09]OFD Sender: No OFD packet to send [09:14:14]OFD Sender: No OFD packet to send [09:14:19]OFD Sender: No OFD packet to send [09:14:24]OFD Sender: No OFD packet to send [09:14:29]OFD Sender: No OFD packet to send [09:14:34]OFD Sender: No OFD packet to send [09:14:39]OFD Sender: No OFD packet to send [09:14:44]OFD Sender: No OFD packet to send [09:14:49]OFD Sender: No OFD packet to send [09:14:54]OFD Sender: No OFD packet to send [09:14:59]OFD Sender: No OFD packet to send [09:15:04]OFD Sender: No OFD packet to send [09:15:09]OFD Sender: No OFD packet to send [09:15:14]OFD Sender: No OFD packet to send [09:15:19]OFD Sender: No OFD packet to send [09:15:24]OFD Sender: No OFD packet to send [09:15:29]OFD Sender: No OFD packet to send [09:15:34]OFD Sender: No OFD packet to send [09:15:39]OFD Sender: No OFD packet to send [09:15:44]OFD Sender: No OFD packet to send [09:15:49]OFD Sender: No OFD packet to send [09:15:54]OFD Sender: No OFD packet to send [09:15:59]OFD Sender: No OFD packet to send [09:16:04]OFD Sender: No OFD packet to send [09:16:09]OFD Sender: No OFD packet to send [09:16:14]OFD Sender: No OFD packet to send [09:16:19]OFD Sender: No OFD packet to send [09:16:24]OFD Sender: No OFD packet to send [09:16:29]OFD Sender: No OFD packet to send [09:16:34]OFD Sender: No OFD packet to send [09:16:39]OFD Sender: No OFD packet to send [09:16:44]OFD Sender: No OFD packet to send [09:16:49]OFD Sender: No OFD packet to send [09:16:54]OFD Sender: No OFD packet to send [09:16:59]OFD Sender: No OFD packet to send [09:17:04]OFD Sender: No OFD packet to send [09:17:09]OFD Sender: No OFD packet to send [09:17:14]OFD Sender: No OFD packet to send [09:17:19]OFD Sender: No OFD packet to send [09:17:24]OFD Sender: No OFD packet to send [09:17:29]OFD Sender: No OFD packet to send [09:17:34]OFD Sender: No OFD packet to send [09:17:39]OFD Sender: No OFD packet to send [09:17:44]OFD Sender: No OFD packet to send [09:17:49]OFD Sender: No OFD packet to send [09:17:54]OFD Sender: No OFD packet to send [09:17:59]OFD Sender: No OFD packet to send [09:18:04]OFD Sender: No OFD packet to send [09:18:09]OFD Sender: No OFD packet to send [09:18:14]OFD Sender: No OFD packet to send [09:18:19]OFD Sender: No OFD packet to send [09:18:24]OFD Sender: No OFD packet to send [09:18:29]OFD Sender: No OFD packet to send [09:18:34]OFD Sender: No OFD packet to send [09:18:39]OFD Sender: No OFD packet to send [09:18:44]OFD Sender: No OFD packet to send [09:18:49]OFD Sender: No OFD packet to send [09:18:54]OFD Sender: No OFD packet to send [09:18:59]OFD Sender: No OFD packet to send [09:19:04]OFD Sender: No OFD packet to send [09:19:09]OFD Sender: No OFD packet to send [09:19:14]OFD Sender: No OFD packet to send [09:19:19]OFD Sender: No OFD packet to send [09:19:24]OFD Sender: No OFD packet to send [09:19:29]OFD Sender: No OFD packet to send [09:19:34]OFD Sender: No OFD packet to send [09:19:39]OFD Sender: No OFD packet to send [09:19:44]OFD Sender: No OFD packet to send [09:19:49]OFD Sender: No OFD packet to send [09:19:54]OFD Sender: No OFD packet to send [09:19:59]OFD Sender: No OFD packet to send [09:20:04]OFD Sender: No OFD packet to send [09:20:09]OFD Sender: No OFD packet to send [09:20:14]OFD Sender: No OFD packet to send [09:20:19]OFD Sender: No OFD packet to send [09:20:24]OFD Sender: No OFD packet to send [09:20:29]OFD Sender: No OFD packet to send [09:20:34]OFD Sender: No OFD packet to send [09:20:39]OFD Sender: No OFD packet to send [09:20:44]OFD Sender: No OFD packet to send [09:20:49]OFD Sender: No OFD packet to send [09:20:51]accept exits with 10 [09:20:51]New connection [09:20:51]New thread 3066924388 created [09:20:51]Thread 3067067748 joined [09:20:51]Waiting for new connection... [09:20:51] Sock 10.Parse request [09:20:51]Sock 10.Check first char [09:20:51]Sock 10.First char is OK [09:20:51]request: POST /json_proto HTTP/1.0 [09:20:51]Method: POST [09:20:51]URL: /json_proto [09:20:51]Method is POST - this is cgi request [09:20:51]url: /json_proto [09:20:51]query_string will be loaded in cgi processing [09:20:51]execute_cgi json_proto POST (null) [09:20:51]execute_cgi path=json_proto method=POST [09:20:51]POST find Content-Length [09:20:51]Host: 172.17.39.4:8080 [09:20:51]Content-Length: 756 [09:20:51]Content-Type: application/json [09:20:51] [09:20:51]POST finish read [09:20:51]Found Content-Length = 756 [09:20:51]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129606", "tax_sys" : 0, "items" : [ { "code": "2000036190018", "name": "\u041A\u043E\u0444\u0435 \u0410\u043C\u0435\u0440\u0438\u043A\u0430\u043D\u043E XL(GABB TRADE)", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 125.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [09:20:51]execute_script... [09:20:51]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129606", "tax_sys" : 0, "items" : [ { "code": "2000036190018", "name": "\u041A\u043E\u0444\u0435 \u0410\u043C\u0435\u0440\u0438\u043A\u0430\u043D\u043E XL(GABB TRADE)", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 125.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [09:20:51]POST & json_proto [09:20:51]process_json_proto [09:20:51]json parsed OK: [09:20:51]protocol is kg_v1.0 [09:20:51]action value=close_receipt [09:20:51]process_action close_receipt [09:20:51]cmd_close_receipt [09:20:51]MH_GetDate [09:20:51]Write to MH i2c: F0 00 00 45 10 44 [09:20:51]Write i2c OK [09:20:51]MH_I2C_Read... [09:20:51]Read from MH i2c: F0 [09:20:51]MH_I2C_Read... [09:20:51]Read from MH i2c: F0 09 00 [09:20:51]MH_I2C_Read... [09:20:51]Read from MH i2c: F0 09 00 45 10 00 F6 E9 94 66 2D 25 5D 64 39 [09:20:51]GetLastDocTimeStamp 1721033793 [09:20:51]current date 1721035254 [09:20:51]FM_GetShiftState [09:20:51]SAM_PROTO_GetShiftState [09:20:51]wFMCommunicate request_size=4 [09:20:51]MH_SAM_APDU [09:20:51]CAPDU: 80 13 01 00 [09:20:51]Write to MH i2c: E2 08 00 46 10 80 13 01 00 00 00 00 00 D3 [09:20:51]Write i2c OK [09:20:51]MH_I2C_Read... [09:20:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:20:51]Read from MH i2c: E2 [09:20:51]MH_I2C_Read... [09:20:51]Read from MH i2c: E2 0E 00 [09:20:51]MH_I2C_Read... [09:20:51]Read from MH i2c: E2 0E 00 46 10 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 4C [09:20:51]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [09:20:51]wFMCommunicate OK [09:20:51]SAM_PROTO_GetShiftState done [09:20:51]FM_GetShiftState done [09:20:51]opened in 1721003525 [09:20:51]opened+sec_in_day 1721089925 [09:20:51]quantity*price = 12500 [09:20:51]sum+1 = 12501 [09:20:51]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 СНО: Общий режим Чек 47 15.07.2024 09:20 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57152 ФПД: 90124358016985 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T092054&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57152&fm=90124358016985&tin=02508201610067®Number=0000000000091208&sum=12500 0 [09:20:52]StoreToDocumentArchive [09:20:52]shift 497 fd 57152 [09:20:52]save to /storage/0497/doc_00057152 [09:20:52]save last doc name /storage/0497/doc_00057152 to /storage/kkm_last_doc_name [09:20:52]save OK [09:20:52]Clear old archive folders... [09:20:52]ProcessDocumentItem done err = 0, tmpTLVsize=284 [09:20:52]tlvbuf is 0097A8B0 [09:20:52]SAM_PROTO_ClearQueue [09:20:52]wFMCommunicate request_size=4 [09:20:52]MH_SAM_APDU [09:20:52]CAPDU: 80 09 00 00 [09:20:52]Write to MH i2c: E2 08 00 53 10 80 09 00 00 00 00 00 00 D5 [09:20:52]Write i2c OK [09:20:52]MH_I2C_Read... [09:20:53]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:20:53]Read from MH i2c: E2 [09:20:53]MH_I2C_Read... [09:20:53]Read from MH i2c: E2 03 00 [09:20:53]MH_I2C_Read... [09:20:53]Read from MH i2c: E2 03 00 53 10 00 90 00 D7 [09:20:53]RAPDU: 90 00 [09:20:53]wFMCommunicate OK [09:20:53]SAM_PROTO_ClearQueue done [09:20:53]KKMCreateOFDPacket [09:20:53]OFDProtocolAddRootSTLVToBuf [09:20:53]FM_MakeSignedData [09:20:53]FM_MakeSignedData [09:20:53]SAM_PROTO_SignData [09:20:53]wFMCommunicate request_size=4 [09:20:53]MH_SAM_APDU [09:20:53]CAPDU: 80 0D 01 02 [09:20:53]Write to MH i2c: E2 08 00 54 10 80 0D 01 02 00 00 00 00 DD [09:20:53]Write i2c OK [09:20:53]MH_I2C_Read... [09:20:53]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:20:53]Read from MH i2c: E2 [09:20:53]MH_I2C_Read... [09:20:53]Read from MH i2c: E2 03 00 [09:20:53]MH_I2C_Read... [09:20:53]Read from MH i2c: E2 03 00 54 10 00 90 00 D8 [09:20:53]RAPDU: 90 00 [09:20:53]wFMCommunicate OK [09:20:53]wFMCommunicate request_size=255 [09:20:53]MH_SAM_APDU [09:20:53]CAPDU: 80 0D 02 02 FA 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 D4 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2F 00 00 00 F4 03 04 00 F6 E9 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 [09:20:53]Write to MH i2c: E2 02 01 55 10 80 0D 02 02 FA 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 D4 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2F 00 00 00 F4 03 04 00 F6 E9 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 74 [09:20:53]Write i2c OK [09:20:53]MH_I2C_Read... [09:20:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:20:53]Read from MH i2c: E2 [09:20:53]MH_I2C_Read... [09:20:53]Read from MH i2c: E2 03 00 [09:20:53]MH_I2C_Read... [09:20:53]Read from MH i2c: E2 03 00 55 10 00 90 00 D9 [09:20:53]RAPDU: 90 00 [09:20:53]wFMCommunicate OK [09:20:53]wFMCommunicate request_size=43 [09:20:53]MH_SAM_APDU [09:20: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 40 DF 00 00 35 04 06 00 51 F7 B6 58 5F D9 [09:20:53]Write to MH i2c: E2 2E 00 56 10 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 40 DF 00 00 35 04 06 00 51 F7 B6 58 5F D9 00 00 7C [09:20:53]Write i2c OK [09:20:53]MH_I2C_Read... [09:20:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:20:53]Read from MH i2c: E2 [09:20:53]MH_I2C_Read... [09:20:53]Read from MH i2c: E2 03 00 [09:20:53]MH_I2C_Read... [09:20:53]Read from MH i2c: E2 03 00 56 10 00 90 00 DA [09:20:53]RAPDU: 90 00 [09:20:53]wFMCommunicate OK [09:20:53]wFMCommunicate request_size=4 [09:20:53]MH_SAM_APDU [09:20:53]CAPDU: 80 0D 03 02 [09:20:53]Write to MH i2c: E2 08 00 57 10 80 0D 03 02 00 00 00 00 E2 [09:20:53]Write i2c OK [09:20:53]MH_I2C_Read... [09:20:53]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:20:53]Read from MH i2c: E2 [09:20:53]MH_I2C_Read... [09:20:53]Read from MH i2c: E2 0B 00 [09:20:53]MH_I2C_Read... [09:20:53]Read from MH i2c: E2 0B 00 57 10 00 6D 88 7D 4E 52 4B A6 2C 90 00 12 [09:20:53]RAPDU: 6D 88 7D 4E 52 4B A6 2C 90 00 [09:20:53]wFMCommunicate OK [09:20:53]SAM_PROTO_SignData done [09:20:53]FM_MakeSignedData done [09:20:53]CreateOFDProtocolMessage [09:20:53]wFMCommunicate request_size=4 [09:20:53]MH_SAM_APDU [09:20:53]CAPDU: 80 11 00 00 [09:20:53]Write to MH i2c: E2 08 00 58 10 80 11 00 00 00 00 00 00 E2 [09:20:53]Write i2c OK [09:20:53]MH_I2C_Read... [09:20:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:20:53]Read from MH i2c: E2 [09:20:53]MH_I2C_Read... [09:20:53]Read from MH i2c: E2 17 00 [09:20:53]MH_I2C_Read... [09:20:53]Read from MH i2c: E2 17 00 58 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 3C [09:20:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [09:20:53]wFMCommunicate OK [09:20:53]CreateOFDProtocolMessage done [09:20:53]OFDSenderStorePacket 57152 [09:20:53]StoreOFDPacket docnum=57152 [09:20:53]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 20 59 28 01 A5 99 5A 03 01 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 D4 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2F 00 00 00 F4 03 04 00 F6 E9 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 40 DF 00 00 35 04 06 00 51 F7 B6 58 5F D9 6D 88 7D 4E 52 4B A6 2C [09:20:53]CheckFolder [09:20:53]dirname=/storage/ofd_packets [09:20:53]CheckFolder done [09:20:53]ProducePacketName [09:20:53]name=ofd_packets/00057152 [09:20:53]NVStorageSaveData ofd_packets/00057152 [09:20:53]File name is /storage/ofd_packets/00057152 [09:20:53]Write 334 bytes [09:20:53]NVStorageSaveData done [09:20:53]OFDSenderStorePacket done [09:20:53]KKMCreateOFDPacket done [09:20:53]NVStorageSaveData kkm_last_timestamp [09:20:53]File name is /storage/kkm_last_timestamp [09:20:53]Write 4 bytes [09:20:53]NVStorageSaveData done [09:20:53]ExternCall_PrintAddStr [09:20:53]wPrintStart [09:20:53]Write to MH i2c: 01 00 00 59 10 69 [09:20:53]Write i2c OK [09:20:53]MH_I2C_Read... [09:20:53]Read from MH i2c: 01 [09:20:53]MH_I2C_Read... [09:20:53]Read from MH i2c: 01 07 00 [09:20:53]MH_I2C_Read... [09:20:53]Read from MH i2c: 01 07 00 59 10 00 00 00 00 00 FF 0F 7E [09:20:53]RasterBufferAndPrint [09:20:53]line Счет N : (3)129606 [09:20:53]line ИНН: 02508201610067 [09:20:53]line Контрольно-Кассовый Чек [09:20:53]line ПРОДАЖА [09:20:53]line Товар: 2000036190018 [09:20:53]line Кофе Американо XL(GABB TRADE) [09:20:53]line 1.000 * 125.00 [09:20:53]line = 125.00 [09:20:53]line НДС 12% НСП 1% [09:20:53]line > о реализуемом товаре [09:20:53]line ИТОГО: 125.00 [09:20:53]line НСП 1% : 1.11 [09:20:53]line НДС 12% : 13.27 [09:20:53]line Наличными: 125.00 [09:20:53]line Безнал.: 0.00 [09:20:53]line Место: АЗС № 132 "Партнер Нефть" [09:20:53]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [09:20:53]line СНО: Общий режим [09:20:53]line Чек 47 15.07.2024 09:20 [09:20:53]line Смена: 497 ФФД: 1.0 [09:20:53]line ЗНМ: 0300000132 [09:20:53]line РНМ: 0000000000091208 [09:20:53]line Версия ККМ: 001 [09:20:53]line ФМ: 0000000000874857 [09:20:53]line ФД: 57152 [09:20:53]line ФПД: 90124358016985 [09:20:53]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T092054&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57152&fm=90124358016985&tin=02508201610067®Number=0000000000091208&sum=12500 [09:20:53]OFD Sender: Processing packet 57152 [packets to send 38, broken 37] [09:20:53]ProducePacketName [09:20:53]name=ofd_packets/00057152 [09:20:53]OFD Sender: To server: pG, [09:20:53]CommunicateWithHost lk.salyk.kg:30040 [09:20:53]ConnectInit lk.salyk.kg [09:20:53]line 0 [09:20:53]written 0, free lines is 4095 [09:20:53]Connected sock=9 [09:20: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 30 01 00 00 20 59 28 01 A5 99 5A 03 01 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 D4 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2F 00 00 00 F4 03 04 00 F6 E9 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 40 DF 00 00 35 04 06 00 51 F7 B6 58 5F D9 6D 88 7D 4E 52 4B A6 2C [09:20: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 75 06 47 00 C4 55 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 40 DF 00 00 F4 03 04 00 45 90 94 66 B6 04 01 00 00 DC 47 6F 6C 84 B9 D6 E5 [09:20:54]CommunicateWithHost err = 0 [09:20:54]CheckOFDResponse [09:20:54]1017 (14) - 77093643461234 [09:20:54]1041 (16) - 0000000000874857 [09:20:54]1040 (4) - 57152 [09:20:54]1012 (4) - 15.07.2024 02:58 [09:20:54]1206 (1) - 0 [09:20:54]OFD Sender: Remove packet 57152 [09:20:54]ProducePacketName [09:20:54]name=ofd_packets/00057152 [09:20:54]NVStorageDeleteData [09:20:54]Write to MH i2c: 01 00 00 82 10 92 [09:20:54]Write i2c OK [09:20:54]MH_I2C_Read... [09:20:54]Read from MH i2c: 01 [09:20:54]MH_I2C_Read... [09:20:54]Read from MH i2c: 01 07 00 [09:20:54]MH_I2C_Read... [09:20:54]Read from MH i2c: 01 07 00 82 10 00 00 00 00 00 FC 0C A1 [09:20:54]RasterBufferAndPrint [09:20:54]line [09:20:54]line [09:20:54]line [09:20:54]line [09:20:54]line [09:20:54]written 0, free lines is 3330 [09:20:54]MH_Cut [09:20:54]Write to MH i2c: D1 01 00 89 10 01 6B [09:20:54]Write i2c OK [09:20:54]MH_I2C_Read... [09:20:54]Read from MH i2c: D1 [09:20:54]MH_I2C_Read... [09:20:54]Read from MH i2c: D1 01 00 [09:20:54]MH_I2C_Read... [09:20:54]Read from MH i2c: D1 01 00 89 10 00 6A [09:20:54]Write to MH i2c: 01 00 00 8A 10 9A [09:20:54]Write i2c OK [09:20:54]MH_I2C_Read... [09:20:54]OFD Sender: No OFD packet to send [09:20:55]*** Cut start [09:20:55]*** Partial cut [09:20:55]*** CUTSNS_PIN = 1 [09:20:55]*** CUTSNS_PIN = 0 [09:20:55]*** Brake cut motor [09:20:55]Read from MH i2c: 01 [09:20:55]MH_I2C_Read... [09:20:55]*** Stop cut motor [09:20:55]*** Cut end [09:20:55]Read from MH i2c: 01 07 00 [09:20:55]MH_I2C_Read... [09:20:55]Read from MH i2c: 01 07 00 8A 10 00 00 00 00 00 FF 0F AF [09:20:55]process_action close_receipt done [09:20:55]requested_data is exist [09:20:55]produce_requested_data [09:20:55]requested_item fm.sn is exist - process it [09:20:55]wFMCommunicate request_size=4 [09:20:55]MH_SAM_APDU [09:20:55]CAPDU: 80 11 00 00 [09:20:55]Write to MH i2c: E2 08 00 8B 10 80 11 00 00 00 00 00 00 15 [09:20:55]Write i2c OK [09:20:55]MH_I2C_Read... [09:20:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:20:55]Read from MH i2c: E2 [09:20:55]MH_I2C_Read... [09:20:55]Read from MH i2c: E2 17 00 [09:20:55]MH_I2C_Read... [09:20:55]Read from MH i2c: E2 17 00 8B 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 6F [09:20:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [09:20:55]wFMCommunicate OK [09:20:55]requested_item fd.num is exist - process it [09:20:55]SAM_PROTO_GetFieldsCounters [09:20:55]wFMCommunicate request_size=4 [09:20:55]MH_SAM_APDU [09:20:55]CAPDU: 80 13 00 00 [09:20:55]Write to MH i2c: E2 08 00 8C 10 80 13 00 00 00 00 00 00 18 [09:20:55]Write i2c OK [09:20:55]MH_I2C_Read... [09:20:55]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:20:55]Read from MH i2c: E2 [09:20:55]MH_I2C_Read... [09:20:55]Read from MH i2c: E2 62 00 [09:20:55]MH_I2C_Read... [09:20:55]Read from MH i2c: E2 62 00 8C 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 40 DF 00 00 0E 04 04 00 F1 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 D9 [09:20: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 40 DF 00 00 0E 04 04 00 F1 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:20:55]wFMCommunicate OK [09:20:55]SAM_PROTO_GetFieldsCounters done [09:20:55]requested_item shift.num is exist - process it [09:20:55]requested_item shift.opened is exist - process it [09:20:55]req_shift_opened [09:20:55]FM_GetShiftState [09:20:55]SAM_PROTO_GetShiftState [09:20:55]wFMCommunicate request_size=4 [09:20:55]MH_SAM_APDU [09:20:55]CAPDU: 80 13 01 00 [09:20:55]Write to MH i2c: E2 08 00 8D 10 80 13 01 00 00 00 00 00 1A [09:20:55]Write i2c OK [09:20:55]MH_I2C_Read... [09:20:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:20:55]Read from MH i2c: E2 [09:20:55]MH_I2C_Read... [09:20:55]Read from MH i2c: E2 0E 00 [09:20:55]MH_I2C_Read... [09:20:55]Read from MH i2c: E2 0E 00 8D 10 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 93 [09:20:55]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [09:20:55]wFMCommunicate OK [09:20:55]SAM_PROTO_GetShiftState done [09:20:55]FM_GetShiftState done [09:20:55]req_shift_opened done [09:20:55]requested_item shift.open_date is exist - process it [09:20:55]req_shift_open_date [09:20:55]req_shift_open_date done [09:20:55]requested_item shift.sale.total is exist - process it [09:20:55]SAM_PROTO_GetShiftData [09:20:55]wFMCommunicate request_size=4 [09:20:55]MH_SAM_APDU [09:20:55]CAPDU: 80 13 02 00 [09:20:55]Write to MH i2c: E2 08 00 8E 10 80 13 02 00 00 00 00 00 1C [09:20:55]Write i2c OK [09:20:55]MH_I2C_Read... [09:20:56]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [09:20:56]Read from MH i2c: E2 [09:20:56]MH_I2C_Read... [09:20:56]Read from MH i2c: E2 FD 00 [09:20:56]MH_I2C_Read... [09:20:56]Read from MH i2c: E2 FD 00 8E 10 00 B6 04 AA 04 B2 04 6E 04 04 00 2F 00 00 00 69 04 9B 00 6F 04 04 00 2E 00 00 00 B1 04 03 00 51 26 11 70 04 03 00 3C 12 0C 72 04 03 00 15 14 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 33 D2 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 D8 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 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 EF [09:20:56]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 2F 00 00 00 69 04 9B 00 6F 04 04 00 2E 00 00 00 B1 04 03 00 51 26 11 70 04 03 00 3C 12 0C 72 04 03 00 15 14 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 33 D2 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 D8 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 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 [09:20:56]wFMCommunicate OK [09:20:56]wFMCommunicate request_size=4 [09:20:56]MH_SAM_APDU [09:20:56]CAPDU: 80 17 00 00 [09:20:56]Write to MH i2c: E2 08 00 8F 10 80 17 00 00 00 00 00 00 1F [09:20:56]Write i2c OK [09:20:56]MH_I2C_Read... [09:20:56]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:20:56]Read from MH i2c: E2 [09:20:56]MH_I2C_Read... [09:20:56]Read from MH i2c: E2 FD 00 [09:20:56]MH_I2C_Read... [09:20:56]Read from MH i2c: E2 FD 00 8F 10 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 54 [09:20: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 [09:20:56]wFMCommunicate OK [09:20:56]wFMCommunicate request_size=4 [09:20:56]MH_SAM_APDU [09:20:56]CAPDU: 80 17 00 00 [09:20:56]Write to MH i2c: E2 08 00 90 10 80 17 00 00 00 00 00 00 20 [09:20:56]Write i2c OK [09:20:56]MH_I2C_Read... [09:20:56]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:20:56]Read from MH i2c: E2 [09:20:56]MH_I2C_Read... [09:20:56]Read from MH i2c: E2 FD 00 [09:20:56]MH_I2C_Read... [09:20:56]Read from MH i2c: E2 FD 00 90 10 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 E0 [09:20:56]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 [09:20:56]wFMCommunicate OK [09:20:56]wFMCommunicate request_size=4 [09:20:56]MH_SAM_APDU [09:20:56]CAPDU: 80 17 00 00 [09:20:56]Write to MH i2c: E2 08 00 91 10 80 17 00 00 00 00 00 00 21 [09:20:56]Write i2c OK [09:20:56]MH_I2C_Read... [09:20:57]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:20:57]Read from MH i2c: E2 [09:20:57]MH_I2C_Read... [09:20:57]Read from MH i2c: E2 FD 00 [09:20:57]MH_I2C_Read... [09:20:57]Read from MH i2c: E2 FD 00 91 10 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 90 [09:20: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 [09:20:57]wFMCommunicate OK [09:20:57]wFMCommunicate request_size=4 [09:20:57]MH_SAM_APDU [09:20:57]CAPDU: 80 17 00 00 [09:20:57]Write to MH i2c: E2 08 00 92 10 80 17 00 00 00 00 00 00 22 [09:20:57]Write i2c OK [09:20:57]MH_I2C_Read... [09:20:57]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [09:20:57]Read from MH i2c: E2 [09:20:57]MH_I2C_Read... [09:20:57]Read from MH i2c: E2 D3 00 [09:20:57]MH_I2C_Read... [09:20:57]Read from MH i2c: E2 D3 00 92 10 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 0F [09:20: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 [09:20:57]wFMCommunicate OK [09:20:57]SAM_PROTO_GetShiftData done [09:20:57]requested_item shift.sale.total_cash is exist - process it [09:20:57]requested_item shift.sale_refund.total is exist - process it [09:20:57]requested_item shift.sale_refund.total_cash is exist - process it [09:20:57]produce_requested_data done [09:20:57]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57152,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":11239.21,"shift.sale.total_cash":7911.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [09:20:57]process_action_free close_receipt [09:20:57]json_value_free [09:20:57]json_value_free done [09:20:57]process_json_proto returns [09:20:57]Send response to host [09:20:57]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57152,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":11239.21,"shift.sale.total_cash":7911.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [09:20:57]free response buf [09:20:57]execute_script done [09:20:57]execute_script returns [09:20:57]free content buf [09:20:57]Sock 10.Close socket [09:20:57]Sock 10.Thread stoped [09:20:59]OFD Sender: No OFD packet to send [09:21:04]OFD Sender: No OFD packet to send [09:21:09]OFD Sender: No OFD packet to send [09:21:14]OFD Sender: No OFD packet to send [09:21:19]OFD Sender: No OFD packet to send [09:21:24]OFD Sender: No OFD packet to send [09:21:29]OFD Sender: No OFD packet to send [09:21:34]OFD Sender: No OFD packet to send [09:21:39]OFD Sender: No OFD packet to send [09:21:44]OFD Sender: No OFD packet to send [09:21:49]OFD Sender: No OFD packet to send [09:21:54]OFD Sender: No OFD packet to send [09:21:59]OFD Sender: No OFD packet to send [09:22:04]OFD Sender: No OFD packet to send [09:22:09]OFD Sender: No OFD packet to send [09:22:14]OFD Sender: No OFD packet to send [09:22:19]OFD Sender: No OFD packet to send [09:22:24]OFD Sender: No OFD packet to send [09:22:29]OFD Sender: No OFD packet to send [09:22:34]OFD Sender: No OFD packet to send [09:22:39]OFD Sender: No OFD packet to send [09:22:44]OFD Sender: No OFD packet to send [09:22:49]OFD Sender: No OFD packet to send [09:22:54]OFD Sender: No OFD packet to send [09:22:59]OFD Sender: No OFD packet to send [09:23:04]OFD Sender: No OFD packet to send [09:23:09]OFD Sender: No OFD packet to send [09:23:14]OFD Sender: No OFD packet to send [09:23:19]OFD Sender: No OFD packet to send [09:23:24]OFD Sender: No OFD packet to send [09:23:29]OFD Sender: No OFD packet to send [09:23:34]OFD Sender: No OFD packet to send [09:23:39]OFD Sender: No OFD packet to send [09:23:44]OFD Sender: No OFD packet to send [09:23:49]OFD Sender: No OFD packet to send [09:23:54]OFD Sender: No OFD packet to send [09:23:59]OFD Sender: No OFD packet to send [09:24:04]OFD Sender: No OFD packet to send [09:24:09]OFD Sender: No OFD packet to send [09:24:14]OFD Sender: No OFD packet to send [09:24:19]OFD Sender: No OFD packet to send [09:24:24]OFD Sender: No OFD packet to send [09:24:29]OFD Sender: No OFD packet to send [09:24:34]OFD Sender: No OFD packet to send [09:24:39]OFD Sender: No OFD packet to send [09:24:44]OFD Sender: No OFD packet to send [09:24:49]OFD Sender: No OFD packet to send [09:24:54]OFD Sender: No OFD packet to send [09:24:59]OFD Sender: No OFD packet to send [09:25:04]OFD Sender: No OFD packet to send [09:25:09]OFD Sender: No OFD packet to send [09:25:14]OFD Sender: No OFD packet to send [09:25:19]OFD Sender: No OFD packet to send [09:25:24]OFD Sender: No OFD packet to send [09:25:29]OFD Sender: No OFD packet to send [09:25:34]OFD Sender: No OFD packet to send [09:25:39]OFD Sender: No OFD packet to send [09:25:44]OFD Sender: No OFD packet to send [09:25:49]OFD Sender: No OFD packet to send [09:25:55]OFD Sender: No OFD packet to send [09:26:00]OFD Sender: No OFD packet to send [09:26:05]OFD Sender: No OFD packet to send [09:26:10]OFD Sender: No OFD packet to send [09:26:15]OFD Sender: No OFD packet to send [09:26:20]OFD Sender: No OFD packet to send [09:26:25]OFD Sender: No OFD packet to send [09:26:30]OFD Sender: No OFD packet to send [09:26:35]OFD Sender: No OFD packet to send [09:26:40]OFD Sender: No OFD packet to send [09:26:45]OFD Sender: No OFD packet to send [09:26:50]OFD Sender: No OFD packet to send [09:26:55]OFD Sender: No OFD packet to send [09:27:00]OFD Sender: No OFD packet to send [09:27:05]OFD Sender: No OFD packet to send [09:27:10]OFD Sender: No OFD packet to send [09:27:15]OFD Sender: No OFD packet to send [09:27:20]OFD Sender: No OFD packet to send [09:27:25]OFD Sender: No OFD packet to send [09:27:30]OFD Sender: No OFD packet to send [09:27:35]OFD Sender: No OFD packet to send [09:27:40]OFD Sender: No OFD packet to send [09:27:45]OFD Sender: No OFD packet to send [09:27:50]OFD Sender: No OFD packet to send [09:27:55]OFD Sender: No OFD packet to send [09:28:00]OFD Sender: No OFD packet to send [09:28:05]OFD Sender: No OFD packet to send [09:28:10]OFD Sender: No OFD packet to send [09:28:15]OFD Sender: No OFD packet to send [09:28:20]OFD Sender: No OFD packet to send [09:28:25]OFD Sender: No OFD packet to send [09:28:30]OFD Sender: No OFD packet to send [09:28:35]OFD Sender: No OFD packet to send [09:28:40]OFD Sender: No OFD packet to send [09:28:45]OFD Sender: No OFD packet to send [09:28:50]OFD Sender: No OFD packet to send [09:28:55]OFD Sender: No OFD packet to send [09:29:00]OFD Sender: No OFD packet to send [09:29:05]OFD Sender: No OFD packet to send [09:29:10]OFD Sender: No OFD packet to send [09:29:15]OFD Sender: No OFD packet to send [09:29:20]OFD Sender: No OFD packet to send [09:29:25]OFD Sender: No OFD packet to send [09:29:30]OFD Sender: No OFD packet to send [09:29:35]OFD Sender: No OFD packet to send [09:29:40]OFD Sender: No OFD packet to send [09:29:45]OFD Sender: No OFD packet to send [09:29:50]OFD Sender: No OFD packet to send [09:29:55]OFD Sender: No OFD packet to send [09:30:00]OFD Sender: No OFD packet to send [09:30:05]OFD Sender: No OFD packet to send [09:30:10]OFD Sender: No OFD packet to send [09:30:15]OFD Sender: No OFD packet to send [09:30:20]OFD Sender: No OFD packet to send [09:30:25]OFD Sender: No OFD packet to send [09:30:30]OFD Sender: No OFD packet to send [09:30:35]OFD Sender: No OFD packet to send [09:30:40]OFD Sender: No OFD packet to send [09:30:45]OFD Sender: No OFD packet to send [09:30:50]OFD Sender: No OFD packet to send [09:30:55]OFD Sender: No OFD packet to send [09:31:00]OFD Sender: No OFD packet to send [09:31:05]OFD Sender: No OFD packet to send [09:31:10]OFD Sender: No OFD packet to send [09:31:15]OFD Sender: No OFD packet to send [09:31:20]OFD Sender: No OFD packet to send [09:31:25]OFD Sender: No OFD packet to send [09:31:30]OFD Sender: No OFD packet to send [09:31:35]OFD Sender: No OFD packet to send [09:31:40]OFD Sender: No OFD packet to send [09:31:45]OFD Sender: No OFD packet to send [09:31:50]OFD Sender: No OFD packet to send [09:31:55]OFD Sender: No OFD packet to send [09:32:00]OFD Sender: No OFD packet to send [09:32:05]OFD Sender: No OFD packet to send [09:32:10]OFD Sender: No OFD packet to send [09:32:15]OFD Sender: No OFD packet to send [09:32:20]OFD Sender: No OFD packet to send [09:32:25]OFD Sender: No OFD packet to send [09:32:30]OFD Sender: No OFD packet to send [09:32:35]OFD Sender: No OFD packet to send [09:32:40]OFD Sender: No OFD packet to send [09:32:45]OFD Sender: No OFD packet to send [09:32:50]OFD Sender: No OFD packet to send [09:32:55]OFD Sender: No OFD packet to send [09:33:00]OFD Sender: No OFD packet to send [09:33:05]OFD Sender: No OFD packet to send [09:33:10]OFD Sender: No OFD packet to send [09:33:15]OFD Sender: No OFD packet to send [09:33:20]OFD Sender: No OFD packet to send [09:33:25]OFD Sender: No OFD packet to send [09:33:30]OFD Sender: No OFD packet to send [09:33:35]OFD Sender: No OFD packet to send [09:33:40]OFD Sender: No OFD packet to send [09:33:45]OFD Sender: No OFD packet to send [09:33:50]OFD Sender: No OFD packet to send [09:33:55]OFD Sender: No OFD packet to send [09:34:00]OFD Sender: No OFD packet to send [09:34:05]OFD Sender: No OFD packet to send [09:34:10]OFD Sender: No OFD packet to send [09:34:15]OFD Sender: No OFD packet to send [09:34:20]OFD Sender: No OFD packet to send [09:34:25]OFD Sender: No OFD packet to send [09:34:30]OFD Sender: No OFD packet to send [09:34:35]OFD Sender: No OFD packet to send [09:34:40]OFD Sender: No OFD packet to send [09:34:45]OFD Sender: No OFD packet to send [09:34:50]OFD Sender: No OFD packet to send [09:34:55]OFD Sender: No OFD packet to send [09:35:00]OFD Sender: No OFD packet to send [09:35:05]OFD Sender: No OFD packet to send [09:35:10]OFD Sender: No OFD packet to send [09:35:15]OFD Sender: No OFD packet to send [09:35:20]OFD Sender: No OFD packet to send [09:35:25]OFD Sender: No OFD packet to send [09:35:30]OFD Sender: No OFD packet to send [09:35:35]OFD Sender: No OFD packet to send [09:35:40]OFD Sender: No OFD packet to send [09:35:45]OFD Sender: No OFD packet to send [09:35:50]OFD Sender: No OFD packet to send [09:35:55]OFD Sender: No OFD packet to send [09:36:00]OFD Sender: No OFD packet to send [09:36:05]OFD Sender: No OFD packet to send [09:36:10]OFD Sender: No OFD packet to send [09:36:15]OFD Sender: No OFD packet to send [09:36:20]OFD Sender: No OFD packet to send [09:36:25]OFD Sender: No OFD packet to send [09:36:30]OFD Sender: No OFD packet to send [09:36:35]OFD Sender: No OFD packet to send [09:36:40]OFD Sender: No OFD packet to send [09:36:45]OFD Sender: No OFD packet to send [09:36:50]OFD Sender: No OFD packet to send [09:36:55]OFD Sender: No OFD packet to send [09:37:00]OFD Sender: No OFD packet to send [09:37:05]OFD Sender: No OFD packet to send [09:37:10]OFD Sender: No OFD packet to send [09:37:15]OFD Sender: No OFD packet to send [09:37:20]OFD Sender: No OFD packet to send [09:37:25]OFD Sender: No OFD packet to send [09:37:30]OFD Sender: No OFD packet to send [09:37:35]OFD Sender: No OFD packet to send [09:37:40]OFD Sender: No OFD packet to send [09:37:45]OFD Sender: No OFD packet to send [09:37:50]OFD Sender: No OFD packet to send [09:37:55]OFD Sender: No OFD packet to send [09:38:00]OFD Sender: No OFD packet to send [09:38:05]OFD Sender: No OFD packet to send [09:38:10]OFD Sender: No OFD packet to send [09:38:15]OFD Sender: No OFD packet to send [09:38:20]OFD Sender: No OFD packet to send [09:38:25]OFD Sender: No OFD packet to send [09:38:30]OFD Sender: No OFD packet to send [09:38:35]OFD Sender: No OFD packet to send [09:38:40]OFD Sender: No OFD packet to send [09:38:45]OFD Sender: No OFD packet to send [09:38:50]OFD Sender: No OFD packet to send [09:38:55]OFD Sender: No OFD packet to send [09:39:00]OFD Sender: No OFD packet to send [09:39:05]OFD Sender: No OFD packet to send [09:39:10]OFD Sender: No OFD packet to send [09:39:15]OFD Sender: No OFD packet to send [09:39:20]OFD Sender: No OFD packet to send [09:39:25]OFD Sender: No OFD packet to send [09:39:30]OFD Sender: No OFD packet to send [09:39:35]OFD Sender: No OFD packet to send [09:39:40]OFD Sender: No OFD packet to send [09:39:45]OFD Sender: No OFD packet to send [09:39:50]OFD Sender: No OFD packet to send [09:39:55]OFD Sender: No OFD packet to send [09:40:00]OFD Sender: No OFD packet to send [09:40:05]OFD Sender: No OFD packet to send [09:40:10]OFD Sender: No OFD packet to send [09:40:15]OFD Sender: No OFD packet to send [09:40:20]OFD Sender: No OFD packet to send [09:40:25]OFD Sender: No OFD packet to send [09:40:30]OFD Sender: No OFD packet to send [09:40:35]OFD Sender: No OFD packet to send [09:40:40]OFD Sender: No OFD packet to send [09:40:45]OFD Sender: No OFD packet to send [09:40:50]OFD Sender: No OFD packet to send [09:40:52]accept exits with 8 [09:40:52]New connection [09:40:52]New thread 3067067748 created [09:40:52]Thread 3066924388 joined [09:40:52]Waiting for new connection... [09:40:52] Sock 8.Parse request [09:40:52]Sock 8.Check first char [09:40:52]Sock 8.First char is OK [09:40:52]request: POST /json_proto HTTP/1.0 [09:40:52]Method: POST [09:40:52]URL: /json_proto [09:40:52]Method is POST - this is cgi request [09:40:52]url: /json_proto [09:40:52]query_string will be loaded in cgi processing [09:40:52]execute_cgi json_proto POST (null) [09:40:52]execute_cgi path=json_proto method=POST [09:40:52]POST find Content-Length [09:40:52]Host: 172.17.39.4:8080 [09:40:52]Content-Length: 825 [09:40:52]Content-Type: application/json [09:40:52] [09:40:52]POST finish read [09:40:52]Found Content-Length = 825 [09:40:52]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129607", "tax_sys" : 0, "items" : [ { "code": "7622201450427", "name": "\u0428\u043E\u043A AG \u043C\u043E\u043B \u0444\u0443\u043D\u0434\u0443\u043A \u0444\u043B\u043E\u0443-\u043F\u0430\u043A 90\u0433 (\u043D\u043E\u0432\u044B\u0439)", "price" : 145.00, "quantity" : 2.000, "sum" : 290.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 290.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [09:40:52]execute_script... [09: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)129607", "tax_sys" : 0, "items" : [ { "code": "7622201450427", "name": "\u0428\u043E\u043A AG \u043C\u043E\u043B \u0444\u0443\u043D\u0434\u0443\u043A \u0444\u043B\u043E\u0443-\u043F\u0430\u043A 90\u0433 (\u043D\u043E\u0432\u044B\u0439)", "price" : 145.00, "quantity" : 2.000, "sum" : 290.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 290.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [09:40:52]POST & json_proto [09:40:52]process_json_proto [09:40:52]json parsed OK: [09:40:52]protocol is kg_v1.0 [09:40:52]action value=close_receipt [09:40:52]process_action close_receipt [09:40:52]cmd_close_receipt [09:40:52]MH_GetDate [09:40:52]Write to MH i2c: F0 00 00 93 10 92 [09:40:52]Write i2c OK [09:40:52]MH_I2C_Read... [09:40:52]Read from MH i2c: F0 [09:40:52]MH_I2C_Read... [09:40:52]Read from MH i2c: F0 09 00 [09:40:52]MH_I2C_Read... [09:40:52]Read from MH i2c: F0 09 00 93 10 00 A7 EE 94 66 2D 25 5D 64 3D [09:40:52]GetLastDocTimeStamp 1721035254 [09:40:52]current date 1721036455 [09:40:52]FM_GetShiftState [09:40:52]SAM_PROTO_GetShiftState [09:40:52]wFMCommunicate request_size=4 [09:40:52]MH_SAM_APDU [09:40:52]CAPDU: 80 13 01 00 [09:40:52]Write to MH i2c: E2 08 00 94 10 80 13 01 00 00 00 00 00 21 [09:40:52]Write i2c OK [09:40:52]MH_I2C_Read... [09:40:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:40:52]Read from MH i2c: E2 [09:40:52]MH_I2C_Read... [09:40:52]Read from MH i2c: E2 0E 00 [09:40:52]MH_I2C_Read... [09:40:52]Read from MH i2c: E2 0E 00 94 10 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 9A [09:40:52]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [09:40:52]wFMCommunicate OK [09:40:52]SAM_PROTO_GetShiftState done [09:40:52]FM_GetShiftState done [09:40:52]opened in 1721003525 [09:40:52]opened+sec_in_day 1721089925 [09:40:52]quantity*price = 29000 [09:40:52]sum+1 = 29001 [09:40:52]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 290.00 НСП 1% : 2.57 НДС 12% : 30.80 Наличными: 290.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 48 15.07.2024 09:40 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57153 ФПД: 189035112145736 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T094055&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57153&fm=189035112145736&tin=02508201610067®Number=0000000000091208&sum=29000 0 [09:40:53]StoreToDocumentArchive [09:40:53]shift 497 fd 57153 [09:40:53]save to /storage/0497/doc_00057153 [09:40:53]save last doc name /storage/0497/doc_00057153 to /storage/kkm_last_doc_name [09:40:53]save OK [09:40:53]Clear old archive folders... [09:40:53]ProcessDocumentItem done err = 0, tmpTLVsize=305 [09:40:53]tlvbuf is 009ECB60 [09:40:53]SAM_PROTO_ClearQueue [09:40:53]wFMCommunicate request_size=4 [09:40:53]MH_SAM_APDU [09:40:53]CAPDU: 80 09 00 00 [09:40:53]Write to MH i2c: E2 08 00 A1 10 80 09 00 00 00 00 00 00 23 [09:40:53]Write i2c OK [09:40:53]MH_I2C_Read... [09:40:53]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:40:53]Read from MH i2c: E2 [09:40:53]MH_I2C_Read... [09:40:53]Read from MH i2c: E2 03 00 [09:40:53]MH_I2C_Read... [09:40:53]Read from MH i2c: E2 03 00 A1 10 00 90 00 25 [09:40:53]RAPDU: 90 00 [09:40:53]wFMCommunicate OK [09:40:53]SAM_PROTO_ClearQueue done [09:40:53]KKMCreateOFDPacket [09:40:53]OFDProtocolAddRootSTLVToBuf [09:40:53]FM_MakeSignedData [09:40:53]FM_MakeSignedData [09:40:53]SAM_PROTO_SignData [09:40:53]wFMCommunicate request_size=4 [09:40:53]MH_SAM_APDU [09:40:53]CAPDU: 80 0D 01 02 [09:40:53]Write to MH i2c: E2 08 00 A2 10 80 0D 01 02 00 00 00 00 2B [09:40:53]Write i2c OK [09:40:53]MH_I2C_Read... [09:40:53]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:40:53]Read from MH i2c: E2 [09:40:53]MH_I2C_Read... [09:40:53]Read from MH i2c: E2 03 00 [09:40:53]MH_I2C_Read... [09:40:53]Read from MH i2c: E2 03 00 A2 10 00 90 00 26 [09:40:53]RAPDU: 90 00 [09:40:53]wFMCommunicate OK [09:40:53]wFMCommunicate request_size=255 [09:40:53]MH_SAM_APDU [09:40:53]CAPDU: 80 0D 02 02 FA 03 00 31 01 1E 04 01 00 01 23 04 83 00 8A 04 0D 00 37 36 32 32 32 30 31 34 35 30 34 32 37 06 04 3F 00 D0 A8 D0 BE D0 BA 20 41 47 20 D0 BC D0 BE D0 BB 20 D1 84 D1 83 D0 BD D0 B4 D1 83 D0 BA 20 D1 84 D0 BB D0 BE D1 83 2D D0 BF D0 B0 D0 BA 20 39 30 D0 B3 20 28 D0 BD D0 BE D0 B2 D1 8B D0 B9 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 A4 38 00 00 00 00 13 04 06 00 48 71 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 48 71 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 01 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 08 0C 00 00 00 00 07 04 06 00 48 71 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 30 00 00 00 F4 03 04 00 A7 EE 94 66 0E 04 04 00 F1 01 00 00 B9 04 01 00 [09:40:53]Write to MH i2c: E2 02 01 A3 10 80 0D 02 02 FA 00 03 00 31 01 1E 04 01 00 01 23 04 83 00 8A 04 0D 00 37 36 32 32 32 30 31 34 35 30 34 32 37 06 04 3F 00 D0 A8 D0 BE D0 BA 20 41 47 20 D0 BC D0 BE D0 BB 20 D1 84 D1 83 D0 BD D0 B4 D1 83 D0 BA 20 D1 84 D0 BB D0 BE D1 83 2D D0 BF D0 B0 D0 BA 20 39 30 D0 B3 20 28 D0 BD D0 BE D0 B2 D1 8B D0 B9 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 A4 38 00 00 00 00 13 04 06 00 48 71 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 48 71 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 01 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 08 0C 00 00 00 00 07 04 06 00 48 71 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 30 00 00 00 F4 03 04 00 A7 EE 94 66 0E 04 04 00 F1 01 00 00 B9 04 01 00 00 00 2E [09:40:53]Write i2c OK [09:40:53]MH_I2C_Read... [09:40:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:40:54]Read from MH i2c: E2 [09:40:54]MH_I2C_Read... [09:40:54]Read from MH i2c: E2 03 00 [09:40:54]MH_I2C_Read... [09:40:54]Read from MH i2c: E2 03 00 A3 10 00 90 00 27 [09:40:54]RAPDU: 90 00 [09:40:54]wFMCommunicate OK [09:40:54]wFMCommunicate request_size=64 [09:40:54]MH_SAM_APDU [09:40:54]CAPDU: 80 0D 02 02 3B 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 41 DF 00 00 35 04 06 00 AB ED 2A B5 A3 48 [09:40:54]Write to MH i2c: E2 43 00 A4 10 80 0D 02 02 3B 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 41 DF 00 00 35 04 06 00 AB ED 2A B5 A3 48 00 00 FF [09:40:54]Write i2c OK [09:40:54]MH_I2C_Read... [09:40:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:40:54]Read from MH i2c: E2 [09:40:54]MH_I2C_Read... [09:40:54]Read from MH i2c: E2 03 00 [09:40:54]MH_I2C_Read... [09:40:54]Read from MH i2c: E2 03 00 A4 10 00 90 00 28 [09:40:54]RAPDU: 90 00 [09:40:54]wFMCommunicate OK [09:40:54]wFMCommunicate request_size=4 [09:40:54]MH_SAM_APDU [09:40:54]CAPDU: 80 0D 03 02 [09:40:54]Write to MH i2c: E2 08 00 A5 10 80 0D 03 02 00 00 00 00 30 [09:40:54]Write i2c OK [09:40:54]MH_I2C_Read... [09:40:54]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:40:54]Read from MH i2c: E2 [09:40:54]MH_I2C_Read... [09:40:54]Read from MH i2c: E2 0B 00 [09:40:54]MH_I2C_Read... [09:40:54]Read from MH i2c: E2 0B 00 A5 10 00 1A A0 71 21 58 87 AE 16 90 00 20 [09:40:54]RAPDU: 1A A0 71 21 58 87 AE 16 90 00 [09:40:54]wFMCommunicate OK [09:40:54]SAM_PROTO_SignData done [09:40:54]FM_MakeSignedData done [09:40:54]CreateOFDProtocolMessage [09:40:54]wFMCommunicate request_size=4 [09:40:54]MH_SAM_APDU [09:40:54]CAPDU: 80 11 00 00 [09:40:54]Write to MH i2c: E2 08 00 A6 10 80 11 00 00 00 00 00 00 30 [09:40:54]Write i2c OK [09:40:54]MH_I2C_Read... [09:40:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:40:54]Read from MH i2c: E2 [09:40:54]MH_I2C_Read... [09:40:54]Read from MH i2c: E2 17 00 [09:40:54]MH_I2C_Read... [09:40:54]Read from MH i2c: E2 17 00 A6 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 8A [09: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 [09:40:54]wFMCommunicate OK [09:40:54]CreateOFDProtocolMessage done [09:40:54]OFDSenderStorePacket 57153 [09:40:54]StoreOFDPacket docnum=57153 [09: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 45 01 00 00 64 6D 3D 01 01 1F 5A 03 01 00 03 00 31 01 1E 04 01 00 01 23 04 83 00 8A 04 0D 00 37 36 32 32 32 30 31 34 35 30 34 32 37 06 04 3F 00 D0 A8 D0 BE D0 BA 20 41 47 20 D0 BC D0 BE D0 BB 20 D1 84 D1 83 D0 BD D0 B4 D1 83 D0 BA 20 D1 84 D0 BB D0 BE D1 83 2D D0 BF D0 B0 D0 BA 20 39 30 D0 B3 20 28 D0 BD D0 BE D0 B2 D1 8B D0 B9 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 A4 38 00 00 00 00 13 04 06 00 48 71 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 48 71 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 01 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 08 0C 00 00 00 00 07 04 06 00 48 71 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 30 00 00 00 F4 03 04 00 A7 EE 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 41 DF 00 00 35 04 06 00 AB ED 2A B5 A3 48 1A A0 71 21 58 87 AE 16 [09:40:54]CheckFolder [09:40:54]dirname=/storage/ofd_packets [09:40:54]CheckFolder done [09:40:54]ProducePacketName [09:40:54]name=ofd_packets/00057153 [09:40:54]NVStorageSaveData ofd_packets/00057153 [09:40:54]File name is /storage/ofd_packets/00057153 [09:40:54]Write 355 bytes [09:40:54]NVStorageSaveData done [09:40:54]OFDSenderStorePacket done [09:40:54]KKMCreateOFDPacket done [09:40:54]NVStorageSaveData kkm_last_timestamp [09:40:54]File name is /storage/kkm_last_timestamp [09:40:54]Write 4 bytes [09:40:54]NVStorageSaveData done [09:40:54]ExternCall_PrintAddStr [09:40:54]wPrintStart [09:40:54]Write to MH i2c: 01 00 00 A7 10 B7 [09:40:54]Write i2c OK [09:40:54]MH_I2C_Read... [09:40:54]Read from MH i2c: 01 [09:40:54]MH_I2C_Read... [09:40:54]Read from MH i2c: 01 07 00 [09:40:54]MH_I2C_Read... [09:40:54]Read from MH i2c: 01 07 00 A7 10 00 00 00 00 00 FF 0F CC [09:40:54]RasterBufferAndPrint [09:40:54]line Счет N : (3)129607 [09:40:54]line ИНН: 02508201610067 [09:40:54]line Контрольно-Кассовый Чек [09:40:54]line ПРОДАЖА [09:40:54]line Товар: 7622201450427 [09:40:54]line Шок AG мол фундук флоу-пак 90г (новый) [09:40:54]line 2.000 * 145.00 [09:40:54]line = 290.00 [09:40:54]line НДС 12% НСП 1% [09:40:54]line > о реализуемом товаре [09:40:54]line ИТОГО: 290.00 [09:40:54]line НСП 1% : 2.57 [09:40:54]line НДС 12% : 30.80 [09:40:54]line Наличными: 290.00 [09:40:54]line Безнал.: 0.00 [09:40:54]line Место: АЗС № 132 "Партнер Нефть" [09:40:54]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [09:40:54]line СНО: Общий режим [09:40:54]line Чек 48 15.07.2024 09:40 [09:40:54]line Смена: 497 ФФД: 1.0 [09:40:54]line ЗНМ: 0300000132 [09:40:54]line РНМ: 0000000000091208 [09:40:54]line Версия ККМ: 001 [09:40:54]line ФМ: 0000000000874857 [09:40:54]line ФД: 57153 [09:40:54]line ФПД: 189035112145736 [09:40:54]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T094055&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57153&fm=189035112145736&tin=02508201610067®Number=0000000000091208&sum=29000 [09:40:54]line 0 [09:40:54]OFD Sender: Processing packet 57153 [packets to send 38, broken 37] [09:40:54]ProducePacketName [09:40:54]name=ofd_packets/00057153 [09:40:54]OFD Sender: To server: pG, [09:40:54]CommunicateWithHost lk.salyk.kg:30040 [09:40:54]ConnectInit lk.salyk.kg [09:40:54]written 0, free lines is 4095 [09:40:54]Connected sock=10 [09:40: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 45 01 00 00 64 6D 3D 01 01 1F 5A 03 01 00 03 00 31 01 1E 04 01 00 01 23 04 83 00 8A 04 0D 00 37 36 32 32 32 30 31 34 35 30 34 32 37 06 04 3F 00 D0 A8 D0 BE D0 BA 20 41 47 20 D0 BC D0 BE D0 BB 20 D1 84 D1 83 D0 BD D0 B4 D1 83 D0 BA 20 D1 84 D0 BB D0 BE D1 83 2D D0 BF D0 B0 D0 BA 20 39 30 D0 B3 20 28 D0 BD D0 BE D0 B2 D1 8B D0 B9 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 A4 38 00 00 00 00 13 04 06 00 48 71 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 48 71 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 01 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 08 0C 00 00 00 00 07 04 06 00 48 71 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 30 00 00 00 F4 03 04 00 A7 EE 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 41 DF 00 00 35 04 06 00 AB ED 2A B5 A3 48 1A A0 71 21 58 87 AE 16 [09: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 AE 5A 47 00 38 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 41 DF 00 00 F4 03 04 00 F6 94 94 66 B6 04 01 00 00 7F 87 32 A1 2F 94 0D ED [09:40:55]CommunicateWithHost err = 0 [09:40:55]CheckOFDResponse [09:40:55]1017 (14) - 77093643461234 [09:40:55]1041 (16) - 0000000000874857 [09:40:55]1040 (4) - 57153 [09:40:55]1012 (4) - 15.07.2024 03:18 [09:40:55]1206 (1) - 0 [09:40:55]OFD Sender: Remove packet 57153 [09:40:55]ProducePacketName [09:40:55]name=ofd_packets/00057153 [09:40:55]NVStorageDeleteData [09:40:55]Write to MH i2c: 01 00 00 D0 10 E0 [09:40:55]Write i2c OK [09:40:55]MH_I2C_Read... [09:40:55]Read from MH i2c: 01 [09:40:55]MH_I2C_Read... [09:40:55]Read from MH i2c: 01 07 00 [09:40:55]MH_I2C_Read... [09:40:55]Read from MH i2c: 01 07 00 D0 10 00 00 00 00 00 00 0D F4 [09:40:55]RasterBufferAndPrint [09:40:55]line [09:40:55]line [09:40:55]line [09:40:55]line [09:40:55]line [09:40:55]written 0, free lines is 3334 [09:40:55]MH_Cut [09:40:55]Write to MH i2c: D1 01 00 D7 10 01 B9 [09:40:55]Write i2c OK [09:40:55]MH_I2C_Read... [09:40:55]Read from MH i2c: D1 [09:40:55]MH_I2C_Read... [09:40:55]Read from MH i2c: D1 01 00 [09:40:55]MH_I2C_Read... [09:40:55]Read from MH i2c: D1 01 00 D7 10 00 B8 [09:40:55]Write to MH i2c: 01 00 00 D8 10 E8 [09:40:55]Write i2c OK [09:40:55]MH_I2C_Read... [09:40:55]OFD Sender: No OFD packet to send [09:40:55]*** Cut start [09:40:55]*** Partial cut [09:40:55]*** CUTSNS_PIN = 1 [09:40:55]*** CUTSNS_PIN = 0 [09:40:56]*** Brake cut motor [09:40:56]Read from MH i2c: 01 [09:40:56]MH_I2C_Read... [09:40:56]*** Stop cut motor [09:40:56]*** Cut end [09:40:56]Read from MH i2c: 01 07 00 [09:40:56]MH_I2C_Read... [09:40:56]Read from MH i2c: 01 07 00 D8 10 00 00 00 00 00 FF 0F FD [09:40:56]process_action close_receipt done [09:40:56]requested_data is exist [09:40:56]produce_requested_data [09:40:56]requested_item fm.sn is exist - process it [09:40:56]wFMCommunicate request_size=4 [09:40:56]MH_SAM_APDU [09:40:56]CAPDU: 80 11 00 00 [09:40:56]Write to MH i2c: E2 08 00 D9 10 80 11 00 00 00 00 00 00 63 [09:40:56]Write i2c OK [09:40:56]MH_I2C_Read... [09:40:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:40:56]Read from MH i2c: E2 [09:40:56]MH_I2C_Read... [09:40:56]Read from MH i2c: E2 17 00 [09:40:56]MH_I2C_Read... [09:40:56]Read from MH i2c: E2 17 00 D9 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 BD [09: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 [09:40:56]wFMCommunicate OK [09:40:56]requested_item fd.num is exist - process it [09:40:56]SAM_PROTO_GetFieldsCounters [09:40:56]wFMCommunicate request_size=4 [09:40:56]MH_SAM_APDU [09:40:56]CAPDU: 80 13 00 00 [09:40:56]Write to MH i2c: E2 08 00 DA 10 80 13 00 00 00 00 00 00 66 [09:40:56]Write i2c OK [09:40:56]MH_I2C_Read... [09:40:56]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:40:56]Read from MH i2c: E2 [09:40:56]MH_I2C_Read... [09:40:56]Read from MH i2c: E2 62 00 [09:40:56]MH_I2C_Read... [09:40:56]Read from MH i2c: E2 62 00 DA 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 41 DF 00 00 0E 04 04 00 F1 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 2B [09:40: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 41 DF 00 00 0E 04 04 00 F1 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:40:56]wFMCommunicate OK [09:40:56]SAM_PROTO_GetFieldsCounters done [09:40:56]requested_item shift.num is exist - process it [09:40:56]requested_item shift.opened is exist - process it [09:40:56]req_shift_opened [09:40:56]FM_GetShiftState [09:40:56]SAM_PROTO_GetShiftState [09:40:56]wFMCommunicate request_size=4 [09:40:56]MH_SAM_APDU [09:40:56]CAPDU: 80 13 01 00 [09:40:56]Write to MH i2c: E2 08 00 DB 10 80 13 01 00 00 00 00 00 68 [09:40:56]Write i2c OK [09:40:56]MH_I2C_Read... [09:40:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:40:56]Read from MH i2c: E2 [09:40:56]MH_I2C_Read... [09:40:56]Read from MH i2c: E2 0E 00 [09:40:56]MH_I2C_Read... [09:40:56]Read from MH i2c: E2 0E 00 DB 10 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 E1 [09:40:56]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [09:40:56]wFMCommunicate OK [09:40:56]SAM_PROTO_GetShiftState done [09:40:56]FM_GetShiftState done [09:40:56]req_shift_opened done [09:40:56]requested_item shift.open_date is exist - process it [09:40:56]req_shift_open_date [09:40:56]req_shift_open_date done [09:40:56]requested_item shift.sale.total is exist - process it [09:40:56]SAM_PROTO_GetShiftData [09:40:56]wFMCommunicate request_size=4 [09:40:56]MH_SAM_APDU [09:40:56]CAPDU: 80 13 02 00 [09:40:56]Write to MH i2c: E2 08 00 DC 10 80 13 02 00 00 00 00 00 6A [09:40:56]Write i2c OK [09:40:56]MH_I2C_Read... [09:40:57]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [09:40:57]Read from MH i2c: E2 [09:40:57]MH_I2C_Read... [09:40:57]Read from MH i2c: E2 FD 00 [09:40:57]MH_I2C_Read... [09:40:57]Read from MH i2c: E2 FD 00 DC 10 00 B6 04 AA 04 B2 04 6E 04 04 00 30 00 00 00 69 04 9B 00 6F 04 04 00 2F 00 00 00 B1 04 03 00 99 97 11 70 04 03 00 84 83 0C 72 04 03 00 15 14 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 3B DE 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 D9 27 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 C7 [09:40:57]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 30 00 00 00 69 04 9B 00 6F 04 04 00 2F 00 00 00 B1 04 03 00 99 97 11 70 04 03 00 84 83 0C 72 04 03 00 15 14 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 3B DE 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 D9 27 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 [09:40:57]wFMCommunicate OK [09:40:57]wFMCommunicate request_size=4 [09:40:57]MH_SAM_APDU [09:40:57]CAPDU: 80 17 00 00 [09:40:57]Write to MH i2c: E2 08 00 DD 10 80 17 00 00 00 00 00 00 6D [09:40:57]Write i2c OK [09:40:57]MH_I2C_Read... [09:40:57]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:40:57]Read from MH i2c: E2 [09:40:57]MH_I2C_Read... [09:40:57]Read from MH i2c: E2 FD 00 [09:40:57]MH_I2C_Read... [09:40:57]Read from MH i2c: E2 FD 00 DD 10 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 A2 [09:40:57]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 [09:40:57]wFMCommunicate OK [09:40:57]wFMCommunicate request_size=4 [09:40:57]MH_SAM_APDU [09:40:57]CAPDU: 80 17 00 00 [09:40:57]Write to MH i2c: E2 08 00 DE 10 80 17 00 00 00 00 00 00 6E [09:40:57]Write i2c OK [09:40:57]MH_I2C_Read... [09:40:57]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:40:57]Read from MH i2c: E2 [09:40:57]MH_I2C_Read... [09:40:57]Read from MH i2c: E2 FD 00 [09:40:57]MH_I2C_Read... [09:40:57]Read from MH i2c: E2 FD 00 DE 10 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 2E [09:40: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 [09:40:57]wFMCommunicate OK [09:40:57]wFMCommunicate request_size=4 [09:40:57]MH_SAM_APDU [09:40:57]CAPDU: 80 17 00 00 [09:40:57]Write to MH i2c: E2 08 00 DF 10 80 17 00 00 00 00 00 00 6F [09:40:57]Write i2c OK [09:40:57]MH_I2C_Read... [09:40:58]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:40:58]Read from MH i2c: E2 [09:40:58]MH_I2C_Read... [09:40:58]Read from MH i2c: E2 FD 00 [09:40:58]MH_I2C_Read... [09:40:58]Read from MH i2c: E2 FD 00 DF 10 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 DE [09:40:58]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 [09:40:58]wFMCommunicate OK [09:40:58]wFMCommunicate request_size=4 [09:40:58]MH_SAM_APDU [09:40:58]CAPDU: 80 17 00 00 [09:40:58]Write to MH i2c: E2 08 00 E0 10 80 17 00 00 00 00 00 00 70 [09:40:58]Write i2c OK [09:40:58]MH_I2C_Read... [09:40:58]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [09:40:58]Read from MH i2c: E2 [09:40:58]MH_I2C_Read... [09:40:58]Read from MH i2c: E2 D3 00 [09:40:58]MH_I2C_Read... [09:40:58]Read from MH i2c: E2 D3 00 E0 10 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 5D [09:40:58]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 [09:40:58]wFMCommunicate OK [09:40:58]SAM_PROTO_GetShiftData done [09:40:58]requested_item shift.sale.total_cash is exist - process it [09:40:58]requested_item shift.sale_refund.total is exist - process it [09:40:58]requested_item shift.sale_refund.total_cash is exist - process it [09:40:58]produce_requested_data done [09:40:58]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57153,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":11529.21,"shift.sale.total_cash":8201.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [09:40:58]process_action_free close_receipt [09:40:58]json_value_free [09:40:58]json_value_free done [09:40:58]process_json_proto returns [09:40:58]Send response to host [09:40:58]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57153,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":11529.21,"shift.sale.total_cash":8201.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [09:40:58]free response buf [09:40:58]execute_script done [09:40:58]execute_script returns [09:40:58]free content buf [09:40:58]Sock 8.Close socket [09:40:58]Sock 8.Thread stoped [09:41:00]OFD Sender: No OFD packet to send [09:41:05]OFD Sender: No OFD packet to send [09:41:10]OFD Sender: No OFD packet to send [09:41:15]OFD Sender: No OFD packet to send [09:41:20]OFD Sender: No OFD packet to send [09:41:25]OFD Sender: No OFD packet to send [09:41:30]OFD Sender: No OFD packet to send [09:41:35]OFD Sender: No OFD packet to send [09:41:40]OFD Sender: No OFD packet to send [09:41:45]OFD Sender: No OFD packet to send [09:41:50]OFD Sender: No OFD packet to send [09:41:55]OFD Sender: No OFD packet to send [09:42:00]OFD Sender: No OFD packet to send [09:42:05]OFD Sender: No OFD packet to send [09:42:10]OFD Sender: No OFD packet to send [09:42:15]OFD Sender: No OFD packet to send [09:42:20]OFD Sender: No OFD packet to send [09:42:25]OFD Sender: No OFD packet to send [09:42:30]OFD Sender: No OFD packet to send [09:42:35]OFD Sender: No OFD packet to send [09:42:40]OFD Sender: No OFD packet to send [09:42:43]accept exits with 9 [09:42:43]New connection [09:42:43]New thread 3066924388 created [09:42:43]Thread 3067067748 joined [09:42:43]Waiting for new connection... [09:42:43] Sock 9.Parse request [09:42:43]Sock 9.Check first char [09:42:43]Sock 9.First char is OK [09:42:43]request: POST /json_proto HTTP/1.0 [09:42:43]Method: POST [09:42:43]URL: /json_proto [09:42:43]Method is POST - this is cgi request [09:42:43]url: /json_proto [09:42:43]query_string will be loaded in cgi processing [09:42:43]execute_cgi json_proto POST (null) [09:42:43]execute_cgi path=json_proto method=POST [09:42:43]POST find Content-Length [09:42:43]Host: 172.17.39.4:8080 [09:42:43]Content-Length: 781 [09:42:43]Content-Type: application/json [09:42:43] [09:42:43]POST finish read [09:42:43]Found Content-Length = 781 [09:42:43]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)855727", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 43", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.30, "quantity" : 4.830, "sum" : 320.23, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 320.00, "total" : 320.00, "payments": [ { "type": 0, "sum" : 320.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:42:43]execute_script... [09:42:43]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)855727", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 43", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.30, "quantity" : 4.830, "sum" : 320.23, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 320.00, "total" : 320.00, "payments": [ { "type": 0, "sum" : 320.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:42:43]POST & json_proto [09:42:43]process_json_proto [09:42:43]json parsed OK: [09:42:43]protocol is kg_v1.0 [09:42:43]action value=close_receipt [09:42:43]process_action close_receipt [09:42:43]cmd_close_receipt [09:42:43]MH_GetDate [09:42:43]Write to MH i2c: F0 00 00 E1 10 E0 [09:42:43]Write i2c OK [09:42:43]MH_I2C_Read... [09:42:43]Read from MH i2c: F0 [09:42:43]MH_I2C_Read... [09:42:43]Read from MH i2c: F0 09 00 [09:42:43]MH_I2C_Read... [09:42:43]Read from MH i2c: F0 09 00 E1 10 00 16 EF 94 66 2D 25 5D 64 FB [09:42:43]GetLastDocTimeStamp 1721036455 [09:42:43]current date 1721036566 [09:42:43]FM_GetShiftState [09:42:43]SAM_PROTO_GetShiftState [09:42:43]wFMCommunicate request_size=4 [09:42:43]MH_SAM_APDU [09:42:43]CAPDU: 80 13 01 00 [09:42:43]Write to MH i2c: E2 08 00 E2 10 80 13 01 00 00 00 00 00 6F [09:42:43]Write i2c OK [09:42:43]MH_I2C_Read... [09:42:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:42:43]Read from MH i2c: E2 [09:42:43]MH_I2C_Read... [09:42:43]Read from MH i2c: E2 0E 00 [09:42:43]MH_I2C_Read... [09:42:43]Read from MH i2c: E2 0E 00 E2 10 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 E8 [09:42:43]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [09:42:43]wFMCommunicate OK [09:42:43]SAM_PROTO_GetShiftState done [09:42:43]FM_GetShiftState done [09:42:43]opened in 1721003525 [09:42:43]opened+sec_in_day 1721089925 [09:42:43]quantity*price = 32022 [09:42:43]sum+1 = 32024 [09:42:43]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.23 ИТОГО: 320.00 Внесено: 320.00 СДАЧА: 0.00 НСП 1% : 2.83 НДС 12% : 34.01 Наличными: 320.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 49 15.07.2024 09:42 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57154 ФПД: 272876368161364 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T094246&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57154&fm=272876368161364&tin=02508201610067®Number=0000000000091208&sum=32000 [09:42:44]StoreToDocumentArchive [09:42:44]shift 497 fd 57154 [09:42:44]save to /storage/0497/doc_00057154 [09:42:44]save last doc name /storage/0497/doc_00057154 to /storage/kkm_last_doc_name [09:42:44]save OK [09:42:44]Clear old archive folders... [09:42:44]ProcessDocumentItem done err = 0, tmpTLVsize=251 [09:42:44]tlvbuf is 0097A090 [09:42:44]SAM_PROTO_ClearQueue [09:42:44]wFMCommunicate request_size=4 [09:42:44]MH_SAM_APDU [09:42:44]CAPDU: 80 09 00 00 [09:42:44]Write to MH i2c: E2 08 00 EF 10 80 09 00 00 00 00 00 00 71 [09:42:44]Write i2c OK [09:42:44]MH_I2C_Read... [09:42:44]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:42:44]Read from MH i2c: E2 [09:42:44]MH_I2C_Read... [09:42:44]Read from MH i2c: E2 03 00 [09:42:44]MH_I2C_Read... [09:42:44]Read from MH i2c: E2 03 00 EF 10 00 90 00 73 [09:42:44]RAPDU: 90 00 [09:42:44]wFMCommunicate OK [09:42:44]SAM_PROTO_ClearQueue done [09:42:44]KKMCreateOFDPacket [09:42:44]OFDProtocolAddRootSTLVToBuf [09:42:44]FM_MakeSignedData [09:42:44]FM_MakeSignedData [09:42:44]SAM_PROTO_SignData [09:42:44]wFMCommunicate request_size=4 [09:42:44]MH_SAM_APDU [09:42:44]CAPDU: 80 0D 01 02 [09:42:44]Write to MH i2c: E2 08 00 F0 10 80 0D 01 02 00 00 00 00 79 [09:42:44]Write i2c OK [09:42:44]MH_I2C_Read... [09:42:44]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:42:44]Read from MH i2c: E2 [09:42:44]MH_I2C_Read... [09:42:44]Read from MH i2c: E2 03 00 [09:42:44]MH_I2C_Read... [09:42:44]Read from MH i2c: E2 03 00 F0 10 00 90 00 74 [09:42:44]RAPDU: 90 00 [09:42:44]wFMCommunicate OK [09:42:44]wFMCommunicate request_size=255 [09:42:44]MH_SAM_APDU [09:42:44]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 DE 12 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 17 7D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 7D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1B 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 49 0D 00 00 00 00 07 04 06 00 00 7D 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 16 EF 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 42 DF 00 00 35 04 06 00 F8 [09:42:44]Write to MH i2c: E2 02 01 F1 10 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 DE 12 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 17 7D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 7D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1B 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 49 0D 00 00 00 00 07 04 06 00 00 7D 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 16 EF 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 42 DF 00 00 35 04 06 00 F8 00 00 AF [09:42:44]Write i2c OK [09:42:44]MH_I2C_Read... [09:42:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:42:44]Read from MH i2c: E2 [09:42:44]MH_I2C_Read... [09:42:44]Read from MH i2c: E2 03 00 [09:42:44]MH_I2C_Read... [09:42:44]Read from MH i2c: E2 03 00 F1 10 00 90 00 75 [09:42:44]RAPDU: 90 00 [09:42:44]wFMCommunicate OK [09:42:44]wFMCommunicate request_size=10 [09:42:44]MH_SAM_APDU [09:42:44]CAPDU: 80 0D 02 02 05 2D FA FD EA 54 [09:42:44]Write to MH i2c: E2 0D 00 F2 10 80 0D 02 02 05 00 2D FA FD EA 54 00 00 E8 [09:42:44]Write i2c OK [09:42:44]MH_I2C_Read... [09:42:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:42:44]Read from MH i2c: E2 [09:42:44]MH_I2C_Read... [09:42:44]Read from MH i2c: E2 03 00 [09:42:44]MH_I2C_Read... [09:42:44]Read from MH i2c: E2 03 00 F2 10 00 90 00 76 [09:42:44]RAPDU: 90 00 [09:42:44]wFMCommunicate OK [09:42:44]wFMCommunicate request_size=4 [09:42:44]MH_SAM_APDU [09:42:44]CAPDU: 80 0D 03 02 [09:42:44]Write to MH i2c: E2 08 00 F3 10 80 0D 03 02 00 00 00 00 7E [09:42:44]Write i2c OK [09:42:44]MH_I2C_Read... [09:42:44]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:42:44]Read from MH i2c: E2 [09:42:44]MH_I2C_Read... [09:42:44]Read from MH i2c: E2 0B 00 [09:42:44]MH_I2C_Read... [09:42:44]Read from MH i2c: E2 0B 00 F3 10 00 DE D8 7A B6 54 53 8C 4C 90 00 E4 [09:42:44]RAPDU: DE D8 7A B6 54 53 8C 4C 90 00 [09:42:44]wFMCommunicate OK [09:42:44]SAM_PROTO_SignData done [09:42:44]FM_MakeSignedData done [09:42:44]CreateOFDProtocolMessage [09:42:44]wFMCommunicate request_size=4 [09:42:44]MH_SAM_APDU [09:42:44]CAPDU: 80 11 00 00 [09:42:44]Write to MH i2c: E2 08 00 F4 10 80 11 00 00 00 00 00 00 7E [09:42:44]Write i2c OK [09:42:44]MH_I2C_Read... [09:42:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:42:44]Read from MH i2c: E2 [09:42:44]MH_I2C_Read... [09:42:44]Read from MH i2c: E2 17 00 [09:42:44]MH_I2C_Read... [09:42:44]Read from MH i2c: E2 17 00 F4 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 D8 [09:42:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [09:42:44]wFMCommunicate OK [09:42:44]CreateOFDProtocolMessage done [09:42:44]OFDSenderStorePacket 57154 [09:42:44]StoreOFDPacket docnum=57154 [09:42: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 0F 01 00 00 51 CC 07 01 84 BC 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 DE 12 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 17 7D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 7D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1B 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 49 0D 00 00 00 00 07 04 06 00 00 7D 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 16 EF 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 42 DF 00 00 35 04 06 00 F8 2D FA FD EA 54 DE D8 7A B6 54 53 8C 4C [09:42:44]CheckFolder [09:42:44]dirname=/storage/ofd_packets [09:42:44]CheckFolder done [09:42:44]ProducePacketName [09:42:44]name=ofd_packets/00057154 [09:42:44]NVStorageSaveData ofd_packets/00057154 [09:42:44]File name is /storage/ofd_packets/00057154 [09:42:44]Write 301 bytes [09:42:44]NVStorageSaveData done [09:42:44]OFDSenderStorePacket done [09:42:44]KKMCreateOFDPacket done [09:42:44]NVStorageSaveData kkm_last_timestamp [09:42:44]File name is /storage/kkm_last_timestamp [09:42:44]Write 4 bytes [09:42:44]NVStorageSaveData done [09:42:44]ExternCall_PrintAddStr [09:42:44]wPrintStart [09:42:44]Write to MH i2c: 01 00 00 F5 10 05 [09:42:44]Write i2c OK [09:42:44]MH_I2C_Read... [09:42:44]Read from MH i2c: 01 [09:42:44]MH_I2C_Read... [09:42:44]Read from MH i2c: 01 07 00 [09:42:44]MH_I2C_Read... [09:42:44]Read from MH i2c: 01 07 00 F5 10 00 00 00 00 00 FF 0F 1A [09:42:44]RasterBufferAndPrint [09:42:44]line Счет N : (1)855727 [09:42:44]line ИНН: 02508201610067 [09:42:44]line Контрольно-Кассовый Чек [09:42:44]line ПРОДАЖА [09:42:44]line ТРК (МРК, ГНК) : 43 [09:42:44]line Товар: 2710124130 [09:42:44]line Аи-92-К-5 [09:42:44]line 4.830 * 66.30 [09:42:44]line = 320.23 [09:42:44]line НДС 12% НСП 1% [09:42:44]line > о реализуемом товаре [09:42:44]line ОКРУГЛЕНИЕ: -0.23 [09:42:44]line ИТОГО: 320.00 [09:42:44]line Внесено: 320.00 [09:42:44]line СДАЧА: 0.00 [09:42:44]line НСП 1% : 2.83 [09:42:44]line НДС 12% : 34.01 [09:42:44]line Наличными: 320.00 [09:42:44]line Безнал.: 0.00 [09:42:44]line Место: АЗС № 132 "Партнер Нефть" [09:42:44]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [09:42:44]line СНО: Общий режим [09:42:44]line Чек 49 15.07.2024 09:42 [09:42:44]line Смена: 497 ФФД: 1.0 [09:42:44]line ЗНМ: 0300000132 [09:42:44]line РНМ: 0000000000091208 [09:42:44]line Версия ККМ: 001 [09:42:44]line ФМ: 0000000000874857 [09:42:44]line ФД: 57154 [09:42:44]line ФПД: 272876368161364 [09:42:44]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T094246&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57154&fm=272876368161364&tin=02508201610067®Number=0000000000091208&sum=32000 [09:42:45]written 0, free lines is 4095 [09:42:45]OFD Sender: Processing packet 57154 [packets to send 38, broken 37] [09:42:45]ProducePacketName [09:42:45]name=ofd_packets/00057154 [09:42:45]OFD Sender: To server: pG, [09:42:45]CommunicateWithHost lk.salyk.kg:30040 [09:42:45]ConnectInit lk.salyk.kg [09:42:45]Connected sock=10 [09:42:45]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 51 CC 07 01 84 BC 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 DE 12 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 17 7D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 7D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1B 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 49 0D 00 00 00 00 07 04 06 00 00 7D 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 16 EF 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 42 DF 00 00 35 04 06 00 F8 2D FA FD EA 54 DE D8 7A B6 54 53 8C 4C [09:42: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 0C B0 47 00 32 E3 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 42 DF 00 00 F4 03 04 00 64 95 94 66 B6 04 01 00 00 A2 B0 5C 81 74 0F 68 C4 [09:42:45]CommunicateWithHost err = 0 [09:42:45]CheckOFDResponse [09:42:45]1017 (14) - 77093643461234 [09:42:45]1041 (16) - 0000000000874857 [09:42:45]1040 (4) - 57154 [09:42:45]1012 (4) - 15.07.2024 03:20 [09:42:45]1206 (1) - 0 [09:42:45]OFD Sender: Remove packet 57154 [09:42:45]ProducePacketName [09:42:45]name=ofd_packets/00057154 [09:42:45]NVStorageDeleteData [09:42:45]Write to MH i2c: 01 00 00 20 11 31 [09:42:45]Write i2c OK [09:42:45]MH_I2C_Read... [09:42:45]Read from MH i2c: 01 [09:42:45]MH_I2C_Read... [09:42:45]Read from MH i2c: 01 07 00 [09:42:45]MH_I2C_Read... [09:42:45]Read from MH i2c: 01 07 00 20 11 00 00 00 00 00 F2 0C 36 [09:42:45]RasterBufferAndPrint [09:42:45]line [09:42:45]line [09:42:45]line [09:42:45]line [09:42:45]line [09:42:45]written 0, free lines is 3320 [09:42:45]MH_Cut [09:42:45]Write to MH i2c: D1 01 00 27 11 01 0A [09:42:45]Write i2c OK [09:42:45]MH_I2C_Read... [09:42:45]Read from MH i2c: D1 [09:42:45]MH_I2C_Read... [09:42:45]Read from MH i2c: D1 01 00 [09:42:45]MH_I2C_Read... [09:42:45]Read from MH i2c: D1 01 00 27 11 00 09 [09:42:45]Write to MH i2c: 01 00 00 28 11 39 [09:42:45]Write i2c OK [09:42:45]MH_I2C_Read... [09:42:46]OFD Sender: No OFD packet to send [09:42:46]*** Cut start [09:42:46]*** Partial cut [09:42:46]*** CUTSNS_PIN = 1 [09:42:46]*** CUTSNS_PIN = 0 [09:42:46]*** Brake cut motor [09:42:46]Read from MH i2c: 01 [09:42:46]MH_I2C_Read... [09:42:46]*** Stop cut motor [09:42:46]*** Cut end [09:42:46]Read from MH i2c: 01 07 00 [09:42:46]MH_I2C_Read... [09:42:46]Read from MH i2c: 01 07 00 28 11 00 00 00 00 00 FF 0F 4E [09:42:46]process_action close_receipt done [09:42:46]requested_data is exist [09:42:46]produce_requested_data [09:42:46]requested_item fm.sn is exist - process it [09:42:46]wFMCommunicate request_size=4 [09:42:46]MH_SAM_APDU [09:42:46]CAPDU: 80 11 00 00 [09:42:46]Write to MH i2c: E2 08 00 29 11 80 11 00 00 00 00 00 00 B4 [09:42:46]Write i2c OK [09:42:46]MH_I2C_Read... [09:42:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:42:47]Read from MH i2c: E2 [09:42:47]MH_I2C_Read... [09:42:47]Read from MH i2c: E2 17 00 [09:42:47]MH_I2C_Read... [09:42:47]Read from MH i2c: E2 17 00 29 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 0E [09:42:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [09:42:47]wFMCommunicate OK [09:42:47]requested_item fd.num is exist - process it [09:42:47]SAM_PROTO_GetFieldsCounters [09:42:47]wFMCommunicate request_size=4 [09:42:47]MH_SAM_APDU [09:42:47]CAPDU: 80 13 00 00 [09:42:47]Write to MH i2c: E2 08 00 2A 11 80 13 00 00 00 00 00 00 B7 [09:42:47]Write i2c OK [09:42:47]MH_I2C_Read... [09:42:47]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:42:47]Read from MH i2c: E2 [09:42:47]MH_I2C_Read... [09:42:47]Read from MH i2c: E2 62 00 [09:42:47]MH_I2C_Read... [09:42:47]Read from MH i2c: E2 62 00 2A 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 42 DF 00 00 0E 04 04 00 F1 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 80 [09:42:47]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 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 42 DF 00 00 0E 04 04 00 F1 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:42:47]wFMCommunicate OK [09:42:47]SAM_PROTO_GetFieldsCounters done [09:42:47]requested_item shift.num is exist - process it [09:42:47]requested_item shift.opened is exist - process it [09:42:47]req_shift_opened [09:42:47]FM_GetShiftState [09:42:47]SAM_PROTO_GetShiftState [09:42:47]wFMCommunicate request_size=4 [09:42:47]MH_SAM_APDU [09:42:47]CAPDU: 80 13 01 00 [09:42:47]Write to MH i2c: E2 08 00 2B 11 80 13 01 00 00 00 00 00 B9 [09:42:47]Write i2c OK [09:42:47]MH_I2C_Read... [09:42:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:42:47]Read from MH i2c: E2 [09:42:47]MH_I2C_Read... [09:42:47]Read from MH i2c: E2 0E 00 [09:42:47]MH_I2C_Read... [09:42:47]Read from MH i2c: E2 0E 00 2B 11 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 32 [09:42:47]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [09:42:47]wFMCommunicate OK [09:42:47]SAM_PROTO_GetShiftState done [09:42:47]FM_GetShiftState done [09:42:47]req_shift_opened done [09:42:47]requested_item shift.open_date is exist - process it [09:42:47]req_shift_open_date [09:42:47]req_shift_open_date done [09:42:47]requested_item shift.sale.total is exist - process it [09:42:47]SAM_PROTO_GetShiftData [09:42:47]wFMCommunicate request_size=4 [09:42:47]MH_SAM_APDU [09:42:47]CAPDU: 80 13 02 00 [09:42:47]Write to MH i2c: E2 08 00 2C 11 80 13 02 00 00 00 00 00 BB [09:42:47]Write i2c OK [09:42:47]MH_I2C_Read... [09:42:47]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [09:42:47]Read from MH i2c: E2 [09:42:47]MH_I2C_Read... [09:42:47]Read from MH i2c: E2 FD 00 [09:42:47]MH_I2C_Read... [09:42:47]Read from MH i2c: E2 FD 00 2C 11 00 B6 04 AA 04 B2 04 6E 04 04 00 31 00 00 00 69 04 9B 00 6F 04 04 00 30 00 00 00 B1 04 03 00 99 14 12 70 04 03 00 84 00 0D 72 04 03 00 15 14 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 84 EB 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 F4 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 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 88 [09:42:47]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 31 00 00 00 69 04 9B 00 6F 04 04 00 30 00 00 00 B1 04 03 00 99 14 12 70 04 03 00 84 00 0D 72 04 03 00 15 14 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 84 EB 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 F4 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 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 [09:42:47]wFMCommunicate OK [09:42:47]wFMCommunicate request_size=4 [09:42:47]MH_SAM_APDU [09:42:47]CAPDU: 80 17 00 00 [09:42:47]Write to MH i2c: E2 08 00 2D 11 80 17 00 00 00 00 00 00 BE [09:42:47]Write i2c OK [09:42:47]MH_I2C_Read... [09:42:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:42:47]Read from MH i2c: E2 [09:42:47]MH_I2C_Read... [09:42:47]Read from MH i2c: E2 FD 00 [09:42:47]MH_I2C_Read... [09:42:47]Read from MH i2c: E2 FD 00 2D 11 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 F3 [09:42:47]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 [09:42:47]wFMCommunicate OK [09:42:47]wFMCommunicate request_size=4 [09:42:47]MH_SAM_APDU [09:42:47]CAPDU: 80 17 00 00 [09:42:47]Write to MH i2c: E2 08 00 2E 11 80 17 00 00 00 00 00 00 BF [09:42:47]Write i2c OK [09:42:47]MH_I2C_Read... [09:42:48]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:42:48]Read from MH i2c: E2 [09:42:48]MH_I2C_Read... [09:42:48]Read from MH i2c: E2 FD 00 [09:42:48]MH_I2C_Read... [09:42:48]Read from MH i2c: E2 FD 00 2E 11 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 7F [09:42:48]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 [09:42:48]wFMCommunicate OK [09:42:48]wFMCommunicate request_size=4 [09:42:48]MH_SAM_APDU [09:42:48]CAPDU: 80 17 00 00 [09:42:48]Write to MH i2c: E2 08 00 2F 11 80 17 00 00 00 00 00 00 C0 [09:42:48]Write i2c OK [09:42:48]MH_I2C_Read... [09:42:48]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:42:48]Read from MH i2c: E2 [09:42:48]MH_I2C_Read... [09:42:48]Read from MH i2c: E2 FD 00 [09:42:48]MH_I2C_Read... [09:42:48]Read from MH i2c: E2 FD 00 2F 11 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 2F [09:42:48]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 [09:42:48]wFMCommunicate OK [09:42:48]wFMCommunicate request_size=4 [09:42:48]MH_SAM_APDU [09:42:48]CAPDU: 80 17 00 00 [09:42:48]Write to MH i2c: E2 08 00 30 11 80 17 00 00 00 00 00 00 C1 [09:42:48]Write i2c OK [09:42:48]MH_I2C_Read... [09:42:48]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [09:42:48]Read from MH i2c: E2 [09:42:48]MH_I2C_Read... [09:42:48]Read from MH i2c: E2 D3 00 [09:42:48]MH_I2C_Read... [09:42:48]Read from MH i2c: E2 D3 00 30 11 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 AE [09:42:48]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 [09:42:48]wFMCommunicate OK [09:42:48]SAM_PROTO_GetShiftData done [09:42:48]requested_item shift.sale.total_cash is exist - process it [09:42:48]requested_item shift.sale_refund.total is exist - process it [09:42:48]requested_item shift.sale_refund.total_cash is exist - process it [09:42:48]produce_requested_data done [09:42:48]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57154,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":11849.21,"shift.sale.total_cash":8521.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [09:42:48]process_action_free close_receipt [09:42:48]json_value_free [09:42:48]json_value_free done [09:42:48]process_json_proto returns [09:42:48]Send response to host [09:42:48]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57154,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":11849.21,"shift.sale.total_cash":8521.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [09:42:48]free response buf [09:42:48]execute_script done [09:42:48]execute_script returns [09:42:48]free content buf [09:42:48]Sock 9.Close socket [09:42:48]Sock 9.Thread stoped [09:42:51]OFD Sender: No OFD packet to send [09:42:56]OFD Sender: No OFD packet to send [09:43:01]OFD Sender: No OFD packet to send [09:43:06]OFD Sender: No OFD packet to send [09:43:11]OFD Sender: No OFD packet to send [09:43:16]OFD Sender: No OFD packet to send [09:43:21]OFD Sender: No OFD packet to send [09:43:26]OFD Sender: No OFD packet to send [09:43:31]OFD Sender: No OFD packet to send [09:43:36]OFD Sender: No OFD packet to send [09:43:41]OFD Sender: No OFD packet to send [09:43:46]OFD Sender: No OFD packet to send [09:43:51]OFD Sender: No OFD packet to send [09:43:56]OFD Sender: No OFD packet to send [09:44:01]OFD Sender: No OFD packet to send [09:44:06]OFD Sender: No OFD packet to send [09:44:11]OFD Sender: No OFD packet to send [09:44:16]OFD Sender: No OFD packet to send [09:44:21]OFD Sender: No OFD packet to send [09:44:26]OFD Sender: No OFD packet to send [09:44:31]OFD Sender: No OFD packet to send [09:44:36]OFD Sender: No OFD packet to send [09:44:41]OFD Sender: No OFD packet to send [09:44:46]OFD Sender: No OFD packet to send [09:44:51]OFD Sender: No OFD packet to send [09:44:56]OFD Sender: No OFD packet to send [09:45:01]OFD Sender: No OFD packet to send [09:45:06]OFD Sender: No OFD packet to send [09:45:11]OFD Sender: No OFD packet to send [09:45:16]OFD Sender: No OFD packet to send [09:45:21]OFD Sender: No OFD packet to send [09:45:26]OFD Sender: No OFD packet to send [09:45:31]OFD Sender: No OFD packet to send [09:45:36]OFD Sender: No OFD packet to send [09:45:41]OFD Sender: No OFD packet to send [09:45:46]OFD Sender: No OFD packet to send [09:45:51]OFD Sender: No OFD packet to send [09:45:56]OFD Sender: No OFD packet to send [09:46:01]OFD Sender: No OFD packet to send [09:46:06]OFD Sender: No OFD packet to send [09:46:11]OFD Sender: No OFD packet to send [09:46:16]OFD Sender: No OFD packet to send [09:46:21]OFD Sender: No OFD packet to send [09:46:26]OFD Sender: No OFD packet to send [09:46:31]OFD Sender: No OFD packet to send [09:46:36]OFD Sender: No OFD packet to send [09:46:41]OFD Sender: No OFD packet to send [09:46:46]OFD Sender: No OFD packet to send [09:46:51]OFD Sender: No OFD packet to send [09:46:56]OFD Sender: No OFD packet to send [09:47:01]OFD Sender: No OFD packet to send [09:47:06]OFD Sender: No OFD packet to send [09:47:11]OFD Sender: No OFD packet to send [09:47:16]OFD Sender: No OFD packet to send [09:47:21]OFD Sender: No OFD packet to send [09:47:26]OFD Sender: No OFD packet to send [09:47:31]OFD Sender: No OFD packet to send [09:47:36]OFD Sender: No OFD packet to send [09:47:41]OFD Sender: No OFD packet to send [09:47:46]OFD Sender: No OFD packet to send [09:47:51]OFD Sender: No OFD packet to send [09:47:56]OFD Sender: No OFD packet to send [09:48:01]OFD Sender: No OFD packet to send [09:48:06]OFD Sender: No OFD packet to send [09:48:11]OFD Sender: No OFD packet to send [09:48:16]OFD Sender: No OFD packet to send [09:48:21]OFD Sender: No OFD packet to send [09:48:26]OFD Sender: No OFD packet to send [09:48:31]OFD Sender: No OFD packet to send [09:48:36]OFD Sender: No OFD packet to send [09:48:41]OFD Sender: No OFD packet to send [09:48:46]OFD Sender: No OFD packet to send [09:48:51]OFD Sender: No OFD packet to send [09:48:56]OFD Sender: No OFD packet to send [09:49:01]OFD Sender: No OFD packet to send [09:49:06]OFD Sender: No OFD packet to send [09:49:11]OFD Sender: No OFD packet to send [09:49:16]OFD Sender: No OFD packet to send [09:49:21]OFD Sender: No OFD packet to send [09:49:25]accept exits with 8 [09:49:25]New connection [09:49:25]New thread 3067067748 created [09:49:25]Thread 3066924388 joined [09:49:25]Waiting for new connection... [09:49:25] Sock 8.Parse request [09:49:25]Sock 8.Check first char [09:49:25]Sock 8.First char is OK [09:49:25]request: POST /json_proto HTTP/1.0 [09:49:25]Method: POST [09:49:25]URL: /json_proto [09:49:25]Method is POST - this is cgi request [09:49:25]url: /json_proto [09:49:25]query_string will be loaded in cgi processing [09:49:25]execute_cgi json_proto POST (null) [09:49:25]execute_cgi path=json_proto method=POST [09:49:25]POST find Content-Length [09:49:25]Host: 172.17.39.4:8080 [09:49:25]Content-Length: 725 [09:49:25]Content-Type: application/json [09:49:25] [09:49:25]POST finish read [09:49:25]Found Content-Length = 725 [09:49:25]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129608", "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 }]} ], "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" ] } } [09:49:25]execute_script... [09:49: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)129608", "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 }]} ], "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" ] } } [09:49:25]POST & json_proto [09:49:25]process_json_proto [09:49:25]json parsed OK: [09:49:25]protocol is kg_v1.0 [09:49:25]action value=close_receipt [09:49:25]process_action close_receipt [09:49:25]cmd_close_receipt [09:49:25]MH_GetDate [09:49:25]Write to MH i2c: F0 00 00 31 11 31 [09:49:25]Write i2c OK [09:49:25]MH_I2C_Read... [09:49:25]Read from MH i2c: F0 [09:49:25]MH_I2C_Read... [09:49:25]Read from MH i2c: F0 09 00 [09:49:25]MH_I2C_Read... [09:49:25]Read from MH i2c: F0 09 00 31 11 00 A8 F0 94 66 2D 25 5D 64 DF [09:49:25]GetLastDocTimeStamp 1721036566 [09:49:25]current date 1721036968 [09:49:25]FM_GetShiftState [09:49:25]SAM_PROTO_GetShiftState [09:49:25]wFMCommunicate request_size=4 [09:49:25]MH_SAM_APDU [09:49:25]CAPDU: 80 13 01 00 [09:49:25]Write to MH i2c: E2 08 00 32 11 80 13 01 00 00 00 00 00 C0 [09:49:25]Write i2c OK [09:49:25]MH_I2C_Read... [09:49:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:49:25]Read from MH i2c: E2 [09:49:25]MH_I2C_Read... [09:49:25]Read from MH i2c: E2 0E 00 [09:49:25]MH_I2C_Read... [09:49:25]Read from MH i2c: E2 0E 00 32 11 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 39 [09:49:25]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [09:49:25]wFMCommunicate OK [09:49:25]SAM_PROTO_GetShiftState done [09:49:25]FM_GetShiftState done [09:49:25]opened in 1721003525 [09:49:25]opened+sec_in_day 1721089925 [09:49:25]quantity*price = 14000 [09:49:25]sum+1 = 14001 [09:49:25]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 СНО: Общий режим Чек 50 15.07.2024 09:49 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57155 ФПД: 15378178757214 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T094928&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57155&fm=15378178757214&tin=02508201610067®Number=0000000000091208&sum=14000 0 [09:49:26]StoreToDocumentArchive [09:49:26]shift 497 fd 57155 [09:49:26]save to /storage/0497/doc_00057155 [09:49:26]save last doc name /storage/0497/doc_00057155 to /storage/kkm_last_doc_name [09:49:26]save OK [09:49:26]Clear old archive folders... [09:49:26]ProcessDocumentItem done err = 0, tmpTLVsize=273 [09:49:26]tlvbuf is 009A4A50 [09:49:26]SAM_PROTO_ClearQueue [09:49:26]wFMCommunicate request_size=4 [09:49:26]MH_SAM_APDU [09:49:26]CAPDU: 80 09 00 00 [09:49:26]Write to MH i2c: E2 08 00 3F 11 80 09 00 00 00 00 00 00 C2 [09:49:26]Write i2c OK [09:49:26]MH_I2C_Read... [09:49:26]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:49:26]Read from MH i2c: E2 [09:49:26]MH_I2C_Read... [09:49:26]Read from MH i2c: E2 03 00 [09:49:26]MH_I2C_Read... [09:49:26]Read from MH i2c: E2 03 00 3F 11 00 90 00 C4 [09:49:26]RAPDU: 90 00 [09:49:26]wFMCommunicate OK [09:49:26]SAM_PROTO_ClearQueue done [09:49:26]KKMCreateOFDPacket [09:49:26]OFDProtocolAddRootSTLVToBuf [09:49:26]FM_MakeSignedData [09:49:26]FM_MakeSignedData [09:49:26]SAM_PROTO_SignData [09:49:26]wFMCommunicate request_size=4 [09:49:26]MH_SAM_APDU [09:49:26]CAPDU: 80 0D 01 02 [09:49:26]Write to MH i2c: E2 08 00 40 11 80 0D 01 02 00 00 00 00 CA [09:49:26]Write i2c OK [09:49:26]MH_I2C_Read... [09:49:26]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:49:26]Read from MH i2c: E2 [09:49:26]MH_I2C_Read... [09:49:26]Read from MH i2c: E2 03 00 [09:49:26]MH_I2C_Read... [09:49:26]Read from MH i2c: E2 03 00 40 11 00 90 00 C5 [09:49:26]RAPDU: 90 00 [09:49:26]wFMCommunicate OK [09:49:26]wFMCommunicate request_size=255 [09:49:26]MH_SAM_APDU [09:49:26]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 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 32 00 00 00 F4 03 04 00 A8 F0 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 [09:49:26]Write to MH i2c: E2 02 01 41 11 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 32 00 00 00 F4 03 04 00 A8 F0 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 5C [09:49:26]Write i2c OK [09:49:26]MH_I2C_Read... [09:49:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:49:27]Read from MH i2c: E2 [09:49:27]MH_I2C_Read... [09:49:27]Read from MH i2c: E2 03 00 [09:49:27]MH_I2C_Read... [09:49:27]Read from MH i2c: E2 03 00 41 11 00 90 00 C6 [09:49:27]RAPDU: 90 00 [09:49:27]wFMCommunicate OK [09:49:27]wFMCommunicate request_size=32 [09:49:27]MH_SAM_APDU [09:49:27]CAPDU: 80 0D 02 02 1B 30 30 30 38 37 34 38 35 37 10 04 04 00 43 DF 00 00 35 04 06 00 0D FC 82 E1 D2 5E [09:49:27]Write to MH i2c: E2 23 00 42 11 80 0D 02 02 1B 00 30 30 30 38 37 34 38 35 37 10 04 04 00 43 DF 00 00 35 04 06 00 0D FC 82 E1 D2 5E 00 00 EF [09:49:27]Write i2c OK [09:49:27]MH_I2C_Read... [09:49:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:49:27]Read from MH i2c: E2 [09:49:27]MH_I2C_Read... [09:49:27]Read from MH i2c: E2 03 00 [09:49:27]MH_I2C_Read... [09:49:27]Read from MH i2c: E2 03 00 42 11 00 90 00 C7 [09:49:27]RAPDU: 90 00 [09:49:27]wFMCommunicate OK [09:49:27]wFMCommunicate request_size=4 [09:49:27]MH_SAM_APDU [09:49:27]CAPDU: 80 0D 03 02 [09:49:27]Write to MH i2c: E2 08 00 43 11 80 0D 03 02 00 00 00 00 CF [09:49:27]Write i2c OK [09:49:27]MH_I2C_Read... [09:49:27]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:49:27]Read from MH i2c: E2 [09:49:27]MH_I2C_Read... [09:49:27]Read from MH i2c: E2 0B 00 [09:49:27]MH_I2C_Read... [09:49:27]Read from MH i2c: E2 0B 00 43 11 00 74 A2 83 EC 5C D9 A8 AC 90 00 DE [09:49:27]RAPDU: 74 A2 83 EC 5C D9 A8 AC 90 00 [09:49:27]wFMCommunicate OK [09:49:27]SAM_PROTO_SignData done [09:49:27]FM_MakeSignedData done [09:49:27]CreateOFDProtocolMessage [09:49:27]wFMCommunicate request_size=4 [09:49:27]MH_SAM_APDU [09:49:27]CAPDU: 80 11 00 00 [09:49:27]Write to MH i2c: E2 08 00 44 11 80 11 00 00 00 00 00 00 CF [09:49:27]Write i2c OK [09:49:27]MH_I2C_Read... [09:49:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:49:27]Read from MH i2c: E2 [09:49:27]MH_I2C_Read... [09:49:27]Read from MH i2c: E2 17 00 [09:49:27]MH_I2C_Read... [09:49:27]Read from MH i2c: E2 17 00 44 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 29 [09:49: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:49:27]wFMCommunicate OK [09:49:27]CreateOFDProtocolMessage done [09:49:27]OFDSenderStorePacket 57155 [09:49:27]StoreOFDPacket docnum=57155 [09:49: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 25 01 00 00 7C 10 1D 01 A9 C1 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 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 32 00 00 00 F4 03 04 00 A8 F0 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 43 DF 00 00 35 04 06 00 0D FC 82 E1 D2 5E 74 A2 83 EC 5C D9 A8 AC [09:49:27]CheckFolder [09:49:27]dirname=/storage/ofd_packets [09:49:27]CheckFolder done [09:49:27]ProducePacketName [09:49:27]name=ofd_packets/00057155 [09:49:27]NVStorageSaveData ofd_packets/00057155 [09:49:27]File name is /storage/ofd_packets/00057155 [09:49:27]Write 323 bytes [09:49:27]NVStorageSaveData done [09:49:27]OFDSenderStorePacket done [09:49:27]KKMCreateOFDPacket done [09:49:27]NVStorageSaveData kkm_last_timestamp [09:49:27]File name is /storage/kkm_last_timestamp [09:49:27]Write 4 bytes [09:49:27]NVStorageSaveData done [09:49:27]ExternCall_PrintAddStr [09:49:27]wPrintStart [09:49:27]Write to MH i2c: 01 00 00 45 11 56 [09:49:27]Write i2c OK [09:49:27]MH_I2C_Read... [09:49:27]Read from MH i2c: 01 [09:49:27]MH_I2C_Read... [09:49:27]Read from MH i2c: 01 07 00 [09:49:27]MH_I2C_Read... [09:49:27]Read from MH i2c: 01 07 00 45 11 00 00 00 00 00 FF 0F 6B [09:49:27]RasterBufferAndPrint [09:49:27]line Счет N : (3)129608 [09:49:27]line ИНН: 02508201610067 [09:49:27]line Контрольно-Кассовый Чек [09:49:27]line ПРОДАЖА [09:49:27]line Товар: 48747059 [09:49:27]line Сигареты Winston Legend Blue [09:49:27]line 1.000 * 140.00 [09:49:27]line = 140.00 [09:49:27]line НДС 12% НСП 1% [09:49:27]line > о реализуемом товаре [09:49:27]line ИТОГО: 140.00 [09:49:27]line НСП 1% : 1.24 [09:49:27]line НДС 12% : 14.87 [09:49:27]line Наличными: 140.00 [09:49:27]line Безнал.: 0.00 [09:49:27]line Место: АЗС № 132 "Партнер Нефть" [09:49:27]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [09:49:27]line СНО: Общий режим [09:49:27]line Чек 50 15.07.2024 09:49 [09:49:27]line Смена: 497 ФФД: 1.0 [09:49:27]line ЗНМ: 0300000132 [09:49:27]line РНМ: 0000000000091208 [09:49:27]line Версия ККМ: 001 [09:49:27]line ФМ: 0000000000874857 [09:49:27]line ФД: 57155 [09:49:27]line ФПД: 15378178757214 [09:49:27]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T094928&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57155&fm=15378178757214&tin=02508201610067®Number=0000000000091208&sum=14000 [09:49:27]line 0 [09:49:27]written 0, free lines is 4095 [09:49:27]OFD Sender: Processing packet 57155 [packets to send 38, broken 37] [09:49:27]ProducePacketName [09:49:27]name=ofd_packets/00057155 [09:49:27]OFD Sender: To server: pG, [09:49:27]CommunicateWithHost lk.salyk.kg:30040 [09:49:27]ConnectInit lk.salyk.kg [09:49:27]Connected sock=10 [09:49:27]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 7C 10 1D 01 A9 C1 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 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 32 00 00 00 F4 03 04 00 A8 F0 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 43 DF 00 00 35 04 06 00 0D FC 82 E1 D2 5E 74 A2 83 EC 5C D9 A8 AC [09:49: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 7B E0 47 00 82 BF A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 43 DF 00 00 F4 03 04 00 F7 96 94 66 B6 04 01 00 00 6E 5E 02 D1 01 E9 D1 57 [09:49:28]CommunicateWithHost err = 0 [09:49:28]CheckOFDResponse [09:49:28]1017 (14) - 77093643461234 [09:49:28]1041 (16) - 0000000000874857 [09:49:28]1040 (4) - 57155 [09:49:28]1012 (4) - 15.07.2024 03:26 [09:49:28]1206 (1) - 0 [09:49:28]OFD Sender: Remove packet 57155 [09:49:28]ProducePacketName [09:49:28]name=ofd_packets/00057155 [09:49:28]NVStorageDeleteData [09:49:28]Write to MH i2c: 01 00 00 6E 11 7F [09:49:28]Write i2c OK [09:49:28]MH_I2C_Read... [09:49:28]Read from MH i2c: 01 [09:49:28]MH_I2C_Read... [09:49:28]Read from MH i2c: 01 07 00 [09:49:28]MH_I2C_Read... [09:49:28]Read from MH i2c: 01 07 00 6E 11 00 00 00 00 00 DC 0C 6E [09:49:28]RasterBufferAndPrint [09:49:28]line [09:49:28]line [09:49:28]line [09:49:28]line [09:49:28]line [09:49:28]written 0, free lines is 3298 [09:49:28]MH_Cut [09:49:28]Write to MH i2c: D1 01 00 75 11 01 58 [09:49:28]Write i2c OK [09:49:28]MH_I2C_Read... [09:49:28]Read from MH i2c: D1 [09:49:28]MH_I2C_Read... [09:49:28]Read from MH i2c: D1 01 00 [09:49:28]MH_I2C_Read... [09:49:28]Read from MH i2c: D1 01 00 75 11 00 57 [09:49:28]Write to MH i2c: 01 00 00 76 11 87 [09:49:28]Write i2c OK [09:49:28]MH_I2C_Read... [09:49:28]OFD Sender: No OFD packet to send [09:49:28]*** Cut start [09:49:28]*** Partial cut [09:49:28]*** CUTSNS_PIN = 1 [09:49:28]*** CUTSNS_PIN = 0 [09:49:29]*** Brake cut motor [09:49:29]Read from MH i2c: 01 [09:49:29]MH_I2C_Read... [09:49:29]*** Stop cut motor [09:49:29]*** Cut end [09:49:29]Read from MH i2c: 01 07 00 [09:49:29]MH_I2C_Read... [09:49:29]Read from MH i2c: 01 07 00 76 11 00 00 00 00 00 FF 0F 9C [09:49:29]process_action close_receipt done [09:49:29]requested_data is exist [09:49:29]produce_requested_data [09:49:29]requested_item fm.sn is exist - process it [09:49:29]wFMCommunicate request_size=4 [09:49:29]MH_SAM_APDU [09:49:29]CAPDU: 80 11 00 00 [09:49:29]Write to MH i2c: E2 08 00 77 11 80 11 00 00 00 00 00 00 02 [09:49:29]Write i2c OK [09:49:29]MH_I2C_Read... [09:49:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:49:29]Read from MH i2c: E2 [09:49:29]MH_I2C_Read... [09:49:29]Read from MH i2c: E2 17 00 [09:49:29]MH_I2C_Read... [09:49:29]Read from MH i2c: E2 17 00 77 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 5C [09:49:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [09:49:29]wFMCommunicate OK [09:49:29]requested_item fd.num is exist - process it [09:49:29]SAM_PROTO_GetFieldsCounters [09:49:29]wFMCommunicate request_size=4 [09:49:29]MH_SAM_APDU [09:49:29]CAPDU: 80 13 00 00 [09:49:29]Write to MH i2c: E2 08 00 78 11 80 13 00 00 00 00 00 00 05 [09:49:29]Write i2c OK [09:49:29]MH_I2C_Read... [09:49:29]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:49:29]Read from MH i2c: E2 [09:49:29]MH_I2C_Read... [09:49:29]Read from MH i2c: E2 62 00 [09:49:29]MH_I2C_Read... [09:49:29]Read from MH i2c: E2 62 00 78 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 43 DF 00 00 0E 04 04 00 F1 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 D2 [09:49:29]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 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 43 DF 00 00 0E 04 04 00 F1 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 [09:49:29]wFMCommunicate OK [09:49:29]SAM_PROTO_GetFieldsCounters done [09:49:29]requested_item shift.num is exist - process it [09:49:29]requested_item shift.opened is exist - process it [09:49:29]req_shift_opened [09:49:29]FM_GetShiftState [09:49:29]SAM_PROTO_GetShiftState [09:49:29]wFMCommunicate request_size=4 [09:49:29]MH_SAM_APDU [09:49:29]CAPDU: 80 13 01 00 [09:49:29]Write to MH i2c: E2 08 00 79 11 80 13 01 00 00 00 00 00 07 [09:49:29]Write i2c OK [09:49:29]MH_I2C_Read... [09:49:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:49:29]Read from MH i2c: E2 [09:49:29]MH_I2C_Read... [09:49:29]Read from MH i2c: E2 0E 00 [09:49:29]MH_I2C_Read... [09:49:29]Read from MH i2c: E2 0E 00 79 11 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 80 [09:49:29]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [09:49:29]wFMCommunicate OK [09:49:29]SAM_PROTO_GetShiftState done [09:49:29]FM_GetShiftState done [09:49:29]req_shift_opened done [09:49:29]requested_item shift.open_date is exist - process it [09:49:29]req_shift_open_date [09:49:29]req_shift_open_date done [09:49:29]requested_item shift.sale.total is exist - process it [09:49:29]SAM_PROTO_GetShiftData [09:49:29]wFMCommunicate request_size=4 [09:49:29]MH_SAM_APDU [09:49:29]CAPDU: 80 13 02 00 [09:49:29]Write to MH i2c: E2 08 00 7A 11 80 13 02 00 00 00 00 00 09 [09:49:29]Write i2c OK [09:49:29]MH_I2C_Read... [09:49:30]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [09:49:30]Read from MH i2c: E2 [09:49:30]MH_I2C_Read... [09:49:30]Read from MH i2c: E2 FD 00 [09:49:30]MH_I2C_Read... [09:49:30]Read from MH i2c: E2 FD 00 7A 11 00 B6 04 AA 04 B2 04 6E 04 04 00 32 00 00 00 69 04 9B 00 6F 04 04 00 31 00 00 00 B1 04 03 00 49 4B 12 70 04 03 00 34 37 0D 72 04 03 00 15 14 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 53 F1 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 70 29 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 F8 [09:49:30]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 32 00 00 00 69 04 9B 00 6F 04 04 00 31 00 00 00 B1 04 03 00 49 4B 12 70 04 03 00 34 37 0D 72 04 03 00 15 14 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 53 F1 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 70 29 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 [09:49:30]wFMCommunicate OK [09:49:30]wFMCommunicate request_size=4 [09:49:30]MH_SAM_APDU [09:49:30]CAPDU: 80 17 00 00 [09:49:30]Write to MH i2c: E2 08 00 7B 11 80 17 00 00 00 00 00 00 0C [09:49:30]Write i2c OK [09:49:30]MH_I2C_Read... [09:49:30]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:49:30]Read from MH i2c: E2 [09:49:30]MH_I2C_Read... [09:49:30]Read from MH i2c: E2 FD 00 [09:49:30]MH_I2C_Read... [09:49:30]Read from MH i2c: E2 FD 00 7B 11 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 41 [09:49:30]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 [09:49:30]wFMCommunicate OK [09:49:30]wFMCommunicate request_size=4 [09:49:30]MH_SAM_APDU [09:49:30]CAPDU: 80 17 00 00 [09:49:30]Write to MH i2c: E2 08 00 7C 11 80 17 00 00 00 00 00 00 0D [09:49:30]Write i2c OK [09:49:30]MH_I2C_Read... [09:49:30]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:49:30]Read from MH i2c: E2 [09:49:30]MH_I2C_Read... [09:49:30]Read from MH i2c: E2 FD 00 [09:49:30]MH_I2C_Read... [09:49:30]Read from MH i2c: E2 FD 00 7C 11 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 CD [09:49:30]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 [09:49:30]wFMCommunicate OK [09:49:30]wFMCommunicate request_size=4 [09:49:30]MH_SAM_APDU [09:49:30]CAPDU: 80 17 00 00 [09:49:30]Write to MH i2c: E2 08 00 7D 11 80 17 00 00 00 00 00 00 0E [09:49:30]Write i2c OK [09:49:30]MH_I2C_Read... [09:49:31]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:49:31]Read from MH i2c: E2 [09:49:31]MH_I2C_Read... [09:49:31]Read from MH i2c: E2 FD 00 [09:49:31]MH_I2C_Read... [09:49:31]Read from MH i2c: E2 FD 00 7D 11 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 7D [09:49:31]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 [09:49:31]wFMCommunicate OK [09:49:31]wFMCommunicate request_size=4 [09:49:31]MH_SAM_APDU [09:49:31]CAPDU: 80 17 00 00 [09:49:31]Write to MH i2c: E2 08 00 7E 11 80 17 00 00 00 00 00 00 0F [09:49:31]Write i2c OK [09:49:31]MH_I2C_Read... [09:49:31]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [09:49:31]Read from MH i2c: E2 [09:49:31]MH_I2C_Read... [09:49:31]Read from MH i2c: E2 D3 00 [09:49:31]MH_I2C_Read... [09:49:31]Read from MH i2c: E2 D3 00 7E 11 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 FC [09:49:31]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 [09:49:31]wFMCommunicate OK [09:49:31]SAM_PROTO_GetShiftData done [09:49:31]requested_item shift.sale.total_cash is exist - process it [09:49:31]requested_item shift.sale_refund.total is exist - process it [09:49:31]requested_item shift.sale_refund.total_cash is exist - process it [09:49:31]produce_requested_data done [09:49:31]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57155,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":11989.21,"shift.sale.total_cash":8661.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [09:49:31]process_action_free close_receipt [09:49:31]json_value_free [09:49:31]json_value_free done [09:49:31]process_json_proto returns [09:49:31]Send response to host [09:49:31]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57155,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":11989.21,"shift.sale.total_cash":8661.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [09:49:31]free response buf [09:49:31]execute_script done [09:49:31]execute_script returns [09:49:31]free content buf [09:49:31]Sock 8.Close socket [09:49:31]Sock 8.Thread stoped [09:49:33]OFD Sender: No OFD packet to send [09:49:38]OFD Sender: No OFD packet to send [09:49:43]OFD Sender: No OFD packet to send [09:49:48]OFD Sender: No OFD packet to send [09:49:53]OFD Sender: No OFD packet to send [09:49:58]OFD Sender: No OFD packet to send [09:50:03]OFD Sender: No OFD packet to send [09:50:08]OFD Sender: No OFD packet to send [09:50:13]OFD Sender: No OFD packet to send [09:50:18]OFD Sender: No OFD packet to send [09:50:23]OFD Sender: No OFD packet to send [09:50:28]OFD Sender: No OFD packet to send [09:50:33]OFD Sender: No OFD packet to send [09:50:38]OFD Sender: No OFD packet to send [09:50:43]OFD Sender: No OFD packet to send [09:50:48]OFD Sender: No OFD packet to send [09:50:53]OFD Sender: No OFD packet to send [09:50:58]OFD Sender: No OFD packet to send [09:51:03]OFD Sender: No OFD packet to send [09:51:08]OFD Sender: No OFD packet to send [09:51:13]OFD Sender: No OFD packet to send [09:51:18]OFD Sender: No OFD packet to send [09:51:23]OFD Sender: No OFD packet to send [09:51:28]OFD Sender: No OFD packet to send [09:51:33]OFD Sender: No OFD packet to send [09:51:38]OFD Sender: No OFD packet to send [09:51:43]OFD Sender: No OFD packet to send [09:51:48]OFD Sender: No OFD packet to send [09:51:53]OFD Sender: No OFD packet to send [09:51:58]OFD Sender: No OFD packet to send [09:52:03]OFD Sender: No OFD packet to send [09:52:08]OFD Sender: No OFD packet to send [09:52:13]OFD Sender: No OFD packet to send [09:52:18]OFD Sender: No OFD packet to send [09:52:23]OFD Sender: No OFD packet to send [09:52:28]OFD Sender: No OFD packet to send [09:52:33]OFD Sender: No OFD packet to send [09:52:38]OFD Sender: No OFD packet to send [09:52:43]OFD Sender: No OFD packet to send [09:52:48]OFD Sender: No OFD packet to send [09:52:53]OFD Sender: No OFD packet to send [09:52:58]OFD Sender: No OFD packet to send [09:53:03]OFD Sender: No OFD packet to send [09:53:08]OFD Sender: No OFD packet to send [09:53:13]OFD Sender: No OFD packet to send [09:53:18]OFD Sender: No OFD packet to send [09:53:23]OFD Sender: No OFD packet to send [09:53:28]OFD Sender: No OFD packet to send [09:53:33]OFD Sender: No OFD packet to send [09:53:38]OFD Sender: No OFD packet to send [09:53:43]OFD Sender: No OFD packet to send [09:53:48]OFD Sender: No OFD packet to send [09:53:53]accept exits with 9 [09:53:53]New connection [09:53:53]New thread 3066924388 created [09:53:53]Thread 3067067748 joined [09:53:53]Waiting for new connection... [09:53:53] Sock 9.Parse request [09:53:53]Sock 9.Check first char [09:53:53]Sock 9.First char is OK [09:53:53]request: POST /json_proto HTTP/1.0 [09:53:53]Method: POST [09:53:53]URL: /json_proto [09:53:53]Method is POST - this is cgi request [09:53:53]url: /json_proto [09:53:53]query_string will be loaded in cgi processing [09:53:53]execute_cgi json_proto POST (null) [09:53:53]execute_cgi path=json_proto method=POST [09:53:53]POST find Content-Length [09:53:53]Host: 172.17.39.4:8080 [09:53:53]Content-Length: 725 [09:53:53]Content-Type: application/json [09:53:53] [09:53:53]POST finish read [09:53:53]Found Content-Length = 725 [09:53:53]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129609", "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" ] } } [09:53:53]execute_script... [09:53:53]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129609", "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" ] } } [09:53:53]POST & json_proto [09:53:53]process_json_proto [09:53:53]json parsed OK: [09:53:53]protocol is kg_v1.0 [09:53:53]action value=close_receipt [09:53:53]process_action close_receipt [09:53:53]cmd_close_receipt [09:53:53]MH_GetDate [09:53:53]Write to MH i2c: F0 00 00 7F 11 7F [09:53:53]Write i2c OK [09:53:53]MH_I2C_Read... [09:53:53]Read from MH i2c: F0 [09:53:53]MH_I2C_Read... [09:53:53]Read from MH i2c: F0 09 00 [09:53:53]MH_I2C_Read... [09:53:53]Read from MH i2c: F0 09 00 7F 11 00 B4 F1 94 66 2D 25 5D 64 3A [09:53:53]GetLastDocTimeStamp 1721036968 [09:53:53]current date 1721037236 [09:53:53]FM_GetShiftState [09:53:53]SAM_PROTO_GetShiftState [09:53:53]wFMCommunicate request_size=4 [09:53:53]MH_SAM_APDU [09:53:53]CAPDU: 80 13 01 00 [09:53:53]Write to MH i2c: E2 08 00 80 11 80 13 01 00 00 00 00 00 0E [09:53:53]Write i2c OK [09:53:53]MH_I2C_Read... [09:53:53]OFD Sender: No OFD packet to send [09:53:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:53:53]Read from MH i2c: E2 [09:53:53]MH_I2C_Read... [09:53:53]Read from MH i2c: E2 0E 00 [09:53:53]MH_I2C_Read... [09:53:53]Read from MH i2c: E2 0E 00 80 11 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 87 [09:53:53]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [09:53:53]wFMCommunicate OK [09:53:53]SAM_PROTO_GetShiftState done [09:53:53]FM_GetShiftState done [09:53:53]opened in 1721003525 [09:53:53]opened+sec_in_day 1721089925 [09:53:53]quantity*price = 14000 [09:53:53]sum+1 = 14001 [09:53:53]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 СНО: Общий режим Чек 51 15.07.2024 09:53 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57156 ФПД: 96857194297365 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T095356&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57156&fm=96857194297365&tin=02508201610067®Number=0000000000091208&sum=14000 0 [09:53:54]StoreToDocumentArchive [09:53:54]shift 497 fd 57156 [09:53:54]save to /storage/0497/doc_00057156 [09:53:54]save last doc name /storage/0497/doc_00057156 to /storage/kkm_last_doc_name [09:53:54]save OK [09:53:54]Clear old archive folders... [09:53:55]ProcessDocumentItem done err = 0, tmpTLVsize=273 [09:53:55]tlvbuf is 00984D30 [09:53:55]SAM_PROTO_ClearQueue [09:53:55]wFMCommunicate request_size=4 [09:53:55]MH_SAM_APDU [09:53:55]CAPDU: 80 09 00 00 [09:53:55]Write to MH i2c: E2 08 00 8D 11 80 09 00 00 00 00 00 00 10 [09:53:55]Write i2c OK [09:53:55]MH_I2C_Read... [09:53:55]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:53:55]Read from MH i2c: E2 [09:53:55]MH_I2C_Read... [09:53:55]Read from MH i2c: E2 03 00 [09:53:55]MH_I2C_Read... [09:53:55]Read from MH i2c: E2 03 00 8D 11 00 90 00 12 [09:53:55]RAPDU: 90 00 [09:53:55]wFMCommunicate OK [09:53:55]SAM_PROTO_ClearQueue done [09:53:55]KKMCreateOFDPacket [09:53:55]OFDProtocolAddRootSTLVToBuf [09:53:55]FM_MakeSignedData [09:53:55]FM_MakeSignedData [09:53:55]SAM_PROTO_SignData [09:53:55]wFMCommunicate request_size=4 [09:53:55]MH_SAM_APDU [09:53:55]CAPDU: 80 0D 01 02 [09:53:55]Write to MH i2c: E2 08 00 8E 11 80 0D 01 02 00 00 00 00 18 [09:53:55]Write i2c OK [09:53:55]MH_I2C_Read... [09:53:55]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:53:55]Read from MH i2c: E2 [09:53:55]MH_I2C_Read... [09:53:55]Read from MH i2c: E2 03 00 [09:53:55]MH_I2C_Read... [09:53:55]Read from MH i2c: E2 03 00 8E 11 00 90 00 13 [09:53:55]RAPDU: 90 00 [09:53:55]wFMCommunicate OK [09:53:55]wFMCommunicate request_size=255 [09:53:55]MH_SAM_APDU [09:53:55]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 33 00 00 00 F4 03 04 00 B4 F1 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 [09:53:55]Write to MH i2c: E2 02 01 8F 11 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 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 33 00 00 00 F4 03 04 00 B4 F1 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 CC [09:53:55]Write i2c OK [09:53:55]MH_I2C_Read... [09:53:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:53:55]Read from MH i2c: E2 [09:53:55]MH_I2C_Read... [09:53:55]Read from MH i2c: E2 03 00 [09:53:55]MH_I2C_Read... [09:53:55]Read from MH i2c: E2 03 00 8F 11 00 90 00 14 [09:53:55]RAPDU: 90 00 [09:53:55]wFMCommunicate OK [09:53:55]wFMCommunicate request_size=32 [09:53:55]MH_SAM_APDU [09:53:55]CAPDU: 80 0D 02 02 1B 30 30 30 38 37 34 38 35 37 10 04 04 00 44 DF 00 00 35 04 06 00 58 17 52 A8 F8 15 [09:53:55]Write to MH i2c: E2 23 00 90 11 80 0D 02 02 1B 00 30 30 30 38 37 34 38 35 37 10 04 04 00 44 DF 00 00 35 04 06 00 58 17 52 A8 F8 15 00 00 18 [09:53:55]Write i2c OK [09:53:55]MH_I2C_Read... [09:53:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:53:55]Read from MH i2c: E2 [09:53:55]MH_I2C_Read... [09:53:55]Read from MH i2c: E2 03 00 [09:53:55]MH_I2C_Read... [09:53:55]Read from MH i2c: E2 03 00 90 11 00 90 00 15 [09:53:55]RAPDU: 90 00 [09:53:55]wFMCommunicate OK [09:53:55]wFMCommunicate request_size=4 [09:53:55]MH_SAM_APDU [09:53:55]CAPDU: 80 0D 03 02 [09:53:55]Write to MH i2c: E2 08 00 91 11 80 0D 03 02 00 00 00 00 1D [09:53:55]Write i2c OK [09:53:55]MH_I2C_Read... [09:53:55]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:53:55]Read from MH i2c: E2 [09:53:55]MH_I2C_Read... [09:53:55]Read from MH i2c: E2 0B 00 [09:53:55]MH_I2C_Read... [09:53:55]Read from MH i2c: E2 0B 00 91 11 00 C7 FA 06 D9 94 04 82 45 90 00 1D [09:53:55]RAPDU: C7 FA 06 D9 94 04 82 45 90 00 [09:53:55]wFMCommunicate OK [09:53:55]SAM_PROTO_SignData done [09:53:55]FM_MakeSignedData done [09:53:55]CreateOFDProtocolMessage [09:53:55]wFMCommunicate request_size=4 [09:53:55]MH_SAM_APDU [09:53:55]CAPDU: 80 11 00 00 [09:53:55]Write to MH i2c: E2 08 00 92 11 80 11 00 00 00 00 00 00 1D [09:53:55]Write i2c OK [09:53:55]MH_I2C_Read... [09:53:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:53:55]Read from MH i2c: E2 [09:53:55]MH_I2C_Read... [09:53:55]Read from MH i2c: E2 17 00 [09:53:55]MH_I2C_Read... [09:53:55]Read from MH i2c: E2 17 00 92 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 77 [09:53:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [09:53:55]wFMCommunicate OK [09:53:55]CreateOFDProtocolMessage done [09:53:55]OFDSenderStorePacket 57156 [09:53:55]StoreOFDPacket docnum=57156 [09:53: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 25 01 00 00 41 A5 1D 01 85 FE 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 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 33 00 00 00 F4 03 04 00 B4 F1 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 44 DF 00 00 35 04 06 00 58 17 52 A8 F8 15 C7 FA 06 D9 94 04 82 45 [09:53:55]CheckFolder [09:53:55]dirname=/storage/ofd_packets [09:53:55]CheckFolder done [09:53:55]ProducePacketName [09:53:55]name=ofd_packets/00057156 [09:53:55]NVStorageSaveData ofd_packets/00057156 [09:53:55]File name is /storage/ofd_packets/00057156 [09:53:55]Write 323 bytes [09:53:55]NVStorageSaveData done [09:53:55]OFDSenderStorePacket done [09:53:55]KKMCreateOFDPacket done [09:53:55]NVStorageSaveData kkm_last_timestamp [09:53:55]File name is /storage/kkm_last_timestamp [09:53:55]Write 4 bytes [09:53:55]NVStorageSaveData done [09:53:55]ExternCall_PrintAddStr [09:53:55]wPrintStart [09:53:55]Write to MH i2c: 01 00 00 93 11 A4 [09:53:55]Write i2c OK [09:53:55]MH_I2C_Read... [09:53:55]Read from MH i2c: 01 [09:53:55]MH_I2C_Read... [09:53:55]Read from MH i2c: 01 07 00 [09:53:55]MH_I2C_Read... [09:53:55]Read from MH i2c: 01 07 00 93 11 00 00 00 00 00 FF 0F B9 [09:53:55]RasterBufferAndPrint [09:53:55]line Счет N : (3)129609 [09:53:55]line ИНН: 02508201610067 [09:53:55]line Контрольно-Кассовый Чек [09:53:55]line ПРОДАЖА [09:53:55]line Товар: 48743570 [09:53:55]line Сигареты Winston XStyle Blue [09:53:55]line 1.000 * 140.00 [09:53:55]line = 140.00 [09:53:55]line НДС 12% НСП 1% [09:53:55]line > о реализуемом товаре [09:53:55]line ИТОГО: 140.00 [09:53:55]line НСП 1% : 1.24 [09:53:55]line НДС 12% : 14.87 [09:53:55]line Наличными: 140.00 [09:53:55]line Безнал.: 0.00 [09:53:55]line Место: АЗС № 132 "Партнер Нефть" [09:53:55]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [09:53:55]line СНО: Общий режим [09:53:55]line Чек 51 15.07.2024 09:53 [09:53:55]line Смена: 497 ФФД: 1.0 [09:53:55]line ЗНМ: 0300000132 [09:53:55]line РНМ: 0000000000091208 [09:53:55]line Версия ККМ: 001 [09:53:55]line ФМ: 0000000000874857 [09:53:55]line ФД: 57156 [09:53:55]line ФПД: 96857194297365 [09:53:55]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T095356&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57156&fm=96857194297365&tin=02508201610067®Number=0000000000091208&sum=14000 [09:53:55]line 0 [09:53:55]written 0, free lines is 4095 [09:53:55]OFD Sender: Processing packet 57156 [packets to send 38, broken 37] [09:53:55]ProducePacketName [09:53:55]name=ofd_packets/00057156 [09:53:55]OFD Sender: To server: pG, [09:53:55]CommunicateWithHost lk.salyk.kg:30040 [09:53:55]ConnectInit lk.salyk.kg [09:53:55]Connected sock=8 [09:53: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 25 01 00 00 41 A5 1D 01 85 FE 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 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 33 00 00 00 F4 03 04 00 B4 F1 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 44 DF 00 00 35 04 06 00 58 17 52 A8 F8 15 C7 FA 06 D9 94 04 82 45 [09:53: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 4F D1 47 00 6C 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 44 DF 00 00 F4 03 04 00 03 98 94 66 B6 04 01 00 00 77 0A 50 39 06 40 1E 5E [09:53:56]CommunicateWithHost err = 0 [09:53:56]CheckOFDResponse [09:53:56]1017 (14) - 77093643461234 [09:53:56]1041 (16) - 0000000000874857 [09:53:56]1040 (4) - 57156 [09:53:56]1012 (4) - 15.07.2024 03:31 [09:53:56]1206 (1) - 0 [09:53:56]OFD Sender: Remove packet 57156 [09:53:56]ProducePacketName [09:53:56]name=ofd_packets/00057156 [09:53:56]NVStorageDeleteData [09:53:56]Write to MH i2c: 01 00 00 BB 11 CC [09:53:56]Write i2c OK [09:53:56]MH_I2C_Read... [09:53:56]Read from MH i2c: 01 [09:53:56]MH_I2C_Read... [09:53:56]Read from MH i2c: 01 07 00 [09:53:56]MH_I2C_Read... [09:53:56]Read from MH i2c: 01 07 00 BB 11 00 00 00 00 00 FD 0C DC [09:53:56]RasterBufferAndPrint [09:53:56]line [09:53:56]line [09:53:56]line [09:53:56]line [09:53:56]line [09:53:56]written 0, free lines is 3331 [09:53:56]MH_Cut [09:53:56]Write to MH i2c: D1 01 00 C2 11 01 A5 [09:53:56]Write i2c OK [09:53:56]MH_I2C_Read... [09:53:56]Read from MH i2c: D1 [09:53:56]MH_I2C_Read... [09:53:56]Read from MH i2c: D1 01 00 [09:53:56]MH_I2C_Read... [09:53:56]Read from MH i2c: D1 01 00 C2 11 00 A4 [09:53:56]Write to MH i2c: 01 00 00 C3 11 D4 [09:53:56]Write i2c OK [09:53:56]MH_I2C_Read... [09:53:56]OFD Sender: No OFD packet to send [09:53:57]*** Cut start [09:53:57]*** Partial cut [09:53:57]*** CUTSNS_PIN = 1 [09:53:57]*** CUTSNS_PIN = 0 [09:53:57]*** Brake cut motor [09:53:57]Read from MH i2c: 01 [09:53:57]MH_I2C_Read... [09:53:57]*** Stop cut motor [09:53:57]*** Cut end [09:53:57]Read from MH i2c: 01 07 00 [09:53:57]MH_I2C_Read... [09:53:57]Read from MH i2c: 01 07 00 C3 11 00 00 00 00 00 FF 0F E9 [09:53:57]process_action close_receipt done [09:53:57]requested_data is exist [09:53:57]produce_requested_data [09:53:57]requested_item fm.sn is exist - process it [09:53:57]wFMCommunicate request_size=4 [09:53:57]MH_SAM_APDU [09:53:57]CAPDU: 80 11 00 00 [09:53:57]Write to MH i2c: E2 08 00 C4 11 80 11 00 00 00 00 00 00 4F [09:53:57]Write i2c OK [09:53:57]MH_I2C_Read... [09:53:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:53:57]Read from MH i2c: E2 [09:53:57]MH_I2C_Read... [09:53:57]Read from MH i2c: E2 17 00 [09:53:57]MH_I2C_Read... [09:53:57]Read from MH i2c: E2 17 00 C4 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 A9 [09:53:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [09:53:57]wFMCommunicate OK [09:53:57]requested_item fd.num is exist - process it [09:53:57]SAM_PROTO_GetFieldsCounters [09:53:57]wFMCommunicate request_size=4 [09:53:57]MH_SAM_APDU [09:53:57]CAPDU: 80 13 00 00 [09:53:57]Write to MH i2c: E2 08 00 C5 11 80 13 00 00 00 00 00 00 52 [09:53:57]Write i2c OK [09:53:57]MH_I2C_Read... [09:53:57]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:53:57]Read from MH i2c: E2 [09:53:57]MH_I2C_Read... [09:53:57]Read from MH i2c: E2 62 00 [09:53:57]MH_I2C_Read... [09:53:57]Read from MH i2c: E2 62 00 C5 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 44 DF 00 00 0E 04 04 00 F1 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 23 [09:53: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 44 DF 00 00 0E 04 04 00 F1 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 [09:53:57]wFMCommunicate OK [09:53:57]SAM_PROTO_GetFieldsCounters done [09:53:57]requested_item shift.num is exist - process it [09:53:57]requested_item shift.opened is exist - process it [09:53:57]req_shift_opened [09:53:57]FM_GetShiftState [09:53:57]SAM_PROTO_GetShiftState [09:53:57]wFMCommunicate request_size=4 [09:53:57]MH_SAM_APDU [09:53:57]CAPDU: 80 13 01 00 [09:53:57]Write to MH i2c: E2 08 00 C6 11 80 13 01 00 00 00 00 00 54 [09:53:57]Write i2c OK [09:53:57]MH_I2C_Read... [09:53:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:53:57]Read from MH i2c: E2 [09:53:57]MH_I2C_Read... [09:53:57]Read from MH i2c: E2 0E 00 [09:53:57]MH_I2C_Read... [09:53:57]Read from MH i2c: E2 0E 00 C6 11 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 CD [09:53:57]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [09:53:57]wFMCommunicate OK [09:53:57]SAM_PROTO_GetShiftState done [09:53:57]FM_GetShiftState done [09:53:57]req_shift_opened done [09:53:57]requested_item shift.open_date is exist - process it [09:53:57]req_shift_open_date [09:53:57]req_shift_open_date done [09:53:57]requested_item shift.sale.total is exist - process it [09:53:57]SAM_PROTO_GetShiftData [09:53:57]wFMCommunicate request_size=4 [09:53:57]MH_SAM_APDU [09:53:57]CAPDU: 80 13 02 00 [09:53:57]Write to MH i2c: E2 08 00 C7 11 80 13 02 00 00 00 00 00 56 [09:53:57]Write i2c OK [09:53:57]MH_I2C_Read... [09:53:58]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [09:53:58]Read from MH i2c: E2 [09:53:58]MH_I2C_Read... [09:53:58]Read from MH i2c: E2 FD 00 [09:53:58]MH_I2C_Read... [09:53:58]Read from MH i2c: E2 FD 00 C7 11 00 B6 04 AA 04 B2 04 6E 04 04 00 33 00 00 00 69 04 9B 00 6F 04 04 00 32 00 00 00 B1 04 03 00 F9 81 12 70 04 03 00 E4 6D 0D 72 04 03 00 15 14 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 22 F7 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 EC 29 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 64 [09:53:58]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 33 00 00 00 69 04 9B 00 6F 04 04 00 32 00 00 00 B1 04 03 00 F9 81 12 70 04 03 00 E4 6D 0D 72 04 03 00 15 14 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 22 F7 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 EC 29 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 [09:53:58]wFMCommunicate OK [09:53:58]wFMCommunicate request_size=4 [09:53:58]MH_SAM_APDU [09:53:58]CAPDU: 80 17 00 00 [09:53:58]Write to MH i2c: E2 08 00 C8 11 80 17 00 00 00 00 00 00 59 [09:53:58]Write i2c OK [09:53:58]MH_I2C_Read... [09:53:58]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:53:58]Read from MH i2c: E2 [09:53:58]MH_I2C_Read... [09:53:58]Read from MH i2c: E2 FD 00 [09:53:58]MH_I2C_Read... [09:53:58]Read from MH i2c: E2 FD 00 C8 11 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 8E [09:53:58]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 [09:53:58]wFMCommunicate OK [09:53:58]wFMCommunicate request_size=4 [09:53:58]MH_SAM_APDU [09:53:58]CAPDU: 80 17 00 00 [09:53:58]Write to MH i2c: E2 08 00 C9 11 80 17 00 00 00 00 00 00 5A [09:53:58]Write i2c OK [09:53:58]MH_I2C_Read... [09:53:58]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:53:58]Read from MH i2c: E2 [09:53:58]MH_I2C_Read... [09:53:58]Read from MH i2c: E2 FD 00 [09:53:58]MH_I2C_Read... [09:53:58]Read from MH i2c: E2 FD 00 C9 11 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 1A [09:53:58]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 [09:53:59]wFMCommunicate OK [09:53:59]wFMCommunicate request_size=4 [09:53:59]MH_SAM_APDU [09:53:59]CAPDU: 80 17 00 00 [09:53:59]Write to MH i2c: E2 08 00 CA 11 80 17 00 00 00 00 00 00 5B [09:53:59]Write i2c OK [09:53:59]MH_I2C_Read... [09:53:59]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:53:59]Read from MH i2c: E2 [09:53:59]MH_I2C_Read... [09:53:59]Read from MH i2c: E2 FD 00 [09:53:59]MH_I2C_Read... [09:53:59]Read from MH i2c: E2 FD 00 CA 11 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 CA [09:53:59]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 [09:53:59]wFMCommunicate OK [09:53:59]wFMCommunicate request_size=4 [09:53:59]MH_SAM_APDU [09:53:59]CAPDU: 80 17 00 00 [09:53:59]Write to MH i2c: E2 08 00 CB 11 80 17 00 00 00 00 00 00 5C [09:53:59]Write i2c OK [09:53:59]MH_I2C_Read... [09:53:59]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [09:53:59]Read from MH i2c: E2 [09:53:59]MH_I2C_Read... [09:53:59]Read from MH i2c: E2 D3 00 [09:53:59]MH_I2C_Read... [09:53:59]Read from MH i2c: E2 D3 00 CB 11 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 49 [09:53:59]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 [09:53:59]wFMCommunicate OK [09:53:59]SAM_PROTO_GetShiftData done [09:53:59]requested_item shift.sale.total_cash is exist - process it [09:53:59]requested_item shift.sale_refund.total is exist - process it [09:53:59]requested_item shift.sale_refund.total_cash is exist - process it [09:53:59]produce_requested_data done [09:53:59]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57156,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":12129.21,"shift.sale.total_cash":8801.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [09:53:59]process_action_free close_receipt [09:53:59]json_value_free [09:53:59]json_value_free done [09:53:59]process_json_proto returns [09:53:59]Send response to host [09:53:59]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57156,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":12129.21,"shift.sale.total_cash":8801.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [09:53:59]free response buf [09:53:59]execute_script done [09:53:59]execute_script returns [09:53:59]free content buf [09:53:59]Sock 9.Close socket [09:53:59]Sock 9.Thread stoped [09:54:01]OFD Sender: No OFD packet to send [09:54:06]OFD Sender: No OFD packet to send [09:54:11]accept exits with 10 [09:54:11]New connection [09:54:11]New thread 3067067748 created [09:54:11]Thread 3066924388 joined [09:54:11]Waiting for new connection... [09:54:11] Sock 10.Parse request [09:54:11]Sock 10.Check first char [09:54:11]Sock 10.First char is OK [09:54:11]request: POST /json_proto HTTP/1.0 [09:54:11]Method: POST [09:54:11]URL: /json_proto [09:54:11]Method is POST - this is cgi request [09:54:11]url: /json_proto [09:54:11]query_string will be loaded in cgi processing [09:54:11]execute_cgi json_proto POST (null) [09:54:11]execute_cgi path=json_proto method=POST [09:54:11]POST find Content-Length [09:54:11]Host: 172.17.39.4:8080 [09:54:11]Content-Length: 786 [09:54:11]Content-Type: application/json [09:54:11] [09:54:11]POST finish read [09:54:11]Found Content-Length = 786 [09:54:11]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)855732", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 43", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.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" ] } } [09:54:11]execute_script... [09:54:11]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)855732", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 43", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.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" ] } } [09:54:11]POST & json_proto [09:54:11]process_json_proto [09:54:11]json parsed OK: [09:54:11]protocol is kg_v1.0 [09:54:11]action value=close_receipt [09:54:11]process_action close_receipt [09:54:11]cmd_close_receipt [09:54:11]MH_GetDate [09:54:11]Write to MH i2c: F0 00 00 CC 11 CC [09:54:11]Write i2c OK [09:54:11]MH_I2C_Read... [09:54:11]Read from MH i2c: F0 [09:54:11]MH_I2C_Read... [09:54:11]Read from MH i2c: F0 09 00 [09:54:11]MH_I2C_Read... [09:54:11]Read from MH i2c: F0 09 00 CC 11 00 C6 F1 94 66 2D 25 5D 64 99 [09:54:11]GetLastDocTimeStamp 1721037236 [09:54:11]current date 1721037254 [09:54:11]FM_GetShiftState [09:54:11]SAM_PROTO_GetShiftState [09:54:11]wFMCommunicate request_size=4 [09:54:11]MH_SAM_APDU [09:54:11]CAPDU: 80 13 01 00 [09:54:11]Write to MH i2c: E2 08 00 CD 11 80 13 01 00 00 00 00 00 5B [09:54:11]Write i2c OK [09:54:11]MH_I2C_Read... [09:54:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:54:11]Read from MH i2c: E2 [09:54:11]MH_I2C_Read... [09:54:11]Read from MH i2c: E2 0E 00 [09:54:11]MH_I2C_Read... [09:54:11]Read from MH i2c: E2 0E 00 CD 11 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 D4 [09:54:11]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [09:54:11]wFMCommunicate OK [09:54:11]SAM_PROTO_GetShiftState done [09:54:11]FM_GetShiftState done [09:54:11]opened in 1721003525 [09:54:11]opened+sec_in_day 1721089925 [09:54:11]quantity*price = 100046 [09:54:11]sum+1 = 100048 [09:54:11]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 СНО: Общий режим Чек 52 15.07.2024 09:54 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57157 ФПД: 239217323746349 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T095414&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57157&fm=239217323746349&tin=02508201610067®Number=0000000000091208&sum=100000 [09:54:12]StoreToDocumentArchive [09:54:12]shift 497 fd 57157 [09:54:12]save to /storage/0497/doc_00057157 [09:54:12]save last doc name /storage/0497/doc_00057157 to /storage/kkm_last_doc_name [09:54:12]save OK [09:54:12]Clear old archive folders... [09:54:12]ProcessDocumentItem done err = 0, tmpTLVsize=251 [09:54:12]tlvbuf is 009A20C0 [09:54:12]SAM_PROTO_ClearQueue [09:54:12]wFMCommunicate request_size=4 [09:54:12]MH_SAM_APDU [09:54:12]CAPDU: 80 09 00 00 [09:54:12]Write to MH i2c: E2 08 00 DA 11 80 09 00 00 00 00 00 00 5D [09:54:12]Write i2c OK [09:54:12]MH_I2C_Read... [09:54:12]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:54:12]Read from MH i2c: E2 [09:54:12]MH_I2C_Read... [09:54:12]Read from MH i2c: E2 03 00 [09:54:12]MH_I2C_Read... [09:54:12]Read from MH i2c: E2 03 00 DA 11 00 90 00 5F [09:54:12]RAPDU: 90 00 [09:54:12]wFMCommunicate OK [09:54:12]SAM_PROTO_ClearQueue done [09:54:12]KKMCreateOFDPacket [09:54:12]OFDProtocolAddRootSTLVToBuf [09:54:12]FM_MakeSignedData [09:54:12]FM_MakeSignedData [09:54:12]SAM_PROTO_SignData [09:54:12]wFMCommunicate request_size=4 [09:54:12]MH_SAM_APDU [09:54:12]CAPDU: 80 0D 01 02 [09:54:12]Write to MH i2c: E2 08 00 DB 11 80 0D 01 02 00 00 00 00 65 [09:54:12]Write i2c OK [09:54:12]MH_I2C_Read... [09:54:12]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:54:12]Read from MH i2c: E2 [09:54:12]MH_I2C_Read... [09:54:12]Read from MH i2c: E2 03 00 [09:54:12]MH_I2C_Read... [09:54:12]Read from MH i2c: E2 03 00 DB 11 00 90 00 60 [09:54:12]RAPDU: 90 00 [09:54:12]wFMCommunicate OK [09:54:12]wFMCommunicate request_size=255 [09:54:12]MH_SAM_APDU [09:54:12]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 34 00 00 00 F4 03 04 00 C6 F1 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 45 DF 00 00 35 04 06 00 D9 [09:54:13]Write to MH i2c: E2 02 01 DC 11 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 34 00 00 00 F4 03 04 00 C6 F1 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 45 DF 00 00 35 04 06 00 D9 00 00 35 [09:54:13]Write i2c OK [09:54:13]MH_I2C_Read... [09:54:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:54:13]Read from MH i2c: E2 [09:54:13]MH_I2C_Read... [09:54:13]Read from MH i2c: E2 03 00 [09:54:13]MH_I2C_Read... [09:54:13]Read from MH i2c: E2 03 00 DC 11 00 90 00 61 [09:54:13]RAPDU: 90 00 [09:54:13]wFMCommunicate OK [09:54:13]wFMCommunicate request_size=10 [09:54:13]MH_SAM_APDU [09:54:13]CAPDU: 80 0D 02 02 05 91 1F 9B 24 2D [09:54:13]Write to MH i2c: E2 0D 00 DD 11 80 0D 02 02 05 00 91 1F 9B 24 2D 00 00 0E [09:54:13]Write i2c OK [09:54:13]MH_I2C_Read... [09:54:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:54:13]Read from MH i2c: E2 [09:54:13]MH_I2C_Read... [09:54:13]Read from MH i2c: E2 03 00 [09:54:13]MH_I2C_Read... [09:54:13]Read from MH i2c: E2 03 00 DD 11 00 90 00 62 [09:54:13]RAPDU: 90 00 [09:54:13]wFMCommunicate OK [09:54:13]wFMCommunicate request_size=4 [09:54:13]MH_SAM_APDU [09:54:13]CAPDU: 80 0D 03 02 [09:54:13]Write to MH i2c: E2 08 00 DE 11 80 0D 03 02 00 00 00 00 6A [09:54:13]Write i2c OK [09:54:13]MH_I2C_Read... [09:54:13]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:54:13]Read from MH i2c: E2 [09:54:13]MH_I2C_Read... [09:54:13]Read from MH i2c: E2 0B 00 [09:54:13]MH_I2C_Read... [09:54:13]Read from MH i2c: E2 0B 00 DE 11 00 66 4D 38 67 50 51 D3 51 90 00 82 [09:54:13]RAPDU: 66 4D 38 67 50 51 D3 51 90 00 [09:54:13]wFMCommunicate OK [09:54:13]SAM_PROTO_SignData done [09:54:13]FM_MakeSignedData done [09:54:13]CreateOFDProtocolMessage [09:54:13]wFMCommunicate request_size=4 [09:54:13]MH_SAM_APDU [09:54:13]CAPDU: 80 11 00 00 [09:54:13]Write to MH i2c: E2 08 00 DF 11 80 11 00 00 00 00 00 00 6A [09:54:13]Write i2c OK [09:54:13]MH_I2C_Read... [09:54:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:54:13]Read from MH i2c: E2 [09:54:13]MH_I2C_Read... [09:54:13]Read from MH i2c: E2 17 00 [09:54:13]MH_I2C_Read... [09:54:13]Read from MH i2c: E2 17 00 DF 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 C4 [09:54:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [09:54:13]wFMCommunicate OK [09:54:13]CreateOFDProtocolMessage done [09:54:13]OFDSenderStorePacket 57157 [09:54:13]StoreOFDPacket docnum=57157 [09:54: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 0F 01 00 00 99 85 07 01 84 0F 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 34 00 00 00 F4 03 04 00 C6 F1 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 45 DF 00 00 35 04 06 00 D9 91 1F 9B 24 2D 66 4D 38 67 50 51 D3 51 [09:54:13]CheckFolder [09:54:13]dirname=/storage/ofd_packets [09:54:13]CheckFolder done [09:54:13]ProducePacketName [09:54:13]name=ofd_packets/00057157 [09:54:13]NVStorageSaveData ofd_packets/00057157 [09:54:13]File name is /storage/ofd_packets/00057157 [09:54:13]Write 301 bytes [09:54:13]NVStorageSaveData done [09:54:13]OFDSenderStorePacket done [09:54:13]KKMCreateOFDPacket done [09:54:13]NVStorageSaveData kkm_last_timestamp [09:54:13]File name is /storage/kkm_last_timestamp [09:54:13]Write 4 bytes [09:54:13]NVStorageSaveData done [09:54:13]ExternCall_PrintAddStr [09:54:13]wPrintStart [09:54:13]Write to MH i2c: 01 00 00 E0 11 F1 [09:54:13]Write i2c OK [09:54:13]MH_I2C_Read... [09:54:13]Read from MH i2c: 01 [09:54:13]MH_I2C_Read... [09:54:13]Read from MH i2c: 01 07 00 [09:54:13]MH_I2C_Read... [09:54:13]Read from MH i2c: 01 07 00 E0 11 00 00 00 00 00 FF 0F 06 [09:54:13]RasterBufferAndPrint [09:54:13]line Счет N : (1)855732 [09:54:13]line ИНН: 02508201610067 [09:54:13]line Контрольно-Кассовый Чек [09:54:13]line ПРОДАЖА [09:54:13]line ТРК (МРК, ГНК) : 43 [09:54:13]line Товар: 2710124130 [09:54:13]line Аи-92-К-5 [09:54:13]line 15.090 * 66.30 [09:54:13]line = 1000.47 [09:54:13]line НДС 12% НСП 1% [09:54:13]line > о реализуемом товаре [09:54:13]line ОКРУГЛЕНИЕ: -0.47 [09:54:13]line ИТОГО: 1000.00 [09:54:13]line Внесено: 1000.00 [09:54:13]line СДАЧА: 0.00 [09:54:13]line НСП 1% : 8.85 [09:54:13]line НДС 12% : 106.24 [09:54:13]line Наличными: 1000.00 [09:54:13]line Безнал.: 0.00 [09:54:13]line Место: АЗС № 132 "Партнер Нефть" [09:54:13]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [09:54:13]line СНО: Общий режим [09:54:13]line Чек 52 15.07.2024 09:54 [09:54:13]line Смена: 497 ФФД: 1.0 [09:54:13]line ЗНМ: 0300000132 [09:54:13]line РНМ: 0000000000091208 [09:54:13]line Версия ККМ: 001 [09:54:13]line ФМ: 0000000000874857 [09:54:13]line ФД: 57157 [09:54:13]line ФПД: 239217323746349 [09:54:13]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T095414&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57157&fm=239217323746349&tin=02508201610067®Number=0000000000091208&sum=100000 [09:54:13]written 0, free lines is 4095 [09:54:13]OFD Sender: Processing packet 57157 [packets to send 38, broken 37] [09:54:13]ProducePacketName [09:54:13]name=ofd_packets/00057157 [09:54:13]OFD Sender: To server: pG, [09:54:13]CommunicateWithHost lk.salyk.kg:30040 [09:54:13]ConnectInit lk.salyk.kg [09:54:13]Connected sock=9 [09:54:13]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 99 85 07 01 84 0F 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 34 00 00 00 F4 03 04 00 C6 F1 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 45 DF 00 00 35 04 06 00 D9 91 1F 9B 24 2D 66 4D 38 67 50 51 D3 51 [09:54:13]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 FA 01 47 00 63 8C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 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 45 DF 00 00 F4 03 04 00 15 98 94 66 B6 04 01 00 00 CB D3 C6 4A 8F F4 24 F5 [09:54:13]CommunicateWithHost err = 0 [09:54:13]CheckOFDResponse [09:54:13]1017 (14) - 77093643461234 [09:54:13]1041 (16) - 0000000000874857 [09:54:13]1040 (4) - 57157 [09:54:13]1012 (4) - 15.07.2024 03:31 [09:54:13]1206 (1) - 0 [09:54:13]OFD Sender: Remove packet 57157 [09:54:13]ProducePacketName [09:54:13]name=ofd_packets/00057157 [09:54:13]NVStorageDeleteData [09:54:13]Write to MH i2c: 01 00 00 0B 12 1D [09:54:13]Write i2c OK [09:54:13]MH_I2C_Read... [09:54:13]Read from MH i2c: 01 [09:54:13]MH_I2C_Read... [09:54:13]Read from MH i2c: 01 07 00 [09:54:13]MH_I2C_Read... [09:54:13]Read from MH i2c: 01 07 00 0B 12 00 00 00 00 00 0B 0D 3C [09:54:13]RasterBufferAndPrint [09:54:13]line [09:54:13]line [09:54:13]line [09:54:13]line [09:54:13]line [09:54:13]written 0, free lines is 3354 [09:54:14]MH_Cut [09:54:14]Write to MH i2c: D1 01 00 12 12 01 F6 [09:54:14]Write i2c OK [09:54:14]MH_I2C_Read... [09:54:14]Read from MH i2c: D1 [09:54:14]MH_I2C_Read... [09:54:14]Read from MH i2c: D1 01 00 [09:54:14]MH_I2C_Read... [09:54:14]Read from MH i2c: D1 01 00 12 12 00 F5 [09:54:14]Write to MH i2c: 01 00 00 13 12 25 [09:54:14]Write i2c OK [09:54:14]MH_I2C_Read... [09:54:14]OFD Sender: No OFD packet to send [09:54:14]*** Cut start [09:54:14]*** Partial cut [09:54:14]*** CUTSNS_PIN = 1 [09:54:14]*** CUTSNS_PIN = 0 [09:54:14]*** Brake cut motor [09:54:15]Read from MH i2c: 01 [09:54:15]MH_I2C_Read... [09:54:15]*** Stop cut motor [09:54:15]*** Cut end [09:54:15]Read from MH i2c: 01 07 00 [09:54:15]MH_I2C_Read... [09:54:15]Read from MH i2c: 01 07 00 13 12 00 00 00 00 00 FF 0F 3A [09:54:15]process_action close_receipt done [09:54:15]requested_data is exist [09:54:15]produce_requested_data [09:54:15]requested_item fm.sn is exist - process it [09:54:15]wFMCommunicate request_size=4 [09:54:15]MH_SAM_APDU [09:54:15]CAPDU: 80 11 00 00 [09:54:15]Write to MH i2c: E2 08 00 14 12 80 11 00 00 00 00 00 00 A0 [09:54:15]Write i2c OK [09:54:15]MH_I2C_Read... [09:54:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:54:15]Read from MH i2c: E2 [09:54:15]MH_I2C_Read... [09:54:15]Read from MH i2c: E2 17 00 [09:54:15]MH_I2C_Read... [09:54:15]Read from MH i2c: E2 17 00 14 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 FA [09:54:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [09:54:15]wFMCommunicate OK [09:54:15]requested_item fd.num is exist - process it [09:54:15]SAM_PROTO_GetFieldsCounters [09:54:15]wFMCommunicate request_size=4 [09:54:15]MH_SAM_APDU [09:54:15]CAPDU: 80 13 00 00 [09:54:15]Write to MH i2c: E2 08 00 15 12 80 13 00 00 00 00 00 00 A3 [09:54:15]Write i2c OK [09:54:15]MH_I2C_Read... [09:54:15]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:54:15]Read from MH i2c: E2 [09:54:15]MH_I2C_Read... [09:54:15]Read from MH i2c: E2 62 00 [09:54:15]MH_I2C_Read... [09:54:15]Read from MH i2c: E2 62 00 15 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 45 DF 00 00 0E 04 04 00 F1 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 78 [09:54: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 45 DF 00 00 0E 04 04 00 F1 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 [09:54:15]wFMCommunicate OK [09:54:15]SAM_PROTO_GetFieldsCounters done [09:54:15]requested_item shift.num is exist - process it [09:54:15]requested_item shift.opened is exist - process it [09:54:15]req_shift_opened [09:54:15]FM_GetShiftState [09:54:15]SAM_PROTO_GetShiftState [09:54:15]wFMCommunicate request_size=4 [09:54:15]MH_SAM_APDU [09:54:15]CAPDU: 80 13 01 00 [09:54:15]Write to MH i2c: E2 08 00 16 12 80 13 01 00 00 00 00 00 A5 [09:54:15]Write i2c OK [09:54:15]MH_I2C_Read... [09:54:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:54:15]Read from MH i2c: E2 [09:54:15]MH_I2C_Read... [09:54:15]Read from MH i2c: E2 0E 00 [09:54:15]MH_I2C_Read... [09:54:15]Read from MH i2c: E2 0E 00 16 12 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 1E [09:54:15]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [09:54:15]wFMCommunicate OK [09:54:15]SAM_PROTO_GetShiftState done [09:54:15]FM_GetShiftState done [09:54:15]req_shift_opened done [09:54:15]requested_item shift.open_date is exist - process it [09:54:15]req_shift_open_date [09:54:15]req_shift_open_date done [09:54:15]requested_item shift.sale.total is exist - process it [09:54:15]SAM_PROTO_GetShiftData [09:54:15]wFMCommunicate request_size=4 [09:54:15]MH_SAM_APDU [09:54:15]CAPDU: 80 13 02 00 [09:54:15]Write to MH i2c: E2 08 00 17 12 80 13 02 00 00 00 00 00 A7 [09:54:15]Write i2c OK [09:54:15]MH_I2C_Read... [09:54:16]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [09:54:16]Read from MH i2c: E2 [09:54:16]MH_I2C_Read... [09:54:16]Read from MH i2c: E2 FD 00 [09:54:16]MH_I2C_Read... [09:54:16]Read from MH i2c: E2 FD 00 17 12 00 B6 04 AA 04 B2 04 6E 04 04 00 34 00 00 00 69 04 9B 00 6F 04 04 00 33 00 00 00 B1 04 03 00 99 08 14 70 04 03 00 84 F4 0E 72 04 03 00 15 14 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 A2 20 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 61 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 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 2B [09:54:16]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 34 00 00 00 69 04 9B 00 6F 04 04 00 33 00 00 00 B1 04 03 00 99 08 14 70 04 03 00 84 F4 0E 72 04 03 00 15 14 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 A2 20 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 61 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 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 [09:54:16]wFMCommunicate OK [09:54:16]wFMCommunicate request_size=4 [09:54:16]MH_SAM_APDU [09:54:16]CAPDU: 80 17 00 00 [09:54:16]Write to MH i2c: E2 08 00 18 12 80 17 00 00 00 00 00 00 AA [09:54:16]Write i2c OK [09:54:16]MH_I2C_Read... [09:54:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:54:16]Read from MH i2c: E2 [09:54:16]MH_I2C_Read... [09:54:16]Read from MH i2c: E2 FD 00 [09:54:16]MH_I2C_Read... [09:54:16]Read from MH i2c: E2 FD 00 18 12 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 DF [09:54:16]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 [09:54:16]wFMCommunicate OK [09:54:16]wFMCommunicate request_size=4 [09:54:16]MH_SAM_APDU [09:54:16]CAPDU: 80 17 00 00 [09:54:16]Write to MH i2c: E2 08 00 19 12 80 17 00 00 00 00 00 00 AB [09:54:16]Write i2c OK [09:54:16]MH_I2C_Read... [09:54:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:54:16]Read from MH i2c: E2 [09:54:16]MH_I2C_Read... [09:54:16]Read from MH i2c: E2 FD 00 [09:54:16]MH_I2C_Read... [09:54:16]Read from MH i2c: E2 FD 00 19 12 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 6B [09:54:16]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 [09:54:16]wFMCommunicate OK [09:54:16]wFMCommunicate request_size=4 [09:54:16]MH_SAM_APDU [09:54:16]CAPDU: 80 17 00 00 [09:54:16]Write to MH i2c: E2 08 00 1A 12 80 17 00 00 00 00 00 00 AC [09:54:16]Write i2c OK [09:54:16]MH_I2C_Read... [09:54:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:54:16]Read from MH i2c: E2 [09:54:16]MH_I2C_Read... [09:54:16]Read from MH i2c: E2 FD 00 [09:54:16]MH_I2C_Read... [09:54:16]Read from MH i2c: E2 FD 00 1A 12 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 1B [09:54:16]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 [09:54:17]wFMCommunicate OK [09:54:17]wFMCommunicate request_size=4 [09:54:17]MH_SAM_APDU [09:54:17]CAPDU: 80 17 00 00 [09:54:17]Write to MH i2c: E2 08 00 1B 12 80 17 00 00 00 00 00 00 AD [09:54:17]Write i2c OK [09:54:17]MH_I2C_Read... [09:54:17]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [09:54:17]Read from MH i2c: E2 [09:54:17]MH_I2C_Read... [09:54:17]Read from MH i2c: E2 D3 00 [09:54:17]MH_I2C_Read... [09:54:17]Read from MH i2c: E2 D3 00 1B 12 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 9A [09:54:17]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 [09:54:17]wFMCommunicate OK [09:54:17]SAM_PROTO_GetShiftData done [09:54:17]requested_item shift.sale.total_cash is exist - process it [09:54:17]requested_item shift.sale_refund.total is exist - process it [09:54:17]requested_item shift.sale_refund.total_cash is exist - process it [09:54:17]produce_requested_data done [09:54:17]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57157,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":13129.21,"shift.sale.total_cash":9801.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [09:54:17]process_action_free close_receipt [09:54:17]json_value_free [09:54:17]json_value_free done [09:54:17]process_json_proto returns [09:54:17]Send response to host [09:54:17]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57157,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":13129.21,"shift.sale.total_cash":9801.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [09:54:17]free response buf [09:54:17]execute_script done [09:54:17]execute_script returns [09:54:17]free content buf [09:54:17]Sock 10.Close socket [09:54:17]Sock 10.Thread stoped [09:54:19]OFD Sender: No OFD packet to send [09:54:24]OFD Sender: No OFD packet to send [09:54:29]OFD Sender: No OFD packet to send [09:54:34]OFD Sender: No OFD packet to send [09:54:39]OFD Sender: No OFD packet to send [09:54:44]OFD Sender: No OFD packet to send [09:54:49]OFD Sender: No OFD packet to send [09:54:54]OFD Sender: No OFD packet to send [09:54:59]OFD Sender: No OFD packet to send [09:55:04]OFD Sender: No OFD packet to send [09:55:09]OFD Sender: No OFD packet to send [09:55:14]OFD Sender: No OFD packet to send [09:55:19]OFD Sender: No OFD packet to send [09:55:24]OFD Sender: No OFD packet to send [09:55:29]OFD Sender: No OFD packet to send [09:55:34]OFD Sender: No OFD packet to send [09:55:39]OFD Sender: No OFD packet to send [09:55:44]OFD Sender: No OFD packet to send [09:55:49]OFD Sender: No OFD packet to send [09:55:54]OFD Sender: No OFD packet to send [09:55:59]OFD Sender: No OFD packet to send [09:56:04]OFD Sender: No OFD packet to send [09:56:09]OFD Sender: No OFD packet to send [09:56:14]OFD Sender: No OFD packet to send [09:56:19]OFD Sender: No OFD packet to send [09:56:24]OFD Sender: No OFD packet to send [09:56:29]OFD Sender: No OFD packet to send [09:56:34]OFD Sender: No OFD packet to send [09:56:39]OFD Sender: No OFD packet to send [09:56:44]OFD Sender: No OFD packet to send [09:56:49]OFD Sender: No OFD packet to send [09:56:54]OFD Sender: No OFD packet to send [09:56:59]OFD Sender: No OFD packet to send [09:57:04]OFD Sender: No OFD packet to send [09:57:09]OFD Sender: No OFD packet to send [09:57:14]OFD Sender: No OFD packet to send [09:57:19]OFD Sender: No OFD packet to send [09:57:24]OFD Sender: No OFD packet to send [09:57:29]OFD Sender: No OFD packet to send [09:57:34]OFD Sender: No OFD packet to send [09:57:39]OFD Sender: No OFD packet to send [09:57:44]OFD Sender: No OFD packet to send [09:57:49]OFD Sender: No OFD packet to send [09:57:54]OFD Sender: No OFD packet to send [09:57:59]OFD Sender: No OFD packet to send [09:58:04]OFD Sender: No OFD packet to send [09:58:09]OFD Sender: No OFD packet to send [09:58:14]OFD Sender: No OFD packet to send [09:58:19]OFD Sender: No OFD packet to send [09:58:24]OFD Sender: No OFD packet to send [09:58:29]OFD Sender: No OFD packet to send [09:58:34]OFD Sender: No OFD packet to send [09:58:39]OFD Sender: No OFD packet to send [09:58:44]OFD Sender: No OFD packet to send [09:58:49]OFD Sender: No OFD packet to send [09:58:54]OFD Sender: No OFD packet to send [09:58:59]OFD Sender: No OFD packet to send [09:59:04]OFD Sender: No OFD packet to send [09:59:09]OFD Sender: No OFD packet to send [09:59:14]OFD Sender: No OFD packet to send [09:59:19]OFD Sender: No OFD packet to send [09:59:24]OFD Sender: No OFD packet to send [09:59:29]OFD Sender: No OFD packet to send [09:59:34]OFD Sender: No OFD packet to send [09:59:39]OFD Sender: No OFD packet to send [09:59:44]OFD Sender: No OFD packet to send [09:59:49]OFD Sender: No OFD packet to send [09:59:54]OFD Sender: No OFD packet to send [09:59:59]OFD Sender: No OFD packet to send [10:00:04]OFD Sender: No OFD packet to send [10:00:09]OFD Sender: No OFD packet to send [10:00:14]OFD Sender: No OFD packet to send [10:00:19]OFD Sender: No OFD packet to send [10:00:24]OFD Sender: No OFD packet to send [10:00:29]OFD Sender: No OFD packet to send [10:00:34]OFD Sender: No OFD packet to send [10:00:39]OFD Sender: No OFD packet to send [10:00:44]OFD Sender: No OFD packet to send [10:00:49]OFD Sender: No OFD packet to send [10:00:54]OFD Sender: No OFD packet to send [10:00:59]OFD Sender: No OFD packet to send [10:01:04]OFD Sender: No OFD packet to send [10:01:09]OFD Sender: No OFD packet to send [10:01:14]OFD Sender: No OFD packet to send [10:01:19]OFD Sender: No OFD packet to send [10:01:24]OFD Sender: No OFD packet to send [10:01:29]OFD Sender: No OFD packet to send [10:01:34]OFD Sender: No OFD packet to send [10:01:39]OFD Sender: No OFD packet to send [10:01:44]OFD Sender: No OFD packet to send [10:01:49]OFD Sender: No OFD packet to send [10:01:54]OFD Sender: No OFD packet to send [10:01:59]OFD Sender: No OFD packet to send [10:02:04]OFD Sender: No OFD packet to send [10:02:09]OFD Sender: No OFD packet to send [10:02:14]OFD Sender: No OFD packet to send [10:02:19]OFD Sender: No OFD packet to send [10:02:24]OFD Sender: No OFD packet to send [10:02:29]OFD Sender: No OFD packet to send [10:02:34]OFD Sender: No OFD packet to send [10:02:39]OFD Sender: No OFD packet to send [10:02:44]OFD Sender: No OFD packet to send [10:02:49]OFD Sender: No OFD packet to send [10:02:54]OFD Sender: No OFD packet to send [10:02:59]OFD Sender: No OFD packet to send [10:03:04]OFD Sender: No OFD packet to send [10:03:09]OFD Sender: No OFD packet to send [10:03:14]OFD Sender: No OFD packet to send [10:03:19]OFD Sender: No OFD packet to send [10:03:24]OFD Sender: No OFD packet to send [10:03:26]accept exits with 8 [10:03:26]New connection [10:03:26]New thread 3066924388 created [10:03:26]Thread 3067067748 joined [10:03:26]Waiting for new connection... [10:03:26] Sock 8.Parse request [10:03:26]Sock 8.Check first char [10:03:26]Sock 8.First char is OK [10:03:26]request: POST /json_proto HTTP/1.0 [10:03:26]Method: POST [10:03:26]URL: /json_proto [10:03:26]Method is POST - this is cgi request [10:03:26]url: /json_proto [10:03:26]query_string will be loaded in cgi processing [10:03:26]execute_cgi json_proto POST (null) [10:03:26]execute_cgi path=json_proto method=POST [10:03:26]POST find Content-Length [10:03:26]Host: 172.17.39.4:8080 [10:03:26]Content-Length: 730 [10:03:26]Content-Type: application/json [10:03:26] [10:03:26]POST finish read [10:03:26]Found Content-Length = 730 [10:03:26]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129610", "tax_sys" : 0, "items" : [ { "code": "48741224", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Super Slims Blue", "price" : 135.00, "quantity" : 1.000, "sum" : 135.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 135.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [10:03:26]execute_script... [10:03: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)129610", "tax_sys" : 0, "items" : [ { "code": "48741224", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Super Slims Blue", "price" : 135.00, "quantity" : 1.000, "sum" : 135.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 135.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [10:03:26]POST & json_proto [10:03:26]process_json_proto [10:03:26]json parsed OK: [10:03:26]protocol is kg_v1.0 [10:03:26]action value=close_receipt [10:03:26]process_action close_receipt [10:03:26]cmd_close_receipt [10:03:26]MH_GetDate [10:03:26]Write to MH i2c: F0 00 00 1C 12 1D [10:03:26]Write i2c OK [10:03:26]MH_I2C_Read... [10:03:26]Read from MH i2c: F0 [10:03:26]MH_I2C_Read... [10:03:26]Read from MH i2c: F0 09 00 [10:03:26]MH_I2C_Read... [10:03:26]Read from MH i2c: F0 09 00 1C 12 00 F1 F3 94 66 2D 25 5D 64 17 [10:03:26]GetLastDocTimeStamp 1721037254 [10:03:26]current date 1721037809 [10:03:26]FM_GetShiftState [10:03:26]SAM_PROTO_GetShiftState [10:03:26]wFMCommunicate request_size=4 [10:03:26]MH_SAM_APDU [10:03:26]CAPDU: 80 13 01 00 [10:03:26]Write to MH i2c: E2 08 00 1D 12 80 13 01 00 00 00 00 00 AC [10:03:26]Write i2c OK [10:03:26]MH_I2C_Read... [10:03:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:03:26]Read from MH i2c: E2 [10:03:26]MH_I2C_Read... [10:03:26]Read from MH i2c: E2 0E 00 [10:03:26]MH_I2C_Read... [10:03:26]Read from MH i2c: E2 0E 00 1D 12 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 25 [10:03:26]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [10:03:26]wFMCommunicate OK [10:03:26]SAM_PROTO_GetShiftState done [10:03:26]FM_GetShiftState done [10:03:26]opened in 1721003525 [10:03:26]opened+sec_in_day 1721089925 [10:03:26]quantity*price = 13500 [10:03:26]sum+1 = 13501 [10:03:26]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 135.00 НСП 1% : 1.19 НДС 12% : 14.34 Наличными: 135.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 53 15.07.2024 10:03 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57158 ФПД: 279926301554957 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T100329&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57158&fm=279926301554957&tin=02508201610067®Number=0000000000091208&sum=13500 0 [10:03:27]StoreToDocumentArchive [10:03:27]shift 497 fd 57158 [10:03:27]save to /storage/0497/doc_00057158 [10:03:27]save last doc name /storage/0497/doc_00057158 to /storage/kkm_last_doc_name [10:03:27]save OK [10:03:27]Clear old archive folders... [10:03:27]ProcessDocumentItem done err = 0, tmpTLVsize=278 [10:03:27]tlvbuf is 00984ED0 [10:03:27]SAM_PROTO_ClearQueue [10:03:27]wFMCommunicate request_size=4 [10:03:27]MH_SAM_APDU [10:03:27]CAPDU: 80 09 00 00 [10:03:27]Write to MH i2c: E2 08 00 2A 12 80 09 00 00 00 00 00 00 AE [10:03:27]Write i2c OK [10:03:27]MH_I2C_Read... [10:03:27]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:03:27]Read from MH i2c: E2 [10:03:27]MH_I2C_Read... [10:03:27]Read from MH i2c: E2 03 00 [10:03:27]MH_I2C_Read... [10:03:27]Read from MH i2c: E2 03 00 2A 12 00 90 00 B0 [10:03:27]RAPDU: 90 00 [10:03:27]wFMCommunicate OK [10:03:27]SAM_PROTO_ClearQueue done [10:03:27]KKMCreateOFDPacket [10:03:27]OFDProtocolAddRootSTLVToBuf [10:03:27]FM_MakeSignedData [10:03:27]FM_MakeSignedData [10:03:27]SAM_PROTO_SignData [10:03:27]wFMCommunicate request_size=4 [10:03:27]MH_SAM_APDU [10:03:27]CAPDU: 80 0D 01 02 [10:03:27]Write to MH i2c: E2 08 00 2B 12 80 0D 01 02 00 00 00 00 B6 [10:03:27]Write i2c OK [10:03:27]MH_I2C_Read... [10:03:27]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:03:27]Read from MH i2c: E2 [10:03:27]MH_I2C_Read... [10:03:27]Read from MH i2c: E2 03 00 [10:03:27]MH_I2C_Read... [10:03:27]Read from MH i2c: E2 03 00 2B 12 00 90 00 B1 [10:03:27]RAPDU: 90 00 [10:03:27]wFMCommunicate OK [10:03:27]wFMCommunicate request_size=255 [10:03:27]MH_SAM_APDU [10:03:27]CAPDU: 80 0D 02 02 FA 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 34 38 37 34 31 32 32 34 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 35 00 00 00 F4 03 04 00 F1 F3 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 [10:03:27]Write to MH i2c: E2 02 01 2C 12 80 0D 02 02 FA 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 34 38 37 34 31 32 32 34 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 35 00 00 00 F4 03 04 00 F1 F3 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 00 00 80 [10:03:27]Write i2c OK [10:03:27]MH_I2C_Read... [10:03:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:03:28]Read from MH i2c: E2 [10:03:28]MH_I2C_Read... [10:03:28]Read from MH i2c: E2 03 00 [10:03:28]MH_I2C_Read... [10:03:28]Read from MH i2c: E2 03 00 2C 12 00 90 00 B2 [10:03:28]RAPDU: 90 00 [10:03:28]wFMCommunicate OK [10:03:28]wFMCommunicate request_size=37 [10:03:28]MH_SAM_APDU [10:03:28]CAPDU: 80 0D 02 02 20 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 46 DF 00 00 35 04 06 00 FE 97 6B C4 79 0D [10:03:28]Write to MH i2c: E2 28 00 2D 12 80 0D 02 02 20 00 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 46 DF 00 00 35 04 06 00 FE 97 6B C4 79 0D 00 00 86 [10:03:28]Write i2c OK [10:03:28]MH_I2C_Read... [10:03:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:03:28]Read from MH i2c: E2 [10:03:28]MH_I2C_Read... [10:03:28]Read from MH i2c: E2 03 00 [10:03:28]MH_I2C_Read... [10:03:28]Read from MH i2c: E2 03 00 2D 12 00 90 00 B3 [10:03:28]RAPDU: 90 00 [10:03:28]wFMCommunicate OK [10:03:28]wFMCommunicate request_size=4 [10:03:28]MH_SAM_APDU [10:03:28]CAPDU: 80 0D 03 02 [10:03:28]Write to MH i2c: E2 08 00 2E 12 80 0D 03 02 00 00 00 00 BB [10:03:28]Write i2c OK [10:03:28]MH_I2C_Read... [10:03:28]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:03:28]Read from MH i2c: E2 [10:03:28]MH_I2C_Read... [10:03:28]Read from MH i2c: E2 0B 00 [10:03:28]MH_I2C_Read... [10:03:28]Read from MH i2c: E2 0B 00 2E 12 00 BA E3 87 FF 36 75 F0 1F 90 00 99 [10:03:28]RAPDU: BA E3 87 FF 36 75 F0 1F 90 00 [10:03:28]wFMCommunicate OK [10:03:28]SAM_PROTO_SignData done [10:03:28]FM_MakeSignedData done [10:03:28]CreateOFDProtocolMessage [10:03:28]wFMCommunicate request_size=4 [10:03:28]MH_SAM_APDU [10:03:28]CAPDU: 80 11 00 00 [10:03:28]Write to MH i2c: E2 08 00 2F 12 80 11 00 00 00 00 00 00 BB [10:03:28]Write i2c OK [10:03:28]MH_I2C_Read... [10:03:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:03:28]Read from MH i2c: E2 [10:03:28]MH_I2C_Read... [10:03:28]Read from MH i2c: E2 17 00 [10:03:28]MH_I2C_Read... [10:03:28]Read from MH i2c: E2 17 00 2F 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 15 [10:03:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [10:03:28]wFMCommunicate OK [10:03:28]CreateOFDProtocolMessage done [10:03:28]OFDSenderStorePacket 57158 [10:03:28]StoreOFDPacket docnum=57158 [10:03: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 2A 01 00 00 41 D8 22 01 F5 4C 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 34 38 37 34 31 32 32 34 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 35 00 00 00 F4 03 04 00 F1 F3 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 46 DF 00 00 35 04 06 00 FE 97 6B C4 79 0D BA E3 87 FF 36 75 F0 1F [10:03:28]CheckFolder [10:03:28]dirname=/storage/ofd_packets [10:03:28]CheckFolder done [10:03:28]ProducePacketName [10:03:28]name=ofd_packets/00057158 [10:03:28]NVStorageSaveData ofd_packets/00057158 [10:03:28]File name is /storage/ofd_packets/00057158 [10:03:28]Write 328 bytes [10:03:28]NVStorageSaveData done [10:03:28]OFDSenderStorePacket done [10:03:28]KKMCreateOFDPacket done [10:03:28]NVStorageSaveData kkm_last_timestamp [10:03:28]File name is /storage/kkm_last_timestamp [10:03:28]Write 4 bytes [10:03:28]NVStorageSaveData done [10:03:28]ExternCall_PrintAddStr [10:03:28]wPrintStart [10:03:28]Write to MH i2c: 01 00 00 30 12 42 [10:03:28]Write i2c OK [10:03:28]MH_I2C_Read... [10:03:28]Read from MH i2c: 01 [10:03:28]MH_I2C_Read... [10:03:28]Read from MH i2c: 01 07 00 [10:03:28]MH_I2C_Read... [10:03:28]Read from MH i2c: 01 07 00 30 12 00 00 00 00 00 FF 0F 57 [10:03:28]RasterBufferAndPrint [10:03:28]line Счет N : (3)129610 [10:03:28]line ИНН: 02508201610067 [10:03:28]line Контрольно-Кассовый Чек [10:03:28]line ПРОДАЖА [10:03:28]line Товар: 48741224 [10:03:28]line Сигареты Winston Super Slims Blue [10:03:28]line 1.000 * 135.00 [10:03:28]line = 135.00 [10:03:28]line НДС 12% НСП 1% [10:03:28]line > о реализуемом товаре [10:03:28]line ИТОГО: 135.00 [10:03:28]line НСП 1% : 1.19 [10:03:28]line НДС 12% : 14.34 [10:03:28]line Наличными: 135.00 [10:03:28]line Безнал.: 0.00 [10:03:28]line Место: АЗС № 132 "Партнер Нефть" [10:03:28]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [10:03:28]line СНО: Общий режим [10:03:28]line Чек 53 15.07.2024 10:03 [10:03:28]line Смена: 497 ФФД: 1.0 [10:03:28]line ЗНМ: 0300000132 [10:03:28]line РНМ: 0000000000091208 [10:03:28]line Версия ККМ: 001 [10:03:28]line ФМ: 0000000000874857 [10:03:28]line ФД: 57158 [10:03:28]line ФПД: 279926301554957 [10:03:28]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T100329&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57158&fm=279926301554957&tin=02508201610067®Number=0000000000091208&sum=13500 [10:03:28]OFD Sender: Processing packet 57158 [packets to send 38, broken 37] [10:03:28]ProducePacketName [10:03:28]name=ofd_packets/00057158 [10:03:28]OFD Sender: To server: pG, [10:03:28]CommunicateWithHost lk.salyk.kg:30040 [10:03:28]ConnectInit lk.salyk.kg [10:03:28]line 0 [10:03:28]written 0, free lines is 4095 [10:03:28]Connected sock=9 [10:03: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 2A 01 00 00 41 D8 22 01 F5 4C 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 34 38 37 34 31 32 32 34 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 35 00 00 00 F4 03 04 00 F1 F3 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 46 DF 00 00 35 04 06 00 FE 97 6B C4 79 0D BA E3 87 FF 36 75 F0 1F [10:03: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 33 26 47 00 D0 31 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 46 DF 00 00 F4 03 04 00 40 9A 94 66 B6 04 01 00 00 D3 10 D2 14 1F 53 DF 94 [10:03:29]CommunicateWithHost err = 0 [10:03:29]CheckOFDResponse [10:03:29]1017 (14) - 77093643461234 [10:03:29]1041 (16) - 0000000000874857 [10:03:29]1040 (4) - 57158 [10:03:29]1012 (4) - 15.07.2024 03:40 [10:03:29]1206 (1) - 0 [10:03:29]OFD Sender: Remove packet 57158 [10:03:29]ProducePacketName [10:03:29]name=ofd_packets/00057158 [10:03:29]NVStorageDeleteData [10:03:29]Write to MH i2c: 01 00 00 59 12 6B [10:03:29]Write i2c OK [10:03:29]MH_I2C_Read... [10:03:29]Read from MH i2c: 01 [10:03:29]MH_I2C_Read... [10:03:29]Read from MH i2c: 01 07 00 [10:03:29]MH_I2C_Read... [10:03:29]Read from MH i2c: 01 07 00 59 12 00 00 00 00 00 ED 0C 6B [10:03:29]RasterBufferAndPrint [10:03:29]line [10:03:29]line [10:03:29]line [10:03:29]line [10:03:29]line [10:03:29]written 0, free lines is 3318 [10:03:29]MH_Cut [10:03:29]Write to MH i2c: D1 01 00 60 12 01 44 [10:03:29]Write i2c OK [10:03:29]MH_I2C_Read... [10:03:29]Read from MH i2c: D1 [10:03:29]MH_I2C_Read... [10:03:29]Read from MH i2c: D1 01 00 [10:03:29]MH_I2C_Read... [10:03:29]Read from MH i2c: D1 01 00 60 12 00 43 [10:03:29]Write to MH i2c: 01 00 00 61 12 73 [10:03:29]Write i2c OK [10:03:29]MH_I2C_Read... [10:03:29]OFD Sender: No OFD packet to send [10:03:29]*** Cut start [10:03:29]*** Partial cut [10:03:29]*** CUTSNS_PIN = 1 [10:03:29]*** CUTSNS_PIN = 0 [10:03:30]*** Brake cut motor [10:03:30]Read from MH i2c: 01 [10:03:30]MH_I2C_Read... [10:03:30]*** Stop cut motor [10:03:30]*** Cut end [10:03:30]Read from MH i2c: 01 07 00 [10:03:30]MH_I2C_Read... [10:03:30]Read from MH i2c: 01 07 00 61 12 00 00 00 00 00 FF 0F 88 [10:03:30]process_action close_receipt done [10:03:30]requested_data is exist [10:03:30]produce_requested_data [10:03:30]requested_item fm.sn is exist - process it [10:03:30]wFMCommunicate request_size=4 [10:03:30]MH_SAM_APDU [10:03:30]CAPDU: 80 11 00 00 [10:03:30]Write to MH i2c: E2 08 00 62 12 80 11 00 00 00 00 00 00 EE [10:03:30]Write i2c OK [10:03:30]MH_I2C_Read... [10:03:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:03:30]Read from MH i2c: E2 [10:03:30]MH_I2C_Read... [10:03:30]Read from MH i2c: E2 17 00 [10:03:30]MH_I2C_Read... [10:03:30]Read from MH i2c: E2 17 00 62 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 48 [10:03:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [10:03:30]wFMCommunicate OK [10:03:30]requested_item fd.num is exist - process it [10:03:30]SAM_PROTO_GetFieldsCounters [10:03:30]wFMCommunicate request_size=4 [10:03:30]MH_SAM_APDU [10:03:30]CAPDU: 80 13 00 00 [10:03:30]Write to MH i2c: E2 08 00 63 12 80 13 00 00 00 00 00 00 F1 [10:03:30]Write i2c OK [10:03:30]MH_I2C_Read... [10:03:30]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:03:30]Read from MH i2c: E2 [10:03:30]MH_I2C_Read... [10:03:30]Read from MH i2c: E2 62 00 [10:03:30]MH_I2C_Read... [10:03:30]Read from MH i2c: E2 62 00 63 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 46 DF 00 00 0E 04 04 00 F1 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 CA [10:03: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 46 DF 00 00 0E 04 04 00 F1 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:03:30]wFMCommunicate OK [10:03:30]SAM_PROTO_GetFieldsCounters done [10:03:30]requested_item shift.num is exist - process it [10:03:30]requested_item shift.opened is exist - process it [10:03:30]req_shift_opened [10:03:30]FM_GetShiftState [10:03:30]SAM_PROTO_GetShiftState [10:03:30]wFMCommunicate request_size=4 [10:03:30]MH_SAM_APDU [10:03:30]CAPDU: 80 13 01 00 [10:03:30]Write to MH i2c: E2 08 00 64 12 80 13 01 00 00 00 00 00 F3 [10:03:30]Write i2c OK [10:03:30]MH_I2C_Read... [10:03:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:03:30]Read from MH i2c: E2 [10:03:30]MH_I2C_Read... [10:03:30]Read from MH i2c: E2 0E 00 [10:03:30]MH_I2C_Read... [10:03:30]Read from MH i2c: E2 0E 00 64 12 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 6C [10:03:30]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [10:03:30]wFMCommunicate OK [10:03:30]SAM_PROTO_GetShiftState done [10:03:30]FM_GetShiftState done [10:03:30]req_shift_opened done [10:03:30]requested_item shift.open_date is exist - process it [10:03:30]req_shift_open_date [10:03:30]req_shift_open_date done [10:03:30]requested_item shift.sale.total is exist - process it [10:03:30]SAM_PROTO_GetShiftData [10:03:30]wFMCommunicate request_size=4 [10:03:30]MH_SAM_APDU [10:03:30]CAPDU: 80 13 02 00 [10:03:30]Write to MH i2c: E2 08 00 65 12 80 13 02 00 00 00 00 00 F5 [10:03:30]Write i2c OK [10:03:30]MH_I2C_Read... [10:03:31]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [10:03:31]Read from MH i2c: E2 [10:03:31]MH_I2C_Read... [10:03:31]Read from MH i2c: E2 FD 00 [10:03:31]MH_I2C_Read... [10:03:31]Read from MH i2c: E2 FD 00 65 12 00 B6 04 AA 04 B2 04 6E 04 04 00 35 00 00 00 69 04 9B 00 6F 04 04 00 34 00 00 00 B1 04 03 00 55 3D 14 70 04 03 00 40 29 0F 72 04 03 00 15 14 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 3C 26 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 D8 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 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 75 [10:03:31]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 35 00 00 00 69 04 9B 00 6F 04 04 00 34 00 00 00 B1 04 03 00 55 3D 14 70 04 03 00 40 29 0F 72 04 03 00 15 14 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 3C 26 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 D8 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 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 [10:03:31]wFMCommunicate OK [10:03:31]wFMCommunicate request_size=4 [10:03:31]MH_SAM_APDU [10:03:31]CAPDU: 80 17 00 00 [10:03:31]Write to MH i2c: E2 08 00 66 12 80 17 00 00 00 00 00 00 F8 [10:03:31]Write i2c OK [10:03:31]MH_I2C_Read... [10:03:31]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:03:31]Read from MH i2c: E2 [10:03:31]MH_I2C_Read... [10:03:31]Read from MH i2c: E2 FD 00 [10:03:31]MH_I2C_Read... [10:03:31]Read from MH i2c: E2 FD 00 66 12 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 2D [10:03:31]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 [10:03:31]wFMCommunicate OK [10:03:31]wFMCommunicate request_size=4 [10:03:31]MH_SAM_APDU [10:03:31]CAPDU: 80 17 00 00 [10:03:31]Write to MH i2c: E2 08 00 67 12 80 17 00 00 00 00 00 00 F9 [10:03:31]Write i2c OK [10:03:31]MH_I2C_Read... [10:03:31]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:03:31]Read from MH i2c: E2 [10:03:31]MH_I2C_Read... [10:03:31]Read from MH i2c: E2 FD 00 [10:03:31]MH_I2C_Read... [10:03:31]Read from MH i2c: E2 FD 00 67 12 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 B9 [10:03:31]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 [10:03:31]wFMCommunicate OK [10:03:31]wFMCommunicate request_size=4 [10:03:31]MH_SAM_APDU [10:03:31]CAPDU: 80 17 00 00 [10:03:31]Write to MH i2c: E2 08 00 68 12 80 17 00 00 00 00 00 00 FA [10:03:31]Write i2c OK [10:03:31]MH_I2C_Read... [10:03:32]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:03:32]Read from MH i2c: E2 [10:03:32]MH_I2C_Read... [10:03:32]Read from MH i2c: E2 FD 00 [10:03:32]MH_I2C_Read... [10:03:32]Read from MH i2c: E2 FD 00 68 12 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 69 [10:03:32]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 [10:03:32]wFMCommunicate OK [10:03:32]wFMCommunicate request_size=4 [10:03:32]MH_SAM_APDU [10:03:32]CAPDU: 80 17 00 00 [10:03:32]Write to MH i2c: E2 08 00 69 12 80 17 00 00 00 00 00 00 FB [10:03:32]Write i2c OK [10:03:32]MH_I2C_Read... [10:03:32]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [10:03:32]Read from MH i2c: E2 [10:03:32]MH_I2C_Read... [10:03:32]Read from MH i2c: E2 D3 00 [10:03:32]MH_I2C_Read... [10:03:32]Read from MH i2c: E2 D3 00 69 12 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 E8 [10:03:32]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 [10:03:32]wFMCommunicate OK [10:03:32]SAM_PROTO_GetShiftData done [10:03:32]requested_item shift.sale.total_cash is exist - process it [10:03:32]requested_item shift.sale_refund.total is exist - process it [10:03:32]requested_item shift.sale_refund.total_cash is exist - process it [10:03:32]produce_requested_data done [10:03:32]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57158,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":13264.21,"shift.sale.total_cash":9936.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [10:03:32]process_action_free close_receipt [10:03:32]json_value_free [10:03:32]json_value_free done [10:03:32]process_json_proto returns [10:03:32]Send response to host [10:03:32]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57158,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":13264.21,"shift.sale.total_cash":9936.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [10:03:32]free response buf [10:03:32]execute_script done [10:03:32]execute_script returns [10:03:32]free content buf [10:03:32]Sock 8.Close socket [10:03:32]Sock 8.Thread stoped [10:03:34]OFD Sender: No OFD packet to send [10:03:39]OFD Sender: No OFD packet to send [10:03:44]OFD Sender: No OFD packet to send [10:03:49]OFD Sender: No OFD packet to send [10:03:54]OFD Sender: No OFD packet to send [10:03:59]OFD Sender: No OFD packet to send [10:04:04]OFD Sender: No OFD packet to send [10:04:09]OFD Sender: No OFD packet to send [10:04:14]OFD Sender: No OFD packet to send [10:04:19]OFD Sender: No OFD packet to send [10:04:24]OFD Sender: No OFD packet to send [10:04:29]OFD Sender: No OFD packet to send [10:04:34]OFD Sender: No OFD packet to send [10:04:39]OFD Sender: No OFD packet to send [10:04:44]OFD Sender: No OFD packet to send [10:04:49]OFD Sender: No OFD packet to send [10:04:54]OFD Sender: No OFD packet to send [10:04:59]OFD Sender: No OFD packet to send [10:05:04]OFD Sender: No OFD packet to send [10:05:09]OFD Sender: No OFD packet to send [10:05:14]OFD Sender: No OFD packet to send [10:05:17]accept exits with 10 [10:05:17]New connection [10:05:17]New thread 3067067748 created [10:05:17]Thread 3066924388 joined [10:05:17]Waiting for new connection... [10:05:17] Sock 10.Parse request [10:05:17]Sock 10.Check first char [10:05:17]Sock 10.First char is OK [10:05:17]request: POST /json_proto HTTP/1.0 [10:05:17]Method: POST [10:05:17]URL: /json_proto [10:05:17]Method is POST - this is cgi request [10:05:17]url: /json_proto [10:05:17]query_string will be loaded in cgi processing [10:05:17]execute_cgi json_proto POST (null) [10:05:17]execute_cgi path=json_proto method=POST [10:05:17]POST find Content-Length [10:05:17]Host: 172.17.39.4:8080 [10:05:17]Content-Length: 1767 [10:05:17]Content-Type: application/json [10:05:17] [10:05:17]POST finish read [10:05:17]Found Content-Length = 1767 [10:05:17]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129611", "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": "5449000189318", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043B\u0438\u043C\u043E\u043D 1\u043B", "price" : 107.00, "quantity" : 1.000, "sum" : 107.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160051", "name": "\u0412\u043E\u0434\u0430 \u042B\u0441\u0441\u044B\u043A \u0410\u0442\u0430 1\u043B", "price" : 50.00, "quantity" : 2.000, "sum" : 100.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": "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" : 1042.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:05:17]execute_script... [10:05:17]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129611", "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": "5449000189318", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043B\u0438\u043C\u043E\u043D 1\u043B", "price" : 107.00, "quantity" : 1.000, "sum" : 107.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160051", "name": "\u0412\u043E\u0434\u0430 \u042B\u0441\u0441\u044B\u043A \u0410\u0442\u0430 1\u043B", "price" : 50.00, "quantity" : 2.000, "sum" : 100.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": "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" : 1042.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:05:17]POST & json_proto [10:05:17]process_json_proto [10:05:17]json parsed OK: [10:05:17]protocol is kg_v1.0 [10:05:17]action value=close_receipt [10:05:17]process_action close_receipt [10:05:17]cmd_close_receipt [10:05:17]MH_GetDate [10:05:17]Write to MH i2c: F0 00 00 6A 12 6B [10:05:17]Write i2c OK [10:05:17]MH_I2C_Read... [10:05:17]Read from MH i2c: F0 [10:05:17]MH_I2C_Read... [10:05:17]Read from MH i2c: F0 09 00 [10:05:17]MH_I2C_Read... [10:05:17]Read from MH i2c: F0 09 00 6A 12 00 60 F4 94 66 2D 25 5D 64 D5 [10:05:17]GetLastDocTimeStamp 1721037809 [10:05:17]current date 1721037920 [10:05:17]FM_GetShiftState [10:05:17]SAM_PROTO_GetShiftState [10:05:17]wFMCommunicate request_size=4 [10:05:17]MH_SAM_APDU [10:05:17]CAPDU: 80 13 01 00 [10:05:17]Write to MH i2c: E2 08 00 6B 12 80 13 01 00 00 00 00 00 FA [10:05:17]Write i2c OK [10:05:17]MH_I2C_Read... [10:05:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:05:17]Read from MH i2c: E2 [10:05:17]MH_I2C_Read... [10:05:17]Read from MH i2c: E2 0E 00 [10:05:17]MH_I2C_Read... [10:05:17]Read from MH i2c: E2 0E 00 6B 12 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 73 [10:05:17]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [10:05:17]wFMCommunicate OK [10:05:17]SAM_PROTO_GetShiftState done [10:05:17]FM_GetShiftState done [10:05:17]opened in 1721003525 [10:05:17]opened+sec_in_day 1721089925 [10:05:17]quantity*price = 45000 [10:05:17]sum+1 = 45001 [10:05:17]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 5449000189318 Холодный чай Fuse лимон 1л 1.000 * 107.00 = 107.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4700000160051 Вода Ыссык Ата 1л 2.000 * 50.00 = 100.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4870002329487 Напиток Pepsi 1,5л 1.000 * 175.00 = 175.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4870001570095 Напиток Pepsi 2л 1.000 * 210.00 = 210.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 1042.00 НСП 1% : 9.22 НДС 12% : 110.65 Наличными: 1042.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 54 15.07.2024 10:05 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57159 ФПД: 98206322772977 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T100520&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57159&fm=98206322772977&tin=02508201610067®Number=0000000000091208&sum=104200 0 [10:05:19]StoreToDocumentArchive [10:05:19]shift 497 fd 57159 [10:05:19]save to /storage/0497/doc_00057159 [10:05:19]save last doc name /storage/0497/doc_00057159 to /storage/kkm_last_doc_name [10:05:19]save OK [10:05:19]Clear old archive folders... [10:05:19]ProcessDocumentItem done err = 0, tmpTLVsize=691 [10:05:19]tlvbuf is 0095B4E0 [10:05:19]SAM_PROTO_ClearQueue [10:05:19]wFMCommunicate request_size=4 [10:05:19]MH_SAM_APDU [10:05:19]CAPDU: 80 09 00 00 [10:05:19]Write to MH i2c: E2 08 00 78 12 80 09 00 00 00 00 00 00 FC [10:05:19]Write i2c OK [10:05:19]MH_I2C_Read... [10:05:19]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:05:19]Read from MH i2c: E2 [10:05:19]MH_I2C_Read... [10:05:19]Read from MH i2c: E2 03 00 [10:05:19]MH_I2C_Read... [10:05:19]Read from MH i2c: E2 03 00 78 12 00 90 00 FE [10:05:19]RAPDU: 90 00 [10:05:19]wFMCommunicate OK [10:05:19]SAM_PROTO_ClearQueue done [10:05:19]KKMCreateOFDPacket [10:05:19]OFDProtocolAddRootSTLVToBuf [10:05:19]FM_MakeSignedData [10:05:19]FM_MakeSignedData [10:05:19]SAM_PROTO_SignData [10:05:19]wFMCommunicate request_size=4 [10:05:19]MH_SAM_APDU [10:05:19]CAPDU: 80 0D 01 02 [10:05:19]Write to MH i2c: E2 08 00 79 12 80 0D 01 02 00 00 00 00 04 [10:05:19]Write i2c OK [10:05:19]MH_I2C_Read... [10:05:19]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:05:19]Read from MH i2c: E2 [10:05:19]MH_I2C_Read... [10:05:19]Read from MH i2c: E2 03 00 [10:05:19]MH_I2C_Read... [10:05:19]Read from MH i2c: E2 03 00 79 12 00 90 00 FF [10:05:19]RAPDU: 90 00 [10:05:19]wFMCommunicate OK [10:05:19]wFMCommunicate request_size=255 [10:05:19]MH_SAM_APDU [10:05:19]CAPDU: 80 0D 02 02 FA 03 00 B3 02 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 6F 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 31 38 06 04 2B 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 BB D0 B8 D0 BC D0 BE D0 BD 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 62 00 8A 04 0D 00 34 37 30 30 30 30 30 31 [10:05:19]Write to MH i2c: E2 02 01 7A 12 80 0D 02 02 FA 00 03 00 B3 02 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 6F 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 31 38 06 04 2B 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 BB D0 B8 D0 BC D0 BE D0 BD 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 62 00 8A 04 0D 00 34 37 30 30 30 30 30 31 00 00 07 [10:05:19]Write i2c OK [10:05:19]MH_I2C_Read... [10:05:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:05:19]Read from MH i2c: E2 [10:05:19]MH_I2C_Read... [10:05:19]Read from MH i2c: E2 03 00 [10:05:19]MH_I2C_Read... [10:05:19]Read from MH i2c: E2 03 00 7A 12 00 90 00 00 [10:05:19]RAPDU: 90 00 [10:05:19]wFMCommunicate OK [10:05:19]wFMCommunicate request_size=255 [10:05:19]MH_SAM_APDU [10:05:19]CAPDU: 80 0D 02 02 FA 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 D0 07 00 00 00 00 00 37 04 06 00 88 13 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 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 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 [10:05:19]Write to MH i2c: E2 02 01 7B 12 80 0D 02 02 FA 00 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 D0 07 00 00 00 00 00 37 04 06 00 88 13 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 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 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 00 00 BD [10:05:19]Write i2c OK [10:05:19]MH_I2C_Read... [10:05:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:05:19]Read from MH i2c: E2 [10:05:19]MH_I2C_Read... [10:05:19]Read from MH i2c: E2 03 00 [10:05:19]MH_I2C_Read... [10:05:19]Read from MH i2c: E2 03 00 7B 12 00 90 00 01 [10:05:19]RAPDU: 90 00 [10:05:19]wFMCommunicate OK [10:05:19]wFMCommunicate request_size=200 [10:05:19]MH_SAM_APDU [10:05:19]CAPDU: 80 0D 02 02 C3 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 97 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9A 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 2B 00 00 00 00 07 04 06 00 08 97 01 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 60 F4 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 47 DF 00 00 35 04 06 00 59 51 70 FB CB F1 [10:05:19]Write to MH i2c: E2 CB 00 7C 12 80 0D 02 02 C3 00 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 97 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9A 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 2B 00 00 00 00 07 04 06 00 08 97 01 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 60 F4 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 47 DF 00 00 35 04 06 00 59 51 70 FB CB F1 00 00 FD [10:05:19]OFD Sender: No OFD packet to send [10:05:19]Write i2c OK [10:05:19]MH_I2C_Read... [10:05:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:05:19]Read from MH i2c: E2 [10:05:19]MH_I2C_Read... [10:05:19]Read from MH i2c: E2 03 00 [10:05:19]MH_I2C_Read... [10:05:19]Read from MH i2c: E2 03 00 7C 12 00 90 00 02 [10:05:19]RAPDU: 90 00 [10:05:19]wFMCommunicate OK [10:05:19]wFMCommunicate request_size=4 [10:05:19]MH_SAM_APDU [10:05:19]CAPDU: 80 0D 03 02 [10:05:19]Write to MH i2c: E2 08 00 7D 12 80 0D 03 02 00 00 00 00 0A [10:05:19]Write i2c OK [10:05:19]MH_I2C_Read... [10:05:19]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:05:19]Read from MH i2c: E2 [10:05:19]MH_I2C_Read... [10:05:19]Read from MH i2c: E2 0B 00 [10:05:19]MH_I2C_Read... [10:05:19]Read from MH i2c: E2 0B 00 7D 12 00 29 05 51 27 B4 1A DF 5E 90 00 BC [10:05:19]RAPDU: 29 05 51 27 B4 1A DF 5E 90 00 [10:05:19]wFMCommunicate OK [10:05:19]SAM_PROTO_SignData done [10:05:19]FM_MakeSignedData done [10:05:19]CreateOFDProtocolMessage [10:05:19]wFMCommunicate request_size=4 [10:05:19]MH_SAM_APDU [10:05:19]CAPDU: 80 11 00 00 [10:05:19]Write to MH i2c: E2 08 00 7E 12 80 11 00 00 00 00 00 00 0A [10:05:19]Write i2c OK [10:05:19]MH_I2C_Read... [10:05:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:05:20]Read from MH i2c: E2 [10:05:20]MH_I2C_Read... [10:05:20]Read from MH i2c: E2 17 00 [10:05:20]MH_I2C_Read... [10:05:20]Read from MH i2c: E2 17 00 7E 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 64 [10:05:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [10:05:20]wFMCommunicate OK [10:05:20]CreateOFDProtocolMessage done [10:05:20]OFDSenderStorePacket 57159 [10:05:20]StoreOFDPacket docnum=57159 [10:05:20]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 C7 02 00 00 8A CE BF 02 0F 0D 5A 03 01 00 03 00 B3 02 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 6F 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 31 38 06 04 2B 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 BB D0 B8 D0 BC D0 BE D0 BD 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 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 D0 07 00 00 00 00 00 37 04 06 00 88 13 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 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 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 97 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9A 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 2B 00 00 00 00 07 04 06 00 08 97 01 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 60 F4 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 47 DF 00 00 35 04 06 00 59 51 70 FB CB F1 29 05 51 27 B4 1A DF 5E [10:05:20]CheckFolder [10:05:20]dirname=/storage/ofd_packets [10:05:20]CheckFolder done [10:05:20]ProducePacketName [10:05:20]name=ofd_packets/00057159 [10:05:20]NVStorageSaveData ofd_packets/00057159 [10:05:20]File name is /storage/ofd_packets/00057159 [10:05:20]Write 741 bytes [10:05:20]NVStorageSaveData done [10:05:20]OFDSenderStorePacket done [10:05:20]KKMCreateOFDPacket done [10:05:20]NVStorageSaveData kkm_last_timestamp [10:05:20]File name is /storage/kkm_last_timestamp [10:05:20]Write 4 bytes [10:05:20]NVStorageSaveData done [10:05:20]ExternCall_PrintAddStr [10:05:20]wPrintStart [10:05:20]Write to MH i2c: 01 00 00 7F 12 91 [10:05:20]Write i2c OK [10:05:20]MH_I2C_Read... [10:05:20]Read from MH i2c: 01 [10:05:20]MH_I2C_Read... [10:05:20]Read from MH i2c: 01 07 00 [10:05:20]MH_I2C_Read... [10:05:20]Read from MH i2c: 01 07 00 7F 12 00 00 00 00 00 FF 0F A6 [10:05:20]RasterBufferAndPrint [10:05:20]line Счет N : (3)129611 [10:05:20]line ИНН: 02508201610067 [10:05:20]line Контрольно-Кассовый Чек [10:05:20]line ПРОДАЖА [10:05:20]line Товар: 4700002083266 [10:05:20]line Водка Атилла Гунн 0,5л [10:05:20]line 1.000 * 450.00 [10:05:20]line = 450.00 [10:05:20]line НДС 12% НСП 1% [10:05:20]line > о реализуемом товаре [10:05:20]line Товар: 5449000189318 [10:05:20]line Холодный чай Fuse лимон 1л [10:05:20]line 1.000 * 107.00 [10:05:20]line = 107.00 [10:05:20]line НДС 12% НСП 1% [10:05:20]line > о реализуемом товаре [10:05:20]line Товар: 4700000160051 [10:05:20]line Вода Ыссык Ата 1л [10:05:20]line 2.000 * 50.00 [10:05:20]line = 100.00 [10:05:20]line НДС 12% НСП 1% [10:05:20]line > о реализуемом товаре [10:05:20]line Товар: 4870002329487 [10:05:20]line Напиток Pepsi 1,5л [10:05:20]line 1.000 * 175.00 [10:05:20]line = 175.00 [10:05:20]line НДС 12% НСП 1% [10:05:20]line > о реализуемом товаре [10:05:20]line Товар: 4870001570095 [10:05:20]line Напиток Pepsi 2л [10:05:20]line 1.000 * 210.00 [10:05:20]line = 210.00 [10:05:20]line НДС 12% НСП 1% [10:05:20]line > о реализуемом товаре [10:05:20]line ИТОГО: 1042.00 [10:05:20]line НСП 1% : 9.22 [10:05:20]line НДС 12% : 110.65 [10:05:20]line Наличными: 1042.00 [10:05:20]line Безнал.: 0.00 [10:05:20]line Место: АЗС № 132 "Партнер Нефть" [10:05:20]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [10:05:20]line СНО: Общий режим [10:05:20]line Чек 54 15.07.2024 10:05 [10:05:20]line Смена: 497 ФФД: 1.0 [10:05:20]line ЗНМ: 0300000132 [10:05:20]line РНМ: 0000000000091208 [10:05:20]line Версия ККМ: 001 [10:05:20]line ФМ: 0000000000874857 [10:05:20]line ФД: 57159 [10:05:20]line ФПД: 98206322772977 [10:05:20]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T100520&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57159&fm=98206322772977&tin=02508201610067®Number=0000000000091208&sum=104200 [10:05:20]line 0 [10:05:20]written 0, free lines is 4095 [10:05:20]OFD Sender: Processing packet 57159 [packets to send 38, broken 37] [10:05:20]ProducePacketName [10:05:20]name=ofd_packets/00057159 [10:05:20]OFD Sender: To server: pG, [10:05:20]CommunicateWithHost lk.salyk.kg:30040 [10:05:20]ConnectInit lk.salyk.kg [10:05:20]Connected sock=8 [10:05:20]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 C7 02 00 00 8A CE BF 02 0F 0D 5A 03 01 00 03 00 B3 02 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 6F 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 31 38 06 04 2B 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 BB D0 B8 D0 BC D0 BE D0 BD 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 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 D0 07 00 00 00 00 00 37 04 06 00 88 13 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 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 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 97 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9A 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 2B 00 00 00 00 07 04 06 00 08 97 01 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 60 F4 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 47 DF 00 00 35 04 06 00 59 51 70 FB CB F1 29 05 51 27 B4 1A DF 5E [10:05:20]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 54 95 47 00 FE E2 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 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 47 DF 00 00 F4 03 04 00 AF 9A 94 66 B6 04 01 00 00 8A B0 D3 A6 FD 08 8F 28 [10:05:20]CommunicateWithHost err = 0 [10:05:20]CheckOFDResponse [10:05:20]1017 (14) - 77093643461234 [10:05:20]1041 (16) - 0000000000874857 [10:05:20]1040 (4) - 57159 [10:05:20]1012 (4) - 15.07.2024 03:42 [10:05:20]1206 (1) - 0 [10:05:20]OFD Sender: Remove packet 57159 [10:05:20]ProducePacketName [10:05:20]name=ofd_packets/00057159 [10:05:20]NVStorageDeleteData [10:05:21]Write to MH i2c: 01 00 00 BF 12 D1 [10:05:21]Write i2c OK [10:05:21]MH_I2C_Read... [10:05:21]Read from MH i2c: 01 [10:05:21]MH_I2C_Read... [10:05:21]Read from MH i2c: 01 07 00 [10:05:21]MH_I2C_Read... [10:05:21]Read from MH i2c: 01 07 00 BF 12 00 00 00 00 00 D4 0B B7 [10:05:21]RasterBufferAndPrint [10:05:21]line [10:05:21]line [10:05:21]line [10:05:21]line [10:05:21]line [10:05:21]written 0, free lines is 3040 [10:05:21]MH_Cut [10:05:21]Write to MH i2c: D1 01 00 C6 12 01 AA [10:05:21]Write i2c OK [10:05:21]MH_I2C_Read... [10:05:21]Read from MH i2c: D1 [10:05:21]MH_I2C_Read... [10:05:21]Read from MH i2c: D1 01 00 [10:05:21]MH_I2C_Read... [10:05:21]Read from MH i2c: D1 01 00 C6 12 00 A9 [10:05:21]Write to MH i2c: 01 00 00 C7 12 D9 [10:05:21]Write i2c OK [10:05:21]MH_I2C_Read... [10:05:21]OFD Sender: No OFD packet to send [10:05:21]*** Cut start [10:05:21]*** Partial cut [10:05:21]*** CUTSNS_PIN = 1 [10:05:22]*** CUTSNS_PIN = 0 [10:05:22]*** Brake cut motor [10:05:22]Read from MH i2c: 01 [10:05:22]MH_I2C_Read... [10:05:22]*** Stop cut motor [10:05:22]*** Cut end [10:05:22]Read from MH i2c: 01 07 00 [10:05:22]MH_I2C_Read... [10:05:22]Read from MH i2c: 01 07 00 C7 12 00 00 00 00 00 FF 0F EE [10:05:22]process_action close_receipt done [10:05:22]requested_data is exist [10:05:22]produce_requested_data [10:05:22]requested_item fm.sn is exist - process it [10:05:22]wFMCommunicate request_size=4 [10:05:22]MH_SAM_APDU [10:05:22]CAPDU: 80 11 00 00 [10:05:22]Write to MH i2c: E2 08 00 C8 12 80 11 00 00 00 00 00 00 54 [10:05:22]Write i2c OK [10:05:22]MH_I2C_Read... [10:05:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:05:22]Read from MH i2c: E2 [10:05:22]MH_I2C_Read... [10:05:22]Read from MH i2c: E2 17 00 [10:05:22]MH_I2C_Read... [10:05:22]Read from MH i2c: E2 17 00 C8 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 AE [10:05:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [10:05:22]wFMCommunicate OK [10:05:22]requested_item fd.num is exist - process it [10:05:22]SAM_PROTO_GetFieldsCounters [10:05:22]wFMCommunicate request_size=4 [10:05:22]MH_SAM_APDU [10:05:22]CAPDU: 80 13 00 00 [10:05:22]Write to MH i2c: E2 08 00 C9 12 80 13 00 00 00 00 00 00 57 [10:05:22]Write i2c OK [10:05:22]MH_I2C_Read... [10:05:22]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:05:22]Read from MH i2c: E2 [10:05:22]MH_I2C_Read... [10:05:22]Read from MH i2c: E2 62 00 [10:05:22]MH_I2C_Read... [10:05:22]Read from MH i2c: E2 62 00 C9 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 47 DF 00 00 0E 04 04 00 F1 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 34 [10:05:22]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 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 47 DF 00 00 0E 04 04 00 F1 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:05:22]wFMCommunicate OK [10:05:22]SAM_PROTO_GetFieldsCounters done [10:05:22]requested_item shift.num is exist - process it [10:05:22]requested_item shift.opened is exist - process it [10:05:22]req_shift_opened [10:05:22]FM_GetShiftState [10:05:22]SAM_PROTO_GetShiftState [10:05:22]wFMCommunicate request_size=4 [10:05:22]MH_SAM_APDU [10:05:22]CAPDU: 80 13 01 00 [10:05:22]Write to MH i2c: E2 08 00 CA 12 80 13 01 00 00 00 00 00 59 [10:05:22]Write i2c OK [10:05:22]MH_I2C_Read... [10:05:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:05:22]Read from MH i2c: E2 [10:05:22]MH_I2C_Read... [10:05:22]Read from MH i2c: E2 0E 00 [10:05:22]MH_I2C_Read... [10:05:22]Read from MH i2c: E2 0E 00 CA 12 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 D2 [10:05:22]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [10:05:22]wFMCommunicate OK [10:05:22]SAM_PROTO_GetShiftState done [10:05:22]FM_GetShiftState done [10:05:22]req_shift_opened done [10:05:22]requested_item shift.open_date is exist - process it [10:05:22]req_shift_open_date [10:05:22]req_shift_open_date done [10:05:22]requested_item shift.sale.total is exist - process it [10:05:22]SAM_PROTO_GetShiftData [10:05:22]wFMCommunicate request_size=4 [10:05:22]MH_SAM_APDU [10:05:22]CAPDU: 80 13 02 00 [10:05:22]Write to MH i2c: E2 08 00 CB 12 80 13 02 00 00 00 00 00 5B [10:05:22]Write i2c OK [10:05:22]MH_I2C_Read... [10:05:23]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [10:05:23]Read from MH i2c: E2 [10:05:23]MH_I2C_Read... [10:05:23]Read from MH i2c: E2 FD 00 [10:05:23]MH_I2C_Read... [10:05:23]Read from MH i2c: E2 FD 00 CB 12 00 B6 04 AA 04 B2 04 6E 04 04 00 36 00 00 00 69 04 9B 00 6F 04 04 00 35 00 00 00 B1 04 03 00 5D D4 15 70 04 03 00 48 C0 10 72 04 03 00 15 14 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 75 51 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 72 31 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 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 1F [10:05:23]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 36 00 00 00 69 04 9B 00 6F 04 04 00 35 00 00 00 B1 04 03 00 5D D4 15 70 04 03 00 48 C0 10 72 04 03 00 15 14 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 75 51 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 72 31 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 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 [10:05:23]wFMCommunicate OK [10:05:23]wFMCommunicate request_size=4 [10:05:23]MH_SAM_APDU [10:05:23]CAPDU: 80 17 00 00 [10:05:23]Write to MH i2c: E2 08 00 CC 12 80 17 00 00 00 00 00 00 5E [10:05:23]Write i2c OK [10:05:23]MH_I2C_Read... [10:05:23]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:05:23]Read from MH i2c: E2 [10:05:23]MH_I2C_Read... [10:05:23]Read from MH i2c: E2 FD 00 [10:05:23]MH_I2C_Read... [10:05:23]Read from MH i2c: E2 FD 00 CC 12 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 93 [10:05:23]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 [10:05:23]wFMCommunicate OK [10:05:23]wFMCommunicate request_size=4 [10:05:23]MH_SAM_APDU [10:05:23]CAPDU: 80 17 00 00 [10:05:23]Write to MH i2c: E2 08 00 CD 12 80 17 00 00 00 00 00 00 5F [10:05:23]Write i2c OK [10:05:23]MH_I2C_Read... [10:05:23]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:05:24]Read from MH i2c: E2 [10:05:24]MH_I2C_Read... [10:05:24]Read from MH i2c: E2 FD 00 [10:05:24]MH_I2C_Read... [10:05:24]Read from MH i2c: E2 FD 00 CD 12 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 1F [10:05:24]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 [10:05:24]wFMCommunicate OK [10:05:24]wFMCommunicate request_size=4 [10:05:24]MH_SAM_APDU [10:05:24]CAPDU: 80 17 00 00 [10:05:24]Write to MH i2c: E2 08 00 CE 12 80 17 00 00 00 00 00 00 60 [10:05:24]Write i2c OK [10:05:24]MH_I2C_Read... [10:05:24]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:05:24]Read from MH i2c: E2 [10:05:24]MH_I2C_Read... [10:05:24]Read from MH i2c: E2 FD 00 [10:05:24]MH_I2C_Read... [10:05:24]Read from MH i2c: E2 FD 00 CE 12 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 CF [10:05:24]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 [10:05:24]wFMCommunicate OK [10:05:24]wFMCommunicate request_size=4 [10:05:24]MH_SAM_APDU [10:05:24]CAPDU: 80 17 00 00 [10:05:24]Write to MH i2c: E2 08 00 CF 12 80 17 00 00 00 00 00 00 61 [10:05:24]Write i2c OK [10:05:24]MH_I2C_Read... [10:05:24]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [10:05:24]Read from MH i2c: E2 [10:05:24]MH_I2C_Read... [10:05:24]Read from MH i2c: E2 D3 00 [10:05:24]MH_I2C_Read... [10:05:24]Read from MH i2c: E2 D3 00 CF 12 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 4E [10:05:24]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 [10:05:24]wFMCommunicate OK [10:05:24]SAM_PROTO_GetShiftData done [10:05:24]requested_item shift.sale.total_cash is exist - process it [10:05:24]requested_item shift.sale_refund.total is exist - process it [10:05:24]requested_item shift.sale_refund.total_cash is exist - process it [10:05:24]produce_requested_data done [10:05:24]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57159,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":14306.21,"shift.sale.total_cash":10978.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [10:05:24]process_action_free close_receipt [10:05:24]json_value_free [10:05:24]json_value_free done [10:05:24]process_json_proto returns [10:05:24]Send response to host [10:05:24]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57159,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":14306.21,"shift.sale.total_cash":10978.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [10:05:24]free response buf [10:05:24]execute_script done [10:05:24]execute_script returns [10:05:24]free content buf [10:05:24]Sock 10.Close socket [10:05:24]Sock 10.Thread stoped [10:05:26]OFD Sender: No OFD packet to send [10:05:31]OFD Sender: No OFD packet to send [10:05:36]OFD Sender: No OFD packet to send [10:05:41]OFD Sender: No OFD packet to send [10:05:46]OFD Sender: No OFD packet to send [10:05:51]OFD Sender: No OFD packet to send [10:05:56]OFD Sender: No OFD packet to send [10:06:01]OFD Sender: No OFD packet to send [10:06:06]OFD Sender: No OFD packet to send [10:06:11]OFD Sender: No OFD packet to send [10:06:16]OFD Sender: No OFD packet to send [10:06:21]OFD Sender: No OFD packet to send [10:06:26]OFD Sender: No OFD packet to send [10:06:31]OFD Sender: No OFD packet to send [10:06:36]OFD Sender: No OFD packet to send [10:06:41]OFD Sender: No OFD packet to send [10:06:46]OFD Sender: No OFD packet to send [10:06:51]OFD Sender: No OFD packet to send [10:06:56]OFD Sender: No OFD packet to send [10:07:01]OFD Sender: No OFD packet to send [10:07:06]OFD Sender: No OFD packet to send [10:07:11]OFD Sender: No OFD packet to send [10:07:16]OFD Sender: No OFD packet to send [10:07:21]OFD Sender: No OFD packet to send [10:07:26]OFD Sender: No OFD packet to send [10:07:31]OFD Sender: No OFD packet to send [10:07:36]OFD Sender: No OFD packet to send [10:07:41]OFD Sender: No OFD packet to send [10:07:46]OFD Sender: No OFD packet to send [10:07:51]OFD Sender: No OFD packet to send [10:07:56]OFD Sender: No OFD packet to send [10:08:01]OFD Sender: No OFD packet to send [10:08:06]OFD Sender: No OFD packet to send [10:08:11]OFD Sender: No OFD packet to send [10:08:16]OFD Sender: No OFD packet to send [10:08:21]OFD Sender: No OFD packet to send [10:08:26]OFD Sender: No OFD packet to send [10:08:31]OFD Sender: No OFD packet to send [10:08:36]OFD Sender: No OFD packet to send [10:08:41]OFD Sender: No OFD packet to send [10:08:46]OFD Sender: No OFD packet to send [10:08:51]OFD Sender: No OFD packet to send [10:08:56]OFD Sender: No OFD packet to send [10:09:01]OFD Sender: No OFD packet to send [10:09:06]OFD Sender: No OFD packet to send [10:09:11]OFD Sender: No OFD packet to send [10:09:16]OFD Sender: No OFD packet to send [10:09:21]OFD Sender: No OFD packet to send [10:09:26]OFD Sender: No OFD packet to send [10:09:31]OFD Sender: No OFD packet to send [10:09:36]OFD Sender: No OFD packet to send [10:09:41]OFD Sender: No OFD packet to send [10:09:46]OFD Sender: No OFD packet to send [10:09:51]OFD Sender: No OFD packet to send [10:09:56]OFD Sender: No OFD packet to send [10:10:01]OFD Sender: No OFD packet to send [10:10:06]OFD Sender: No OFD packet to send [10:10:11]OFD Sender: No OFD packet to send [10:10:16]OFD Sender: No OFD packet to send [10:10:21]OFD Sender: No OFD packet to send [10:10:26]OFD Sender: No OFD packet to send [10:10:31]OFD Sender: No OFD packet to send [10:10:36]OFD Sender: No OFD packet to send [10:10:41]OFD Sender: No OFD packet to send [10:10:46]OFD Sender: No OFD packet to send [10:10:51]OFD Sender: No OFD packet to send [10:10:56]OFD Sender: No OFD packet to send [10:11:01]OFD Sender: No OFD packet to send [10:11:06]OFD Sender: No OFD packet to send [10:11:11]OFD Sender: No OFD packet to send [10:11:16]OFD Sender: No OFD packet to send [10:11:21]OFD Sender: No OFD packet to send [10:11:26]OFD Sender: No OFD packet to send [10:11:31]OFD Sender: No OFD packet to send [10:11:36]OFD Sender: No OFD packet to send [10:11:41]OFD Sender: No OFD packet to send [10:11:46]OFD Sender: No OFD packet to send [10:11:51]OFD Sender: No OFD packet to send [10:11:56]OFD Sender: No OFD packet to send [10:12:01]OFD Sender: No OFD packet to send [10:12:06]OFD Sender: No OFD packet to send [10:12:11]OFD Sender: No OFD packet to send [10:12:16]OFD Sender: No OFD packet to send [10:12:21]OFD Sender: No OFD packet to send [10:12:26]OFD Sender: No OFD packet to send [10:12:31]OFD Sender: No OFD packet to send [10:12:36]OFD Sender: No OFD packet to send [10:12:41]OFD Sender: No OFD packet to send [10:12:46]OFD Sender: No OFD packet to send [10:12:51]OFD Sender: No OFD packet to send [10:12:56]OFD Sender: No OFD packet to send [10:13:01]OFD Sender: No OFD packet to send [10:13:06]OFD Sender: No OFD packet to send [10:13:11]OFD Sender: No OFD packet to send [10:13:16]OFD Sender: No OFD packet to send [10:13:21]OFD Sender: No OFD packet to send [10:13:26]OFD Sender: No OFD packet to send [10:13:31]OFD Sender: No OFD packet to send [10:13:36]OFD Sender: No OFD packet to send [10:13:41]OFD Sender: No OFD packet to send [10:13:46]OFD Sender: No OFD packet to send [10:13:51]OFD Sender: No OFD packet to send [10:13:56]OFD Sender: No OFD packet to send [10:14:01]OFD Sender: No OFD packet to send [10:14:06]OFD Sender: No OFD packet to send [10:14:11]OFD Sender: No OFD packet to send [10:14:16]OFD Sender: No OFD packet to send [10:14:21]OFD Sender: No OFD packet to send [10:14:26]OFD Sender: No OFD packet to send [10:14:31]OFD Sender: No OFD packet to send [10:14:36]OFD Sender: No OFD packet to send [10:14:41]OFD Sender: No OFD packet to send [10:14:46]OFD Sender: No OFD packet to send [10:14:51]OFD Sender: No OFD packet to send [10:14:56]OFD Sender: No OFD packet to send [10:15:01]OFD Sender: No OFD packet to send [10:15:06]OFD Sender: No OFD packet to send [10:15:11]OFD Sender: No OFD packet to send [10:15:16]OFD Sender: No OFD packet to send [10:15:21]OFD Sender: No OFD packet to send [10:15:26]OFD Sender: No OFD packet to send [10:15:31]OFD Sender: No OFD packet to send [10:15:36]OFD Sender: No OFD packet to send [10:15:41]OFD Sender: No OFD packet to send [10:15:46]OFD Sender: No OFD packet to send [10:15:51]OFD Sender: No OFD packet to send [10:15:56]OFD Sender: No OFD packet to send [10:16:01]OFD Sender: No OFD packet to send [10:16:06]OFD Sender: No OFD packet to send [10:16:11]OFD Sender: No OFD packet to send [10:16:16]OFD Sender: No OFD packet to send [10:16:21]OFD Sender: No OFD packet to send [10:16:26]OFD Sender: No OFD packet to send [10:16:31]OFD Sender: No OFD packet to send [10:16:36]OFD Sender: No OFD packet to send [10:16:41]OFD Sender: No OFD packet to send [10:16:46]OFD Sender: No OFD packet to send [10:16:51]OFD Sender: No OFD packet to send [10:16:56]OFD Sender: No OFD packet to send [10:17:01]OFD Sender: No OFD packet to send [10:17:06]OFD Sender: No OFD packet to send [10:17:11]OFD Sender: No OFD packet to send [10:17:16]OFD Sender: No OFD packet to send [10:17:21]OFD Sender: No OFD packet to send [10:17:26]OFD Sender: No OFD packet to send [10:17:31]OFD Sender: No OFD packet to send [10:17:36]OFD Sender: No OFD packet to send [10:17:41]OFD Sender: No OFD packet to send [10:17:46]OFD Sender: No OFD packet to send [10:17:51]OFD Sender: No OFD packet to send [10:17:56]OFD Sender: No OFD packet to send [10:18:01]OFD Sender: No OFD packet to send [10:18:06]OFD Sender: No OFD packet to send [10:18:11]OFD Sender: No OFD packet to send [10:18:16]OFD Sender: No OFD packet to send [10:18:21]OFD Sender: No OFD packet to send [10:18:26]OFD Sender: No OFD packet to send [10:18:31]OFD Sender: No OFD packet to send [10:18:36]OFD Sender: No OFD packet to send [10:18:41]OFD Sender: No OFD packet to send [10:18:47]OFD Sender: No OFD packet to send [10:18:52]OFD Sender: No OFD packet to send [10:18:57]OFD Sender: No OFD packet to send [10:19:02]OFD Sender: No OFD packet to send [10:19:07]OFD Sender: No OFD packet to send [10:19:12]OFD Sender: No OFD packet to send [10:19:17]OFD Sender: No OFD packet to send [10:19:22]OFD Sender: No OFD packet to send [10:19:27]OFD Sender: No OFD packet to send [10:19:32]OFD Sender: No OFD packet to send [10:19:37]OFD Sender: No OFD packet to send [10:19:42]OFD Sender: No OFD packet to send [10:19:47]OFD Sender: No OFD packet to send [10:19:52]OFD Sender: No OFD packet to send [10:19:57]OFD Sender: No OFD packet to send [10:20:02]OFD Sender: No OFD packet to send [10:20:07]OFD Sender: No OFD packet to send [10:20:12]OFD Sender: No OFD packet to send [10:20:17]OFD Sender: No OFD packet to send [10:20:22]OFD Sender: No OFD packet to send [10:20:27]OFD Sender: No OFD packet to send [10:20:32]OFD Sender: No OFD packet to send [10:20:37]OFD Sender: No OFD packet to send [10:20:42]OFD Sender: No OFD packet to send [10:20:47]OFD Sender: No OFD packet to send [10:20:52]OFD Sender: No OFD packet to send [10:20:57]OFD Sender: No OFD packet to send [10:21:02]OFD Sender: No OFD packet to send [10:21:07]OFD Sender: No OFD packet to send [10:21:12]OFD Sender: No OFD packet to send [10:21:17]OFD Sender: No OFD packet to send [10:21:22]OFD Sender: No OFD packet to send [10:21:27]OFD Sender: No OFD packet to send [10:21:32]OFD Sender: No OFD packet to send [10:21:37]OFD Sender: No OFD packet to send [10:21:42]OFD Sender: No OFD packet to send [10:21:47]OFD Sender: No OFD packet to send [10:21:52]OFD Sender: No OFD packet to send [10:21:57]OFD Sender: No OFD packet to send [10:22:02]OFD Sender: No OFD packet to send [10:22:07]OFD Sender: No OFD packet to send [10:22:12]OFD Sender: No OFD packet to send [10:22:17]OFD Sender: No OFD packet to send [10:22:22]OFD Sender: No OFD packet to send [10:22:27]OFD Sender: No OFD packet to send [10:22:32]OFD Sender: No OFD packet to send [10:22:37]OFD Sender: No OFD packet to send [10:22:42]OFD Sender: No OFD packet to send [10:22:47]OFD Sender: No OFD packet to send [10:22:52]OFD Sender: No OFD packet to send [10:22:57]OFD Sender: No OFD packet to send [10:23:02]OFD Sender: No OFD packet to send [10:23:07]OFD Sender: No OFD packet to send [10:23:12]OFD Sender: No OFD packet to send [10:23:17]OFD Sender: No OFD packet to send [10:23:22]OFD Sender: No OFD packet to send [10:23:27]OFD Sender: No OFD packet to send [10:23:32]OFD Sender: No OFD packet to send [10:23:37]OFD Sender: No OFD packet to send [10:23:42]OFD Sender: No OFD packet to send [10:23:47]OFD Sender: No OFD packet to send [10:23:52]OFD Sender: No OFD packet to send [10:23:57]OFD Sender: No OFD packet to send [10:24:02]OFD Sender: No OFD packet to send [10:24:07]OFD Sender: No OFD packet to send [10:24:12]OFD Sender: No OFD packet to send [10:24:17]OFD Sender: No OFD packet to send [10:24:22]OFD Sender: No OFD packet to send [10:24:27]OFD Sender: No OFD packet to send [10:24:32]OFD Sender: No OFD packet to send [10:24:37]OFD Sender: No OFD packet to send [10:24:42]OFD Sender: No OFD packet to send [10:24:47]OFD Sender: No OFD packet to send [10:24:52]OFD Sender: No OFD packet to send [10:24:57]OFD Sender: No OFD packet to send [10:25:02]OFD Sender: No OFD packet to send [10:25:07]OFD Sender: No OFD packet to send [10:25:12]OFD Sender: No OFD packet to send [10:25:17]OFD Sender: No OFD packet to send [10:25:22]OFD Sender: No OFD packet to send [10:25:27]OFD Sender: No OFD packet to send [10:25:32]OFD Sender: No OFD packet to send [10:25:37]OFD Sender: No OFD packet to send [10:25:42]OFD Sender: No OFD packet to send [10:25:47]OFD Sender: No OFD packet to send [10:25:52]OFD Sender: No OFD packet to send [10:25:57]OFD Sender: No OFD packet to send [10:26:02]OFD Sender: No OFD packet to send [10:26:07]OFD Sender: No OFD packet to send [10:26:12]OFD Sender: No OFD packet to send [10:26:17]OFD Sender: No OFD packet to send [10:26:22]OFD Sender: No OFD packet to send [10:26:27]OFD Sender: No OFD packet to send [10:26:32]OFD Sender: No OFD packet to send [10:26:37]OFD Sender: No OFD packet to send [10:26:42]OFD Sender: No OFD packet to send [10:26:47]OFD Sender: No OFD packet to send [10:26:52]OFD Sender: No OFD packet to send [10:26:57]OFD Sender: No OFD packet to send [10:27:02]OFD Sender: No OFD packet to send [10:27:07]OFD Sender: No OFD packet to send [10:27:12]OFD Sender: No OFD packet to send [10:27:17]OFD Sender: No OFD packet to send [10:27:22]OFD Sender: No OFD packet to send [10:27:27]OFD Sender: No OFD packet to send [10:27:32]OFD Sender: No OFD packet to send [10:27:37]OFD Sender: No OFD packet to send [10:27:42]OFD Sender: No OFD packet to send [10:27:47]OFD Sender: No OFD packet to send [10:27:52]OFD Sender: No OFD packet to send [10:27:57]OFD Sender: No OFD packet to send [10:28:02]OFD Sender: No OFD packet to send [10:28:07]OFD Sender: No OFD packet to send [10:28:12]OFD Sender: No OFD packet to send [10:28:17]OFD Sender: No OFD packet to send [10:28:22]OFD Sender: No OFD packet to send [10:28:27]OFD Sender: No OFD packet to send [10:28:32]OFD Sender: No OFD packet to send [10:28:37]OFD Sender: No OFD packet to send [10:28:42]OFD Sender: No OFD packet to send [10:28:47]OFD Sender: No OFD packet to send [10:28:52]OFD Sender: No OFD packet to send [10:28:57]OFD Sender: No OFD packet to send [10:29:02]OFD Sender: No OFD packet to send [10:29:07]OFD Sender: No OFD packet to send [10:29:12]OFD Sender: No OFD packet to send [10:29:17]OFD Sender: No OFD packet to send [10:29:22]OFD Sender: No OFD packet to send [10:29:27]OFD Sender: No OFD packet to send [10:29:32]OFD Sender: No OFD packet to send [10:29:37]OFD Sender: No OFD packet to send [10:29:42]OFD Sender: No OFD packet to send [10:29:47]OFD Sender: No OFD packet to send [10:29:52]OFD Sender: No OFD packet to send [10:29:57]OFD Sender: No OFD packet to send [10:30:02]OFD Sender: No OFD packet to send [10:30:07]OFD Sender: No OFD packet to send [10:30:12]OFD Sender: No OFD packet to send [10:30:17]OFD Sender: No OFD packet to send [10:30:22]OFD Sender: No OFD packet to send [10:30:27]OFD Sender: No OFD packet to send [10:30:32]OFD Sender: No OFD packet to send [10:30:37]OFD Sender: No OFD packet to send [10:30:42]OFD Sender: No OFD packet to send [10:30:47]OFD Sender: No OFD packet to send [10:30:52]OFD Sender: No OFD packet to send [10:30:57]OFD Sender: No OFD packet to send [10:31:02]OFD Sender: No OFD packet to send [10:31:07]OFD Sender: No OFD packet to send [10:31:12]OFD Sender: No OFD packet to send [10:31:17]OFD Sender: No OFD packet to send [10:31:22]OFD Sender: No OFD packet to send [10:31:27]OFD Sender: No OFD packet to send [10:31:32]OFD Sender: No OFD packet to send [10:31:37]OFD Sender: No OFD packet to send [10:31:42]OFD Sender: No OFD packet to send [10:31:47]OFD Sender: No OFD packet to send [10:31:52]OFD Sender: No OFD packet to send [10:31:57]OFD Sender: No OFD packet to send [10:32:02]OFD Sender: No OFD packet to send [10:32:07]OFD Sender: No OFD packet to send [10:32:12]OFD Sender: No OFD packet to send [10:32:17]OFD Sender: No OFD packet to send [10:32:22]OFD Sender: No OFD packet to send [10:32:27]OFD Sender: No OFD packet to send [10:32:32]OFD Sender: No OFD packet to send [10:32:37]OFD Sender: No OFD packet to send [10:32:42]OFD Sender: No OFD packet to send [10:32:47]OFD Sender: No OFD packet to send [10:32:52]OFD Sender: No OFD packet to send [10:32:57]OFD Sender: No OFD packet to send [10:33:02]OFD Sender: No OFD packet to send [10:33:07]OFD Sender: No OFD packet to send [10:33:12]OFD Sender: No OFD packet to send [10:33:17]OFD Sender: No OFD packet to send [10:33:22]OFD Sender: No OFD packet to send [10:33:27]OFD Sender: No OFD packet to send [10:33:32]OFD Sender: No OFD packet to send [10:33:37]OFD Sender: No OFD packet to send [10:33:42]OFD Sender: No OFD packet to send [10:33:47]OFD Sender: No OFD packet to send [10:33:52]OFD Sender: No OFD packet to send [10:33:57]OFD Sender: No OFD packet to send [10:34:02]OFD Sender: No OFD packet to send [10:34:07]OFD Sender: No OFD packet to send [10:34:12]OFD Sender: No OFD packet to send [10:34:17]OFD Sender: No OFD packet to send [10:34:22]OFD Sender: No OFD packet to send [10:34:27]OFD Sender: No OFD packet to send [10:34:32]OFD Sender: No OFD packet to send [10:34:37]OFD Sender: No OFD packet to send [10:34:42]OFD Sender: No OFD packet to send [10:34:47]OFD Sender: No OFD packet to send [10:34:52]OFD Sender: No OFD packet to send [10:34:57]OFD Sender: No OFD packet to send [10:35:02]OFD Sender: No OFD packet to send [10:35:07]OFD Sender: No OFD packet to send [10:35:12]OFD Sender: No OFD packet to send [10:35:17]OFD Sender: No OFD packet to send [10:35:22]OFD Sender: No OFD packet to send [10:35:27]OFD Sender: No OFD packet to send [10:35:32]OFD Sender: No OFD packet to send [10:35:37]OFD Sender: No OFD packet to send [10:35:42]OFD Sender: No OFD packet to send [10:35:47]OFD Sender: No OFD packet to send [10:35:52]OFD Sender: No OFD packet to send [10:35:57]OFD Sender: No OFD packet to send [10:36:02]OFD Sender: No OFD packet to send [10:36:07]OFD Sender: No OFD packet to send [10:36:12]OFD Sender: No OFD packet to send [10:36:17]OFD Sender: No OFD packet to send [10:36:22]OFD Sender: No OFD packet to send [10:36:27]OFD Sender: No OFD packet to send [10:36:32]OFD Sender: No OFD packet to send [10:36:37]OFD Sender: No OFD packet to send [10:36:42]OFD Sender: No OFD packet to send [10:36:47]OFD Sender: No OFD packet to send [10:36:52]OFD Sender: No OFD packet to send [10:36:57]OFD Sender: No OFD packet to send [10:37:02]OFD Sender: No OFD packet to send [10:37:07]OFD Sender: No OFD packet to send [10:37:12]OFD Sender: No OFD packet to send [10:37:17]OFD Sender: No OFD packet to send [10:37:22]OFD Sender: No OFD packet to send [10:37:27]OFD Sender: No OFD packet to send [10:37:32]OFD Sender: No OFD packet to send [10:37:37]OFD Sender: No OFD packet to send [10:37:42]OFD Sender: No OFD packet to send [10:37:47]OFD Sender: No OFD packet to send [10:37:53]OFD Sender: No OFD packet to send [10:37:58]OFD Sender: No OFD packet to send [10:38:03]OFD Sender: No OFD packet to send [10:38:08]OFD Sender: No OFD packet to send [10:38:13]OFD Sender: No OFD packet to send [10:38:18]OFD Sender: No OFD packet to send [10:38:23]OFD Sender: No OFD packet to send [10:38:28]OFD Sender: No OFD packet to send [10:38:33]OFD Sender: No OFD packet to send [10:38:38]OFD Sender: No OFD packet to send [10:38:43]OFD Sender: No OFD packet to send [10:38:48]OFD Sender: No OFD packet to send [10:38:53]OFD Sender: No OFD packet to send [10:38:58]OFD Sender: No OFD packet to send [10:39:03]OFD Sender: No OFD packet to send [10:39:08]OFD Sender: No OFD packet to send [10:39:13]OFD Sender: No OFD packet to send [10:39:18]OFD Sender: No OFD packet to send [10:39:23]OFD Sender: No OFD packet to send [10:39:28]OFD Sender: No OFD packet to send [10:39:33]OFD Sender: No OFD packet to send [10:39:38]OFD Sender: No OFD packet to send [10:39:43]OFD Sender: No OFD packet to send [10:39:48]OFD Sender: No OFD packet to send [10:39:53]OFD Sender: No OFD packet to send [10:39:58]OFD Sender: No OFD packet to send [10:40:03]OFD Sender: No OFD packet to send [10:40:08]OFD Sender: No OFD packet to send [10:40:13]OFD Sender: No OFD packet to send [10:40:18]OFD Sender: No OFD packet to send [10:40:23]OFD Sender: No OFD packet to send [10:40:28]OFD Sender: No OFD packet to send [10:40:33]OFD Sender: No OFD packet to send [10:40:38]OFD Sender: No OFD packet to send [10:40:43]OFD Sender: No OFD packet to send [10:40:48]OFD Sender: No OFD packet to send [10:40:53]OFD Sender: No OFD packet to send [10:40:58]OFD Sender: No OFD packet to send [10:41:03]OFD Sender: No OFD packet to send [10:41:08]OFD Sender: No OFD packet to send [10:41:13]OFD Sender: No OFD packet to send [10:41:18]OFD Sender: No OFD packet to send [10:41:23]OFD Sender: No OFD packet to send [10:41:28]OFD Sender: No OFD packet to send [10:41:33]OFD Sender: No OFD packet to send [10:41:38]OFD Sender: No OFD packet to send [10:41:43]OFD Sender: No OFD packet to send [10:41:48]OFD Sender: No OFD packet to send [10:41:53]OFD Sender: No OFD packet to send [10:41:58]OFD Sender: No OFD packet to send [10:42:03]OFD Sender: No OFD packet to send [10:42:08]OFD Sender: No OFD packet to send [10:42:13]OFD Sender: No OFD packet to send [10:42:18]OFD Sender: No OFD packet to send [10:42:23]OFD Sender: No OFD packet to send [10:42:28]OFD Sender: No OFD packet to send [10:42:33]OFD Sender: No OFD packet to send [10:42:38]OFD Sender: No OFD packet to send [10:42:43]OFD Sender: No OFD packet to send [10:42:48]OFD Sender: No OFD packet to send [10:42:53]OFD Sender: No OFD packet to send [10:42:58]OFD Sender: No OFD packet to send [10:43:03]OFD Sender: No OFD packet to send [10:43:08]OFD Sender: No OFD packet to send [10:43:13]OFD Sender: No OFD packet to send [10:43:18]OFD Sender: No OFD packet to send [10:43:23]OFD Sender: No OFD packet to send [10:43:28]OFD Sender: No OFD packet to send [10:43:33]OFD Sender: No OFD packet to send [10:43:38]OFD Sender: No OFD packet to send [10:43:43]OFD Sender: No OFD packet to send [10:43:48]OFD Sender: No OFD packet to send [10:43:53]OFD Sender: No OFD packet to send [10:43:58]OFD Sender: No OFD packet to send [10:44:03]OFD Sender: No OFD packet to send [10:44:08]OFD Sender: No OFD packet to send [10:44:13]OFD Sender: No OFD packet to send [10:44:18]OFD Sender: No OFD packet to send [10:44:23]OFD Sender: No OFD packet to send [10:44:28]OFD Sender: No OFD packet to send [10:44:33]OFD Sender: No OFD packet to send [10:44:38]OFD Sender: No OFD packet to send [10:44:43]OFD Sender: No OFD packet to send [10:44:48]OFD Sender: No OFD packet to send [10:44:53]OFD Sender: No OFD packet to send [10:44:58]OFD Sender: No OFD packet to send [10:45:03]OFD Sender: No OFD packet to send [10:45:08]OFD Sender: No OFD packet to send [10:45:13]OFD Sender: No OFD packet to send [10:45:18]OFD Sender: No OFD packet to send [10:45:23]OFD Sender: No OFD packet to send [10:45:28]OFD Sender: No OFD packet to send [10:45:33]OFD Sender: No OFD packet to send [10:45:38]OFD Sender: No OFD packet to send [10:45:43]OFD Sender: No OFD packet to send [10:45:48]OFD Sender: No OFD packet to send [10:45:53]OFD Sender: No OFD packet to send [10:45:58]OFD Sender: No OFD packet to send [10:46:03]accept exits with 9 [10:46:03]New connection [10:46:03]New thread 3066924388 created [10:46:03]Thread 3067067748 joined [10:46:03]Waiting for new connection... [10:46:03] Sock 9.Parse request [10:46:03]Sock 9.Check first char [10:46:03]Sock 9.First char is OK [10:46:03]request: POST /json_proto HTTP/1.0 [10:46:03]Method: POST [10:46:03]URL: /json_proto [10:46:03]Method is POST - this is cgi request [10:46:03]url: /json_proto [10:46:03]query_string will be loaded in cgi processing [10:46:03]execute_cgi json_proto POST (null) [10:46:03]execute_cgi path=json_proto method=POST [10:46:03]POST find Content-Length [10:46:03]Host: 172.17.39.4:8080 [10:46:03]Content-Length: 1561 [10:46:03]Content-Type: application/json [10:46:03] [10:46:03]POST finish read [10:46:03]Found Content-Length = 1561 [10:46:03]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129612", "tax_sys" : 0, "items" : [ { "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 }]} ,{ "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": "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 }]} ,{ "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" : 434.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:46:03]execute_script... [10:46:03]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129612", "tax_sys" : 0, "items" : [ { "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 }]} ,{ "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": "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 }]} ,{ "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" : 434.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:46:03]POST & json_proto [10:46:03]process_json_proto [10:46:03]json parsed OK: [10:46:03]protocol is kg_v1.0 [10:46:03]action value=close_receipt [10:46:03]process_action close_receipt [10:46:03]cmd_close_receipt [10:46:03]MH_GetDate [10:46:03]Write to MH i2c: F0 00 00 D0 12 D1 [10:46:03]Write i2c OK [10:46:03]MH_I2C_Read... [10:46:03]Read from MH i2c: F0 [10:46:03]MH_I2C_Read... [10:46:03]Read from MH i2c: F0 09 00 [10:46:03]MH_I2C_Read... [10:46:03]OFD Sender: No OFD packet to send [10:46:03]Read from MH i2c: F0 09 00 D0 12 00 EE FD 94 66 2D 25 5D 64 D2 [10:46:03]GetLastDocTimeStamp 1721037920 [10:46:03]current date 1721040366 [10:46:03]FM_GetShiftState [10:46:03]SAM_PROTO_GetShiftState [10:46:03]wFMCommunicate request_size=4 [10:46:03]MH_SAM_APDU [10:46:03]CAPDU: 80 13 01 00 [10:46:03]Write to MH i2c: E2 08 00 D1 12 80 13 01 00 00 00 00 00 60 [10:46:03]Write i2c OK [10:46:03]MH_I2C_Read... [10:46:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:46:03]Read from MH i2c: E2 [10:46:03]MH_I2C_Read... [10:46:03]Read from MH i2c: E2 0E 00 [10:46:03]MH_I2C_Read... [10:46:03]Read from MH i2c: E2 0E 00 D1 12 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 D9 [10:46:03]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [10:46:03]wFMCommunicate OK [10:46:03]SAM_PROTO_GetShiftState done [10:46:03]FM_GetShiftState done [10:46:03]opened in 1721003525 [10:46:03]opened+sec_in_day 1721089925 [10:46:03]quantity*price = 11000 [10:46:03]sum+1 = 11001 [10:46:03]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 2000036190018 Кофе Американо XL(GABB TRADE) 1.000 * 125.00 = 125.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4011100977624 Шок Батончик Баунти 55г 1.000 * 59.00 = 59.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 47802995 Сигареты Winston XS Silver 1.000 * 140.00 = 140.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 434.00 НСП 1% : 3.84 НДС 12% : 46.08 Наличными: 434.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 55 15.07.2024 10:46 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57160 ФПД: 236549773079266 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T104606&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57160&fm=236549773079266&tin=02508201610067®Number=0000000000091208&sum=43400 0 [10:46:04]StoreToDocumentArchive [10:46:04]shift 497 fd 57160 [10:46:04]save to /storage/0497/doc_00057160 [10:46:04]save last doc name /storage/0497/doc_00057160 to /storage/kkm_last_doc_name [10:46:04]save OK [10:46:04]Clear old archive folders... [10:46:04]ProcessDocumentItem done err = 0, tmpTLVsize=621 [10:46:04]tlvbuf is 00994CC0 [10:46:04]SAM_PROTO_ClearQueue [10:46:04]wFMCommunicate request_size=4 [10:46:04]MH_SAM_APDU [10:46:04]CAPDU: 80 09 00 00 [10:46:04]Write to MH i2c: E2 08 00 DE 12 80 09 00 00 00 00 00 00 62 [10:46:04]Write i2c OK [10:46:04]MH_I2C_Read... [10:46:04]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:46:04]Read from MH i2c: E2 [10:46:04]MH_I2C_Read... [10:46:04]Read from MH i2c: E2 03 00 [10:46:04]MH_I2C_Read... [10:46:04]Read from MH i2c: E2 03 00 DE 12 00 90 00 64 [10:46:04]RAPDU: 90 00 [10:46:04]wFMCommunicate OK [10:46:04]SAM_PROTO_ClearQueue done [10:46:04]KKMCreateOFDPacket [10:46:04]OFDProtocolAddRootSTLVToBuf [10:46:04]FM_MakeSignedData [10:46:04]FM_MakeSignedData [10:46:04]SAM_PROTO_SignData [10:46:04]wFMCommunicate request_size=4 [10:46:04]MH_SAM_APDU [10:46:04]CAPDU: 80 0D 01 02 [10:46:04]Write to MH i2c: E2 08 00 DF 12 80 0D 01 02 00 00 00 00 6A [10:46:04]Write i2c OK [10:46:04]MH_I2C_Read... [10:46:04]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:46:04]Read from MH i2c: E2 [10:46:04]MH_I2C_Read... [10:46:04]Read from MH i2c: E2 03 00 [10:46:04]MH_I2C_Read... [10:46:04]Read from MH i2c: E2 03 00 DF 12 00 90 00 65 [10:46:04]RAPDU: 90 00 [10:46:04]wFMCommunicate OK [10:46:04]wFMCommunicate request_size=255 [10:46:04]MH_SAM_APDU [10:46:04]CAPDU: 80 0D 02 02 FA 03 00 6D 02 1E 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 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 6D 00 [10:46:04]Write to MH i2c: E2 02 01 E0 12 80 0D 02 02 FA 00 03 00 6D 02 1E 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 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 6D 00 00 00 61 [10:46:05]Write i2c OK [10:46:05]MH_I2C_Read... [10:46:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:46:05]Read from MH i2c: E2 [10:46:05]MH_I2C_Read... [10:46:05]Read from MH i2c: E2 03 00 [10:46:05]MH_I2C_Read... [10:46:05]Read from MH i2c: E2 03 00 E0 12 00 90 00 66 [10:46:05]RAPDU: 90 00 [10:46:05]wFMCommunicate OK [10:46:05]wFMCommunicate request_size=255 [10:46:05]MH_SAM_APDU [10:46:05]CAPDU: 80 0D 02 02 FA 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 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 88 A9 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 80 01 00 00 00 00 EE 03 0F 00 F2 03 01 [10:46:05]Write to MH i2c: E2 02 01 E1 12 80 0D 02 02 FA 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 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 88 A9 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 80 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 00 C9 [10:46:05]Write i2c OK [10:46:05]MH_I2C_Read... [10:46:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:46:05]Read from MH i2c: E2 [10:46:05]MH_I2C_Read... [10:46:05]Read from MH i2c: E2 03 00 [10:46:05]MH_I2C_Read... [10:46:05]Read from MH i2c: E2 03 00 E1 12 00 90 00 67 [10:46:05]RAPDU: 90 00 [10:46:05]wFMCommunicate OK [10:46:05]wFMCommunicate request_size=130 [10:46:05]MH_SAM_APDU [10:46:05]CAPDU: 80 0D 02 02 7D 00 01 F3 03 06 00 00 12 00 00 00 00 07 04 06 00 88 A9 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 EE FD 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 48 DF 00 00 35 04 06 00 D7 24 09 32 32 E2 [10:46:05]Write to MH i2c: E2 85 00 E2 12 80 0D 02 02 7D 00 00 01 F3 03 06 00 00 12 00 00 00 00 07 04 06 00 88 A9 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 EE FD 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 48 DF 00 00 35 04 06 00 D7 24 09 32 32 E2 00 00 63 [10:46:05]Write i2c OK [10:46:05]MH_I2C_Read... [10:46:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:46:05]Read from MH i2c: E2 [10:46:05]MH_I2C_Read... [10:46:05]Read from MH i2c: E2 03 00 [10:46:05]MH_I2C_Read... [10:46:05]Read from MH i2c: E2 03 00 E2 12 00 90 00 68 [10:46:05]RAPDU: 90 00 [10:46:05]wFMCommunicate OK [10:46:05]wFMCommunicate request_size=4 [10:46:05]MH_SAM_APDU [10:46:05]CAPDU: 80 0D 03 02 [10:46:05]Write to MH i2c: E2 08 00 E3 12 80 0D 03 02 00 00 00 00 70 [10:46:05]Write i2c OK [10:46:05]MH_I2C_Read... [10:46:05]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:46:05]Read from MH i2c: E2 [10:46:05]MH_I2C_Read... [10:46:05]Read from MH i2c: E2 0B 00 [10:46:05]MH_I2C_Read... [10:46:05]Read from MH i2c: E2 0B 00 E3 12 00 89 D5 D2 A4 66 A5 36 8E 90 00 14 [10:46:05]RAPDU: 89 D5 D2 A4 66 A5 36 8E 90 00 [10:46:05]wFMCommunicate OK [10:46:05]SAM_PROTO_SignData done [10:46:05]FM_MakeSignedData done [10:46:05]CreateOFDProtocolMessage [10:46:05]wFMCommunicate request_size=4 [10:46:05]MH_SAM_APDU [10:46:05]CAPDU: 80 11 00 00 [10:46:05]Write to MH i2c: E2 08 00 E4 12 80 11 00 00 00 00 00 00 70 [10:46:05]Write i2c OK [10:46:05]MH_I2C_Read... [10:46:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:46:05]Read from MH i2c: E2 [10:46:05]MH_I2C_Read... [10:46:05]Read from MH i2c: E2 17 00 [10:46:05]MH_I2C_Read... [10:46:05]Read from MH i2c: E2 17 00 E4 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 CA [10:46:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [10:46:05]wFMCommunicate OK [10:46:05]CreateOFDProtocolMessage done [10:46:05]OFDSenderStorePacket 57160 [10:46:05]StoreOFDPacket docnum=57160 [10:46: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 81 02 00 00 D0 EB 79 02 3E EC 5A 03 01 00 03 00 6D 02 1E 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 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 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 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 88 A9 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 80 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 00 12 00 00 00 00 07 04 06 00 88 A9 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 EE FD 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 48 DF 00 00 35 04 06 00 D7 24 09 32 32 E2 89 D5 D2 A4 66 A5 36 8E [10:46:05]CheckFolder [10:46:05]dirname=/storage/ofd_packets [10:46:05]CheckFolder done [10:46:05]ProducePacketName [10:46:05]name=ofd_packets/00057160 [10:46:05]NVStorageSaveData ofd_packets/00057160 [10:46:05]File name is /storage/ofd_packets/00057160 [10:46:05]Write 671 bytes [10:46:05]NVStorageSaveData done [10:46:05]OFDSenderStorePacket done [10:46:05]KKMCreateOFDPacket done [10:46:05]NVStorageSaveData kkm_last_timestamp [10:46:05]File name is /storage/kkm_last_timestamp [10:46:05]Write 4 bytes [10:46:05]NVStorageSaveData done [10:46:05]ExternCall_PrintAddStr [10:46:05]wPrintStart [10:46:05]Write to MH i2c: 01 00 00 E5 12 F7 [10:46:05]Write i2c OK [10:46:05]MH_I2C_Read... [10:46:05]Read from MH i2c: 01 [10:46:05]MH_I2C_Read... [10:46:05]Read from MH i2c: 01 07 00 [10:46:05]MH_I2C_Read... [10:46:05]Read from MH i2c: 01 07 00 E5 12 00 00 00 00 00 FF 0F 0C [10:46:05]RasterBufferAndPrint [10:46:05]line Счет N : (3)129612 [10:46:05]line ИНН: 02508201610067 [10:46:05]line Контрольно-Кассовый Чек [10:46:05]line ПРОДАЖА [10:46:05]line Товар: 4870022003305 [10:46:05]line Напиток Gorilla эн нат ж/б 0,5/0,45л [10:46:05]line 1.000 * 110.00 [10:46:05]line = 110.00 [10:46:05]line НДС 12% НСП 1% [10:46:05]line > о реализуемом товаре [10:46:05]line Товар: 2000036190018 [10:46:06]line Кофе Американо XL(GABB TRADE) [10:46:06]line 1.000 * 125.00 [10:46:06]line = 125.00 [10:46:06]line НДС 12% НСП 1% [10:46:06]line > о реализуемом товаре [10:46:06]line Товар: 4011100977624 [10:46:06]line Шок Батончик Баунти 55г [10:46:06]line 1.000 * 59.00 [10:46:06]line = 59.00 [10:46:06]line НДС 12% НСП 1% [10:46:06]line > о реализуемом товаре [10:46:06]line Товар: 47802995 [10:46:06]line Сигареты Winston XS Silver [10:46:06]line 1.000 * 140.00 [10:46:06]line = 140.00 [10:46:06]line НДС 12% НСП 1% [10:46:06]line > о реализуемом товаре [10:46:06]line ИТОГО: 434.00 [10:46:06]line НСП 1% : 3.84 [10:46:06]line НДС 12% : 46.08 [10:46:06]line Наличными: 434.00 [10:46:06]line Безнал.: 0.00 [10:46:06]line Место: АЗС № 132 "Партнер Нефть" [10:46:06]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [10:46:06]line СНО: Общий режим [10:46:06]line Чек 55 15.07.2024 10:46 [10:46:06]line Смена: 497 ФФД: 1.0 [10:46:06]line ЗНМ: 0300000132 [10:46:06]line РНМ: 0000000000091208 [10:46:06]line Версия ККМ: 001 [10:46:06]line ФМ: 0000000000874857 [10:46:06]line ФД: 57160 [10:46:06]line ФПД: 236549773079266 [10:46:06]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T104606&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57160&fm=236549773079266&tin=02508201610067®Number=0000000000091208&sum=43400 [10:46:06]line 0 [10:46:06]OFD Sender: Processing packet 57160 [packets to send 38, broken 37] [10:46:06]ProducePacketName [10:46:06]name=ofd_packets/00057160 [10:46:06]OFD Sender: To server: pG, [10:46:06]CommunicateWithHost lk.salyk.kg:30040 [10:46:06]ConnectInit lk.salyk.kg [10:46:06]written 0, free lines is 4095 [10:46:06]Connected sock=10 [10:46: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 81 02 00 00 D0 EB 79 02 3E EC 5A 03 01 00 03 00 6D 02 1E 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 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 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 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 88 A9 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 80 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 00 12 00 00 00 00 07 04 06 00 88 A9 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 EE FD 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 48 DF 00 00 35 04 06 00 D7 24 09 32 32 E2 89 D5 D2 A4 66 A5 36 8E [10:46: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 36 B5 47 00 8A 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 48 DF 00 00 F4 03 04 00 3D A4 94 66 B6 04 01 00 00 86 62 C4 B8 35 34 C1 76 [10:46:06]CommunicateWithHost err = 0 [10:46:06]CheckOFDResponse [10:46:06]1017 (14) - 77093643461234 [10:46:06]1041 (16) - 0000000000874857 [10:46:06]1040 (4) - 57160 [10:46:06]1012 (4) - 15.07.2024 04:23 [10:46:06]1206 (1) - 0 [10:46:06]OFD Sender: Remove packet 57160 [10:46:06]ProducePacketName [10:46:06]name=ofd_packets/00057160 [10:46:06]NVStorageDeleteData [10:46:06]Write to MH i2c: 01 00 00 21 13 34 [10:46:06]Write i2c OK [10:46:06]MH_I2C_Read... [10:46:06]Read from MH i2c: 01 [10:46:06]MH_I2C_Read... [10:46:06]Read from MH i2c: 01 07 00 [10:46:06]MH_I2C_Read... [10:46:06]Read from MH i2c: 01 07 00 21 13 00 00 00 00 00 F7 0B 3D [10:46:06]RasterBufferAndPrint [10:46:06]line [10:46:06]line [10:46:06]line [10:46:06]line [10:46:06]line [10:46:06]written 0, free lines is 3072 [10:46:06]MH_Cut [10:46:06]Write to MH i2c: D1 01 00 28 13 01 0D [10:46:06]Write i2c OK [10:46:06]MH_I2C_Read... [10:46:06]Read from MH i2c: D1 [10:46:06]MH_I2C_Read... [10:46:06]Read from MH i2c: D1 01 00 [10:46:06]MH_I2C_Read... [10:46:06]Read from MH i2c: D1 01 00 28 13 00 0C [10:46:06]Write to MH i2c: 01 00 00 29 13 3C [10:46:06]Write i2c OK [10:46:06]MH_I2C_Read... [10:46:06]OFD Sender: No OFD packet to send [10:46:07]*** Cut start [10:46:07]*** Partial cut [10:46:07]*** CUTSNS_PIN = 1 [10:46:07]*** CUTSNS_PIN = 0 [10:46:07]*** Brake cut motor [10:46:08]Read from MH i2c: 01 [10:46:08]MH_I2C_Read... [10:46:08]*** Stop cut motor [10:46:08]*** Cut end [10:46:08]Read from MH i2c: 01 07 00 [10:46:08]MH_I2C_Read... [10:46:08]Read from MH i2c: 01 07 00 29 13 00 00 00 00 00 FF 0F 51 [10:46:08]process_action close_receipt done [10:46:08]requested_data is exist [10:46:08]produce_requested_data [10:46:08]requested_item fm.sn is exist - process it [10:46:08]wFMCommunicate request_size=4 [10:46:08]MH_SAM_APDU [10:46:08]CAPDU: 80 11 00 00 [10:46:08]Write to MH i2c: E2 08 00 2A 13 80 11 00 00 00 00 00 00 B7 [10:46:08]Write i2c OK [10:46:08]MH_I2C_Read... [10:46:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:46:08]Read from MH i2c: E2 [10:46:08]MH_I2C_Read... [10:46:08]Read from MH i2c: E2 17 00 [10:46:08]MH_I2C_Read... [10:46:08]Read from MH i2c: E2 17 00 2A 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 11 [10:46:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [10:46:08]wFMCommunicate OK [10:46:08]requested_item fd.num is exist - process it [10:46:08]SAM_PROTO_GetFieldsCounters [10:46:08]wFMCommunicate request_size=4 [10:46:08]MH_SAM_APDU [10:46:08]CAPDU: 80 13 00 00 [10:46:08]Write to MH i2c: E2 08 00 2B 13 80 13 00 00 00 00 00 00 BA [10:46:08]Write i2c OK [10:46:08]MH_I2C_Read... [10:46:08]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:46:08]Read from MH i2c: E2 [10:46:08]MH_I2C_Read... [10:46:08]Read from MH i2c: E2 62 00 [10:46:08]MH_I2C_Read... [10:46:08]Read from MH i2c: E2 62 00 2B 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 48 DF 00 00 0E 04 04 00 F1 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 9B [10:46: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 48 DF 00 00 0E 04 04 00 F1 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:46:08]wFMCommunicate OK [10:46:08]SAM_PROTO_GetFieldsCounters done [10:46:08]requested_item shift.num is exist - process it [10:46:08]requested_item shift.opened is exist - process it [10:46:08]req_shift_opened [10:46:08]FM_GetShiftState [10:46:08]SAM_PROTO_GetShiftState [10:46:08]wFMCommunicate request_size=4 [10:46:08]MH_SAM_APDU [10:46:08]CAPDU: 80 13 01 00 [10:46:08]Write to MH i2c: E2 08 00 2C 13 80 13 01 00 00 00 00 00 BC [10:46:08]Write i2c OK [10:46:08]MH_I2C_Read... [10:46:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:46:08]Read from MH i2c: E2 [10:46:08]MH_I2C_Read... [10:46:08]Read from MH i2c: E2 0E 00 [10:46:08]MH_I2C_Read... [10:46:08]Read from MH i2c: E2 0E 00 2C 13 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 35 [10:46:08]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [10:46:08]wFMCommunicate OK [10:46:08]SAM_PROTO_GetShiftState done [10:46:08]FM_GetShiftState done [10:46:08]req_shift_opened done [10:46:08]requested_item shift.open_date is exist - process it [10:46:08]req_shift_open_date [10:46:08]req_shift_open_date done [10:46:08]requested_item shift.sale.total is exist - process it [10:46:08]SAM_PROTO_GetShiftData [10:46:08]wFMCommunicate request_size=4 [10:46:08]MH_SAM_APDU [10:46:08]CAPDU: 80 13 02 00 [10:46:08]Write to MH i2c: E2 08 00 2D 13 80 13 02 00 00 00 00 00 BE [10:46:08]Write i2c OK [10:46:08]MH_I2C_Read... [10:46:09]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [10:46:09]Read from MH i2c: E2 [10:46:09]MH_I2C_Read... [10:46:09]Read from MH i2c: E2 FD 00 [10:46:09]MH_I2C_Read... [10:46:09]Read from MH i2c: E2 FD 00 2D 13 00 B6 04 AA 04 B2 04 6E 04 04 00 37 00 00 00 69 04 9B 00 6F 04 04 00 36 00 00 00 B1 04 03 00 E5 7D 16 70 04 03 00 D0 69 11 72 04 03 00 15 14 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 75 63 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 F2 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 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 7B [10:46:09]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 37 00 00 00 69 04 9B 00 6F 04 04 00 36 00 00 00 B1 04 03 00 E5 7D 16 70 04 03 00 D0 69 11 72 04 03 00 15 14 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 75 63 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 F2 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 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 [10:46:09]wFMCommunicate OK [10:46:09]wFMCommunicate request_size=4 [10:46:09]MH_SAM_APDU [10:46:09]CAPDU: 80 17 00 00 [10:46:09]Write to MH i2c: E2 08 00 2E 13 80 17 00 00 00 00 00 00 C1 [10:46:09]Write i2c OK [10:46:09]MH_I2C_Read... [10:46:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:46:09]Read from MH i2c: E2 [10:46:09]MH_I2C_Read... [10:46:09]Read from MH i2c: E2 FD 00 [10:46:09]MH_I2C_Read... [10:46:09]Read from MH i2c: E2 FD 00 2E 13 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 F6 [10:46:09]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 [10:46:09]wFMCommunicate OK [10:46:09]wFMCommunicate request_size=4 [10:46:09]MH_SAM_APDU [10:46:09]CAPDU: 80 17 00 00 [10:46:09]Write to MH i2c: E2 08 00 2F 13 80 17 00 00 00 00 00 00 C2 [10:46:09]Write i2c OK [10:46:09]MH_I2C_Read... [10:46:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:46:09]Read from MH i2c: E2 [10:46:09]MH_I2C_Read... [10:46:09]Read from MH i2c: E2 FD 00 [10:46:09]MH_I2C_Read... [10:46:09]Read from MH i2c: E2 FD 00 2F 13 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 82 [10:46:09]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 [10:46:09]wFMCommunicate OK [10:46:09]wFMCommunicate request_size=4 [10:46:09]MH_SAM_APDU [10:46:09]CAPDU: 80 17 00 00 [10:46:09]Write to MH i2c: E2 08 00 30 13 80 17 00 00 00 00 00 00 C3 [10:46:09]Write i2c OK [10:46:09]MH_I2C_Read... [10:46:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:46:10]Read from MH i2c: E2 [10:46:10]MH_I2C_Read... [10:46:10]Read from MH i2c: E2 FD 00 [10:46:10]MH_I2C_Read... [10:46:10]Read from MH i2c: E2 FD 00 30 13 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 32 [10:46:10]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 [10:46:10]wFMCommunicate OK [10:46:10]wFMCommunicate request_size=4 [10:46:10]MH_SAM_APDU [10:46:10]CAPDU: 80 17 00 00 [10:46:10]Write to MH i2c: E2 08 00 31 13 80 17 00 00 00 00 00 00 C4 [10:46:10]Write i2c OK [10:46:10]MH_I2C_Read... [10:46:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [10:46:10]Read from MH i2c: E2 [10:46:10]MH_I2C_Read... [10:46:10]Read from MH i2c: E2 D3 00 [10:46:10]MH_I2C_Read... [10:46:10]Read from MH i2c: E2 D3 00 31 13 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 B1 [10:46:10]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 [10:46:10]wFMCommunicate OK [10:46:10]SAM_PROTO_GetShiftData done [10:46:10]requested_item shift.sale.total_cash is exist - process it [10:46:10]requested_item shift.sale_refund.total is exist - process it [10:46:10]requested_item shift.sale_refund.total_cash is exist - process it [10:46:10]produce_requested_data done [10:46:10]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57160,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":14740.21,"shift.sale.total_cash":11412.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [10:46:10]process_action_free close_receipt [10:46:10]json_value_free [10:46:10]json_value_free done [10:46:10]process_json_proto returns [10:46:10]Send response to host [10:46:10]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57160,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":14740.21,"shift.sale.total_cash":11412.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [10:46:10]free response buf [10:46:10]execute_script done [10:46:10]execute_script returns [10:46:10]free content buf [10:46:10]Sock 9.Close socket [10:46:10]Sock 9.Thread stoped [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:09]accept exits with 8 [10:49:09]New connection [10:49:09]New thread 3067067748 created [10:49:09]Thread 3066924388 joined [10:49:09]Waiting for new connection... [10:49:09] Sock 8.Parse request [10:49:09]Sock 8.Check first char [10:49:09]Sock 8.First char is OK [10:49:09]request: POST /json_proto HTTP/1.0 [10:49:09]Method: POST [10:49:09]URL: /json_proto [10:49:09]Method is POST - this is cgi request [10:49:09]url: /json_proto [10:49:09]query_string will be loaded in cgi processing [10:49:09]execute_cgi json_proto POST (null) [10:49:09]execute_cgi path=json_proto method=POST [10:49:09]POST find Content-Length [10:49:09]Host: 172.17.39.4:8080 [10:49:09]Content-Length: 779 [10:49:09]Content-Type: application/json [10:49:09] [10:49:09]POST finish read [10:49:09]Found Content-Length = 779 [10:49:09]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129615", "tax_sys" : 0, "items" : [ { "code": "5449000189332", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043F\u0435\u0440\u0441\u0438\u043A 1\u043B", "price" : 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" ] } } [10:49:09]execute_script... [10:49: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)129615", "tax_sys" : 0, "items" : [ { "code": "5449000189332", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043F\u0435\u0440\u0441\u0438\u043A 1\u043B", "price" : 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" ] } } [10:49:09]POST & json_proto [10:49:09]process_json_proto [10:49:09]json parsed OK: [10:49:09]protocol is kg_v1.0 [10:49:09]action value=close_receipt [10:49:09]process_action close_receipt [10:49:09]cmd_close_receipt [10:49:09]MH_GetDate [10:49:09]Write to MH i2c: F0 00 00 32 13 34 [10:49:09]Write i2c OK [10:49:09]MH_I2C_Read... [10:49:09]Read from MH i2c: F0 [10:49:09]MH_I2C_Read... [10:49:09]Read from MH i2c: F0 09 00 [10:49:09]MH_I2C_Read... [10:49:09]Read from MH i2c: F0 09 00 32 13 00 A8 FE 94 66 2D 25 5D 64 F0 [10:49:09]GetLastDocTimeStamp 1721040366 [10:49:09]current date 1721040552 [10:49:09]FM_GetShiftState [10:49:09]SAM_PROTO_GetShiftState [10:49:09]wFMCommunicate request_size=4 [10:49:09]MH_SAM_APDU [10:49:09]CAPDU: 80 13 01 00 [10:49:09]Write to MH i2c: E2 08 00 33 13 80 13 01 00 00 00 00 00 C3 [10:49:09]Write i2c OK [10:49:09]MH_I2C_Read... [10:49:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:49:09]Read from MH i2c: E2 [10:49:09]MH_I2C_Read... [10:49:09]Read from MH i2c: E2 0E 00 [10:49:09]MH_I2C_Read... [10:49:09]Read from MH i2c: E2 0E 00 33 13 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 3C [10:49:09]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [10:49:09]wFMCommunicate OK [10:49:09]SAM_PROTO_GetShiftState done [10:49:09]FM_GetShiftState done [10:49:09]opened in 1721003525 [10:49:09]opened+sec_in_day 1721089925 [10:49:09]quantity*price = 10700 [10:49:09]sum+1 = 10701 [10:49:09]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 СНО: Общий режим Чек 56 15.07.2024 10:49 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57161 ФПД: 180115812319437 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T104912&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57161&fm=180115812319437&tin=02508201610067®Number=0000000000091208&sum=10700 0 [10:49:10]StoreToDocumentArchive [10:49:10]shift 497 fd 57161 [10:49:10]save to /storage/0497/doc_00057161 [10:49:10]save last doc name /storage/0497/doc_00057161 to /storage/kkm_last_doc_name [10:49:10]save OK [10:49:10]Clear old archive folders... [10:49:10]ProcessDocumentItem done err = 0, tmpTLVsize=287 [10:49:10]tlvbuf is 009C3060 [10:49:10]SAM_PROTO_ClearQueue [10:49:10]wFMCommunicate request_size=4 [10:49:10]MH_SAM_APDU [10:49:10]CAPDU: 80 09 00 00 [10:49:10]Write to MH i2c: E2 08 00 40 13 80 09 00 00 00 00 00 00 C5 [10:49:10]Write i2c OK [10:49:10]MH_I2C_Read... [10:49:10]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:49:10]Read from MH i2c: E2 [10:49:10]MH_I2C_Read... [10:49:10]Read from MH i2c: E2 03 00 [10:49:10]MH_I2C_Read... [10:49:10]Read from MH i2c: E2 03 00 40 13 00 90 00 C7 [10:49:10]RAPDU: 90 00 [10:49:10]wFMCommunicate OK [10:49:10]SAM_PROTO_ClearQueue done [10:49:10]KKMCreateOFDPacket [10:49:10]OFDProtocolAddRootSTLVToBuf [10:49:10]FM_MakeSignedData [10:49:10]FM_MakeSignedData [10:49:10]SAM_PROTO_SignData [10:49:10]wFMCommunicate request_size=4 [10:49:10]MH_SAM_APDU [10:49:10]CAPDU: 80 0D 01 02 [10:49:10]Write to MH i2c: E2 08 00 41 13 80 0D 01 02 00 00 00 00 CD [10:49:10]Write i2c OK [10:49:10]MH_I2C_Read... [10:49:10]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:49:10]Read from MH i2c: E2 [10:49:10]MH_I2C_Read... [10:49:10]Read from MH i2c: E2 03 00 [10:49:10]MH_I2C_Read... [10:49:10]Read from MH i2c: E2 03 00 41 13 00 90 00 C8 [10:49:10]RAPDU: 90 00 [10:49:10]wFMCommunicate OK [10:49:10]wFMCommunicate request_size=255 [10:49:10]MH_SAM_APDU [10:49:10]CAPDU: 80 0D 02 02 FA 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 33 32 06 04 2D 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 38 00 00 00 F4 03 04 00 A8 FE 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 [10:49:10]Write to MH i2c: E2 02 01 42 13 80 0D 02 02 FA 00 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 33 32 06 04 2D 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 38 00 00 00 F4 03 04 00 A8 FE 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 00 00 A2 [10:49:10]Write i2c OK [10:49:10]MH_I2C_Read... [10:49:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:49:11]Read from MH i2c: E2 [10:49:11]MH_I2C_Read... [10:49:11]Read from MH i2c: E2 03 00 [10:49:11]MH_I2C_Read... [10:49:11]Read from MH i2c: E2 03 00 42 13 00 90 00 C9 [10:49:11]RAPDU: 90 00 [10:49:11]wFMCommunicate OK [10:49:11]wFMCommunicate request_size=46 [10:49:11]MH_SAM_APDU [10:49:11]CAPDU: 80 0D 02 02 29 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 49 DF 00 00 35 04 06 00 A3 D0 7B 03 00 CD [10:49:11]Write to MH i2c: E2 31 00 43 13 80 0D 02 02 29 00 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 49 DF 00 00 35 04 06 00 A3 D0 7B 03 00 CD 00 00 45 [10:49:11]Write i2c OK [10:49:11]MH_I2C_Read... [10:49:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:49:11]Read from MH i2c: E2 [10:49:11]MH_I2C_Read... [10:49:11]Read from MH i2c: E2 03 00 [10:49:11]MH_I2C_Read... [10:49:11]Read from MH i2c: E2 03 00 43 13 00 90 00 CA [10:49:11]RAPDU: 90 00 [10:49:11]wFMCommunicate OK [10:49:11]wFMCommunicate request_size=4 [10:49:11]MH_SAM_APDU [10:49:11]CAPDU: 80 0D 03 02 [10:49:11]Write to MH i2c: E2 08 00 44 13 80 0D 03 02 00 00 00 00 D2 [10:49:11]Write i2c OK [10:49:11]MH_I2C_Read... [10:49:11]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:49:11]Read from MH i2c: E2 [10:49:11]MH_I2C_Read... [10:49:11]Read from MH i2c: E2 0B 00 [10:49:11]MH_I2C_Read... [10:49:11]Read from MH i2c: E2 0B 00 44 13 00 28 74 CC F3 0C 87 A3 15 90 00 79 [10:49:11]RAPDU: 28 74 CC F3 0C 87 A3 15 90 00 [10:49:11]wFMCommunicate OK [10:49:11]SAM_PROTO_SignData done [10:49:11]FM_MakeSignedData done [10:49:11]CreateOFDProtocolMessage [10:49:11]wFMCommunicate request_size=4 [10:49:11]MH_SAM_APDU [10:49:11]CAPDU: 80 11 00 00 [10:49:11]Write to MH i2c: E2 08 00 45 13 80 11 00 00 00 00 00 00 D2 [10:49:11]Write i2c OK [10:49:11]MH_I2C_Read... [10:49:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:49:11]Read from MH i2c: E2 [10:49:11]MH_I2C_Read... [10:49:11]Read from MH i2c: E2 17 00 [10:49:11]MH_I2C_Read... [10:49:11]Read from MH i2c: E2 17 00 45 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 2C [10:49:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [10:49:11]wFMCommunicate OK [10:49:11]CreateOFDProtocolMessage done [10:49:11]OFDSenderStorePacket 57161 [10:49:11]StoreOFDPacket docnum=57161 [10:49: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 33 01 00 00 47 B0 2B 01 D1 C2 5A 03 01 00 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 33 32 06 04 2D 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 38 00 00 00 F4 03 04 00 A8 FE 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 49 DF 00 00 35 04 06 00 A3 D0 7B 03 00 CD 28 74 CC F3 0C 87 A3 15 [10:49:11]CheckFolder [10:49:11]dirname=/storage/ofd_packets [10:49:11]CheckFolder done [10:49:11]ProducePacketName [10:49:11]name=ofd_packets/00057161 [10:49:11]NVStorageSaveData ofd_packets/00057161 [10:49:11]File name is /storage/ofd_packets/00057161 [10:49:11]Write 337 bytes [10:49:11]NVStorageSaveData done [10:49:11]OFDSenderStorePacket done [10:49:11]KKMCreateOFDPacket done [10:49:11]NVStorageSaveData kkm_last_timestamp [10:49:11]File name is /storage/kkm_last_timestamp [10:49:11]Write 4 bytes [10:49:11]NVStorageSaveData done [10:49:11]ExternCall_PrintAddStr [10:49:11]wPrintStart [10:49:11]Write to MH i2c: 01 00 00 46 13 59 [10:49:11]Write i2c OK [10:49:11]MH_I2C_Read... [10:49:11]Read from MH i2c: 01 [10:49:11]MH_I2C_Read... [10:49:11]Read from MH i2c: 01 07 00 [10:49:11]MH_I2C_Read... [10:49:11]Read from MH i2c: 01 07 00 46 13 00 00 00 00 00 FF 0F 6E [10:49:11]RasterBufferAndPrint [10:49:11]line Счет N : (3)129615 [10:49:11]line ИНН: 02508201610067 [10:49:11]line Контрольно-Кассовый Чек [10:49:11]line ПРОДАЖА [10:49:11]line Товар: 5449000189332 [10:49:11]line Холодный чай Fuse персик 1л [10:49:11]line 1.000 * 107.00 [10:49:11]line = 107.00 [10:49:11]line НДС 12% НСП 1% [10:49:11]line > о реализуемом товаре [10:49:11]line ИТОГО: 107.00 [10:49:11]line НСП 1% : 0.95 [10:49:11]line НДС 12% : 11.36 [10:49:11]line Наличными: 107.00 [10:49:11]line Безнал.: 0.00 [10:49:11]line Место: АЗС № 132 "Партнер Нефть" [10:49:11]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [10:49:11]line СНО: Общий режим [10:49:11]line Чек 56 15.07.2024 10:49 [10:49:11]line Смена: 497 ФФД: 1.0 [10:49:11]line ЗНМ: 0300000132 [10:49:11]line РНМ: 0000000000091208 [10:49:11]line Версия ККМ: 001 [10:49:11]line ФМ: 0000000000874857 [10:49:11]line ФД: 57161 [10:49:11]line ФПД: 180115812319437 [10:49:11]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T104912&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57161&fm=180115812319437&tin=02508201610067®Number=0000000000091208&sum=10700 [10:49:11]line 0 [10:49:11]OFD Sender: Processing packet 57161 [packets to send 38, broken 37] [10:49:11]ProducePacketName [10:49:11]name=ofd_packets/00057161 [10:49:11]OFD Sender: To server: pG, [10:49:11]CommunicateWithHost lk.salyk.kg:30040 [10:49:11]ConnectInit lk.salyk.kg [10:49:11]written 0, free lines is 4095 [10:49:11]Connected sock=10 [10:49: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 33 01 00 00 47 B0 2B 01 D1 C2 5A 03 01 00 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 33 32 06 04 2D 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 38 00 00 00 F4 03 04 00 A8 FE 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 49 DF 00 00 35 04 06 00 A3 D0 7B 03 00 CD 28 74 CC F3 0C 87 A3 15 [10:49: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 29 63 47 00 17 7A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 49 DF 00 00 F4 03 04 00 F7 A4 94 66 B6 04 01 00 00 6C DF D2 11 6A 03 54 19 [10:49:11]CommunicateWithHost err = 0 [10:49:11]CheckOFDResponse [10:49:11]1017 (14) - 77093643461234 [10:49:11]1041 (16) - 0000000000874857 [10:49:11]1040 (4) - 57161 [10:49:11]1012 (4) - 15.07.2024 04:26 [10:49:11]1206 (1) - 0 [10:49:11]OFD Sender: Remove packet 57161 [10:49:11]ProducePacketName [10:49:11]name=ofd_packets/00057161 [10:49:11]NVStorageDeleteData [10:49:12]Write to MH i2c: 01 00 00 6E 13 81 [10:49:12]Write i2c OK [10:49:12]MH_I2C_Read... [10:49:12]Read from MH i2c: 01 [10:49:12]MH_I2C_Read... [10:49:12]Read from MH i2c: 01 07 00 [10:49:12]MH_I2C_Read... [10:49:12]Read from MH i2c: 01 07 00 6E 13 00 00 00 00 00 04 0D 99 [10:49:12]RasterBufferAndPrint [10:49:12]line [10:49:12]line [10:49:12]line [10:49:12]line [10:49:12]line [10:49:12]written 0, free lines is 3337 [10:49:12]MH_Cut [10:49:12]Write to MH i2c: D1 01 00 75 13 01 5A [10:49:12]Write i2c OK [10:49:12]MH_I2C_Read... [10:49:12]Read from MH i2c: D1 [10:49:12]MH_I2C_Read... [10:49:12]Read from MH i2c: D1 01 00 [10:49:12]MH_I2C_Read... [10:49:12]Read from MH i2c: D1 01 00 75 13 00 59 [10:49:12]Write to MH i2c: 01 00 00 76 13 89 [10:49:12]Write i2c OK [10:49:12]MH_I2C_Read... [10:49:12]OFD Sender: No OFD packet to send [10:49:12]*** Cut start [10:49:12]*** Partial cut [10:49:12]*** CUTSNS_PIN = 1 [10:49:12]*** CUTSNS_PIN = 0 [10:49:13]*** Brake cut motor [10:49:13]Read from MH i2c: 01 [10:49:13]MH_I2C_Read... [10:49:13]*** Stop cut motor [10:49:13]*** Cut end [10:49:13]Read from MH i2c: 01 07 00 [10:49:13]MH_I2C_Read... [10:49:13]Read from MH i2c: 01 07 00 76 13 00 00 00 00 00 FF 0F 9E [10:49:13]process_action close_receipt done [10:49:13]requested_data is exist [10:49:13]produce_requested_data [10:49:13]requested_item fm.sn is exist - process it [10:49:13]wFMCommunicate request_size=4 [10:49:13]MH_SAM_APDU [10:49:13]CAPDU: 80 11 00 00 [10:49:13]Write to MH i2c: E2 08 00 77 13 80 11 00 00 00 00 00 00 04 [10:49:13]Write i2c OK [10:49:13]MH_I2C_Read... [10:49:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:49:13]Read from MH i2c: E2 [10:49:13]MH_I2C_Read... [10:49:13]Read from MH i2c: E2 17 00 [10:49:13]MH_I2C_Read... [10:49:13]Read from MH i2c: E2 17 00 77 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 5E [10:49:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [10:49:13]wFMCommunicate OK [10:49:13]requested_item fd.num is exist - process it [10:49:13]SAM_PROTO_GetFieldsCounters [10:49:13]wFMCommunicate request_size=4 [10:49:13]MH_SAM_APDU [10:49:13]CAPDU: 80 13 00 00 [10:49:13]Write to MH i2c: E2 08 00 78 13 80 13 00 00 00 00 00 00 07 [10:49:13]Write i2c OK [10:49:13]MH_I2C_Read... [10:49:13]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:49:13]Read from MH i2c: E2 [10:49:13]MH_I2C_Read... [10:49:13]Read from MH i2c: E2 62 00 [10:49:13]MH_I2C_Read... [10:49:13]Read from MH i2c: E2 62 00 78 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 49 DF 00 00 0E 04 04 00 F1 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 EC [10:49: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 49 DF 00 00 0E 04 04 00 F1 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:49:13]wFMCommunicate OK [10:49:13]SAM_PROTO_GetFieldsCounters done [10:49:13]requested_item shift.num is exist - process it [10:49:13]requested_item shift.opened is exist - process it [10:49:13]req_shift_opened [10:49:13]FM_GetShiftState [10:49:13]SAM_PROTO_GetShiftState [10:49:13]wFMCommunicate request_size=4 [10:49:13]MH_SAM_APDU [10:49:13]CAPDU: 80 13 01 00 [10:49:13]Write to MH i2c: E2 08 00 79 13 80 13 01 00 00 00 00 00 09 [10:49:13]Write i2c OK [10:49:13]MH_I2C_Read... [10:49:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:49:13]Read from MH i2c: E2 [10:49:13]MH_I2C_Read... [10:49:13]Read from MH i2c: E2 0E 00 [10:49:13]MH_I2C_Read... [10:49:13]Read from MH i2c: E2 0E 00 79 13 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 82 [10:49:13]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [10:49:13]wFMCommunicate OK [10:49:13]SAM_PROTO_GetShiftState done [10:49:13]FM_GetShiftState done [10:49:13]req_shift_opened done [10:49:13]requested_item shift.open_date is exist - process it [10:49:13]req_shift_open_date [10:49:13]req_shift_open_date done [10:49:13]requested_item shift.sale.total is exist - process it [10:49:13]SAM_PROTO_GetShiftData [10:49:13]wFMCommunicate request_size=4 [10:49:13]MH_SAM_APDU [10:49:13]CAPDU: 80 13 02 00 [10:49:13]Write to MH i2c: E2 08 00 7A 13 80 13 02 00 00 00 00 00 0B [10:49:13]Write i2c OK [10:49:13]MH_I2C_Read... [10:49:14]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [10:49:14]Read from MH i2c: E2 [10:49:14]MH_I2C_Read... [10:49:14]Read from MH i2c: E2 FD 00 [10:49:14]MH_I2C_Read... [10:49:14]Read from MH i2c: E2 FD 00 7A 13 00 B6 04 AA 04 B2 04 6E 04 04 00 38 00 00 00 69 04 9B 00 6F 04 04 00 37 00 00 00 B1 04 03 00 B1 A7 16 70 04 03 00 9C 93 11 72 04 03 00 15 14 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 E5 67 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 51 33 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 8A [10:49:14]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 38 00 00 00 69 04 9B 00 6F 04 04 00 37 00 00 00 B1 04 03 00 B1 A7 16 70 04 03 00 9C 93 11 72 04 03 00 15 14 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 E5 67 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 51 33 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 [10:49:14]wFMCommunicate OK [10:49:14]wFMCommunicate request_size=4 [10:49:14]MH_SAM_APDU [10:49:14]CAPDU: 80 17 00 00 [10:49:14]Write to MH i2c: E2 08 00 7B 13 80 17 00 00 00 00 00 00 0E [10:49:14]Write i2c OK [10:49:14]MH_I2C_Read... [10:49:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:49:14]Read from MH i2c: E2 [10:49:14]MH_I2C_Read... [10:49:14]Read from MH i2c: E2 FD 00 [10:49:14]MH_I2C_Read... [10:49:14]Read from MH i2c: E2 FD 00 7B 13 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 43 [10:49:14]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 [10:49:14]wFMCommunicate OK [10:49:14]wFMCommunicate request_size=4 [10:49:14]MH_SAM_APDU [10:49:14]CAPDU: 80 17 00 00 [10:49:14]Write to MH i2c: E2 08 00 7C 13 80 17 00 00 00 00 00 00 0F [10:49:14]Write i2c OK [10:49:14]MH_I2C_Read... [10:49:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:49:14]Read from MH i2c: E2 [10:49:14]MH_I2C_Read... [10:49:14]Read from MH i2c: E2 FD 00 [10:49:14]MH_I2C_Read... [10:49:14]Read from MH i2c: E2 FD 00 7C 13 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 CF [10:49:14]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 [10:49:14]wFMCommunicate OK [10:49:14]wFMCommunicate request_size=4 [10:49:14]MH_SAM_APDU [10:49:14]CAPDU: 80 17 00 00 [10:49:14]Write to MH i2c: E2 08 00 7D 13 80 17 00 00 00 00 00 00 10 [10:49:14]Write i2c OK [10:49:14]MH_I2C_Read... [10:49:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:49:15]Read from MH i2c: E2 [10:49:15]MH_I2C_Read... [10:49:15]Read from MH i2c: E2 FD 00 [10:49:15]MH_I2C_Read... [10:49:15]Read from MH i2c: E2 FD 00 7D 13 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 7F [10:49:15]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 [10:49:15]wFMCommunicate OK [10:49:15]wFMCommunicate request_size=4 [10:49:15]MH_SAM_APDU [10:49:15]CAPDU: 80 17 00 00 [10:49:15]Write to MH i2c: E2 08 00 7E 13 80 17 00 00 00 00 00 00 11 [10:49:15]Write i2c OK [10:49:15]MH_I2C_Read... [10:49:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [10:49:15]Read from MH i2c: E2 [10:49:15]MH_I2C_Read... [10:49:15]Read from MH i2c: E2 D3 00 [10:49:15]MH_I2C_Read... [10:49:15]Read from MH i2c: E2 D3 00 7E 13 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 FE [10:49:15]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 [10:49:15]wFMCommunicate OK [10:49:15]SAM_PROTO_GetShiftData done [10:49:15]requested_item shift.sale.total_cash is exist - process it [10:49:15]requested_item shift.sale_refund.total is exist - process it [10:49:15]requested_item shift.sale_refund.total_cash is exist - process it [10:49:15]produce_requested_data done [10:49:15]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57161,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":14847.21,"shift.sale.total_cash":11519.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [10:49:15]process_action_free close_receipt [10:49:15]json_value_free [10:49:15]json_value_free done [10:49:15]process_json_proto returns [10:49:15]Send response to host [10:49:15]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57161,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":14847.21,"shift.sale.total_cash":11519.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [10:49:15]free response buf [10:49:15]execute_script done [10:49:15]execute_script returns [10:49:15]free content buf [10:49:15]Sock 8.Close socket [10:49:15]Sock 8.Thread stoped [10:49:17]OFD Sender: No OFD packet to send [10:49:22]OFD Sender: No OFD packet to send [10:49:27]OFD Sender: No OFD packet to send [10:49:32]OFD Sender: No OFD packet to send [10:49:37]OFD Sender: No OFD packet to send [10:49:42]OFD Sender: No OFD packet to send [10:49:47]OFD Sender: No OFD packet to send [10:49:52]OFD Sender: No OFD packet to send [10:49:57]OFD Sender: No OFD packet to send [10:50:02]OFD Sender: No OFD packet to send [10:50:07]OFD Sender: No OFD packet to send [10:50:12]OFD Sender: No OFD packet to send [10:50:17]OFD Sender: No OFD packet to send [10:50:22]OFD Sender: No OFD packet to send [10:50:27]OFD Sender: No OFD packet to send [10:50:32]OFD Sender: No OFD packet to send [10:50:37]OFD Sender: No OFD packet to send [10:50:42]OFD Sender: No OFD packet to send [10:50:47]OFD Sender: No OFD packet to send [10:50:52]OFD Sender: No OFD packet to send [10:50:57]OFD Sender: No OFD packet to send [10:51:02]OFD Sender: No OFD packet to send [10:51:07]OFD Sender: No OFD packet to send [10:51:12]OFD Sender: No OFD packet to send [10:51:17]OFD Sender: No OFD packet to send [10:51:22]OFD Sender: No OFD packet to send [10:51:27]OFD Sender: No OFD packet to send [10:51:32]OFD Sender: No OFD packet to send [10:51:37]OFD Sender: No OFD packet to send [10:51:42]OFD Sender: No OFD packet to send [10:51:47]OFD Sender: No OFD packet to send [10:51:52]OFD Sender: No OFD packet to send [10:51:57]OFD Sender: No OFD packet to send [10:52:02]OFD Sender: No OFD packet to send [10:52:07]OFD Sender: No OFD packet to send [10:52:12]OFD Sender: No OFD packet to send [10:52:17]OFD Sender: No OFD packet to send [10:52:22]OFD Sender: No OFD packet to send [10:52:27]OFD Sender: No OFD packet to send [10:52:32]OFD Sender: No OFD packet to send [10:52:37]OFD Sender: No OFD packet to send [10:52:42]OFD Sender: No OFD packet to send [10:52:47]OFD Sender: No OFD packet to send [10:52:52]OFD Sender: No OFD packet to send [10:52:57]OFD Sender: No OFD packet to send [10:53:02]OFD Sender: No OFD packet to send [10:53:07]OFD Sender: No OFD packet to send [10:53:12]OFD Sender: No OFD packet to send [10:53:17]OFD Sender: No OFD packet to send [10:53:22]OFD Sender: No OFD packet to send [10:53:27]OFD Sender: No OFD packet to send [10:53:32]OFD Sender: No OFD packet to send [10:53:37]OFD Sender: No OFD packet to send [10:53:42]OFD Sender: No OFD packet to send [10:53:47]OFD Sender: No OFD packet to send [10:53:52]OFD Sender: No OFD packet to send [10:53:57]OFD Sender: No OFD packet to send [10:54:02]OFD Sender: No OFD packet to send [10:54:07]OFD Sender: No OFD packet to send [10:54:12]OFD Sender: No OFD packet to send [10:54:17]OFD Sender: No OFD packet to send [10:54:22]OFD Sender: No OFD packet to send [10:54:27]OFD Sender: No OFD packet to send [10:54:32]OFD Sender: No OFD packet to send [10:54:37]OFD Sender: No OFD packet to send [10:54:42]OFD Sender: No OFD packet to send [10:54:47]OFD Sender: No OFD packet to send [10:54:52]OFD Sender: No OFD packet to send [10:54:57]OFD Sender: No OFD packet to send [10:55:02]OFD Sender: No OFD packet to send [10:55:07]OFD Sender: No OFD packet to send [10:55:12]OFD Sender: No OFD packet to send [10:55:17]OFD Sender: No OFD packet to send [10:55:22]OFD Sender: No OFD packet to send [10:55:27]OFD Sender: No OFD packet to send [10:55:32]OFD Sender: No OFD packet to send [10:55:37]OFD Sender: No OFD packet to send [10:55:42]OFD Sender: No OFD packet to send [10:55:47]OFD Sender: No OFD packet to send [10:55:52]OFD Sender: No OFD packet to send [10:55:57]OFD Sender: No OFD packet to send [10:56:02]OFD Sender: No OFD packet to send [10:56:07]OFD Sender: No OFD packet to send [10:56:12]OFD Sender: No OFD packet to send [10:56:17]OFD Sender: No OFD packet to send [10:56:22]OFD Sender: No OFD packet to send [10:56:27]OFD Sender: No OFD packet to send [10:56:32]OFD Sender: No OFD packet to send [10:56:37]OFD Sender: No OFD packet to send [10:56:42]OFD Sender: No OFD packet to send [10:56:47]OFD Sender: No OFD packet to send [10:56:52]OFD Sender: No OFD packet to send [10:56:57]OFD Sender: No OFD packet to send [10:57:02]OFD Sender: No OFD packet to send [10:57:07]OFD Sender: No OFD packet to send [10:57:12]OFD Sender: No OFD packet to send [10:57:17]OFD Sender: No OFD packet to send [10:57:22]OFD Sender: No OFD packet to send [10:57:27]OFD Sender: No OFD packet to send [10:57:32]OFD Sender: No OFD packet to send [10:57:37]OFD Sender: No OFD packet to send [10:57:42]OFD Sender: No OFD packet to send [10:57:47]OFD Sender: No OFD packet to send [10:57:52]OFD Sender: No OFD packet to send [10:57:57]OFD Sender: No OFD packet to send [10:58:02]OFD Sender: No OFD packet to send [10:58:08]OFD Sender: No OFD packet to send [10:58:13]OFD Sender: No OFD packet to send [10:58:18]OFD Sender: No OFD packet to send [10:58:23]OFD Sender: No OFD packet to send [10:58:28]OFD Sender: No OFD packet to send [10:58:33]OFD Sender: No OFD packet to send [10:58:38]OFD Sender: No OFD packet to send [10:58:43]OFD Sender: No OFD packet to send [10:58:48]OFD Sender: No OFD packet to send [10:58:53]OFD Sender: No OFD packet to send [10:58:58]OFD Sender: No OFD packet to send [10:59:03]OFD Sender: No OFD packet to send [10:59:08]OFD Sender: No OFD packet to send [10:59:13]OFD Sender: No OFD packet to send [10:59:18]OFD Sender: No OFD packet to send [10:59:23]OFD Sender: No OFD packet to send [10:59:28]OFD Sender: No OFD packet to send [10:59:33]OFD Sender: No OFD packet to send [10:59:38]OFD Sender: No OFD packet to send [10:59:43]OFD Sender: No OFD packet to send [10:59:48]OFD Sender: No OFD packet to send [10:59:53]OFD Sender: No OFD packet to send [10:59:58]OFD Sender: No OFD packet to send [11:00:03]OFD Sender: No OFD packet to send [11:00:08]OFD Sender: No OFD packet to send [11:00:13]OFD Sender: No OFD packet to send [11:00:18]OFD Sender: No OFD packet to send [11:00:23]OFD Sender: No OFD packet to send [11:00:28]OFD Sender: No OFD packet to send [11:00:33]OFD Sender: No OFD packet to send [11:00:38]OFD Sender: No OFD packet to send [11:00:43]OFD Sender: No OFD packet to send [11:00:48]OFD Sender: No OFD packet to send [11:00:53]OFD Sender: No OFD packet to send [11:00:58]OFD Sender: No OFD packet to send [11:01:03]OFD Sender: No OFD packet to send [11:01:08]OFD Sender: No OFD packet to send [11:01:13]OFD Sender: No OFD packet to send [11:01:18]OFD Sender: No OFD packet to send [11:01:23]OFD Sender: No OFD packet to send [11:01:28]OFD Sender: No OFD packet to send [11:01:33]OFD Sender: No OFD packet to send [11:01:38]OFD Sender: No OFD packet to send [11:01:43]OFD Sender: No OFD packet to send [11:01:48]OFD Sender: No OFD packet to send [11:01:53]OFD Sender: No OFD packet to send [11:01:58]OFD Sender: No OFD packet to send [11:02:03]OFD Sender: No OFD packet to send [11:02:08]OFD Sender: No OFD packet to send [11:02:13]OFD Sender: No OFD packet to send [11:02:18]OFD Sender: No OFD packet to send [11:02:23]OFD Sender: No OFD packet to send [11:02:28]OFD Sender: No OFD packet to send [11:02:33]OFD Sender: No OFD packet to send [11:02:38]OFD Sender: No OFD packet to send [11:02:43]OFD Sender: No OFD packet to send [11:02:48]OFD Sender: No OFD packet to send [11:02:53]OFD Sender: No OFD packet to send [11:02:58]OFD Sender: No OFD packet to send [11:03:03]OFD Sender: No OFD packet to send [11:03:08]OFD Sender: No OFD packet to send [11:03:13]OFD Sender: No OFD packet to send [11:03:18]OFD Sender: No OFD packet to send [11:03:23]OFD Sender: No OFD packet to send [11:03:28]OFD Sender: No OFD packet to send [11:03:33]OFD Sender: No OFD packet to send [11:03:38]OFD Sender: No OFD packet to send [11:03:43]OFD Sender: No OFD packet to send [11:03:48]OFD Sender: No OFD packet to send [11:03:53]OFD Sender: No OFD packet to send [11:03:58]OFD Sender: No OFD packet to send [11:04:03]OFD Sender: No OFD packet to send [11:04:08]OFD Sender: No OFD packet to send [11:04:13]OFD Sender: No OFD packet to send [11:04:18]OFD Sender: No OFD packet to send [11:04:23]OFD Sender: No OFD packet to send [11:04:28]OFD Sender: No OFD packet to send [11:04:33]OFD Sender: No OFD packet to send [11:04:38]OFD Sender: No OFD packet to send [11:04:43]OFD Sender: No OFD packet to send [11:04:48]OFD Sender: No OFD packet to send [11:04:53]OFD Sender: No OFD packet to send [11:04:58]OFD Sender: No OFD packet to send [11:05:03]OFD Sender: No OFD packet to send [11:05:08]OFD Sender: No OFD packet to send [11:05:13]OFD Sender: No OFD packet to send [11:05:18]OFD Sender: No OFD packet to send [11:05:23]OFD Sender: No OFD packet to send [11:05:28]OFD Sender: No OFD packet to send [11:05:33]OFD Sender: No OFD packet to send [11:05:38]OFD Sender: No OFD packet to send [11:05:43]OFD Sender: No OFD packet to send [11:05:48]OFD Sender: No OFD packet to send [11:05:53]OFD Sender: No OFD packet to send [11:05:58]OFD Sender: No OFD packet to send [11:06:03]OFD Sender: No OFD packet to send [11:06:08]OFD Sender: No OFD packet to send [11:06:13]OFD Sender: No OFD packet to send [11:06:18]OFD Sender: No OFD packet to send [11:06:23]OFD Sender: No OFD packet to send [11:06:28]OFD Sender: No OFD packet to send [11:06:33]OFD Sender: No OFD packet to send [11:06:38]OFD Sender: No OFD packet to send [11:06:43]OFD Sender: No OFD packet to send [11:06:48]OFD Sender: No OFD packet to send [11:06:53]OFD Sender: No OFD packet to send [11:06:58]OFD Sender: No OFD packet to send [11:07:03]OFD Sender: No OFD packet to send [11:07:08]OFD Sender: No OFD packet to send [11:07:13]OFD Sender: No OFD packet to send [11:07:18]OFD Sender: No OFD packet to send [11:07:23]OFD Sender: No OFD packet to send [11:07:28]OFD Sender: No OFD packet to send [11:07:33]OFD Sender: No OFD packet to send [11:07:38]OFD Sender: No OFD packet to send [11:07:43]OFD Sender: No OFD packet to send [11:07:48]OFD Sender: No OFD packet to send [11:07:53]OFD Sender: No OFD packet to send [11:07:58]OFD Sender: No OFD packet to send [11:08:03]OFD Sender: No OFD packet to send [11:08:08]OFD Sender: No OFD packet to send [11:08:13]OFD Sender: No OFD packet to send [11:08:18]OFD Sender: No OFD packet to send [11:08:23]OFD Sender: No OFD packet to send [11:08:28]OFD Sender: No OFD packet to send [11:08:33]OFD Sender: No OFD packet to send [11:08:38]OFD Sender: No OFD packet to send [11:08:43]OFD Sender: No OFD packet to send [11:08:48]OFD Sender: No OFD packet to send [11:08:53]OFD Sender: No OFD packet to send [11:08:58]OFD Sender: No OFD packet to send [11:09:03]OFD Sender: No OFD packet to send [11:09:08]OFD Sender: No OFD packet to send [11:09:13]OFD Sender: No OFD packet to send [11:09:18]OFD Sender: No OFD packet to send [11:09:23]OFD Sender: No OFD packet to send [11:09:28]OFD Sender: No OFD packet to send [11:09:33]OFD Sender: No OFD packet to send [11:09:38]OFD Sender: No OFD packet to send [11:09:43]OFD Sender: No OFD packet to send [11:09:48]OFD Sender: No OFD packet to send [11:09:53]OFD Sender: No OFD packet to send [11:09:58]OFD Sender: No OFD packet to send [11:10:03]OFD Sender: No OFD packet to send [11:10:08]OFD Sender: No OFD packet to send [11:10:13]OFD Sender: No OFD packet to send [11:10:18]OFD Sender: No OFD packet to send [11:10:23]OFD Sender: No OFD packet to send [11:10:28]OFD Sender: No OFD packet to send [11:10:33]OFD Sender: No OFD packet to send [11:10:38]OFD Sender: No OFD packet to send [11:10:43]OFD Sender: No OFD packet to send [11:10:48]OFD Sender: No OFD packet to send [11:10:53]OFD Sender: No OFD packet to send [11:10:58]OFD Sender: No OFD packet to send [11:11:03]OFD Sender: No OFD packet to send [11:11:08]OFD Sender: No OFD packet to send [11:11:13]OFD Sender: No OFD packet to send [11:11:18]OFD Sender: No OFD packet to send [11:11:23]OFD Sender: No OFD packet to send [11:11:28]OFD Sender: No OFD packet to send [11:11:33]OFD Sender: No OFD packet to send [11:11:38]OFD Sender: No OFD packet to send [11:11:43]OFD Sender: No OFD packet to send [11:11:48]OFD Sender: No OFD packet to send [11:11:53]OFD Sender: No OFD packet to send [11:11:58]OFD Sender: No OFD packet to send [11:12:03]OFD Sender: No OFD packet to send [11:12:08]OFD Sender: No OFD packet to send [11:12:13]OFD Sender: No OFD packet to send [11:12:18]OFD Sender: No OFD packet to send [11:12:23]OFD Sender: No OFD packet to send [11:12:28]OFD Sender: No OFD packet to send [11:12:33]OFD Sender: No OFD packet to send [11:12:38]OFD Sender: No OFD packet to send [11:12:43]OFD Sender: No OFD packet to send [11:12:47]accept exits with 9 [11:12:47]New connection [11:12:47]New thread 3066924388 created [11:12:47]Thread 3067067748 joined [11:12:47]Waiting for new connection... [11:12:47] Sock 9.Parse request [11:12:47]Sock 9.Check first char [11:12:47]Sock 9.First char is OK [11:12:47]request: POST /json_proto HTTP/1.0 [11:12:47]Method: POST [11:12:47]URL: /json_proto [11:12:47]Method is POST - this is cgi request [11:12:47]url: /json_proto [11:12:47]query_string will be loaded in cgi processing [11:12:47]execute_cgi json_proto POST (null) [11:12:47]execute_cgi path=json_proto method=POST [11:12:47]POST find Content-Length [11:12:47]Host: 172.17.39.4:8080 [11:12:47]Content-Length: 725 [11:12:47]Content-Type: application/json [11:12:47] [11:12:47]POST finish read [11:12:47]Found Content-Length = 725 [11:12:47]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129616", "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" ] } } [11:12:47]execute_script... [11:12: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)129616", "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" ] } } [11:12:47]POST & json_proto [11:12:47]process_json_proto [11:12:47]json parsed OK: [11:12:47]protocol is kg_v1.0 [11:12:47]action value=close_receipt [11:12:47]process_action close_receipt [11:12:47]cmd_close_receipt [11:12:47]MH_GetDate [11:12:47]Write to MH i2c: F0 00 00 7F 13 81 [11:12:47]Write i2c OK [11:12:47]MH_I2C_Read... [11:12:47]Read from MH i2c: F0 [11:12:47]MH_I2C_Read... [11:12:47]Read from MH i2c: F0 09 00 [11:12:47]MH_I2C_Read... [11:12:47]Read from MH i2c: F0 09 00 7F 13 00 32 04 95 66 2D 25 5D 64 CE [11:12:47]GetLastDocTimeStamp 1721040552 [11:12:47]current date 1721041970 [11:12:47]FM_GetShiftState [11:12:47]SAM_PROTO_GetShiftState [11:12:47]wFMCommunicate request_size=4 [11:12:47]MH_SAM_APDU [11:12:47]CAPDU: 80 13 01 00 [11:12:47]Write to MH i2c: E2 08 00 80 13 80 13 01 00 00 00 00 00 10 [11:12:47]Write i2c OK [11:12:47]MH_I2C_Read... [11:12:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:12:47]Read from MH i2c: E2 [11:12:47]MH_I2C_Read... [11:12:47]Read from MH i2c: E2 0E 00 [11:12:47]MH_I2C_Read... [11:12:47]Read from MH i2c: E2 0E 00 80 13 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 89 [11:12:47]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [11:12:47]wFMCommunicate OK [11:12:47]SAM_PROTO_GetShiftState done [11:12:47]FM_GetShiftState done [11:12:47]opened in 1721003525 [11:12:47]opened+sec_in_day 1721089925 [11:12:47]quantity*price = 14000 [11:12:47]sum+1 = 14001 [11:12:47]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 СНО: Общий режим Чек 57 15.07.2024 11:12 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57162 ФПД: 13074981985830 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T111250&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57162&fm=13074981985830&tin=02508201610067®Number=0000000000091208&sum=14000 0 [11:12:48]StoreToDocumentArchive [11:12:48]shift 497 fd 57162 [11:12:48]save to /storage/0497/doc_00057162 [11:12:48]save last doc name /storage/0497/doc_00057162 to /storage/kkm_last_doc_name [11:12:48]save OK [11:12:48]Clear old archive folders... [11:12:48]ProcessDocumentItem done err = 0, tmpTLVsize=273 [11:12:48]tlvbuf is 0099E610 [11:12:48]SAM_PROTO_ClearQueue [11:12:48]wFMCommunicate request_size=4 [11:12:48]MH_SAM_APDU [11:12:48]CAPDU: 80 09 00 00 [11:12:48]Write to MH i2c: E2 08 00 8D 13 80 09 00 00 00 00 00 00 12 [11:12:48]Write i2c OK [11:12:48]MH_I2C_Read... [11:12:48]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:12:48]Read from MH i2c: E2 [11:12:48]MH_I2C_Read... [11:12:48]Read from MH i2c: E2 03 00 [11:12:48]MH_I2C_Read... [11:12:48]Read from MH i2c: E2 03 00 8D 13 00 90 00 14 [11:12:48]RAPDU: 90 00 [11:12:48]wFMCommunicate OK [11:12:48]SAM_PROTO_ClearQueue done [11:12:48]KKMCreateOFDPacket [11:12:48]OFDProtocolAddRootSTLVToBuf [11:12:48]FM_MakeSignedData [11:12:48]FM_MakeSignedData [11:12:48]SAM_PROTO_SignData [11:12:48]wFMCommunicate request_size=4 [11:12:48]MH_SAM_APDU [11:12:48]CAPDU: 80 0D 01 02 [11:12:48]Write to MH i2c: E2 08 00 8E 13 80 0D 01 02 00 00 00 00 1A [11:12:48]Write i2c OK [11:12:48]MH_I2C_Read... [11:12:48]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:12:48]Read from MH i2c: E2 [11:12:48]MH_I2C_Read... [11:12:48]Read from MH i2c: E2 03 00 [11:12:48]MH_I2C_Read... [11:12:48]Read from MH i2c: E2 03 00 8E 13 00 90 00 15 [11:12:48]RAPDU: 90 00 [11:12:48]wFMCommunicate OK [11:12:48]wFMCommunicate request_size=255 [11:12:48]MH_SAM_APDU [11:12:48]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 39 00 00 00 F4 03 04 00 32 04 95 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 [11:12:48]Write to MH i2c: E2 02 01 8F 13 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 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 39 00 00 00 F4 03 04 00 32 04 95 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 66 [11:12:48]Write i2c OK [11:12:48]MH_I2C_Read... [11:12:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:12:49]Read from MH i2c: E2 [11:12:49]MH_I2C_Read... [11:12:49]Read from MH i2c: E2 03 00 [11:12:49]MH_I2C_Read... [11:12:49]Read from MH i2c: E2 03 00 8F 13 00 90 00 16 [11:12:49]RAPDU: 90 00 [11:12:49]wFMCommunicate OK [11:12:49]wFMCommunicate request_size=32 [11:12:49]MH_SAM_APDU [11:12:49]CAPDU: 80 0D 02 02 1B 30 30 30 38 37 34 38 35 37 10 04 04 00 4A DF 00 00 35 04 06 00 0B E4 41 A8 1E 26 [11:12:49]Write to MH i2c: E2 23 00 90 13 80 0D 02 02 1B 00 30 30 30 38 37 34 38 35 37 10 04 04 00 4A DF 00 00 35 04 06 00 0B E4 41 A8 1E 26 00 00 C6 [11:12:49]Write i2c OK [11:12:49]MH_I2C_Read... [11:12:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:12:49]Read from MH i2c: E2 [11:12:49]MH_I2C_Read... [11:12:49]Read from MH i2c: E2 03 00 [11:12:49]MH_I2C_Read... [11:12:49]Read from MH i2c: E2 03 00 90 13 00 90 00 17 [11:12:49]RAPDU: 90 00 [11:12:49]wFMCommunicate OK [11:12:49]wFMCommunicate request_size=4 [11:12:49]MH_SAM_APDU [11:12:49]CAPDU: 80 0D 03 02 [11:12:49]Write to MH i2c: E2 08 00 91 13 80 0D 03 02 00 00 00 00 1F [11:12:49]Write i2c OK [11:12:49]MH_I2C_Read... [11:12:49]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:12:49]Read from MH i2c: E2 [11:12:49]MH_I2C_Read... [11:12:49]Read from MH i2c: E2 0B 00 [11:12:49]MH_I2C_Read... [11:12:49]Read from MH i2c: E2 0B 00 91 13 00 8C 01 95 AB BD 7C 94 D4 90 00 8E [11:12:49]RAPDU: 8C 01 95 AB BD 7C 94 D4 90 00 [11:12:49]wFMCommunicate OK [11:12:49]SAM_PROTO_SignData done [11:12:49]FM_MakeSignedData done [11:12:49]CreateOFDProtocolMessage [11:12:49]wFMCommunicate request_size=4 [11:12:49]MH_SAM_APDU [11:12:49]CAPDU: 80 11 00 00 [11:12:49]Write to MH i2c: E2 08 00 92 13 80 11 00 00 00 00 00 00 1F [11:12:49]Write i2c OK [11:12:49]MH_I2C_Read... [11:12:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:12:49]Read from MH i2c: E2 [11:12:49]MH_I2C_Read... [11:12:49]Read from MH i2c: E2 17 00 [11:12:49]MH_I2C_Read... [11:12:49]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 [11:12:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [11:12:49]wFMCommunicate OK [11:12:49]CreateOFDProtocolMessage done [11:12:49]OFDSenderStorePacket 57162 [11:12:49]StoreOFDPacket docnum=57162 [11:12: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 25 01 00 00 0E 7F 1D 01 70 7E 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 39 00 00 00 F4 03 04 00 32 04 95 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 4A DF 00 00 35 04 06 00 0B E4 41 A8 1E 26 8C 01 95 AB BD 7C 94 D4 [11:12:49]CheckFolder [11:12:49]dirname=/storage/ofd_packets [11:12:49]CheckFolder done [11:12:49]ProducePacketName [11:12:49]name=ofd_packets/00057162 [11:12:49]NVStorageSaveData ofd_packets/00057162 [11:12:49]File name is /storage/ofd_packets/00057162 [11:12:49]Write 323 bytes [11:12:49]NVStorageSaveData done [11:12:49]OFDSenderStorePacket done [11:12:49]KKMCreateOFDPacket done [11:12:49]NVStorageSaveData kkm_last_timestamp [11:12:49]File name is /storage/kkm_last_timestamp [11:12:49]Write 4 bytes [11:12:49]NVStorageSaveData done [11:12:49]ExternCall_PrintAddStr [11:12:49]wPrintStart [11:12:49]Write to MH i2c: 01 00 00 93 13 A6 [11:12:49]Write i2c OK [11:12:49]MH_I2C_Read... [11:12:49]Read from MH i2c: 01 [11:12:49]MH_I2C_Read... [11:12:49]Read from MH i2c: 01 07 00 [11:12:49]MH_I2C_Read... [11:12:49]Read from MH i2c: 01 07 00 93 13 00 00 00 00 00 FF 0F BB [11:12:49]RasterBufferAndPrint [11:12:49]line Счет N : (3)129616 [11:12:49]line ИНН: 02508201610067 [11:12:49]line Контрольно-Кассовый Чек [11:12:49]line ПРОДАЖА [11:12:49]line Товар: 48743570 [11:12:49]line Сигареты Winston XStyle Blue [11:12:49]line 1.000 * 140.00 [11:12:49]line = 140.00 [11:12:49]line НДС 12% НСП 1% [11:12:49]line > о реализуемом товаре [11:12:49]line ИТОГО: 140.00 [11:12:49]line НСП 1% : 1.24 [11:12:49]line НДС 12% : 14.87 [11:12:49]line Наличными: 140.00 [11:12:49]line Безнал.: 0.00 [11:12:49]line Место: АЗС № 132 "Партнер Нефть" [11:12:49]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [11:12:49]line СНО: Общий режим [11:12:49]line Чек 57 15.07.2024 11:12 [11:12:49]line Смена: 497 ФФД: 1.0 [11:12:49]line ЗНМ: 0300000132 [11:12:49]line РНМ: 0000000000091208 [11:12:49]line Версия ККМ: 001 [11:12:49]line ФМ: 0000000000874857 [11:12:49]line ФД: 57162 [11:12:49]line ФПД: 13074981985830 [11:12:49]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T111250&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57162&fm=13074981985830&tin=02508201610067®Number=0000000000091208&sum=14000 [11:12:49]line 0 [11:12:49]OFD Sender: Processing packet 57162 [packets to send 38, broken 37] [11:12:49]ProducePacketName [11:12:49]name=ofd_packets/00057162 [11:12:49]OFD Sender: To server: pG, [11:12:49]CommunicateWithHost lk.salyk.kg:30040 [11:12:49]ConnectInit lk.salyk.kg [11:12:49]written 0, free lines is 4095 [11:12:49]Connected sock=10 [11:12: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 25 01 00 00 0E 7F 1D 01 70 7E 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 39 00 00 00 F4 03 04 00 32 04 95 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 4A DF 00 00 35 04 06 00 0B E4 41 A8 1E 26 8C 01 95 AB BD 7C 94 D4 [11:12:50]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 54 47 00 50 10 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 4A DF 00 00 F4 03 04 00 81 AA 94 66 B6 04 01 00 00 6D 01 27 64 CD A9 CB F3 [11:12:50]CommunicateWithHost err = 0 [11:12:50]CheckOFDResponse [11:12:50]1017 (14) - 77093643461234 [11:12:50]1041 (16) - 0000000000874857 [11:12:50]1040 (4) - 57162 [11:12:50]1012 (4) - 15.07.2024 04:50 [11:12:50]1206 (1) - 0 [11:12:50]OFD Sender: Remove packet 57162 [11:12:50]ProducePacketName [11:12:50]name=ofd_packets/00057162 [11:12:50]NVStorageDeleteData [11:12:50]Write to MH i2c: 01 00 00 BB 13 CE [11:12:50]Write i2c OK [11:12:50]MH_I2C_Read... [11:12:50]Read from MH i2c: 01 [11:12:50]MH_I2C_Read... [11:12:50]Read from MH i2c: 01 07 00 [11:12:50]MH_I2C_Read... [11:12:50]Read from MH i2c: 01 07 00 BB 13 00 00 00 00 00 EF 0C D0 [11:12:50]RasterBufferAndPrint [11:12:50]line [11:12:50]line [11:12:50]line [11:12:50]line [11:12:50]line [11:12:50]written 0, free lines is 3317 [11:12:50]MH_Cut [11:12:50]Write to MH i2c: D1 01 00 C2 13 01 A7 [11:12:50]Write i2c OK [11:12:50]MH_I2C_Read... [11:12:50]Read from MH i2c: D1 [11:12:50]MH_I2C_Read... [11:12:50]Read from MH i2c: D1 01 00 [11:12:50]MH_I2C_Read... [11:12:50]Read from MH i2c: D1 01 00 C2 13 00 A6 [11:12:50]Write to MH i2c: 01 00 00 C3 13 D6 [11:12:50]Write i2c OK [11:12:50]MH_I2C_Read... [11:12:50]OFD Sender: No OFD packet to send [11:12:50]*** Cut start [11:12:50]*** Partial cut [11:12:50]*** CUTSNS_PIN = 1 [11:12:50]*** CUTSNS_PIN = 0 [11:12:51]*** Brake cut motor [11:12:51]Read from MH i2c: 01 [11:12:51]MH_I2C_Read... [11:12:51]*** Stop cut motor [11:12:51]*** Cut end [11:12:51]Read from MH i2c: 01 07 00 [11:12:51]MH_I2C_Read... [11:12:51]Read from MH i2c: 01 07 00 C3 13 00 00 00 00 00 FF 0F EB [11:12:51]process_action close_receipt done [11:12:51]requested_data is exist [11:12:51]produce_requested_data [11:12:51]requested_item fm.sn is exist - process it [11:12:51]wFMCommunicate request_size=4 [11:12:51]MH_SAM_APDU [11:12:51]CAPDU: 80 11 00 00 [11:12:51]Write to MH i2c: E2 08 00 C4 13 80 11 00 00 00 00 00 00 51 [11:12:51]Write i2c OK [11:12:51]MH_I2C_Read... [11:12:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:12:51]Read from MH i2c: E2 [11:12:51]MH_I2C_Read... [11:12:51]Read from MH i2c: E2 17 00 [11:12:51]MH_I2C_Read... [11:12:51]Read from MH i2c: E2 17 00 C4 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 AB [11:12:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [11:12:51]wFMCommunicate OK [11:12:51]requested_item fd.num is exist - process it [11:12:51]SAM_PROTO_GetFieldsCounters [11:12:51]wFMCommunicate request_size=4 [11:12:51]MH_SAM_APDU [11:12:51]CAPDU: 80 13 00 00 [11:12:51]Write to MH i2c: E2 08 00 C5 13 80 13 00 00 00 00 00 00 54 [11:12:51]Write i2c OK [11:12:51]MH_I2C_Read... [11:12:51]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:12:51]Read from MH i2c: E2 [11:12:51]MH_I2C_Read... [11:12:51]Read from MH i2c: E2 62 00 [11:12:51]MH_I2C_Read... [11:12:51]Read from MH i2c: E2 62 00 C5 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 4A DF 00 00 0E 04 04 00 F1 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 3D [11:12: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 4A DF 00 00 0E 04 04 00 F1 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 [11:12:51]wFMCommunicate OK [11:12:51]SAM_PROTO_GetFieldsCounters done [11:12:51]requested_item shift.num is exist - process it [11:12:51]requested_item shift.opened is exist - process it [11:12:51]req_shift_opened [11:12:51]FM_GetShiftState [11:12:51]SAM_PROTO_GetShiftState [11:12:51]wFMCommunicate request_size=4 [11:12:51]MH_SAM_APDU [11:12:51]CAPDU: 80 13 01 00 [11:12:51]Write to MH i2c: E2 08 00 C6 13 80 13 01 00 00 00 00 00 56 [11:12:51]Write i2c OK [11:12:51]MH_I2C_Read... [11:12:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:12:51]Read from MH i2c: E2 [11:12:51]MH_I2C_Read... [11:12:51]Read from MH i2c: E2 0E 00 [11:12:51]MH_I2C_Read... [11:12:51]Read from MH i2c: E2 0E 00 C6 13 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 CF [11:12:51]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [11:12:51]wFMCommunicate OK [11:12:51]SAM_PROTO_GetShiftState done [11:12:51]FM_GetShiftState done [11:12:51]req_shift_opened done [11:12:51]requested_item shift.open_date is exist - process it [11:12:51]req_shift_open_date [11:12:51]req_shift_open_date done [11:12:51]requested_item shift.sale.total is exist - process it [11:12:51]SAM_PROTO_GetShiftData [11:12:51]wFMCommunicate request_size=4 [11:12:51]MH_SAM_APDU [11:12:51]CAPDU: 80 13 02 00 [11:12:51]Write to MH i2c: E2 08 00 C7 13 80 13 02 00 00 00 00 00 58 [11:12:51]Write i2c OK [11:12:51]MH_I2C_Read... [11:12:52]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [11:12:52]Read from MH i2c: E2 [11:12:52]MH_I2C_Read... [11:12:52]Read from MH i2c: E2 FD 00 [11:12:52]MH_I2C_Read... [11:12:52]Read from MH i2c: E2 FD 00 C7 13 00 B6 04 AA 04 B2 04 6E 04 04 00 39 00 00 00 69 04 9B 00 6F 04 04 00 38 00 00 00 B1 04 03 00 61 DE 16 70 04 03 00 4C CA 11 72 04 03 00 15 14 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 B4 6D 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 CD 33 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 F8 [11:12:52]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 39 00 00 00 69 04 9B 00 6F 04 04 00 38 00 00 00 B1 04 03 00 61 DE 16 70 04 03 00 4C CA 11 72 04 03 00 15 14 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 B4 6D 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 CD 33 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 [11:12:52]wFMCommunicate OK [11:12:52]wFMCommunicate request_size=4 [11:12:52]MH_SAM_APDU [11:12:52]CAPDU: 80 17 00 00 [11:12:52]Write to MH i2c: E2 08 00 C8 13 80 17 00 00 00 00 00 00 5B [11:12:52]Write i2c OK [11:12:52]MH_I2C_Read... [11:12:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [11:12:52]Read from MH i2c: E2 [11:12:52]MH_I2C_Read... [11:12:52]Read from MH i2c: E2 FD 00 [11:12:52]MH_I2C_Read... [11:12:52]Read from MH i2c: E2 FD 00 C8 13 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 90 [11:12:52]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 [11:12:52]wFMCommunicate OK [11:12:52]wFMCommunicate request_size=4 [11:12:52]MH_SAM_APDU [11:12:52]CAPDU: 80 17 00 00 [11:12:52]Write to MH i2c: E2 08 00 C9 13 80 17 00 00 00 00 00 00 5C [11:12:52]Write i2c OK [11:12:52]MH_I2C_Read... [11:12:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [11:12:52]Read from MH i2c: E2 [11:12:52]MH_I2C_Read... [11:12:52]Read from MH i2c: E2 FD 00 [11:12:52]MH_I2C_Read... [11:12:52]Read from MH i2c: E2 FD 00 C9 13 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 1C [11:12:52]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 [11:12:52]wFMCommunicate OK [11:12:52]wFMCommunicate request_size=4 [11:12:52]MH_SAM_APDU [11:12:52]CAPDU: 80 17 00 00 [11:12:52]Write to MH i2c: E2 08 00 CA 13 80 17 00 00 00 00 00 00 5D [11:12:52]Write i2c OK [11:12:52]MH_I2C_Read... [11:12:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [11:12:53]Read from MH i2c: E2 [11:12:53]MH_I2C_Read... [11:12:53]Read from MH i2c: E2 FD 00 [11:12:53]MH_I2C_Read... [11:12:53]Read from MH i2c: E2 FD 00 CA 13 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 CC [11:12:53]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 [11:12:53]wFMCommunicate OK [11:12:53]wFMCommunicate request_size=4 [11:12:53]MH_SAM_APDU [11:12:53]CAPDU: 80 17 00 00 [11:12:53]Write to MH i2c: E2 08 00 CB 13 80 17 00 00 00 00 00 00 5E [11:12:53]Write i2c OK [11:12:53]MH_I2C_Read... [11:12:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [11:12:53]Read from MH i2c: E2 [11:12:53]MH_I2C_Read... [11:12:53]Read from MH i2c: E2 D3 00 [11:12:53]MH_I2C_Read... [11:12:53]Read from MH i2c: E2 D3 00 CB 13 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 4B [11:12:53]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 [11:12:53]wFMCommunicate OK [11:12:53]SAM_PROTO_GetShiftData done [11:12:53]requested_item shift.sale.total_cash is exist - process it [11:12:53]requested_item shift.sale_refund.total is exist - process it [11:12:53]requested_item shift.sale_refund.total_cash is exist - process it [11:12:53]produce_requested_data done [11:12:53]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57162,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":14987.21,"shift.sale.total_cash":11659.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [11:12:53]process_action_free close_receipt [11:12:53]json_value_free [11:12:53]json_value_free done [11:12:53]process_json_proto returns [11:12:53]Send response to host [11:12:53]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57162,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":14987.21,"shift.sale.total_cash":11659.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [11:12:53]free response buf [11:12:53]execute_script done [11:12:53]execute_script returns [11:12:53]free content buf [11:12:53]Sock 9.Close socket [11:12:53]Sock 9.Thread stoped [11:12:55]OFD Sender: No OFD packet to send [11:13:00]OFD Sender: No OFD packet to send [11:13:05]OFD Sender: No OFD packet to send [11:13:10]OFD Sender: No OFD packet to send [11:13:15]OFD Sender: No OFD packet to send [11:13:20]OFD Sender: No OFD packet to send [11:13:25]OFD Sender: No OFD packet to send [11:13:30]OFD Sender: No OFD packet to send [11:13:35]OFD Sender: No OFD packet to send [11:13:40]OFD Sender: No OFD packet to send [11:13:45]OFD Sender: No OFD packet to send [11:13:50]OFD Sender: No OFD packet to send [11:13:55]OFD Sender: No OFD packet to send [11:14:00]OFD Sender: No OFD packet to send [11:14:05]OFD Sender: No OFD packet to send [11:14:10]OFD Sender: No OFD packet to send [11:14:15]OFD Sender: No OFD packet to send [11:14:20]OFD Sender: No OFD packet to send [11:14:25]OFD Sender: No OFD packet to send [11:14:30]OFD Sender: No OFD packet to send [11:14:35]OFD Sender: No OFD packet to send [11:14:40]OFD Sender: No OFD packet to send [11:14:45]OFD Sender: No OFD packet to send [11:14:50]OFD Sender: No OFD packet to send [11:14:55]OFD Sender: No OFD packet to send [11:15:00]OFD Sender: No OFD packet to send [11:15:05]OFD Sender: No OFD packet to send [11:15:10]OFD Sender: No OFD packet to send [11:15:15]OFD Sender: No OFD packet to send [11:15:20]OFD Sender: No OFD packet to send [11:15:25]OFD Sender: No OFD packet to send [11:15:30]OFD Sender: No OFD packet to send [11:15:35]OFD Sender: No OFD packet to send [11:15:40]OFD Sender: No OFD packet to send [11:15:45]OFD Sender: No OFD packet to send [11:15:50]OFD Sender: No OFD packet to send [11:15:55]OFD Sender: No OFD packet to send [11:16:00]OFD Sender: No OFD packet to send [11:16:05]OFD Sender: No OFD packet to send [11:16:10]OFD Sender: No OFD packet to send [11:16:15]OFD Sender: No OFD packet to send [11:16:20]OFD Sender: No OFD packet to send [11:16:25]OFD Sender: No OFD packet to send [11:16:30]OFD Sender: No OFD packet to send [11:16:35]OFD Sender: No OFD packet to send [11:16:40]OFD Sender: No OFD packet to send [11:16:45]OFD Sender: No OFD packet to send [11:16:50]OFD Sender: No OFD packet to send [11:16:55]OFD Sender: No OFD packet to send [11:17:00]OFD Sender: No OFD packet to send [11:17:05]OFD Sender: No OFD packet to send [11:17:10]OFD Sender: No OFD packet to send [11:17:15]OFD Sender: No OFD packet to send [11:17:20]OFD Sender: No OFD packet to send [11:17:25]OFD Sender: No OFD packet to send [11:17:30]OFD Sender: No OFD packet to send [11:17:35]OFD Sender: No OFD packet to send [11:17:40]OFD Sender: No OFD packet to send [11:17:45]OFD Sender: No OFD packet to send [11:17:50]OFD Sender: No OFD packet to send [11:17:55]OFD Sender: No OFD packet to send [11:18:00]OFD Sender: No OFD packet to send [11:18:05]OFD Sender: No OFD packet to send [11:18:10]OFD Sender: No OFD packet to send [11:18:15]OFD Sender: No OFD packet to send [11:18:20]OFD Sender: No OFD packet to send [11:18:25]OFD Sender: No OFD packet to send [11:18:30]OFD Sender: No OFD packet to send [11:18:35]OFD Sender: No OFD packet to send [11:18:40]OFD Sender: No OFD packet to send [11:18:45]OFD Sender: No OFD packet to send [11:18:50]OFD Sender: No OFD packet to send [11:18:55]OFD Sender: No OFD packet to send [11:19:00]OFD Sender: No OFD packet to send [11:19:05]OFD Sender: No OFD packet to send [11:19:10]OFD Sender: No OFD packet to send [11:19:15]OFD Sender: No OFD packet to send [11:19:20]OFD Sender: No OFD packet to send [11:19:25]OFD Sender: No OFD packet to send [11:19:30]OFD Sender: No OFD packet to send [11:19:35]OFD Sender: No OFD packet to send [11:19:40]OFD Sender: No OFD packet to send [11:19:45]OFD Sender: No OFD packet to send [11:19:50]OFD Sender: No OFD packet to send [11:19:55]OFD Sender: No OFD packet to send [11:20:00]OFD Sender: No OFD packet to send [11:20:05]OFD Sender: No OFD packet to send [11:20:09]accept exits with 8 [11:20:09]New connection [11:20:09]New thread 3067067748 created [11:20:09]Thread 3066924388 joined [11:20:09]Waiting for new connection... [11:20:09] Sock 8.Parse request [11:20:09]Sock 8.Check first char [11:20:09]Sock 8.First char is OK [11:20:09]request: POST /json_proto HTTP/1.0 [11:20:09]Method: POST [11:20:09]URL: /json_proto [11:20:09]Method is POST - this is cgi request [11:20:09]url: /json_proto [11:20:09]query_string will be loaded in cgi processing [11:20:09]execute_cgi json_proto POST (null) [11:20:09]execute_cgi path=json_proto method=POST [11:20:09]POST find Content-Length [11:20:09]Host: 172.17.39.4:8080 [11:20:09]Content-Length: 750 [11:20:09]Content-Type: application/json [11:20:09] [11:20:09]POST finish read [11:20:09]Found Content-Length = 750 [11:20:09]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129617", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 2.000, "sum" : 260.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 260.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [11:20:09]execute_script... [11:20: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)129617", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 2.000, "sum" : 260.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 260.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [11:20:09]POST & json_proto [11:20:09]process_json_proto [11:20:09]json parsed OK: [11:20:09]protocol is kg_v1.0 [11:20:09]action value=close_receipt [11:20:09]process_action close_receipt [11:20:09]cmd_close_receipt [11:20:09]MH_GetDate [11:20:09]Write to MH i2c: F0 00 00 CC 13 CE [11:20:09]Write i2c OK [11:20:09]MH_I2C_Read... [11:20:09]Read from MH i2c: F0 [11:20:09]MH_I2C_Read... [11:20:09]Read from MH i2c: F0 09 00 [11:20:09]MH_I2C_Read... [11:20:09]Read from MH i2c: F0 09 00 CC 13 00 EC 05 95 66 2D 25 5D 64 D6 [11:20:09]GetLastDocTimeStamp 1721041970 [11:20:09]current date 1721042412 [11:20:09]FM_GetShiftState [11:20:09]SAM_PROTO_GetShiftState [11:20:09]wFMCommunicate request_size=4 [11:20:09]MH_SAM_APDU [11:20:09]CAPDU: 80 13 01 00 [11:20:09]Write to MH i2c: E2 08 00 CD 13 80 13 01 00 00 00 00 00 5D [11:20:09]Write i2c OK [11:20:09]MH_I2C_Read... [11:20:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:20:09]Read from MH i2c: E2 [11:20:09]MH_I2C_Read... [11:20:09]Read from MH i2c: E2 0E 00 [11:20:09]MH_I2C_Read... [11:20:09]Read from MH i2c: E2 0E 00 CD 13 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 D6 [11:20:09]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [11:20:09]wFMCommunicate OK [11:20:09]SAM_PROTO_GetShiftState done [11:20:09]FM_GetShiftState done [11:20:09]opened in 1721003525 [11:20:09]opened+sec_in_day 1721089925 [11:20:09]quantity*price = 26000 [11:20:09]sum+1 = 26001 [11:20:09]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 СНО: Общий режим Чек 58 15.07.2024 11:20 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57163 ФПД: 159896486934609 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T112013&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57163&fm=159896486934609&tin=02508201610067®Number=0000000000091208&sum=26000 0 [11:20:10]StoreToDocumentArchive [11:20:10]shift 497 fd 57163 [11:20:10]save to /storage/0497/doc_00057163 [11:20:10]save last doc name /storage/0497/doc_00057163 to /storage/kkm_last_doc_name [11:20:10]save OK [11:20:10]Clear old archive folders... [11:20:10]ProcessDocumentItem done err = 0, tmpTLVsize=282 [11:20:10]tlvbuf is 0099E560 [11:20:10]SAM_PROTO_ClearQueue [11:20:10]wFMCommunicate request_size=4 [11:20:10]MH_SAM_APDU [11:20:10]CAPDU: 80 09 00 00 [11:20:10]Write to MH i2c: E2 08 00 DA 13 80 09 00 00 00 00 00 00 5F [11:20:10]Write i2c OK [11:20:10]MH_I2C_Read... [11:20:10]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:20:10]Read from MH i2c: E2 [11:20:10]MH_I2C_Read... [11:20:10]Read from MH i2c: E2 03 00 [11:20:10]MH_I2C_Read... [11:20:10]Read from MH i2c: E2 03 00 DA 13 00 90 00 61 [11:20:10]RAPDU: 90 00 [11:20:10]wFMCommunicate OK [11:20:10]SAM_PROTO_ClearQueue done [11:20:10]KKMCreateOFDPacket [11:20:10]OFDProtocolAddRootSTLVToBuf [11:20:10]FM_MakeSignedData [11:20:10]FM_MakeSignedData [11:20:10]SAM_PROTO_SignData [11:20:10]wFMCommunicate request_size=4 [11:20:10]MH_SAM_APDU [11:20:10]CAPDU: 80 0D 01 02 [11:20:10]Write to MH i2c: E2 08 00 DB 13 80 0D 01 02 00 00 00 00 67 [11:20:10]Write i2c OK [11:20:10]MH_I2C_Read... [11:20:10]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:20:10]Read from MH i2c: E2 [11:20:10]MH_I2C_Read... [11:20:10]Read from MH i2c: E2 03 00 [11:20:10]MH_I2C_Read... [11:20:10]Read from MH i2c: E2 03 00 DB 13 00 90 00 62 [11:20:10]RAPDU: 90 00 [11:20:10]wFMCommunicate OK [11:20:10]wFMCommunicate request_size=255 [11:20:10]MH_SAM_APDU [11:20:10]CAPDU: 80 0D 02 02 FA 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 65 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C9 0A 00 00 00 00 07 04 06 00 90 65 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3A 00 00 00 F4 03 04 00 ED 05 95 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 [11:20:10]Write to MH i2c: E2 02 01 DC 13 80 0D 02 02 FA 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 65 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C9 0A 00 00 00 00 07 04 06 00 90 65 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3A 00 00 00 F4 03 04 00 ED 05 95 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 00 00 44 [11:20:10]Write i2c OK [11:20:10]MH_I2C_Read... [11:20:10]OFD Sender: No OFD packet to send [11:20:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:20:11]Read from MH i2c: E2 [11:20:11]MH_I2C_Read... [11:20:11]Read from MH i2c: E2 03 00 [11:20:11]MH_I2C_Read... [11:20:11]Read from MH i2c: E2 03 00 DC 13 00 90 00 63 [11:20:11]RAPDU: 90 00 [11:20:11]wFMCommunicate OK [11:20:11]wFMCommunicate request_size=41 [11:20:11]MH_SAM_APDU [11:20: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 4B DF 00 00 35 04 06 00 91 6C CD 4D F8 51 [11:20:11]Write to MH i2c: E2 2C 00 DD 13 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 4B DF 00 00 35 04 06 00 91 6C CD 4D F8 51 00 00 CA [11:20:11]Write i2c OK [11:20:11]MH_I2C_Read... [11:20:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:20:11]Read from MH i2c: E2 [11:20:11]MH_I2C_Read... [11:20:11]Read from MH i2c: E2 03 00 [11:20:11]MH_I2C_Read... [11:20:11]Read from MH i2c: E2 03 00 DD 13 00 90 00 64 [11:20:11]RAPDU: 90 00 [11:20:11]wFMCommunicate OK [11:20:11]wFMCommunicate request_size=4 [11:20:11]MH_SAM_APDU [11:20:11]CAPDU: 80 0D 03 02 [11:20:11]Write to MH i2c: E2 08 00 DE 13 80 0D 03 02 00 00 00 00 6C [11:20:11]Write i2c OK [11:20:11]MH_I2C_Read... [11:20:11]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:20:11]Read from MH i2c: E2 [11:20:11]MH_I2C_Read... [11:20:11]Read from MH i2c: E2 0B 00 [11:20:11]MH_I2C_Read... [11:20:11]Read from MH i2c: E2 0B 00 DE 13 00 90 F5 31 46 3E 64 E2 4E 90 00 3B [11:20:11]RAPDU: 90 F5 31 46 3E 64 E2 4E 90 00 [11:20:11]wFMCommunicate OK [11:20:11]SAM_PROTO_SignData done [11:20:11]FM_MakeSignedData done [11:20:11]CreateOFDProtocolMessage [11:20:11]wFMCommunicate request_size=4 [11:20:11]MH_SAM_APDU [11:20:11]CAPDU: 80 11 00 00 [11:20:11]Write to MH i2c: E2 08 00 DF 13 80 11 00 00 00 00 00 00 6C [11:20:11]Write i2c OK [11:20:11]MH_I2C_Read... [11:20:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:20:11]Read from MH i2c: E2 [11:20:11]MH_I2C_Read... [11:20:11]Read from MH i2c: E2 17 00 [11:20:11]MH_I2C_Read... [11:20:11]Read from MH i2c: E2 17 00 DF 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 C6 [11:20: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:20:11]wFMCommunicate OK [11:20:11]CreateOFDProtocolMessage done [11:20:11]OFDSenderStorePacket 57163 [11:20:11]StoreOFDPacket docnum=57163 [11:20: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 33 B6 26 01 20 AE 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 65 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C9 0A 00 00 00 00 07 04 06 00 90 65 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3A 00 00 00 F4 03 04 00 ED 05 95 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 4B DF 00 00 35 04 06 00 91 6C CD 4D F8 51 90 F5 31 46 3E 64 E2 4E [11:20:11]CheckFolder [11:20:11]dirname=/storage/ofd_packets [11:20:11]CheckFolder done [11:20:11]ProducePacketName [11:20:11]name=ofd_packets/00057163 [11:20:11]NVStorageSaveData ofd_packets/00057163 [11:20:11]File name is /storage/ofd_packets/00057163 [11:20:11]Write 332 bytes [11:20:11]NVStorageSaveData done [11:20:11]OFDSenderStorePacket done [11:20:11]KKMCreateOFDPacket done [11:20:11]NVStorageSaveData kkm_last_timestamp [11:20:11]File name is /storage/kkm_last_timestamp [11:20:11]Write 4 bytes [11:20:11]NVStorageSaveData done [11:20:11]ExternCall_PrintAddStr [11:20:11]wPrintStart [11:20:11]Write to MH i2c: 01 00 00 E0 13 F3 [11:20:11]Write i2c OK [11:20:11]MH_I2C_Read... [11:20:11]Read from MH i2c: 01 [11:20:11]MH_I2C_Read... [11:20:11]Read from MH i2c: 01 07 00 [11:20:11]MH_I2C_Read... [11:20:11]Read from MH i2c: 01 07 00 E0 13 00 00 00 00 00 FF 0F 08 [11:20:11]RasterBufferAndPrint [11:20:11]line Счет N : (3)129617 [11:20:11]line ИНН: 02508201610067 [11:20:11]line Контрольно-Кассовый Чек [11:20:11]line ПРОДАЖА [11:20:11]line Товар: 2000036220012 [11:20:11]line Кофе Капучино XL(GABB TRADE) [11:20:11]line 2.000 * 130.00 [11:20:11]line = 260.00 [11:20:11]line НДС 12% НСП 1% [11:20:11]line > о реализуемом товаре [11:20:11]line ИТОГО: 260.00 [11:20:11]line НСП 1% : 2.30 [11:20:11]line НДС 12% : 27.61 [11:20:11]line Наличными: 260.00 [11:20:11]line Безнал.: 0.00 [11:20:11]line Место: АЗС № 132 "Партнер Нефть" [11:20:11]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [11:20:11]line СНО: Общий режим [11:20:11]line Чек 58 15.07.2024 11:20 [11:20:11]line Смена: 497 ФФД: 1.0 [11:20:11]line ЗНМ: 0300000132 [11:20:11]line РНМ: 0000000000091208 [11:20:11]line Версия ККМ: 001 [11:20:11]line ФМ: 0000000000874857 [11:20:11]line ФД: 57163 [11:20:11]line ФПД: 159896486934609 [11:20:11]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T112013&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57163&fm=159896486934609&tin=02508201610067®Number=0000000000091208&sum=26000 [11:20:11]line 0 [11:20:11]OFD Sender: Processing packet 57163 [packets to send 38, broken 37] [11:20:11]ProducePacketName [11:20:11]name=ofd_packets/00057163 [11:20:11]OFD Sender: To server: pG, [11:20:11]CommunicateWithHost lk.salyk.kg:30040 [11:20:11]ConnectInit lk.salyk.kg [11:20:11]written 0, free lines is 4095 [11:20:11]Connected sock=10 [11:20: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 2E 01 00 00 33 B6 26 01 20 AE 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 65 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C9 0A 00 00 00 00 07 04 06 00 90 65 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3A 00 00 00 F4 03 04 00 ED 05 95 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 4B DF 00 00 35 04 06 00 91 6C CD 4D F8 51 90 F5 31 46 3E 64 E2 4E [11:20: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 3B 5F 47 00 73 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 4B DF 00 00 F4 03 04 00 3B AC 94 66 B6 04 01 00 00 BE C2 B1 10 73 80 73 9C [11:20:12]CommunicateWithHost err = 0 [11:20:12]CheckOFDResponse [11:20:12]1017 (14) - 77093643461234 [11:20:12]1041 (16) - 0000000000874857 [11:20:12]1040 (4) - 57163 [11:20:12]1012 (4) - 15.07.2024 04:57 [11:20:12]1206 (1) - 0 [11:20:12]OFD Sender: Remove packet 57163 [11:20:12]ProducePacketName [11:20:12]name=ofd_packets/00057163 [11:20:12]NVStorageDeleteData [11:20:12]Write to MH i2c: 01 00 00 09 14 1D [11:20:12]Write i2c OK [11:20:12]MH_I2C_Read... [11:20:12]Read from MH i2c: 01 [11:20:12]MH_I2C_Read... [11:20:12]Read from MH i2c: 01 07 00 [11:20:12]MH_I2C_Read... [11:20:12]Read from MH i2c: 01 07 00 09 14 00 00 00 00 00 FA 0C 2A [11:20:12]RasterBufferAndPrint [11:20:12]line [11:20:12]line [11:20:12]line [11:20:12]line [11:20:12]line [11:20:12]written 0, free lines is 3329 [11:20:12]MH_Cut [11:20:12]Write to MH i2c: D1 01 00 10 14 01 F6 [11:20:12]Write i2c OK [11:20:12]MH_I2C_Read... [11:20:12]Read from MH i2c: D1 [11:20:12]MH_I2C_Read... [11:20:12]Read from MH i2c: D1 01 00 [11:20:12]MH_I2C_Read... [11:20:12]Read from MH i2c: D1 01 00 10 14 00 F5 [11:20:12]Write to MH i2c: 01 00 00 11 14 25 [11:20:12]Write i2c OK [11:20:12]MH_I2C_Read... [11:20:12]OFD Sender: No OFD packet to send [11:20:12]*** Cut start [11:20:12]*** Partial cut [11:20:12]*** CUTSNS_PIN = 1 [11:20:12]*** CUTSNS_PIN = 0 [11:20:13]*** Brake cut motor [11:20:13]Read from MH i2c: 01 [11:20:13]MH_I2C_Read... [11:20:13]*** Stop cut motor [11:20:13]*** Cut end [11:20:13]Read from MH i2c: 01 07 00 [11:20:13]MH_I2C_Read... [11:20:13]Read from MH i2c: 01 07 00 11 14 00 00 00 00 00 FF 0F 3A [11:20:13]process_action close_receipt done [11:20:13]requested_data is exist [11:20:13]produce_requested_data [11:20:13]requested_item fm.sn is exist - process it [11:20:13]wFMCommunicate request_size=4 [11:20:13]MH_SAM_APDU [11:20:13]CAPDU: 80 11 00 00 [11:20:13]Write to MH i2c: E2 08 00 12 14 80 11 00 00 00 00 00 00 A0 [11:20:13]Write i2c OK [11:20:13]MH_I2C_Read... [11:20:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:20:13]Read from MH i2c: E2 [11:20:13]MH_I2C_Read... [11:20:13]Read from MH i2c: E2 17 00 [11:20:13]MH_I2C_Read... [11:20:13]Read from MH i2c: E2 17 00 12 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 FA [11:20:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [11:20:13]wFMCommunicate OK [11:20:13]requested_item fd.num is exist - process it [11:20:13]SAM_PROTO_GetFieldsCounters [11:20:13]wFMCommunicate request_size=4 [11:20:13]MH_SAM_APDU [11:20:13]CAPDU: 80 13 00 00 [11:20:13]Write to MH i2c: E2 08 00 13 14 80 13 00 00 00 00 00 00 A3 [11:20:13]Write i2c OK [11:20:13]MH_I2C_Read... [11:20:13]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:20:13]Read from MH i2c: E2 [11:20:13]MH_I2C_Read... [11:20:13]Read from MH i2c: E2 62 00 [11:20:13]MH_I2C_Read... [11:20:13]Read from MH i2c: E2 62 00 13 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 4B DF 00 00 0E 04 04 00 F1 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 90 [11:20: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 4B DF 00 00 0E 04 04 00 F1 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 [11:20:13]wFMCommunicate OK [11:20:13]SAM_PROTO_GetFieldsCounters done [11:20:13]requested_item shift.num is exist - process it [11:20:13]requested_item shift.opened is exist - process it [11:20:13]req_shift_opened [11:20:13]FM_GetShiftState [11:20:13]SAM_PROTO_GetShiftState [11:20:13]wFMCommunicate request_size=4 [11:20:13]MH_SAM_APDU [11:20:13]CAPDU: 80 13 01 00 [11:20:13]Write to MH i2c: E2 08 00 14 14 80 13 01 00 00 00 00 00 A5 [11:20:13]Write i2c OK [11:20:13]MH_I2C_Read... [11:20:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:20:13]Read from MH i2c: E2 [11:20:13]MH_I2C_Read... [11:20:13]Read from MH i2c: E2 0E 00 [11:20:13]MH_I2C_Read... [11:20:13]Read from MH i2c: E2 0E 00 14 14 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 1E [11:20:13]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [11:20:13]wFMCommunicate OK [11:20:13]SAM_PROTO_GetShiftState done [11:20:13]FM_GetShiftState done [11:20:13]req_shift_opened done [11:20:13]requested_item shift.open_date is exist - process it [11:20:13]req_shift_open_date [11:20:13]req_shift_open_date done [11:20:13]requested_item shift.sale.total is exist - process it [11:20:13]SAM_PROTO_GetShiftData [11:20:13]wFMCommunicate request_size=4 [11:20:13]MH_SAM_APDU [11:20:13]CAPDU: 80 13 02 00 [11:20:13]Write to MH i2c: E2 08 00 15 14 80 13 02 00 00 00 00 00 A7 [11:20:13]Write i2c OK [11:20:13]MH_I2C_Read... [11:20:14]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [11:20:14]Read from MH i2c: E2 [11:20:14]MH_I2C_Read... [11:20:14]Read from MH i2c: E2 FD 00 [11:20:14]MH_I2C_Read... [11:20:14]Read from MH i2c: E2 FD 00 15 14 00 B6 04 AA 04 B2 04 6E 04 04 00 3A 00 00 00 69 04 9B 00 6F 04 04 00 39 00 00 00 B1 04 03 00 F1 43 17 70 04 03 00 DC 2F 12 72 04 03 00 15 14 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 7D 78 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 B3 34 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 F0 [11:20:14]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 3A 00 00 00 69 04 9B 00 6F 04 04 00 39 00 00 00 B1 04 03 00 F1 43 17 70 04 03 00 DC 2F 12 72 04 03 00 15 14 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 7D 78 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 B3 34 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 [11:20:14]wFMCommunicate OK [11:20:14]wFMCommunicate request_size=4 [11:20:14]MH_SAM_APDU [11:20:14]CAPDU: 80 17 00 00 [11:20:14]Write to MH i2c: E2 08 00 16 14 80 17 00 00 00 00 00 00 AA [11:20:14]Write i2c OK [11:20:14]MH_I2C_Read... [11:20:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [11:20:14]Read from MH i2c: E2 [11:20:14]MH_I2C_Read... [11:20:14]Read from MH i2c: E2 FD 00 [11:20:14]MH_I2C_Read... [11:20:14]Read from MH i2c: E2 FD 00 16 14 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 DF [11:20:14]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 [11:20:14]wFMCommunicate OK [11:20:14]wFMCommunicate request_size=4 [11:20:14]MH_SAM_APDU [11:20:14]CAPDU: 80 17 00 00 [11:20:14]Write to MH i2c: E2 08 00 17 14 80 17 00 00 00 00 00 00 AB [11:20:14]Write i2c OK [11:20:14]MH_I2C_Read... [11:20:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [11:20:14]Read from MH i2c: E2 [11:20:14]MH_I2C_Read... [11:20:14]Read from MH i2c: E2 FD 00 [11:20:14]MH_I2C_Read... [11:20:14]Read from MH i2c: E2 FD 00 17 14 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 6B [11:20:14]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 [11:20:14]wFMCommunicate OK [11:20:14]wFMCommunicate request_size=4 [11:20:14]MH_SAM_APDU [11:20:14]CAPDU: 80 17 00 00 [11:20:14]Write to MH i2c: E2 08 00 18 14 80 17 00 00 00 00 00 00 AC [11:20:14]Write i2c OK [11:20:14]MH_I2C_Read... [11:20:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [11:20:15]Read from MH i2c: E2 [11:20:15]MH_I2C_Read... [11:20:15]Read from MH i2c: E2 FD 00 [11:20:15]MH_I2C_Read... [11:20:15]Read from MH i2c: E2 FD 00 18 14 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 1B [11:20:15]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 [11:20:15]wFMCommunicate OK [11:20:15]wFMCommunicate request_size=4 [11:20:15]MH_SAM_APDU [11:20:15]CAPDU: 80 17 00 00 [11:20:15]Write to MH i2c: E2 08 00 19 14 80 17 00 00 00 00 00 00 AD [11:20:15]Write i2c OK [11:20:15]MH_I2C_Read... [11:20:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [11:20:15]Read from MH i2c: E2 [11:20:15]MH_I2C_Read... [11:20:15]Read from MH i2c: E2 D3 00 [11:20:15]MH_I2C_Read... [11:20:15]Read from MH i2c: E2 D3 00 19 14 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 9A [11:20:15]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 [11:20:15]wFMCommunicate OK [11:20:15]SAM_PROTO_GetShiftData done [11:20:15]requested_item shift.sale.total_cash is exist - process it [11:20:15]requested_item shift.sale_refund.total is exist - process it [11:20:15]requested_item shift.sale_refund.total_cash is exist - process it [11:20:15]produce_requested_data done [11:20:15]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57163,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":15247.21,"shift.sale.total_cash":11919.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [11:20:15]process_action_free close_receipt [11:20:15]json_value_free [11:20:15]json_value_free done [11:20:15]process_json_proto returns [11:20:15]Send response to host [11:20:15]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57163,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":15247.21,"shift.sale.total_cash":11919.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [11:20:15]free response buf [11:20:15]execute_script done [11:20:15]execute_script returns [11:20:15]free content buf [11:20:15]Sock 8.Close socket [11:20:15]Sock 8.Thread stoped [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:01]accept exits with 9 [11:22:01]New connection [11:22:01]New thread 3066924388 created [11:22:01]Thread 3067067748 joined [11:22:01]Waiting for new connection... [11:22:01] Sock 9.Parse request [11:22:01]Sock 9.Check first char [11:22:01]Sock 9.First char is OK [11:22:01]request: POST /json_proto HTTP/1.0 [11:22:01]Method: POST [11:22:01]URL: /json_proto [11:22:01]Method is POST - this is cgi request [11:22:01]url: /json_proto [11:22:01]query_string will be loaded in cgi processing [11:22:01]execute_cgi json_proto POST (null) [11:22:01]execute_cgi path=json_proto method=POST [11:22:01]POST find Content-Length [11:22:01]Host: 172.17.39.4:8080 [11:22:01]Content-Length: 726 [11:22:01]Content-Type: application/json [11:22:01] [11:22:01]POST finish read [11:22:01]Found Content-Length = 726 [11:22:01]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129618", "tax_sys" : 0, "items" : [ { "code": "48744997", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Compact Blue", "price" : 135.00, "quantity" : 1.000, "sum" : 135.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 135.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [11:22:01]execute_script... [11:22:01]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129618", "tax_sys" : 0, "items" : [ { "code": "48744997", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Compact Blue", "price" : 135.00, "quantity" : 1.000, "sum" : 135.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 135.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [11:22:01]POST & json_proto [11:22:01]process_json_proto [11:22:01]json parsed OK: [11:22:01]protocol is kg_v1.0 [11:22:01]action value=close_receipt [11:22:01]process_action close_receipt [11:22:01]cmd_close_receipt [11:22:01]MH_GetDate [11:22:01]Write to MH i2c: F0 00 00 1A 14 1D [11:22:01]Write i2c OK [11:22:01]MH_I2C_Read... [11:22:01]Read from MH i2c: F0 [11:22:01]MH_I2C_Read... [11:22:01]Read from MH i2c: F0 09 00 [11:22:01]MH_I2C_Read... [11:22:01]Read from MH i2c: F0 09 00 1A 14 00 5C 06 95 66 2D 25 5D 64 96 [11:22:01]GetLastDocTimeStamp 1721042413 [11:22:01]current date 1721042524 [11:22:01]FM_GetShiftState [11:22:01]SAM_PROTO_GetShiftState [11:22:01]wFMCommunicate request_size=4 [11:22:01]MH_SAM_APDU [11:22:01]CAPDU: 80 13 01 00 [11:22:01]Write to MH i2c: E2 08 00 1B 14 80 13 01 00 00 00 00 00 AC [11:22:01]Write i2c OK [11:22:01]MH_I2C_Read... [11:22:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:22:01]Read from MH i2c: E2 [11:22:01]MH_I2C_Read... [11:22:01]Read from MH i2c: E2 0E 00 [11:22:01]MH_I2C_Read... [11:22:01]Read from MH i2c: E2 0E 00 1B 14 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 25 [11:22:01]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [11:22:01]wFMCommunicate OK [11:22:01]SAM_PROTO_GetShiftState done [11:22:01]FM_GetShiftState done [11:22:01]opened in 1721003525 [11:22:01]opened+sec_in_day 1721089925 [11:22:01]quantity*price = 13500 [11:22:01]sum+1 = 13501 [11:22:01]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 135.00 НСП 1% : 1.19 НДС 12% : 14.34 Наличными: 135.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 59 15.07.2024 11:22 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57164 ФПД: 91085459120100 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T112204&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57164&fm=91085459120100&tin=02508201610067®Number=0000000000091208&sum=13500 0 [11:22:02]StoreToDocumentArchive [11:22:02]shift 497 fd 57164 [11:22:02]save to /storage/0497/doc_00057164 [11:22:02]save last doc name /storage/0497/doc_00057164 to /storage/kkm_last_doc_name [11:22:02]save OK [11:22:02]Clear old archive folders... [11:22:02]ProcessDocumentItem done err = 0, tmpTLVsize=274 [11:22:02]tlvbuf is 0097A690 [11:22:02]SAM_PROTO_ClearQueue [11:22:02]wFMCommunicate request_size=4 [11:22:02]MH_SAM_APDU [11:22:02]CAPDU: 80 09 00 00 [11:22:02]Write to MH i2c: E2 08 00 28 14 80 09 00 00 00 00 00 00 AE [11:22:02]Write i2c OK [11:22:02]MH_I2C_Read... [11:22:02]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:22:02]Read from MH i2c: E2 [11:22:02]MH_I2C_Read... [11:22:02]Read from MH i2c: E2 03 00 [11:22:02]MH_I2C_Read... [11:22:02]Read from MH i2c: E2 03 00 28 14 00 90 00 B0 [11:22:02]RAPDU: 90 00 [11:22:02]wFMCommunicate OK [11:22:02]SAM_PROTO_ClearQueue done [11:22:02]KKMCreateOFDPacket [11:22:02]OFDProtocolAddRootSTLVToBuf [11:22:02]FM_MakeSignedData [11:22:02]FM_MakeSignedData [11:22:02]SAM_PROTO_SignData [11:22:02]wFMCommunicate request_size=4 [11:22:02]MH_SAM_APDU [11:22:02]CAPDU: 80 0D 01 02 [11:22:02]Write to MH i2c: E2 08 00 29 14 80 0D 01 02 00 00 00 00 B6 [11:22:02]Write i2c OK [11:22:02]MH_I2C_Read... [11:22:02]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:22:02]Read from MH i2c: E2 [11:22:02]MH_I2C_Read... [11:22:02]Read from MH i2c: E2 03 00 [11:22:02]MH_I2C_Read... [11:22:02]Read from MH i2c: E2 03 00 29 14 00 90 00 B1 [11:22:02]RAPDU: 90 00 [11:22:02]wFMCommunicate OK [11:22:02]wFMCommunicate request_size=255 [11:22:02]MH_SAM_APDU [11:22:02]CAPDU: 80 0D 02 02 FA 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 34 39 39 37 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 43 6F 6D 70 61 63 74 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3B 00 00 00 F4 03 04 00 5C 06 95 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 [11:22:02]Write to MH i2c: E2 02 01 2A 14 80 0D 02 02 FA 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 34 39 39 37 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 43 6F 6D 70 61 63 74 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3B 00 00 00 F4 03 04 00 5C 06 95 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 00 00 5D [11:22:02]Write i2c OK [11:22:02]MH_I2C_Read... [11:22:03]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:22:03]Read from MH i2c: E2 [11:22:03]MH_I2C_Read... [11:22:03]Read from MH i2c: E2 03 00 [11:22:03]MH_I2C_Read... [11:22:03]Read from MH i2c: E2 03 00 2A 14 00 90 00 B2 [11:22:03]RAPDU: 90 00 [11:22:03]wFMCommunicate OK [11:22:03]wFMCommunicate request_size=33 [11:22:03]MH_SAM_APDU [11:22:03]CAPDU: 80 0D 02 02 1C 30 30 30 30 38 37 34 38 35 37 10 04 04 00 4C DF 00 00 35 04 06 00 52 D7 7C 6F 5F E4 [11:22:03]Write to MH i2c: E2 24 00 2B 14 80 0D 02 02 1C 00 30 30 30 30 38 37 34 38 35 37 10 04 04 00 4C DF 00 00 35 04 06 00 52 D7 7C 6F 5F E4 00 00 D1 [11:22:03]Write i2c OK [11:22:03]MH_I2C_Read... [11:22:03]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:22:03]Read from MH i2c: E2 [11:22:03]MH_I2C_Read... [11:22:03]Read from MH i2c: E2 03 00 [11:22:03]MH_I2C_Read... [11:22:03]Read from MH i2c: E2 03 00 2B 14 00 90 00 B3 [11:22:03]RAPDU: 90 00 [11:22:03]wFMCommunicate OK [11:22:03]wFMCommunicate request_size=4 [11:22:03]MH_SAM_APDU [11:22:03]CAPDU: 80 0D 03 02 [11:22:03]Write to MH i2c: E2 08 00 2C 14 80 0D 03 02 00 00 00 00 BB [11:22:03]Write i2c OK [11:22:03]MH_I2C_Read... [11:22:03]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:22:03]Read from MH i2c: E2 [11:22:03]MH_I2C_Read... [11:22:03]Read from MH i2c: E2 0B 00 [11:22:03]MH_I2C_Read... [11:22:03]Read from MH i2c: E2 0B 00 2C 14 00 67 20 E3 66 08 4B E5 AA 90 00 6E [11:22:03]RAPDU: 67 20 E3 66 08 4B E5 AA 90 00 [11:22:03]wFMCommunicate OK [11:22:03]SAM_PROTO_SignData done [11:22:03]FM_MakeSignedData done [11:22:03]CreateOFDProtocolMessage [11:22:03]wFMCommunicate request_size=4 [11:22:03]MH_SAM_APDU [11:22:03]CAPDU: 80 11 00 00 [11:22:03]Write to MH i2c: E2 08 00 2D 14 80 11 00 00 00 00 00 00 BB [11:22:03]Write i2c OK [11:22:03]MH_I2C_Read... [11:22:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:22:03]Read from MH i2c: E2 [11:22:03]MH_I2C_Read... [11:22:03]Read from MH i2c: E2 17 00 [11:22:03]MH_I2C_Read... [11:22:03]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 [11:22:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [11:22:03]wFMCommunicate OK [11:22:03]CreateOFDProtocolMessage done [11:22:03]OFDSenderStorePacket 57164 [11:22:03]StoreOFDPacket docnum=57164 [11:22: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 26 01 00 00 58 BC 1E 01 13 87 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 34 39 39 37 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 43 6F 6D 70 61 63 74 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3B 00 00 00 F4 03 04 00 5C 06 95 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 4C DF 00 00 35 04 06 00 52 D7 7C 6F 5F E4 67 20 E3 66 08 4B E5 AA [11:22:03]CheckFolder [11:22:03]dirname=/storage/ofd_packets [11:22:03]CheckFolder done [11:22:03]ProducePacketName [11:22:03]name=ofd_packets/00057164 [11:22:03]NVStorageSaveData ofd_packets/00057164 [11:22:03]File name is /storage/ofd_packets/00057164 [11:22:03]Write 324 bytes [11:22:03]NVStorageSaveData done [11:22:03]OFDSenderStorePacket done [11:22:03]KKMCreateOFDPacket done [11:22:03]NVStorageSaveData kkm_last_timestamp [11:22:03]File name is /storage/kkm_last_timestamp [11:22:03]Write 4 bytes [11:22:03]NVStorageSaveData done [11:22:03]ExternCall_PrintAddStr [11:22:03]wPrintStart [11:22:03]Write to MH i2c: 01 00 00 2E 14 42 [11:22:03]Write i2c OK [11:22:03]MH_I2C_Read... [11:22:03]Read from MH i2c: 01 [11:22:03]MH_I2C_Read... [11:22:03]Read from MH i2c: 01 07 00 [11:22:03]MH_I2C_Read... [11:22:03]Read from MH i2c: 01 07 00 2E 14 00 00 00 00 00 FF 0F 57 [11:22:03]RasterBufferAndPrint [11:22:03]line Счет N : (3)129618 [11:22:03]line ИНН: 02508201610067 [11:22:03]line Контрольно-Кассовый Чек [11:22:03]line ПРОДАЖА [11:22:03]line Товар: 48744997 [11:22:03]line Сигареты Winston Compact Blue [11:22:03]line 1.000 * 135.00 [11:22:03]line = 135.00 [11:22:03]line НДС 12% НСП 1% [11:22:03]line > о реализуемом товаре [11:22:03]line ИТОГО: 135.00 [11:22:03]line НСП 1% : 1.19 [11:22:03]line НДС 12% : 14.34 [11:22:03]line Наличными: 135.00 [11:22:03]line Безнал.: 0.00 [11:22:03]line Место: АЗС № 132 "Партнер Нефть" [11:22:03]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [11:22:03]line СНО: Общий режим [11:22:03]line Чек 59 15.07.2024 11:22 [11:22:03]line Смена: 497 ФФД: 1.0 [11:22:03]line ЗНМ: 0300000132 [11:22:03]line РНМ: 0000000000091208 [11:22:03]line Версия ККМ: 001 [11:22:03]line ФМ: 0000000000874857 [11:22:03]line ФД: 57164 [11:22:03]line ФПД: 91085459120100 [11:22:03]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T112204&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57164&fm=91085459120100&tin=02508201610067®Number=0000000000091208&sum=13500 [11:22:03]line 0 [11:22:03]written 0, free lines is 4095 [11:22:03]OFD Sender: Processing packet 57164 [packets to send 38, broken 37] [11:22:03]ProducePacketName [11:22:03]name=ofd_packets/00057164 [11:22:03]OFD Sender: To server: pG, [11:22:03]CommunicateWithHost lk.salyk.kg:30040 [11:22:03]ConnectInit lk.salyk.kg [11:22:03]Connected sock=10 [11:22: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 58 BC 1E 01 13 87 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 34 39 39 37 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 43 6F 6D 70 61 63 74 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3B 00 00 00 F4 03 04 00 5C 06 95 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 4C DF 00 00 35 04 06 00 52 D7 7C 6F 5F E4 67 20 E3 66 08 4B E5 AA [11:22: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 D7 0D 47 00 65 C3 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 4C DF 00 00 F4 03 04 00 AB AC 94 66 B6 04 01 00 00 AB 27 91 1C AA 63 78 27 [11:22:03]CommunicateWithHost err = 0 [11:22:03]CheckOFDResponse [11:22:03]1017 (14) - 77093643461234 [11:22:03]1041 (16) - 0000000000874857 [11:22:03]1040 (4) - 57164 [11:22:03]1012 (4) - 15.07.2024 04:59 [11:22:03]1206 (1) - 0 [11:22:03]OFD Sender: Remove packet 57164 [11:22:03]ProducePacketName [11:22:03]name=ofd_packets/00057164 [11:22:03]NVStorageDeleteData [11:22:04]Write to MH i2c: 01 00 00 57 14 6B [11:22:04]Write i2c OK [11:22:04]MH_I2C_Read... [11:22:04]Read from MH i2c: 01 [11:22:04]MH_I2C_Read... [11:22:04]Read from MH i2c: 01 07 00 [11:22:04]MH_I2C_Read... [11:22:04]Read from MH i2c: 01 07 00 57 14 00 00 00 00 00 E3 0C 61 [11:22:04]RasterBufferAndPrint [11:22:04]line [11:22:04]line [11:22:04]line [11:22:04]line [11:22:04]line [11:22:04]written 0, free lines is 3305 [11:22:04]MH_Cut [11:22:04]Write to MH i2c: D1 01 00 5E 14 01 44 [11:22:04]Write i2c OK [11:22:04]MH_I2C_Read... [11:22:04]Read from MH i2c: D1 [11:22:04]MH_I2C_Read... [11:22:04]Read from MH i2c: D1 01 00 [11:22:04]MH_I2C_Read... [11:22:04]Read from MH i2c: D1 01 00 5E 14 00 43 [11:22:04]Write to MH i2c: 01 00 00 5F 14 73 [11:22:04]Write i2c OK [11:22:04]MH_I2C_Read... [11:22:04]OFD Sender: No OFD packet to send [11:22:04]*** Cut start [11:22:04]*** Partial cut [11:22:04]*** CUTSNS_PIN = 1 [11:22:04]*** CUTSNS_PIN = 0 [11:22:05]*** Brake cut motor [11:22:05]Read from MH i2c: 01 [11:22:05]MH_I2C_Read... [11:22:05]*** Stop cut motor [11:22:05]*** Cut end [11:22:05]Read from MH i2c: 01 07 00 [11:22:05]MH_I2C_Read... [11:22:05]Read from MH i2c: 01 07 00 5F 14 00 00 00 00 00 FF 0F 88 [11:22:05]process_action close_receipt done [11:22:05]requested_data is exist [11:22:05]produce_requested_data [11:22:05]requested_item fm.sn is exist - process it [11:22:05]wFMCommunicate request_size=4 [11:22:05]MH_SAM_APDU [11:22:05]CAPDU: 80 11 00 00 [11:22:05]Write to MH i2c: E2 08 00 60 14 80 11 00 00 00 00 00 00 EE [11:22:05]Write i2c OK [11:22:05]MH_I2C_Read... [11:22:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:22:05]Read from MH i2c: E2 [11:22:05]MH_I2C_Read... [11:22:05]Read from MH i2c: E2 17 00 [11:22:05]MH_I2C_Read... [11:22:05]Read from MH i2c: E2 17 00 60 14 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:22:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [11:22:05]wFMCommunicate OK [11:22:05]requested_item fd.num is exist - process it [11:22:05]SAM_PROTO_GetFieldsCounters [11:22:05]wFMCommunicate request_size=4 [11:22:05]MH_SAM_APDU [11:22:05]CAPDU: 80 13 00 00 [11:22:05]Write to MH i2c: E2 08 00 61 14 80 13 00 00 00 00 00 00 F1 [11:22:05]Write i2c OK [11:22:05]MH_I2C_Read... [11:22:05]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:22:05]Read from MH i2c: E2 [11:22:05]MH_I2C_Read... [11:22:05]Read from MH i2c: E2 62 00 [11:22:05]MH_I2C_Read... [11:22:05]Read from MH i2c: E2 62 00 61 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 4C DF 00 00 0E 04 04 00 F1 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 E2 [11:22: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 4C DF 00 00 0E 04 04 00 F1 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 [11:22:05]wFMCommunicate OK [11:22:05]SAM_PROTO_GetFieldsCounters done [11:22:05]requested_item shift.num is exist - process it [11:22:05]requested_item shift.opened is exist - process it [11:22:05]req_shift_opened [11:22:05]FM_GetShiftState [11:22:05]SAM_PROTO_GetShiftState [11:22:05]wFMCommunicate request_size=4 [11:22:05]MH_SAM_APDU [11:22:05]CAPDU: 80 13 01 00 [11:22:05]Write to MH i2c: E2 08 00 62 14 80 13 01 00 00 00 00 00 F3 [11:22:05]Write i2c OK [11:22:05]MH_I2C_Read... [11:22:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:22:05]Read from MH i2c: E2 [11:22:05]MH_I2C_Read... [11:22:05]Read from MH i2c: E2 0E 00 [11:22:05]MH_I2C_Read... [11:22:05]Read from MH i2c: E2 0E 00 62 14 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 6C [11:22:05]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [11:22:05]wFMCommunicate OK [11:22:05]SAM_PROTO_GetShiftState done [11:22:05]FM_GetShiftState done [11:22:05]req_shift_opened done [11:22:05]requested_item shift.open_date is exist - process it [11:22:05]req_shift_open_date [11:22:05]req_shift_open_date done [11:22:05]requested_item shift.sale.total is exist - process it [11:22:05]SAM_PROTO_GetShiftData [11:22:05]wFMCommunicate request_size=4 [11:22:05]MH_SAM_APDU [11:22:05]CAPDU: 80 13 02 00 [11:22:05]Write to MH i2c: E2 08 00 63 14 80 13 02 00 00 00 00 00 F5 [11:22:05]Write i2c OK [11:22:05]MH_I2C_Read... [11:22:06]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [11:22:06]Read from MH i2c: E2 [11:22:06]MH_I2C_Read... [11:22:06]Read from MH i2c: E2 FD 00 [11:22:06]MH_I2C_Read... [11:22:06]Read from MH i2c: E2 FD 00 63 14 00 B6 04 AA 04 B2 04 6E 04 04 00 3B 00 00 00 69 04 9B 00 6F 04 04 00 3A 00 00 00 B1 04 03 00 AD 78 17 70 04 03 00 98 64 12 72 04 03 00 15 14 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 17 7E 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 2A 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 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 3A [11:22:06]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 3B 00 00 00 69 04 9B 00 6F 04 04 00 3A 00 00 00 B1 04 03 00 AD 78 17 70 04 03 00 98 64 12 72 04 03 00 15 14 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 17 7E 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 2A 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 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 [11:22:06]wFMCommunicate OK [11:22:06]wFMCommunicate request_size=4 [11:22:06]MH_SAM_APDU [11:22:06]CAPDU: 80 17 00 00 [11:22:06]Write to MH i2c: E2 08 00 64 14 80 17 00 00 00 00 00 00 F8 [11:22:06]Write i2c OK [11:22:06]MH_I2C_Read... [11:22:06]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [11:22:06]Read from MH i2c: E2 [11:22:06]MH_I2C_Read... [11:22:06]Read from MH i2c: E2 FD 00 [11:22:06]MH_I2C_Read... [11:22:06]Read from MH i2c: E2 FD 00 64 14 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 2D [11:22:06]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 [11:22:06]wFMCommunicate OK [11:22:06]wFMCommunicate request_size=4 [11:22:06]MH_SAM_APDU [11:22:06]CAPDU: 80 17 00 00 [11:22:06]Write to MH i2c: E2 08 00 65 14 80 17 00 00 00 00 00 00 F9 [11:22:06]Write i2c OK [11:22:06]MH_I2C_Read... [11:22:06]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [11:22:06]Read from MH i2c: E2 [11:22:06]MH_I2C_Read... [11:22:06]Read from MH i2c: E2 FD 00 [11:22:06]MH_I2C_Read... [11:22:06]Read from MH i2c: E2 FD 00 65 14 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 B9 [11:22:06]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 [11:22:06]wFMCommunicate OK [11:22:06]wFMCommunicate request_size=4 [11:22:06]MH_SAM_APDU [11:22:06]CAPDU: 80 17 00 00 [11:22:06]Write to MH i2c: E2 08 00 66 14 80 17 00 00 00 00 00 00 FA [11:22:06]Write i2c OK [11:22:06]MH_I2C_Read... [11:22:06]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [11:22:06]Read from MH i2c: E2 [11:22:06]MH_I2C_Read... [11:22:06]Read from MH i2c: E2 FD 00 [11:22:06]MH_I2C_Read... [11:22:06]Read from MH i2c: E2 FD 00 66 14 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 69 [11:22:06]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 [11:22:07]wFMCommunicate OK [11:22:07]wFMCommunicate request_size=4 [11:22:07]MH_SAM_APDU [11:22:07]CAPDU: 80 17 00 00 [11:22:07]Write to MH i2c: E2 08 00 67 14 80 17 00 00 00 00 00 00 FB [11:22:07]Write i2c OK [11:22:07]MH_I2C_Read... [11:22:07]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [11:22:07]Read from MH i2c: E2 [11:22:07]MH_I2C_Read... [11:22:07]Read from MH i2c: E2 D3 00 [11:22:07]MH_I2C_Read... [11:22:07]Read from MH i2c: E2 D3 00 67 14 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 E8 [11:22:07]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 [11:22:07]wFMCommunicate OK [11:22:07]SAM_PROTO_GetShiftData done [11:22:07]requested_item shift.sale.total_cash is exist - process it [11:22:07]requested_item shift.sale_refund.total is exist - process it [11:22:07]requested_item shift.sale_refund.total_cash is exist - process it [11:22:07]produce_requested_data done [11:22:07]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57164,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":15382.21,"shift.sale.total_cash":12054.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [11:22:07]process_action_free close_receipt [11:22:07]json_value_free [11:22:07]json_value_free done [11:22:07]process_json_proto returns [11:22:07]Send response to host [11:22:07]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57164,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":15382.21,"shift.sale.total_cash":12054.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [11:22:07]free response buf [11:22:07]execute_script done [11:22:07]execute_script returns [11:22:07]free content buf [11:22:07]Sock 9.Close socket [11:22:07]Sock 9.Thread stoped [11:22:09]OFD Sender: No OFD packet to send [11:22:14]OFD Sender: No OFD packet to send [11:22:19]OFD Sender: No OFD packet to send [11:22:24]OFD Sender: No OFD packet to send [11:22:29]OFD Sender: No OFD packet to send [11:22:34]OFD Sender: No OFD packet to send [11:22:39]OFD Sender: No OFD packet to send [11:22:44]OFD Sender: No OFD packet to send [11:22:49]OFD Sender: No OFD packet to send [11:22:54]OFD Sender: No OFD packet to send [11:22:59]OFD Sender: No OFD packet to send [11:23:04]OFD Sender: No OFD packet to send [11:23:09]OFD Sender: No OFD packet to send [11:23:14]OFD Sender: No OFD packet to send [11:23:19]OFD Sender: No OFD packet to send [11:23:24]OFD Sender: No OFD packet to send [11:23:29]OFD Sender: No OFD packet to send [11:23:34]OFD Sender: No OFD packet to send [11:23:39]OFD Sender: No OFD packet to send [11:23:44]OFD Sender: No OFD packet to send [11:23:49]OFD Sender: No OFD packet to send [11:23:54]OFD Sender: No OFD packet to send [11:23:59]OFD Sender: No OFD packet to send [11:24:04]OFD Sender: No OFD packet to send [11:24:09]OFD Sender: No OFD packet to send [11:24:14]OFD Sender: No OFD packet to send [11:24:19]OFD Sender: No OFD packet to send [11:24:24]OFD Sender: No OFD packet to send [11:24:29]OFD Sender: No OFD packet to send [11:24:34]OFD Sender: No OFD packet to send [11:24:39]OFD Sender: No OFD packet to send [11:24:44]OFD Sender: No OFD packet to send [11:24:49]OFD Sender: No OFD packet to send [11:24:54]OFD Sender: No OFD packet to send [11:24:59]OFD Sender: No OFD packet to send [11:25:04]OFD Sender: No OFD packet to send [11:25:09]OFD Sender: No OFD packet to send [11:25:14]OFD Sender: No OFD packet to send [11:25:19]OFD Sender: No OFD packet to send [11:25:24]OFD Sender: No OFD packet to send [11:25:29]OFD Sender: No OFD packet to send [11:25:34]OFD Sender: No OFD packet to send [11:25:39]OFD Sender: No OFD packet to send [11:25:44]OFD Sender: No OFD packet to send [11:25:49]OFD Sender: No OFD packet to send [11:25:54]OFD Sender: No OFD packet to send [11:25:59]OFD Sender: No OFD packet to send [11:26:04]OFD Sender: No OFD packet to send [11:26:09]OFD Sender: No OFD packet to send [11:26:14]OFD Sender: No OFD packet to send [11:26:19]OFD Sender: No OFD packet to send [11:26:24]OFD Sender: No OFD packet to send [11:26:29]OFD Sender: No OFD packet to send [11:26:34]OFD Sender: No OFD packet to send [11:26:39]OFD Sender: No OFD packet to send [11:26:44]OFD Sender: No OFD packet to send [11:26:49]OFD Sender: No OFD packet to send [11:26:54]OFD Sender: No OFD packet to send [11:26:59]OFD Sender: No OFD packet to send [11:27:04]OFD Sender: No OFD packet to send [11:27:09]OFD Sender: No OFD packet to send [11:27:14]OFD Sender: No OFD packet to send [11:27:19]OFD Sender: No OFD packet to send [11:27:24]OFD Sender: No OFD packet to send [11:27:29]OFD Sender: No OFD packet to send [11:27:34]OFD Sender: No OFD packet to send [11:27:39]OFD Sender: No OFD packet to send [11:27:44]OFD Sender: No OFD packet to send [11:27:49]OFD Sender: No OFD packet to send [11:27:54]OFD Sender: No OFD packet to send [11:27:59]OFD Sender: No OFD packet to send [11:28:04]OFD Sender: No OFD packet to send [11:28:09]OFD Sender: No OFD packet to send [11:28:14]OFD Sender: No OFD packet to send [11:28:19]OFD Sender: No OFD packet to send [11:28:24]OFD Sender: No OFD packet to send [11:28:29]OFD Sender: No OFD packet to send [11:28:34]OFD Sender: No OFD packet to send [11:28:39]OFD Sender: No OFD packet to send [11:28:44]OFD Sender: No OFD packet to send [11:28:49]OFD Sender: No OFD packet to send [11:28:54]OFD Sender: No OFD packet to send [11:28:59]OFD Sender: No OFD packet to send [11:29:04]OFD Sender: No OFD packet to send [11:29:09]OFD Sender: No OFD packet to send [11:29:14]OFD Sender: No OFD packet to send [11:29:19]OFD Sender: No OFD packet to send [11:29:24]OFD Sender: No OFD packet to send [11:29:29]OFD Sender: No OFD packet to send [11:29:34]OFD Sender: No OFD packet to send [11:29:39]OFD Sender: No OFD packet to send [11:29:44]OFD Sender: No OFD packet to send [11:29:49]OFD Sender: No OFD packet to send [11:29:54]OFD Sender: No OFD packet to send [11:29:59]OFD Sender: No OFD packet to send [11:30:04]OFD Sender: No OFD packet to send [11:30:09]OFD Sender: No OFD packet to send [11:30:14]OFD Sender: No OFD packet to send [11:30:19]OFD Sender: No OFD packet to send [11:30:24]OFD Sender: No OFD packet to send [11:30:29]OFD Sender: No OFD packet to send [11:30:34]OFD Sender: No OFD packet to send [11:30:39]OFD Sender: No OFD packet to send [11:30:44]OFD Sender: No OFD packet to send [11:30:49]OFD Sender: No OFD packet to send [11:30:54]OFD Sender: No OFD packet to send [11:30:59]OFD Sender: No OFD packet to send [11:31:04]OFD Sender: No OFD packet to send [11:31:09]OFD Sender: No OFD packet to send [11:31:14]OFD Sender: No OFD packet to send [11:31:19]OFD Sender: No OFD packet to send [11:31:24]OFD Sender: No OFD packet to send [11:31:29]OFD Sender: No OFD packet to send [11:31:34]OFD Sender: No OFD packet to send [11:31:39]OFD Sender: No OFD packet to send [11:31:44]OFD Sender: No OFD packet to send [11:31:50]OFD Sender: No OFD packet to send [11:31:55]OFD Sender: No OFD packet to send [11:32:00]OFD Sender: No OFD packet to send [11:32:05]OFD Sender: No OFD packet to send [11:32:10]OFD Sender: No OFD packet to send [11:32:15]OFD Sender: No OFD packet to send [11:32:20]OFD Sender: No OFD packet to send [11:32:25]OFD Sender: No OFD packet to send [11:32:30]OFD Sender: No OFD packet to send [11:32:35]OFD Sender: No OFD packet to send [11:32:40]OFD Sender: No OFD packet to send [11:32:45]OFD Sender: No OFD packet to send [11:32:50]OFD Sender: No OFD packet to send [11:32:55]OFD Sender: No OFD packet to send [11:33:00]OFD Sender: No OFD packet to send [11:33:05]OFD Sender: No OFD packet to send [11:33:10]OFD Sender: No OFD packet to send [11:33:15]OFD Sender: No OFD packet to send [11:33:20]OFD Sender: No OFD packet to send [11:33:25]OFD Sender: No OFD packet to send [11:33:30]OFD Sender: No OFD packet to send [11:33:35]OFD Sender: No OFD packet to send [11:33:40]OFD Sender: No OFD packet to send [11:33:45]OFD Sender: No OFD packet to send [11:33:50]OFD Sender: No OFD packet to send [11:33:55]OFD Sender: No OFD packet to send [11:34:00]OFD Sender: No OFD packet to send [11:34:05]OFD Sender: No OFD packet to send [11:34:10]OFD Sender: No OFD packet to send [11:34:15]OFD Sender: No OFD packet to send [11:34:20]OFD Sender: No OFD packet to send [11:34:25]OFD Sender: No OFD packet to send [11:34:30]OFD Sender: No OFD packet to send [11:34:35]OFD Sender: No OFD packet to send [11:34:40]OFD Sender: No OFD packet to send [11:34:45]OFD Sender: No OFD packet to send [11:34:50]OFD Sender: No OFD packet to send [11:34:55]OFD Sender: No OFD packet to send [11:35:00]OFD Sender: No OFD packet to send [11:35:05]OFD Sender: No OFD packet to send [11:35:10]OFD Sender: No OFD packet to send [11:35:15]OFD Sender: No OFD packet to send [11:35:20]OFD Sender: No OFD packet to send [11:35:25]OFD Sender: No OFD packet to send [11:35:30]OFD Sender: No OFD packet to send [11:35:35]OFD Sender: No OFD packet to send [11:35:40]OFD Sender: No OFD packet to send [11:35:45]OFD Sender: No OFD packet to send [11:35:50]OFD Sender: No OFD packet to send [11:35:55]OFD Sender: No OFD packet to send [11:36:00]OFD Sender: No OFD packet to send [11:36:05]OFD Sender: No OFD packet to send [11:36:10]OFD Sender: No OFD packet to send [11:36:15]OFD Sender: No OFD packet to send [11:36:20]OFD Sender: No OFD packet to send [11:36:25]OFD Sender: No OFD packet to send [11:36:30]OFD Sender: No OFD packet to send [11:36:35]OFD Sender: No OFD packet to send [11:36:40]OFD Sender: No OFD packet to send [11:36:45]OFD Sender: No OFD packet to send [11:36:50]OFD Sender: No OFD packet to send [11:36:55]OFD Sender: No OFD packet to send [11:37:00]OFD Sender: No OFD packet to send [11:37:05]OFD Sender: No OFD packet to send [11:37:10]OFD Sender: No OFD packet to send [11:37:15]OFD Sender: No OFD packet to send [11:37:20]OFD Sender: No OFD packet to send [11:37:25]OFD Sender: No OFD packet to send [11:37:30]OFD Sender: No OFD packet to send [11:37:35]OFD Sender: No OFD packet to send [11:37:40]OFD Sender: No OFD packet to send [11:37:45]OFD Sender: No OFD packet to send [11:37:50]OFD Sender: No OFD packet to send [11:37:55]OFD Sender: No OFD packet to send [11:38:00]OFD Sender: No OFD packet to send [11:38:05]OFD Sender: No OFD packet to send [11:38:10]OFD Sender: No OFD packet to send [11:38:15]OFD Sender: No OFD packet to send [11:38:20]OFD Sender: No OFD packet to send [11:38:25]OFD Sender: No OFD packet to send [11:38:30]OFD Sender: No OFD packet to send [11:38:35]OFD Sender: No OFD packet to send [11:38:39]accept exits with 8 [11:38:39]New connection [11:38:39]New thread 3067067748 created [11:38:39]Thread 3066924388 joined [11:38:39]Waiting for new connection... [11:38:39] Sock 8.Parse request [11:38:39]Sock 8.Check first char [11:38:39]Sock 8.First char is OK [11:38:39]request: POST /json_proto HTTP/1.0 [11:38:39]Method: POST [11:38:39]URL: /json_proto [11:38:39]Method is POST - this is cgi request [11:38:39]url: /json_proto [11:38:39]query_string will be loaded in cgi processing [11:38:39]execute_cgi json_proto POST (null) [11:38:39]execute_cgi path=json_proto method=POST [11:38:39]POST find Content-Length [11:38:39]Host: 172.17.39.4:8080 [11:38:39]Content-Length: 771 [11:38:39]Content-Type: application/json [11:38:39] [11:38:39]POST finish read [11:38:39]Found Content-Length = 771 [11:38:39]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129619", "tax_sys" : 0, "items" : [ { "code": "4700002082191", "name": "\u0412\u043E\u0434\u043A\u0430 \u0411\u0435\u043B\u043E\u0435 \u0437\u043E\u043B\u043E\u0442\u043E 0,46\u043B", "price" : 350.00, "quantity" : 1.000, "sum" : 350.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 350.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [11:38:39]execute_script... [11:38:39]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129619", "tax_sys" : 0, "items" : [ { "code": "4700002082191", "name": "\u0412\u043E\u0434\u043A\u0430 \u0411\u0435\u043B\u043E\u0435 \u0437\u043E\u043B\u043E\u0442\u043E 0,46\u043B", "price" : 350.00, "quantity" : 1.000, "sum" : 350.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 350.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [11:38:39]POST & json_proto [11:38:39]process_json_proto [11:38:39]json parsed OK: [11:38:39]protocol is kg_v1.0 [11:38:39]action value=close_receipt [11:38:39]process_action close_receipt [11:38:39]cmd_close_receipt [11:38:39]MH_GetDate [11:38:39]Write to MH i2c: F0 00 00 68 14 6B [11:38:39]Write i2c OK [11:38:39]MH_I2C_Read... [11:38:39]Read from MH i2c: F0 [11:38:39]MH_I2C_Read... [11:38:39]Read from MH i2c: F0 09 00 [11:38:39]MH_I2C_Read... [11:38:39]Read from MH i2c: F0 09 00 68 14 00 43 0A 95 66 2D 25 5D 64 CF [11:38:39]GetLastDocTimeStamp 1721042524 [11:38:39]current date 1721043523 [11:38:39]FM_GetShiftState [11:38:39]SAM_PROTO_GetShiftState [11:38:39]wFMCommunicate request_size=4 [11:38:39]MH_SAM_APDU [11:38:39]CAPDU: 80 13 01 00 [11:38:39]Write to MH i2c: E2 08 00 69 14 80 13 01 00 00 00 00 00 FA [11:38:39]Write i2c OK [11:38:39]MH_I2C_Read... [11:38:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:38:39]Read from MH i2c: E2 [11:38:39]MH_I2C_Read... [11:38:39]Read from MH i2c: E2 0E 00 [11:38:39]MH_I2C_Read... [11:38:39]Read from MH i2c: E2 0E 00 69 14 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 73 [11:38:39]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [11:38:39]wFMCommunicate OK [11:38:39]SAM_PROTO_GetShiftState done [11:38:39]FM_GetShiftState done [11:38:39]opened in 1721003525 [11:38:39]opened+sec_in_day 1721089925 [11:38:39]quantity*price = 35000 [11:38:39]sum+1 = 35001 [11:38:39]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 350.00 НСП 1% : 3.10 НДС 12% : 37.17 Наличными: 350.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 60 15.07.2024 11:38 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57165 ФПД: 55991356219945 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T113843&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57165&fm=55991356219945&tin=02508201610067®Number=0000000000091208&sum=35000 0 [11:38:40]StoreToDocumentArchive [11:38:40]shift 497 fd 57165 [11:38:40]save to /storage/0497/doc_00057165 [11:38:40]save last doc name /storage/0497/doc_00057165 to /storage/kkm_last_doc_name [11:38:40]save OK [11:38:40]Clear old archive folders... [11:38:40]ProcessDocumentItem done err = 0, tmpTLVsize=283 [11:38:40]tlvbuf is 009D3810 [11:38:40]SAM_PROTO_ClearQueue [11:38:40]wFMCommunicate request_size=4 [11:38:40]MH_SAM_APDU [11:38:40]CAPDU: 80 09 00 00 [11:38:40]Write to MH i2c: E2 08 00 76 14 80 09 00 00 00 00 00 00 FC [11:38:40]Write i2c OK [11:38:40]MH_I2C_Read... [11:38:40]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:38:40]Read from MH i2c: E2 [11:38:40]MH_I2C_Read... [11:38:40]Read from MH i2c: E2 03 00 [11:38:40]MH_I2C_Read... [11:38:40]Read from MH i2c: E2 03 00 76 14 00 90 00 FE [11:38:40]RAPDU: 90 00 [11:38:40]wFMCommunicate OK [11:38:40]SAM_PROTO_ClearQueue done [11:38:40]KKMCreateOFDPacket [11:38:40]OFDProtocolAddRootSTLVToBuf [11:38:40]FM_MakeSignedData [11:38:40]FM_MakeSignedData [11:38:40]SAM_PROTO_SignData [11:38:40]wFMCommunicate request_size=4 [11:38:40]MH_SAM_APDU [11:38:40]CAPDU: 80 0D 01 02 [11:38:40]Write to MH i2c: E2 08 00 77 14 80 0D 01 02 00 00 00 00 04 [11:38:40]Write i2c OK [11:38:40]MH_I2C_Read... [11:38:40]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:38:40]Read from MH i2c: E2 [11:38:40]MH_I2C_Read... [11:38:40]Read from MH i2c: E2 03 00 [11:38:40]MH_I2C_Read... [11:38:40]Read from MH i2c: E2 03 00 77 14 00 90 00 FF [11:38:40]RAPDU: 90 00 [11:38:40]wFMCommunicate OK [11:38:40]wFMCommunicate request_size=255 [11:38:40]MH_SAM_APDU [11:38:40]CAPDU: 80 0D 02 02 FA 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 32 31 39 31 06 04 29 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 91 D0 B5 D0 BB D0 BE D0 B5 20 D0 B7 D0 BE D0 BB D0 BE D1 82 D0 BE 20 30 2C 34 36 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B8 88 00 00 00 00 13 04 06 00 B8 88 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 88 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 36 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 85 0E 00 00 00 00 07 04 06 00 B8 88 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3C 00 00 00 F4 03 04 00 43 0A 95 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 [11:38:40]Write to MH i2c: E2 02 01 78 14 80 0D 02 02 FA 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 32 31 39 31 06 04 29 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 91 D0 B5 D0 BB D0 BE D0 B5 20 D0 B7 D0 BE D0 BB D0 BE D1 82 D0 BE 20 30 2C 34 36 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B8 88 00 00 00 00 13 04 06 00 B8 88 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 88 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 36 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 85 0E 00 00 00 00 07 04 06 00 B8 88 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3C 00 00 00 F4 03 04 00 43 0A 95 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 00 00 F0 [11:38:40]Write i2c OK [11:38:40]MH_I2C_Read... [11:38:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:38:41]Read from MH i2c: E2 [11:38:41]MH_I2C_Read... [11:38:41]Read from MH i2c: E2 03 00 [11:38:41]MH_I2C_Read... [11:38:41]Read from MH i2c: E2 03 00 78 14 00 90 00 00 [11:38:41]RAPDU: 90 00 [11:38:41]wFMCommunicate OK [11:38:41]wFMCommunicate request_size=42 [11:38:41]MH_SAM_APDU [11:38:41]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 4D DF 00 00 35 04 06 00 32 EC 80 E5 E2 29 [11:38:41]Write to MH i2c: E2 2D 00 79 14 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 4D DF 00 00 35 04 06 00 32 EC 80 E5 E2 29 00 00 9D [11:38:41]Write i2c OK [11:38:41]MH_I2C_Read... [11:38:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:38:41]Read from MH i2c: E2 [11:38:41]MH_I2C_Read... [11:38:41]Read from MH i2c: E2 03 00 [11:38:41]MH_I2C_Read... [11:38:41]Read from MH i2c: E2 03 00 79 14 00 90 00 01 [11:38:41]RAPDU: 90 00 [11:38:41]wFMCommunicate OK [11:38:41]wFMCommunicate request_size=4 [11:38:41]MH_SAM_APDU [11:38:41]CAPDU: 80 0D 03 02 [11:38:41]Write to MH i2c: E2 08 00 7A 14 80 0D 03 02 00 00 00 00 09 [11:38:41]Write i2c OK [11:38:41]MH_I2C_Read... [11:38:41]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:38:41]Read from MH i2c: E2 [11:38:41]MH_I2C_Read... [11:38:41]Read from MH i2c: E2 0B 00 [11:38:41]MH_I2C_Read... [11:38:41]Read from MH i2c: E2 0B 00 7A 14 00 EB B0 02 58 42 1B 06 91 90 00 F3 [11:38:41]RAPDU: EB B0 02 58 42 1B 06 91 90 00 [11:38:41]wFMCommunicate OK [11:38:41]SAM_PROTO_SignData done [11:38:41]FM_MakeSignedData done [11:38:41]CreateOFDProtocolMessage [11:38:41]wFMCommunicate request_size=4 [11:38:41]MH_SAM_APDU [11:38:41]CAPDU: 80 11 00 00 [11:38:41]Write to MH i2c: E2 08 00 7B 14 80 11 00 00 00 00 00 00 09 [11:38:41]Write i2c OK [11:38:41]MH_I2C_Read... [11:38:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:38:41]Read from MH i2c: E2 [11:38:41]MH_I2C_Read... [11:38:41]Read from MH i2c: E2 17 00 [11:38:41]MH_I2C_Read... [11:38:41]Read from MH i2c: E2 17 00 7B 14 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: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 [11:38:41]wFMCommunicate OK [11:38:41]CreateOFDProtocolMessage done [11:38:41]OFDSenderStorePacket 57165 [11:38:41]StoreOFDPacket docnum=57165 [11:38:41]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 31 6B 27 01 44 9E 5A 03 01 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 32 31 39 31 06 04 29 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 91 D0 B5 D0 BB D0 BE D0 B5 20 D0 B7 D0 BE D0 BB D0 BE D1 82 D0 BE 20 30 2C 34 36 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B8 88 00 00 00 00 13 04 06 00 B8 88 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 88 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 36 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 85 0E 00 00 00 00 07 04 06 00 B8 88 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3C 00 00 00 F4 03 04 00 43 0A 95 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 4D DF 00 00 35 04 06 00 32 EC 80 E5 E2 29 EB B0 02 58 42 1B 06 91 [11:38:41]CheckFolder [11:38:41]dirname=/storage/ofd_packets [11:38:41]CheckFolder done [11:38:41]ProducePacketName [11:38:41]name=ofd_packets/00057165 [11:38:41]NVStorageSaveData ofd_packets/00057165 [11:38:41]File name is /storage/ofd_packets/00057165 [11:38:41]Write 333 bytes [11:38:41]NVStorageSaveData done [11:38:41]OFDSenderStorePacket done [11:38:41]KKMCreateOFDPacket done [11:38:41]NVStorageSaveData kkm_last_timestamp [11:38:41]File name is /storage/kkm_last_timestamp [11:38:41]Write 4 bytes [11:38:41]NVStorageSaveData done [11:38:41]ExternCall_PrintAddStr [11:38:41]wPrintStart [11:38:41]Write to MH i2c: 01 00 00 7C 14 90 [11:38:41]Write i2c OK [11:38:41]MH_I2C_Read... [11:38:41]Read from MH i2c: 01 [11:38:41]MH_I2C_Read... [11:38:41]Read from MH i2c: 01 07 00 [11:38:41]MH_I2C_Read... [11:38:41]Read from MH i2c: 01 07 00 7C 14 00 00 00 00 00 FF 0F A5 [11:38:41]RasterBufferAndPrint [11:38:41]line Счет N : (3)129619 [11:38:41]line ИНН: 02508201610067 [11:38:41]line Контрольно-Кассовый Чек [11:38:41]line ПРОДАЖА [11:38:41]line Товар: 4700002082191 [11:38:41]line Водка Белое золото 0,46л [11:38:41]line 1.000 * 350.00 [11:38:41]line = 350.00 [11:38:41]line НДС 12% НСП 1% [11:38:41]line > о реализуемом товаре [11:38:41]line ИТОГО: 350.00 [11:38:41]line НСП 1% : 3.10 [11:38:41]line НДС 12% : 37.17 [11:38:41]line Наличными: 350.00 [11:38:41]line Безнал.: 0.00 [11:38:41]line Место: АЗС № 132 "Партнер Нефть" [11:38:41]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [11:38:41]line СНО: Общий режим [11:38:41]line Чек 60 15.07.2024 11:38 [11:38:41]line Смена: 497 ФФД: 1.0 [11:38:41]line ЗНМ: 0300000132 [11:38:41]line РНМ: 0000000000091208 [11:38:41]line Версия ККМ: 001 [11:38:41]line ФМ: 0000000000874857 [11:38:41]line ФД: 57165 [11:38:41]line ФПД: 55991356219945 [11:38:41]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T113843&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57165&fm=55991356219945&tin=02508201610067®Number=0000000000091208&sum=35000 [11:38:41]OFD Sender: Processing packet 57165 [packets to send 38, broken 37] [11:38:41]ProducePacketName [11:38:41]name=ofd_packets/00057165 [11:38:41]OFD Sender: To server: pG, [11:38:41]CommunicateWithHost lk.salyk.kg:30040 [11:38:41]ConnectInit lk.salyk.kg [11:38:41]line 0 [11:38:41]written 0, free lines is 4095 [11:38:41]Connected sock=10 [11:38: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 2F 01 00 00 31 6B 27 01 44 9E 5A 03 01 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 32 31 39 31 06 04 29 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 91 D0 B5 D0 BB D0 BE D0 B5 20 D0 B7 D0 BE D0 BB D0 BE D1 82 D0 BE 20 30 2C 34 36 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B8 88 00 00 00 00 13 04 06 00 B8 88 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 88 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 36 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 85 0E 00 00 00 00 07 04 06 00 B8 88 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3C 00 00 00 F4 03 04 00 43 0A 95 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 4D DF 00 00 35 04 06 00 32 EC 80 E5 E2 29 EB B0 02 58 42 1B 06 91 [11:38: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 8C 7B 47 00 28 9E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 4D DF 00 00 F4 03 04 00 91 B0 94 66 B6 04 01 00 00 B3 B9 64 6C 7A 80 30 68 [11:38:42]CommunicateWithHost err = 0 [11:38:42]CheckOFDResponse [11:38:42]1017 (14) - 77093643461234 [11:38:42]1041 (16) - 0000000000874857 [11:38:42]1040 (4) - 57165 [11:38:42]1012 (4) - 15.07.2024 05:16 [11:38:42]1206 (1) - 0 [11:38:42]OFD Sender: Remove packet 57165 [11:38:42]ProducePacketName [11:38:42]name=ofd_packets/00057165 [11:38:42]NVStorageDeleteData [11:38:42]Write to MH i2c: 01 00 00 A4 14 B8 [11:38:42]Write i2c OK [11:38:42]MH_I2C_Read... [11:38:42]Read from MH i2c: 01 [11:38:42]MH_I2C_Read... [11:38:42]Read from MH i2c: 01 07 00 [11:38:42]MH_I2C_Read... [11:38:42]Read from MH i2c: 01 07 00 A4 14 00 00 00 00 00 0E 0D DA [11:38:42]RasterBufferAndPrint [11:38:42]line [11:38:42]line [11:38:42]line [11:38:42]line [11:38:42]line [11:38:42]written 0, free lines is 3348 [11:38:42]MH_Cut [11:38:42]Write to MH i2c: D1 01 00 AB 14 01 91 [11:38:42]Write i2c OK [11:38:42]MH_I2C_Read... [11:38:42]Read from MH i2c: D1 [11:38:42]MH_I2C_Read... [11:38:42]Read from MH i2c: D1 01 00 [11:38:42]MH_I2C_Read... [11:38:42]Read from MH i2c: D1 01 00 AB 14 00 90 [11:38:42]Write to MH i2c: 01 00 00 AC 14 C0 [11:38:42]Write i2c OK [11:38:42]MH_I2C_Read... [11:38:42]OFD Sender: No OFD packet to send [11:38:42]*** Cut start [11:38:42]*** Partial cut [11:38:42]*** CUTSNS_PIN = 1 [11:38:42]*** CUTSNS_PIN = 0 [11:38:43]*** Brake cut motor [11:38:43]Read from MH i2c: 01 [11:38:43]MH_I2C_Read... [11:38:43]*** Stop cut motor [11:38:43]*** Cut end [11:38:43]Read from MH i2c: 01 07 00 [11:38:43]MH_I2C_Read... [11:38:43]Read from MH i2c: 01 07 00 AC 14 00 00 00 00 00 FF 0F D5 [11:38:43]process_action close_receipt done [11:38:43]requested_data is exist [11:38:43]produce_requested_data [11:38:43]requested_item fm.sn is exist - process it [11:38:43]wFMCommunicate request_size=4 [11:38:43]MH_SAM_APDU [11:38:43]CAPDU: 80 11 00 00 [11:38:43]Write to MH i2c: E2 08 00 AD 14 80 11 00 00 00 00 00 00 3B [11:38:43]Write i2c OK [11:38:43]MH_I2C_Read... [11:38:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:38:43]Read from MH i2c: E2 [11:38:43]MH_I2C_Read... [11:38:43]Read from MH i2c: E2 17 00 [11:38:43]MH_I2C_Read... [11:38:43]Read from MH i2c: E2 17 00 AD 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 95 [11:38:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [11:38:43]wFMCommunicate OK [11:38:43]requested_item fd.num is exist - process it [11:38:43]SAM_PROTO_GetFieldsCounters [11:38:43]wFMCommunicate request_size=4 [11:38:43]MH_SAM_APDU [11:38:43]CAPDU: 80 13 00 00 [11:38:43]Write to MH i2c: E2 08 00 AE 14 80 13 00 00 00 00 00 00 3E [11:38:43]Write i2c OK [11:38:43]MH_I2C_Read... [11:38:43]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:38:43]Read from MH i2c: E2 [11:38:43]MH_I2C_Read... [11:38:43]Read from MH i2c: E2 62 00 [11:38:43]MH_I2C_Read... [11:38:43]Read from MH i2c: E2 62 00 AE 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 4D DF 00 00 0E 04 04 00 F1 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 33 [11:38: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 4D DF 00 00 0E 04 04 00 F1 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:38:43]wFMCommunicate OK [11:38:43]SAM_PROTO_GetFieldsCounters done [11:38:43]requested_item shift.num is exist - process it [11:38:43]requested_item shift.opened is exist - process it [11:38:43]req_shift_opened [11:38:43]FM_GetShiftState [11:38:43]SAM_PROTO_GetShiftState [11:38:43]wFMCommunicate request_size=4 [11:38:43]MH_SAM_APDU [11:38:43]CAPDU: 80 13 01 00 [11:38:43]Write to MH i2c: E2 08 00 AF 14 80 13 01 00 00 00 00 00 40 [11:38:43]Write i2c OK [11:38:43]MH_I2C_Read... [11:38:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:38:43]Read from MH i2c: E2 [11:38:43]MH_I2C_Read... [11:38:43]Read from MH i2c: E2 0E 00 [11:38:43]MH_I2C_Read... [11:38:43]Read from MH i2c: E2 0E 00 AF 14 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 B9 [11:38:43]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [11:38:43]wFMCommunicate OK [11:38:43]SAM_PROTO_GetShiftState done [11:38:43]FM_GetShiftState done [11:38:43]req_shift_opened done [11:38:43]requested_item shift.open_date is exist - process it [11:38:43]req_shift_open_date [11:38:43]req_shift_open_date done [11:38:43]requested_item shift.sale.total is exist - process it [11:38:43]SAM_PROTO_GetShiftData [11:38:43]wFMCommunicate request_size=4 [11:38:43]MH_SAM_APDU [11:38:43]CAPDU: 80 13 02 00 [11:38:43]Write to MH i2c: E2 08 00 B0 14 80 13 02 00 00 00 00 00 42 [11:38:43]Write i2c OK [11:38:43]MH_I2C_Read... [11:38:44]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [11:38:44]Read from MH i2c: E2 [11:38:44]MH_I2C_Read... [11:38:44]Read from MH i2c: E2 FD 00 [11:38:44]MH_I2C_Read... [11:38:44]Read from MH i2c: E2 FD 00 B0 14 00 B6 04 AA 04 B2 04 6E 04 04 00 3C 00 00 00 69 04 9B 00 6F 04 04 00 3B 00 00 00 B1 04 03 00 65 01 18 70 04 03 00 50 ED 12 72 04 03 00 15 14 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 9C 8C 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 60 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 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 D6 [11:38:44]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 3C 00 00 00 69 04 9B 00 6F 04 04 00 3B 00 00 00 B1 04 03 00 65 01 18 70 04 03 00 50 ED 12 72 04 03 00 15 14 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 9C 8C 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 60 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 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 [11:38:44]wFMCommunicate OK [11:38:44]wFMCommunicate request_size=4 [11:38:44]MH_SAM_APDU [11:38:44]CAPDU: 80 17 00 00 [11:38:44]Write to MH i2c: E2 08 00 B1 14 80 17 00 00 00 00 00 00 45 [11:38:44]Write i2c OK [11:38:44]MH_I2C_Read... [11:38:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [11:38:44]Read from MH i2c: E2 [11:38:44]MH_I2C_Read... [11:38:44]Read from MH i2c: E2 FD 00 [11:38:44]MH_I2C_Read... [11:38:44]Read from MH i2c: E2 FD 00 B1 14 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 7A [11:38:44]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 [11:38:44]wFMCommunicate OK [11:38:44]wFMCommunicate request_size=4 [11:38:44]MH_SAM_APDU [11:38:44]CAPDU: 80 17 00 00 [11:38:44]Write to MH i2c: E2 08 00 B2 14 80 17 00 00 00 00 00 00 46 [11:38:44]Write i2c OK [11:38:44]MH_I2C_Read... [11:38:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [11:38:44]Read from MH i2c: E2 [11:38:44]MH_I2C_Read... [11:38:44]Read from MH i2c: E2 FD 00 [11:38:44]MH_I2C_Read... [11:38:44]Read from MH i2c: E2 FD 00 B2 14 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 06 [11:38:44]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 [11:38:44]wFMCommunicate OK [11:38:44]wFMCommunicate request_size=4 [11:38:44]MH_SAM_APDU [11:38:44]CAPDU: 80 17 00 00 [11:38:44]Write to MH i2c: E2 08 00 B3 14 80 17 00 00 00 00 00 00 47 [11:38:44]Write i2c OK [11:38:44]MH_I2C_Read... [11:38:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [11:38:44]Read from MH i2c: E2 [11:38:44]MH_I2C_Read... [11:38:44]Read from MH i2c: E2 FD 00 [11:38:44]MH_I2C_Read... [11:38:44]Read from MH i2c: E2 FD 00 B3 14 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 B6 [11:38:45]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 [11:38:45]wFMCommunicate OK [11:38:45]wFMCommunicate request_size=4 [11:38:45]MH_SAM_APDU [11:38:45]CAPDU: 80 17 00 00 [11:38:45]Write to MH i2c: E2 08 00 B4 14 80 17 00 00 00 00 00 00 48 [11:38:45]Write i2c OK [11:38:45]MH_I2C_Read... [11:38:45]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [11:38:45]Read from MH i2c: E2 [11:38:45]MH_I2C_Read... [11:38:45]Read from MH i2c: E2 D3 00 [11:38:45]MH_I2C_Read... [11:38:45]Read from MH i2c: E2 D3 00 B4 14 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 35 [11:38:45]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 [11:38:45]wFMCommunicate OK [11:38:45]SAM_PROTO_GetShiftData done [11:38:45]requested_item shift.sale.total_cash is exist - process it [11:38:45]requested_item shift.sale_refund.total is exist - process it [11:38:45]requested_item shift.sale_refund.total_cash is exist - process it [11:38:45]produce_requested_data done [11:38:45]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57165,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":15732.21,"shift.sale.total_cash":12404.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [11:38:45]process_action_free close_receipt [11:38:45]json_value_free [11:38:45]json_value_free done [11:38:45]process_json_proto returns [11:38:45]Send response to host [11:38:45]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57165,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":15732.21,"shift.sale.total_cash":12404.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [11:38:45]free response buf [11:38:45]execute_script done [11:38:45]execute_script returns [11:38:45]free content buf [11:38:45]Sock 8.Close socket [11:38:45]Sock 8.Thread stoped [11:38:47]OFD Sender: No OFD packet to send [11:38:52]OFD Sender: No OFD packet to send [11:38:57]OFD Sender: No OFD packet to send [11:39:02]OFD Sender: No OFD packet to send [11:39:07]OFD Sender: No OFD packet to send [11:39:12]OFD Sender: No OFD packet to send [11:39:17]OFD Sender: No OFD packet to send [11:39:22]OFD Sender: No OFD packet to send [11:39:27]OFD Sender: No OFD packet to send [11:39:32]OFD Sender: No OFD packet to send [11:39:37]OFD Sender: No OFD packet to send [11:39:42]OFD Sender: No OFD packet to send [11:39:47]OFD Sender: No OFD packet to send [11:39:52]OFD Sender: No OFD packet to send [11:39:57]OFD Sender: No OFD packet to send [11:40:02]OFD Sender: No OFD packet to send [11:40:07]OFD Sender: No OFD packet to send [11:40:12]OFD Sender: No OFD packet to send [11:40:17]OFD Sender: No OFD packet to send [11:40:22]OFD Sender: No OFD packet to send [11:40:27]OFD Sender: No OFD packet to send [11:40:32]OFD Sender: No OFD packet to send [11:40:37]OFD Sender: No OFD packet to send [11:40:42]OFD Sender: No OFD packet to send [11:40:47]OFD Sender: No OFD packet to send [11:40:52]OFD Sender: No OFD packet to send [11:40:57]OFD Sender: No OFD packet to send [11:41:02]OFD Sender: No OFD packet to send [11:41:07]OFD Sender: No OFD packet to send [11:41:12]OFD Sender: No OFD packet to send [11:41:17]OFD Sender: No OFD packet to send [11:41:22]OFD Sender: No OFD packet to send [11:41:27]OFD Sender: No OFD packet to send [11:41:32]OFD Sender: No OFD packet to send [11:41:37]OFD Sender: No OFD packet to send [11:41:42]OFD Sender: No OFD packet to send [11:41:47]OFD Sender: No OFD packet to send [11:41:52]OFD Sender: No OFD packet to send [11:41:57]OFD Sender: No OFD packet to send [11:42:02]OFD Sender: No OFD packet to send [11:42:07]OFD Sender: No OFD packet to send [11:42:12]OFD Sender: No OFD packet to send [11:42:17]OFD Sender: No OFD packet to send [11:42:22]OFD Sender: No OFD packet to send [11:42:27]OFD Sender: No OFD packet to send [11:42:32]OFD Sender: No OFD packet to send [11:42:37]OFD Sender: No OFD packet to send [11:42:42]OFD Sender: No OFD packet to send [11:42:47]OFD Sender: No OFD packet to send [11:42:52]OFD Sender: No OFD packet to send [11:42:57]OFD Sender: No OFD packet to send [11:43:02]OFD Sender: No OFD packet to send [11:43:07]OFD Sender: No OFD packet to send [11:43:12]OFD Sender: No OFD packet to send [11:43:17]OFD Sender: No OFD packet to send [11:43:22]OFD Sender: No OFD packet to send [11:43:27]OFD Sender: No OFD packet to send [11:43:32]OFD Sender: No OFD packet to send [11:43:37]OFD Sender: No OFD packet to send [11:43:42]OFD Sender: No OFD packet to send [11:43:47]OFD Sender: No OFD packet to send [11:43:52]OFD Sender: No OFD packet to send [11:43:57]OFD Sender: No OFD packet to send [11:44:02]OFD Sender: No OFD packet to send [11:44:07]OFD Sender: No OFD packet to send [11:44:12]OFD Sender: No OFD packet to send [11:44:17]OFD Sender: No OFD packet to send [11:44:22]OFD Sender: No OFD packet to send [11:44:27]OFD Sender: No OFD packet to send [11:44:32]OFD Sender: No OFD packet to send [11:44:37]OFD Sender: No OFD packet to send [11:44:42]OFD Sender: No OFD packet to send [11:44:47]OFD Sender: No OFD packet to send [11:44:52]OFD Sender: No OFD packet to send [11:44:57]OFD Sender: No OFD packet to send [11:45:02]OFD Sender: No OFD packet to send [11:45:07]OFD Sender: No OFD packet to send [11:45:12]OFD Sender: No OFD packet to send [11:45:17]OFD Sender: No OFD packet to send [11:45:22]OFD Sender: No OFD packet to send [11:45:27]OFD Sender: No OFD packet to send [11:45:32]OFD Sender: No OFD packet to send [11:45:37]OFD Sender: No OFD packet to send [11:45:42]OFD Sender: No OFD packet to send [11:45:47]OFD Sender: No OFD packet to send [11:45:52]OFD Sender: No OFD packet to send [11:45:58]OFD Sender: No OFD packet to send [11:46:03]OFD Sender: No OFD packet to send [11:46:08]OFD Sender: No OFD packet to send [11:46:13]OFD Sender: No OFD packet to send [11:46:18]OFD Sender: No OFD packet to send [11:46:23]OFD Sender: No OFD packet to send [11:46:28]OFD Sender: No OFD packet to send [11:46:33]OFD Sender: No OFD packet to send [11:46:38]OFD Sender: No OFD packet to send [11:46:43]OFD Sender: No OFD packet to send [11:46:48]OFD Sender: No OFD packet to send [11:46:53]OFD Sender: No OFD packet to send [11:46:58]OFD Sender: No OFD packet to send [11:47:03]OFD Sender: No OFD packet to send [11:47:08]OFD Sender: No OFD packet to send [11:47:13]OFD Sender: No OFD packet to send [11:47:18]OFD Sender: No OFD packet to send [11:47:23]OFD Sender: No OFD packet to send [11:47:28]OFD Sender: No OFD packet to send [11:47:33]OFD Sender: No OFD packet to send [11:47:38]OFD Sender: No OFD packet to send [11:47:43]OFD Sender: No OFD packet to send [11:47:48]OFD Sender: No OFD packet to send [11:47:53]OFD Sender: No OFD packet to send [11:47:58]OFD Sender: No OFD packet to send [11:48:03]OFD Sender: No OFD packet to send [11:48:08]OFD Sender: No OFD packet to send [11:48:13]OFD Sender: No OFD packet to send [11:48:18]OFD Sender: No OFD packet to send [11:48:23]OFD Sender: No OFD packet to send [11:48:28]OFD Sender: No OFD packet to send [11:48:33]OFD Sender: No OFD packet to send [11:48:38]OFD Sender: No OFD packet to send [11:48:43]OFD Sender: No OFD packet to send [11:48:48]OFD Sender: No OFD packet to send [11:48:53]OFD Sender: No OFD packet to send [11:48:58]OFD Sender: No OFD packet to send [11:49:03]OFD Sender: No OFD packet to send [11:49:08]OFD Sender: No OFD packet to send [11:49:13]OFD Sender: No OFD packet to send [11:49:18]OFD Sender: No OFD packet to send [11:49:23]OFD Sender: No OFD packet to send [11:49:28]OFD Sender: No OFD packet to send [11:49:33]OFD Sender: No OFD packet to send [11:49:38]OFD Sender: No OFD packet to send [11:49:43]OFD Sender: No OFD packet to send [11:49:48]OFD Sender: No OFD packet to send [11:49:53]OFD Sender: No OFD packet to send [11:49:56]accept exits with 9 [11:49:56]New connection [11:49:56]New thread 3066924388 created [11:49:56]Thread 3067067748 joined [11:49:56]Waiting for new connection... [11:49:56] Sock 9.Parse request [11:49:56]Sock 9.Check first char [11:49:56]Sock 9.First char is OK [11:49:56]request: POST /json_proto HTTP/1.0 [11:49:56]Method: POST [11:49:56]URL: /json_proto [11:49:56]Method is POST - this is cgi request [11:49:56]url: /json_proto [11:49:56]query_string will be loaded in cgi processing [11:49:56]execute_cgi json_proto POST (null) [11:49:56]execute_cgi path=json_proto method=POST [11:49:56]POST find Content-Length [11:49:56]Host: 172.17.39.4:8080 [11:49:56]Content-Length: 720 [11:49:56]Content-Type: application/json [11:49:56] [11:49:56]POST finish read [11:49:56]Found Content-Length = 720 [11:49:56]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129620", "tax_sys" : 0, "items" : [ { "code": "4640030090075", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Esse Blue", "price" : 138.00, "quantity" : 2.000, "sum" : 276.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 276.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:49:56]execute_script... [11:49: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)129620", "tax_sys" : 0, "items" : [ { "code": "4640030090075", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Esse Blue", "price" : 138.00, "quantity" : 2.000, "sum" : 276.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 276.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:49:56]POST & json_proto [11:49:56]process_json_proto [11:49:56]json parsed OK: [11:49:56]protocol is kg_v1.0 [11:49:56]action value=close_receipt [11:49:56]process_action close_receipt [11:49:56]cmd_close_receipt [11:49:56]MH_GetDate [11:49:56]Write to MH i2c: F0 00 00 B5 14 B8 [11:49:56]Write i2c OK [11:49:56]MH_I2C_Read... [11:49:56]Read from MH i2c: F0 [11:49:56]MH_I2C_Read... [11:49:56]Read from MH i2c: F0 09 00 [11:49:56]MH_I2C_Read... [11:49:56]Read from MH i2c: F0 09 00 B5 14 00 E8 0C 95 66 2D 25 5D 64 C3 [11:49:56]GetLastDocTimeStamp 1721043523 [11:49:56]current date 1721044200 [11:49:56]FM_GetShiftState [11:49:56]SAM_PROTO_GetShiftState [11:49:56]wFMCommunicate request_size=4 [11:49:56]MH_SAM_APDU [11:49:56]CAPDU: 80 13 01 00 [11:49:56]Write to MH i2c: E2 08 00 B6 14 80 13 01 00 00 00 00 00 47 [11:49:56]Write i2c OK [11:49:56]MH_I2C_Read... [11:49:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:49:56]Read from MH i2c: E2 [11:49:56]MH_I2C_Read... [11:49:56]Read from MH i2c: E2 0E 00 [11:49:56]MH_I2C_Read... [11:49:56]Read from MH i2c: E2 0E 00 B6 14 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 C0 [11:49:56]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [11:49:56]wFMCommunicate OK [11:49:56]SAM_PROTO_GetShiftState done [11:49:56]FM_GetShiftState done [11:49:56]opened in 1721003525 [11:49:56]opened+sec_in_day 1721089925 [11:49:56]quantity*price = 27600 [11:49:56]sum+1 = 27601 [11:49:56]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 276.00 НСП 1% : 2.44 НДС 12% : 29.31 Наличными: 276.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 61 15.07.2024 11:50 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57166 ФПД: 101424530238728 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T115000&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57166&fm=101424530238728&tin=02508201610067®Number=0000000000091208&sum=27600 0 [11:49:57]StoreToDocumentArchive [11:49:57]shift 497 fd 57166 [11:49:57]save to /storage/0497/doc_00057166 [11:49:57]save last doc name /storage/0497/doc_00057166 to /storage/kkm_last_doc_name [11:49:57]save OK [11:49:57]Clear old archive folders... [11:49:57]ProcessDocumentItem done err = 0, tmpTLVsize=268 [11:49:57]tlvbuf is 009ECA80 [11:49:57]SAM_PROTO_ClearQueue [11:49:57]wFMCommunicate request_size=4 [11:49:57]MH_SAM_APDU [11:49:57]CAPDU: 80 09 00 00 [11:49:57]Write to MH i2c: E2 08 00 C3 14 80 09 00 00 00 00 00 00 49 [11:49:57]Write i2c OK [11:49:57]MH_I2C_Read... [11:49:57]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:49:57]Read from MH i2c: E2 [11:49:57]MH_I2C_Read... [11:49:57]Read from MH i2c: E2 03 00 [11:49:57]MH_I2C_Read... [11:49:57]Read from MH i2c: E2 03 00 C3 14 00 90 00 4B [11:49:57]RAPDU: 90 00 [11:49:57]wFMCommunicate OK [11:49:57]SAM_PROTO_ClearQueue done [11:49:57]KKMCreateOFDPacket [11:49:57]OFDProtocolAddRootSTLVToBuf [11:49:57]FM_MakeSignedData [11:49:57]FM_MakeSignedData [11:49:57]SAM_PROTO_SignData [11:49:57]wFMCommunicate request_size=4 [11:49:57]MH_SAM_APDU [11:49:57]CAPDU: 80 0D 01 02 [11:49:57]Write to MH i2c: E2 08 00 C4 14 80 0D 01 02 00 00 00 00 51 [11:49:57]Write i2c OK [11:49:57]MH_I2C_Read... [11:49:57]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:49:57]Read from MH i2c: E2 [11:49:57]MH_I2C_Read... [11:49:57]Read from MH i2c: E2 03 00 [11:49:57]MH_I2C_Read... [11:49:57]Read from MH i2c: E2 03 00 C4 14 00 90 00 4C [11:49:57]RAPDU: 90 00 [11:49:57]wFMCommunicate OK [11:49:57]wFMCommunicate request_size=255 [11:49:57]MH_SAM_APDU [11:49:57]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 30 30 37 35 06 04 1A 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 73 73 65 20 42 6C 75 65 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 D0 6B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 6B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F4 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 73 0B 00 00 00 00 07 04 06 00 D0 6B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3D 00 00 00 F4 03 04 00 E8 0C 95 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 [11:49:57]Write to MH i2c: E2 02 01 C5 14 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 30 30 37 35 06 04 1A 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 73 73 65 20 42 6C 75 65 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 D0 6B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 6B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F4 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 73 0B 00 00 00 00 07 04 06 00 D0 6B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3D 00 00 00 F4 03 04 00 E8 0C 95 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 00 00 98 [11:49:57]Write i2c OK [11:49:57]MH_I2C_Read... [11:49:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:49:58]Read from MH i2c: E2 [11:49:58]MH_I2C_Read... [11:49:58]Read from MH i2c: E2 03 00 [11:49:58]MH_I2C_Read... [11:49:58]Read from MH i2c: E2 03 00 C5 14 00 90 00 4D [11:49:58]RAPDU: 90 00 [11:49:58]wFMCommunicate OK [11:49:58]wFMCommunicate request_size=27 [11:49:58]MH_SAM_APDU [11:49:58]CAPDU: 80 0D 02 02 16 34 38 35 37 10 04 04 00 4E DF 00 00 35 04 06 00 5C 3E BD 18 AD 08 [11:49:58]Write to MH i2c: E2 1E 00 C6 14 80 0D 02 02 16 00 34 38 35 37 10 04 04 00 4E DF 00 00 35 04 06 00 5C 3E BD 18 AD 08 00 00 00 [11:49:58]Write i2c OK [11:49:58]MH_I2C_Read... [11:49:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:49:58]Read from MH i2c: E2 [11:49:58]MH_I2C_Read... [11:49:58]Read from MH i2c: E2 03 00 [11:49:58]MH_I2C_Read... [11:49:58]Read from MH i2c: E2 03 00 C6 14 00 90 00 4E [11:49:58]RAPDU: 90 00 [11:49:58]wFMCommunicate OK [11:49:58]wFMCommunicate request_size=4 [11:49:58]MH_SAM_APDU [11:49:58]CAPDU: 80 0D 03 02 [11:49:58]Write to MH i2c: E2 08 00 C7 14 80 0D 03 02 00 00 00 00 56 [11:49:58]Write i2c OK [11:49:58]MH_I2C_Read... [11:49:58]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:49:58]Read from MH i2c: E2 [11:49:58]MH_I2C_Read... [11:49:58]Read from MH i2c: E2 0B 00 [11:49:58]MH_I2C_Read... [11:49:58]Read from MH i2c: E2 0B 00 C7 14 00 66 00 43 5F 7D AD 88 33 90 00 44 [11:49:58]RAPDU: 66 00 43 5F 7D AD 88 33 90 00 [11:49:58]wFMCommunicate OK [11:49:58]SAM_PROTO_SignData done [11:49:58]FM_MakeSignedData done [11:49:58]CreateOFDProtocolMessage [11:49:58]wFMCommunicate request_size=4 [11:49:58]MH_SAM_APDU [11:49:58]CAPDU: 80 11 00 00 [11:49:58]Write to MH i2c: E2 08 00 C8 14 80 11 00 00 00 00 00 00 56 [11:49:58]Write i2c OK [11:49:58]MH_I2C_Read... [11:49:58]OFD Sender: No OFD packet to send [11:49:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:49:58]Read from MH i2c: E2 [11:49:58]MH_I2C_Read... [11:49:58]Read from MH i2c: E2 17 00 [11:49:58]MH_I2C_Read... [11:49:58]Read from MH i2c: E2 17 00 C8 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 B0 [11:49:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [11:49:58]wFMCommunicate OK [11:49:58]CreateOFDProtocolMessage done [11:49:58]OFDSenderStorePacket 57166 [11:49:58]StoreOFDPacket docnum=57166 [11:49: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 20 01 00 00 B6 C4 18 01 49 29 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 30 30 37 35 06 04 1A 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 73 73 65 20 42 6C 75 65 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 D0 6B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 6B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F4 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 73 0B 00 00 00 00 07 04 06 00 D0 6B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3D 00 00 00 F4 03 04 00 E8 0C 95 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 4E DF 00 00 35 04 06 00 5C 3E BD 18 AD 08 66 00 43 5F 7D AD 88 33 [11:49:58]CheckFolder [11:49:58]dirname=/storage/ofd_packets [11:49:58]CheckFolder done [11:49:58]ProducePacketName [11:49:58]name=ofd_packets/00057166 [11:49:58]NVStorageSaveData ofd_packets/00057166 [11:49:58]File name is /storage/ofd_packets/00057166 [11:49:58]Write 318 bytes [11:49:58]NVStorageSaveData done [11:49:58]OFDSenderStorePacket done [11:49:58]KKMCreateOFDPacket done [11:49:58]NVStorageSaveData kkm_last_timestamp [11:49:58]File name is /storage/kkm_last_timestamp [11:49:58]Write 4 bytes [11:49:58]NVStorageSaveData done [11:49:58]ExternCall_PrintAddStr [11:49:58]wPrintStart [11:49:58]Write to MH i2c: 01 00 00 C9 14 DD [11:49:58]Write i2c OK [11:49:58]MH_I2C_Read... [11:49:58]Read from MH i2c: 01 [11:49:58]MH_I2C_Read... [11:49:58]Read from MH i2c: 01 07 00 [11:49:58]MH_I2C_Read... [11:49:58]Read from MH i2c: 01 07 00 C9 14 00 00 00 00 00 FF 0F F2 [11:49:58]RasterBufferAndPrint [11:49:58]line Счет N : (3)129620 [11:49:58]line ИНН: 02508201610067 [11:49:58]line Контрольно-Кассовый Чек [11:49:58]line ПРОДАЖА [11:49:58]line Товар: 4640030090075 [11:49:58]line Сигареты Esse Blue [11:49:58]line 2.000 * 138.00 [11:49:58]line = 276.00 [11:49:58]line НДС 12% НСП 1% [11:49:58]line > о реализуемом товаре [11:49:58]line ИТОГО: 276.00 [11:49:58]line НСП 1% : 2.44 [11:49:58]line НДС 12% : 29.31 [11:49:58]line Наличными: 276.00 [11:49:58]line Безнал.: 0.00 [11:49:58]line Место: АЗС № 132 "Партнер Нефть" [11:49:58]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [11:49:58]line СНО: Общий режим [11:49:58]line Чек 61 15.07.2024 11:50 [11:49:58]line Смена: 497 ФФД: 1.0 [11:49:58]line ЗНМ: 0300000132 [11:49:58]line РНМ: 0000000000091208 [11:49:58]line Версия ККМ: 001 [11:49:58]line ФМ: 0000000000874857 [11:49:58]line ФД: 57166 [11:49:58]line ФПД: 101424530238728 [11:49:58]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T115000&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57166&fm=101424530238728&tin=02508201610067®Number=0000000000091208&sum=27600 [11:49:58]OFD Sender: Processing packet 57166 [packets to send 38, broken 37] [11:49:58]ProducePacketName [11:49:58]name=ofd_packets/00057166 [11:49:58]OFD Sender: To server: pG, [11:49:58]CommunicateWithHost lk.salyk.kg:30040 [11:49:58]ConnectInit lk.salyk.kg [11:49:58]line 0 [11:49:58]written 0, free lines is 4095 [11:49:58]Connected sock=11 [11:49: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 20 01 00 00 B6 C4 18 01 49 29 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 30 30 37 35 06 04 1A 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 73 73 65 20 42 6C 75 65 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 D0 6B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 6B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F4 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 73 0B 00 00 00 00 07 04 06 00 D0 6B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3D 00 00 00 F4 03 04 00 E8 0C 95 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 4E DF 00 00 35 04 06 00 5C 3E BD 18 AD 08 66 00 43 5F 7D AD 88 33 [11:49: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 E7 AD 47 00 53 5F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 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 4E DF 00 00 F4 03 04 00 36 B3 94 66 B6 04 01 00 00 22 16 AF 22 D6 58 EF 93 [11:49:58]CommunicateWithHost err = 0 [11:49:58]CheckOFDResponse [11:49:58]1017 (14) - 77093643461234 [11:49:58]1041 (16) - 0000000000874857 [11:49:58]1040 (4) - 57166 [11:49:58]1012 (4) - 15.07.2024 05:27 [11:49:58]1206 (1) - 0 [11:49:58]OFD Sender: Remove packet 57166 [11:49:58]ProducePacketName [11:49:58]name=ofd_packets/00057166 [11:49:58]NVStorageDeleteData [11:49:59]Write to MH i2c: 01 00 00 F1 14 05 [11:49:59]Write i2c OK [11:49:59]MH_I2C_Read... [11:49:59]Read from MH i2c: 01 [11:49:59]MH_I2C_Read... [11:49:59]Read from MH i2c: 01 07 00 [11:49:59]MH_I2C_Read... [11:49:59]Read from MH i2c: 01 07 00 F1 14 00 00 00 00 00 04 0D 1D [11:49:59]RasterBufferAndPrint [11:49:59]line [11:49:59]line [11:49:59]line [11:49:59]line [11:49:59]line [11:49:59]written 0, free lines is 3339 [11:49:59]MH_Cut [11:49:59]Write to MH i2c: D1 01 00 F8 14 01 DE [11:49:59]Write i2c OK [11:49:59]MH_I2C_Read... [11:49:59]Read from MH i2c: D1 [11:49:59]MH_I2C_Read... [11:49:59]Read from MH i2c: D1 01 00 [11:49:59]MH_I2C_Read... [11:49:59]Read from MH i2c: D1 01 00 F8 14 00 DD [11:49:59]Write to MH i2c: 01 00 00 F9 14 0D [11:49:59]Write i2c OK [11:49:59]MH_I2C_Read... [11:49:59]OFD Sender: No OFD packet to send [11:49:59]*** Cut start [11:49:59]*** Partial cut [11:49:59]*** CUTSNS_PIN = 1 [11:49:59]*** CUTSNS_PIN = 0 [11:50:00]*** Brake cut motor [11:50:00]Read from MH i2c: 01 [11:50:00]MH_I2C_Read... [11:50:00]*** Stop cut motor [11:50:00]*** Cut end [11:50:00]Read from MH i2c: 01 07 00 [11:50:00]MH_I2C_Read... [11:50:00]Read from MH i2c: 01 07 00 F9 14 00 00 00 00 00 FF 0F 22 [11:50:00]process_action close_receipt done [11:50:00]requested_data is exist [11:50:00]produce_requested_data [11:50:00]requested_item fm.sn is exist - process it [11:50:00]wFMCommunicate request_size=4 [11:50:00]MH_SAM_APDU [11:50:00]CAPDU: 80 11 00 00 [11:50:00]Write to MH i2c: E2 08 00 FA 14 80 11 00 00 00 00 00 00 88 [11:50:00]Write i2c OK [11:50:00]MH_I2C_Read... [11:50:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:50:00]Read from MH i2c: E2 [11:50:00]MH_I2C_Read... [11:50:00]Read from MH i2c: E2 17 00 [11:50:00]MH_I2C_Read... [11:50:00]Read from MH i2c: E2 17 00 FA 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 E2 [11:50:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [11:50:00]wFMCommunicate OK [11:50:00]requested_item fd.num is exist - process it [11:50:00]SAM_PROTO_GetFieldsCounters [11:50:00]wFMCommunicate request_size=4 [11:50:00]MH_SAM_APDU [11:50:00]CAPDU: 80 13 00 00 [11:50:00]Write to MH i2c: E2 08 00 FB 14 80 13 00 00 00 00 00 00 8B [11:50:00]Write i2c OK [11:50:00]MH_I2C_Read... [11:50:00]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:50:00]Read from MH i2c: E2 [11:50:00]MH_I2C_Read... [11:50:00]Read from MH i2c: E2 62 00 [11:50:00]MH_I2C_Read... [11:50:00]Read from MH i2c: E2 62 00 FB 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 4E DF 00 00 0E 04 04 00 F1 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 84 [11:50: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 4E DF 00 00 0E 04 04 00 F1 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:50:00]wFMCommunicate OK [11:50:00]SAM_PROTO_GetFieldsCounters done [11:50:00]requested_item shift.num is exist - process it [11:50:00]requested_item shift.opened is exist - process it [11:50:00]req_shift_opened [11:50:00]FM_GetShiftState [11:50:00]SAM_PROTO_GetShiftState [11:50:00]wFMCommunicate request_size=4 [11:50:00]MH_SAM_APDU [11:50:00]CAPDU: 80 13 01 00 [11:50:00]Write to MH i2c: E2 08 00 FC 14 80 13 01 00 00 00 00 00 8D [11:50:00]Write i2c OK [11:50:00]MH_I2C_Read... [11:50:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:50:00]Read from MH i2c: E2 [11:50:00]MH_I2C_Read... [11:50:00]Read from MH i2c: E2 0E 00 [11:50:00]MH_I2C_Read... [11:50:00]Read from MH i2c: E2 0E 00 FC 14 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 06 [11:50:00]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [11:50:00]wFMCommunicate OK [11:50:00]SAM_PROTO_GetShiftState done [11:50:00]FM_GetShiftState done [11:50:00]req_shift_opened done [11:50:00]requested_item shift.open_date is exist - process it [11:50:00]req_shift_open_date [11:50:00]req_shift_open_date done [11:50:00]requested_item shift.sale.total is exist - process it [11:50:00]SAM_PROTO_GetShiftData [11:50:00]wFMCommunicate request_size=4 [11:50:00]MH_SAM_APDU [11:50:00]CAPDU: 80 13 02 00 [11:50:00]Write to MH i2c: E2 08 00 FD 14 80 13 02 00 00 00 00 00 8F [11:50:00]Write i2c OK [11:50:00]MH_I2C_Read... [11:50:01]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [11:50:01]Read from MH i2c: E2 [11:50:01]MH_I2C_Read... [11:50:01]Read from MH i2c: E2 FD 00 [11:50:01]MH_I2C_Read... [11:50:01]Read from MH i2c: E2 FD 00 FD 14 00 B6 04 AA 04 B2 04 6E 04 04 00 3D 00 00 00 69 04 9B 00 6F 04 04 00 3C 00 00 00 B1 04 03 00 35 6D 18 70 04 03 00 20 59 13 72 04 03 00 15 14 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 0F 98 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 54 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 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 12 [11:50:01]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 3D 00 00 00 69 04 9B 00 6F 04 04 00 3C 00 00 00 B1 04 03 00 35 6D 18 70 04 03 00 20 59 13 72 04 03 00 15 14 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 0F 98 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 54 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 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 [11:50:01]wFMCommunicate OK [11:50:01]wFMCommunicate request_size=4 [11:50:01]MH_SAM_APDU [11:50:01]CAPDU: 80 17 00 00 [11:50:01]Write to MH i2c: E2 08 00 FE 14 80 17 00 00 00 00 00 00 92 [11:50:01]Write i2c OK [11:50:01]MH_I2C_Read... [11:50:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [11:50:01]Read from MH i2c: E2 [11:50:01]MH_I2C_Read... [11:50:01]Read from MH i2c: E2 FD 00 [11:50:01]MH_I2C_Read... [11:50:01]Read from MH i2c: E2 FD 00 FE 14 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 C7 [11:50:01]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 [11:50:01]wFMCommunicate OK [11:50:01]wFMCommunicate request_size=4 [11:50:01]MH_SAM_APDU [11:50:01]CAPDU: 80 17 00 00 [11:50:01]Write to MH i2c: E2 08 00 FF 14 80 17 00 00 00 00 00 00 93 [11:50:01]Write i2c OK [11:50:01]MH_I2C_Read... [11:50:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [11:50:01]Read from MH i2c: E2 [11:50:01]MH_I2C_Read... [11:50:01]Read from MH i2c: E2 FD 00 [11:50:01]MH_I2C_Read... [11:50:01]Read from MH i2c: E2 FD 00 FF 14 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 53 [11:50:01]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 [11:50:01]wFMCommunicate OK [11:50:01]wFMCommunicate request_size=4 [11:50:01]MH_SAM_APDU [11:50:01]CAPDU: 80 17 00 00 [11:50:01]Write to MH i2c: E2 08 00 00 15 80 17 00 00 00 00 00 00 95 [11:50:01]Write i2c OK [11:50:01]MH_I2C_Read... [11:50:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [11:50:01]Read from MH i2c: E2 [11:50:01]MH_I2C_Read... [11:50:01]Read from MH i2c: E2 FD 00 [11:50:01]MH_I2C_Read... [11:50:01]Read from MH i2c: E2 FD 00 00 15 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 04 [11:50:01]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 [11:50:02]wFMCommunicate OK [11:50:02]wFMCommunicate request_size=4 [11:50:02]MH_SAM_APDU [11:50:02]CAPDU: 80 17 00 00 [11:50:02]Write to MH i2c: E2 08 00 01 15 80 17 00 00 00 00 00 00 96 [11:50:02]Write i2c OK [11:50:02]MH_I2C_Read... [11:50:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [11:50:02]Read from MH i2c: E2 [11:50:02]MH_I2C_Read... [11:50:02]Read from MH i2c: E2 D3 00 [11:50:02]MH_I2C_Read... [11:50:02]Read from MH i2c: E2 D3 00 01 15 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 83 [11:50:02]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 [11:50:02]wFMCommunicate OK [11:50:02]SAM_PROTO_GetShiftData done [11:50:02]requested_item shift.sale.total_cash is exist - process it [11:50:02]requested_item shift.sale_refund.total is exist - process it [11:50:02]requested_item shift.sale_refund.total_cash is exist - process it [11:50:02]produce_requested_data done [11:50:02]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57166,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":16008.21,"shift.sale.total_cash":12680.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [11:50:02]process_action_free close_receipt [11:50:02]json_value_free [11:50:02]json_value_free done [11:50:02]process_json_proto returns [11:50:02]Send response to host [11:50:02]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57166,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":16008.21,"shift.sale.total_cash":12680.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [11:50:02]free response buf [11:50:02]execute_script done [11:50:02]execute_script returns [11:50:02]free content buf [11:50:02]Sock 9.Close socket [11:50:02]Sock 9.Thread stoped [11:50:04]OFD Sender: No OFD packet to send [11:50:09]OFD Sender: No OFD packet to send [11:50:14]OFD Sender: No OFD packet to send [11:50:19]OFD Sender: No OFD packet to send [11:50:24]OFD Sender: No OFD packet to send [11:50:29]OFD Sender: No OFD packet to send [11:50:34]OFD Sender: No OFD packet to send [11:50:39]OFD Sender: No OFD packet to send [11:50:44]OFD Sender: No OFD packet to send [11:50:49]OFD Sender: No OFD packet to send [11:50:54]OFD Sender: No OFD packet to send [11:50:59]OFD Sender: No OFD packet to send [11:51:04]OFD Sender: No OFD packet to send [11:51:09]OFD Sender: No OFD packet to send [11:51:14]OFD Sender: No OFD packet to send [11:51:19]OFD Sender: No OFD packet to send [11:51:24]OFD Sender: No OFD packet to send [11:51:29]OFD Sender: No OFD packet to send [11:51:34]OFD Sender: No OFD packet to send [11:51:39]OFD Sender: No OFD packet to send [11:51:44]OFD Sender: No OFD packet to send [11:51:49]OFD Sender: No OFD packet to send [11:51:54]OFD Sender: No OFD packet to send [11:51:59]OFD Sender: No OFD packet to send [11:52:04]OFD Sender: No OFD packet to send [11:52:09]OFD Sender: No OFD packet to send [11:52:14]OFD Sender: No OFD packet to send [11:52:19]OFD Sender: No OFD packet to send [11:52:24]OFD Sender: No OFD packet to send [11:52:29]OFD Sender: No OFD packet to send [11:52:34]OFD Sender: No OFD packet to send [11:52:39]OFD Sender: No OFD packet to send [11:52:44]OFD Sender: No OFD packet to send [11:52:49]OFD Sender: No OFD packet to send [11:52:54]OFD Sender: No OFD packet to send [11:52:59]OFD Sender: No OFD packet to send [11:53:04]OFD Sender: No OFD packet to send [11:53:09]OFD Sender: No OFD packet to send [11:53:14]OFD Sender: No OFD packet to send [11:53:19]OFD Sender: No OFD packet to send [11:53:24]OFD Sender: No OFD packet to send [11:53:29]OFD Sender: No OFD packet to send [11:53:34]OFD Sender: No OFD packet to send [11:53:39]OFD Sender: No OFD packet to send [11:53:44]OFD Sender: No OFD packet to send [11:53:49]OFD Sender: No OFD packet to send [11:53:54]OFD Sender: No OFD packet to send [11:53:59]OFD Sender: No OFD packet to send [11:54:04]OFD Sender: No OFD packet to send [11:54:09]OFD Sender: No OFD packet to send [11:54:14]OFD Sender: No OFD packet to send [11:54:19]OFD Sender: No OFD packet to send [11:54:24]OFD Sender: No OFD packet to send [11:54:29]OFD Sender: No OFD packet to send [11:54:34]OFD Sender: No OFD packet to send [11:54:39]OFD Sender: No OFD packet to send [11:54:44]OFD Sender: No OFD packet to send [11:54:49]OFD Sender: No OFD packet to send [11:54:54]OFD Sender: No OFD packet to send [11:54:59]OFD Sender: No OFD packet to send [11:55:04]OFD Sender: No OFD packet to send [11:55:09]OFD Sender: No OFD packet to send [11:55:14]OFD Sender: No OFD packet to send [11:55:19]OFD Sender: No OFD packet to send [11:55:24]OFD Sender: No OFD packet to send [11:55:29]OFD Sender: No OFD packet to send [11:55:34]OFD Sender: No OFD packet to send [11:55:39]OFD Sender: No OFD packet to send [11:55:44]OFD Sender: No OFD packet to send [11:55:49]OFD Sender: No OFD packet to send [11:55:54]OFD Sender: No OFD packet to send [11:55:59]OFD Sender: No OFD packet to send [11:56:04]OFD Sender: No OFD packet to send [11:56:09]OFD Sender: No OFD packet to send [11:56:14]OFD Sender: No OFD packet to send [11:56:19]OFD Sender: No OFD packet to send [11:56:24]OFD Sender: No OFD packet to send [11:56:29]OFD Sender: No OFD packet to send [11:56:34]OFD Sender: No OFD packet to send [11:56:39]OFD Sender: No OFD packet to send [11:56:44]OFD Sender: No OFD packet to send [11:56:49]OFD Sender: No OFD packet to send [11:56:54]OFD Sender: No OFD packet to send [11:56:59]OFD Sender: No OFD packet to send [11:57:04]OFD Sender: No OFD packet to send [11:57:09]OFD Sender: No OFD packet to send [11:57:14]OFD Sender: No OFD packet to send [11:57:19]OFD Sender: No OFD packet to send [11:57:24]OFD Sender: No OFD packet to send [11:57:29]OFD Sender: No OFD packet to send [11:57:34]OFD Sender: No OFD packet to send [11:57:39]OFD Sender: No OFD packet to send [11:57:44]OFD Sender: No OFD packet to send [11:57:49]OFD Sender: No OFD packet to send [11:57:54]OFD Sender: No OFD packet to send [11:57:59]OFD Sender: No OFD packet to send [11:58:04]OFD Sender: No OFD packet to send [11:58:09]OFD Sender: No OFD packet to send [11:58:14]OFD Sender: No OFD packet to send [11:58:19]OFD Sender: No OFD packet to send [11:58:24]OFD Sender: No OFD packet to send [11:58:29]OFD Sender: No OFD packet to send [11:58:34]OFD Sender: No OFD packet to send [11:58:39]OFD Sender: No OFD packet to send [11:58:44]OFD Sender: No OFD packet to send [11:58:49]OFD Sender: No OFD packet to send [11:58:54]OFD Sender: No OFD packet to send [11:58:59]OFD Sender: No OFD packet to send [11:59:04]OFD Sender: No OFD packet to send [11:59:09]OFD Sender: No OFD packet to send [11:59:14]OFD Sender: No OFD packet to send [11:59:19]OFD Sender: No OFD packet to send [11:59:24]OFD Sender: No OFD packet to send [11:59:29]OFD Sender: No OFD packet to send [11:59:34]OFD Sender: No OFD packet to send [11:59:39]OFD Sender: No OFD packet to send [11:59:43]accept exits with 8 [11:59:43]New connection [11:59:43]New thread 3067067748 created [11:59:43]Thread 3066924388 joined [11:59:43]Waiting for new connection... [11:59:43] Sock 8.Parse request [11:59:43]Sock 8.Check first char [11:59:43]Sock 8.First char is OK [11:59:43]request: POST /json_proto HTTP/1.0 [11:59:43]Method: POST [11:59:43]URL: /json_proto [11:59:43]Method is POST - this is cgi request [11:59:43]url: /json_proto [11:59:43]query_string will be loaded in cgi processing [11:59:43]execute_cgi json_proto POST (null) [11:59:43]execute_cgi path=json_proto method=POST [11:59:43]POST find Content-Length [11:59:43]Host: 172.17.39.4:8080 [11:59:43]Content-Length: 726 [11:59:43]Content-Type: application/json [11:59:43] [11:59:43]POST finish read [11:59:43]Found Content-Length = 726 [11:59:43]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129621", "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" ] } } [11:59:43]execute_script... [11:59: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)129621", "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" ] } } [11:59:43]POST & json_proto [11:59:43]process_json_proto [11:59:43]json parsed OK: [11:59:43]protocol is kg_v1.0 [11:59:43]action value=close_receipt [11:59:43]process_action close_receipt [11:59:43]cmd_close_receipt [11:59:43]MH_GetDate [11:59:43]Write to MH i2c: F0 00 00 02 15 06 [11:59:43]Write i2c OK [11:59:43]MH_I2C_Read... [11:59:43]Read from MH i2c: F0 [11:59:43]MH_I2C_Read... [11:59:43]Read from MH i2c: F0 09 00 [11:59:43]MH_I2C_Read... [11:59:43]Read from MH i2c: F0 09 00 02 15 00 32 0F 95 66 2D 25 5D 64 5E [11:59:43]GetLastDocTimeStamp 1721044200 [11:59:43]current date 1721044786 [11:59:43]FM_GetShiftState [11:59:43]SAM_PROTO_GetShiftState [11:59:43]wFMCommunicate request_size=4 [11:59:43]MH_SAM_APDU [11:59:43]CAPDU: 80 13 01 00 [11:59:43]Write to MH i2c: E2 08 00 03 15 80 13 01 00 00 00 00 00 95 [11:59:43]Write i2c OK [11:59:43]MH_I2C_Read... [11:59:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:59:43]Read from MH i2c: E2 [11:59:43]MH_I2C_Read... [11:59:43]Read from MH i2c: E2 0E 00 [11:59:43]MH_I2C_Read... [11:59:43]Read from MH i2c: E2 0E 00 03 15 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 0E [11:59:43]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [11:59:43]wFMCommunicate OK [11:59:43]SAM_PROTO_GetShiftState done [11:59:43]FM_GetShiftState done [11:59:43]opened in 1721003525 [11:59:43]opened+sec_in_day 1721089925 [11:59:43]quantity*price = 13800 [11:59:43]sum+1 = 13801 [11:59:43]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 СНО: Общий режим Чек 62 15.07.2024 11:59 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57167 ФПД: 150429955772597 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T115947&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57167&fm=150429955772597&tin=02508201610067®Number=0000000000091208&sum=13800 0 [11:59:44]StoreToDocumentArchive [11:59:44]shift 497 fd 57167 [11:59:44]save to /storage/0497/doc_00057167 [11:59:44]save last doc name /storage/0497/doc_00057167 to /storage/kkm_last_doc_name [11:59:44]save OK [11:59:44]Clear old archive folders... [11:59:44]ProcessDocumentItem done err = 0, tmpTLVsize=274 [11:59:44]tlvbuf is 009EC960 [11:59:44]SAM_PROTO_ClearQueue [11:59:44]wFMCommunicate request_size=4 [11:59:44]MH_SAM_APDU [11:59:44]CAPDU: 80 09 00 00 [11:59:44]Write to MH i2c: E2 08 00 10 15 80 09 00 00 00 00 00 00 97 [11:59:44]Write i2c OK [11:59:44]MH_I2C_Read... [11:59:44]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:59:44]Read from MH i2c: E2 [11:59:44]MH_I2C_Read... [11:59:44]Read from MH i2c: E2 03 00 [11:59:44]MH_I2C_Read... [11:59:44]Read from MH i2c: E2 03 00 10 15 00 90 00 99 [11:59:44]RAPDU: 90 00 [11:59:44]wFMCommunicate OK [11:59:44]SAM_PROTO_ClearQueue done [11:59:44]KKMCreateOFDPacket [11:59:44]OFDProtocolAddRootSTLVToBuf [11:59:44]FM_MakeSignedData [11:59:44]FM_MakeSignedData [11:59:44]SAM_PROTO_SignData [11:59:44]wFMCommunicate request_size=4 [11:59:44]MH_SAM_APDU [11:59:44]CAPDU: 80 0D 01 02 [11:59:44]Write to MH i2c: E2 08 00 11 15 80 0D 01 02 00 00 00 00 9F [11:59:44]Write i2c OK [11:59:44]MH_I2C_Read... [11:59:44]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:59:44]Read from MH i2c: E2 [11:59:44]MH_I2C_Read... [11:59:44]Read from MH i2c: E2 03 00 [11:59:44]MH_I2C_Read... [11:59:44]Read from MH i2c: E2 03 00 11 15 00 90 00 9A [11:59:44]RAPDU: 90 00 [11:59:44]wFMCommunicate OK [11:59:44]wFMCommunicate request_size=255 [11:59:44]MH_SAM_APDU [11:59:44]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 3E 00 00 00 F4 03 04 00 33 0F 95 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 [11:59:44]Write to MH i2c: E2 02 01 12 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 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 3E 00 00 00 F4 03 04 00 33 0F 95 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 00 00 44 [11:59:44]Write i2c OK [11:59:44]MH_I2C_Read... [11:59:45]OFD Sender: No OFD packet to send [11:59:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:59:45]Read from MH i2c: E2 [11:59:45]MH_I2C_Read... [11:59:45]Read from MH i2c: E2 03 00 [11:59:45]MH_I2C_Read... [11:59:45]Read from MH i2c: E2 03 00 12 15 00 90 00 9B [11:59:45]RAPDU: 90 00 [11:59:45]wFMCommunicate OK [11:59:45]wFMCommunicate request_size=33 [11:59:45]MH_SAM_APDU [11:59:45]CAPDU: 80 0D 02 02 1C 30 30 30 30 38 37 34 38 35 37 10 04 04 00 4F DF 00 00 35 04 06 00 88 D0 B4 13 D0 B5 [11:59:45]Write to MH i2c: E2 24 00 13 15 80 0D 02 02 1C 00 30 30 30 30 38 37 34 38 35 37 10 04 04 00 4F DF 00 00 35 04 06 00 88 D0 B4 13 D0 B5 00 00 0A [11:59:45]Write i2c OK [11:59:45]MH_I2C_Read... [11:59:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:59:45]Read from MH i2c: E2 [11:59:45]MH_I2C_Read... [11:59:45]Read from MH i2c: E2 03 00 [11:59:45]MH_I2C_Read... [11:59:45]Read from MH i2c: E2 03 00 13 15 00 90 00 9C [11:59:45]RAPDU: 90 00 [11:59:45]wFMCommunicate OK [11:59:45]wFMCommunicate request_size=4 [11:59:45]MH_SAM_APDU [11:59:45]CAPDU: 80 0D 03 02 [11:59:45]Write to MH i2c: E2 08 00 14 15 80 0D 03 02 00 00 00 00 A4 [11:59:45]Write i2c OK [11:59:45]MH_I2C_Read... [11:59:45]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:59:45]Read from MH i2c: E2 [11:59:45]MH_I2C_Read... [11:59:45]Read from MH i2c: E2 0B 00 [11:59:45]MH_I2C_Read... [11:59:45]Read from MH i2c: E2 0B 00 14 15 00 DE 65 6A D1 7E D8 34 D4 90 00 81 [11:59:45]RAPDU: DE 65 6A D1 7E D8 34 D4 90 00 [11:59:45]wFMCommunicate OK [11:59:45]SAM_PROTO_SignData done [11:59:45]FM_MakeSignedData done [11:59:45]CreateOFDProtocolMessage [11:59:45]wFMCommunicate request_size=4 [11:59:45]MH_SAM_APDU [11:59:45]CAPDU: 80 11 00 00 [11:59:45]Write to MH i2c: E2 08 00 15 15 80 11 00 00 00 00 00 00 A4 [11:59:45]Write i2c OK [11:59:45]MH_I2C_Read... [11:59:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:59:45]Read from MH i2c: E2 [11:59:45]MH_I2C_Read... [11:59:45]Read from MH i2c: E2 17 00 [11:59:45]MH_I2C_Read... [11:59:45]Read from MH i2c: E2 17 00 15 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 FE [11:59:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [11:59:45]wFMCommunicate OK [11:59:45]CreateOFDProtocolMessage done [11:59:45]OFDSenderStorePacket 57167 [11:59:45]StoreOFDPacket docnum=57167 [11:59:45]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 7F AE 1E 01 72 9B 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 3E 00 00 00 F4 03 04 00 33 0F 95 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 4F DF 00 00 35 04 06 00 88 D0 B4 13 D0 B5 DE 65 6A D1 7E D8 34 D4 [11:59:45]CheckFolder [11:59:45]dirname=/storage/ofd_packets [11:59:45]CheckFolder done [11:59:45]ProducePacketName [11:59:45]name=ofd_packets/00057167 [11:59:45]NVStorageSaveData ofd_packets/00057167 [11:59:45]File name is /storage/ofd_packets/00057167 [11:59:45]Write 324 bytes [11:59:45]NVStorageSaveData done [11:59:45]OFDSenderStorePacket done [11:59:45]KKMCreateOFDPacket done [11:59:45]NVStorageSaveData kkm_last_timestamp [11:59:45]File name is /storage/kkm_last_timestamp [11:59:45]Write 4 bytes [11:59:45]NVStorageSaveData done [11:59:45]ExternCall_PrintAddStr [11:59:45]wPrintStart [11:59:45]Write to MH i2c: 01 00 00 16 15 2B [11:59:45]Write i2c OK [11:59:45]MH_I2C_Read... [11:59:45]Read from MH i2c: 01 [11:59:45]MH_I2C_Read... [11:59:45]Read from MH i2c: 01 07 00 [11:59:45]MH_I2C_Read... [11:59:45]Read from MH i2c: 01 07 00 16 15 00 00 00 00 00 FF 0F 40 [11:59:45]RasterBufferAndPrint [11:59:45]line Счет N : (3)129621 [11:59:45]line ИНН: 02508201610067 [11:59:45]line Контрольно-Кассовый Чек [11:59:45]line ПРОДАЖА [11:59:45]line Товар: 4640030091645 [11:59:45]line Сигареты ESSE Exchange M [11:59:45]line 1.000 * 138.00 [11:59:45]line = 138.00 [11:59:45]line НДС 12% НСП 1% [11:59:45]line > о реализуемом товаре [11:59:45]line ИТОГО: 138.00 [11:59:45]line НСП 1% : 1.22 [11:59:45]line НДС 12% : 14.65 [11:59:45]line Наличными: 138.00 [11:59:45]line Безнал.: 0.00 [11:59:45]line Место: АЗС № 132 "Партнер Нефть" [11:59:45]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [11:59:45]line СНО: Общий режим [11:59:45]line Чек 62 15.07.2024 11:59 [11:59:45]line Смена: 497 ФФД: 1.0 [11:59:45]line ЗНМ: 0300000132 [11:59:45]line РНМ: 0000000000091208 [11:59:45]line Версия ККМ: 001 [11:59:45]line ФМ: 0000000000874857 [11:59:45]line ФД: 57167 [11:59:45]line ФПД: 150429955772597 [11:59:45]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T115947&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57167&fm=150429955772597&tin=02508201610067®Number=0000000000091208&sum=13800 [11:59:45]line 0 [11:59:45]written 0, free lines is 4095 [11:59:45]OFD Sender: Processing packet 57167 [packets to send 38, broken 37] [11:59:45]ProducePacketName [11:59:45]name=ofd_packets/00057167 [11:59:45]OFD Sender: To server: pG, [11:59:45]CommunicateWithHost lk.salyk.kg:30040 [11:59:45]ConnectInit lk.salyk.kg [11:59:45]Connected sock=10 [11:59:45]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 7F AE 1E 01 72 9B 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 3E 00 00 00 F4 03 04 00 33 0F 95 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 4F DF 00 00 35 04 06 00 88 D0 B4 13 D0 B5 DE 65 6A D1 7E D8 34 D4 [11:59: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 35 54 47 00 C3 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 4F DF 00 00 F4 03 04 00 81 B5 94 66 B6 04 01 00 00 E4 6A 24 DA B9 F7 0D C4 [11:59:45]CommunicateWithHost err = 0 [11:59:45]CheckOFDResponse [11:59:45]1017 (14) - 77093643461234 [11:59:45]1041 (16) - 0000000000874857 [11:59:45]1040 (4) - 57167 [11:59:45]1012 (4) - 15.07.2024 05:37 [11:59:45]1206 (1) - 0 [11:59:45]OFD Sender: Remove packet 57167 [11:59:45]ProducePacketName [11:59:45]name=ofd_packets/00057167 [11:59:45]NVStorageDeleteData [11:59:45]Write to MH i2c: 01 00 00 3E 15 53 [11:59:45]Write i2c OK [11:59:45]MH_I2C_Read... [11:59:45]Read from MH i2c: 01 [11:59:45]MH_I2C_Read... [11:59:45]Read from MH i2c: 01 07 00 [11:59:45]MH_I2C_Read... [11:59:45]Read from MH i2c: 01 07 00 3E 15 00 00 00 00 00 10 0D 77 [11:59:45]RasterBufferAndPrint [11:59:45]line [11:59:45]line [11:59:45]line [11:59:45]line [11:59:45]line [11:59:45]written 0, free lines is 3350 [11:59:45]MH_Cut [11:59:45]Write to MH i2c: D1 01 00 45 15 01 2C [11:59:45]Write i2c OK [11:59:45]MH_I2C_Read... [11:59:45]Read from MH i2c: D1 [11:59:45]MH_I2C_Read... [11:59:45]Read from MH i2c: D1 01 00 [11:59:45]MH_I2C_Read... [11:59:45]Read from MH i2c: D1 01 00 45 15 00 2B [11:59:45]Write to MH i2c: 01 00 00 46 15 5B [11:59:45]Write i2c OK [11:59:45]MH_I2C_Read... [11:59:46]OFD Sender: No OFD packet to send [11:59:46]*** Cut start [11:59:46]*** Partial cut [11:59:46]*** CUTSNS_PIN = 1 [11:59:46]*** CUTSNS_PIN = 0 [11:59:46]*** Brake cut motor [11:59:46]Read from MH i2c: 01 [11:59:46]MH_I2C_Read... [11:59:46]*** Stop cut motor [11:59:47]*** Cut end [11:59:47]Read from MH i2c: 01 07 00 [11:59:47]MH_I2C_Read... [11:59:47]Read from MH i2c: 01 07 00 46 15 00 00 00 00 00 FF 0F 70 [11:59:47]process_action close_receipt done [11:59:47]requested_data is exist [11:59:47]produce_requested_data [11:59:47]requested_item fm.sn is exist - process it [11:59:47]wFMCommunicate request_size=4 [11:59:47]MH_SAM_APDU [11:59:47]CAPDU: 80 11 00 00 [11:59:47]Write to MH i2c: E2 08 00 47 15 80 11 00 00 00 00 00 00 D6 [11:59:47]Write i2c OK [11:59:47]MH_I2C_Read... [11:59:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:59:47]Read from MH i2c: E2 [11:59:47]MH_I2C_Read... [11:59:47]Read from MH i2c: E2 17 00 [11:59:47]MH_I2C_Read... [11:59:47]Read from MH i2c: E2 17 00 47 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 30 [11:59:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [11:59:47]wFMCommunicate OK [11:59:47]requested_item fd.num is exist - process it [11:59:47]SAM_PROTO_GetFieldsCounters [11:59:47]wFMCommunicate request_size=4 [11:59:47]MH_SAM_APDU [11:59:47]CAPDU: 80 13 00 00 [11:59:47]Write to MH i2c: E2 08 00 48 15 80 13 00 00 00 00 00 00 D9 [11:59:47]Write i2c OK [11:59:47]MH_I2C_Read... [11:59:47]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:59:47]Read from MH i2c: E2 [11:59:47]MH_I2C_Read... [11:59:47]Read from MH i2c: E2 62 00 [11:59:47]MH_I2C_Read... [11:59:47]Read from MH i2c: E2 62 00 48 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 4F DF 00 00 0E 04 04 00 F1 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 D6 [11:59:47]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 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 4F DF 00 00 0E 04 04 00 F1 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:59:47]wFMCommunicate OK [11:59:47]SAM_PROTO_GetFieldsCounters done [11:59:47]requested_item shift.num is exist - process it [11:59:47]requested_item shift.opened is exist - process it [11:59:47]req_shift_opened [11:59:47]FM_GetShiftState [11:59:47]SAM_PROTO_GetShiftState [11:59:47]wFMCommunicate request_size=4 [11:59:47]MH_SAM_APDU [11:59:47]CAPDU: 80 13 01 00 [11:59:47]Write to MH i2c: E2 08 00 49 15 80 13 01 00 00 00 00 00 DB [11:59:47]Write i2c OK [11:59:47]MH_I2C_Read... [11:59:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:59:47]Read from MH i2c: E2 [11:59:47]MH_I2C_Read... [11:59:47]Read from MH i2c: E2 0E 00 [11:59:47]MH_I2C_Read... [11:59:47]Read from MH i2c: E2 0E 00 49 15 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 54 [11:59:47]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [11:59:47]wFMCommunicate OK [11:59:47]SAM_PROTO_GetShiftState done [11:59:47]FM_GetShiftState done [11:59:47]req_shift_opened done [11:59:47]requested_item shift.open_date is exist - process it [11:59:47]req_shift_open_date [11:59:47]req_shift_open_date done [11:59:47]requested_item shift.sale.total is exist - process it [11:59:47]SAM_PROTO_GetShiftData [11:59:47]wFMCommunicate request_size=4 [11:59:47]MH_SAM_APDU [11:59:47]CAPDU: 80 13 02 00 [11:59:47]Write to MH i2c: E2 08 00 4A 15 80 13 02 00 00 00 00 00 DD [11:59:47]Write i2c OK [11:59:47]MH_I2C_Read... [11:59:47]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [11:59:47]Read from MH i2c: E2 [11:59:47]MH_I2C_Read... [11:59:47]Read from MH i2c: E2 FD 00 [11:59:47]MH_I2C_Read... [11:59:47]Read from MH i2c: E2 FD 00 4A 15 00 B6 04 AA 04 B2 04 6E 04 04 00 3E 00 00 00 69 04 9B 00 6F 04 04 00 3D 00 00 00 B1 04 03 00 1D A3 18 70 04 03 00 08 8F 13 72 04 03 00 15 14 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 C8 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 CE 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 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 D6 [11:59:47]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 3E 00 00 00 69 04 9B 00 6F 04 04 00 3D 00 00 00 B1 04 03 00 1D A3 18 70 04 03 00 08 8F 13 72 04 03 00 15 14 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 C8 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 CE 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 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 [11:59:47]wFMCommunicate OK [11:59:47]wFMCommunicate request_size=4 [11:59:47]MH_SAM_APDU [11:59:47]CAPDU: 80 17 00 00 [11:59:47]Write to MH i2c: E2 08 00 4B 15 80 17 00 00 00 00 00 00 E0 [11:59:47]Write i2c OK [11:59:47]MH_I2C_Read... [11:59:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [11:59:47]Read from MH i2c: E2 [11:59:47]MH_I2C_Read... [11:59:47]Read from MH i2c: E2 FD 00 [11:59:47]MH_I2C_Read... [11:59:47]Read from MH i2c: E2 FD 00 4B 15 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 15 [11:59:48]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 [11:59:48]wFMCommunicate OK [11:59:48]wFMCommunicate request_size=4 [11:59:48]MH_SAM_APDU [11:59:48]CAPDU: 80 17 00 00 [11:59:48]Write to MH i2c: E2 08 00 4C 15 80 17 00 00 00 00 00 00 E1 [11:59:48]Write i2c OK [11:59:48]MH_I2C_Read... [11:59:48]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [11:59:48]Read from MH i2c: E2 [11:59:48]MH_I2C_Read... [11:59:48]Read from MH i2c: E2 FD 00 [11:59:48]MH_I2C_Read... [11:59:48]Read from MH i2c: E2 FD 00 4C 15 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 A1 [11:59:48]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 [11:59:48]wFMCommunicate OK [11:59:48]wFMCommunicate request_size=4 [11:59:48]MH_SAM_APDU [11:59:48]CAPDU: 80 17 00 00 [11:59:48]Write to MH i2c: E2 08 00 4D 15 80 17 00 00 00 00 00 00 E2 [11:59:48]Write i2c OK [11:59:48]MH_I2C_Read... [11:59:48]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [11:59:48]Read from MH i2c: E2 [11:59:48]MH_I2C_Read... [11:59:48]Read from MH i2c: E2 FD 00 [11:59:48]MH_I2C_Read... [11:59:48]Read from MH i2c: E2 FD 00 4D 15 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 51 [11:59:48]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 [11:59:48]wFMCommunicate OK [11:59:48]wFMCommunicate request_size=4 [11:59:48]MH_SAM_APDU [11:59:48]CAPDU: 80 17 00 00 [11:59:48]Write to MH i2c: E2 08 00 4E 15 80 17 00 00 00 00 00 00 E3 [11:59:48]Write i2c OK [11:59:48]MH_I2C_Read... [11:59:48]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [11:59:48]Read from MH i2c: E2 [11:59:48]MH_I2C_Read... [11:59:48]Read from MH i2c: E2 D3 00 [11:59:48]MH_I2C_Read... [11:59:48]Read from MH i2c: E2 D3 00 4E 15 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 D0 [11:59:48]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 [11:59:48]wFMCommunicate OK [11:59:48]SAM_PROTO_GetShiftData done [11:59:48]requested_item shift.sale.total_cash is exist - process it [11:59:48]requested_item shift.sale_refund.total is exist - process it [11:59:48]requested_item shift.sale_refund.total_cash is exist - process it [11:59:48]produce_requested_data done [11:59:48]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57167,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":16146.21,"shift.sale.total_cash":12818.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [11:59:48]process_action_free close_receipt [11:59:48]json_value_free [11:59:48]json_value_free done [11:59:48]process_json_proto returns [11:59:48]Send response to host [11:59:48]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57167,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":16146.21,"shift.sale.total_cash":12818.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [11:59:48]free response buf [11:59:48]execute_script done [11:59:48]execute_script returns [11:59:48]free content buf [11:59:48]Sock 8.Close socket [11:59:48]Sock 8.Thread stoped [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:44]accept exits with 9 [12:06:44]New connection [12:06:44]New thread 3066924388 created [12:06:44]Thread 3067067748 joined [12:06:44]Waiting for new connection... [12:06:44] Sock 9.Parse request [12:06:44]Sock 9.Check first char [12:06:44]Sock 9.First char is OK [12:06:44]request: POST /json_proto HTTP/1.0 [12:06:44]Method: POST [12:06:44]URL: /json_proto [12:06:44]Method is POST - this is cgi request [12:06:44]url: /json_proto [12:06:44]query_string will be loaded in cgi processing [12:06:44]execute_cgi json_proto POST (null) [12:06:44]execute_cgi path=json_proto method=POST [12:06:44]POST find Content-Length [12:06:44]Host: 172.17.39.4:8080 [12:06:44]Content-Length: 936 [12:06:44]Content-Type: application/json [12:06:44] [12:06:44]POST finish read [12:06:44]Found Content-Length = 936 [12:06:44]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129622", "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 }]} ,{ "code": "50173617", "name": "\u0416\u0435\u0432 Orbit Eucalyptus", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 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:06:44]execute_script... [12:06: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)129622", "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 }]} ,{ "code": "50173617", "name": "\u0416\u0435\u0432 Orbit Eucalyptus", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 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:06:44]POST & json_proto [12:06:44]process_json_proto [12:06:44]json parsed OK: [12:06:44]protocol is kg_v1.0 [12:06:44]action value=close_receipt [12:06:44]process_action close_receipt [12:06:44]cmd_close_receipt [12:06:44]MH_GetDate [12:06:44]Write to MH i2c: F0 00 00 4F 15 53 [12:06:44]Write i2c OK [12:06:44]MH_I2C_Read... [12:06:44]Read from MH i2c: F0 [12:06:44]MH_I2C_Read... [12:06:44]Read from MH i2c: F0 09 00 [12:06:44]MH_I2C_Read... [12:06:44]Read from MH i2c: F0 09 00 4F 15 00 D8 10 95 66 2D 25 5D 64 52 [12:06:44]GetLastDocTimeStamp 1721044787 [12:06:44]current date 1721045208 [12:06:44]FM_GetShiftState [12:06:44]SAM_PROTO_GetShiftState [12:06:44]wFMCommunicate request_size=4 [12:06:44]MH_SAM_APDU [12:06:44]CAPDU: 80 13 01 00 [12:06:44]Write to MH i2c: E2 08 00 50 15 80 13 01 00 00 00 00 00 E2 [12:06:44]Write i2c OK [12:06:44]MH_I2C_Read... [12:06:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:06:44]Read from MH i2c: E2 [12:06:44]MH_I2C_Read... [12:06:44]Read from MH i2c: E2 0E 00 [12:06:44]MH_I2C_Read... [12:06:44]Read from MH i2c: E2 0E 00 50 15 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 5B [12:06:44]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [12:06:44]wFMCommunicate OK [12:06:44]SAM_PROTO_GetShiftState done [12:06:44]FM_GetShiftState done [12:06:44]opened in 1721003525 [12:06:44]opened+sec_in_day 1721089925 [12:06:44]quantity*price = 5000 [12:06:44]sum+1 = 5001 [12:06:44]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 50173617 Жев Orbit Eucalyptus 1.000 * 45.00 = 45.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 95.00 НСП 1% : 0.84 НДС 12% : 10.09 Наличными: 95.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 63 15.07.2024 12:06 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57168 ФПД: 90561346944176 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T120648&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57168&fm=90561346944176&tin=02508201610067®Number=0000000000091208&sum=9500 0 [12:06:45]StoreToDocumentArchive [12:06:45]shift 497 fd 57168 [12:06:45]save to /storage/0497/doc_00057168 [12:06:45]save last doc name /storage/0497/doc_00057168 to /storage/kkm_last_doc_name [12:06:45]save OK [12:06:45]Clear old archive folders... [12:06:45]ProcessDocumentItem done err = 0, tmpTLVsize=359 [12:06:45]tlvbuf is 0097A830 [12:06:45]SAM_PROTO_ClearQueue [12:06:45]wFMCommunicate request_size=4 [12:06:45]MH_SAM_APDU [12:06:45]CAPDU: 80 09 00 00 [12:06:45]Write to MH i2c: E2 08 00 5D 15 80 09 00 00 00 00 00 00 E4 [12:06:45]Write i2c OK [12:06:45]MH_I2C_Read... [12:06:45]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:06:45]Read from MH i2c: E2 [12:06:45]MH_I2C_Read... [12:06:45]Read from MH i2c: E2 03 00 [12:06:45]MH_I2C_Read... [12:06:45]Read from MH i2c: E2 03 00 5D 15 00 90 00 E6 [12:06:45]RAPDU: 90 00 [12:06:45]wFMCommunicate OK [12:06:45]SAM_PROTO_ClearQueue done [12:06:45]KKMCreateOFDPacket [12:06:45]OFDProtocolAddRootSTLVToBuf [12:06:45]FM_MakeSignedData [12:06:45]FM_MakeSignedData [12:06:45]SAM_PROTO_SignData [12:06:45]wFMCommunicate request_size=4 [12:06:45]MH_SAM_APDU [12:06:45]CAPDU: 80 0D 01 02 [12:06:45]Write to MH i2c: E2 08 00 5E 15 80 0D 01 02 00 00 00 00 EC [12:06:45]Write i2c OK [12:06:45]MH_I2C_Read... [12:06:45]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:06:45]Read from MH i2c: E2 [12:06:45]MH_I2C_Read... [12:06:45]Read from MH i2c: E2 03 00 [12:06:45]MH_I2C_Read... [12:06:45]Read from MH i2c: E2 03 00 5E 15 00 90 00 E7 [12:06:45]RAPDU: 90 00 [12:06:45]wFMCommunicate OK [12:06:45]wFMCommunicate request_size=255 [12:06:45]MH_SAM_APDU [12:06:45]CAPDU: 80 0D 02 02 FA 03 00 67 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 23 04 56 00 8A 04 08 00 35 30 31 37 33 36 31 37 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 45 75 63 61 6C 79 70 74 75 73 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 [12:06:45]Write to MH i2c: E2 02 01 5F 15 80 0D 02 02 FA 00 03 00 67 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 23 04 56 00 8A 04 08 00 35 30 31 37 33 36 31 37 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 45 75 63 61 6C 79 70 74 75 73 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 00 00 96 [12:06:45]Write i2c OK [12:06:45]MH_I2C_Read... [12:06:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:06:46]Read from MH i2c: E2 [12:06:46]MH_I2C_Read... [12:06:46]Read from MH i2c: E2 03 00 [12:06:46]MH_I2C_Read... [12:06:46]Read from MH i2c: E2 03 00 5F 15 00 90 00 E8 [12:06:46]RAPDU: 90 00 [12:06:46]wFMCommunicate OK [12:06:46]wFMCommunicate request_size=118 [12:06:46]MH_SAM_APDU [12:06:46]CAPDU: 80 0D 02 02 71 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 3F 00 00 00 F4 03 04 00 D8 10 95 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 50 DF 00 00 35 04 06 00 52 5D 74 EA 3C B0 [12:06:46]Write to MH i2c: E2 79 00 60 15 80 0D 02 02 71 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 3F 00 00 00 F4 03 04 00 D8 10 95 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 50 DF 00 00 35 04 06 00 52 5D 74 EA 3C B0 00 00 8A [12:06:46]Write i2c OK [12:06:46]MH_I2C_Read... [12:06:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:06:46]Read from MH i2c: E2 [12:06:46]MH_I2C_Read... [12:06:46]Read from MH i2c: E2 03 00 [12:06:46]MH_I2C_Read... [12:06:46]Read from MH i2c: E2 03 00 60 15 00 90 00 E9 [12:06:46]RAPDU: 90 00 [12:06:46]wFMCommunicate OK [12:06:46]wFMCommunicate request_size=4 [12:06:46]MH_SAM_APDU [12:06:46]CAPDU: 80 0D 03 02 [12:06:46]Write to MH i2c: E2 08 00 61 15 80 0D 03 02 00 00 00 00 F1 [12:06:46]Write i2c OK [12:06:46]MH_I2C_Read... [12:06:46]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:06:46]Read from MH i2c: E2 [12:06:46]MH_I2C_Read... [12:06:46]Read from MH i2c: E2 0B 00 [12:06:46]MH_I2C_Read... [12:06:46]Read from MH i2c: E2 0B 00 61 15 00 3C AD 48 44 93 41 6B 6E 90 00 14 [12:06:46]RAPDU: 3C AD 48 44 93 41 6B 6E 90 00 [12:06:46]wFMCommunicate OK [12:06:46]SAM_PROTO_SignData done [12:06:46]FM_MakeSignedData done [12:06:46]CreateOFDProtocolMessage [12:06:46]wFMCommunicate request_size=4 [12:06:46]MH_SAM_APDU [12:06:46]CAPDU: 80 11 00 00 [12:06:46]Write to MH i2c: E2 08 00 62 15 80 11 00 00 00 00 00 00 F1 [12:06:46]Write i2c OK [12:06:46]MH_I2C_Read... [12:06:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:06:46]Read from MH i2c: E2 [12:06:46]MH_I2C_Read... [12:06:46]Read from MH i2c: E2 17 00 [12:06:46]MH_I2C_Read... [12:06:46]Read from MH i2c: E2 17 00 62 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 4B [12:06: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:06:46]wFMCommunicate OK [12:06:46]CreateOFDProtocolMessage done [12:06:46]OFDSenderStorePacket 57168 [12:06:46]StoreOFDPacket docnum=57168 [12:06: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 7B 01 00 00 D6 DE 73 01 8E 29 5A 03 01 00 03 00 67 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 23 04 56 00 8A 04 08 00 35 30 31 37 33 36 31 37 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 45 75 63 61 6C 79 70 74 75 73 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 3F 00 00 00 F4 03 04 00 D8 10 95 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 50 DF 00 00 35 04 06 00 52 5D 74 EA 3C B0 3C AD 48 44 93 41 6B 6E [12:06:46]CheckFolder [12:06:46]dirname=/storage/ofd_packets [12:06:46]CheckFolder done [12:06:46]ProducePacketName [12:06:46]name=ofd_packets/00057168 [12:06:46]NVStorageSaveData ofd_packets/00057168 [12:06:46]File name is /storage/ofd_packets/00057168 [12:06:46]Write 409 bytes [12:06:46]NVStorageSaveData done [12:06:46]OFDSenderStorePacket done [12:06:46]KKMCreateOFDPacket done [12:06:46]NVStorageSaveData kkm_last_timestamp [12:06:46]File name is /storage/kkm_last_timestamp [12:06:46]Write 4 bytes [12:06:46]NVStorageSaveData done [12:06:46]ExternCall_PrintAddStr [12:06:46]wPrintStart [12:06:46]Write to MH i2c: 01 00 00 63 15 78 [12:06:46]Write i2c OK [12:06:46]MH_I2C_Read... [12:06:46]Read from MH i2c: 01 [12:06:46]MH_I2C_Read... [12:06:46]Read from MH i2c: 01 07 00 [12:06:46]MH_I2C_Read... [12:06:46]Read from MH i2c: 01 07 00 63 15 00 00 00 00 00 FF 0F 8D [12:06:46]RasterBufferAndPrint [12:06:46]line Счет N : (3)129622 [12:06:46]line ИНН: 02508201610067 [12:06:46]line Контрольно-Кассовый Чек [12:06:46]line ПРОДАЖА [12:06:46]line Товар: 4700000160358 [12:06:46]line Вода Легенда 1л [12:06:46]line 1.000 * 50.00 [12:06:46]line = 50.00 [12:06:46]line НДС 12% НСП 1% [12:06:46]line > о реализуемом товаре [12:06:46]line Товар: 50173617 [12:06:46]line Жев Orbit Eucalyptus [12:06:46]line 1.000 * 45.00 [12:06:46]line = 45.00 [12:06:46]line НДС 12% НСП 1% [12:06:46]line > о реализуемом товаре [12:06:46]line ИТОГО: 95.00 [12:06:46]line НСП 1% : 0.84 [12:06:46]line НДС 12% : 10.09 [12:06:46]line Наличными: 95.00 [12:06:46]line Безнал.: 0.00 [12:06:46]line Место: АЗС № 132 "Партнер Нефть" [12:06:46]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [12:06:46]line СНО: Общий режим [12:06:46]line Чек 63 15.07.2024 12:06 [12:06:46]line Смена: 497 ФФД: 1.0 [12:06:46]line ЗНМ: 0300000132 [12:06:46]line РНМ: 0000000000091208 [12:06:46]line Версия ККМ: 001 [12:06:46]line ФМ: 0000000000874857 [12:06:46]line ФД: 57168 [12:06:46]line ФПД: 90561346944176 [12:06:46]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T120648&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57168&fm=90561346944176&tin=02508201610067®Number=0000000000091208&sum=9500 [12:06:46]line 0 [12:06:46]OFD Sender: Processing packet 57168 [packets to send 38, broken 37] [12:06:46]ProducePacketName [12:06:46]name=ofd_packets/00057168 [12:06:46]OFD Sender: To server: pG, [12:06:46]CommunicateWithHost lk.salyk.kg:30040 [12:06:46]ConnectInit lk.salyk.kg [12:06:46]written 0, free lines is 4095 [12:06:46]Connected sock=10 [12:06: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 7B 01 00 00 D6 DE 73 01 8E 29 5A 03 01 00 03 00 67 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 23 04 56 00 8A 04 08 00 35 30 31 37 33 36 31 37 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 45 75 63 61 6C 79 70 74 75 73 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 3F 00 00 00 F4 03 04 00 D8 10 95 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 50 DF 00 00 35 04 06 00 52 5D 74 EA 3C B0 3C AD 48 44 93 41 6B 6E [12:06: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 15 3C 47 00 83 64 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 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 50 DF 00 00 F4 03 04 00 26 B7 94 66 B6 04 01 00 00 82 54 43 7D B7 50 8F D0 [12:06:47]CommunicateWithHost err = 0 [12:06:47]CheckOFDResponse [12:06:47]1017 (14) - 77093643461234 [12:06:47]1041 (16) - 0000000000874857 [12:06:47]1040 (4) - 57168 [12:06:47]1012 (4) - 15.07.2024 05:44 [12:06:47]1206 (1) - 0 [12:06:47]OFD Sender: Remove packet 57168 [12:06:47]ProducePacketName [12:06:47]name=ofd_packets/00057168 [12:06:47]NVStorageDeleteData [12:06:47]Write to MH i2c: 01 00 00 91 15 A6 [12:06:47]Write i2c OK [12:06:47]MH_I2C_Read... [12:06:47]Read from MH i2c: 01 [12:06:47]MH_I2C_Read... [12:06:47]Read from MH i2c: 01 07 00 [12:06:47]MH_I2C_Read... [12:06:47]Read from MH i2c: 01 07 00 91 15 00 00 00 00 00 B8 0C 71 [12:06:47]RasterBufferAndPrint [12:06:47]line [12:06:47]line [12:06:47]line [12:06:47]line [12:06:47]line [12:06:47]written 0, free lines is 3264 [12:06:47]MH_Cut [12:06:47]Write to MH i2c: D1 01 00 98 15 01 7F [12:06:47]Write i2c OK [12:06:47]MH_I2C_Read... [12:06:47]Read from MH i2c: D1 [12:06:47]MH_I2C_Read... [12:06:47]Read from MH i2c: D1 01 00 [12:06:47]MH_I2C_Read... [12:06:47]Read from MH i2c: D1 01 00 98 15 00 7E [12:06:47]Write to MH i2c: 01 00 00 99 15 AE [12:06:47]Write i2c OK [12:06:47]MH_I2C_Read... [12:06:47]OFD Sender: No OFD packet to send [12:06:48]*** Cut start [12:06:48]*** Partial cut [12:06:48]*** CUTSNS_PIN = 1 [12:06:48]*** CUTSNS_PIN = 0 [12:06:48]*** Brake cut motor [12:06:48]Read from MH i2c: 01 [12:06:48]MH_I2C_Read... [12:06:48]*** Stop cut motor [12:06:48]*** Cut end [12:06:48]Read from MH i2c: 01 07 00 [12:06:48]MH_I2C_Read... [12:06:48]Read from MH i2c: 01 07 00 99 15 00 00 00 00 00 FF 0F C3 [12:06:48]process_action close_receipt done [12:06:48]requested_data is exist [12:06:48]produce_requested_data [12:06:48]requested_item fm.sn is exist - process it [12:06:48]wFMCommunicate request_size=4 [12:06:48]MH_SAM_APDU [12:06:48]CAPDU: 80 11 00 00 [12:06:48]Write to MH i2c: E2 08 00 9A 15 80 11 00 00 00 00 00 00 29 [12:06:48]Write i2c OK [12:06:48]MH_I2C_Read... [12:06:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:06:48]Read from MH i2c: E2 [12:06:48]MH_I2C_Read... [12:06:48]Read from MH i2c: E2 17 00 [12:06:48]MH_I2C_Read... [12:06:48]Read from MH i2c: E2 17 00 9A 15 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:06:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [12:06:48]wFMCommunicate OK [12:06:48]requested_item fd.num is exist - process it [12:06:48]SAM_PROTO_GetFieldsCounters [12:06:48]wFMCommunicate request_size=4 [12:06:48]MH_SAM_APDU [12:06:48]CAPDU: 80 13 00 00 [12:06:48]Write to MH i2c: E2 08 00 9B 15 80 13 00 00 00 00 00 00 2C [12:06:48]Write i2c OK [12:06:48]MH_I2C_Read... [12:06:48]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:06:48]Read from MH i2c: E2 [12:06:48]MH_I2C_Read... [12:06:48]Read from MH i2c: E2 62 00 [12:06:48]MH_I2C_Read... [12:06:48]Read from MH i2c: E2 62 00 9B 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 50 DF 00 00 0E 04 04 00 F1 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 2D [12:06: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 50 DF 00 00 0E 04 04 00 F1 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 [12:06:48]wFMCommunicate OK [12:06:48]SAM_PROTO_GetFieldsCounters done [12:06:48]requested_item shift.num is exist - process it [12:06:48]requested_item shift.opened is exist - process it [12:06:48]req_shift_opened [12:06:48]FM_GetShiftState [12:06:48]SAM_PROTO_GetShiftState [12:06:48]wFMCommunicate request_size=4 [12:06:48]MH_SAM_APDU [12:06:48]CAPDU: 80 13 01 00 [12:06:48]Write to MH i2c: E2 08 00 9C 15 80 13 01 00 00 00 00 00 2E [12:06:48]Write i2c OK [12:06:48]MH_I2C_Read... [12:06:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:06:48]Read from MH i2c: E2 [12:06:48]MH_I2C_Read... [12:06:48]Read from MH i2c: E2 0E 00 [12:06:48]MH_I2C_Read... [12:06:48]Read from MH i2c: E2 0E 00 9C 15 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 A7 [12:06:48]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [12:06:48]wFMCommunicate OK [12:06:48]SAM_PROTO_GetShiftState done [12:06:48]FM_GetShiftState done [12:06:48]req_shift_opened done [12:06:48]requested_item shift.open_date is exist - process it [12:06:48]req_shift_open_date [12:06:48]req_shift_open_date done [12:06:48]requested_item shift.sale.total is exist - process it [12:06:48]SAM_PROTO_GetShiftData [12:06:48]wFMCommunicate request_size=4 [12:06:48]MH_SAM_APDU [12:06:48]CAPDU: 80 13 02 00 [12:06:48]Write to MH i2c: E2 08 00 9D 15 80 13 02 00 00 00 00 00 30 [12:06:48]Write i2c OK [12:06:48]MH_I2C_Read... [12:06:49]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [12:06:49]Read from MH i2c: E2 [12:06:49]MH_I2C_Read... [12:06:49]Read from MH i2c: E2 FD 00 [12:06:49]MH_I2C_Read... [12:06:49]Read from MH i2c: E2 FD 00 9D 15 00 B6 04 AA 04 B2 04 6E 04 04 00 3F 00 00 00 69 04 9B 00 6F 04 04 00 3E 00 00 00 B1 04 03 00 39 C8 18 70 04 03 00 24 B4 13 72 04 03 00 15 14 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 B9 A1 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 22 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 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 F7 [12:06:49]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 3F 00 00 00 69 04 9B 00 6F 04 04 00 3E 00 00 00 B1 04 03 00 39 C8 18 70 04 03 00 24 B4 13 72 04 03 00 15 14 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 B9 A1 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 22 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 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 [12:06:49]wFMCommunicate OK [12:06:49]wFMCommunicate request_size=4 [12:06:49]MH_SAM_APDU [12:06:49]CAPDU: 80 17 00 00 [12:06:49]Write to MH i2c: E2 08 00 9E 15 80 17 00 00 00 00 00 00 33 [12:06:49]Write i2c OK [12:06:49]MH_I2C_Read... [12:06:49]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:06:49]Read from MH i2c: E2 [12:06:49]MH_I2C_Read... [12:06:49]Read from MH i2c: E2 FD 00 [12:06:49]MH_I2C_Read... [12:06:49]Read from MH i2c: E2 FD 00 9E 15 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 68 [12:06:49]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 [12:06:49]wFMCommunicate OK [12:06:49]wFMCommunicate request_size=4 [12:06:49]MH_SAM_APDU [12:06:49]CAPDU: 80 17 00 00 [12:06:49]Write to MH i2c: E2 08 00 9F 15 80 17 00 00 00 00 00 00 34 [12:06:49]Write i2c OK [12:06:49]MH_I2C_Read... [12:06:49]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:06:49]Read from MH i2c: E2 [12:06:49]MH_I2C_Read... [12:06:49]Read from MH i2c: E2 FD 00 [12:06:49]MH_I2C_Read... [12:06:49]Read from MH i2c: E2 FD 00 9F 15 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 F4 [12:06:50]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 [12:06:50]wFMCommunicate OK [12:06:50]wFMCommunicate request_size=4 [12:06:50]MH_SAM_APDU [12:06:50]CAPDU: 80 17 00 00 [12:06:50]Write to MH i2c: E2 08 00 A0 15 80 17 00 00 00 00 00 00 35 [12:06:50]Write i2c OK [12:06:50]MH_I2C_Read... [12:06:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:06:50]Read from MH i2c: E2 [12:06:50]MH_I2C_Read... [12:06:50]Read from MH i2c: E2 FD 00 [12:06:50]MH_I2C_Read... [12:06:50]Read from MH i2c: E2 FD 00 A0 15 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 A4 [12:06:50]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 [12:06:50]wFMCommunicate OK [12:06:50]wFMCommunicate request_size=4 [12:06:50]MH_SAM_APDU [12:06:50]CAPDU: 80 17 00 00 [12:06:50]Write to MH i2c: E2 08 00 A1 15 80 17 00 00 00 00 00 00 36 [12:06:50]Write i2c OK [12:06:50]MH_I2C_Read... [12:06:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [12:06:50]Read from MH i2c: E2 [12:06:50]MH_I2C_Read... [12:06:50]Read from MH i2c: E2 D3 00 [12:06:50]MH_I2C_Read... [12:06:50]Read from MH i2c: E2 D3 00 A1 15 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 23 [12:06:50]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 [12:06:50]wFMCommunicate OK [12:06:50]SAM_PROTO_GetShiftData done [12:06:50]requested_item shift.sale.total_cash is exist - process it [12:06:50]requested_item shift.sale_refund.total is exist - process it [12:06:50]requested_item shift.sale_refund.total_cash is exist - process it [12:06:50]produce_requested_data done [12:06:50]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57168,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":16241.21,"shift.sale.total_cash":12913.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [12:06:50]process_action_free close_receipt [12:06:50]json_value_free [12:06:50]json_value_free done [12:06:50]process_json_proto returns [12:06:50]Send response to host [12:06:50]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57168,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":16241.21,"shift.sale.total_cash":12913.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [12:06:50]free response buf [12:06:50]execute_script done [12:06:50]execute_script returns [12:06:50]free content buf [12:06:50]Sock 9.Close socket [12:06:50]Sock 9.Thread stoped [12:06:52]OFD Sender: No OFD packet to send [12:06:57]OFD Sender: No OFD packet to send [12:07:02]OFD Sender: No OFD packet to send [12:07:07]OFD Sender: No OFD packet to send [12:07:12]OFD Sender: No OFD packet to send [12:07:17]OFD Sender: No OFD packet to send [12:07:22]OFD Sender: No OFD packet to send [12:07:27]OFD Sender: No OFD packet to send [12:07:32]OFD Sender: No OFD packet to send [12:07:37]OFD Sender: No OFD packet to send [12:07:42]OFD Sender: No OFD packet to send [12:07:47]OFD Sender: No OFD packet to send [12:07:52]OFD Sender: No OFD packet to send [12:07:57]OFD Sender: No OFD packet to send [12:08:02]OFD Sender: No OFD packet to send [12:08:07]OFD Sender: No OFD packet to send [12:08:12]OFD Sender: No OFD packet to send [12:08:17]OFD Sender: No OFD packet to send [12:08:22]OFD Sender: No OFD packet to send [12:08:27]OFD Sender: No OFD packet to send [12:08:32]OFD Sender: No OFD packet to send [12:08:37]OFD Sender: No OFD packet to send [12:08:42]OFD Sender: No OFD packet to send [12:08:47]OFD Sender: No OFD packet to send [12:08:52]OFD Sender: No OFD packet to send [12:08:57]OFD Sender: No OFD packet to send [12:09:02]OFD Sender: No OFD packet to send [12:09:07]OFD Sender: No OFD packet to send [12:09:12]OFD Sender: No OFD packet to send [12:09:17]OFD Sender: No OFD packet to send [12:09:22]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:18]OFD Sender: No OFD packet to send [12:12:23]OFD Sender: No OFD packet to send [12:12:28]OFD Sender: No OFD packet to send [12:12:33]OFD Sender: No OFD packet to send [12:12:38]OFD Sender: No OFD packet to send [12:12:43]OFD Sender: No OFD packet to send [12:12:48]OFD Sender: No OFD packet to send [12:12:53]OFD Sender: No OFD packet to send [12:12:58]OFD Sender: No OFD packet to send [12:13:03]OFD Sender: No OFD packet to send [12:13:08]OFD Sender: No OFD packet to send [12:13:13]OFD Sender: No OFD packet to send [12:13:18]OFD Sender: No OFD packet to send [12:13:23]OFD Sender: No OFD packet to send [12:13:28]OFD Sender: No OFD packet to send [12:13:33]OFD Sender: No OFD packet to send [12:13:38]OFD Sender: No OFD packet to send [12:13:43]OFD Sender: No OFD packet to send [12:13:48]OFD Sender: No OFD packet to send [12:13:48]accept exits with 8 [12:13:48]New connection [12:13:48]New thread 3067067748 created [12:13:48]Thread 3066924388 joined [12:13:48]Waiting for new connection... [12:13:48] Sock 8.Parse request [12:13:48]Sock 8.Check first char [12:13:48]Sock 8.First char is OK [12:13:48]request: POST /json_proto HTTP/1.0 [12:13:48]Method: POST [12:13:48]URL: /json_proto [12:13:48]Method is POST - this is cgi request [12:13:48]url: /json_proto [12:13:48]query_string will be loaded in cgi processing [12:13:48]execute_cgi json_proto POST (null) [12:13:48]execute_cgi path=json_proto method=POST [12:13:48]POST find Content-Length [12:13:48]Host: 172.17.39.4:8080 [12:13:48]Content-Length: 1003 [12:13:48]Content-Type: application/json [12:13:48] [12:13:48]POST finish read [12:13:48]Found Content-Length = 1003 [12:13:48]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129623", "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": "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" : 221.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:13:48]execute_script... [12:13:48]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129623", "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": "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" : 221.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:13:48]POST & json_proto [12:13:48]process_json_proto [12:13:48]json parsed OK: [12:13:48]protocol is kg_v1.0 [12:13:48]action value=close_receipt [12:13:48]process_action close_receipt [12:13:48]cmd_close_receipt [12:13:48]MH_GetDate [12:13:48]Write to MH i2c: F0 00 00 A2 15 A6 [12:13:48]Write i2c OK [12:13:48]MH_I2C_Read... [12:13:48]Read from MH i2c: F0 [12:13:48]MH_I2C_Read... [12:13:48]Read from MH i2c: F0 09 00 [12:13:48]MH_I2C_Read... [12:13:48]Read from MH i2c: F0 09 00 A2 15 00 80 12 95 66 2D 25 5D 64 4F [12:13:48]GetLastDocTimeStamp 1721045208 [12:13:48]current date 1721045632 [12:13:48]FM_GetShiftState [12:13:48]SAM_PROTO_GetShiftState [12:13:48]wFMCommunicate request_size=4 [12:13:48]MH_SAM_APDU [12:13:48]CAPDU: 80 13 01 00 [12:13:48]Write to MH i2c: E2 08 00 A3 15 80 13 01 00 00 00 00 00 35 [12:13:48]Write i2c OK [12:13:48]MH_I2C_Read... [12:13:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:13:48]Read from MH i2c: E2 [12:13:48]MH_I2C_Read... [12:13:48]Read from MH i2c: E2 0E 00 [12:13:48]MH_I2C_Read... [12:13:48]Read from MH i2c: E2 0E 00 A3 15 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 AE [12:13:48]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [12:13:48]wFMCommunicate OK [12:13:48]SAM_PROTO_GetShiftState done [12:13:48]FM_GetShiftState done [12:13:48]opened in 1721003525 [12:13:48]opened+sec_in_day 1721089925 [12:13:48]quantity*price = 11100 [12:13:48]sum+1 = 11101 [12:13:48]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4870022003305 Напиток Gorilla эн нат ж/б 0,5/0,45л 1.000 * 110.00 = 110.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 221.00 НСП 1% : 1.95 НДС 12% : 23.47 Наличными: 221.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 64 15.07.2024 12:13 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57169 ФПД: 160837777703471 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T121352&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57169&fm=160837777703471&tin=02508201610067®Number=0000000000091208&sum=22100 0 [12:13:49]StoreToDocumentArchive [12:13:49]shift 497 fd 57169 [12:13:49]save to /storage/0497/doc_00057169 [12:13:49]save last doc name /storage/0497/doc_00057169 to /storage/kkm_last_doc_name [12:13:49]save OK [12:13:49]Clear old archive folders... [12:13:49]ProcessDocumentItem done err = 0, tmpTLVsize=389 [12:13:49]tlvbuf is 0099E560 [12:13:49]SAM_PROTO_ClearQueue [12:13:49]wFMCommunicate request_size=4 [12:13:49]MH_SAM_APDU [12:13:49]CAPDU: 80 09 00 00 [12:13:49]Write to MH i2c: E2 08 00 B0 15 80 09 00 00 00 00 00 00 37 [12:13:49]Write i2c OK [12:13:49]MH_I2C_Read... [12:13:49]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:13:49]Read from MH i2c: E2 [12:13:49]MH_I2C_Read... [12:13:49]Read from MH i2c: E2 03 00 [12:13:49]MH_I2C_Read... [12:13:49]Read from MH i2c: E2 03 00 B0 15 00 90 00 39 [12:13:49]RAPDU: 90 00 [12:13:49]wFMCommunicate OK [12:13:49]SAM_PROTO_ClearQueue done [12:13:49]KKMCreateOFDPacket [12:13:49]OFDProtocolAddRootSTLVToBuf [12:13:49]FM_MakeSignedData [12:13:49]FM_MakeSignedData [12:13:49]SAM_PROTO_SignData [12:13:49]wFMCommunicate request_size=4 [12:13:49]MH_SAM_APDU [12:13:49]CAPDU: 80 0D 01 02 [12:13:49]Write to MH i2c: E2 08 00 B1 15 80 0D 01 02 00 00 00 00 3F [12:13:49]Write i2c OK [12:13:49]MH_I2C_Read... [12:13:49]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:13:49]Read from MH i2c: E2 [12:13:49]MH_I2C_Read... [12:13:49]Read from MH i2c: E2 03 00 [12:13:49]MH_I2C_Read... [12:13:49]Read from MH i2c: E2 03 00 B1 15 00 90 00 3A [12:13:49]RAPDU: 90 00 [12:13:49]wFMCommunicate OK [12:13:49]wFMCommunicate request_size=255 [12:13:49]MH_SAM_APDU [12:13:49]CAPDU: 80 0D 02 02 FA 03 00 85 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 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 54 56 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 [12:13:49]Write to MH i2c: E2 02 01 B2 15 80 0D 02 02 FA 00 03 00 85 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 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 54 56 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 00 00 BD [12:13:49]Write i2c OK [12:13:49]MH_I2C_Read... [12:13:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:13:50]Read from MH i2c: E2 [12:13:50]MH_I2C_Read... [12:13:50]Read from MH i2c: E2 03 00 [12:13:50]MH_I2C_Read... [12:13:50]Read from MH i2c: E2 03 00 B2 15 00 90 00 3B [12:13:50]RAPDU: 90 00 [12:13:50]wFMCommunicate OK [12:13:50]wFMCommunicate request_size=148 [12:13:50]MH_SAM_APDU [12:13:50]CAPDU: 80 0D 02 02 8F 01 F7 03 06 00 C3 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2B 09 00 00 00 00 07 04 06 00 54 56 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 40 00 00 00 F4 03 04 00 80 12 95 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 51 DF 00 00 35 04 06 00 92 47 F6 9B 42 2F [12:13:50]Write to MH i2c: E2 97 00 B3 15 80 0D 02 02 8F 00 01 F7 03 06 00 C3 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2B 09 00 00 00 00 07 04 06 00 54 56 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 40 00 00 00 F4 03 04 00 80 12 95 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 51 DF 00 00 35 04 06 00 92 47 F6 9B 42 2F 00 00 FB [12:13:50]Write i2c OK [12:13:50]MH_I2C_Read... [12:13:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:13:50]Read from MH i2c: E2 [12:13:50]MH_I2C_Read... [12:13:50]Read from MH i2c: E2 03 00 [12:13:50]MH_I2C_Read... [12:13:50]Read from MH i2c: E2 03 00 B3 15 00 90 00 3C [12:13:50]RAPDU: 90 00 [12:13:50]wFMCommunicate OK [12:13:50]wFMCommunicate request_size=4 [12:13:50]MH_SAM_APDU [12:13:50]CAPDU: 80 0D 03 02 [12:13:50]Write to MH i2c: E2 08 00 B4 15 80 0D 03 02 00 00 00 00 44 [12:13:50]Write i2c OK [12:13:50]MH_I2C_Read... [12:13:50]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:13:50]Read from MH i2c: E2 [12:13:50]MH_I2C_Read... [12:13:50]Read from MH i2c: E2 0B 00 [12:13:50]MH_I2C_Read... [12:13:50]Read from MH i2c: E2 0B 00 B4 15 00 23 B8 81 77 EC 53 E5 DC 90 00 18 [12:13:50]RAPDU: 23 B8 81 77 EC 53 E5 DC 90 00 [12:13:50]wFMCommunicate OK [12:13:50]SAM_PROTO_SignData done [12:13:50]FM_MakeSignedData done [12:13:50]CreateOFDProtocolMessage [12:13:50]wFMCommunicate request_size=4 [12:13:50]MH_SAM_APDU [12:13:50]CAPDU: 80 11 00 00 [12:13:50]Write to MH i2c: E2 08 00 B5 15 80 11 00 00 00 00 00 00 44 [12:13:50]Write i2c OK [12:13:50]MH_I2C_Read... [12:13:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:13:50]Read from MH i2c: E2 [12:13:50]MH_I2C_Read... [12:13:50]Read from MH i2c: E2 17 00 [12:13:50]MH_I2C_Read... [12:13:50]Read from MH i2c: E2 17 00 B5 15 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:13:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [12:13:50]wFMCommunicate OK [12:13:50]CreateOFDProtocolMessage done [12:13:50]OFDSenderStorePacket 57169 [12:13:50]StoreOFDPacket docnum=57169 [12:13: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 99 01 00 00 D2 DA 91 01 E4 9B 5A 03 01 00 03 00 85 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 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 54 56 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C3 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2B 09 00 00 00 00 07 04 06 00 54 56 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 40 00 00 00 F4 03 04 00 80 12 95 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 51 DF 00 00 35 04 06 00 92 47 F6 9B 42 2F 23 B8 81 77 EC 53 E5 DC [12:13:50]CheckFolder [12:13:50]dirname=/storage/ofd_packets [12:13:50]CheckFolder done [12:13:50]ProducePacketName [12:13:50]name=ofd_packets/00057169 [12:13:50]NVStorageSaveData ofd_packets/00057169 [12:13:50]File name is /storage/ofd_packets/00057169 [12:13:50]Write 439 bytes [12:13:50]NVStorageSaveData done [12:13:50]OFDSenderStorePacket done [12:13:50]KKMCreateOFDPacket done [12:13:50]NVStorageSaveData kkm_last_timestamp [12:13:50]File name is /storage/kkm_last_timestamp [12:13:50]Write 4 bytes [12:13:50]NVStorageSaveData done [12:13:50]ExternCall_PrintAddStr [12:13:50]wPrintStart [12:13:50]Write to MH i2c: 01 00 00 B6 15 CB [12:13:50]Write i2c OK [12:13:50]MH_I2C_Read... [12:13:50]Read from MH i2c: 01 [12:13:50]MH_I2C_Read... [12:13:50]Read from MH i2c: 01 07 00 [12:13:50]MH_I2C_Read... [12:13:50]OFD Sender: Processing packet 57169 [packets to send 38, broken 37] [12:13:50]ProducePacketName [12:13:50]name=ofd_packets/00057169 [12:13:50]OFD Sender: To server: pG, [12:13:50]CommunicateWithHost lk.salyk.kg:30040 [12:13:50]ConnectInit lk.salyk.kg [12:13:50]Read from MH i2c: 01 07 00 B6 15 00 00 00 00 00 FF 0F E0 [12:13:50]RasterBufferAndPrint [12:13:50]line Счет N : (3)129623 [12:13:50]line ИНН: 02508201610067 [12:13:50]line Контрольно-Кассовый Чек [12:13:50]line ПРОДАЖА [12:13:50]line Товар: 4870001570071 [12:13:50]line Напиток Pepsi 1л [12:13:50]line 1.000 * 111.00 [12:13:50]line = 111.00 [12:13:50]line НДС 12% НСП 1% [12:13:50]line > о реализуемом товаре [12:13:50]line Товар: 4870022003305 [12:13:50]line Напиток Gorilla эн нат ж/б 0,5/0,45л [12:13:50]line 1.000 * 110.00 [12:13:50]line = 110.00 [12:13:50]line НДС 12% НСП 1% [12:13:50]line > о реализуемом товаре [12:13:50]line ИТОГО: 221.00 [12:13:50]line НСП 1% : 1.95 [12:13:50]line НДС 12% : 23.47 [12:13:50]line Наличными: 221.00 [12:13:50]line Безнал.: 0.00 [12:13:50]line Место: АЗС № 132 "Партнер Нефть" [12:13:50]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [12:13:50]line СНО: Общий режим [12:13:50]line Чек 64 15.07.2024 12:13 [12:13:50]line Смена: 497 ФФД: 1.0 [12:13:50]line ЗНМ: 0300000132 [12:13:50]line РНМ: 0000000000091208 [12:13:50]line Версия ККМ: 001 [12:13:50]line ФМ: 0000000000874857 [12:13:50]line ФД: 57169 [12:13:50]line ФПД: 160837777703471 [12:13:50]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T121352&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57169&fm=160837777703471&tin=02508201610067®Number=0000000000091208&sum=22100 [12:13:50]line 0 [12:13:50]written 0, free lines is 4095 [12:13:50]Connected sock=10 [12:13:50]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 99 01 00 00 D2 DA 91 01 E4 9B 5A 03 01 00 03 00 85 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 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 54 56 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C3 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2B 09 00 00 00 00 07 04 06 00 54 56 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 40 00 00 00 F4 03 04 00 80 12 95 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 51 DF 00 00 35 04 06 00 92 47 F6 9B 42 2F 23 B8 81 77 EC 53 E5 DC [12:13: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 EA 17 47 00 7B 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 51 DF 00 00 F4 03 04 00 CE B8 94 66 B6 04 01 00 00 9B D2 D6 D6 55 50 A5 63 [12:13:51]CommunicateWithHost err = 0 [12:13:51]CheckOFDResponse [12:13:51]1017 (14) - 77093643461234 [12:13:51]1041 (16) - 0000000000874857 [12:13:51]1040 (4) - 57169 [12:13:51]1012 (4) - 15.07.2024 05:51 [12:13:51]1206 (1) - 0 [12:13:51]OFD Sender: Remove packet 57169 [12:13:51]ProducePacketName [12:13:51]name=ofd_packets/00057169 [12:13:51]NVStorageDeleteData [12:13:51]Write to MH i2c: 01 00 00 E5 15 FA [12:13:51]Write i2c OK [12:13:51]MH_I2C_Read... [12:13:51]Read from MH i2c: 01 [12:13:51]MH_I2C_Read... [12:13:51]Read from MH i2c: 01 07 00 [12:13:51]MH_I2C_Read... [12:13:51]Read from MH i2c: 01 07 00 E5 15 00 00 00 00 00 A6 0C B3 [12:13:51]RasterBufferAndPrint [12:13:51]line [12:13:51]line [12:13:51]line [12:13:51]line [12:13:51]line [12:13:51]written 0, free lines is 3245 [12:13:51]MH_Cut [12:13:51]Write to MH i2c: D1 01 00 EC 15 01 D3 [12:13:51]Write i2c OK [12:13:51]MH_I2C_Read... [12:13:51]Read from MH i2c: D1 [12:13:51]MH_I2C_Read... [12:13:51]Read from MH i2c: D1 01 00 [12:13:51]MH_I2C_Read... [12:13:51]Read from MH i2c: D1 01 00 EC 15 00 D2 [12:13:51]Write to MH i2c: 01 00 00 ED 15 02 [12:13:51]Write i2c OK [12:13:51]MH_I2C_Read... [12:13:51]OFD Sender: No OFD packet to send [12:13:52]*** Cut start [12:13:52]*** Partial cut [12:13:52]*** CUTSNS_PIN = 1 [12:13:52]*** CUTSNS_PIN = 0 [12:13:52]*** Brake cut motor [12:13:52]Read from MH i2c: 01 [12:13:52]MH_I2C_Read... [12:13:52]*** Stop cut motor [12:13:52]*** Cut end [12:13:52]Read from MH i2c: 01 07 00 [12:13:52]MH_I2C_Read... [12:13:52]Read from MH i2c: 01 07 00 ED 15 00 00 00 00 00 FF 0F 17 [12:13:52]process_action close_receipt done [12:13:52]requested_data is exist [12:13:52]produce_requested_data [12:13:52]requested_item fm.sn is exist - process it [12:13:52]wFMCommunicate request_size=4 [12:13:52]MH_SAM_APDU [12:13:52]CAPDU: 80 11 00 00 [12:13:52]Write to MH i2c: E2 08 00 EE 15 80 11 00 00 00 00 00 00 7D [12:13:52]Write i2c OK [12:13:52]MH_I2C_Read... [12:13:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:13:52]Read from MH i2c: E2 [12:13:52]MH_I2C_Read... [12:13:52]Read from MH i2c: E2 17 00 [12:13:52]MH_I2C_Read... [12:13:52]Read from MH i2c: E2 17 00 EE 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 D7 [12:13: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:13:52]wFMCommunicate OK [12:13:52]requested_item fd.num is exist - process it [12:13:52]SAM_PROTO_GetFieldsCounters [12:13:52]wFMCommunicate request_size=4 [12:13:52]MH_SAM_APDU [12:13:52]CAPDU: 80 13 00 00 [12:13:52]Write to MH i2c: E2 08 00 EF 15 80 13 00 00 00 00 00 00 80 [12:13:52]Write i2c OK [12:13:52]MH_I2C_Read... [12:13:52]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:13:52]Read from MH i2c: E2 [12:13:52]MH_I2C_Read... [12:13:52]Read from MH i2c: E2 62 00 [12:13:52]MH_I2C_Read... [12:13:52]Read from MH i2c: E2 62 00 EF 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 51 DF 00 00 0E 04 04 00 F1 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 85 [12:13:52]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 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 51 DF 00 00 0E 04 04 00 F1 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 [12:13:52]wFMCommunicate OK [12:13:52]SAM_PROTO_GetFieldsCounters done [12:13:52]requested_item shift.num is exist - process it [12:13:52]requested_item shift.opened is exist - process it [12:13:52]req_shift_opened [12:13:52]FM_GetShiftState [12:13:52]SAM_PROTO_GetShiftState [12:13:52]wFMCommunicate request_size=4 [12:13:52]MH_SAM_APDU [12:13:52]CAPDU: 80 13 01 00 [12:13:52]Write to MH i2c: E2 08 00 F0 15 80 13 01 00 00 00 00 00 82 [12:13:52]Write i2c OK [12:13:52]MH_I2C_Read... [12:13:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:13:52]Read from MH i2c: E2 [12:13:52]MH_I2C_Read... [12:13:52]Read from MH i2c: E2 0E 00 [12:13:52]MH_I2C_Read... [12:13:52]Read from MH i2c: E2 0E 00 F0 15 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 FB [12:13:52]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [12:13:52]wFMCommunicate OK [12:13:52]SAM_PROTO_GetShiftState done [12:13:52]FM_GetShiftState done [12:13:52]req_shift_opened done [12:13:52]requested_item shift.open_date is exist - process it [12:13:52]req_shift_open_date [12:13:52]req_shift_open_date done [12:13:52]requested_item shift.sale.total is exist - process it [12:13:52]SAM_PROTO_GetShiftData [12:13:52]wFMCommunicate request_size=4 [12:13:52]MH_SAM_APDU [12:13:52]CAPDU: 80 13 02 00 [12:13:52]Write to MH i2c: E2 08 00 F1 15 80 13 02 00 00 00 00 00 84 [12:13:52]Write i2c OK [12:13:52]MH_I2C_Read... [12:13:53]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [12:13:53]Read from MH i2c: E2 [12:13:53]MH_I2C_Read... [12:13:53]Read from MH i2c: E2 FD 00 [12:13:53]MH_I2C_Read... [12:13:53]Read from MH i2c: E2 FD 00 F1 15 00 B6 04 AA 04 B2 04 6E 04 04 00 40 00 00 00 69 04 9B 00 6F 04 04 00 3F 00 00 00 B1 04 03 00 8D 1E 19 70 04 03 00 78 0A 14 72 04 03 00 15 14 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 E4 AA 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 E5 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 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 9A [12:13:53]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 40 00 00 00 69 04 9B 00 6F 04 04 00 3F 00 00 00 B1 04 03 00 8D 1E 19 70 04 03 00 78 0A 14 72 04 03 00 15 14 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 E4 AA 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 E5 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 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 [12:13:53]wFMCommunicate OK [12:13:53]wFMCommunicate request_size=4 [12:13:53]MH_SAM_APDU [12:13:53]CAPDU: 80 17 00 00 [12:13:53]Write to MH i2c: E2 08 00 F2 15 80 17 00 00 00 00 00 00 87 [12:13:53]Write i2c OK [12:13:53]MH_I2C_Read... [12:13:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:13:53]Read from MH i2c: E2 [12:13:53]MH_I2C_Read... [12:13:53]Read from MH i2c: E2 FD 00 [12:13:53]MH_I2C_Read... [12:13:53]Read from MH i2c: E2 FD 00 F2 15 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 BC [12:13:53]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 [12:13:53]wFMCommunicate OK [12:13:53]wFMCommunicate request_size=4 [12:13:53]MH_SAM_APDU [12:13:53]CAPDU: 80 17 00 00 [12:13:53]Write to MH i2c: E2 08 00 F3 15 80 17 00 00 00 00 00 00 88 [12:13:53]Write i2c OK [12:13:53]MH_I2C_Read... [12:13:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:13:53]Read from MH i2c: E2 [12:13:53]MH_I2C_Read... [12:13:53]Read from MH i2c: E2 FD 00 [12:13:53]MH_I2C_Read... [12:13:54]Read from MH i2c: E2 FD 00 F3 15 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 48 [12:13:54]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 [12:13:54]wFMCommunicate OK [12:13:54]wFMCommunicate request_size=4 [12:13:54]MH_SAM_APDU [12:13:54]CAPDU: 80 17 00 00 [12:13:54]Write to MH i2c: E2 08 00 F4 15 80 17 00 00 00 00 00 00 89 [12:13:54]Write i2c OK [12:13:54]MH_I2C_Read... [12:13:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:13:54]Read from MH i2c: E2 [12:13:54]MH_I2C_Read... [12:13:54]Read from MH i2c: E2 FD 00 [12:13:54]MH_I2C_Read... [12:13:54]Read from MH i2c: E2 FD 00 F4 15 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 F8 [12:13:54]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 [12:13:54]wFMCommunicate OK [12:13:54]wFMCommunicate request_size=4 [12:13:54]MH_SAM_APDU [12:13:54]CAPDU: 80 17 00 00 [12:13:54]Write to MH i2c: E2 08 00 F5 15 80 17 00 00 00 00 00 00 8A [12:13:54]Write i2c OK [12:13:54]MH_I2C_Read... [12:13:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [12:13:54]Read from MH i2c: E2 [12:13:54]MH_I2C_Read... [12:13:54]Read from MH i2c: E2 D3 00 [12:13:54]MH_I2C_Read... [12:13:54]Read from MH i2c: E2 D3 00 F5 15 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 77 [12:13:54]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 [12:13:54]wFMCommunicate OK [12:13:54]SAM_PROTO_GetShiftData done [12:13:54]requested_item shift.sale.total_cash is exist - process it [12:13:54]requested_item shift.sale_refund.total is exist - process it [12:13:54]requested_item shift.sale_refund.total_cash is exist - process it [12:13:54]produce_requested_data done [12:13:54]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57169,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":16462.21,"shift.sale.total_cash":13134.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [12:13:54]process_action_free close_receipt [12:13:54]json_value_free [12:13:54]json_value_free done [12:13:54]process_json_proto returns [12:13:54]Send response to host [12:13:54]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57169,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":16462.21,"shift.sale.total_cash":13134.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [12:13:54]free response buf [12:13:54]execute_script done [12:13:54]execute_script returns [12:13:54]free content buf [12:13:54]Sock 8.Close socket [12:13:54]Sock 8.Thread stoped [12:13:56]OFD Sender: No OFD packet to send [12:14:01]OFD Sender: No OFD packet to send [12:14:06]OFD Sender: No OFD packet to send [12:14:11]OFD Sender: No OFD packet to send [12:14:16]OFD Sender: No OFD packet to send [12:14:21]OFD Sender: No OFD packet to send [12:14:26]OFD Sender: No OFD packet to send [12:14:31]OFD Sender: No OFD packet to send [12:14:36]OFD Sender: No OFD packet to send [12:14:41]OFD Sender: No OFD packet to send [12:14:46]OFD Sender: No OFD packet to send [12:14:51]OFD Sender: No OFD packet to send [12:14:56]OFD Sender: No OFD packet to send [12:15:01]OFD Sender: No OFD packet to send [12:15:06]OFD Sender: No OFD packet to send [12:15:11]OFD Sender: No OFD packet to send [12:15:16]OFD Sender: No OFD packet to send [12:15:21]OFD Sender: No OFD packet to send [12:15:26]OFD Sender: No OFD packet to send [12:15:31]OFD Sender: No OFD packet to send [12:15:36]OFD Sender: No OFD packet to send [12:15:41]OFD Sender: No OFD packet to send [12:15:46]OFD Sender: No OFD packet to send [12:15:51]OFD Sender: No OFD packet to send [12:15:56]OFD Sender: No OFD packet to send [12:16:01]OFD Sender: No OFD packet to send [12:16:06]OFD Sender: No OFD packet to send [12:16:11]OFD Sender: No OFD packet to send [12:16:16]OFD Sender: No OFD packet to send [12:16:21]OFD Sender: No OFD packet to send [12:16:26]OFD Sender: No OFD packet to send [12:16:31]OFD Sender: No OFD packet to send [12:16:36]OFD Sender: No OFD packet to send [12:16:41]OFD Sender: No OFD packet to send [12:16:46]OFD Sender: No OFD packet to send [12:16:51]OFD Sender: No OFD packet to send [12:16:56]OFD Sender: No OFD packet to send [12:17:01]OFD Sender: No OFD packet to send [12:17:06]OFD Sender: No OFD packet to send [12:17:11]OFD Sender: No OFD packet to send [12:17:16]OFD Sender: No OFD packet to send [12:17:21]OFD Sender: No OFD packet to send [12:17:26]OFD Sender: No OFD packet to send [12:17:31]OFD Sender: No OFD packet to send [12:17:36]OFD Sender: No OFD packet to send [12:17:41]OFD Sender: No OFD packet to send [12:17:46]OFD Sender: No OFD packet to send [12:17:51]OFD Sender: No OFD packet to send [12:17:56]OFD Sender: No OFD packet to send [12:18:01]OFD Sender: No OFD packet to send [12:18:06]OFD Sender: No OFD packet to send [12:18:11]OFD Sender: No OFD packet to send [12:18:16]OFD Sender: No OFD packet to send [12:18:21]OFD Sender: No OFD packet to send [12:18:26]OFD Sender: No OFD packet to send [12:18:31]OFD Sender: No OFD packet to send [12:18:36]OFD Sender: No OFD packet to send [12:18:41]OFD Sender: No OFD packet to send [12:18:46]OFD Sender: No OFD packet to send [12:18:51]OFD Sender: No OFD packet to send [12:18:56]OFD Sender: No OFD packet to send [12:19:01]OFD Sender: No OFD packet to send [12:19:06]OFD Sender: No OFD packet to send [12:19:11]OFD Sender: No OFD packet to send [12:19:16]OFD Sender: No OFD packet to send [12:19:21]OFD Sender: No OFD packet to send [12:19:26]OFD Sender: No OFD packet to send [12:19:31]OFD Sender: No OFD packet to send [12:19:36]OFD Sender: No OFD packet to send [12:19:41]OFD Sender: No OFD packet to send [12:19:46]OFD Sender: No OFD packet to send [12:19:52]OFD Sender: No OFD packet to send [12:19:57]OFD Sender: No OFD packet to send [12:20:02]OFD Sender: No OFD packet to send [12:20:07]OFD Sender: No OFD packet to send [12:20:12]OFD Sender: No OFD packet to send [12:20:17]OFD Sender: No OFD packet to send [12:20:22]OFD Sender: No OFD packet to send [12:20:27]OFD Sender: No OFD packet to send [12:20:32]OFD Sender: No OFD packet to send [12:20:37]OFD Sender: No OFD packet to send [12:20:42]OFD Sender: No OFD packet to send [12:20:47]OFD Sender: No OFD packet to send [12:20:52]OFD Sender: No OFD packet to send [12:20:57]OFD Sender: No OFD packet to send [12:21:02]OFD Sender: No OFD packet to send [12:21:07]OFD Sender: No OFD packet to send [12:21:12]OFD Sender: No OFD packet to send [12:21:17]OFD Sender: No OFD packet to send [12:21:22]OFD Sender: No OFD packet to send [12:21:27]OFD Sender: No OFD packet to send [12:21:32]OFD Sender: No OFD packet to send [12:21:37]OFD Sender: No OFD packet to send [12:21:42]OFD Sender: No OFD packet to send [12:21:47]OFD Sender: No OFD packet to send [12:21:52]OFD Sender: No OFD packet to send [12:21:57]OFD Sender: No OFD packet to send [12:22:02]OFD Sender: No OFD packet to send [12:22:07]OFD Sender: No OFD packet to send [12:22:12]OFD Sender: No OFD packet to send [12:22:17]OFD Sender: No OFD packet to send [12:22:22]OFD Sender: No OFD packet to send [12:22:27]OFD Sender: No OFD packet to send [12:22:32]OFD Sender: No OFD packet to send [12:22:37]OFD Sender: No OFD packet to send [12:22:42]OFD Sender: No OFD packet to send [12:22:47]OFD Sender: No OFD packet to send [12:22:52]OFD Sender: No OFD packet to send [12:22:57]OFD Sender: No OFD packet to send [12:23:02]OFD Sender: No OFD packet to send [12:23:07]OFD Sender: No OFD packet to send [12:23:12]OFD Sender: No OFD packet to send [12:23:17]OFD Sender: No OFD packet to send [12:23:22]OFD Sender: No OFD packet to send [12:23:27]OFD Sender: No OFD packet to send [12:23:32]OFD Sender: No OFD packet to send [12:23:37]OFD Sender: No OFD packet to send [12:23:42]OFD Sender: No OFD packet to send [12:23:47]OFD Sender: No OFD packet to send [12:23:52]OFD Sender: No OFD packet to send [12:23:57]OFD Sender: No OFD packet to send [12:24:02]OFD Sender: No OFD packet to send [12:24:07]OFD Sender: No OFD packet to send [12:24:12]OFD Sender: No OFD packet to send [12:24:17]OFD Sender: No OFD packet to send [12:24:22]OFD Sender: No OFD packet to send [12:24:27]OFD Sender: No OFD packet to send [12:24:32]OFD Sender: No OFD packet to send [12:24:37]OFD Sender: No OFD packet to send [12:24:42]OFD Sender: No OFD packet to send [12:24:47]OFD Sender: No OFD packet to send [12:24:52]OFD Sender: No OFD packet to send [12:24:57]OFD Sender: No OFD packet to send [12:25:02]OFD Sender: No OFD packet to send [12:25:07]OFD Sender: No OFD packet to send [12:25:12]OFD Sender: No OFD packet to send [12:25:17]OFD Sender: No OFD packet to send [12:25:22]OFD Sender: No OFD packet to send [12:25:27]OFD Sender: No OFD packet to send [12:25:32]OFD Sender: No OFD packet to send [12:25:37]OFD Sender: No OFD packet to send [12:25:42]OFD Sender: No OFD packet to send [12:25:47]OFD Sender: No OFD packet to send [12:25:52]OFD Sender: No OFD packet to send [12:25:57]OFD Sender: No OFD packet to send [12:26:02]OFD Sender: No OFD packet to send [12:26:07]OFD Sender: No OFD packet to send [12:26:12]OFD Sender: No OFD packet to send [12:26:17]OFD Sender: No OFD packet to send [12:26:22]OFD Sender: No OFD packet to send [12:26:27]OFD Sender: No OFD packet to send [12:26:32]OFD Sender: No OFD packet to send [12:26:37]OFD Sender: No OFD packet to send [12:26:42]OFD Sender: No OFD packet to send [12:26:47]OFD Sender: No OFD packet to send [12:26:52]OFD Sender: No OFD packet to send [12:26:57]OFD Sender: No OFD packet to send [12:27:02]OFD Sender: No OFD packet to send [12:27:07]OFD Sender: No OFD packet to send [12:27:12]OFD Sender: No OFD packet to send [12:27:17]OFD Sender: No OFD packet to send [12:27:22]OFD Sender: No OFD packet to send [12:27:27]OFD Sender: No OFD packet to send [12:27:32]OFD Sender: No OFD packet to send [12:27:37]OFD Sender: No OFD packet to send [12:27:42]OFD Sender: No OFD packet to send [12:27:47]OFD Sender: No OFD packet to send [12:27:52]OFD Sender: No OFD packet to send [12:27:57]OFD Sender: No OFD packet to send [12:28:02]OFD Sender: No OFD packet to send [12:28:07]OFD Sender: No OFD packet to send [12:28:12]OFD Sender: No OFD packet to send [12:28:17]OFD Sender: No OFD packet to send [12:28:22]OFD Sender: No OFD packet to send [12:28:27]OFD Sender: No OFD packet to send [12:28:32]OFD Sender: No OFD packet to send [12:28:37]OFD Sender: No OFD packet to send [12:28:42]OFD Sender: No OFD packet to send [12:28:47]OFD Sender: No OFD packet to send [12:28:52]OFD Sender: No OFD packet to send [12:28: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:29:59]accept exits with 9 [12:29:59]New connection [12:29:59]New thread 3066924388 created [12:29:59]Thread 3067067748 joined [12:29:59]Waiting for new connection... [12:29:59] Sock 9.Parse request [12:29:59]Sock 9.Check first char [12:29:59]Sock 9.First char is OK [12:29:59]request: POST /json_proto HTTP/1.0 [12:29:59]Method: POST [12:29:59]URL: /json_proto [12:29:59]Method is POST - this is cgi request [12:29:59]url: /json_proto [12:29:59]query_string will be loaded in cgi processing [12:29:59]execute_cgi json_proto POST (null) [12:29:59]execute_cgi path=json_proto method=POST [12:29:59]POST find Content-Length [12:29:59]Host: 172.17.39.4:8080 [12:29:59]Content-Length: 762 [12:29:59]Content-Type: application/json [12:29:59] [12:29:59]POST finish read [12:29:59]Found Content-Length = 762 [12:29:59]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129624", "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 }]} ], "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" ] } } [12:29:59]execute_script... [12:29: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)129624", "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 }]} ], "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" ] } } [12:29:59]POST & json_proto [12:29:59]process_json_proto [12:29:59]json parsed OK: [12:29:59]protocol is kg_v1.0 [12:29:59]action value=close_receipt [12:29:59]process_action close_receipt [12:29:59]cmd_close_receipt [12:29:59]MH_GetDate [12:29:59]Write to MH i2c: F0 00 00 F6 15 FA [12:29:59]Write i2c OK [12:29:59]MH_I2C_Read... [12:29:59]Read from MH i2c: F0 [12:29:59]MH_I2C_Read... [12:29:59]Read from MH i2c: F0 09 00 [12:29:59]MH_I2C_Read... [12:29:59]Read from MH i2c: F0 09 00 F6 15 00 4B 16 95 66 2D 25 5D 64 72 [12:29:59]GetLastDocTimeStamp 1721045632 [12:29:59]current date 1721046603 [12:29:59]FM_GetShiftState [12:29:59]SAM_PROTO_GetShiftState [12:29:59]wFMCommunicate request_size=4 [12:29:59]MH_SAM_APDU [12:29:59]CAPDU: 80 13 01 00 [12:29:59]Write to MH i2c: E2 08 00 F7 15 80 13 01 00 00 00 00 00 89 [12:29:59]Write i2c OK [12:29:59]MH_I2C_Read... [12:29:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:29:59]Read from MH i2c: E2 [12:29:59]MH_I2C_Read... [12:29:59]Read from MH i2c: E2 0E 00 [12:29:59]MH_I2C_Read... [12:29:59]Read from MH i2c: E2 0E 00 F7 15 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 02 [12:29:59]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [12:29:59]wFMCommunicate OK [12:29:59]SAM_PROTO_GetShiftState done [12:29:59]FM_GetShiftState done [12:29:59]opened in 1721003525 [12:29:59]opened+sec_in_day 1721089925 [12:29:59]quantity*price = 20500 [12:29:59]sum+1 = 20501 [12:29:59]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 СНО: Общий режим Чек 65 15.07.2024 12:30 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57170 ФПД: 180807665578103 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T123003&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57170&fm=180807665578103&tin=02508201610067®Number=0000000000091208&sum=20500 0 [12:30:00]StoreToDocumentArchive [12:30:00]shift 497 fd 57170 [12:30:00]save to /storage/0497/doc_00057170 [12:30:00]save last doc name /storage/0497/doc_00057170 to /storage/kkm_last_doc_name [12:30:00]save OK [12:30:00]Clear old archive folders... [12:30:00]ProcessDocumentItem done err = 0, tmpTLVsize=278 [12:30:00]tlvbuf is 009D3B50 [12:30:00]SAM_PROTO_ClearQueue [12:30:00]wFMCommunicate request_size=4 [12:30:00]MH_SAM_APDU [12:30:00]CAPDU: 80 09 00 00 [12:30:00]Write to MH i2c: E2 08 00 04 16 80 09 00 00 00 00 00 00 8C [12:30:00]Write i2c OK [12:30:00]MH_I2C_Read... [12:30:00]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:30:00]Read from MH i2c: E2 [12:30:00]MH_I2C_Read... [12:30:00]Read from MH i2c: E2 03 00 [12:30:00]MH_I2C_Read... [12:30:00]Read from MH i2c: E2 03 00 04 16 00 90 00 8E [12:30:00]RAPDU: 90 00 [12:30:00]wFMCommunicate OK [12:30:00]SAM_PROTO_ClearQueue done [12:30:00]KKMCreateOFDPacket [12:30:00]OFDProtocolAddRootSTLVToBuf [12:30:00]FM_MakeSignedData [12:30:00]FM_MakeSignedData [12:30:00]SAM_PROTO_SignData [12:30:00]wFMCommunicate request_size=4 [12:30:00]MH_SAM_APDU [12:30:00]CAPDU: 80 0D 01 02 [12:30:00]Write to MH i2c: E2 08 00 05 16 80 0D 01 02 00 00 00 00 94 [12:30:00]Write i2c OK [12:30:00]MH_I2C_Read... [12:30:00]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:30:00]Read from MH i2c: E2 [12:30:00]MH_I2C_Read... [12:30:00]Read from MH i2c: E2 03 00 [12:30:00]MH_I2C_Read... [12:30:00]Read from MH i2c: E2 03 00 05 16 00 90 00 8F [12:30:00]RAPDU: 90 00 [12:30:00]wFMCommunicate OK [12:30:00]wFMCommunicate request_size=255 [12:30:00]MH_SAM_APDU [12:30:00]CAPDU: 80 0D 02 02 FA 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 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 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 41 00 00 00 F4 03 04 00 4B 16 95 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 [12:30:00]Write to MH i2c: E2 02 01 06 16 80 0D 02 02 FA 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 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 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 41 00 00 00 F4 03 04 00 4B 16 95 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 00 00 E2 [12:30:00]Write i2c OK [12:30:00]MH_I2C_Read... [12:30:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:30:00]Read from MH i2c: E2 [12:30:00]MH_I2C_Read... [12:30:00]Read from MH i2c: E2 03 00 [12:30:00]MH_I2C_Read... [12:30:00]Read from MH i2c: E2 03 00 06 16 00 90 00 90 [12:30:00]RAPDU: 90 00 [12:30:00]wFMCommunicate OK [12:30:00]wFMCommunicate request_size=37 [12:30:00]MH_SAM_APDU [12:30:00]CAPDU: 80 0D 02 02 20 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 52 DF 00 00 35 04 06 00 A4 71 90 AD F0 77 [12:30:00]Write to MH i2c: E2 28 00 07 16 80 0D 02 02 20 00 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 52 DF 00 00 35 04 06 00 A4 71 90 AD F0 77 00 00 DF [12:30:00]Write i2c OK [12:30:00]MH_I2C_Read... [12:30:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:30:01]Read from MH i2c: E2 [12:30:01]MH_I2C_Read... [12:30:01]Read from MH i2c: E2 03 00 [12:30:01]MH_I2C_Read... [12:30:01]Read from MH i2c: E2 03 00 07 16 00 90 00 91 [12:30:01]RAPDU: 90 00 [12:30:01]wFMCommunicate OK [12:30:01]wFMCommunicate request_size=4 [12:30:01]MH_SAM_APDU [12:30:01]CAPDU: 80 0D 03 02 [12:30:01]Write to MH i2c: E2 08 00 08 16 80 0D 03 02 00 00 00 00 99 [12:30:01]Write i2c OK [12:30:01]MH_I2C_Read... [12:30:01]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:30:01]Read from MH i2c: E2 [12:30:01]MH_I2C_Read... [12:30:01]Read from MH i2c: E2 0B 00 [12:30:01]MH_I2C_Read... [12:30:01]Read from MH i2c: E2 0B 00 08 16 00 4C 41 35 3B EC AC 5A 88 90 00 11 [12:30:01]RAPDU: 4C 41 35 3B EC AC 5A 88 90 00 [12:30:01]wFMCommunicate OK [12:30:01]SAM_PROTO_SignData done [12:30:01]FM_MakeSignedData done [12:30:01]CreateOFDProtocolMessage [12:30:01]wFMCommunicate request_size=4 [12:30:01]MH_SAM_APDU [12:30:01]CAPDU: 80 11 00 00 [12:30:01]Write to MH i2c: E2 08 00 09 16 80 11 00 00 00 00 00 00 99 [12:30:01]Write i2c OK [12:30:01]MH_I2C_Read... [12:30:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:30:01]Read from MH i2c: E2 [12:30:01]MH_I2C_Read... [12:30:01]Read from MH i2c: E2 17 00 [12:30:01]MH_I2C_Read... [12:30:01]Read from MH i2c: E2 17 00 09 16 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 F3 [12:30:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [12:30:01]wFMCommunicate OK [12:30:01]CreateOFDProtocolMessage done [12:30:01]OFDSenderStorePacket 57170 [12:30:01]StoreOFDPacket docnum=57170 [12:30: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 2A 01 00 00 CF 3C 22 01 64 9D 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 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 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 41 00 00 00 F4 03 04 00 4B 16 95 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 52 DF 00 00 35 04 06 00 A4 71 90 AD F0 77 4C 41 35 3B EC AC 5A 88 [12:30:01]CheckFolder [12:30:01]dirname=/storage/ofd_packets [12:30:01]CheckFolder done [12:30:01]ProducePacketName [12:30:01]name=ofd_packets/00057170 [12:30:01]NVStorageSaveData ofd_packets/00057170 [12:30:01]File name is /storage/ofd_packets/00057170 [12:30:01]Write 328 bytes [12:30:01]NVStorageSaveData done [12:30:01]OFDSenderStorePacket done [12:30:01]KKMCreateOFDPacket done [12:30:01]NVStorageSaveData kkm_last_timestamp [12:30:01]File name is /storage/kkm_last_timestamp [12:30:01]Write 4 bytes [12:30:01]NVStorageSaveData done [12:30:01]ExternCall_PrintAddStr [12:30:01]wPrintStart [12:30:01]Write to MH i2c: 01 00 00 0A 16 20 [12:30:01]Write i2c OK [12:30:01]MH_I2C_Read... [12:30:01]Read from MH i2c: 01 [12:30:01]MH_I2C_Read... [12:30:01]Read from MH i2c: 01 07 00 [12:30:01]MH_I2C_Read... [12:30:01]Read from MH i2c: 01 07 00 0A 16 00 00 00 00 00 FF 0F 35 [12:30:01]RasterBufferAndPrint [12:30:01]line Счет N : (3)129624 [12:30:01]line ИНН: 02508201610067 [12:30:01]line Контрольно-Кассовый Чек [12:30:01]line ПРОДАЖА [12:30:01]line Товар: 5449000000286 [12:30:01]line Напиток Кока-Кола 2л [12:30:01]line 1.000 * 205.00 [12:30:01]line = 205.00 [12:30:01]line НДС 12% НСП 1% [12:30:01]line > о реализуемом товаре [12:30:01]line ИТОГО: 205.00 [12:30:01]line НСП 1% : 1.81 [12:30:01]line НДС 12% : 21.77 [12:30:01]line Наличными: 205.00 [12:30:01]line Безнал.: 0.00 [12:30:01]line Место: АЗС № 132 "Партнер Нефть" [12:30:01]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [12:30:01]line СНО: Общий режим [12:30:01]line Чек 65 15.07.2024 12:30 [12:30:01]line Смена: 497 ФФД: 1.0 [12:30:01]line ЗНМ: 0300000132 [12:30:01]line РНМ: 0000000000091208 [12:30:01]line Версия ККМ: 001 [12:30:01]line ФМ: 0000000000874857 [12:30:01]line ФД: 57170 [12:30:01]line ФПД: 180807665578103 [12:30:01]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T123003&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57170&fm=180807665578103&tin=02508201610067®Number=0000000000091208&sum=20500 [12:30:01]line 0 [12:30:01]OFD Sender: Processing packet 57170 [packets to send 38, broken 37] [12:30:01]ProducePacketName [12:30:01]name=ofd_packets/00057170 [12:30:01]OFD Sender: To server: pG, [12:30:01]CommunicateWithHost lk.salyk.kg:30040 [12:30:01]ConnectInit lk.salyk.kg [12:30:01]written 0, free lines is 4095 [12:30:01]Connected sock=10 [12:30: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 2A 01 00 00 CF 3C 22 01 64 9D 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 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 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 41 00 00 00 F4 03 04 00 4B 16 95 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 52 DF 00 00 35 04 06 00 A4 71 90 AD F0 77 4C 41 35 3B EC AC 5A 88 [12:30: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 8C CA 47 00 71 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 52 DF 00 00 F4 03 04 00 99 BC 94 66 B6 04 01 00 00 FB 0C 72 68 9D 3B 3A 65 [12:30:01]CommunicateWithHost err = 0 [12:30:01]CheckOFDResponse [12:30:01]1017 (14) - 77093643461234 [12:30:01]1041 (16) - 0000000000874857 [12:30:01]1040 (4) - 57170 [12:30:01]1012 (4) - 15.07.2024 06:07 [12:30:01]1206 (1) - 0 [12:30:01]OFD Sender: Remove packet 57170 [12:30:01]ProducePacketName [12:30:01]name=ofd_packets/00057170 [12:30:01]NVStorageDeleteData [12:30:01]Write to MH i2c: 01 00 00 32 16 48 [12:30:01]Write i2c OK [12:30:01]MH_I2C_Read... [12:30:01]Read from MH i2c: 01 [12:30:01]MH_I2C_Read... [12:30:01]Read from MH i2c: 01 07 00 [12:30:01]MH_I2C_Read... [12:30:01]Read from MH i2c: 01 07 00 32 16 00 00 00 00 00 02 0D 5E [12:30:01]RasterBufferAndPrint [12:30:01]line [12:30:01]line [12:30:01]line [12:30:01]line [12:30:01]line [12:30:01]written 0, free lines is 3337 [12:30:01]MH_Cut [12:30:01]Write to MH i2c: D1 01 00 39 16 01 21 [12:30:01]Write i2c OK [12:30:01]MH_I2C_Read... [12:30:01]Read from MH i2c: D1 [12:30:01]MH_I2C_Read... [12:30:01]Read from MH i2c: D1 01 00 [12:30:01]MH_I2C_Read... [12:30:01]Read from MH i2c: D1 01 00 39 16 00 20 [12:30:01]Write to MH i2c: 01 00 00 3A 16 50 [12:30:01]Write i2c OK [12:30:01]MH_I2C_Read... [12:30:02]OFD Sender: No OFD packet to send [12:30:02]*** Cut start [12:30:02]*** Partial cut [12:30:02]*** CUTSNS_PIN = 1 [12:30:02]*** CUTSNS_PIN = 0 [12:30:02]*** Brake cut motor [12:30:03]Read from MH i2c: 01 [12:30:03]MH_I2C_Read... [12:30:03]*** Stop cut motor [12:30:03]*** Cut end [12:30:03]Read from MH i2c: 01 07 00 [12:30:03]MH_I2C_Read... [12:30:03]Read from MH i2c: 01 07 00 3A 16 00 00 00 00 00 FF 0F 65 [12:30:03]process_action close_receipt done [12:30:03]requested_data is exist [12:30:03]produce_requested_data [12:30:03]requested_item fm.sn is exist - process it [12:30:03]wFMCommunicate request_size=4 [12:30:03]MH_SAM_APDU [12:30:03]CAPDU: 80 11 00 00 [12:30:03]Write to MH i2c: E2 08 00 3B 16 80 11 00 00 00 00 00 00 CB [12:30:03]Write i2c OK [12:30:03]MH_I2C_Read... [12:30:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:30:03]Read from MH i2c: E2 [12:30:03]MH_I2C_Read... [12:30:03]Read from MH i2c: E2 17 00 [12:30:03]MH_I2C_Read... [12:30:03]Read from MH i2c: E2 17 00 3B 16 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 25 [12:30:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [12:30:03]wFMCommunicate OK [12:30:03]requested_item fd.num is exist - process it [12:30:03]SAM_PROTO_GetFieldsCounters [12:30:03]wFMCommunicate request_size=4 [12:30:03]MH_SAM_APDU [12:30:03]CAPDU: 80 13 00 00 [12:30:03]Write to MH i2c: E2 08 00 3C 16 80 13 00 00 00 00 00 00 CE [12:30:03]Write i2c OK [12:30:03]MH_I2C_Read... [12:30:03]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:30:03]Read from MH i2c: E2 [12:30:03]MH_I2C_Read... [12:30:03]Read from MH i2c: E2 62 00 [12:30:03]MH_I2C_Read... [12:30:03]Read from MH i2c: E2 62 00 3C 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 52 DF 00 00 0E 04 04 00 F1 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 D7 [12:30: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 52 DF 00 00 0E 04 04 00 F1 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:30:03]wFMCommunicate OK [12:30:03]SAM_PROTO_GetFieldsCounters done [12:30:03]requested_item shift.num is exist - process it [12:30:03]requested_item shift.opened is exist - process it [12:30:03]req_shift_opened [12:30:03]FM_GetShiftState [12:30:03]SAM_PROTO_GetShiftState [12:30:03]wFMCommunicate request_size=4 [12:30:03]MH_SAM_APDU [12:30:03]CAPDU: 80 13 01 00 [12:30:03]Write to MH i2c: E2 08 00 3D 16 80 13 01 00 00 00 00 00 D0 [12:30:03]Write i2c OK [12:30:03]MH_I2C_Read... [12:30:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:30:03]Read from MH i2c: E2 [12:30:03]MH_I2C_Read... [12:30:03]Read from MH i2c: E2 0E 00 [12:30:03]MH_I2C_Read... [12:30:03]Read from MH i2c: E2 0E 00 3D 16 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 49 [12:30:03]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [12:30:03]wFMCommunicate OK [12:30:03]SAM_PROTO_GetShiftState done [12:30:03]FM_GetShiftState done [12:30:03]req_shift_opened done [12:30:03]requested_item shift.open_date is exist - process it [12:30:03]req_shift_open_date [12:30:03]req_shift_open_date done [12:30:03]requested_item shift.sale.total is exist - process it [12:30:03]SAM_PROTO_GetShiftData [12:30:03]wFMCommunicate request_size=4 [12:30:03]MH_SAM_APDU [12:30:03]CAPDU: 80 13 02 00 [12:30:03]Write to MH i2c: E2 08 00 3E 16 80 13 02 00 00 00 00 00 D2 [12:30:03]Write i2c OK [12:30:03]MH_I2C_Read... [12:30:03]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [12:30:03]Read from MH i2c: E2 [12:30:03]MH_I2C_Read... [12:30:03]Read from MH i2c: E2 FD 00 [12:30:03]MH_I2C_Read... [12:30:03]Read from MH i2c: E2 FD 00 3E 16 00 B6 04 AA 04 B2 04 6E 04 04 00 41 00 00 00 69 04 9B 00 6F 04 04 00 40 00 00 00 B1 04 03 00 A1 6E 19 70 04 03 00 8C 5A 14 72 04 03 00 15 14 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 65 B3 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 9A 39 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 F2 [12:30:03]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 41 00 00 00 69 04 9B 00 6F 04 04 00 40 00 00 00 B1 04 03 00 A1 6E 19 70 04 03 00 8C 5A 14 72 04 03 00 15 14 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 65 B3 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 9A 39 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 [12:30:03]wFMCommunicate OK [12:30:03]wFMCommunicate request_size=4 [12:30:03]MH_SAM_APDU [12:30:03]CAPDU: 80 17 00 00 [12:30:03]Write to MH i2c: E2 08 00 3F 16 80 17 00 00 00 00 00 00 D5 [12:30:03]Write i2c OK [12:30:03]MH_I2C_Read... [12:30:04]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:30:04]Read from MH i2c: E2 [12:30:04]MH_I2C_Read... [12:30:04]Read from MH i2c: E2 FD 00 [12:30:04]MH_I2C_Read... [12:30:04]Read from MH i2c: E2 FD 00 3F 16 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 0A [12:30:04]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 [12:30:04]wFMCommunicate OK [12:30:04]wFMCommunicate request_size=4 [12:30:04]MH_SAM_APDU [12:30:04]CAPDU: 80 17 00 00 [12:30:04]Write to MH i2c: E2 08 00 40 16 80 17 00 00 00 00 00 00 D6 [12:30:04]Write i2c OK [12:30:04]MH_I2C_Read... [12:30:04]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:30:04]Read from MH i2c: E2 [12:30:04]MH_I2C_Read... [12:30:04]Read from MH i2c: E2 FD 00 [12:30:04]MH_I2C_Read... [12:30:04]Read from MH i2c: E2 FD 00 40 16 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 96 [12:30:04]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 [12:30:04]wFMCommunicate OK [12:30:04]wFMCommunicate request_size=4 [12:30:04]MH_SAM_APDU [12:30:04]CAPDU: 80 17 00 00 [12:30:04]Write to MH i2c: E2 08 00 41 16 80 17 00 00 00 00 00 00 D7 [12:30:04]Write i2c OK [12:30:04]MH_I2C_Read... [12:30:04]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:30:04]Read from MH i2c: E2 [12:30:04]MH_I2C_Read... [12:30:04]Read from MH i2c: E2 FD 00 [12:30:04]MH_I2C_Read... [12:30:04]Read from MH i2c: E2 FD 00 41 16 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 46 [12:30:04]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 [12:30:04]wFMCommunicate OK [12:30:04]wFMCommunicate request_size=4 [12:30:04]MH_SAM_APDU [12:30:04]CAPDU: 80 17 00 00 [12:30:04]Write to MH i2c: E2 08 00 42 16 80 17 00 00 00 00 00 00 D8 [12:30:04]Write i2c OK [12:30:04]MH_I2C_Read... [12:30:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [12:30:05]Read from MH i2c: E2 [12:30:05]MH_I2C_Read... [12:30:05]Read from MH i2c: E2 D3 00 [12:30:05]MH_I2C_Read... [12:30:05]Read from MH i2c: E2 D3 00 42 16 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 C5 [12:30:05]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 [12:30:05]wFMCommunicate OK [12:30:05]SAM_PROTO_GetShiftData done [12:30:05]requested_item shift.sale.total_cash is exist - process it [12:30:05]requested_item shift.sale_refund.total is exist - process it [12:30:05]requested_item shift.sale_refund.total_cash is exist - process it [12:30:05]produce_requested_data done [12:30:05]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57170,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":16667.21,"shift.sale.total_cash":13339.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [12:30:05]process_action_free close_receipt [12:30:05]json_value_free [12:30:05]json_value_free done [12:30:05]process_json_proto returns [12:30:05]Send response to host [12:30:05]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57170,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":16667.21,"shift.sale.total_cash":13339.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [12:30:05]free response buf [12:30:05]execute_script done [12:30:05]execute_script returns [12:30:05]free content buf [12:30:05]Sock 9.Close socket [12:30:05]Sock 9.Thread stoped [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:12]OFD Sender: No OFD packet to send [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:08]accept exits with 8 [12:34:08]New connection [12:34:08]New thread 3067067748 created [12:34:08]Thread 3066924388 joined [12:34:08]Waiting for new connection... [12:34:08] Sock 8.Parse request [12:34:08]Sock 8.Check first char [12:34:08]Sock 8.First char is OK [12:34:08]request: POST /json_proto HTTP/1.0 [12:34:08]Method: POST [12:34:08]URL: /json_proto [12:34:08]Method is POST - this is cgi request [12:34:08]url: /json_proto [12:34:08]query_string will be loaded in cgi processing [12:34:08]execute_cgi json_proto POST (null) [12:34:08]execute_cgi path=json_proto method=POST [12:34:08]POST find Content-Length [12:34:08]Host: 172.17.39.4:8080 [12:34:08]Content-Length: 1054 [12:34:08]Content-Type: application/json [12:34:08] [12:34:08]POST finish read [12:34:08]Found Content-Length = 1054 [12:34:08]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129625", "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 }]} ,{ "code": "2000036230011", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 237.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:34:08]execute_script... [12:34: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)129625", "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 }]} ,{ "code": "2000036230011", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 237.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:34:08]POST & json_proto [12:34:08]process_json_proto [12:34:08]json parsed OK: [12:34:08]protocol is kg_v1.0 [12:34:08]action value=close_receipt [12:34:08]process_action close_receipt [12:34:08]cmd_close_receipt [12:34:08]MH_GetDate [12:34:08]Write to MH i2c: F0 00 00 43 16 48 [12:34:08]Write i2c OK [12:34:08]MH_I2C_Read... [12:34:08]Read from MH i2c: F0 [12:34:08]MH_I2C_Read... [12:34:08]Read from MH i2c: F0 09 00 [12:34:08]MH_I2C_Read... [12:34:08]Read from MH i2c: F0 09 00 43 16 00 44 17 95 66 2D 25 5D 64 BA [12:34:08]GetLastDocTimeStamp 1721046603 [12:34:08]current date 1721046852 [12:34:08]FM_GetShiftState [12:34:08]SAM_PROTO_GetShiftState [12:34:08]wFMCommunicate request_size=4 [12:34:08]MH_SAM_APDU [12:34:08]CAPDU: 80 13 01 00 [12:34:08]Write to MH i2c: E2 08 00 44 16 80 13 01 00 00 00 00 00 D7 [12:34:08]Write i2c OK [12:34:08]MH_I2C_Read... [12:34:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:34:08]Read from MH i2c: E2 [12:34:08]MH_I2C_Read... [12:34:08]Read from MH i2c: E2 0E 00 [12:34:08]MH_I2C_Read... [12:34:08]Read from MH i2c: E2 0E 00 44 16 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 50 [12:34:08]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [12:34:08]wFMCommunicate OK [12:34:08]SAM_PROTO_GetShiftState done [12:34:08]FM_GetShiftState done [12:34:08]opened in 1721003525 [12:34:08]opened+sec_in_day 1721089925 [12:34:08]quantity*price = 10700 [12:34:08]sum+1 = 10701 [12:34:08]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 2000036230011 Кофе Латте XL(GABB TRADE) 1.000 * 130.00 = 130.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 237.00 НСП 1% : 2.10 НДС 12% : 25.16 Наличными: 237.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 66 15.07.2024 12:34 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57171 ФПД: 254272882501609 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T123412&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57171&fm=254272882501609&tin=02508201610067®Number=0000000000091208&sum=23700 0 [12:34:09]StoreToDocumentArchive [12:34:09]shift 497 fd 57171 [12:34:09]save to /storage/0497/doc_00057171 [12:34:09]save last doc name /storage/0497/doc_00057171 to /storage/kkm_last_doc_name [12:34:09]save OK [12:34:09]Clear old archive folders... [12:34:09]ProcessDocumentItem done err = 0, tmpTLVsize=404 [12:34:09]tlvbuf is 00973A60 [12:34:09]SAM_PROTO_ClearQueue [12:34:09]wFMCommunicate request_size=4 [12:34:09]MH_SAM_APDU [12:34:09]CAPDU: 80 09 00 00 [12:34:09]Write to MH i2c: E2 08 00 51 16 80 09 00 00 00 00 00 00 D9 [12:34:09]Write i2c OK [12:34:09]MH_I2C_Read... [12:34:09]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:34:09]Read from MH i2c: E2 [12:34:09]MH_I2C_Read... [12:34:09]Read from MH i2c: E2 03 00 [12:34:09]MH_I2C_Read... [12:34:09]Read from MH i2c: E2 03 00 51 16 00 90 00 DB [12:34:09]RAPDU: 90 00 [12:34:09]wFMCommunicate OK [12:34:09]SAM_PROTO_ClearQueue done [12:34:09]KKMCreateOFDPacket [12:34:09]OFDProtocolAddRootSTLVToBuf [12:34:09]FM_MakeSignedData [12:34:09]FM_MakeSignedData [12:34:09]SAM_PROTO_SignData [12:34:09]wFMCommunicate request_size=4 [12:34:09]MH_SAM_APDU [12:34:09]CAPDU: 80 0D 01 02 [12:34:09]Write to MH i2c: E2 08 00 52 16 80 0D 01 02 00 00 00 00 E1 [12:34:09]Write i2c OK [12:34:09]MH_I2C_Read... [12:34:09]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:34:09]Read from MH i2c: E2 [12:34:09]MH_I2C_Read... [12:34:09]Read from MH i2c: E2 03 00 [12:34:09]MH_I2C_Read... [12:34:09]Read from MH i2c: E2 03 00 52 16 00 90 00 DC [12:34:09]RAPDU: 90 00 [12:34:09]wFMCommunicate OK [12:34:09]wFMCommunicate request_size=255 [12:34:09]MH_SAM_APDU [12:34:09]CAPDU: 80 0D 02 02 FA 03 00 94 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 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 5C 00 [12:34:09]Write to MH i2c: E2 02 01 53 16 80 0D 02 02 FA 00 03 00 94 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 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 5C 00 00 00 28 [12:34:09]Write i2c OK [12:34:09]MH_I2C_Read... [12:34:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:34:10]Read from MH i2c: E2 [12:34:10]MH_I2C_Read... [12:34:10]Read from MH i2c: E2 03 00 [12:34:10]MH_I2C_Read... [12:34:10]Read from MH i2c: E2 03 00 53 16 00 90 00 DD [12:34:10]RAPDU: 90 00 [12:34:10]wFMCommunicate OK [12:34:10]wFMCommunicate request_size=163 [12:34:10]MH_SAM_APDU [12:34:10]CAPDU: 80 0D 02 02 9E 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D2 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D4 09 00 00 00 00 07 04 06 00 94 5C 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 44 17 95 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 53 DF 00 00 35 04 06 00 E7 42 84 D6 67 E9 [12:34:10]Write to MH i2c: E2 A6 00 54 16 80 0D 02 02 9E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D2 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D4 09 00 00 00 00 07 04 06 00 94 5C 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 44 17 95 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 53 DF 00 00 35 04 06 00 E7 42 84 D6 67 E9 00 00 8D [12:34:10]Write i2c OK [12:34:10]MH_I2C_Read... [12:34:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:34:10]Read from MH i2c: E2 [12:34:10]MH_I2C_Read... [12:34:10]Read from MH i2c: E2 03 00 [12:34:10]MH_I2C_Read... [12:34:10]Read from MH i2c: E2 03 00 54 16 00 90 00 DE [12:34:10]RAPDU: 90 00 [12:34:10]wFMCommunicate OK [12:34:10]wFMCommunicate request_size=4 [12:34:10]MH_SAM_APDU [12:34:10]CAPDU: 80 0D 03 02 [12:34:10]Write to MH i2c: E2 08 00 55 16 80 0D 03 02 00 00 00 00 E6 [12:34:10]Write i2c OK [12:34:10]MH_I2C_Read... [12:34:10]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:34:10]Read from MH i2c: E2 [12:34:10]MH_I2C_Read... [12:34:10]Read from MH i2c: E2 0B 00 [12:34:10]MH_I2C_Read... [12:34:10]Read from MH i2c: E2 0B 00 55 16 00 D8 5A C1 03 EC 36 FF 46 90 00 44 [12:34:10]RAPDU: D8 5A C1 03 EC 36 FF 46 90 00 [12:34:10]wFMCommunicate OK [12:34:10]SAM_PROTO_SignData done [12:34:10]FM_MakeSignedData done [12:34:10]CreateOFDProtocolMessage [12:34:10]wFMCommunicate request_size=4 [12:34:10]MH_SAM_APDU [12:34:10]CAPDU: 80 11 00 00 [12:34:10]Write to MH i2c: E2 08 00 56 16 80 11 00 00 00 00 00 00 E6 [12:34:10]Write i2c OK [12:34:10]MH_I2C_Read... [12:34:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:34:10]Read from MH i2c: E2 [12:34:10]MH_I2C_Read... [12:34:10]Read from MH i2c: E2 17 00 [12:34:10]MH_I2C_Read... [12:34:10]Read from MH i2c: E2 17 00 56 16 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 40 [12:34:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [12:34:10]wFMCommunicate OK [12:34:10]CreateOFDProtocolMessage done [12:34:10]OFDSenderStorePacket 57171 [12:34:10]StoreOFDPacket docnum=57171 [12:34: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 A8 01 00 00 4D 03 A0 01 53 42 5A 03 01 00 03 00 94 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 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 5C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D2 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D4 09 00 00 00 00 07 04 06 00 94 5C 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 44 17 95 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 53 DF 00 00 35 04 06 00 E7 42 84 D6 67 E9 D8 5A C1 03 EC 36 FF 46 [12:34:10]CheckFolder [12:34:10]dirname=/storage/ofd_packets [12:34:10]CheckFolder done [12:34:10]ProducePacketName [12:34:10]name=ofd_packets/00057171 [12:34:10]NVStorageSaveData ofd_packets/00057171 [12:34:10]File name is /storage/ofd_packets/00057171 [12:34:10]Write 454 bytes [12:34:10]NVStorageSaveData done [12:34:10]OFDSenderStorePacket done [12:34:10]KKMCreateOFDPacket done [12:34:10]NVStorageSaveData kkm_last_timestamp [12:34:10]File name is /storage/kkm_last_timestamp [12:34:10]Write 4 bytes [12:34:10]NVStorageSaveData done [12:34:10]ExternCall_PrintAddStr [12:34:10]wPrintStart [12:34:10]Write to MH i2c: 01 00 00 57 16 6D [12:34:10]OFD Sender: Processing packet 57171 [packets to send 38, broken 37] [12:34:10]ProducePacketName [12:34:10]name=ofd_packets/00057171 [12:34:10]OFD Sender: To server: pG, [12:34:10]CommunicateWithHost lk.salyk.kg:30040 [12:34:10]ConnectInit lk.salyk.kg [12:34:10]Write i2c OK [12:34:10]MH_I2C_Read... [12:34:10]Read from MH i2c: 01 [12:34:10]MH_I2C_Read... [12:34:10]Read from MH i2c: 01 07 00 [12:34:10]MH_I2C_Read... [12:34:10]Read from MH i2c: 01 07 00 57 16 00 00 00 00 00 FF 0F 82 [12:34:10]RasterBufferAndPrint [12:34:10]line Счет N : (3)129625 [12:34:10]line ИНН: 02508201610067 [12:34:10]line Контрольно-Кассовый Чек [12:34:10]line ПРОДАЖА [12:34:10]line Товар: 5449000189356 [12:34:10]line Холодный чай Fuse манго ананас 1л [12:34:10]line 1.000 * 107.00 [12:34:10]line = 107.00 [12:34:10]line НДС 12% НСП 1% [12:34:10]line > о реализуемом товаре [12:34:10]line Товар: 2000036230011 [12:34:10]line Кофе Латте XL(GABB TRADE) [12:34:10]line 1.000 * 130.00 [12:34:10]line = 130.00 [12:34:10]line НДС 12% НСП 1% [12:34:10]line > о реализуемом товаре [12:34:10]line ИТОГО: 237.00 [12:34:10]line НСП 1% : 2.10 [12:34:10]line НДС 12% : 25.16 [12:34:10]line Наличными: 237.00 [12:34:10]line Безнал.: 0.00 [12:34:10]line Место: АЗС № 132 "Партнер Нефть" [12:34:10]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [12:34:10]line СНО: Общий режим [12:34:10]line Чек 66 15.07.2024 12:34 [12:34:10]line Смена: 497 ФФД: 1.0 [12:34:10]line ЗНМ: 0300000132 [12:34:10]line РНМ: 0000000000091208 [12:34:10]line Версия ККМ: 001 [12:34:10]line ФМ: 0000000000874857 [12:34:10]line ФД: 57171 [12:34:10]line ФПД: 254272882501609 [12:34:10]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T123412&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57171&fm=254272882501609&tin=02508201610067®Number=0000000000091208&sum=23700 [12:34:10]line 0 [12:34:10]written 0, free lines is 4095 [12:34:10]Connected sock=10 [12:34: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 A8 01 00 00 4D 03 A0 01 53 42 5A 03 01 00 03 00 94 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 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 5C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D2 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D4 09 00 00 00 00 07 04 06 00 94 5C 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 44 17 95 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 53 DF 00 00 35 04 06 00 E7 42 84 D6 67 E9 D8 5A C1 03 EC 36 FF 46 [12:34: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 E7 1F 47 00 9B 28 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 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 53 DF 00 00 F4 03 04 00 92 BD 94 66 B6 04 01 00 00 24 78 6C 4D C6 4A 4D F6 [12:34:11]CommunicateWithHost err = 0 [12:34:11]CheckOFDResponse [12:34:11]1017 (14) - 77093643461234 [12:34:11]1041 (16) - 0000000000874857 [12:34:11]1040 (4) - 57171 [12:34:11]1012 (4) - 15.07.2024 06:11 [12:34:11]1206 (1) - 0 [12:34:11]OFD Sender: Remove packet 57171 [12:34:11]ProducePacketName [12:34:11]name=ofd_packets/00057171 [12:34:11]NVStorageDeleteData [12:34:11]Write to MH i2c: 01 00 00 86 16 9C [12:34:11]Write i2c OK [12:34:11]MH_I2C_Read... [12:34:11]Read from MH i2c: 01 [12:34:11]MH_I2C_Read... [12:34:11]Read from MH i2c: 01 07 00 [12:34:11]MH_I2C_Read... [12:34:11]Read from MH i2c: 01 07 00 86 16 00 00 00 00 00 94 0C 43 [12:34:11]RasterBufferAndPrint [12:34:11]line [12:34:11]line [12:34:11]line [12:34:11]line [12:34:11]line [12:34:11]written 0, free lines is 3227 [12:34:11]MH_Cut [12:34:11]Write to MH i2c: D1 01 00 8D 16 01 75 [12:34:11]Write i2c OK [12:34:11]MH_I2C_Read... [12:34:11]Read from MH i2c: D1 [12:34:11]MH_I2C_Read... [12:34:11]Read from MH i2c: D1 01 00 [12:34:11]MH_I2C_Read... [12:34:11]Read from MH i2c: D1 01 00 8D 16 00 74 [12:34:11]Write to MH i2c: 01 00 00 8E 16 A4 [12:34:11]Write i2c OK [12:34:11]MH_I2C_Read... [12:34:11]OFD Sender: No OFD packet to send [12:34:12]*** Cut start [12:34:12]*** Partial cut [12:34:12]*** CUTSNS_PIN = 1 [12:34:12]*** CUTSNS_PIN = 0 [12:34:12]*** Brake cut motor [12:34:12]Read from MH i2c: 01 [12:34:12]MH_I2C_Read... [12:34:12]*** Stop cut motor [12:34:12]*** Cut end [12:34:12]Read from MH i2c: 01 07 00 [12:34:12]MH_I2C_Read... [12:34:12]Read from MH i2c: 01 07 00 8E 16 00 00 00 00 00 FF 0F B9 [12:34:12]process_action close_receipt done [12:34:12]requested_data is exist [12:34:12]produce_requested_data [12:34:12]requested_item fm.sn is exist - process it [12:34:12]wFMCommunicate request_size=4 [12:34:12]MH_SAM_APDU [12:34:12]CAPDU: 80 11 00 00 [12:34:12]Write to MH i2c: E2 08 00 8F 16 80 11 00 00 00 00 00 00 1F [12:34:12]Write i2c OK [12:34:12]MH_I2C_Read... [12:34:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:34:12]Read from MH i2c: E2 [12:34:12]MH_I2C_Read... [12:34:12]Read from MH i2c: E2 17 00 [12:34:12]MH_I2C_Read... [12:34:12]Read from MH i2c: E2 17 00 8F 16 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 79 [12:34:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [12:34:12]wFMCommunicate OK [12:34:12]requested_item fd.num is exist - process it [12:34:12]SAM_PROTO_GetFieldsCounters [12:34:12]wFMCommunicate request_size=4 [12:34:12]MH_SAM_APDU [12:34:12]CAPDU: 80 13 00 00 [12:34:12]Write to MH i2c: E2 08 00 90 16 80 13 00 00 00 00 00 00 22 [12:34:12]Write i2c OK [12:34:12]MH_I2C_Read... [12:34:12]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:34:12]Read from MH i2c: E2 [12:34:12]MH_I2C_Read... [12:34:12]Read from MH i2c: E2 62 00 [12:34:12]MH_I2C_Read... [12:34:12]Read from MH i2c: E2 62 00 90 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 53 DF 00 00 0E 04 04 00 F1 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 2F [12:34: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 53 DF 00 00 0E 04 04 00 F1 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:34:12]wFMCommunicate OK [12:34:12]SAM_PROTO_GetFieldsCounters done [12:34:12]requested_item shift.num is exist - process it [12:34:12]requested_item shift.opened is exist - process it [12:34:12]req_shift_opened [12:34:12]FM_GetShiftState [12:34:12]SAM_PROTO_GetShiftState [12:34:12]wFMCommunicate request_size=4 [12:34:12]MH_SAM_APDU [12:34:12]CAPDU: 80 13 01 00 [12:34:12]Write to MH i2c: E2 08 00 91 16 80 13 01 00 00 00 00 00 24 [12:34:12]Write i2c OK [12:34:12]MH_I2C_Read... [12:34:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:34:13]Read from MH i2c: E2 [12:34:13]MH_I2C_Read... [12:34:13]Read from MH i2c: E2 0E 00 [12:34:13]MH_I2C_Read... [12:34:13]Read from MH i2c: E2 0E 00 91 16 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 9D [12:34:13]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [12:34:13]wFMCommunicate OK [12:34:13]SAM_PROTO_GetShiftState done [12:34:13]FM_GetShiftState done [12:34:13]req_shift_opened done [12:34:13]requested_item shift.open_date is exist - process it [12:34:13]req_shift_open_date [12:34:13]req_shift_open_date done [12:34:13]requested_item shift.sale.total is exist - process it [12:34:13]SAM_PROTO_GetShiftData [12:34:13]wFMCommunicate request_size=4 [12:34:13]MH_SAM_APDU [12:34:13]CAPDU: 80 13 02 00 [12:34:13]Write to MH i2c: E2 08 00 92 16 80 13 02 00 00 00 00 00 26 [12:34:13]Write i2c OK [12:34:13]MH_I2C_Read... [12:34:13]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [12:34:13]Read from MH i2c: E2 [12:34:13]MH_I2C_Read... [12:34:13]Read from MH i2c: E2 FD 00 [12:34:13]MH_I2C_Read... [12:34:13]Read from MH i2c: E2 FD 00 92 16 00 B6 04 AA 04 B2 04 6E 04 04 00 42 00 00 00 69 04 9B 00 6F 04 04 00 41 00 00 00 B1 04 03 00 35 CB 19 70 04 03 00 20 B7 14 72 04 03 00 15 14 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 39 BD 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 6C 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 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 DB [12:34:13]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 42 00 00 00 69 04 9B 00 6F 04 04 00 41 00 00 00 B1 04 03 00 35 CB 19 70 04 03 00 20 B7 14 72 04 03 00 15 14 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 39 BD 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 6C 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 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 [12:34:13]wFMCommunicate OK [12:34:13]wFMCommunicate request_size=4 [12:34:13]MH_SAM_APDU [12:34:13]CAPDU: 80 17 00 00 [12:34:13]Write to MH i2c: E2 08 00 93 16 80 17 00 00 00 00 00 00 29 [12:34:13]Write i2c OK [12:34:13]MH_I2C_Read... [12:34:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:34:13]Read from MH i2c: E2 [12:34:13]MH_I2C_Read... [12:34:13]Read from MH i2c: E2 FD 00 [12:34:13]MH_I2C_Read... [12:34:13]Read from MH i2c: E2 FD 00 93 16 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 5E [12:34:13]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 [12:34:13]wFMCommunicate OK [12:34:13]wFMCommunicate request_size=4 [12:34:13]MH_SAM_APDU [12:34:13]CAPDU: 80 17 00 00 [12:34:13]Write to MH i2c: E2 08 00 94 16 80 17 00 00 00 00 00 00 2A [12:34:13]Write i2c OK [12:34:13]MH_I2C_Read... [12:34:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:34:14]Read from MH i2c: E2 [12:34:14]MH_I2C_Read... [12:34:14]Read from MH i2c: E2 FD 00 [12:34:14]MH_I2C_Read... [12:34:14]Read from MH i2c: E2 FD 00 94 16 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 EA [12:34:14]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 [12:34:14]wFMCommunicate OK [12:34:14]wFMCommunicate request_size=4 [12:34:14]MH_SAM_APDU [12:34:14]CAPDU: 80 17 00 00 [12:34:14]Write to MH i2c: E2 08 00 95 16 80 17 00 00 00 00 00 00 2B [12:34:14]Write i2c OK [12:34:14]MH_I2C_Read... [12:34:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:34:14]Read from MH i2c: E2 [12:34:14]MH_I2C_Read... [12:34:14]Read from MH i2c: E2 FD 00 [12:34:14]MH_I2C_Read... [12:34:14]Read from MH i2c: E2 FD 00 95 16 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 9A [12:34:14]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 [12:34:14]wFMCommunicate OK [12:34:14]wFMCommunicate request_size=4 [12:34:14]MH_SAM_APDU [12:34:14]CAPDU: 80 17 00 00 [12:34:14]Write to MH i2c: E2 08 00 96 16 80 17 00 00 00 00 00 00 2C [12:34:14]Write i2c OK [12:34:14]MH_I2C_Read... [12:34:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [12:34:14]Read from MH i2c: E2 [12:34:14]MH_I2C_Read... [12:34:14]Read from MH i2c: E2 D3 00 [12:34:14]MH_I2C_Read... [12:34:14]Read from MH i2c: E2 D3 00 96 16 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 19 [12:34:14]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 [12:34:14]wFMCommunicate OK [12:34:14]SAM_PROTO_GetShiftData done [12:34:14]requested_item shift.sale.total_cash is exist - process it [12:34:14]requested_item shift.sale_refund.total is exist - process it [12:34:14]requested_item shift.sale_refund.total_cash is exist - process it [12:34:14]produce_requested_data done [12:34:14]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57171,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":16904.21,"shift.sale.total_cash":13576.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [12:34:14]process_action_free close_receipt [12:34:14]json_value_free [12:34:14]json_value_free done [12:34:14]process_json_proto returns [12:34:14]Send response to host [12:34:14]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57171,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":16904.21,"shift.sale.total_cash":13576.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [12:34:14]free response buf [12:34:14]execute_script done [12:34:14]execute_script returns [12:34:14]free content buf [12:34:14]Sock 8.Close socket [12:34:14]Sock 8.Thread stoped [12:34:16]OFD Sender: No OFD packet to send [12:34:21]OFD Sender: No OFD packet to send [12:34:26]OFD Sender: No OFD packet to send [12:34:31]OFD Sender: No OFD packet to send [12:34:36]OFD Sender: No OFD packet to send [12:34:41]OFD Sender: No OFD packet to send [12:34:46]OFD Sender: No OFD packet to send [12:34:51]OFD Sender: No OFD packet to send [12:34:56]OFD Sender: No OFD packet to send [12:35:01]OFD Sender: No OFD packet to send [12:35:06]OFD Sender: No OFD packet to send [12:35:11]OFD Sender: No OFD packet to send [12:35:16]OFD Sender: No OFD packet to send [12:35:21]OFD Sender: No OFD packet to send [12:35:26]OFD Sender: No OFD packet to send [12:35:31]OFD Sender: No OFD packet to send [12:35:36]OFD Sender: No OFD packet to send [12:35:41]OFD Sender: No OFD packet to send [12:35:46]OFD Sender: No OFD packet to send [12:35:51]OFD Sender: No OFD packet to send [12:35:56]OFD Sender: No OFD packet to send [12:36:01]OFD Sender: No OFD packet to send [12:36:06]OFD Sender: No OFD packet to send [12:36:11]OFD Sender: No OFD packet to send [12:36:16]OFD Sender: No OFD packet to send [12:36:21]OFD Sender: No OFD packet to send [12:36:26]OFD Sender: No OFD packet to send [12:36:31]OFD Sender: No OFD packet to send [12:36:36]OFD Sender: No OFD packet to send [12:36:41]OFD Sender: No OFD packet to send [12:36:46]OFD Sender: No OFD packet to send [12:36:51]OFD Sender: No OFD packet to send [12:36:56]OFD Sender: No OFD packet to send [12:37:01]OFD Sender: No OFD packet to send [12:37:04]accept exits with 9 [12:37:04]New connection [12:37:04]New thread 3066924388 created [12:37:04]Thread 3067067748 joined [12:37:04]Waiting for new connection... [12:37:04] Sock 9.Parse request [12:37:04]Sock 9.Check first char [12:37:04]Sock 9.First char is OK [12:37:04]request: POST /json_proto HTTP/1.0 [12:37:04]Method: POST [12:37:04]URL: /json_proto [12:37:04]Method is POST - this is cgi request [12:37:04]url: /json_proto [12:37:04]query_string will be loaded in cgi processing [12:37:04]execute_cgi json_proto POST (null) [12:37:04]execute_cgi path=json_proto method=POST [12:37:04]POST find Content-Length [12:37:04]Host: 172.17.39.4:8080 [12:37:04]Content-Length: 718 [12:37:04]Content-Type: application/json [12:37:04] [12:37:04]POST finish read [12:37:04]Found Content-Length = 718 [12:37:04]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129626", "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 }]} ], "payments": [ { "type": 0, "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" ] } } [12:37:04]execute_script... [12:37: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)129626", "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 }]} ], "payments": [ { "type": 0, "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" ] } } [12:37:04]POST & json_proto [12:37:04]process_json_proto [12:37:04]json parsed OK: [12:37:04]protocol is kg_v1.0 [12:37:04]action value=close_receipt [12:37:04]process_action close_receipt [12:37:04]cmd_close_receipt [12:37:04]MH_GetDate [12:37:04]Write to MH i2c: F0 00 00 97 16 9C [12:37:04]Write i2c OK [12:37:04]MH_I2C_Read... [12:37:04]Read from MH i2c: F0 [12:37:04]MH_I2C_Read... [12:37:04]Read from MH i2c: F0 09 00 [12:37:04]MH_I2C_Read... [12:37:04]Read from MH i2c: F0 09 00 97 16 00 F4 17 95 66 2D 25 5D 64 BE [12:37:04]GetLastDocTimeStamp 1721046852 [12:37:04]current date 1721047028 [12:37:04]FM_GetShiftState [12:37:04]SAM_PROTO_GetShiftState [12:37:04]wFMCommunicate request_size=4 [12:37:04]MH_SAM_APDU [12:37:04]CAPDU: 80 13 01 00 [12:37:04]Write to MH i2c: E2 08 00 98 16 80 13 01 00 00 00 00 00 2B [12:37:04]Write i2c OK [12:37:04]MH_I2C_Read... [12:37:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:37:04]Read from MH i2c: E2 [12:37:04]MH_I2C_Read... [12:37:04]Read from MH i2c: E2 0E 00 [12:37:04]MH_I2C_Read... [12:37:04]Read from MH i2c: E2 0E 00 98 16 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 A4 [12:37:04]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [12:37:04]wFMCommunicate OK [12:37:04]SAM_PROTO_GetShiftState done [12:37:04]FM_GetShiftState done [12:37:04]opened in 1721003525 [12:37:04]opened+sec_in_day 1721089925 [12:37:04]quantity*price = 11100 [12:37:04]sum+1 = 11101 [12:37:04]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 111.00 НСП 1% : 0.98 НДС 12% : 11.79 Наличными: 111.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 67 15.07.2024 12:37 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57172 ФПД: 177911183186635 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T123708&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57172&fm=177911183186635&tin=02508201610067®Number=0000000000091208&sum=11100 0 [12:37:05]StoreToDocumentArchive [12:37:05]shift 497 fd 57172 [12:37:05]save to /storage/0497/doc_00057172 [12:37:05]save last doc name /storage/0497/doc_00057172 to /storage/kkm_last_doc_name [12:37:05]save OK [12:37:05]Clear old archive folders... [12:37:05]ProcessDocumentItem done err = 0, tmpTLVsize=266 [12:37:05]tlvbuf is 009E5EE0 [12:37:05]SAM_PROTO_ClearQueue [12:37:05]wFMCommunicate request_size=4 [12:37:05]MH_SAM_APDU [12:37:05]CAPDU: 80 09 00 00 [12:37:05]Write to MH i2c: E2 08 00 A5 16 80 09 00 00 00 00 00 00 2D [12:37:05]Write i2c OK [12:37:05]MH_I2C_Read... [12:37:05]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:37:05]Read from MH i2c: E2 [12:37:05]MH_I2C_Read... [12:37:05]Read from MH i2c: E2 03 00 [12:37:05]MH_I2C_Read... [12:37:05]Read from MH i2c: E2 03 00 A5 16 00 90 00 2F [12:37:05]RAPDU: 90 00 [12:37:05]wFMCommunicate OK [12:37:05]SAM_PROTO_ClearQueue done [12:37:05]KKMCreateOFDPacket [12:37:05]OFDProtocolAddRootSTLVToBuf [12:37:05]FM_MakeSignedData [12:37:05]FM_MakeSignedData [12:37:05]SAM_PROTO_SignData [12:37:05]wFMCommunicate request_size=4 [12:37:05]MH_SAM_APDU [12:37:05]CAPDU: 80 0D 01 02 [12:37:05]Write to MH i2c: E2 08 00 A6 16 80 0D 01 02 00 00 00 00 35 [12:37:05]Write i2c OK [12:37:05]MH_I2C_Read... [12:37:05]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:37:05]Read from MH i2c: E2 [12:37:05]MH_I2C_Read... [12:37:05]Read from MH i2c: E2 03 00 [12:37:05]MH_I2C_Read... [12:37:05]Read from MH i2c: E2 03 00 A6 16 00 90 00 30 [12:37:05]RAPDU: 90 00 [12:37:05]wFMCommunicate OK [12:37:05]wFMCommunicate request_size=255 [12:37:05]MH_SAM_APDU [12:37:05]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 5C 2B 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 F4 17 95 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 [12:37:05]Write to MH i2c: E2 02 01 A7 16 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 5C 2B 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 F4 17 95 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 85 [12:37:05]Write i2c OK [12:37:05]MH_I2C_Read... [12:37:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:37:05]Read from MH i2c: E2 [12:37:05]MH_I2C_Read... [12:37:05]Read from MH i2c: E2 03 00 [12:37:05]MH_I2C_Read... [12:37:05]Read from MH i2c: E2 03 00 A7 16 00 90 00 31 [12:37:05]RAPDU: 90 00 [12:37:05]wFMCommunicate OK [12:37:05]wFMCommunicate request_size=25 [12:37:05]MH_SAM_APDU [12:37:05]CAPDU: 80 0D 02 02 14 35 37 10 04 04 00 54 DF 00 00 35 04 06 00 A1 CF 2C E0 1A CB [12:37:05]Write to MH i2c: E2 1C 00 A8 16 80 0D 02 02 14 00 35 37 10 04 04 00 54 DF 00 00 35 04 06 00 A1 CF 2C E0 1A CB 00 00 B7 [12:37:05]Write i2c OK [12:37:05]MH_I2C_Read... [12:37:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:37:06]Read from MH i2c: E2 [12:37:06]MH_I2C_Read... [12:37:06]Read from MH i2c: E2 03 00 [12:37:06]MH_I2C_Read... [12:37:06]Read from MH i2c: E2 03 00 A8 16 00 90 00 32 [12:37:06]RAPDU: 90 00 [12:37:06]wFMCommunicate OK [12:37:06]wFMCommunicate request_size=4 [12:37:06]MH_SAM_APDU [12:37:06]CAPDU: 80 0D 03 02 [12:37:06]Write to MH i2c: E2 08 00 A9 16 80 0D 03 02 00 00 00 00 3A [12:37:06]Write i2c OK [12:37:06]MH_I2C_Read... [12:37:06]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:37:06]Read from MH i2c: E2 [12:37:06]MH_I2C_Read... [12:37:06]Read from MH i2c: E2 0B 00 [12:37:06]MH_I2C_Read... [12:37:06]Read from MH i2c: E2 0B 00 A9 16 00 45 D3 59 57 1F 2F 4B F9 90 00 95 [12:37:06]RAPDU: 45 D3 59 57 1F 2F 4B F9 90 00 [12:37:06]wFMCommunicate OK [12:37:06]SAM_PROTO_SignData done [12:37:06]FM_MakeSignedData done [12:37:06]CreateOFDProtocolMessage [12:37:06]wFMCommunicate request_size=4 [12:37:06]MH_SAM_APDU [12:37:06]CAPDU: 80 11 00 00 [12:37:06]Write to MH i2c: E2 08 00 AA 16 80 11 00 00 00 00 00 00 3A [12:37:06]Write i2c OK [12:37:06]MH_I2C_Read... [12:37:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:37:06]Read from MH i2c: E2 [12:37:06]MH_I2C_Read... [12:37:06]Read from MH i2c: E2 17 00 [12:37:06]MH_I2C_Read... [12:37:06]Read from MH i2c: E2 17 00 AA 16 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 94 [12:37: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:37:06]wFMCommunicate OK [12:37:06]CreateOFDProtocolMessage done [12:37:06]OFDSenderStorePacket 57172 [12:37:06]StoreOFDPacket docnum=57172 [12:37: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 1E 01 00 00 10 BB 16 01 6E BC 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 5C 2B 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 F4 17 95 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 54 DF 00 00 35 04 06 00 A1 CF 2C E0 1A CB 45 D3 59 57 1F 2F 4B F9 [12:37:06]CheckFolder [12:37:06]dirname=/storage/ofd_packets [12:37:06]CheckFolder done [12:37:06]ProducePacketName [12:37:06]name=ofd_packets/00057172 [12:37:06]NVStorageSaveData ofd_packets/00057172 [12:37:06]File name is /storage/ofd_packets/00057172 [12:37:06]Write 316 bytes [12:37:06]NVStorageSaveData done [12:37:06]OFDSenderStorePacket done [12:37:06]KKMCreateOFDPacket done [12:37:06]NVStorageSaveData kkm_last_timestamp [12:37:06]File name is /storage/kkm_last_timestamp [12:37:06]Write 4 bytes [12:37:06]NVStorageSaveData done [12:37:06]ExternCall_PrintAddStr [12:37:06]wPrintStart [12:37:06]Write to MH i2c: 01 00 00 AB 16 C1 [12:37:06]Write i2c OK [12:37:06]MH_I2C_Read... [12:37:06]Read from MH i2c: 01 [12:37:06]MH_I2C_Read... [12:37:06]Read from MH i2c: 01 07 00 [12:37:06]MH_I2C_Read... [12:37:06]Read from MH i2c: 01 07 00 AB 16 00 00 00 00 00 FF 0F D6 [12:37:06]RasterBufferAndPrint [12:37:06]line Счет N : (3)129626 [12:37:06]line ИНН: 02508201610067 [12:37:06]line Контрольно-Кассовый Чек [12:37:06]line ПРОДАЖА [12:37:06]line Товар: 4870001570071 [12:37:06]line Напиток Pepsi 1л [12:37:06]line 1.000 * 111.00 [12:37:06]line = 111.00 [12:37:06]line НДС 12% НСП 1% [12:37:06]line > о реализуемом товаре [12:37:06]line ИТОГО: 111.00 [12:37:06]line НСП 1% : 0.98 [12:37:06]line НДС 12% : 11.79 [12:37:06]line Наличными: 111.00 [12:37:06]line Безнал.: 0.00 [12:37:06]line Место: АЗС № 132 "Партнер Нефть" [12:37:06]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [12:37:06]line СНО: Общий режим [12:37:06]line Чек 67 15.07.2024 12:37 [12:37:06]line Смена: 497 ФФД: 1.0 [12:37:06]line ЗНМ: 0300000132 [12:37:06]line РНМ: 0000000000091208 [12:37:06]line Версия ККМ: 001 [12:37:06]line ФМ: 0000000000874857 [12:37:06]line ФД: 57172 [12:37:06]line ФПД: 177911183186635 [12:37:06]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T123708&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57172&fm=177911183186635&tin=02508201610067®Number=0000000000091208&sum=11100 [12:37:06]OFD Sender: Processing packet 57172 [packets to send 38, broken 37] [12:37:06]ProducePacketName [12:37:06]name=ofd_packets/00057172 [12:37:06]OFD Sender: To server: pG, [12:37:06]CommunicateWithHost lk.salyk.kg:30040 [12:37:06]ConnectInit lk.salyk.kg [12:37:06]line 0 [12:37:06]written 0, free lines is 4095 [12:37:06]Connected sock=10 [12:37: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 1E 01 00 00 10 BB 16 01 6E BC 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 5C 2B 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 F4 17 95 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 54 DF 00 00 35 04 06 00 A1 CF 2C E0 1A CB 45 D3 59 57 1F 2F 4B F9 [12:37: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 CF E3 47 00 EB 10 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 54 DF 00 00 F4 03 04 00 42 BE 94 66 B6 04 01 00 00 AE D5 6C 89 0B 1A BB 2B [12:37:06]CommunicateWithHost err = 0 [12:37:06]CheckOFDResponse [12:37:06]1017 (14) - 77093643461234 [12:37:06]1041 (16) - 0000000000874857 [12:37:06]1040 (4) - 57172 [12:37:06]1012 (4) - 15.07.2024 06:14 [12:37:06]1206 (1) - 0 [12:37:06]OFD Sender: Remove packet 57172 [12:37:06]ProducePacketName [12:37:06]name=ofd_packets/00057172 [12:37:06]NVStorageDeleteData [12:37:06]Write to MH i2c: 01 00 00 D3 16 E9 [12:37:06]Write i2c OK [12:37:06]MH_I2C_Read... [12:37:06]Read from MH i2c: 01 [12:37:06]MH_I2C_Read... [12:37:06]Read from MH i2c: 01 07 00 [12:37:06]MH_I2C_Read... [12:37:06]Read from MH i2c: 01 07 00 D3 16 00 00 00 00 00 0E 0D 0B [12:37:06]RasterBufferAndPrint [12:37:06]line [12:37:06]line [12:37:06]line [12:37:06]line [12:37:06]line [12:37:06]written 0, free lines is 3348 [12:37:06]MH_Cut [12:37:06]Write to MH i2c: D1 01 00 DA 16 01 C2 [12:37:06]Write i2c OK [12:37:06]MH_I2C_Read... [12:37:06]Read from MH i2c: D1 [12:37:06]MH_I2C_Read... [12:37:06]Read from MH i2c: D1 01 00 [12:37:06]MH_I2C_Read... [12:37:06]Read from MH i2c: D1 01 00 DA 16 00 C1 [12:37:06]Write to MH i2c: 01 00 00 DB 16 F1 [12:37:06]Write i2c OK [12:37:06]MH_I2C_Read... [12:37:07]OFD Sender: No OFD packet to send [12:37:07]*** Cut start [12:37:07]*** Partial cut [12:37:07]*** CUTSNS_PIN = 1 [12:37:07]*** CUTSNS_PIN = 0 [12:37:07]*** Brake cut motor [12:37:08]Read from MH i2c: 01 [12:37:08]MH_I2C_Read... [12:37:08]*** Stop cut motor [12:37:08]*** Cut end [12:37:08]Read from MH i2c: 01 07 00 [12:37:08]MH_I2C_Read... [12:37:08]Read from MH i2c: 01 07 00 DB 16 00 00 00 00 00 FF 0F 06 [12:37:08]process_action close_receipt done [12:37:08]requested_data is exist [12:37:08]produce_requested_data [12:37:08]requested_item fm.sn is exist - process it [12:37:08]wFMCommunicate request_size=4 [12:37:08]MH_SAM_APDU [12:37:08]CAPDU: 80 11 00 00 [12:37:08]Write to MH i2c: E2 08 00 DC 16 80 11 00 00 00 00 00 00 6C [12:37:08]Write i2c OK [12:37:08]MH_I2C_Read... [12:37:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:37:08]Read from MH i2c: E2 [12:37:08]MH_I2C_Read... [12:37:08]Read from MH i2c: E2 17 00 [12:37:08]MH_I2C_Read... [12:37:08]Read from MH i2c: E2 17 00 DC 16 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 C6 [12:37: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:37:08]wFMCommunicate OK [12:37:08]requested_item fd.num is exist - process it [12:37:08]SAM_PROTO_GetFieldsCounters [12:37:08]wFMCommunicate request_size=4 [12:37:08]MH_SAM_APDU [12:37:08]CAPDU: 80 13 00 00 [12:37:08]Write to MH i2c: E2 08 00 DD 16 80 13 00 00 00 00 00 00 6F [12:37:08]Write i2c OK [12:37:08]MH_I2C_Read... [12:37:08]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:37:08]Read from MH i2c: E2 [12:37:08]MH_I2C_Read... [12:37:08]Read from MH i2c: E2 62 00 [12:37:08]MH_I2C_Read... [12:37:08]Read from MH i2c: E2 62 00 DD 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 54 DF 00 00 0E 04 04 00 F1 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 80 [12:37: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 54 DF 00 00 0E 04 04 00 F1 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:37:08]wFMCommunicate OK [12:37:08]SAM_PROTO_GetFieldsCounters done [12:37:08]requested_item shift.num is exist - process it [12:37:08]requested_item shift.opened is exist - process it [12:37:08]req_shift_opened [12:37:08]FM_GetShiftState [12:37:08]SAM_PROTO_GetShiftState [12:37:08]wFMCommunicate request_size=4 [12:37:08]MH_SAM_APDU [12:37:08]CAPDU: 80 13 01 00 [12:37:08]Write to MH i2c: E2 08 00 DE 16 80 13 01 00 00 00 00 00 71 [12:37:08]Write i2c OK [12:37:08]MH_I2C_Read... [12:37:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:37:08]Read from MH i2c: E2 [12:37:08]MH_I2C_Read... [12:37:08]Read from MH i2c: E2 0E 00 [12:37:08]MH_I2C_Read... [12:37:08]Read from MH i2c: E2 0E 00 DE 16 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 EA [12:37:08]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [12:37:08]wFMCommunicate OK [12:37:08]SAM_PROTO_GetShiftState done [12:37:08]FM_GetShiftState done [12:37:08]req_shift_opened done [12:37:08]requested_item shift.open_date is exist - process it [12:37:08]req_shift_open_date [12:37:08]req_shift_open_date done [12:37:08]requested_item shift.sale.total is exist - process it [12:37:08]SAM_PROTO_GetShiftData [12:37:08]wFMCommunicate request_size=4 [12:37:08]MH_SAM_APDU [12:37:08]CAPDU: 80 13 02 00 [12:37:08]Write to MH i2c: E2 08 00 DF 16 80 13 02 00 00 00 00 00 73 [12:37:08]Write i2c OK [12:37:08]MH_I2C_Read... [12:37:08]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [12:37:08]Read from MH i2c: E2 [12:37:08]MH_I2C_Read... [12:37:08]Read from MH i2c: E2 FD 00 [12:37:08]MH_I2C_Read... [12:37:08]Read from MH i2c: E2 FD 00 DF 16 00 B6 04 AA 04 B2 04 6E 04 04 00 43 00 00 00 69 04 9B 00 6F 04 04 00 42 00 00 00 B1 04 03 00 91 F6 19 70 04 03 00 7C E2 14 72 04 03 00 15 14 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 D4 C1 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 CE 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 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 39 [12:37:08]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 43 00 00 00 69 04 9B 00 6F 04 04 00 42 00 00 00 B1 04 03 00 91 F6 19 70 04 03 00 7C E2 14 72 04 03 00 15 14 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 D4 C1 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 CE 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 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 [12:37:08]wFMCommunicate OK [12:37:08]wFMCommunicate request_size=4 [12:37:08]MH_SAM_APDU [12:37:08]CAPDU: 80 17 00 00 [12:37:08]Write to MH i2c: E2 08 00 E0 16 80 17 00 00 00 00 00 00 76 [12:37:08]Write i2c OK [12:37:08]MH_I2C_Read... [12:37:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:37:09]Read from MH i2c: E2 [12:37:09]MH_I2C_Read... [12:37:09]Read from MH i2c: E2 FD 00 [12:37:09]MH_I2C_Read... [12:37:09]Read from MH i2c: E2 FD 00 E0 16 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 AB [12:37:09]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 [12:37:09]wFMCommunicate OK [12:37:09]wFMCommunicate request_size=4 [12:37:09]MH_SAM_APDU [12:37:09]CAPDU: 80 17 00 00 [12:37:09]Write to MH i2c: E2 08 00 E1 16 80 17 00 00 00 00 00 00 77 [12:37:09]Write i2c OK [12:37:09]MH_I2C_Read... [12:37:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:37:09]Read from MH i2c: E2 [12:37:09]MH_I2C_Read... [12:37:09]Read from MH i2c: E2 FD 00 [12:37:09]MH_I2C_Read... [12:37:09]Read from MH i2c: E2 FD 00 E1 16 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 37 [12:37:09]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 [12:37:09]wFMCommunicate OK [12:37:09]wFMCommunicate request_size=4 [12:37:09]MH_SAM_APDU [12:37:09]CAPDU: 80 17 00 00 [12:37:09]Write to MH i2c: E2 08 00 E2 16 80 17 00 00 00 00 00 00 78 [12:37:09]Write i2c OK [12:37:09]MH_I2C_Read... [12:37:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:37:09]Read from MH i2c: E2 [12:37:09]MH_I2C_Read... [12:37:09]Read from MH i2c: E2 FD 00 [12:37:09]MH_I2C_Read... [12:37:09]Read from MH i2c: E2 FD 00 E2 16 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 E7 [12:37:09]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 [12:37:09]wFMCommunicate OK [12:37:09]wFMCommunicate request_size=4 [12:37:09]MH_SAM_APDU [12:37:09]CAPDU: 80 17 00 00 [12:37:09]Write to MH i2c: E2 08 00 E3 16 80 17 00 00 00 00 00 00 79 [12:37:09]Write i2c OK [12:37:09]MH_I2C_Read... [12:37:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [12:37:10]Read from MH i2c: E2 [12:37:10]MH_I2C_Read... [12:37:10]Read from MH i2c: E2 D3 00 [12:37:10]MH_I2C_Read... [12:37:10]Read from MH i2c: E2 D3 00 E3 16 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 66 [12:37:10]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 [12:37:10]wFMCommunicate OK [12:37:10]SAM_PROTO_GetShiftData done [12:37:10]requested_item shift.sale.total_cash is exist - process it [12:37:10]requested_item shift.sale_refund.total is exist - process it [12:37:10]requested_item shift.sale_refund.total_cash is exist - process it [12:37:10]produce_requested_data done [12:37:10]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57172,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":17015.21,"shift.sale.total_cash":13687.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [12:37:10]process_action_free close_receipt [12:37:10]json_value_free [12:37:10]json_value_free done [12:37:10]process_json_proto returns [12:37:10]Send response to host [12:37:10]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57172,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":17015.21,"shift.sale.total_cash":13687.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [12:37:10]free response buf [12:37:10]execute_script done [12:37:10]execute_script returns [12:37:10]free content buf [12:37:10]Sock 9.Close socket [12:37:10]Sock 9.Thread stoped [12:37:12]OFD Sender: No OFD packet to send [12:37:17]OFD Sender: No OFD packet to send [12:37:20]accept exits with 8 [12:37:20]New connection [12:37:20]New thread 3067067748 created [12:37:20]Thread 3066924388 joined [12:37:20]Waiting for new connection... [12:37:20] Sock 8.Parse request [12:37:20]Sock 8.Check first char [12:37:20]Sock 8.First char is OK [12:37:20]request: POST /json_proto HTTP/1.0 [12:37:20]Method: POST [12:37:20]URL: /json_proto [12:37:20]Method is POST - this is cgi request [12:37:20]url: /json_proto [12:37:20]query_string will be loaded in cgi processing [12:37:20]execute_cgi json_proto POST (null) [12:37:20]execute_cgi path=json_proto method=POST [12:37:20]POST find Content-Length [12:37:20]Host: 172.17.39.4:8080 [12:37:20]Content-Length: 762 [12:37:20]Content-Type: application/json [12:37:20] [12:37:20]POST finish read [12:37:20]Found Content-Length = 762 [12:37:20]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129627", "tax_sys" : 0, "items" : [ { "code": "5449000054227", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\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" ] } } [12:37:20]execute_script... [12:37: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)129627", "tax_sys" : 0, "items" : [ { "code": "5449000054227", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\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" ] } } [12:37:20]POST & json_proto [12:37:20]process_json_proto [12:37:20]json parsed OK: [12:37:20]protocol is kg_v1.0 [12:37:20]action value=close_receipt [12:37:20]process_action close_receipt [12:37:20]cmd_close_receipt [12:37:20]MH_GetDate [12:37:20]Write to MH i2c: F0 00 00 E4 16 E9 [12:37:20]Write i2c OK [12:37:20]MH_I2C_Read... [12:37:20]Read from MH i2c: F0 [12:37:20]MH_I2C_Read... [12:37:20]Read from MH i2c: F0 09 00 [12:37:20]MH_I2C_Read... [12:37:20]Read from MH i2c: F0 09 00 E4 16 00 04 18 95 66 2D 25 5D 64 1C [12:37:20]GetLastDocTimeStamp 1721047028 [12:37:20]current date 1721047044 [12:37:20]FM_GetShiftState [12:37:20]SAM_PROTO_GetShiftState [12:37:20]wFMCommunicate request_size=4 [12:37:20]MH_SAM_APDU [12:37:20]CAPDU: 80 13 01 00 [12:37:20]Write to MH i2c: E2 08 00 E5 16 80 13 01 00 00 00 00 00 78 [12:37:20]Write i2c OK [12:37:20]MH_I2C_Read... [12:37:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:37:20]Read from MH i2c: E2 [12:37:20]MH_I2C_Read... [12:37:20]Read from MH i2c: E2 0E 00 [12:37:20]MH_I2C_Read... [12:37:20]Read from MH i2c: E2 0E 00 E5 16 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 F1 [12:37:20]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [12:37:20]wFMCommunicate OK [12:37:20]SAM_PROTO_GetShiftState done [12:37:20]FM_GetShiftState done [12:37:20]opened in 1721003525 [12:37:20]opened+sec_in_day 1721089925 [12:37:20]quantity*price = 12500 [12:37:20]sum+1 = 12501 [12:37:20]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 СНО: Общий режим Чек 68 15.07.2024 12:37 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57173 ФПД: 35377069395994 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T123724&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57173&fm=35377069395994&tin=02508201610067®Number=0000000000091208&sum=12500 0 [12:37:21]StoreToDocumentArchive [12:37:21]shift 497 fd 57173 [12:37:21]save to /storage/0497/doc_00057173 [12:37:21]save last doc name /storage/0497/doc_00057173 to /storage/kkm_last_doc_name [12:37:21]save OK [12:37:21]Clear old archive folders... [12:37:21]ProcessDocumentItem done err = 0, tmpTLVsize=278 [12:37:21]tlvbuf is 0095AB50 [12:37:21]SAM_PROTO_ClearQueue [12:37:21]wFMCommunicate request_size=4 [12:37:21]MH_SAM_APDU [12:37:21]CAPDU: 80 09 00 00 [12:37:21]Write to MH i2c: E2 08 00 F2 16 80 09 00 00 00 00 00 00 7A [12:37:21]Write i2c OK [12:37:21]MH_I2C_Read... [12:37:21]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:37:21]Read from MH i2c: E2 [12:37:21]MH_I2C_Read... [12:37:21]Read from MH i2c: E2 03 00 [12:37:21]MH_I2C_Read... [12:37:21]Read from MH i2c: E2 03 00 F2 16 00 90 00 7C [12:37:21]RAPDU: 90 00 [12:37:21]wFMCommunicate OK [12:37:21]SAM_PROTO_ClearQueue done [12:37:21]KKMCreateOFDPacket [12:37:21]OFDProtocolAddRootSTLVToBuf [12:37:21]FM_MakeSignedData [12:37:21]FM_MakeSignedData [12:37:21]SAM_PROTO_SignData [12:37:21]wFMCommunicate request_size=4 [12:37:21]MH_SAM_APDU [12:37:21]CAPDU: 80 0D 01 02 [12:37:21]Write to MH i2c: E2 08 00 F3 16 80 0D 01 02 00 00 00 00 82 [12:37:21]Write i2c OK [12:37:21]MH_I2C_Read... [12:37:21]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:37:21]Read from MH i2c: E2 [12:37:21]MH_I2C_Read... [12:37:21]Read from MH i2c: E2 03 00 [12:37:21]MH_I2C_Read... [12:37:21]Read from MH i2c: E2 03 00 F3 16 00 90 00 7D [12:37:21]RAPDU: 90 00 [12:37:21]wFMCommunicate OK [12:37:21]wFMCommunicate request_size=255 [12:37:21]MH_SAM_APDU [12:37:21]CAPDU: 80 0D 02 02 FA 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 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 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 44 00 00 00 F4 03 04 00 04 18 95 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 [12:37:21]Write to MH i2c: E2 02 01 F4 16 80 0D 02 02 FA 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 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 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 44 00 00 00 F4 03 04 00 04 18 95 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 00 00 76 [12:37:21]Write i2c OK [12:37:21]MH_I2C_Read... [12:37:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:37:22]Read from MH i2c: E2 [12:37:22]MH_I2C_Read... [12:37:22]Read from MH i2c: E2 03 00 [12:37:22]MH_I2C_Read... [12:37:22]Read from MH i2c: E2 03 00 F4 16 00 90 00 7E [12:37:22]RAPDU: 90 00 [12:37:22]wFMCommunicate OK [12:37:22]wFMCommunicate request_size=37 [12:37:22]MH_SAM_APDU [12:37:22]CAPDU: 80 0D 02 02 20 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 55 DF 00 00 35 04 06 00 20 2C DD A7 90 1A [12:37:22]Write to MH i2c: E2 28 00 F5 16 80 0D 02 02 20 00 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 55 DF 00 00 35 04 06 00 20 2C DD A7 90 1A 00 00 91 [12:37:22]Write i2c OK [12:37:22]MH_I2C_Read... [12:37:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:37:22]Read from MH i2c: E2 [12:37:22]MH_I2C_Read... [12:37:22]Read from MH i2c: E2 03 00 [12:37:22]MH_I2C_Read... [12:37:22]Read from MH i2c: E2 03 00 F5 16 00 90 00 7F [12:37:22]RAPDU: 90 00 [12:37:22]wFMCommunicate OK [12:37:22]wFMCommunicate request_size=4 [12:37:22]MH_SAM_APDU [12:37:22]CAPDU: 80 0D 03 02 [12:37:22]Write to MH i2c: E2 08 00 F6 16 80 0D 03 02 00 00 00 00 87 [12:37:22]Write i2c OK [12:37:22]MH_I2C_Read... [12:37:22]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:37:22]Read from MH i2c: E2 [12:37:22]MH_I2C_Read... [12:37:22]Read from MH i2c: E2 0B 00 [12:37:22]MH_I2C_Read... [12:37:22]Read from MH i2c: E2 0B 00 F6 16 00 4C F4 22 5C 5D 86 73 CA 90 00 66 [12:37:22]RAPDU: 4C F4 22 5C 5D 86 73 CA 90 00 [12:37:22]wFMCommunicate OK [12:37:22]SAM_PROTO_SignData done [12:37:22]FM_MakeSignedData done [12:37:22]CreateOFDProtocolMessage [12:37:22]wFMCommunicate request_size=4 [12:37:22]MH_SAM_APDU [12:37:22]CAPDU: 80 11 00 00 [12:37:22]Write to MH i2c: E2 08 00 F7 16 80 11 00 00 00 00 00 00 87 [12:37:22]OFD Sender: No OFD packet to send [12:37:22]Write i2c OK [12:37:22]MH_I2C_Read... [12:37:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:37:22]Read from MH i2c: E2 [12:37:22]MH_I2C_Read... [12:37:22]Read from MH i2c: E2 17 00 [12:37:22]MH_I2C_Read... [12:37:22]Read from MH i2c: E2 17 00 F7 16 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 E1 [12:37:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [12:37:22]wFMCommunicate OK [12:37:22]CreateOFDProtocolMessage done [12:37:22]OFDSenderStorePacket 57173 [12:37:22]StoreOFDPacket docnum=57173 [12:37: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 2A 01 00 00 44 42 22 01 D2 BB 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 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 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 44 00 00 00 F4 03 04 00 04 18 95 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 55 DF 00 00 35 04 06 00 20 2C DD A7 90 1A 4C F4 22 5C 5D 86 73 CA [12:37:22]CheckFolder [12:37:22]dirname=/storage/ofd_packets [12:37:22]CheckFolder done [12:37:22]ProducePacketName [12:37:22]name=ofd_packets/00057173 [12:37:22]NVStorageSaveData ofd_packets/00057173 [12:37:22]File name is /storage/ofd_packets/00057173 [12:37:22]Write 328 bytes [12:37:22]NVStorageSaveData done [12:37:22]OFDSenderStorePacket done [12:37:22]KKMCreateOFDPacket done [12:37:22]NVStorageSaveData kkm_last_timestamp [12:37:22]File name is /storage/kkm_last_timestamp [12:37:22]Write 4 bytes [12:37:22]NVStorageSaveData done [12:37:22]ExternCall_PrintAddStr [12:37:22]wPrintStart [12:37:22]Write to MH i2c: 01 00 00 F8 16 0E [12:37:22]Write i2c OK [12:37:22]MH_I2C_Read... [12:37:22]Read from MH i2c: 01 [12:37:22]MH_I2C_Read... [12:37:22]Read from MH i2c: 01 07 00 [12:37:22]MH_I2C_Read... [12:37:22]Read from MH i2c: 01 07 00 F8 16 00 00 00 00 00 FF 0F 23 [12:37:22]RasterBufferAndPrint [12:37:22]line Счет N : (3)129627 [12:37:22]line ИНН: 02508201610067 [12:37:22]line Контрольно-Кассовый Чек [12:37:22]line ПРОДАЖА [12:37:22]line Товар: 5449000054227 [12:37:22]line Напиток Кока-Кола 1л [12:37:22]line 1.000 * 125.00 [12:37:22]line = 125.00 [12:37:22]line НДС 12% НСП 1% [12:37:22]line > о реализуемом товаре [12:37:22]line ИТОГО: 125.00 [12:37:22]line НСП 1% : 1.11 [12:37:22]line НДС 12% : 13.27 [12:37:22]line Наличными: 125.00 [12:37:22]line Безнал.: 0.00 [12:37:22]line Место: АЗС № 132 "Партнер Нефть" [12:37:22]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [12:37:22]line СНО: Общий режим [12:37:22]line Чек 68 15.07.2024 12:37 [12:37:22]line Смена: 497 ФФД: 1.0 [12:37:22]line ЗНМ: 0300000132 [12:37:22]line РНМ: 0000000000091208 [12:37:22]line Версия ККМ: 001 [12:37:22]line ФМ: 0000000000874857 [12:37:22]line ФД: 57173 [12:37:22]line ФПД: 35377069395994 [12:37:22]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T123724&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57173&fm=35377069395994&tin=02508201610067®Number=0000000000091208&sum=12500 [12:37:22]line 0 [12:37:22]written 0, free lines is 4095 [12:37:22]OFD Sender: Processing packet 57173 [packets to send 38, broken 37] [12:37:22]ProducePacketName [12:37:22]name=ofd_packets/00057173 [12:37:22]OFD Sender: To server: pG, [12:37:22]CommunicateWithHost lk.salyk.kg:30040 [12:37:22]ConnectInit lk.salyk.kg [12:37:22]Connected sock=10 [12:37: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 2A 01 00 00 44 42 22 01 D2 BB 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 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 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 44 00 00 00 F4 03 04 00 04 18 95 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 55 DF 00 00 35 04 06 00 20 2C DD A7 90 1A 4C F4 22 5C 5D 86 73 CA [12:37: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 6B D2 47 00 DB 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 55 DF 00 00 F4 03 04 00 52 BE 94 66 B6 04 01 00 00 3F 5D 1C 63 7F C0 34 9E [12:37:22]CommunicateWithHost err = 0 [12:37:22]CheckOFDResponse [12:37:22]1017 (14) - 77093643461234 [12:37:22]1041 (16) - 0000000000874857 [12:37:22]1040 (4) - 57173 [12:37:22]1012 (4) - 15.07.2024 06:14 [12:37:22]1206 (1) - 0 [12:37:22]OFD Sender: Remove packet 57173 [12:37:22]ProducePacketName [12:37:22]name=ofd_packets/00057173 [12:37:22]NVStorageDeleteData [12:37:22]Write to MH i2c: 01 00 00 20 17 37 [12:37:22]Write i2c OK [12:37:22]MH_I2C_Read... [12:37:22]Read from MH i2c: 01 [12:37:22]MH_I2C_Read... [12:37:22]Read from MH i2c: 01 07 00 [12:37:22]MH_I2C_Read... [12:37:22]Read from MH i2c: 01 07 00 20 17 00 00 00 00 00 15 0D 60 [12:37:22]RasterBufferAndPrint [12:37:22]line [12:37:22]line [12:37:22]line [12:37:22]line [12:37:22]line [12:37:22]written 0, free lines is 3362 [12:37:22]MH_Cut [12:37:22]Write to MH i2c: D1 01 00 27 17 01 10 [12:37:22]Write i2c OK [12:37:22]MH_I2C_Read... [12:37:22]Read from MH i2c: D1 [12:37:22]MH_I2C_Read... [12:37:22]Read from MH i2c: D1 01 00 [12:37:22]MH_I2C_Read... [12:37:22]Read from MH i2c: D1 01 00 27 17 00 0F [12:37:22]Write to MH i2c: 01 00 00 28 17 3F [12:37:22]Write i2c OK [12:37:22]MH_I2C_Read... [12:37:23]OFD Sender: No OFD packet to send [12:37:23]*** Cut start [12:37:23]*** Partial cut [12:37:23]*** CUTSNS_PIN = 1 [12:37:23]*** CUTSNS_PIN = 0 [12:37:23]*** Brake cut motor [12:37:24]Read from MH i2c: 01 [12:37:24]MH_I2C_Read... [12:37:24]*** Stop cut motor [12:37:24]*** Cut end [12:37:24]Read from MH i2c: 01 07 00 [12:37:24]MH_I2C_Read... [12:37:24]Read from MH i2c: 01 07 00 28 17 00 00 00 00 00 FF 0F 54 [12:37:24]process_action close_receipt done [12:37:24]requested_data is exist [12:37:24]produce_requested_data [12:37:24]requested_item fm.sn is exist - process it [12:37:24]wFMCommunicate request_size=4 [12:37:24]MH_SAM_APDU [12:37:24]CAPDU: 80 11 00 00 [12:37:24]Write to MH i2c: E2 08 00 29 17 80 11 00 00 00 00 00 00 BA [12:37:24]Write i2c OK [12:37:24]MH_I2C_Read... [12:37:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:37:24]Read from MH i2c: E2 [12:37:24]MH_I2C_Read... [12:37:24]Read from MH i2c: E2 17 00 [12:37:24]MH_I2C_Read... [12:37:24]Read from MH i2c: E2 17 00 29 17 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 14 [12:37:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [12:37:24]wFMCommunicate OK [12:37:24]requested_item fd.num is exist - process it [12:37:24]SAM_PROTO_GetFieldsCounters [12:37:24]wFMCommunicate request_size=4 [12:37:24]MH_SAM_APDU [12:37:24]CAPDU: 80 13 00 00 [12:37:24]Write to MH i2c: E2 08 00 2A 17 80 13 00 00 00 00 00 00 BD [12:37:24]Write i2c OK [12:37:24]MH_I2C_Read... [12:37:24]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:37:24]Read from MH i2c: E2 [12:37:24]MH_I2C_Read... [12:37:24]Read from MH i2c: E2 62 00 [12:37:24]MH_I2C_Read... [12:37:24]Read from MH i2c: E2 62 00 2A 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 55 DF 00 00 0E 04 04 00 F1 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 D2 [12:37: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 55 DF 00 00 0E 04 04 00 F1 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:37:24]wFMCommunicate OK [12:37:24]SAM_PROTO_GetFieldsCounters done [12:37:24]requested_item shift.num is exist - process it [12:37:24]requested_item shift.opened is exist - process it [12:37:24]req_shift_opened [12:37:24]FM_GetShiftState [12:37:24]SAM_PROTO_GetShiftState [12:37:24]wFMCommunicate request_size=4 [12:37:24]MH_SAM_APDU [12:37:24]CAPDU: 80 13 01 00 [12:37:24]Write to MH i2c: E2 08 00 2B 17 80 13 01 00 00 00 00 00 BF [12:37:24]Write i2c OK [12:37:24]MH_I2C_Read... [12:37:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:37:24]Read from MH i2c: E2 [12:37:24]MH_I2C_Read... [12:37:24]Read from MH i2c: E2 0E 00 [12:37:24]MH_I2C_Read... [12:37:24]Read from MH i2c: E2 0E 00 2B 17 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 38 [12:37:24]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [12:37:24]wFMCommunicate OK [12:37:24]SAM_PROTO_GetShiftState done [12:37:24]FM_GetShiftState done [12:37:24]req_shift_opened done [12:37:24]requested_item shift.open_date is exist - process it [12:37:24]req_shift_open_date [12:37:24]req_shift_open_date done [12:37:24]requested_item shift.sale.total is exist - process it [12:37:24]SAM_PROTO_GetShiftData [12:37:24]wFMCommunicate request_size=4 [12:37:24]MH_SAM_APDU [12:37:24]CAPDU: 80 13 02 00 [12:37:24]Write to MH i2c: E2 08 00 2C 17 80 13 02 00 00 00 00 00 C1 [12:37:24]Write i2c OK [12:37:24]MH_I2C_Read... [12:37:24]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [12:37:24]Read from MH i2c: E2 [12:37:24]MH_I2C_Read... [12:37:24]Read from MH i2c: E2 FD 00 [12:37:24]MH_I2C_Read... [12:37:24]Read from MH i2c: E2 FD 00 2C 17 00 B6 04 AA 04 B2 04 6E 04 04 00 44 00 00 00 69 04 9B 00 6F 04 04 00 43 00 00 00 B1 04 03 00 65 27 1A 70 04 03 00 50 13 15 72 04 03 00 15 14 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 03 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 3D 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 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 3A [12:37:24]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 44 00 00 00 69 04 9B 00 6F 04 04 00 43 00 00 00 B1 04 03 00 65 27 1A 70 04 03 00 50 13 15 72 04 03 00 15 14 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 03 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 3D 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 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 [12:37:25]wFMCommunicate OK [12:37:25]wFMCommunicate request_size=4 [12:37:25]MH_SAM_APDU [12:37:25]CAPDU: 80 17 00 00 [12:37:25]Write to MH i2c: E2 08 00 2D 17 80 17 00 00 00 00 00 00 C4 [12:37:25]Write i2c OK [12:37:25]MH_I2C_Read... [12:37:25]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:37:25]Read from MH i2c: E2 [12:37:25]MH_I2C_Read... [12:37:25]Read from MH i2c: E2 FD 00 [12:37:25]MH_I2C_Read... [12:37:25]Read from MH i2c: E2 FD 00 2D 17 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 F9 [12:37:25]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 [12:37:25]wFMCommunicate OK [12:37:25]wFMCommunicate request_size=4 [12:37:25]MH_SAM_APDU [12:37:25]CAPDU: 80 17 00 00 [12:37:25]Write to MH i2c: E2 08 00 2E 17 80 17 00 00 00 00 00 00 C5 [12:37:25]Write i2c OK [12:37:25]MH_I2C_Read... [12:37:25]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:37:25]Read from MH i2c: E2 [12:37:25]MH_I2C_Read... [12:37:25]Read from MH i2c: E2 FD 00 [12:37:25]MH_I2C_Read... [12:37:25]Read from MH i2c: E2 FD 00 2E 17 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 85 [12:37:25]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 [12:37:25]wFMCommunicate OK [12:37:25]wFMCommunicate request_size=4 [12:37:25]MH_SAM_APDU [12:37:25]CAPDU: 80 17 00 00 [12:37:25]Write to MH i2c: E2 08 00 2F 17 80 17 00 00 00 00 00 00 C6 [12:37:25]Write i2c OK [12:37:25]MH_I2C_Read... [12:37:25]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:37:25]Read from MH i2c: E2 [12:37:25]MH_I2C_Read... [12:37:25]Read from MH i2c: E2 FD 00 [12:37:25]MH_I2C_Read... [12:37:25]Read from MH i2c: E2 FD 00 2F 17 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 35 [12:37:25]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 [12:37:25]wFMCommunicate OK [12:37:25]wFMCommunicate request_size=4 [12:37:25]MH_SAM_APDU [12:37:25]CAPDU: 80 17 00 00 [12:37:25]Write to MH i2c: E2 08 00 30 17 80 17 00 00 00 00 00 00 C7 [12:37:25]Write i2c OK [12:37:25]MH_I2C_Read... [12:37:26]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [12:37:26]Read from MH i2c: E2 [12:37:26]MH_I2C_Read... [12:37:26]Read from MH i2c: E2 D3 00 [12:37:26]MH_I2C_Read... [12:37:26]Read from MH i2c: E2 D3 00 30 17 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 B4 [12:37:26]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 [12:37:26]wFMCommunicate OK [12:37:26]SAM_PROTO_GetShiftData done [12:37:26]requested_item shift.sale.total_cash is exist - process it [12:37:26]requested_item shift.sale_refund.total is exist - process it [12:37:26]requested_item shift.sale_refund.total_cash is exist - process it [12:37:26]produce_requested_data done [12:37:26]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57173,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":17140.21,"shift.sale.total_cash":13812.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [12:37:26]process_action_free close_receipt [12:37:26]json_value_free [12:37:26]json_value_free done [12:37:26]process_json_proto returns [12:37:26]Send response to host [12:37:26]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57173,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":17140.21,"shift.sale.total_cash":13812.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [12:37:26]free response buf [12:37:26]execute_script done [12:37:26]execute_script returns [12:37:26]free content buf [12:37:26]Sock 8.Close socket [12:37:26]Sock 8.Thread stoped [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:38]OFD Sender: No OFD packet to send [12:38:43]OFD Sender: No OFD packet to send [12:38:48]OFD Sender: No OFD packet to send [12:38:53]OFD Sender: No OFD packet to send [12:38:58]OFD Sender: No OFD packet to send [12:39:03]OFD Sender: No OFD packet to send [12:39:08]OFD Sender: No OFD packet to send [12:39:13]OFD Sender: No OFD packet to send [12:39:18]OFD Sender: No OFD packet to send [12:39:23]OFD Sender: No OFD packet to send [12:39:28]OFD Sender: No OFD packet to send [12:39:33]OFD Sender: No OFD packet to send [12:39:38]OFD Sender: No OFD packet to send [12:39:43]OFD Sender: No OFD packet to send [12:39:48]OFD Sender: No OFD packet to send [12:39:53]OFD Sender: No OFD packet to send [12:39:58]OFD Sender: No OFD packet to send [12:40:03]OFD Sender: No OFD packet to send [12:40:08]OFD Sender: No OFD packet to send [12:40:13]OFD Sender: No OFD packet to send [12:40:18]OFD Sender: No OFD packet to send [12:40:23]OFD Sender: No OFD packet to send [12:40:28]OFD Sender: No OFD packet to send [12:40:33]OFD Sender: No OFD packet to send [12:40:38]OFD Sender: No OFD packet to send [12:40:43]OFD Sender: No OFD packet to send [12:40:48]OFD Sender: No OFD packet to send [12:40:53]OFD Sender: No OFD packet to send [12:40:58]OFD Sender: No OFD packet to send [12:41:03]OFD Sender: No OFD packet to send [12:41:08]OFD Sender: No OFD packet to send [12:41:13]OFD Sender: No OFD packet to send [12:41:18]OFD Sender: No OFD packet to send [12:41:23]OFD Sender: No OFD packet to send [12:41:28]OFD Sender: No OFD packet to send [12:41:33]OFD Sender: No OFD packet to send [12:41:38]OFD Sender: No OFD packet to send [12:41:43]OFD Sender: No OFD packet to send [12:41:48]OFD Sender: No OFD packet to send [12:41:53]OFD Sender: No OFD packet to send [12:41:58]OFD Sender: No OFD packet to send [12:42:03]OFD Sender: No OFD packet to send [12:42:08]OFD Sender: No OFD packet to send [12:42:13]OFD Sender: No OFD packet to send [12:42:18]OFD Sender: No OFD packet to send [12:42:23]OFD Sender: No OFD packet to send [12:42:28]OFD Sender: No OFD packet to send [12:42:33]OFD Sender: No OFD packet to send [12:42:38]OFD Sender: No OFD packet to send [12:42:43]OFD Sender: No OFD packet to send [12:42:48]OFD Sender: No OFD packet to send [12:42:53]OFD Sender: No OFD packet to send [12:42:58]OFD Sender: No OFD packet to send [12:43:03]OFD Sender: No OFD packet to send [12:43:06]accept exits with 9 [12:43:06]New connection [12:43:06]New thread 3066924388 created [12:43:06]Thread 3067067748 joined [12:43:06]Waiting for new connection... [12:43:06] Sock 9.Parse request [12:43:06]Sock 9.Check first char [12:43:06]Sock 9.First char is OK [12:43:06]request: POST /json_proto HTTP/1.0 [12:43:06]Method: POST [12:43:06]URL: /json_proto [12:43:06]Method is POST - this is cgi request [12:43:06]url: /json_proto [12:43:06]query_string will be loaded in cgi processing [12:43:06]execute_cgi json_proto POST (null) [12:43:06]execute_cgi path=json_proto method=POST [12:43:06]POST find Content-Length [12:43:06]Host: 172.17.39.4:8080 [12:43:06]Content-Length: 737 [12:43:06]Content-Type: application/json [12:43:06] [12:43:06]POST finish read [12:43:06]Found Content-Length = 737 [12:43:06]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129628", "tax_sys" : 0, "items" : [ { "code": "40822938", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0424\u0430\u043D\u0442\u0430 0,5\u043B", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 75.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:43:06]execute_script... [12:43:06]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129628", "tax_sys" : 0, "items" : [ { "code": "40822938", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0424\u0430\u043D\u0442\u0430 0,5\u043B", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 75.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:43:06]POST & json_proto [12:43:06]process_json_proto [12:43:06]json parsed OK: [12:43:06]protocol is kg_v1.0 [12:43:06]action value=close_receipt [12:43:06]process_action close_receipt [12:43:06]cmd_close_receipt [12:43:06]MH_GetDate [12:43:06]Write to MH i2c: F0 00 00 31 17 37 [12:43:06]Write i2c OK [12:43:06]MH_I2C_Read... [12:43:06]Read from MH i2c: F0 [12:43:06]MH_I2C_Read... [12:43:06]Read from MH i2c: F0 09 00 [12:43:06]MH_I2C_Read... [12:43:06]Read from MH i2c: F0 09 00 31 17 00 5E 19 95 66 2D 25 5D 64 C5 [12:43:06]GetLastDocTimeStamp 1721047044 [12:43:06]current date 1721047390 [12:43:06]FM_GetShiftState [12:43:06]SAM_PROTO_GetShiftState [12:43:06]wFMCommunicate request_size=4 [12:43:06]MH_SAM_APDU [12:43:06]CAPDU: 80 13 01 00 [12:43:06]Write to MH i2c: E2 08 00 32 17 80 13 01 00 00 00 00 00 C6 [12:43:06]Write i2c OK [12:43:06]MH_I2C_Read... [12:43:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:43:06]Read from MH i2c: E2 [12:43:06]MH_I2C_Read... [12:43:06]Read from MH i2c: E2 0E 00 [12:43:06]MH_I2C_Read... [12:43:06]Read from MH i2c: E2 0E 00 32 17 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 3F [12:43:06]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [12:43:06]wFMCommunicate OK [12:43:06]SAM_PROTO_GetShiftState done [12:43:06]FM_GetShiftState done [12:43:06]opened in 1721003525 [12:43:06]opened+sec_in_day 1721089925 [12:43:06]quantity*price = 7500 [12:43:06]sum+1 = 7501 [12:43:06]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 75.00 НСП 1% : 0.66 НДС 12% : 7.96 Наличными: 75.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 69 15.07.2024 12:43 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57174 ФПД: 225647108598903 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T124310&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57174&fm=225647108598903&tin=02508201610067®Number=0000000000091208&sum=7500 0 [12:43:07]StoreToDocumentArchive [12:43:07]shift 497 fd 57174 [12:43:07]save to /storage/0497/doc_00057174 [12:43:07]save last doc name /storage/0497/doc_00057174 to /storage/kkm_last_doc_name [12:43:07]save OK [12:43:07]Clear old archive folders... [12:43:07]ProcessDocumentItem done err = 0, tmpTLVsize=268 [12:43:07]tlvbuf is 00984700 [12:43:07]SAM_PROTO_ClearQueue [12:43:07]wFMCommunicate request_size=4 [12:43:07]MH_SAM_APDU [12:43:07]CAPDU: 80 09 00 00 [12:43:07]Write to MH i2c: E2 08 00 3F 17 80 09 00 00 00 00 00 00 C8 [12:43:07]Write i2c OK [12:43:07]MH_I2C_Read... [12:43:07]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:43:07]Read from MH i2c: E2 [12:43:07]MH_I2C_Read... [12:43:07]Read from MH i2c: E2 03 00 [12:43:07]MH_I2C_Read... [12:43:07]Read from MH i2c: E2 03 00 3F 17 00 90 00 CA [12:43:07]RAPDU: 90 00 [12:43:07]wFMCommunicate OK [12:43:07]SAM_PROTO_ClearQueue done [12:43:07]KKMCreateOFDPacket [12:43:07]OFDProtocolAddRootSTLVToBuf [12:43:07]FM_MakeSignedData [12:43:07]FM_MakeSignedData [12:43:07]SAM_PROTO_SignData [12:43:07]wFMCommunicate request_size=4 [12:43:07]MH_SAM_APDU [12:43:07]CAPDU: 80 0D 01 02 [12:43:07]Write to MH i2c: E2 08 00 40 17 80 0D 01 02 00 00 00 00 D0 [12:43:07]Write i2c OK [12:43:07]MH_I2C_Read... [12:43:07]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:43:07]Read from MH i2c: E2 [12:43:07]MH_I2C_Read... [12:43:07]Read from MH i2c: E2 03 00 [12:43:07]MH_I2C_Read... [12:43:07]Read from MH i2c: E2 03 00 40 17 00 90 00 CB [12:43:07]RAPDU: 90 00 [12:43:07]wFMCommunicate OK [12:43:07]wFMCommunicate request_size=255 [12:43:07]MH_SAM_APDU [12:43:07]CAPDU: 80 0D 02 02 FA 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 08 00 34 30 38 32 32 39 33 38 06 04 1F 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D0 B0 D0 BD D1 82 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 1D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 42 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1C 03 00 00 00 00 07 04 06 00 4C 1D 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 5E 19 95 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 [12:43:07]Write to MH i2c: E2 02 01 41 17 80 0D 02 02 FA 00 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 08 00 34 30 38 32 32 39 33 38 06 04 1F 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D0 B0 D0 BD D1 82 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 1D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 42 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1C 03 00 00 00 00 07 04 06 00 4C 1D 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 5E 19 95 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 00 00 CF [12:43:07]Write i2c OK [12:43:07]MH_I2C_Read... [12:43:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:43:07]Read from MH i2c: E2 [12:43:07]MH_I2C_Read... [12:43:07]Read from MH i2c: E2 03 00 [12:43:07]MH_I2C_Read... [12:43:07]Read from MH i2c: E2 03 00 41 17 00 90 00 CC [12:43:07]RAPDU: 90 00 [12:43:07]wFMCommunicate OK [12:43:07]wFMCommunicate request_size=27 [12:43:07]MH_SAM_APDU [12:43:07]CAPDU: 80 0D 02 02 16 34 38 35 37 10 04 04 00 56 DF 00 00 35 04 06 00 CD 39 8F C0 AC 77 [12:43:07]Write to MH i2c: E2 1E 00 42 17 80 0D 02 02 16 00 34 38 35 37 10 04 04 00 56 DF 00 00 35 04 06 00 CD 39 8F C0 AC 77 00 00 DB [12:43:07]Write i2c OK [12:43:07]MH_I2C_Read... [12:43:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:43:08]Read from MH i2c: E2 [12:43:08]MH_I2C_Read... [12:43:08]Read from MH i2c: E2 03 00 [12:43:08]MH_I2C_Read... [12:43:08]Read from MH i2c: E2 03 00 42 17 00 90 00 CD [12:43:08]RAPDU: 90 00 [12:43:08]wFMCommunicate OK [12:43:08]wFMCommunicate request_size=4 [12:43:08]MH_SAM_APDU [12:43:08]CAPDU: 80 0D 03 02 [12:43:08]Write to MH i2c: E2 08 00 43 17 80 0D 03 02 00 00 00 00 D5 [12:43:08]Write i2c OK [12:43:08]MH_I2C_Read... [12:43:08]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:43:08]Read from MH i2c: E2 [12:43:08]MH_I2C_Read... [12:43:08]Read from MH i2c: E2 0B 00 [12:43:08]MH_I2C_Read... [12:43:08]Read from MH i2c: E2 0B 00 43 17 00 9B 0F DD FF 35 CD C8 8A 90 00 B0 [12:43:08]RAPDU: 9B 0F DD FF 35 CD C8 8A 90 00 [12:43:08]wFMCommunicate OK [12:43:08]SAM_PROTO_SignData done [12:43:08]FM_MakeSignedData done [12:43:08]CreateOFDProtocolMessage [12:43:08]wFMCommunicate request_size=4 [12:43:08]MH_SAM_APDU [12:43:08]CAPDU: 80 11 00 00 [12:43:08]Write to MH i2c: E2 08 00 44 17 80 11 00 00 00 00 00 00 D5 [12:43:08]Write i2c OK [12:43:08]MH_I2C_Read... [12:43:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:43:08]Read from MH i2c: E2 [12:43:08]MH_I2C_Read... [12:43:08]Read from MH i2c: E2 17 00 [12:43:08]MH_I2C_Read... [12:43:08]Read from MH i2c: E2 17 00 44 17 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 2F [12:43: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:43:08]wFMCommunicate OK [12:43:08]CreateOFDProtocolMessage done [12:43:08]OFDSenderStorePacket 57174 [12:43:08]StoreOFDPacket docnum=57174 [12:43:08]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 15 04 18 01 01 91 5A 03 01 00 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 08 00 34 30 38 32 32 39 33 38 06 04 1F 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D0 B0 D0 BD D1 82 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 1D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 42 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1C 03 00 00 00 00 07 04 06 00 4C 1D 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 5E 19 95 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 56 DF 00 00 35 04 06 00 CD 39 8F C0 AC 77 9B 0F DD FF 35 CD C8 8A [12:43:08]CheckFolder [12:43:08]dirname=/storage/ofd_packets [12:43:08]CheckFolder done [12:43:08]ProducePacketName [12:43:08]name=ofd_packets/00057174 [12:43:08]NVStorageSaveData ofd_packets/00057174 [12:43:08]File name is /storage/ofd_packets/00057174 [12:43:08]Write 318 bytes [12:43:08]NVStorageSaveData done [12:43:08]OFDSenderStorePacket done [12:43:08]KKMCreateOFDPacket done [12:43:08]NVStorageSaveData kkm_last_timestamp [12:43:08]File name is /storage/kkm_last_timestamp [12:43:08]Write 4 bytes [12:43:08]NVStorageSaveData done [12:43:08]ExternCall_PrintAddStr [12:43:08]wPrintStart [12:43:08]Write to MH i2c: 01 00 00 45 17 5C [12:43:08]Write i2c OK [12:43:08]MH_I2C_Read... [12:43:08]Read from MH i2c: 01 [12:43:08]MH_I2C_Read... [12:43:08]Read from MH i2c: 01 07 00 [12:43:08]MH_I2C_Read... [12:43:08]Read from MH i2c: 01 07 00 45 17 00 00 00 00 00 FF 0F 71 [12:43:08]RasterBufferAndPrint [12:43:08]line Счет N : (3)129628 [12:43:08]line ИНН: 02508201610067 [12:43:08]line Контрольно-Кассовый Чек [12:43:08]line ПРОДАЖА [12:43:08]line Товар: 40822938 [12:43:08]line Напиток Фанта 0,5л [12:43:08]line 1.000 * 75.00 [12:43:08]line = 75.00 [12:43:08]line НДС 12% НСП 1% [12:43:08]line > о реализуемом товаре [12:43:08]line ИТОГО: 75.00 [12:43:08]line НСП 1% : 0.66 [12:43:08]line НДС 12% : 7.96 [12:43:08]line Наличными: 75.00 [12:43:08]line Безнал.: 0.00 [12:43:08]line Место: АЗС № 132 "Партнер Нефть" [12:43:08]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [12:43:08]line СНО: Общий режим [12:43:08]line Чек 69 15.07.2024 12:43 [12:43:08]line Смена: 497 ФФД: 1.0 [12:43:08]line ЗНМ: 0300000132 [12:43:08]line РНМ: 0000000000091208 [12:43:08]line Версия ККМ: 001 [12:43:08]line ФМ: 0000000000874857 [12:43:08]line ФД: 57174 [12:43:08]line ФПД: 225647108598903 [12:43:08]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T124310&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57174&fm=225647108598903&tin=02508201610067®Number=0000000000091208&sum=7500 [12:43:08]OFD Sender: Processing packet 57174 [packets to send 38, broken 37] [12:43:08]ProducePacketName [12:43:08]name=ofd_packets/00057174 [12:43:08]OFD Sender: To server: pG, [12:43:08]CommunicateWithHost lk.salyk.kg:30040 [12:43:08]ConnectInit lk.salyk.kg [12:43:08]line 0 [12:43:08]written 0, free lines is 4095 [12:43:08]Connected sock=10 [12:43:08]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 15 04 18 01 01 91 5A 03 01 00 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 08 00 34 30 38 32 32 39 33 38 06 04 1F 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D0 B0 D0 BD D1 82 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 1D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 42 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1C 03 00 00 00 00 07 04 06 00 4C 1D 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 5E 19 95 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 56 DF 00 00 35 04 06 00 CD 39 8F C0 AC 77 9B 0F DD FF 35 CD C8 8A [12:43:08]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 7E 07 47 00 0E 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 56 DF 00 00 F4 03 04 00 AC BF 94 66 B6 04 01 00 00 3B C0 CC 03 D2 AF 3D 71 [12:43:08]CommunicateWithHost err = 0 [12:43:08]CheckOFDResponse [12:43:08]1017 (14) - 77093643461234 [12:43:08]1041 (16) - 0000000000874857 [12:43:08]1040 (4) - 57174 [12:43:08]1012 (4) - 15.07.2024 06:20 [12:43:08]1206 (1) - 0 [12:43:08]OFD Sender: Remove packet 57174 [12:43:08]ProducePacketName [12:43:08]name=ofd_packets/00057174 [12:43:08]NVStorageDeleteData [12:43:08]Write to MH i2c: 01 00 00 6D 17 84 [12:43:08]Write i2c OK [12:43:08]MH_I2C_Read... [12:43:08]Read from MH i2c: 01 [12:43:08]MH_I2C_Read... [12:43:08]Read from MH i2c: 01 07 00 [12:43:08]MH_I2C_Read... [12:43:08]Read from MH i2c: 01 07 00 6D 17 00 00 00 00 00 14 0D AC [12:43:08]RasterBufferAndPrint [12:43:08]line [12:43:08]line [12:43:08]line [12:43:08]line [12:43:08]line [12:43:08]written 0, free lines is 3354 [12:43:08]MH_Cut [12:43:08]Write to MH i2c: D1 01 00 74 17 01 5D [12:43:08]Write i2c OK [12:43:08]MH_I2C_Read... [12:43:08]Read from MH i2c: D1 [12:43:08]MH_I2C_Read... [12:43:08]Read from MH i2c: D1 01 00 [12:43:08]MH_I2C_Read... [12:43:08]Read from MH i2c: D1 01 00 74 17 00 5C [12:43:08]Write to MH i2c: 01 00 00 75 17 8C [12:43:08]Write i2c OK [12:43:08]MH_I2C_Read... [12:43:09]OFD Sender: No OFD packet to send [12:43:09]*** Cut start [12:43:09]*** Partial cut [12:43:09]*** CUTSNS_PIN = 1 [12:43:09]*** CUTSNS_PIN = 0 [12:43:09]*** Brake cut motor [12:43:10]Read from MH i2c: 01 [12:43:10]MH_I2C_Read... [12:43:10]*** Stop cut motor [12:43:10]*** Cut end [12:43:10]Read from MH i2c: 01 07 00 [12:43:10]MH_I2C_Read... [12:43:10]Read from MH i2c: 01 07 00 75 17 00 00 00 00 00 FF 0F A1 [12:43:10]process_action close_receipt done [12:43:10]requested_data is exist [12:43:10]produce_requested_data [12:43:10]requested_item fm.sn is exist - process it [12:43:10]wFMCommunicate request_size=4 [12:43:10]MH_SAM_APDU [12:43:10]CAPDU: 80 11 00 00 [12:43:10]Write to MH i2c: E2 08 00 76 17 80 11 00 00 00 00 00 00 07 [12:43:10]Write i2c OK [12:43:10]MH_I2C_Read... [12:43:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:43:10]Read from MH i2c: E2 [12:43:10]MH_I2C_Read... [12:43:10]Read from MH i2c: E2 17 00 [12:43:10]MH_I2C_Read... [12:43:10]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 [12:43:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [12:43:10]wFMCommunicate OK [12:43:10]requested_item fd.num is exist - process it [12:43:10]SAM_PROTO_GetFieldsCounters [12:43:10]wFMCommunicate request_size=4 [12:43:10]MH_SAM_APDU [12:43:10]CAPDU: 80 13 00 00 [12:43:10]Write to MH i2c: E2 08 00 77 17 80 13 00 00 00 00 00 00 0A [12:43:10]Write i2c OK [12:43:10]MH_I2C_Read... [12:43:10]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:43:10]Read from MH i2c: E2 [12:43:10]MH_I2C_Read... [12:43:10]Read from MH i2c: E2 62 00 [12:43:10]MH_I2C_Read... [12:43:10]Read from MH i2c: E2 62 00 77 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 56 DF 00 00 0E 04 04 00 F1 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 23 [12:43: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 56 DF 00 00 0E 04 04 00 F1 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:43:10]wFMCommunicate OK [12:43:10]SAM_PROTO_GetFieldsCounters done [12:43:10]requested_item shift.num is exist - process it [12:43:10]requested_item shift.opened is exist - process it [12:43:10]req_shift_opened [12:43:10]FM_GetShiftState [12:43:10]SAM_PROTO_GetShiftState [12:43:10]wFMCommunicate request_size=4 [12:43:10]MH_SAM_APDU [12:43:10]CAPDU: 80 13 01 00 [12:43:10]Write to MH i2c: E2 08 00 78 17 80 13 01 00 00 00 00 00 0C [12:43:10]Write i2c OK [12:43:10]MH_I2C_Read... [12:43:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:43:10]Read from MH i2c: E2 [12:43:10]MH_I2C_Read... [12:43:10]Read from MH i2c: E2 0E 00 [12:43:10]MH_I2C_Read... [12:43:10]Read from MH i2c: E2 0E 00 78 17 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 85 [12:43:10]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [12:43:10]wFMCommunicate OK [12:43:10]SAM_PROTO_GetShiftState done [12:43:10]FM_GetShiftState done [12:43:10]req_shift_opened done [12:43:10]requested_item shift.open_date is exist - process it [12:43:10]req_shift_open_date [12:43:10]req_shift_open_date done [12:43:10]requested_item shift.sale.total is exist - process it [12:43:10]SAM_PROTO_GetShiftData [12:43:10]wFMCommunicate request_size=4 [12:43:10]MH_SAM_APDU [12:43:10]CAPDU: 80 13 02 00 [12:43:10]Write to MH i2c: E2 08 00 79 17 80 13 02 00 00 00 00 00 0E [12:43:10]Write i2c OK [12:43:10]MH_I2C_Read... [12:43:10]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [12:43:10]Read from MH i2c: E2 [12:43:10]MH_I2C_Read... [12:43:10]Read from MH i2c: E2 FD 00 [12:43:10]MH_I2C_Read... [12:43:10]Read from MH i2c: E2 FD 00 79 17 00 B6 04 AA 04 B2 04 6E 04 04 00 45 00 00 00 69 04 9B 00 6F 04 04 00 44 00 00 00 B1 04 03 00 B1 44 1A 70 04 03 00 9C 30 15 72 04 03 00 15 14 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 1F CA 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 7F 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 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 BC [12:43:10]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 45 00 00 00 69 04 9B 00 6F 04 04 00 44 00 00 00 B1 04 03 00 B1 44 1A 70 04 03 00 9C 30 15 72 04 03 00 15 14 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 1F CA 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 7F 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 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 [12:43:10]wFMCommunicate OK [12:43:10]wFMCommunicate request_size=4 [12:43:10]MH_SAM_APDU [12:43:10]CAPDU: 80 17 00 00 [12:43:10]Write to MH i2c: E2 08 00 7A 17 80 17 00 00 00 00 00 00 11 [12:43:10]Write i2c OK [12:43:10]MH_I2C_Read... [12:43:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:43:11]Read from MH i2c: E2 [12:43:11]MH_I2C_Read... [12:43:11]Read from MH i2c: E2 FD 00 [12:43:11]MH_I2C_Read... [12:43:11]Read from MH i2c: E2 FD 00 7A 17 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 46 [12:43:11]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 [12:43:11]wFMCommunicate OK [12:43:11]wFMCommunicate request_size=4 [12:43:11]MH_SAM_APDU [12:43:11]CAPDU: 80 17 00 00 [12:43:11]Write to MH i2c: E2 08 00 7B 17 80 17 00 00 00 00 00 00 12 [12:43:11]Write i2c OK [12:43:11]MH_I2C_Read... [12:43:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:43:11]Read from MH i2c: E2 [12:43:11]MH_I2C_Read... [12:43:11]Read from MH i2c: E2 FD 00 [12:43:11]MH_I2C_Read... [12:43:11]Read from MH i2c: E2 FD 00 7B 17 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 D2 [12:43:11]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 [12:43:11]wFMCommunicate OK [12:43:11]wFMCommunicate request_size=4 [12:43:11]MH_SAM_APDU [12:43:11]CAPDU: 80 17 00 00 [12:43:11]Write to MH i2c: E2 08 00 7C 17 80 17 00 00 00 00 00 00 13 [12:43:11]Write i2c OK [12:43:11]MH_I2C_Read... [12:43:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:43:11]Read from MH i2c: E2 [12:43:11]MH_I2C_Read... [12:43:11]Read from MH i2c: E2 FD 00 [12:43:11]MH_I2C_Read... [12:43:11]Read from MH i2c: E2 FD 00 7C 17 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 82 [12:43:11]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 [12:43:11]wFMCommunicate OK [12:43:11]wFMCommunicate request_size=4 [12:43:11]MH_SAM_APDU [12:43:11]CAPDU: 80 17 00 00 [12:43:11]Write to MH i2c: E2 08 00 7D 17 80 17 00 00 00 00 00 00 14 [12:43:11]Write i2c OK [12:43:11]MH_I2C_Read... [12:43:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [12:43:12]Read from MH i2c: E2 [12:43:12]MH_I2C_Read... [12:43:12]Read from MH i2c: E2 D3 00 [12:43:12]MH_I2C_Read... [12:43:12]Read from MH i2c: E2 D3 00 7D 17 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 01 [12:43:12]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 [12:43:12]wFMCommunicate OK [12:43:12]SAM_PROTO_GetShiftData done [12:43:12]requested_item shift.sale.total_cash is exist - process it [12:43:12]requested_item shift.sale_refund.total is exist - process it [12:43:12]requested_item shift.sale_refund.total_cash is exist - process it [12:43:12]produce_requested_data done [12:43:12]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57174,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":17215.21,"shift.sale.total_cash":13887.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [12:43:12]process_action_free close_receipt [12:43:12]json_value_free [12:43:12]json_value_free done [12:43:12]process_json_proto returns [12:43:12]Send response to host [12:43:12]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57174,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":17215.21,"shift.sale.total_cash":13887.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [12:43:12]free response buf [12:43:12]execute_script done [12:43:12]execute_script returns [12:43:12]free content buf [12:43:12]Sock 9.Close socket [12:43:12]Sock 9.Thread stoped [12:43:14]OFD Sender: No OFD packet to send [12:43:19]OFD Sender: No OFD packet to send [12:43:24]OFD Sender: No OFD packet to send [12:43:29]OFD Sender: No OFD packet to send [12:43:34]OFD Sender: No OFD packet to send [12:43:39]OFD Sender: No OFD packet to send [12:43:44]OFD Sender: No OFD packet to send [12:43:49]OFD Sender: No OFD packet to send [12:43:54]OFD Sender: No OFD packet to send [12:43:59]OFD Sender: No OFD packet to send [12:44:04]OFD Sender: No OFD packet to send [12:44:09]OFD Sender: No OFD packet to send [12:44:14]OFD Sender: No OFD packet to send [12:44:19]OFD Sender: No OFD packet to send [12:44:24]OFD Sender: No OFD packet to send [12:44:29]OFD Sender: No OFD packet to send [12:44:34]OFD Sender: No OFD packet to send [12:44:39]OFD Sender: No OFD packet to send [12:44:44]OFD Sender: No OFD packet to send [12:44:49]OFD Sender: No OFD packet to send [12:44:54]OFD Sender: No OFD packet to send [12:44:59]OFD Sender: No OFD packet to send [12:45:04]OFD Sender: No OFD packet to send [12:45:09]OFD Sender: No OFD packet to send [12:45:14]OFD Sender: No OFD packet to send [12:45:19]OFD Sender: No OFD packet to send [12:45:24]OFD Sender: No OFD packet to send [12:45:29]OFD Sender: No OFD packet to send [12:45:34]OFD Sender: No OFD packet to send [12:45:39]OFD Sender: No OFD packet to send [12:45:44]OFD Sender: No OFD packet to send [12:45:49]OFD Sender: No OFD packet to send [12:45:54]OFD Sender: No OFD packet to send [12:45:59]OFD Sender: No OFD packet to send [12:46:04]OFD Sender: No OFD packet to send [12:46:09]OFD Sender: No OFD packet to send [12:46:14]OFD Sender: No OFD packet to send [12:46:19]OFD Sender: No OFD packet to send [12:46:24]OFD Sender: No OFD packet to send [12:46:29]OFD Sender: No OFD packet to send [12:46:34]OFD Sender: No OFD packet to send [12:46:39]OFD Sender: No OFD packet to send [12:46:44]OFD Sender: No OFD packet to send [12:46:49]OFD Sender: No OFD packet to send [12:46:54]OFD Sender: No OFD packet to send [12:46:59]OFD Sender: No OFD packet to send [12:47:04]OFD Sender: No OFD packet to send [12:47:09]OFD Sender: No OFD packet to send [12:47:14]OFD Sender: No OFD packet to send [12:47:19]OFD Sender: No OFD packet to send [12:47:24]OFD Sender: No OFD packet to send [12:47:29]OFD Sender: No OFD packet to send [12:47:34]OFD Sender: No OFD packet to send [12:47:39]OFD Sender: No OFD packet to send [12:47:44]OFD Sender: No OFD packet to send [12:47:49]OFD Sender: No OFD packet to send [12:47:54]OFD Sender: No OFD packet to send [12:47:59]OFD Sender: No OFD packet to send [12:48:04]OFD Sender: No OFD packet to send [12:48:09]OFD Sender: No OFD packet to send [12:48:14]OFD Sender: No OFD packet to send [12:48:19]OFD Sender: No OFD packet to send [12:48:24]OFD Sender: No OFD packet to send [12:48:29]OFD Sender: No OFD packet to send [12:48:34]OFD Sender: No OFD packet to send [12:48:39]OFD Sender: No OFD packet to send [12:48:44]OFD Sender: No OFD packet to send [12:48:49]OFD Sender: No OFD packet to send [12:48:54]OFD Sender: No OFD packet to send [12:48:59]OFD Sender: No OFD packet to send [12:49:04]OFD Sender: No OFD packet to send [12:49:09]OFD Sender: No OFD packet to send [12:49:14]OFD Sender: No OFD packet to send [12:49:19]OFD Sender: No OFD packet to send [12:49:24]OFD Sender: No OFD packet to send [12:49:29]OFD Sender: No OFD packet to send [12:49:34]OFD Sender: No OFD packet to send [12:49:39]OFD Sender: No OFD packet to send [12:49:44]OFD Sender: No OFD packet to send [12:49:49]OFD Sender: No OFD packet to send [12:49:54]OFD Sender: No OFD packet to send [12:49:59]OFD Sender: No OFD packet to send [12:50:04]OFD Sender: No OFD packet to send [12:50:09]OFD Sender: No OFD packet to send [12:50:14]OFD Sender: No OFD packet to send [12:50:19]OFD Sender: No OFD packet to send [12:50:24]OFD Sender: No OFD packet to send [12:50:29]OFD Sender: No OFD packet to send [12:50:34]OFD Sender: No OFD packet to send [12:50:39]OFD Sender: No OFD packet to send [12:50:44]OFD Sender: No OFD packet to send [12:50:49]OFD Sender: No OFD packet to send [12:50:54]OFD Sender: No OFD packet to send [12:50:59]OFD Sender: No OFD packet to send [12:51:04]OFD Sender: No OFD packet to send [12:51:09]OFD Sender: No OFD packet to send [12:51:14]OFD Sender: No OFD packet to send [12:51:19]OFD Sender: No OFD packet to send [12:51:24]OFD Sender: No OFD packet to send [12:51:29]OFD Sender: No OFD packet to send [12:51:34]OFD Sender: No OFD packet to send [12:51:39]OFD Sender: No OFD packet to send [12:51:44]OFD Sender: No OFD packet to send [12:51:49]OFD Sender: No OFD packet to send [12:51:54]OFD Sender: No OFD packet to send [12:51:59]OFD Sender: No OFD packet to send [12:52:04]OFD Sender: No OFD packet to send [12:52:09]OFD Sender: No OFD packet to send [12:52:14]OFD Sender: No OFD packet to send [12:52:19]OFD Sender: No OFD packet to send [12:52:24]OFD Sender: No OFD packet to send [12:52:29]OFD Sender: No OFD packet to send [12:52:34]OFD Sender: No OFD packet to send [12:52:39]OFD Sender: No OFD packet to send [12:52:44]OFD Sender: No OFD packet to send [12:52:49]OFD Sender: No OFD packet to send [12:52:54]OFD Sender: No OFD packet to send [12:52:59]OFD Sender: No OFD packet to send [12:53:04]OFD Sender: No OFD packet to send [12:53:09]OFD Sender: No OFD packet to send [12:53:14]OFD Sender: No OFD packet to send [12:53:19]OFD Sender: No OFD packet to send [12:53:24]OFD Sender: No OFD packet to send [12:53:29]OFD Sender: No OFD packet to send [12:53:34]OFD Sender: No OFD packet to send [12:53:39]OFD Sender: No OFD packet to send [12:53:44]OFD Sender: No OFD packet to send [12:53:49]OFD Sender: No OFD packet to send [12:53:54]OFD Sender: No OFD packet to send [12:53:59]OFD Sender: No OFD packet to send [12:54:04]OFD Sender: No OFD packet to send [12:54:09]OFD Sender: No OFD packet to send [12:54:14]OFD Sender: No OFD packet to send [12:54:19]OFD Sender: No OFD packet to send [12:54:24]OFD Sender: No OFD packet to send [12:54:29]OFD Sender: No OFD packet to send [12:54:34]OFD Sender: No OFD packet to send [12:54:39]OFD Sender: No OFD packet to send [12:54:44]OFD Sender: No OFD packet to send [12:54:49]OFD Sender: No OFD packet to send [12:54:54]OFD Sender: No OFD packet to send [12:54:59]OFD Sender: No OFD packet to send [12:55:05]OFD Sender: No OFD packet to send [12:55:10]OFD Sender: No OFD packet to send [12:55:15]OFD Sender: No OFD packet to send [12:55:20]OFD Sender: No OFD packet to send [12:55:25]OFD Sender: No OFD packet to send [12:55:30]OFD Sender: No OFD packet to send [12:55:35]OFD Sender: No OFD packet to send [12:55:40]OFD Sender: No OFD packet to send [12:55:45]OFD Sender: No OFD packet to send [12:55:50]OFD Sender: No OFD packet to send [12:55:55]OFD Sender: No OFD packet to send [12:56:00]OFD Sender: No OFD packet to send [12:56:05]OFD Sender: No OFD packet to send [12:56:10]OFD Sender: No OFD packet to send [12:56:15]OFD Sender: No OFD packet to send [12:56:20]OFD Sender: No OFD packet to send [12:56:25]OFD Sender: No OFD packet to send [12:56:30]OFD Sender: No OFD packet to send [12:56:35]OFD Sender: No OFD packet to send [12:56:40]OFD Sender: No OFD packet to send [12:56:45]OFD Sender: No OFD packet to send [12:56:50]OFD Sender: No OFD packet to send [12:56:55]OFD Sender: No OFD packet to send [12:57:00]OFD Sender: No OFD packet to send [12:57:05]OFD Sender: No OFD packet to send [12:57:10]OFD Sender: No OFD packet to send [12:57:15]OFD Sender: No OFD packet to send [12:57:20]OFD Sender: No OFD packet to send [12:57:25]OFD Sender: No OFD packet to send [12:57:30]OFD Sender: No OFD packet to send [12:57:35]OFD Sender: No OFD packet to send [12:57:40]OFD Sender: No OFD packet to send [12:57:45]OFD Sender: No OFD packet to send [12:57:50]OFD Sender: No OFD packet to send [12:57:55]OFD Sender: No OFD packet to send [12:58:00]OFD Sender: No OFD packet to send [12:58:05]OFD Sender: No OFD packet to send [12:58:10]OFD Sender: No OFD packet to send [12:58:15]OFD Sender: No OFD packet to send [12:58:20]OFD Sender: No OFD packet to send [12:58:25]OFD Sender: No OFD packet to send [12:58:30]OFD Sender: No OFD packet to send [12:58:35]OFD Sender: No OFD packet to send [12:58:40]OFD Sender: No OFD packet to send [12:58:45]OFD Sender: No OFD packet to send [12:58:50]OFD Sender: No OFD packet to send [12:58:55]OFD Sender: No OFD packet to send [12:59:00]OFD Sender: No OFD packet to send [12:59:05]OFD Sender: No OFD packet to send [12:59:10]OFD Sender: No OFD packet to send [12:59:15]OFD Sender: No OFD packet to send [12:59:20]OFD Sender: No OFD packet to send [12:59:25]OFD Sender: No OFD packet to send [12:59:30]OFD Sender: No OFD packet to send [12:59:35]OFD Sender: No OFD packet to send [12:59:40]OFD Sender: No OFD packet to send [12:59:45]OFD Sender: No OFD packet to send [12:59:50]OFD Sender: No OFD packet to send [12:59:55]OFD Sender: No OFD packet to send [13:00:00]OFD Sender: No OFD packet to send [13:00:05]OFD Sender: No OFD packet to send [13:00:10]OFD Sender: No OFD packet to send [13:00:15]OFD Sender: No OFD packet to send [13:00:20]OFD Sender: No OFD packet to send [13:00:25]OFD Sender: No OFD packet to send [13:00:30]OFD Sender: No OFD packet to send [13:00:35]OFD Sender: No OFD packet to send [13:00:40]OFD Sender: No OFD packet to send [13:00:45]OFD Sender: No OFD packet to send [13:00:50]OFD Sender: No OFD packet to send [13:00:55]OFD Sender: No OFD packet to send [13:01:00]OFD Sender: No OFD packet to send [13:01:05]OFD Sender: No OFD packet to send [13:01:10]OFD Sender: No OFD packet to send [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:45]OFD Sender: No OFD packet to send [13:02:50]OFD Sender: No OFD packet to send [13:02:55]OFD Sender: No OFD packet to send [13:03:00]OFD Sender: No OFD packet to send [13:03:05]OFD Sender: No OFD packet to send [13:03:10]OFD Sender: No OFD packet to send [13:03:15]OFD Sender: No OFD packet to send [13:03:20]OFD Sender: No OFD packet to send [13:03:25]OFD Sender: No OFD packet to send [13:03:30]OFD Sender: No OFD packet to send [13:03:35]OFD Sender: No OFD packet to send [13:03:40]OFD Sender: No OFD packet to send [13:03:45]OFD Sender: No OFD packet to send [13:03:50]OFD Sender: No OFD packet to send [13:03:55]OFD Sender: No OFD packet to send [13:04:00]OFD Sender: No OFD packet to send [13:04:05]OFD Sender: No OFD packet to send [13:04:10]OFD Sender: No OFD packet to send [13:04:15]OFD Sender: No OFD packet to send [13:04:20]OFD Sender: No OFD packet to send [13:04:25]OFD Sender: No OFD packet to send [13:04:30]OFD Sender: No OFD packet to send [13:04:35]OFD Sender: No OFD packet to send [13:04:40]OFD Sender: No OFD packet to send [13:04:45]OFD Sender: No OFD packet to send [13:04:50]OFD Sender: No OFD packet to send [13:04:55]OFD Sender: No OFD packet to send [13:05:00]OFD Sender: No OFD packet to send [13:05:05]OFD Sender: No OFD packet to send [13:05:10]OFD Sender: No OFD packet to send [13:05:15]OFD Sender: No OFD packet to send [13:05:20]OFD Sender: No OFD packet to send [13:05:25]OFD Sender: No OFD packet to send [13:05:30]OFD Sender: No OFD packet to send [13:05:35]OFD Sender: No OFD packet to send [13:05:40]OFD Sender: No OFD packet to send [13:05:45]OFD Sender: No OFD packet to send [13:05:50]OFD Sender: No OFD packet to send [13:05:55]OFD Sender: No OFD packet to send [13:06:00]OFD Sender: No OFD packet to send [13:06:05]OFD Sender: No OFD packet to send [13:06:10]OFD Sender: No OFD packet to send [13:06:15]OFD Sender: No OFD packet to send [13:06:20]OFD Sender: No OFD packet to send [13:06:25]OFD Sender: No OFD packet to send [13:06:30]OFD Sender: No OFD packet to send [13:06:35]OFD Sender: No OFD packet to send [13:06:40]OFD Sender: No OFD packet to send [13:06:45]OFD Sender: No OFD packet to send [13:06:50]OFD Sender: No OFD packet to send [13:06:55]OFD Sender: No OFD packet to send [13:07:00]OFD Sender: No OFD packet to send [13:07:05]OFD Sender: No OFD packet to send [13:07:10]OFD Sender: No OFD packet to send [13:07:15]OFD Sender: No OFD packet to send [13:07:20]OFD Sender: No OFD packet to send [13:07:25]OFD Sender: No OFD packet to send [13:07:30]OFD Sender: No OFD packet to send [13:07:35]OFD Sender: No OFD packet to send [13:07:40]OFD Sender: No OFD packet to send [13:07:45]OFD Sender: No OFD packet to send [13:07:50]OFD Sender: No OFD packet to send [13:07:55]OFD Sender: No OFD packet to send [13:08:00]OFD Sender: No OFD packet to send [13:08:05]OFD Sender: No OFD packet to send [13:08:10]OFD Sender: No OFD packet to send [13:08:15]OFD Sender: No OFD packet to send [13:08:20]OFD Sender: No OFD packet to send [13:08:25]OFD Sender: No OFD packet to send [13:08:30]OFD Sender: No OFD packet to send [13:08:35]OFD Sender: No OFD packet to send [13:08:40]OFD Sender: No OFD packet to send [13:08:45]OFD Sender: No OFD packet to send [13:08:50]OFD Sender: No OFD packet to send [13:08:55]OFD Sender: No OFD packet to send [13:09:00]OFD Sender: No OFD packet to send [13:09:05]OFD Sender: No OFD packet to send [13:09:10]OFD Sender: No OFD packet to send [13:09:15]OFD Sender: No OFD packet to send [13:09:20]OFD Sender: No OFD packet to send [13:09:25]OFD Sender: No OFD packet to send [13:09:30]OFD Sender: No OFD packet to send [13:09:35]OFD Sender: No OFD packet to send [13:09:40]OFD Sender: No OFD packet to send [13:09:45]OFD Sender: No OFD packet to send [13:09:50]OFD Sender: No OFD packet to send [13:09:55]OFD Sender: No OFD packet to send [13:10:00]OFD Sender: No OFD packet to send [13:10:05]OFD Sender: No OFD packet to send [13:10:10]OFD Sender: No OFD packet to send [13:10:15]OFD Sender: No OFD packet to send [13:10:20]OFD Sender: No OFD packet to send [13:10:25]OFD Sender: No OFD packet to send [13:10:30]OFD Sender: No OFD packet to send [13:10:35]OFD Sender: No OFD packet to send [13:10:40]OFD Sender: No OFD packet to send [13:10:45]OFD Sender: No OFD packet to send [13:10:50]OFD Sender: No OFD packet to send [13:10:55]OFD Sender: No OFD packet to send [13:11:00]OFD Sender: No OFD packet to send [13:11:05]OFD Sender: No OFD packet to send [13:11:10]OFD Sender: No OFD packet to send [13:11:15]OFD Sender: No OFD packet to send [13:11:20]OFD Sender: No OFD packet to send [13:11:25]OFD Sender: No OFD packet to send [13:11:30]OFD Sender: No OFD packet to send [13:11:35]OFD Sender: No OFD packet to send [13:11:40]OFD Sender: No OFD packet to send [13:11:45]OFD Sender: No OFD packet to send [13:11:50]OFD Sender: No OFD packet to send [13:11:55]OFD Sender: No OFD packet to send [13:12:00]OFD Sender: No OFD packet to send [13:12:05]OFD Sender: No OFD packet to send [13:12:10]OFD Sender: No OFD packet to send [13:12:15]OFD Sender: No OFD packet to send [13:12:20]OFD Sender: No OFD packet to send [13:12:25]OFD Sender: No OFD packet to send [13:12:30]OFD Sender: No OFD packet to send [13:12:35]OFD Sender: No OFD packet to send [13:12:40]OFD Sender: No OFD packet to send [13:12:45]OFD Sender: No OFD packet to send [13:12:50]OFD Sender: No OFD packet to send [13:12:55]OFD Sender: No OFD packet to send [13:13:00]OFD Sender: No OFD packet to send [13:13:05]OFD Sender: No OFD packet to send [13:13:10]OFD Sender: No OFD packet to send [13:13:15]OFD Sender: No OFD packet to send [13:13:20]OFD Sender: No OFD packet to send [13:13:25]OFD Sender: No OFD packet to send [13:13:30]OFD Sender: No OFD packet to send [13:13:35]OFD Sender: No OFD packet to send [13:13:40]OFD Sender: No OFD packet to send [13:13:45]OFD Sender: No OFD packet to send [13:13:50]OFD Sender: No OFD packet to send [13:13:55]OFD Sender: No OFD packet to send [13:14:00]OFD Sender: No OFD packet to send [13:14:03]accept exits with 8 [13:14:03]New connection [13:14:03]New thread 3067067748 created [13:14:03]Thread 3066924388 joined [13:14:03]Waiting for new connection... [13:14:03] Sock 8.Parse request [13:14:03]Sock 8.Check first char [13:14:03]Sock 8.First char is OK [13:14:03]request: POST /json_proto HTTP/1.0 [13:14:03]Method: POST [13:14:03]URL: /json_proto [13:14:03]Method is POST - this is cgi request [13:14:03]url: /json_proto [13:14:03]query_string will be loaded in cgi processing [13:14:03]execute_cgi json_proto POST (null) [13:14:03]execute_cgi path=json_proto method=POST [13:14:03]POST find Content-Length [13:14:03]Host: 172.17.39.4:8080 [13:14:03]Content-Length: 781 [13:14:03]Content-Type: application/json [13:14:03] [13:14:03]POST finish read [13:14:03]Found Content-Length = 781 [13:14:03]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)855875", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 44", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-5", "price" : 74.40, "quantity" : 4.040, "sum" : 300.58, "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" ] } } [13:14:03]execute_script... [13:14:03]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)855875", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 44", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-5", "price" : 74.40, "quantity" : 4.040, "sum" : 300.58, "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" ] } } [13:14:03]POST & json_proto [13:14:03]process_json_proto [13:14:03]json parsed OK: [13:14:03]protocol is kg_v1.0 [13:14:03]action value=close_receipt [13:14:03]process_action close_receipt [13:14:03]cmd_close_receipt [13:14:03]MH_GetDate [13:14:03]Write to MH i2c: F0 00 00 7E 17 84 [13:14:03]Write i2c OK [13:14:03]MH_I2C_Read... [13:14:03]Read from MH i2c: F0 [13:14:03]MH_I2C_Read... [13:14:03]Read from MH i2c: F0 09 00 [13:14:03]MH_I2C_Read... [13:14:03]Read from MH i2c: F0 09 00 7E 17 00 9F 20 95 66 2D 25 5D 64 5A [13:14:03]GetLastDocTimeStamp 1721047390 [13:14:03]current date 1721049247 [13:14:03]FM_GetShiftState [13:14:03]SAM_PROTO_GetShiftState [13:14:03]wFMCommunicate request_size=4 [13:14:03]MH_SAM_APDU [13:14:03]CAPDU: 80 13 01 00 [13:14:03]Write to MH i2c: E2 08 00 7F 17 80 13 01 00 00 00 00 00 13 [13:14:03]Write i2c OK [13:14:03]MH_I2C_Read... [13:14:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:14:03]Read from MH i2c: E2 [13:14:03]MH_I2C_Read... [13:14:03]Read from MH i2c: E2 0E 00 [13:14:03]MH_I2C_Read... [13:14:03]Read from MH i2c: E2 0E 00 7F 17 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 8C [13:14:03]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [13:14:03]wFMCommunicate OK [13:14:03]SAM_PROTO_GetShiftState done [13:14:03]FM_GetShiftState done [13:14:03]opened in 1721003525 [13:14:03]opened+sec_in_day 1721089925 [13:14:03]quantity*price = 30057 [13:14:03]sum+1 = 30059 [13:14:03]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.58 ИТОГО: 300.00 Внесено: 300.00 СДАЧА: 0.00 НСП 1% : 2.66 НДС 12% : 31.92 Наличными: 300.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 70 15.07.2024 13:14 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57175 ФПД: 198943601293804 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T131407&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57175&fm=198943601293804&tin=02508201610067®Number=0000000000091208&sum=30000 [13:14:04]StoreToDocumentArchive [13:14:04]shift 497 fd 57175 [13:14:04]save to /storage/0497/doc_00057175 [13:14:04]save last doc name /storage/0497/doc_00057175 to /storage/kkm_last_doc_name [13:14:04]save OK [13:14:04]Clear old archive folders... [13:14:04]ProcessDocumentItem done err = 0, tmpTLVsize=251 [13:14:04]tlvbuf is 009D2BA0 [13:14:04]SAM_PROTO_ClearQueue [13:14:04]wFMCommunicate request_size=4 [13:14:04]MH_SAM_APDU [13:14:04]CAPDU: 80 09 00 00 [13:14:04]Write to MH i2c: E2 08 00 8C 17 80 09 00 00 00 00 00 00 15 [13:14:04]Write i2c OK [13:14:04]MH_I2C_Read... [13:14:04]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:14:04]Read from MH i2c: E2 [13:14:04]MH_I2C_Read... [13:14:04]Read from MH i2c: E2 03 00 [13:14:04]MH_I2C_Read... [13:14:04]Read from MH i2c: E2 03 00 8C 17 00 90 00 17 [13:14:04]RAPDU: 90 00 [13:14:04]wFMCommunicate OK [13:14:04]SAM_PROTO_ClearQueue done [13:14:04]KKMCreateOFDPacket [13:14:04]OFDProtocolAddRootSTLVToBuf [13:14:04]FM_MakeSignedData [13:14:04]FM_MakeSignedData [13:14:04]SAM_PROTO_SignData [13:14:04]wFMCommunicate request_size=4 [13:14:04]MH_SAM_APDU [13:14:04]CAPDU: 80 0D 01 02 [13:14:04]Write to MH i2c: E2 08 00 8D 17 80 0D 01 02 00 00 00 00 1D [13:14:04]Write i2c OK [13:14:04]MH_I2C_Read... [13:14:04]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:14:04]Read from MH i2c: E2 [13:14:04]MH_I2C_Read... [13:14:04]Read from MH i2c: E2 03 00 [13:14:04]MH_I2C_Read... [13:14:04]Read from MH i2c: E2 03 00 8D 17 00 90 00 18 [13:14:04]RAPDU: 90 00 [13:14:04]wFMCommunicate OK [13:14:04]wFMCommunicate request_size=255 [13:14:04]MH_SAM_APDU [13:14:04]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 C8 0F 00 00 00 00 00 37 04 06 00 10 1D 00 00 00 00 13 04 06 00 6A 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 78 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 46 00 00 00 F4 03 04 00 9F 20 95 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 57 DF 00 00 35 04 06 00 B4 [13:14:04]Write to MH i2c: E2 02 01 8E 17 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 C8 0F 00 00 00 00 00 37 04 06 00 10 1D 00 00 00 00 13 04 06 00 6A 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 78 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 46 00 00 00 F4 03 04 00 9F 20 95 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 57 DF 00 00 35 04 06 00 B4 00 00 C5 [13:14:04]Write i2c OK [13:14:04]MH_I2C_Read... [13:14:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:14:04]Read from MH i2c: E2 [13:14:04]MH_I2C_Read... [13:14:04]Read from MH i2c: E2 03 00 [13:14:04]MH_I2C_Read... [13:14:04]Read from MH i2c: E2 03 00 8E 17 00 90 00 19 [13:14:04]RAPDU: 90 00 [13:14:04]wFMCommunicate OK [13:14:04]wFMCommunicate request_size=10 [13:14:04]MH_SAM_APDU [13:14:04]CAPDU: 80 0D 02 02 05 F0 2A AF 79 EC [13:14:04]Write to MH i2c: E2 0D 00 8F 17 80 0D 02 02 05 00 F0 2A AF 79 EC 00 00 58 [13:14:04]Write i2c OK [13:14:04]MH_I2C_Read... [13:14:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:14:04]Read from MH i2c: E2 [13:14:04]MH_I2C_Read... [13:14:04]Read from MH i2c: E2 03 00 [13:14:04]MH_I2C_Read... [13:14:04]Read from MH i2c: E2 03 00 8F 17 00 90 00 1A [13:14:04]RAPDU: 90 00 [13:14:04]wFMCommunicate OK [13:14:04]wFMCommunicate request_size=4 [13:14:04]MH_SAM_APDU [13:14:04]CAPDU: 80 0D 03 02 [13:14:04]Write to MH i2c: E2 08 00 90 17 80 0D 03 02 00 00 00 00 22 [13:14:04]Write i2c OK [13:14:04]MH_I2C_Read... [13:14:04]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:14:04]Read from MH i2c: E2 [13:14:04]MH_I2C_Read... [13:14:04]Read from MH i2c: E2 0B 00 [13:14:04]MH_I2C_Read... [13:14:04]Read from MH i2c: E2 0B 00 90 17 00 C3 C2 CB 4D 5F 94 94 E5 90 00 2C [13:14:04]RAPDU: C3 C2 CB 4D 5F 94 94 E5 90 00 [13:14:04]wFMCommunicate OK [13:14:04]SAM_PROTO_SignData done [13:14:04]FM_MakeSignedData done [13:14:04]CreateOFDProtocolMessage [13:14:04]wFMCommunicate request_size=4 [13:14:04]MH_SAM_APDU [13:14:04]CAPDU: 80 11 00 00 [13:14:04]Write to MH i2c: E2 08 00 91 17 80 11 00 00 00 00 00 00 22 [13:14:04]Write i2c OK [13:14:04]MH_I2C_Read... [13:14:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:14:04]Read from MH i2c: E2 [13:14:04]MH_I2C_Read... [13:14:04]Read from MH i2c: E2 17 00 [13:14:04]MH_I2C_Read... [13:14:04]Read from MH i2c: E2 17 00 91 17 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 7C [13:14:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [13:14:04]wFMCommunicate OK [13:14:04]CreateOFDProtocolMessage done [13:14:04]OFDSenderStorePacket 57175 [13:14:04]StoreOFDPacket docnum=57175 [13:14: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 0F 01 00 00 17 1A 07 01 F6 53 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 C8 0F 00 00 00 00 00 37 04 06 00 10 1D 00 00 00 00 13 04 06 00 6A 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 78 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 46 00 00 00 F4 03 04 00 9F 20 95 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 57 DF 00 00 35 04 06 00 B4 F0 2A AF 79 EC C3 C2 CB 4D 5F 94 94 E5 [13:14:04]CheckFolder [13:14:04]dirname=/storage/ofd_packets [13:14:04]CheckFolder done [13:14:04]ProducePacketName [13:14:04]name=ofd_packets/00057175 [13:14:04]NVStorageSaveData ofd_packets/00057175 [13:14:04]File name is /storage/ofd_packets/00057175 [13:14:04]Write 301 bytes [13:14:04]NVStorageSaveData done [13:14:04]OFDSenderStorePacket done [13:14:04]KKMCreateOFDPacket done [13:14:04]NVStorageSaveData kkm_last_timestamp [13:14:04]File name is /storage/kkm_last_timestamp [13:14:04]Write 4 bytes [13:14:04]NVStorageSaveData done [13:14:04]ExternCall_PrintAddStr [13:14:04]wPrintStart [13:14:04]Write to MH i2c: 01 00 00 92 17 A9 [13:14:04]Write i2c OK [13:14:04]MH_I2C_Read... [13:14:04]Read from MH i2c: 01 [13:14:04]MH_I2C_Read... [13:14:04]Read from MH i2c: 01 07 00 [13:14:04]MH_I2C_Read... [13:14:04]Read from MH i2c: 01 07 00 92 17 00 00 00 00 00 FF 0F BE [13:14:04]RasterBufferAndPrint [13:14:04]line Счет N : (1)855875 [13:14:04]line ИНН: 02508201610067 [13:14:04]line Контрольно-Кассовый Чек [13:14:04]line ПРОДАЖА [13:14:04]line ТРК (МРК, ГНК) : 44 [13:14:04]line Товар: 2710124500 [13:14:04]line Аи-95-К-5 [13:14:04]line 4.040 * 74.40 [13:14:04]line = 300.58 [13:14:04]line НДС 12% НСП 1% [13:14:04]line > о реализуемом товаре [13:14:04]line ОКРУГЛЕНИЕ: -0.58 [13:14:04]line ИТОГО: 300.00 [13:14:04]line Внесено: 300.00 [13:14:04]line СДАЧА: 0.00 [13:14:04]line НСП 1% : 2.66 [13:14:04]line НДС 12% : 31.92 [13:14:04]line Наличными: 300.00 [13:14:04]line Безнал.: 0.00 [13:14:04]line Место: АЗС № 132 "Партнер Нефть" [13:14:04]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [13:14:04]line СНО: Общий режим [13:14:04]line Чек 70 15.07.2024 13:14 [13:14:04]line Смена: 497 ФФД: 1.0 [13:14:04]line ЗНМ: 0300000132 [13:14:04]line РНМ: 0000000000091208 [13:14:04]line Версия ККМ: 001 [13:14:04]line ФМ: 0000000000874857 [13:14:04]line ФД: 57175 [13:14:04]line ФПД: 198943601293804 [13:14:04]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T131407&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57175&fm=198943601293804&tin=02508201610067®Number=0000000000091208&sum=30000 [13:14:05]written 0, free lines is 4095 [13:14:05]OFD Sender: Processing packet 57175 [packets to send 38, broken 37] [13:14:05]ProducePacketName [13:14:05]name=ofd_packets/00057175 [13:14:05]OFD Sender: To server: pG, [13:14:05]CommunicateWithHost lk.salyk.kg:30040 [13:14:05]ConnectInit lk.salyk.kg [13:14:05]Connected sock=10 [13:14: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 0F 01 00 00 17 1A 07 01 F6 53 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 C8 0F 00 00 00 00 00 37 04 06 00 10 1D 00 00 00 00 13 04 06 00 6A 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 78 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 46 00 00 00 F4 03 04 00 9F 20 95 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 57 DF 00 00 35 04 06 00 B4 F0 2A AF 79 EC C3 C2 CB 4D 5F 94 94 E5 [13:14:05]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 5C D0 47 00 09 D9 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 57 DF 00 00 F4 03 04 00 ED C6 94 66 B6 04 01 00 00 34 D3 40 1C E8 21 ED 32 [13:14:05]CommunicateWithHost err = 0 [13:14:05]CheckOFDResponse [13:14:05]1017 (14) - 77093643461234 [13:14:05]1041 (16) - 0000000000874857 [13:14:05]1040 (4) - 57175 [13:14:05]1012 (4) - 15.07.2024 06:51 [13:14:05]1206 (1) - 0 [13:14:05]OFD Sender: Remove packet 57175 [13:14:05]ProducePacketName [13:14:05]name=ofd_packets/00057175 [13:14:05]NVStorageDeleteData [13:14:05]Write to MH i2c: 01 00 00 BD 17 D4 [13:14:05]Write i2c OK [13:14:05]MH_I2C_Read... [13:14:05]Read from MH i2c: 01 [13:14:05]MH_I2C_Read... [13:14:05]Read from MH i2c: 01 07 00 [13:14:05]MH_I2C_Read... [13:14:05]Read from MH i2c: 01 07 00 BD 17 00 00 00 00 00 E0 0C C7 [13:14:05]RasterBufferAndPrint [13:14:05]line [13:14:05]line [13:14:05]line [13:14:05]line [13:14:05]line [13:14:05]written 0, free lines is 3301 [13:14:05]MH_Cut [13:14:05]Write to MH i2c: D1 01 00 C4 17 01 AD [13:14:05]Write i2c OK [13:14:05]MH_I2C_Read... [13:14:05]Read from MH i2c: D1 [13:14:05]MH_I2C_Read... [13:14:05]Read from MH i2c: D1 01 00 [13:14:05]MH_I2C_Read... [13:14:05]Read from MH i2c: D1 01 00 C4 17 00 AC [13:14:05]Write to MH i2c: 01 00 00 C5 17 DC [13:14:05]Write i2c OK [13:14:05]MH_I2C_Read... [13:14:06]OFD Sender: No OFD packet to send [13:14:06]*** Cut start [13:14:06]*** Partial cut [13:14:06]*** CUTSNS_PIN = 1 [13:14:06]*** CUTSNS_PIN = 0 [13:14:06]*** Brake cut motor [13:14:07]Read from MH i2c: 01 [13:14:07]MH_I2C_Read... [13:14:07]*** Stop cut motor [13:14:07]*** Cut end [13:14:07]Read from MH i2c: 01 07 00 [13:14:07]MH_I2C_Read... [13:14:07]Read from MH i2c: 01 07 00 C5 17 00 00 00 00 00 FF 0F F1 [13:14:07]process_action close_receipt done [13:14:07]requested_data is exist [13:14:07]produce_requested_data [13:14:07]requested_item fm.sn is exist - process it [13:14:07]wFMCommunicate request_size=4 [13:14:07]MH_SAM_APDU [13:14:07]CAPDU: 80 11 00 00 [13:14:07]Write to MH i2c: E2 08 00 C6 17 80 11 00 00 00 00 00 00 57 [13:14:07]Write i2c OK [13:14:07]MH_I2C_Read... [13:14:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:14:07]Read from MH i2c: E2 [13:14:07]MH_I2C_Read... [13:14:07]Read from MH i2c: E2 17 00 [13:14:07]MH_I2C_Read... [13:14:07]Read from MH i2c: E2 17 00 C6 17 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 B1 [13:14:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [13:14:07]wFMCommunicate OK [13:14:07]requested_item fd.num is exist - process it [13:14:07]SAM_PROTO_GetFieldsCounters [13:14:07]wFMCommunicate request_size=4 [13:14:07]MH_SAM_APDU [13:14:07]CAPDU: 80 13 00 00 [13:14:07]Write to MH i2c: E2 08 00 C7 17 80 13 00 00 00 00 00 00 5A [13:14:07]Write i2c OK [13:14:07]MH_I2C_Read... [13:14:07]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:14:07]Read from MH i2c: E2 [13:14:07]MH_I2C_Read... [13:14:07]Read from MH i2c: E2 62 00 [13:14:07]MH_I2C_Read... [13:14:07]Read from MH i2c: E2 62 00 C7 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 57 DF 00 00 0E 04 04 00 F1 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 77 [13:14: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 57 DF 00 00 0E 04 04 00 F1 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 [13:14:07]wFMCommunicate OK [13:14:07]SAM_PROTO_GetFieldsCounters done [13:14:07]requested_item shift.num is exist - process it [13:14:07]requested_item shift.opened is exist - process it [13:14:07]req_shift_opened [13:14:07]FM_GetShiftState [13:14:07]SAM_PROTO_GetShiftState [13:14:07]wFMCommunicate request_size=4 [13:14:07]MH_SAM_APDU [13:14:07]CAPDU: 80 13 01 00 [13:14:07]Write to MH i2c: E2 08 00 C8 17 80 13 01 00 00 00 00 00 5C [13:14:07]Write i2c OK [13:14:07]MH_I2C_Read... [13:14:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:14:07]Read from MH i2c: E2 [13:14:07]MH_I2C_Read... [13:14:07]Read from MH i2c: E2 0E 00 [13:14:07]MH_I2C_Read... [13:14:07]Read from MH i2c: E2 0E 00 C8 17 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 D5 [13:14:07]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [13:14:07]wFMCommunicate OK [13:14:07]SAM_PROTO_GetShiftState done [13:14:07]FM_GetShiftState done [13:14:07]req_shift_opened done [13:14:07]requested_item shift.open_date is exist - process it [13:14:07]req_shift_open_date [13:14:07]req_shift_open_date done [13:14:07]requested_item shift.sale.total is exist - process it [13:14:07]SAM_PROTO_GetShiftData [13:14:07]wFMCommunicate request_size=4 [13:14:07]MH_SAM_APDU [13:14:07]CAPDU: 80 13 02 00 [13:14:07]Write to MH i2c: E2 08 00 C9 17 80 13 02 00 00 00 00 00 5E [13:14:07]Write i2c OK [13:14:07]MH_I2C_Read... [13:14:07]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [13:14:07]Read from MH i2c: E2 [13:14:07]MH_I2C_Read... [13:14:07]Read from MH i2c: E2 FD 00 [13:14:07]MH_I2C_Read... [13:14:07]Read from MH i2c: E2 FD 00 C9 17 00 B6 04 AA 04 B2 04 6E 04 04 00 46 00 00 00 69 04 9B 00 6F 04 04 00 45 00 00 00 B1 04 03 00 E1 B9 1A 70 04 03 00 CC A5 15 72 04 03 00 15 14 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 97 D6 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 89 3C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 E7 [13:14:07]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 46 00 00 00 69 04 9B 00 6F 04 04 00 45 00 00 00 B1 04 03 00 E1 B9 1A 70 04 03 00 CC A5 15 72 04 03 00 15 14 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 97 D6 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 89 3C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 [13:14:07]wFMCommunicate OK [13:14:07]wFMCommunicate request_size=4 [13:14:07]MH_SAM_APDU [13:14:07]CAPDU: 80 17 00 00 [13:14:07]Write to MH i2c: E2 08 00 CA 17 80 17 00 00 00 00 00 00 61 [13:14:07]Write i2c OK [13:14:07]MH_I2C_Read... [13:14:08]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:14:08]Read from MH i2c: E2 [13:14:08]MH_I2C_Read... [13:14:08]Read from MH i2c: E2 FD 00 [13:14:08]MH_I2C_Read... [13:14:08]Read from MH i2c: E2 FD 00 CA 17 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 96 [13:14:08]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 [13:14:08]wFMCommunicate OK [13:14:08]wFMCommunicate request_size=4 [13:14:08]MH_SAM_APDU [13:14:08]CAPDU: 80 17 00 00 [13:14:08]Write to MH i2c: E2 08 00 CB 17 80 17 00 00 00 00 00 00 62 [13:14:08]Write i2c OK [13:14:08]MH_I2C_Read... [13:14:08]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:14:08]Read from MH i2c: E2 [13:14:08]MH_I2C_Read... [13:14:08]Read from MH i2c: E2 FD 00 [13:14:08]MH_I2C_Read... [13:14:08]Read from MH i2c: E2 FD 00 CB 17 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 22 [13:14:08]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 [13:14:08]wFMCommunicate OK [13:14:08]wFMCommunicate request_size=4 [13:14:08]MH_SAM_APDU [13:14:08]CAPDU: 80 17 00 00 [13:14:08]Write to MH i2c: E2 08 00 CC 17 80 17 00 00 00 00 00 00 63 [13:14:08]Write i2c OK [13:14:08]MH_I2C_Read... [13:14:08]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:14:08]Read from MH i2c: E2 [13:14:08]MH_I2C_Read... [13:14:08]Read from MH i2c: E2 FD 00 [13:14:08]MH_I2C_Read... [13:14:08]Read from MH i2c: E2 FD 00 CC 17 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 D2 [13:14:08]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 [13:14:08]wFMCommunicate OK [13:14:08]wFMCommunicate request_size=4 [13:14:08]MH_SAM_APDU [13:14:08]CAPDU: 80 17 00 00 [13:14:08]Write to MH i2c: E2 08 00 CD 17 80 17 00 00 00 00 00 00 64 [13:14:08]Write i2c OK [13:14:08]MH_I2C_Read... [13:14:08]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [13:14:08]Read from MH i2c: E2 [13:14:08]MH_I2C_Read... [13:14:08]Read from MH i2c: E2 D3 00 [13:14:08]MH_I2C_Read... [13:14:08]Read from MH i2c: E2 D3 00 CD 17 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 51 [13:14:08]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 [13:14:09]wFMCommunicate OK [13:14:09]SAM_PROTO_GetShiftData done [13:14:09]requested_item shift.sale.total_cash is exist - process it [13:14:09]requested_item shift.sale_refund.total is exist - process it [13:14:09]requested_item shift.sale_refund.total_cash is exist - process it [13:14:09]produce_requested_data done [13:14:09]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57175,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":17515.21,"shift.sale.total_cash":14187.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [13:14:09]process_action_free close_receipt [13:14:09]json_value_free [13:14:09]json_value_free done [13:14:09]process_json_proto returns [13:14:09]Send response to host [13:14:09]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57175,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":17515.21,"shift.sale.total_cash":14187.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [13:14:09]free response buf [13:14:09]execute_script done [13:14:09]execute_script returns [13:14:09]free content buf [13:14:09]Sock 8.Close socket [13:14:09]Sock 8.Thread stoped [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:39]accept exits with 9 [13:14:39]New connection [13:14:39]New thread 3066924388 created [13:14:39]Thread 3067067748 joined [13:14:39]Waiting for new connection... [13:14:39] Sock 9.Parse request [13:14:39]Sock 9.Check first char [13:14:39]Sock 9.First char is OK [13:14:39]request: POST /json_proto HTTP/1.0 [13:14:39]Method: POST [13:14:39]URL: /json_proto [13:14:39]Method is POST - this is cgi request [13:14:39]url: /json_proto [13:14:39]query_string will be loaded in cgi processing [13:14:39]execute_cgi json_proto POST (null) [13:14:39]execute_cgi path=json_proto method=POST [13:14:39]POST find Content-Length [13:14:39]Host: 172.17.39.4:8080 [13:14:39]Content-Length: 781 [13:14:39]Content-Type: application/json [13:14:39] [13:14:39]POST finish read [13:14:39]Found Content-Length = 781 [13:14:39]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)855876", "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" : 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" ] } } [13:14:39]execute_script... [13:14:39]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)855876", "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" : 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" ] } } [13:14:39]POST & json_proto [13:14:39]process_json_proto [13:14:39]json parsed OK: [13:14:39]protocol is kg_v1.0 [13:14:39]action value=close_receipt [13:14:39]process_action close_receipt [13:14:39]cmd_close_receipt [13:14:39]MH_GetDate [13:14:39]Write to MH i2c: F0 00 00 CE 17 D4 [13:14:39]Write i2c OK [13:14:39]MH_I2C_Read... [13:14:39]Read from MH i2c: F0 [13:14:39]MH_I2C_Read... [13:14:39]Read from MH i2c: F0 09 00 [13:14:39]MH_I2C_Read... [13:14:39]Read from MH i2c: F0 09 00 CE 17 00 C2 20 95 66 2D 25 5D 64 CD [13:14:39]GetLastDocTimeStamp 1721049247 [13:14:39]current date 1721049282 [13:14:39]FM_GetShiftState [13:14:39]SAM_PROTO_GetShiftState [13:14:39]wFMCommunicate request_size=4 [13:14:39]MH_SAM_APDU [13:14:39]CAPDU: 80 13 01 00 [13:14:39]Write to MH i2c: E2 08 00 CF 17 80 13 01 00 00 00 00 00 63 [13:14:39]Write i2c OK [13:14:39]MH_I2C_Read... [13:14:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:14:39]Read from MH i2c: E2 [13:14:39]MH_I2C_Read... [13:14:39]Read from MH i2c: E2 0E 00 [13:14:39]MH_I2C_Read... [13:14:39]Read from MH i2c: E2 0E 00 CF 17 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 DC [13:14:39]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [13:14:39]wFMCommunicate OK [13:14:39]SAM_PROTO_GetShiftState done [13:14:39]FM_GetShiftState done [13:14:39]opened in 1721003525 [13:14:39]opened+sec_in_day 1721089925 [13:14:39]quantity*price = 40045 [13:14:39]sum+1 = 40046 [13:14:39]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 СНО: Общий режим Чек 71 15.07.2024 13:14 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57176 ФПД: 75135869239720 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T131442&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57176&fm=75135869239720&tin=02508201610067®Number=0000000000091208&sum=40000 [13:14:40]StoreToDocumentArchive [13:14:40]shift 497 fd 57176 [13:14:40]save to /storage/0497/doc_00057176 [13:14:40]save last doc name /storage/0497/doc_00057176 to /storage/kkm_last_doc_name [13:14:40]save OK [13:14:40]Clear old archive folders... [13:14:40]ProcessDocumentItem done err = 0, tmpTLVsize=251 [13:14:40]tlvbuf is B6EDD220 [13:14:40]SAM_PROTO_ClearQueue [13:14:40]wFMCommunicate request_size=4 [13:14:40]MH_SAM_APDU [13:14:40]CAPDU: 80 09 00 00 [13:14:40]Write to MH i2c: E2 08 00 DC 17 80 09 00 00 00 00 00 00 65 [13:14:40]Write i2c OK [13:14:40]MH_I2C_Read... [13:14:40]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:14:40]Read from MH i2c: E2 [13:14:40]MH_I2C_Read... [13:14:40]Read from MH i2c: E2 03 00 [13:14:40]MH_I2C_Read... [13:14:40]Read from MH i2c: E2 03 00 DC 17 00 90 00 67 [13:14:40]RAPDU: 90 00 [13:14:40]wFMCommunicate OK [13:14:40]SAM_PROTO_ClearQueue done [13:14:40]KKMCreateOFDPacket [13:14:40]OFDProtocolAddRootSTLVToBuf [13:14:40]FM_MakeSignedData [13:14:40]FM_MakeSignedData [13:14:40]SAM_PROTO_SignData [13:14:40]wFMCommunicate request_size=4 [13:14:40]MH_SAM_APDU [13:14:40]CAPDU: 80 0D 01 02 [13:14:40]Write to MH i2c: E2 08 00 DD 17 80 0D 01 02 00 00 00 00 6D [13:14:40]Write i2c OK [13:14:40]MH_I2C_Read... [13:14:40]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:14:40]Read from MH i2c: E2 [13:14:40]MH_I2C_Read... [13:14:40]Read from MH i2c: E2 03 00 [13:14:40]MH_I2C_Read... [13:14:40]Read from MH i2c: E2 03 00 DD 17 00 90 00 68 [13:14:40]RAPDU: 90 00 [13:14:40]wFMCommunicate OK [13:14:40]wFMCommunicate request_size=255 [13:14:40]MH_SAM_APDU [13:14:40]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 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 47 00 00 00 F4 03 04 00 C2 20 95 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 58 DF 00 00 35 04 06 00 44 [13:14:40]Write to MH i2c: E2 02 01 DE 17 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 47 00 00 00 F4 03 04 00 C2 20 95 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 58 DF 00 00 35 04 06 00 44 00 00 89 [13:14:40]Write i2c OK [13:14:40]MH_I2C_Read... [13:14:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:14:40]Read from MH i2c: E2 [13:14:40]MH_I2C_Read... [13:14:40]Read from MH i2c: E2 03 00 [13:14:40]MH_I2C_Read... [13:14:40]Read from MH i2c: E2 03 00 DE 17 00 90 00 69 [13:14:40]RAPDU: 90 00 [13:14:40]wFMCommunicate OK [13:14:40]wFMCommunicate request_size=10 [13:14:40]MH_SAM_APDU [13:14:40]CAPDU: 80 0D 02 02 05 55 EE CB C1 A8 [13:14:40]Write to MH i2c: E2 0D 00 DF 17 80 0D 02 02 05 00 55 EE CB C1 A8 00 00 F1 [13:14:40]Write i2c OK [13:14:40]MH_I2C_Read... [13:14:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:14:40]Read from MH i2c: E2 [13:14:40]MH_I2C_Read... [13:14:40]Read from MH i2c: E2 03 00 [13:14:40]MH_I2C_Read... [13:14:40]Read from MH i2c: E2 03 00 DF 17 00 90 00 6A [13:14:40]RAPDU: 90 00 [13:14:40]wFMCommunicate OK [13:14:40]wFMCommunicate request_size=4 [13:14:40]MH_SAM_APDU [13:14:40]CAPDU: 80 0D 03 02 [13:14:40]Write to MH i2c: E2 08 00 E0 17 80 0D 03 02 00 00 00 00 72 [13:14:40]Write i2c OK [13:14:40]MH_I2C_Read... [13:14:40]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:14:40]Read from MH i2c: E2 [13:14:40]MH_I2C_Read... [13:14:40]Read from MH i2c: E2 0B 00 [13:14:40]MH_I2C_Read... [13:14:40]Read from MH i2c: E2 0B 00 E0 17 00 30 48 33 57 77 A7 85 BE 90 00 D6 [13:14:40]RAPDU: 30 48 33 57 77 A7 85 BE 90 00 [13:14:40]wFMCommunicate OK [13:14:40]SAM_PROTO_SignData done [13:14:40]FM_MakeSignedData done [13:14:40]CreateOFDProtocolMessage [13:14:40]wFMCommunicate request_size=4 [13:14:40]MH_SAM_APDU [13:14:40]CAPDU: 80 11 00 00 [13:14:40]Write to MH i2c: E2 08 00 E1 17 80 11 00 00 00 00 00 00 72 [13:14:40]Write i2c OK [13:14:40]MH_I2C_Read... [13:14:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:14:40]Read from MH i2c: E2 [13:14:40]MH_I2C_Read... [13:14:40]Read from MH i2c: E2 17 00 [13:14:40]MH_I2C_Read... [13:14:40]Read from MH i2c: E2 17 00 E1 17 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 CC [13:14:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [13:14:40]wFMCommunicate OK [13:14:40]CreateOFDProtocolMessage done [13:14:40]OFDSenderStorePacket 57176 [13:14:40]StoreOFDPacket docnum=57176 [13:14: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 0F 01 00 00 9F 97 07 01 BC 1A 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 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 47 00 00 00 F4 03 04 00 C2 20 95 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 58 DF 00 00 35 04 06 00 44 55 EE CB C1 A8 30 48 33 57 77 A7 85 BE [13:14:40]CheckFolder [13:14:40]dirname=/storage/ofd_packets [13:14:40]CheckFolder done [13:14:40]ProducePacketName [13:14:40]name=ofd_packets/00057176 [13:14:40]NVStorageSaveData ofd_packets/00057176 [13:14:40]File name is /storage/ofd_packets/00057176 [13:14:40]Write 301 bytes [13:14:40]NVStorageSaveData done [13:14:40]OFDSenderStorePacket done [13:14:40]KKMCreateOFDPacket done [13:14:40]NVStorageSaveData kkm_last_timestamp [13:14:40]File name is /storage/kkm_last_timestamp [13:14:40]Write 4 bytes [13:14:40]NVStorageSaveData done [13:14:40]ExternCall_PrintAddStr [13:14:40]wPrintStart [13:14:40]Write to MH i2c: 01 00 00 E2 17 F9 [13:14:40]Write i2c OK [13:14:40]MH_I2C_Read... [13:14:40]Read from MH i2c: 01 [13:14:40]MH_I2C_Read... [13:14:40]Read from MH i2c: 01 07 00 [13:14:40]MH_I2C_Read... [13:14:40]Read from MH i2c: 01 07 00 E2 17 00 00 00 00 00 FF 0F 0E [13:14:40]RasterBufferAndPrint [13:14:40]line Счет N : (1)855876 [13:14:40]line ИНН: 02508201610067 [13:14:40]line Контрольно-Кассовый Чек [13:14:40]line ПРОДАЖА [13:14:40]line ТРК (МРК, ГНК) : 33 [13:14:40]line Товар: 2710124130 [13:14:40]line Аи-92-К-5 [13:14:40]line 6.040 * 66.30 [13:14:40]line = 400.45 [13:14:40]line НДС 12% НСП 1% [13:14:40]line > о реализуемом товаре [13:14:40]line ОКРУГЛЕНИЕ: -0.45 [13:14:40]line ИТОГО: 400.00 [13:14:40]line Внесено: 400.00 [13:14:40]line СДАЧА: 0.00 [13:14:40]line НСП 1% : 3.54 [13:14:40]line НДС 12% : 42.53 [13:14:40]line Наличными: 400.00 [13:14:40]line Безнал.: 0.00 [13:14:40]line Место: АЗС № 132 "Партнер Нефть" [13:14:40]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [13:14:40]line СНО: Общий режим [13:14:40]line Чек 71 15.07.2024 13:14 [13:14:40]line Смена: 497 ФФД: 1.0 [13:14:40]line ЗНМ: 0300000132 [13:14:40]line РНМ: 0000000000091208 [13:14:40]line Версия ККМ: 001 [13:14:40]line ФМ: 0000000000874857 [13:14:40]line ФД: 57176 [13:14:40]line ФПД: 75135869239720 [13:14:40]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T131442&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57176&fm=75135869239720&tin=02508201610067®Number=0000000000091208&sum=40000 [13:14:41]written 0, free lines is 4095 [13:14:41]OFD Sender: Processing packet 57176 [packets to send 38, broken 37] [13:14:41]ProducePacketName [13:14:41]name=ofd_packets/00057176 [13:14:41]OFD Sender: To server: pG, [13:14:41]CommunicateWithHost lk.salyk.kg:30040 [13:14:41]ConnectInit lk.salyk.kg [13:14:41]Connected sock=10 [13:14: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 0F 01 00 00 9F 97 07 01 BC 1A 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 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 47 00 00 00 F4 03 04 00 C2 20 95 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 58 DF 00 00 35 04 06 00 44 55 EE CB C1 A8 30 48 33 57 77 A7 85 BE [13:14: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 32 6F 47 00 41 A5 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 58 DF 00 00 F4 03 04 00 11 C7 94 66 B6 04 01 00 00 CC 12 0F 63 89 F1 5C 26 [13:14:41]CommunicateWithHost err = 0 [13:14:41]CheckOFDResponse [13:14:41]1017 (14) - 77093643461234 [13:14:41]1041 (16) - 0000000000874857 [13:14:41]1040 (4) - 57176 [13:14:41]1012 (4) - 15.07.2024 06:52 [13:14:41]1206 (1) - 0 [13:14:41]OFD Sender: Remove packet 57176 [13:14:41]ProducePacketName [13:14:41]name=ofd_packets/00057176 [13:14:41]NVStorageDeleteData [13:14:41]Write to MH i2c: 01 00 00 0D 18 25 [13:14:41]Write i2c OK [13:14:41]MH_I2C_Read... [13:14:41]Read from MH i2c: 01 [13:14:41]MH_I2C_Read... [13:14:41]Read from MH i2c: 01 07 00 [13:14:41]MH_I2C_Read... [13:14:41]Read from MH i2c: 01 07 00 0D 18 00 00 00 00 00 DD 0C 15 [13:14:41]RasterBufferAndPrint [13:14:41]line [13:14:41]line [13:14:41]line [13:14:41]line [13:14:41]line [13:14:41]written 0, free lines is 3299 [13:14:41]MH_Cut [13:14:41]Write to MH i2c: D1 01 00 14 18 01 FE [13:14:41]Write i2c OK [13:14:41]MH_I2C_Read... [13:14:41]Read from MH i2c: D1 [13:14:41]MH_I2C_Read... [13:14:41]Read from MH i2c: D1 01 00 [13:14:41]MH_I2C_Read... [13:14:41]Read from MH i2c: D1 01 00 14 18 00 FD [13:14:41]Write to MH i2c: 01 00 00 15 18 2D [13:14:41]Write i2c OK [13:14:41]MH_I2C_Read... [13:14:42]OFD Sender: No OFD packet to send [13:14:42]*** Cut start [13:14:42]*** Partial cut [13:14:42]*** CUTSNS_PIN = 1 [13:14:42]*** CUTSNS_PIN = 0 [13:14:42]*** Brake cut motor [13:14:43]Read from MH i2c: 01 [13:14:43]MH_I2C_Read... [13:14:43]*** Stop cut motor [13:14:43]*** Cut end [13:14:43]Read from MH i2c: 01 07 00 [13:14:43]MH_I2C_Read... [13:14:43]Read from MH i2c: 01 07 00 15 18 00 00 00 00 00 FF 0F 42 [13:14:43]process_action close_receipt done [13:14:43]requested_data is exist [13:14:43]produce_requested_data [13:14:43]requested_item fm.sn is exist - process it [13:14:43]wFMCommunicate request_size=4 [13:14:43]MH_SAM_APDU [13:14:43]CAPDU: 80 11 00 00 [13:14:43]Write to MH i2c: E2 08 00 16 18 80 11 00 00 00 00 00 00 A8 [13:14:43]Write i2c OK [13:14:43]MH_I2C_Read... [13:14:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:14:43]Read from MH i2c: E2 [13:14:43]MH_I2C_Read... [13:14:43]Read from MH i2c: E2 17 00 [13:14:43]MH_I2C_Read... [13:14:43]Read from MH i2c: E2 17 00 16 18 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 02 [13:14:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [13:14:43]wFMCommunicate OK [13:14:43]requested_item fd.num is exist - process it [13:14:43]SAM_PROTO_GetFieldsCounters [13:14:43]wFMCommunicate request_size=4 [13:14:43]MH_SAM_APDU [13:14:43]CAPDU: 80 13 00 00 [13:14:43]Write to MH i2c: E2 08 00 17 18 80 13 00 00 00 00 00 00 AB [13:14:43]Write i2c OK [13:14:43]MH_I2C_Read... [13:14:43]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:14:43]Read from MH i2c: E2 [13:14:43]MH_I2C_Read... [13:14:43]Read from MH i2c: E2 62 00 [13:14:43]MH_I2C_Read... [13:14:43]Read from MH i2c: E2 62 00 17 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 58 DF 00 00 0E 04 04 00 F1 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 CC [13:14: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 58 DF 00 00 0E 04 04 00 F1 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 [13:14:43]wFMCommunicate OK [13:14:43]SAM_PROTO_GetFieldsCounters done [13:14:43]requested_item shift.num is exist - process it [13:14:43]requested_item shift.opened is exist - process it [13:14:43]req_shift_opened [13:14:43]FM_GetShiftState [13:14:43]SAM_PROTO_GetShiftState [13:14:43]wFMCommunicate request_size=4 [13:14:43]MH_SAM_APDU [13:14:43]CAPDU: 80 13 01 00 [13:14:43]Write to MH i2c: E2 08 00 18 18 80 13 01 00 00 00 00 00 AD [13:14:43]Write i2c OK [13:14:43]MH_I2C_Read... [13:14:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:14:43]Read from MH i2c: E2 [13:14:43]MH_I2C_Read... [13:14:43]Read from MH i2c: E2 0E 00 [13:14:43]MH_I2C_Read... [13:14:43]Read from MH i2c: E2 0E 00 18 18 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 26 [13:14:43]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [13:14:43]wFMCommunicate OK [13:14:43]SAM_PROTO_GetShiftState done [13:14:43]FM_GetShiftState done [13:14:43]req_shift_opened done [13:14:43]requested_item shift.open_date is exist - process it [13:14:43]req_shift_open_date [13:14:43]req_shift_open_date done [13:14:43]requested_item shift.sale.total is exist - process it [13:14:43]SAM_PROTO_GetShiftData [13:14:43]wFMCommunicate request_size=4 [13:14:43]MH_SAM_APDU [13:14:43]CAPDU: 80 13 02 00 [13:14:43]Write to MH i2c: E2 08 00 19 18 80 13 02 00 00 00 00 00 AF [13:14:43]Write i2c OK [13:14:43]MH_I2C_Read... [13:14:43]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [13:14:43]Read from MH i2c: E2 [13:14:43]MH_I2C_Read... [13:14:43]Read from MH i2c: E2 FD 00 [13:14:43]MH_I2C_Read... [13:14:43]Read from MH i2c: E2 FD 00 19 18 00 B6 04 AA 04 B2 04 6E 04 04 00 47 00 00 00 69 04 9B 00 6F 04 04 00 46 00 00 00 B1 04 03 00 21 56 1B 70 04 03 00 0C 42 16 72 04 03 00 15 14 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 34 E7 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 EB 3D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 07 [13:14:43]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 47 00 00 00 69 04 9B 00 6F 04 04 00 46 00 00 00 B1 04 03 00 21 56 1B 70 04 03 00 0C 42 16 72 04 03 00 15 14 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 34 E7 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 EB 3D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 [13:14:43]wFMCommunicate OK [13:14:43]wFMCommunicate request_size=4 [13:14:43]MH_SAM_APDU [13:14:43]CAPDU: 80 17 00 00 [13:14:43]Write to MH i2c: E2 08 00 1A 18 80 17 00 00 00 00 00 00 B2 [13:14:43]Write i2c OK [13:14:43]MH_I2C_Read... [13:14:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:14:44]Read from MH i2c: E2 [13:14:44]MH_I2C_Read... [13:14:44]Read from MH i2c: E2 FD 00 [13:14:44]MH_I2C_Read... [13:14:44]Read from MH i2c: E2 FD 00 1A 18 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 E7 [13:14:44]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 [13:14:44]wFMCommunicate OK [13:14:44]wFMCommunicate request_size=4 [13:14:44]MH_SAM_APDU [13:14:44]CAPDU: 80 17 00 00 [13:14:44]Write to MH i2c: E2 08 00 1B 18 80 17 00 00 00 00 00 00 B3 [13:14:44]Write i2c OK [13:14:44]MH_I2C_Read... [13:14:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:14:44]Read from MH i2c: E2 [13:14:44]MH_I2C_Read... [13:14:44]Read from MH i2c: E2 FD 00 [13:14:44]MH_I2C_Read... [13:14:44]Read from MH i2c: E2 FD 00 1B 18 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 73 [13:14:44]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 [13:14:44]wFMCommunicate OK [13:14:44]wFMCommunicate request_size=4 [13:14:44]MH_SAM_APDU [13:14:44]CAPDU: 80 17 00 00 [13:14:44]Write to MH i2c: E2 08 00 1C 18 80 17 00 00 00 00 00 00 B4 [13:14:44]Write i2c OK [13:14:44]MH_I2C_Read... [13:14:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:14:44]Read from MH i2c: E2 [13:14:44]MH_I2C_Read... [13:14:44]Read from MH i2c: E2 FD 00 [13:14:44]MH_I2C_Read... [13:14:44]Read from MH i2c: E2 FD 00 1C 18 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 23 [13:14:44]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 [13:14:44]wFMCommunicate OK [13:14:44]wFMCommunicate request_size=4 [13:14:44]MH_SAM_APDU [13:14:44]CAPDU: 80 17 00 00 [13:14:44]Write to MH i2c: E2 08 00 1D 18 80 17 00 00 00 00 00 00 B5 [13:14:44]Write i2c OK [13:14:44]MH_I2C_Read... [13:14:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [13:14:44]Read from MH i2c: E2 [13:14:44]MH_I2C_Read... [13:14:44]Read from MH i2c: E2 D3 00 [13:14:44]MH_I2C_Read... [13:14:44]Read from MH i2c: E2 D3 00 1D 18 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 A2 [13:14:44]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 [13:14:44]wFMCommunicate OK [13:14:44]SAM_PROTO_GetShiftData done [13:14:44]requested_item shift.sale.total_cash is exist - process it [13:14:44]requested_item shift.sale_refund.total is exist - process it [13:14:44]requested_item shift.sale_refund.total_cash is exist - process it [13:14:44]produce_requested_data done [13:14:44]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57176,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":17915.21,"shift.sale.total_cash":14587.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [13:14:44]process_action_free close_receipt [13:14:44]json_value_free [13:14:44]json_value_free done [13:14:44]process_json_proto returns [13:14:44]Send response to host [13:14:44]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57176,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":17915.21,"shift.sale.total_cash":14587.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [13:14:44]free response buf [13:14:44]execute_script done [13:14:44]execute_script returns [13:14:44]free content buf [13:14:44]Sock 9.Close socket [13:14:44]Sock 9.Thread stoped [13:14:47]OFD Sender: No OFD packet to send [13:14:52]OFD Sender: No OFD packet to send [13:14:57]OFD Sender: No OFD packet to send [13:15:02]OFD Sender: No OFD packet to send [13:15:07]OFD Sender: No OFD packet to send [13:15:12]OFD Sender: No OFD packet to send [13:15:17]OFD Sender: No OFD packet to send [13:15:22]OFD Sender: No OFD packet to send [13:15:27]OFD Sender: No OFD packet to send [13:15:32]OFD Sender: No OFD packet to send [13:15:37]OFD Sender: No OFD packet to send [13:15:42]OFD Sender: No OFD packet to send [13:15:47]OFD Sender: No OFD packet to send [13:15:52]OFD Sender: No OFD packet to send [13:15:57]OFD Sender: No OFD packet to send [13:16:02]OFD Sender: No OFD packet to send [13:16:07]OFD Sender: No OFD packet to send [13:16:12]OFD Sender: No OFD packet to send [13:16:17]OFD Sender: No OFD packet to send [13:16:22]OFD Sender: No OFD packet to send [13:16:27]OFD Sender: No OFD packet to send [13:16:32]OFD Sender: No OFD packet to send [13:16:37]OFD Sender: No OFD packet to send [13:16:42]OFD Sender: No OFD packet to send [13:16:47]OFD Sender: No OFD packet to send [13:16:52]OFD Sender: No OFD packet to send [13:16:54]accept exits with 8 [13:16:54]New connection [13:16:54]New thread 3067067748 created [13:16:54]Thread 3066924388 joined [13:16:54]Waiting for new connection... [13:16:54] Sock 8.Parse request [13:16:54]Sock 8.Check first char [13:16:54]Sock 8.First char is OK [13:16:54]request: POST /json_proto HTTP/1.0 [13:16:54]Method: POST [13:16:54]URL: /json_proto [13:16:54]Method is POST - this is cgi request [13:16:54]url: /json_proto [13:16:54]query_string will be loaded in cgi processing [13:16:54]execute_cgi json_proto POST (null) [13:16:54]execute_cgi path=json_proto method=POST [13:16:54]POST find Content-Length [13:16:54]Host: 172.17.39.4:8080 [13:16:54]Content-Length: 725 [13:16:54]Content-Type: application/json [13:16:54] [13:16:54]POST finish read [13:16:54]Found Content-Length = 725 [13:16:54]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129629", "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" ] } } [13:16:54]execute_script... [13:16: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)129629", "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" ] } } [13:16:54]POST & json_proto [13:16:54]process_json_proto [13:16:54]json parsed OK: [13:16:54]protocol is kg_v1.0 [13:16:54]action value=close_receipt [13:16:54]process_action close_receipt [13:16:54]cmd_close_receipt [13:16:54]MH_GetDate [13:16:54]Write to MH i2c: F0 00 00 1E 18 25 [13:16:54]Write i2c OK [13:16:54]MH_I2C_Read... [13:16:54]Read from MH i2c: F0 [13:16:54]MH_I2C_Read... [13:16:54]Read from MH i2c: F0 09 00 [13:16:54]MH_I2C_Read... [13:16:54]Read from MH i2c: F0 09 00 1E 18 00 4A 21 95 66 2D 25 5D 64 A7 [13:16:54]GetLastDocTimeStamp 1721049282 [13:16:54]current date 1721049418 [13:16:54]FM_GetShiftState [13:16:54]SAM_PROTO_GetShiftState [13:16:54]wFMCommunicate request_size=4 [13:16:54]MH_SAM_APDU [13:16:54]CAPDU: 80 13 01 00 [13:16:54]Write to MH i2c: E2 08 00 1F 18 80 13 01 00 00 00 00 00 B4 [13:16:54]Write i2c OK [13:16:54]MH_I2C_Read... [13:16:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:16:54]Read from MH i2c: E2 [13:16:54]MH_I2C_Read... [13:16:54]Read from MH i2c: E2 0E 00 [13:16:54]MH_I2C_Read... [13:16:54]Read from MH i2c: E2 0E 00 1F 18 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 2D [13:16:54]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [13:16:54]wFMCommunicate OK [13:16:54]SAM_PROTO_GetShiftState done [13:16:54]FM_GetShiftState done [13:16:54]opened in 1721003525 [13:16:54]opened+sec_in_day 1721089925 [13:16:54]quantity*price = 14000 [13:16:54]sum+1 = 14001 [13:16:54]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 СНО: Общий режим Чек 72 15.07.2024 13:16 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57177 ФПД: 25299739164255 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T131658&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57177&fm=25299739164255&tin=02508201610067®Number=0000000000091208&sum=14000 0 [13:16:55]StoreToDocumentArchive [13:16:55]shift 497 fd 57177 [13:16:55]save to /storage/0497/doc_00057177 [13:16:55]save last doc name /storage/0497/doc_00057177 to /storage/kkm_last_doc_name [13:16:55]save OK [13:16:55]Clear old archive folders... [13:16:55]ProcessDocumentItem done err = 0, tmpTLVsize=273 [13:16:55]tlvbuf is 009973E0 [13:16:55]SAM_PROTO_ClearQueue [13:16:55]wFMCommunicate request_size=4 [13:16:55]MH_SAM_APDU [13:16:55]CAPDU: 80 09 00 00 [13:16:55]Write to MH i2c: E2 08 00 2C 18 80 09 00 00 00 00 00 00 B6 [13:16:55]Write i2c OK [13:16:55]MH_I2C_Read... [13:16:55]Read from MH i2c: E2 [13:16:55]MH_I2C_Read... [13:16:55]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:16:55]Read from MH i2c: E2 03 00 [13:16:55]MH_I2C_Read... [13:16:55]Read from MH i2c: E2 03 00 2C 18 00 90 00 B8 [13:16:55]RAPDU: 90 00 [13:16:55]wFMCommunicate OK [13:16:55]SAM_PROTO_ClearQueue done [13:16:55]KKMCreateOFDPacket [13:16:55]OFDProtocolAddRootSTLVToBuf [13:16:55]FM_MakeSignedData [13:16:55]FM_MakeSignedData [13:16:55]SAM_PROTO_SignData [13:16:55]wFMCommunicate request_size=4 [13:16:55]MH_SAM_APDU [13:16:55]CAPDU: 80 0D 01 02 [13:16:55]Write to MH i2c: E2 08 00 2D 18 80 0D 01 02 00 00 00 00 BE [13:16:55]Write i2c OK [13:16:55]MH_I2C_Read... [13:16:55]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:16:56]Read from MH i2c: E2 [13:16:56]MH_I2C_Read... [13:16:56]Read from MH i2c: E2 03 00 [13:16:56]MH_I2C_Read... [13:16:56]Read from MH i2c: E2 03 00 2D 18 00 90 00 B9 [13:16:56]RAPDU: 90 00 [13:16:56]wFMCommunicate OK [13:16:56]wFMCommunicate request_size=255 [13:16:56]MH_SAM_APDU [13:16: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 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 48 00 00 00 F4 03 04 00 4A 21 95 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 [13:16:56]Write to MH i2c: E2 02 01 2E 18 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 48 00 00 00 F4 03 04 00 4A 21 95 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 4E [13:16:56]Write i2c OK [13:16:56]MH_I2C_Read... [13:16:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:16:56]Read from MH i2c: E2 [13:16:56]MH_I2C_Read... [13:16:56]Read from MH i2c: E2 03 00 [13:16:56]MH_I2C_Read... [13:16:56]Read from MH i2c: E2 03 00 2E 18 00 90 00 BA [13:16:56]RAPDU: 90 00 [13:16:56]wFMCommunicate OK [13:16:56]wFMCommunicate request_size=32 [13:16:56]MH_SAM_APDU [13:16:56]CAPDU: 80 0D 02 02 1B 30 30 30 38 37 34 38 35 37 10 04 04 00 59 DF 00 00 35 04 06 00 17 02 8D F7 3E 5F [13:16:56]Write to MH i2c: E2 23 00 2F 18 80 0D 02 02 1B 00 30 30 30 38 37 34 38 35 37 10 04 04 00 59 DF 00 00 35 04 06 00 17 02 8D F7 3E 5F 00 00 97 [13:16:56]Write i2c OK [13:16:56]MH_I2C_Read... [13:16:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:16:56]Read from MH i2c: E2 [13:16:56]MH_I2C_Read... [13:16:56]Read from MH i2c: E2 03 00 [13:16:56]MH_I2C_Read... [13:16:56]Read from MH i2c: E2 03 00 2F 18 00 90 00 BB [13:16:56]RAPDU: 90 00 [13:16:56]wFMCommunicate OK [13:16:56]wFMCommunicate request_size=4 [13:16:56]MH_SAM_APDU [13:16:56]CAPDU: 80 0D 03 02 [13:16:56]Write to MH i2c: E2 08 00 30 18 80 0D 03 02 00 00 00 00 C3 [13:16:56]Write i2c OK [13:16:56]MH_I2C_Read... [13:16:56]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:16:56]Read from MH i2c: E2 [13:16:56]MH_I2C_Read... [13:16:56]Read from MH i2c: E2 0B 00 [13:16:56]MH_I2C_Read... [13:16:56]Read from MH i2c: E2 0B 00 30 18 00 12 B1 30 E9 AF 1A CC 4A 90 00 7F [13:16:56]RAPDU: 12 B1 30 E9 AF 1A CC 4A 90 00 [13:16:56]wFMCommunicate OK [13:16:56]SAM_PROTO_SignData done [13:16:56]FM_MakeSignedData done [13:16:56]CreateOFDProtocolMessage [13:16:56]wFMCommunicate request_size=4 [13:16:56]MH_SAM_APDU [13:16:56]CAPDU: 80 11 00 00 [13:16:56]Write to MH i2c: E2 08 00 31 18 80 11 00 00 00 00 00 00 C3 [13:16:56]Write i2c OK [13:16:56]MH_I2C_Read... [13:16:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:16:56]Read from MH i2c: E2 [13:16:56]MH_I2C_Read... [13:16:56]Read from MH i2c: E2 17 00 [13:16:56]MH_I2C_Read... [13:16:56]Read from MH i2c: E2 17 00 31 18 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 1D [13:16:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [13:16:56]wFMCommunicate OK [13:16:56]CreateOFDProtocolMessage done [13:16:56]OFDSenderStorePacket 57177 [13:16:56]StoreOFDPacket docnum=57177 [13:16: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 25 01 00 00 36 21 1D 01 86 48 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 48 00 00 00 F4 03 04 00 4A 21 95 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 59 DF 00 00 35 04 06 00 17 02 8D F7 3E 5F 12 B1 30 E9 AF 1A CC 4A [13:16:56]CheckFolder [13:16:56]dirname=/storage/ofd_packets [13:16:56]CheckFolder done [13:16:56]ProducePacketName [13:16:56]name=ofd_packets/00057177 [13:16:56]NVStorageSaveData ofd_packets/00057177 [13:16:56]File name is /storage/ofd_packets/00057177 [13:16:56]Write 323 bytes [13:16:56]NVStorageSaveData done [13:16:56]OFDSenderStorePacket done [13:16:56]KKMCreateOFDPacket done [13:16:56]NVStorageSaveData kkm_last_timestamp [13:16:56]File name is /storage/kkm_last_timestamp [13:16:56]Write 4 bytes [13:16:56]NVStorageSaveData done [13:16:56]ExternCall_PrintAddStr [13:16:56]wPrintStart [13:16:56]Write to MH i2c: 01 00 00 32 18 4A [13:16:56]Write i2c OK [13:16:56]MH_I2C_Read... [13:16:56]Read from MH i2c: 01 [13:16:56]MH_I2C_Read... [13:16:56]Read from MH i2c: 01 07 00 [13:16:56]MH_I2C_Read... [13:16:56]Read from MH i2c: 01 07 00 32 18 00 00 00 00 00 FF 0F 5F [13:16:56]RasterBufferAndPrint [13:16:56]line Счет N : (3)129629 [13:16:56]line ИНН: 02508201610067 [13:16:56]line Контрольно-Кассовый Чек [13:16:56]line ПРОДАЖА [13:16:56]line Товар: 48743570 [13:16:56]line Сигареты Winston XStyle Blue [13:16:56]line 1.000 * 140.00 [13:16:56]line = 140.00 [13:16:56]line НДС 12% НСП 1% [13:16:56]line > о реализуемом товаре [13:16:56]line ИТОГО: 140.00 [13:16:56]line НСП 1% : 1.24 [13:16:56]line НДС 12% : 14.87 [13:16:56]line Наличными: 140.00 [13:16:56]line Безнал.: 0.00 [13:16:56]line Место: АЗС № 132 "Партнер Нефть" [13:16:56]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [13:16:56]line СНО: Общий режим [13:16:56]line Чек 72 15.07.2024 13:16 [13:16:56]line Смена: 497 ФФД: 1.0 [13:16:56]line ЗНМ: 0300000132 [13:16:56]line РНМ: 0000000000091208 [13:16:56]line Версия ККМ: 001 [13:16:56]line ФМ: 0000000000874857 [13:16:56]line ФД: 57177 [13:16:56]line ФПД: 25299739164255 [13:16:56]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T131658&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57177&fm=25299739164255&tin=02508201610067®Number=0000000000091208&sum=14000 [13:16:56]line 0 [13:16:56]OFD Sender: Processing packet 57177 [packets to send 38, broken 37] [13:16:56]ProducePacketName [13:16:56]name=ofd_packets/00057177 [13:16:56]OFD Sender: To server: pG, [13:16:56]CommunicateWithHost lk.salyk.kg:30040 [13:16:56]ConnectInit lk.salyk.kg [13:16:56]written 0, free lines is 4095 [13:16:56]Connected sock=10 [13:16: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 25 01 00 00 36 21 1D 01 86 48 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 48 00 00 00 F4 03 04 00 4A 21 95 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 59 DF 00 00 35 04 06 00 17 02 8D F7 3E 5F 12 B1 30 E9 AF 1A CC 4A [13:16: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 82 6B 47 00 3F F3 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 59 DF 00 00 F4 03 04 00 98 C7 94 66 B6 04 01 00 00 6A F6 23 D7 0D E2 1C BD [13:16:57]CommunicateWithHost err = 0 [13:16:57]CheckOFDResponse [13:16:57]1017 (14) - 77093643461234 [13:16:57]1041 (16) - 0000000000874857 [13:16:57]1040 (4) - 57177 [13:16:57]1012 (4) - 15.07.2024 06:54 [13:16:57]1206 (1) - 0 [13:16:57]OFD Sender: Remove packet 57177 [13:16:57]ProducePacketName [13:16:57]name=ofd_packets/00057177 [13:16:57]NVStorageDeleteData [13:16:57]Write to MH i2c: 01 00 00 5A 18 72 [13:16:57]Write i2c OK [13:16:57]MH_I2C_Read... [13:16:57]Read from MH i2c: 01 [13:16:57]MH_I2C_Read... [13:16:57]Read from MH i2c: 01 07 00 [13:16:57]MH_I2C_Read... [13:16:57]Read from MH i2c: 01 07 00 5A 18 00 00 00 00 00 F4 0C 79 [13:16:57]RasterBufferAndPrint [13:16:57]line [13:16:57]line [13:16:57]line [13:16:57]line [13:16:57]line [13:16:57]written 0, free lines is 3324 [13:16:57]MH_Cut [13:16:57]Write to MH i2c: D1 01 00 61 18 01 4B [13:16:57]Write i2c OK [13:16:57]MH_I2C_Read... [13:16:57]Read from MH i2c: D1 [13:16:57]MH_I2C_Read... [13:16:57]Read from MH i2c: D1 01 00 [13:16:57]MH_I2C_Read... [13:16:57]Read from MH i2c: D1 01 00 61 18 00 4A [13:16:57]Write to MH i2c: 01 00 00 62 18 7A [13:16:57]Write i2c OK [13:16:57]MH_I2C_Read... [13:16:57]OFD Sender: No OFD packet to send [13:16:57]*** Cut start [13:16:57]*** Partial cut [13:16:57]*** CUTSNS_PIN = 1 [13:16:57]*** CUTSNS_PIN = 0 [13:16:58]*** Brake cut motor [13:16:58]Read from MH i2c: 01 [13:16:58]MH_I2C_Read... [13:16:58]*** Stop cut motor [13:16:58]*** Cut end [13:16:58]Read from MH i2c: 01 07 00 [13:16:58]MH_I2C_Read... [13:16:58]Read from MH i2c: 01 07 00 62 18 00 00 00 00 00 FF 0F 8F [13:16:58]process_action close_receipt done [13:16:58]requested_data is exist [13:16:58]produce_requested_data [13:16:58]requested_item fm.sn is exist - process it [13:16:58]wFMCommunicate request_size=4 [13:16:58]MH_SAM_APDU [13:16:58]CAPDU: 80 11 00 00 [13:16:58]Write to MH i2c: E2 08 00 63 18 80 11 00 00 00 00 00 00 F5 [13:16:58]Write i2c OK [13:16:58]MH_I2C_Read... [13:16:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:16:58]Read from MH i2c: E2 [13:16:58]MH_I2C_Read... [13:16:58]Read from MH i2c: E2 17 00 [13:16:58]MH_I2C_Read... [13:16:58]Read from MH i2c: E2 17 00 63 18 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 4F [13: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 [13:16:58]wFMCommunicate OK [13:16:58]requested_item fd.num is exist - process it [13:16:58]SAM_PROTO_GetFieldsCounters [13:16:58]wFMCommunicate request_size=4 [13:16:58]MH_SAM_APDU [13:16:58]CAPDU: 80 13 00 00 [13:16:58]Write to MH i2c: E2 08 00 64 18 80 13 00 00 00 00 00 00 F8 [13:16:58]Write i2c OK [13:16:58]MH_I2C_Read... [13:16:58]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:16:58]Read from MH i2c: E2 [13:16:58]MH_I2C_Read... [13:16:58]Read from MH i2c: E2 62 00 [13:16:58]MH_I2C_Read... [13:16:58]Read from MH i2c: E2 62 00 64 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 59 DF 00 00 0E 04 04 00 F1 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 1D [13:16: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 59 DF 00 00 0E 04 04 00 F1 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 [13:16:58]wFMCommunicate OK [13:16:58]SAM_PROTO_GetFieldsCounters done [13:16:58]requested_item shift.num is exist - process it [13:16:58]requested_item shift.opened is exist - process it [13:16:58]req_shift_opened [13:16:58]FM_GetShiftState [13:16:58]SAM_PROTO_GetShiftState [13:16:58]wFMCommunicate request_size=4 [13:16:58]MH_SAM_APDU [13:16:58]CAPDU: 80 13 01 00 [13:16:58]Write to MH i2c: E2 08 00 65 18 80 13 01 00 00 00 00 00 FA [13:16:58]Write i2c OK [13:16:58]MH_I2C_Read... [13:16:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:16:58]Read from MH i2c: E2 [13:16:58]MH_I2C_Read... [13:16:58]Read from MH i2c: E2 0E 00 [13:16:58]MH_I2C_Read... [13:16:58]Read from MH i2c: E2 0E 00 65 18 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 73 [13:16:58]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [13:16:58]wFMCommunicate OK [13:16:58]SAM_PROTO_GetShiftState done [13:16:58]FM_GetShiftState done [13:16:58]req_shift_opened done [13:16:58]requested_item shift.open_date is exist - process it [13:16:58]req_shift_open_date [13:16:58]req_shift_open_date done [13:16:58]requested_item shift.sale.total is exist - process it [13:16:58]SAM_PROTO_GetShiftData [13:16:58]wFMCommunicate request_size=4 [13:16:58]MH_SAM_APDU [13:16:58]CAPDU: 80 13 02 00 [13:16:58]Write to MH i2c: E2 08 00 66 18 80 13 02 00 00 00 00 00 FC [13:16:58]Write i2c OK [13:16:58]MH_I2C_Read... [13:16:59]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [13:16:59]Read from MH i2c: E2 [13:16:59]MH_I2C_Read... [13:16:59]Read from MH i2c: E2 FD 00 [13:16:59]MH_I2C_Read... [13:16:59]Read from MH i2c: E2 FD 00 66 18 00 B6 04 AA 04 B2 04 6E 04 04 00 48 00 00 00 69 04 9B 00 6F 04 04 00 47 00 00 00 B1 04 03 00 D1 8C 1B 70 04 03 00 BC 78 16 72 04 03 00 15 14 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 03 ED 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 67 3E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 74 [13:16:59]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 48 00 00 00 69 04 9B 00 6F 04 04 00 47 00 00 00 B1 04 03 00 D1 8C 1B 70 04 03 00 BC 78 16 72 04 03 00 15 14 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 03 ED 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 67 3E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 [13:16:59]wFMCommunicate OK [13:16:59]wFMCommunicate request_size=4 [13:16:59]MH_SAM_APDU [13:16:59]CAPDU: 80 17 00 00 [13:16:59]Write to MH i2c: E2 08 00 67 18 80 17 00 00 00 00 00 00 FF [13:16:59]Write i2c OK [13:16:59]MH_I2C_Read... [13:16:59]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:16:59]Read from MH i2c: E2 [13:16:59]MH_I2C_Read... [13:16:59]Read from MH i2c: E2 FD 00 [13:16:59]MH_I2C_Read... [13:16:59]Read from MH i2c: E2 FD 00 67 18 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 34 [13:16:59]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 [13:16:59]wFMCommunicate OK [13:16:59]wFMCommunicate request_size=4 [13:16:59]MH_SAM_APDU [13:16:59]CAPDU: 80 17 00 00 [13:16:59]Write to MH i2c: E2 08 00 68 18 80 17 00 00 00 00 00 00 00 [13:16:59]Write i2c OK [13:16:59]MH_I2C_Read... [13:16:59]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:16:59]Read from MH i2c: E2 [13:16:59]MH_I2C_Read... [13:16:59]Read from MH i2c: E2 FD 00 [13:16:59]MH_I2C_Read... [13:16:59]Read from MH i2c: E2 FD 00 68 18 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 C0 [13:16:59]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 [13:16:59]wFMCommunicate OK [13:16:59]wFMCommunicate request_size=4 [13:16:59]MH_SAM_APDU [13:16:59]CAPDU: 80 17 00 00 [13:16:59]Write to MH i2c: E2 08 00 69 18 80 17 00 00 00 00 00 00 01 [13:16:59]Write i2c OK [13:16:59]MH_I2C_Read... [13:17:00]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:17:00]Read from MH i2c: E2 [13:17:00]MH_I2C_Read... [13:17:00]Read from MH i2c: E2 FD 00 [13:17:00]MH_I2C_Read... [13:17:00]Read from MH i2c: E2 FD 00 69 18 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 70 [13:17:00]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 [13:17:00]wFMCommunicate OK [13:17:00]wFMCommunicate request_size=4 [13:17:00]MH_SAM_APDU [13:17:00]CAPDU: 80 17 00 00 [13:17:00]Write to MH i2c: E2 08 00 6A 18 80 17 00 00 00 00 00 00 02 [13:17:00]Write i2c OK [13:17:00]MH_I2C_Read... [13:17:00]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [13:17:00]Read from MH i2c: E2 [13:17:00]MH_I2C_Read... [13:17:00]Read from MH i2c: E2 D3 00 [13:17:00]MH_I2C_Read... [13:17:00]Read from MH i2c: E2 D3 00 6A 18 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 EF [13:17:00]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 [13:17:00]wFMCommunicate OK [13:17:00]SAM_PROTO_GetShiftData done [13:17:00]requested_item shift.sale.total_cash is exist - process it [13:17:00]requested_item shift.sale_refund.total is exist - process it [13:17:00]requested_item shift.sale_refund.total_cash is exist - process it [13:17:00]produce_requested_data done [13:17:00]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57177,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":18055.21,"shift.sale.total_cash":14727.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [13:17:00]process_action_free close_receipt [13:17:00]json_value_free [13:17:00]json_value_free done [13:17:00]process_json_proto returns [13:17:00]Send response to host [13:17:00]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57177,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":18055.21,"shift.sale.total_cash":14727.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [13:17:00]free response buf [13:17:00]execute_script done [13:17:00]execute_script returns [13:17:00]free content buf [13:17:00]Sock 8.Close socket [13:17:00]Sock 8.Thread stoped [13:17:02]OFD Sender: No OFD packet to send [13:17:07]OFD Sender: No OFD packet to send [13:17:12]OFD Sender: No OFD packet to send [13:17:17]OFD Sender: No OFD packet to send [13:17:22]OFD Sender: No OFD packet to send [13:17:27]OFD Sender: No OFD packet to send [13:17:32]OFD Sender: No OFD packet to send [13:17:37]OFD Sender: No OFD packet to send [13:17:42]OFD Sender: No OFD packet to send [13:17:47]OFD Sender: No OFD packet to send [13:17:52]OFD Sender: No OFD packet to send [13:17:57]OFD Sender: No OFD packet to send [13:18:02]OFD Sender: No OFD packet to send [13:18:07]OFD Sender: No OFD packet to send [13:18:12]OFD Sender: No OFD packet to send [13:18:17]OFD Sender: No OFD packet to send [13:18:22]OFD Sender: No OFD packet to send [13:18:27]OFD Sender: No OFD packet to send [13:18:32]OFD Sender: No OFD packet to send [13:18:37]OFD Sender: No OFD packet to send [13:18:42]OFD Sender: No OFD packet to send [13:18:47]OFD Sender: No OFD packet to send [13:18:52]OFD Sender: No OFD packet to send [13:18:57]OFD Sender: No OFD packet to send [13:19:02]OFD Sender: No OFD packet to send [13:19:07]OFD Sender: No OFD packet to send [13:19:12]OFD Sender: No OFD packet to send [13:19:17]OFD Sender: No OFD packet to send [13:19:22]OFD Sender: No OFD packet to send [13:19:27]OFD Sender: No OFD packet to send [13:19:32]OFD Sender: No OFD packet to send [13:19:37]OFD Sender: No OFD packet to send [13:19:42]OFD Sender: No OFD packet to send [13:19:47]OFD Sender: No OFD packet to send [13:19:52]OFD Sender: No OFD packet to send [13:19:57]OFD Sender: No OFD packet to send [13:20:02]OFD Sender: No OFD packet to send [13:20:07]OFD Sender: No OFD packet to send [13:20:12]OFD Sender: No OFD packet to send [13:20:17]OFD Sender: No OFD packet to send [13:20:22]OFD Sender: No OFD packet to send [13:20:27]OFD Sender: No OFD packet to send [13:20:32]OFD Sender: No OFD packet to send [13:20:37]OFD Sender: No OFD packet to send [13:20:42]OFD Sender: No OFD packet to send [13:20:47]OFD Sender: No OFD packet to send [13:20:52]OFD Sender: No OFD packet to send [13:20:57]OFD Sender: No OFD packet to send [13:21:02]OFD Sender: No OFD packet to send [13:21:07]OFD Sender: No OFD packet to send [13:21:12]OFD Sender: No OFD packet to send [13:21:17]OFD Sender: No OFD packet to send [13:21:22]OFD Sender: No OFD packet to send [13:21:27]OFD Sender: No OFD packet to send [13:21:32]OFD Sender: No OFD packet to send [13:21:37]OFD Sender: No OFD packet to send [13:21:42]OFD Sender: No OFD packet to send [13:21:47]OFD Sender: No OFD packet to send [13:21:52]OFD Sender: No OFD packet to send [13:21:57]OFD Sender: No OFD packet to send [13:22:02]OFD Sender: No OFD packet to send [13:22:07]OFD Sender: No OFD packet to send [13:22:12]OFD Sender: No OFD packet to send [13:22:17]OFD Sender: No OFD packet to send [13:22:22]OFD Sender: No OFD packet to send [13:22:27]OFD Sender: No OFD packet to send [13:22:32]OFD Sender: No OFD packet to send [13:22:37]OFD Sender: No OFD packet to send [13:22:42]OFD Sender: No OFD packet to send [13:22: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:53]OFD Sender: No OFD packet to send [13:23:58]OFD Sender: No OFD packet to send [13:24:03]OFD Sender: No OFD packet to send [13:24:08]OFD Sender: No OFD packet to send [13:24:13]OFD Sender: No OFD packet to send [13:24:18]OFD Sender: No OFD packet to send [13:24:23]OFD Sender: No OFD packet to send [13:24:28]OFD Sender: No OFD packet to send [13:24:33]OFD Sender: No OFD packet to send [13:24:38]OFD Sender: No OFD packet to send [13:24:43]OFD Sender: No OFD packet to send [13:24:48]OFD Sender: No OFD packet to send [13:24:53]OFD Sender: No OFD packet to send [13:24:58]OFD Sender: No OFD packet to send [13:25:03]OFD Sender: No OFD packet to send [13:25:08]OFD Sender: No OFD packet to send [13:25:13]OFD Sender: No OFD packet to send [13:25:18]OFD Sender: No OFD packet to send [13:25:23]OFD Sender: No OFD packet to send [13:25:28]OFD Sender: No OFD packet to send [13:25:33]OFD Sender: No OFD packet to send [13:25:38]OFD Sender: No OFD packet to send [13:25:43]OFD Sender: No OFD packet to send [13:25:48]OFD Sender: No OFD packet to send [13:25:53]OFD Sender: No OFD packet to send [13:25:58]OFD Sender: No OFD packet to send [13:26:03]OFD Sender: No OFD packet to send [13:26:08]OFD Sender: No OFD packet to send [13:26:13]OFD Sender: No OFD packet to send [13:26:18]OFD Sender: No OFD packet to send [13:26:23]OFD Sender: No OFD packet to send [13:26:28]OFD Sender: No OFD packet to send [13:26:33]OFD Sender: No OFD packet to send [13:26:38]OFD Sender: No OFD packet to send [13:26:43]OFD Sender: No OFD packet to send [13:26:48]OFD Sender: No OFD packet to send [13:26:53]OFD Sender: No OFD packet to send [13:26:58]OFD Sender: No OFD packet to send [13:27:03]OFD Sender: No OFD packet to send [13:27:08]OFD Sender: No OFD packet to send [13:27:13]OFD Sender: No OFD packet to send [13:27:18]OFD Sender: No OFD packet to send [13:27:23]OFD Sender: No OFD packet to send [13:27:28]OFD Sender: No OFD packet to send [13:27:33]OFD Sender: No OFD packet to send [13:27:38]OFD Sender: No OFD packet to send [13:27:43]OFD Sender: No OFD packet to send [13:27:48]OFD Sender: No OFD packet to send [13:27:53]OFD Sender: No OFD packet to send [13:27:58]OFD Sender: No OFD packet to send [13:28:03]OFD Sender: No OFD packet to send [13:28:08]OFD Sender: No OFD packet to send [13:28:13]OFD Sender: No OFD packet to send [13:28:18]OFD Sender: No OFD packet to send [13:28:23]OFD Sender: No OFD packet to send [13:28:28]OFD Sender: No OFD packet to send [13:28:33]OFD Sender: No OFD packet to send [13:28:38]OFD Sender: No OFD packet to send [13:28:43]OFD Sender: No OFD packet to send [13:28:48]OFD Sender: No OFD packet to send [13:28:53]OFD Sender: No OFD packet to send [13:28:58]OFD Sender: No OFD packet to send [13:29:03]OFD Sender: No OFD packet to send [13:29:08]OFD Sender: No OFD packet to send [13:29:13]OFD Sender: No OFD packet to send [13:29:18]OFD Sender: No OFD packet to send [13:29:23]OFD Sender: No OFD packet to send [13:29:28]OFD Sender: No OFD packet to send [13:29:33]OFD Sender: No OFD packet to send [13:29:38]OFD Sender: No OFD packet to send [13:29:43]OFD Sender: No OFD packet to send [13:29:48]OFD Sender: No OFD packet to send [13:29:53]OFD Sender: No OFD packet to send [13:29:58]OFD Sender: No OFD packet to send [13:30:03]OFD Sender: No OFD packet to send [13:30:08]OFD Sender: No OFD packet to send [13:30:13]OFD Sender: No OFD packet to send [13:30:18]OFD Sender: No OFD packet to send [13:30:23]OFD Sender: No OFD packet to send [13:30:28]OFD Sender: No OFD packet to send [13:30:33]OFD Sender: No OFD packet to send [13:30:38]OFD Sender: No OFD packet to send [13:30:43]OFD Sender: No OFD packet to send [13:30:48]OFD Sender: No OFD packet to send [13:30:53]OFD Sender: No OFD packet to send [13:30:58]OFD Sender: No OFD packet to send [13:31:03]OFD Sender: No OFD packet to send [13:31:08]OFD Sender: No OFD packet to send [13:31:13]OFD Sender: No OFD packet to send [13:31:18]OFD Sender: No OFD packet to send [13:31:23]OFD Sender: No OFD packet to send [13:31:28]OFD Sender: No OFD packet to send [13:31:33]OFD Sender: No OFD packet to send [13:31:38]OFD Sender: No OFD packet to send [13:31:43]OFD Sender: No OFD packet to send [13:31:48]OFD Sender: No OFD packet to send [13:31:53]OFD Sender: No OFD packet to send [13:31:58]OFD Sender: No OFD packet to send [13:32:03]OFD Sender: No OFD packet to send [13:32:08]OFD Sender: No OFD packet to send [13:32:13]OFD Sender: No OFD packet to send [13:32:18]OFD Sender: No OFD packet to send [13:32:23]OFD Sender: No OFD packet to send [13:32:28]OFD Sender: No OFD packet to send [13:32:33]OFD Sender: No OFD packet to send [13:32:38]OFD Sender: No OFD packet to send [13:32:43]OFD Sender: No OFD packet to send [13:32:48]OFD Sender: No OFD packet to send [13:32:53]OFD Sender: No OFD packet to send [13:32:58]OFD Sender: No OFD packet to send [13:33:03]OFD Sender: No OFD packet to send [13:33:08]OFD Sender: No OFD packet to send [13:33:13]OFD Sender: No OFD packet to send [13:33:18]OFD Sender: No OFD packet to send [13:33:23]OFD Sender: No OFD packet to send [13:33:28]OFD Sender: No OFD packet to send [13:33:33]OFD Sender: No OFD packet to send [13:33:38]OFD Sender: No OFD packet to send [13:33:43]OFD Sender: No OFD packet to send [13:33:48]OFD Sender: No OFD packet to send [13:33:53]OFD Sender: No OFD packet to send [13:33:58]OFD Sender: No OFD packet to send [13:34:03]OFD Sender: No OFD packet to send [13:34:08]OFD Sender: No OFD packet to send [13:34:13]OFD Sender: No OFD packet to send [13:34:18]OFD Sender: No OFD packet to send [13:34:23]OFD Sender: No OFD packet to send [13:34:28]OFD Sender: No OFD packet to send [13:34:33]OFD Sender: No OFD packet to send [13:34:38]OFD Sender: No OFD packet to send [13:34:43]OFD Sender: No OFD packet to send [13:34:48]OFD Sender: No OFD packet to send [13:34:53]OFD Sender: No OFD packet to send [13:34:58]OFD Sender: No OFD packet to send [13:35:03]OFD Sender: No OFD packet to send [13:35:08]OFD Sender: No OFD packet to send [13:35:13]OFD Sender: No OFD packet to send [13:35:18]OFD Sender: No OFD packet to send [13:35:23]OFD Sender: No OFD packet to send [13:35:28]OFD Sender: No OFD packet to send [13:35:33]OFD Sender: No OFD packet to send [13:35:38]OFD Sender: No OFD packet to send [13:35:43]OFD Sender: No OFD packet to send [13:35:48]OFD Sender: No OFD packet to send [13:35:53]OFD Sender: No OFD packet to send [13:35:58]OFD Sender: No OFD packet to send [13:36:03]OFD Sender: No OFD packet to send [13:36:08]OFD Sender: No OFD packet to send [13:36:13]OFD Sender: No OFD packet to send [13:36:18]OFD Sender: No OFD packet to send [13:36:23]OFD Sender: No OFD packet to send [13:36:28]OFD Sender: No OFD packet to send [13:36:33]OFD Sender: No OFD packet to send [13:36:38]OFD Sender: No OFD packet to send [13:36:43]OFD Sender: No OFD packet to send [13:36:48]OFD Sender: No OFD packet to send [13:36:53]OFD Sender: No OFD packet to send [13:36:58]OFD Sender: No OFD packet to send [13:37:03]OFD Sender: No OFD packet to send [13:37:08]OFD Sender: No OFD packet to send [13:37:13]OFD Sender: No OFD packet to send [13:37:18]OFD Sender: No OFD packet to send [13:37:23]OFD Sender: No OFD packet to send [13:37:28]OFD Sender: No OFD packet to send [13:37:33]OFD Sender: No OFD packet to send [13:37:38]OFD Sender: No OFD packet to send [13:37:43]OFD Sender: No OFD packet to send [13:37:48]OFD Sender: No OFD packet to send [13:37:53]OFD Sender: No OFD packet to send [13:37:58]OFD Sender: No OFD packet to send [13:38:03]OFD Sender: No OFD packet to send [13:38:08]OFD Sender: No OFD packet to send [13:38:13]OFD Sender: No OFD packet to send [13:38:18]OFD Sender: No OFD packet to send [13:38:23]OFD Sender: No OFD packet to send [13:38:28]OFD Sender: No OFD packet to send [13:38:33]OFD Sender: No OFD packet to send [13:38:38]OFD Sender: No OFD packet to send [13:38:43]OFD Sender: No OFD packet to send [13:38:48]OFD Sender: No OFD packet to send [13:38:53]OFD Sender: No OFD packet to send [13:38:58]OFD Sender: No OFD packet to send [13:39:03]OFD Sender: No OFD packet to send [13:39:08]OFD Sender: No OFD packet to send [13:39:13]OFD Sender: No OFD packet to send [13:39:18]OFD Sender: No OFD packet to send [13:39:23]OFD Sender: No OFD packet to send [13:39:28]OFD Sender: No OFD packet to send [13:39:33]OFD Sender: No OFD packet to send [13:39:38]OFD Sender: No OFD packet to send [13:39:43]OFD Sender: No OFD packet to send [13:39:48]OFD Sender: No OFD packet to send [13:39:53]OFD Sender: No OFD packet to send [13:39:58]OFD Sender: No OFD packet to send [13:40:03]OFD Sender: No OFD packet to send [13:40:08]OFD Sender: No OFD packet to send [13:40:13]OFD Sender: No OFD packet to send [13:40:18]OFD Sender: No OFD packet to send [13:40:23]OFD Sender: No OFD packet to send [13:40:28]OFD Sender: No OFD packet to send [13:40:33]OFD Sender: No OFD packet to send [13:40:38]OFD Sender: No OFD packet to send [13:40:43]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:59]OFD Sender: No OFD packet to send [13:43:04]OFD Sender: No OFD packet to send [13:43:09]OFD Sender: No OFD packet to send [13:43:14]OFD Sender: No OFD packet to send [13:43:19]OFD Sender: No OFD packet to send [13:43:24]OFD Sender: No OFD packet to send [13:43:29]OFD Sender: No OFD packet to send [13:43:34]OFD Sender: No OFD packet to send [13:43:39]OFD Sender: No OFD packet to send [13:43:44]OFD Sender: No OFD packet to send [13:43:49]OFD Sender: No OFD packet to send [13:43:54]OFD Sender: No OFD packet to send [13:43:59]OFD Sender: No OFD packet to send [13:44:04]OFD Sender: No OFD packet to send [13:44:09]OFD Sender: No OFD packet to send [13:44:14]OFD Sender: No OFD packet to send [13:44:19]OFD Sender: No OFD packet to send [13:44:24]OFD Sender: No OFD packet to send [13:44:29]OFD Sender: No OFD packet to send [13:44:34]OFD Sender: No OFD packet to send [13:44:39]OFD Sender: No OFD packet to send [13:44:44]OFD Sender: No OFD packet to send [13:44:49]OFD Sender: No OFD packet to send [13:44:54]OFD Sender: No OFD packet to send [13:44:59]OFD Sender: No OFD packet to send [13:45:04]OFD Sender: No OFD packet to send [13:45:09]OFD Sender: No OFD packet to send [13:45:14]OFD Sender: No OFD packet to send [13:45:19]OFD Sender: No OFD packet to send [13:45:24]OFD Sender: No OFD packet to send [13:45:29]OFD Sender: No OFD packet to send [13:45:34]OFD Sender: No OFD packet to send [13:45:39]OFD Sender: No OFD packet to send [13:45:44]OFD Sender: No OFD packet to send [13:45:49]OFD Sender: No OFD packet to send [13:45:54]OFD Sender: No OFD packet to send [13:45:59]OFD Sender: No OFD packet to send [13:46:04]OFD Sender: No OFD packet to send [13:46:09]OFD Sender: No OFD packet to send [13:46:14]OFD Sender: No OFD packet to send [13:46:19]OFD Sender: No OFD packet to send [13:46:24]OFD Sender: No OFD packet to send [13:46:29]OFD Sender: No OFD packet to send [13:46:34]OFD Sender: No OFD packet to send [13:46:39]OFD Sender: No OFD packet to send [13:46:44]OFD Sender: No OFD packet to send [13:46:49]OFD Sender: No OFD packet to send [13:46:54]OFD Sender: No OFD packet to send [13:46:59]OFD Sender: No OFD packet to send [13:47:04]OFD Sender: No OFD packet to send [13:47:09]OFD Sender: No OFD packet to send [13:47:14]OFD Sender: No OFD packet to send [13:47:19]OFD Sender: No OFD packet to send [13:47:24]OFD Sender: No OFD packet to send [13:47:29]OFD Sender: No OFD packet to send [13:47:34]OFD Sender: No OFD packet to send [13:47:39]OFD Sender: No OFD packet to send [13:47:44]OFD Sender: No OFD packet to send [13:47:49]OFD Sender: No OFD packet to send [13:47:54]OFD Sender: No OFD packet to send [13:47:59]OFD Sender: No OFD packet to send [13:48:04]OFD Sender: No OFD packet to send [13:48:09]OFD Sender: No OFD packet to send [13:48:14]OFD Sender: No OFD packet to send [13:48:19]OFD Sender: No OFD packet to send [13:48:24]OFD Sender: No OFD packet to send [13:48:29]OFD Sender: No OFD packet to send [13:48:34]OFD Sender: No OFD packet to send [13:48:39]OFD Sender: No OFD packet to send [13:48:44]OFD Sender: No OFD packet to send [13:48:49]OFD Sender: No OFD packet to send [13:48:54]OFD Sender: No OFD packet to send [13:48:59]OFD Sender: No OFD packet to send [13:49:04]OFD Sender: No OFD packet to send [13:49:09]OFD Sender: No OFD packet to send [13:49:14]OFD Sender: No OFD packet to send [13:49:19]OFD Sender: No OFD packet to send [13:49:24]OFD Sender: No OFD packet to send [13:49:29]OFD Sender: No OFD packet to send [13:49:34]OFD Sender: No OFD packet to send [13:49:39]OFD Sender: No OFD packet to send [13:49:44]OFD Sender: No OFD packet to send [13:49:49]OFD Sender: No OFD packet to send [13:49:54]OFD Sender: No OFD packet to send [13:49:59]OFD Sender: No OFD packet to send [13:50:04]OFD Sender: No OFD packet to send [13:50:09]OFD Sender: No OFD packet to send [13:50:14]OFD Sender: No OFD packet to send [13:50:19]OFD Sender: No OFD packet to send [13:50:24]OFD Sender: No OFD packet to send [13:50:29]OFD Sender: No OFD packet to send [13:50:34]OFD Sender: No OFD packet to send [13:50:39]OFD Sender: No OFD packet to send [13:50:44]OFD Sender: No OFD packet to send [13:50:49]OFD Sender: No OFD packet to send [13:50:54]OFD Sender: No OFD packet to send [13:50:59]OFD Sender: No OFD packet to send [13:51:04]OFD Sender: No OFD packet to send [13:51:09]OFD Sender: No OFD packet to send [13:51:14]OFD Sender: No OFD packet to send [13:51:19]OFD Sender: No OFD packet to send [13:51:24]OFD Sender: No OFD packet to send [13:51:29]OFD Sender: No OFD packet to send [13:51:34]OFD Sender: No OFD packet to send [13:51:39]OFD Sender: No OFD packet to send [13:51:44]OFD Sender: No OFD packet to send [13:51:49]OFD Sender: No OFD packet to send [13:51:54]OFD Sender: No OFD packet to send [13:51:59]OFD Sender: No OFD packet to send [13:52:04]OFD Sender: No OFD packet to send [13:52:09]OFD Sender: No OFD packet to send [13:52:14]OFD Sender: No OFD packet to send [13:52:19]OFD Sender: No OFD packet to send [13:52:24]OFD Sender: No OFD packet to send [13:52:29]OFD Sender: No OFD packet to send [13:52:34]OFD Sender: No OFD packet to send [13:52:39]OFD Sender: No OFD packet to send [13:52:44]OFD Sender: No OFD packet to send [13:52:49]OFD Sender: No OFD packet to send [13:52:54]OFD Sender: No OFD packet to send [13:52:59]OFD Sender: No OFD packet to send [13:53:04]OFD Sender: No OFD packet to send [13:53:09]OFD Sender: No OFD packet to send [13:53:14]OFD Sender: No OFD packet to send [13:53:19]OFD Sender: No OFD packet to send [13:53:24]OFD Sender: No OFD packet to send [13:53:29]OFD Sender: No OFD packet to send [13:53:34]OFD Sender: No OFD packet to send [13:53:39]OFD Sender: No OFD packet to send [13:53:44]OFD Sender: No OFD packet to send [13:53:49]OFD Sender: No OFD packet to send [13:53:54]OFD Sender: No OFD packet to send [13:53:59]OFD Sender: No OFD packet to send [13:54:04]OFD Sender: No OFD packet to send [13:54:09]OFD Sender: No OFD packet to send [13:54:14]OFD Sender: No OFD packet to send [13:54:19]OFD Sender: No OFD packet to send [13:54:24]OFD Sender: No OFD packet to send [13:54:29]OFD Sender: No OFD packet to send [13:54:34]OFD Sender: No OFD packet to send [13:54:39]OFD Sender: No OFD packet to send [13:54:44]OFD Sender: No OFD packet to send [13:54:49]OFD Sender: No OFD packet to send [13:54:54]OFD Sender: No OFD packet to send [13:54:59]OFD Sender: No OFD packet to send [13:55:04]OFD Sender: No OFD packet to send [13:55:09]OFD Sender: No OFD packet to send [13:55:14]OFD Sender: No OFD packet to send [13:55:19]OFD Sender: No OFD packet to send [13:55:24]OFD Sender: No OFD packet to send [13:55:29]OFD Sender: No OFD packet to send [13:55:34]OFD Sender: No OFD packet to send [13:55:39]OFD Sender: No OFD packet to send [13:55:44]OFD Sender: No OFD packet to send [13:55:49]OFD Sender: No OFD packet to send [13:55:54]OFD Sender: No OFD packet to send [13:55:59]OFD Sender: No OFD packet to send [13:56:04]OFD Sender: No OFD packet to send [13:56:09]OFD Sender: No OFD packet to send [13:56:14]OFD Sender: No OFD packet to send [13:56:19]OFD Sender: No OFD packet to send [13:56:24]OFD Sender: No OFD packet to send [13:56:29]OFD Sender: No OFD packet to send [13:56:34]OFD Sender: No OFD packet to send [13:56:39]OFD Sender: No OFD packet to send [13:56:44]OFD Sender: No OFD packet to send [13:56:49]OFD Sender: No OFD packet to send [13:56:54]OFD Sender: No OFD packet to send [13:56:59]OFD Sender: No OFD packet to send [13:57:04]OFD Sender: No OFD packet to send [13:57:09]OFD Sender: No OFD packet to send [13:57:14]OFD Sender: No OFD packet to send [13:57:19]OFD Sender: No OFD packet to send [13:57:24]OFD Sender: No OFD packet to send [13:57:29]OFD Sender: No OFD packet to send [13:57:34]OFD Sender: No OFD packet to send [13:57:39]OFD Sender: No OFD packet to send [13:57:44]OFD Sender: No OFD packet to send [13:57:49]OFD Sender: No OFD packet to send [13:57:54]OFD Sender: No OFD packet to send [13:57:59]OFD Sender: No OFD packet to send [13:58:04]OFD Sender: No OFD packet to send [13:58:09]OFD Sender: No OFD packet to send [13:58:14]OFD Sender: No OFD packet to send [13:58:19]OFD Sender: No OFD packet to send [13:58:24]OFD Sender: No OFD packet to send [13:58:29]OFD Sender: No OFD packet to send [13:58:34]OFD Sender: No OFD packet to send [13:58:39]OFD Sender: No OFD packet to send [13:58:44]OFD Sender: No OFD packet to send [13:58:49]OFD Sender: No OFD packet to send [13:58:54]OFD Sender: No OFD packet to send [13:58:59]OFD Sender: No OFD packet to send [13:59:04]OFD Sender: No OFD packet to send [13:59:09]OFD Sender: No OFD packet to send [13:59:14]OFD Sender: No OFD packet to send [13:59:19]OFD Sender: No OFD packet to send [13:59:24]OFD Sender: No OFD packet to send [13:59:29]OFD Sender: No OFD packet to send [13:59:34]OFD Sender: No OFD packet to send [13:59:39]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:05]OFD Sender: No OFD packet to send [14:02:10]OFD Sender: No OFD packet to send [14:02:15]OFD Sender: No OFD packet to send [14:02:20]OFD Sender: No OFD packet to send [14:02:25]OFD Sender: No OFD packet to send [14:02:30]OFD Sender: No OFD packet to send [14:02:35]OFD Sender: No OFD packet to send [14:02:40]OFD Sender: No OFD packet to send [14:02:45]OFD Sender: No OFD packet to send [14:02:50]OFD Sender: No OFD packet to send [14:02:55]OFD Sender: No OFD packet to send [14:03:00]OFD Sender: No OFD packet to send [14:03:05]OFD Sender: No OFD packet to send [14:03:10]OFD Sender: No OFD packet to send [14:03:15]OFD Sender: No OFD packet to send [14:03:20]OFD Sender: No OFD packet to send [14:03:25]OFD Sender: No OFD packet to send [14:03:30]OFD Sender: No OFD packet to send [14:03:35]OFD Sender: No OFD packet to send [14:03:40]OFD Sender: No OFD packet to send [14:03:45]OFD Sender: No OFD packet to send [14:03:50]OFD Sender: No OFD packet to send [14:03:55]OFD Sender: No OFD packet to send [14:04:00]OFD Sender: No OFD packet to send [14:04:05]OFD Sender: No OFD packet to send [14:04:10]OFD Sender: No OFD packet to send [14:04:15]OFD Sender: No OFD packet to send [14:04:20]OFD Sender: No OFD packet to send [14:04:25]OFD Sender: No OFD packet to send [14:04:30]OFD Sender: No OFD packet to send [14:04:35]OFD Sender: No OFD packet to send [14:04:40]OFD Sender: No OFD packet to send [14:04:45]OFD Sender: No OFD packet to send [14:04:50]OFD Sender: No OFD packet to send [14:04:55]OFD Sender: No OFD packet to send [14:05:00]OFD Sender: No OFD packet to send [14:05:05]OFD Sender: No OFD packet to send [14:05:10]OFD Sender: No OFD packet to send [14:05:15]OFD Sender: No OFD packet to send [14:05:20]OFD Sender: No OFD packet to send [14:05:25]OFD Sender: No OFD packet to send [14:05:30]OFD Sender: No OFD packet to send [14:05:35]OFD Sender: No OFD packet to send [14:05:40]OFD Sender: No OFD packet to send [14:05:45]OFD Sender: No OFD packet to send [14:05:50]OFD Sender: No OFD packet to send [14:05:55]OFD Sender: No OFD packet to send [14:06:00]OFD Sender: No OFD packet to send [14:06:05]OFD Sender: No OFD packet to send [14:06:10]OFD Sender: No OFD packet to send [14:06:15]OFD Sender: No OFD packet to send [14:06:20]OFD Sender: No OFD packet to send [14:06:25]OFD Sender: No OFD packet to send [14:06:30]OFD Sender: No OFD packet to send [14:06:35]OFD Sender: No OFD packet to send [14:06:40]OFD Sender: No OFD packet to send [14:06:45]OFD Sender: No OFD packet to send [14:06:50]OFD Sender: No OFD packet to send [14:06:55]OFD Sender: No OFD packet to send [14:07:00]OFD Sender: No OFD packet to send [14:07:05]OFD Sender: No OFD packet to send [14:07:10]OFD Sender: No OFD packet to send [14:07:15]OFD Sender: No OFD packet to send [14:07:20]OFD Sender: No OFD packet to send [14:07:25]OFD Sender: No OFD packet to send [14:07:30]OFD Sender: No OFD packet to send [14:07:35]OFD Sender: No OFD packet to send [14:07:40]OFD Sender: No OFD packet to send [14:07:45]OFD Sender: No OFD packet to send [14:07:50]OFD Sender: No OFD packet to send [14:07:55]OFD Sender: No OFD packet to send [14:08:00]OFD Sender: No OFD packet to send [14:08:05]OFD Sender: No OFD packet to send [14:08:10]OFD Sender: No OFD packet to send [14:08:15]OFD Sender: No OFD packet to send [14:08:20]OFD Sender: No OFD packet to send [14:08:25]OFD Sender: No OFD packet to send [14:08:30]OFD Sender: No OFD packet to send [14:08:35]OFD Sender: No OFD packet to send [14:08:40]OFD Sender: No OFD packet to send [14:08:45]OFD Sender: No OFD packet to send [14:08:50]OFD Sender: No OFD packet to send [14:08:55]OFD Sender: No OFD packet to send [14:09:00]OFD Sender: No OFD packet to send [14:09:05]OFD Sender: No OFD packet to send [14:09:10]OFD Sender: No OFD packet to send [14:09:15]OFD Sender: No OFD packet to send [14:09:20]OFD Sender: No OFD packet to send [14:09:25]OFD Sender: No OFD packet to send [14:09:30]OFD Sender: No OFD packet to send [14:09:35]OFD Sender: No OFD packet to send [14:09:40]OFD Sender: No OFD packet to send [14:09:45]OFD Sender: No OFD packet to send [14:09:50]OFD Sender: No OFD packet to send [14:09:55]OFD Sender: No OFD packet to send [14:10:00]OFD Sender: No OFD packet to send [14:10:05]OFD Sender: No OFD packet to send [14:10:10]OFD Sender: No OFD packet to send [14:10:15]OFD Sender: No OFD packet to send [14:10:20]OFD Sender: No OFD packet to send [14:10:25]OFD Sender: No OFD packet to send [14:10:30]OFD Sender: No OFD packet to send [14:10:35]OFD Sender: No OFD packet to send [14:10:40]OFD Sender: No OFD packet to send [14:10:45]OFD Sender: No OFD packet to send [14:10:50]OFD Sender: No OFD packet to send [14:10:55]OFD Sender: No OFD packet to send [14:11:00]OFD Sender: No OFD packet to send [14:11:05]OFD Sender: No OFD packet to send [14:11:10]OFD Sender: No OFD packet to send [14:11:15]OFD Sender: No OFD packet to send [14:11:20]OFD Sender: No OFD packet to send [14:11:25]OFD Sender: No OFD packet to send [14:11:30]OFD Sender: No OFD packet to send [14:11:35]OFD Sender: No OFD packet to send [14:11:40]OFD Sender: No OFD packet to send [14:11:45]OFD Sender: No OFD packet to send [14:11:50]OFD Sender: No OFD packet to send [14:11:55]OFD Sender: No OFD packet to send [14:12:00]OFD Sender: No OFD packet to send [14:12:05]OFD Sender: No OFD packet to send [14:12:10]OFD Sender: No OFD packet to send [14:12:15]OFD Sender: No OFD packet to send [14:12:20]OFD Sender: No OFD packet to send [14:12:25]OFD Sender: No OFD packet to send [14:12:30]OFD Sender: No OFD packet to send [14:12:35]OFD Sender: No OFD packet to send [14:12:40]OFD Sender: No OFD packet to send [14:12:45]OFD Sender: No OFD packet to send [14:12:50]OFD Sender: No OFD packet to send [14:12:55]OFD Sender: No OFD packet to send [14:13:00]OFD Sender: No OFD packet to send [14:13:05]OFD Sender: No OFD packet to send [14:13:10]OFD Sender: No OFD packet to send [14:13:15]OFD Sender: No OFD packet to send [14:13:20]OFD Sender: No OFD packet to send [14:13:25]OFD Sender: No OFD packet to send [14:13:30]OFD Sender: No OFD packet to send [14:13:35]OFD Sender: No OFD packet to send [14:13:40]OFD Sender: No OFD packet to send [14:13:45]OFD Sender: No OFD packet to send [14:13:50]OFD Sender: No OFD packet to send [14:13:55]OFD Sender: No OFD packet to send [14:14:00]OFD Sender: No OFD packet to send [14:14:05]OFD Sender: No OFD packet to send [14:14:10]OFD Sender: No OFD packet to send [14:14:15]OFD Sender: No OFD packet to send [14:14:20]OFD Sender: No OFD packet to send [14:14:25]OFD Sender: No OFD packet to send [14:14:30]OFD Sender: No OFD packet to send [14:14:35]OFD Sender: No OFD packet to send [14:14:40]OFD Sender: No OFD packet to send [14:14:45]OFD Sender: No OFD packet to send [14:14:50]OFD Sender: No OFD packet to send [14:14:55]OFD Sender: No OFD packet to send [14:15:00]OFD Sender: No OFD packet to send [14:15:05]OFD Sender: No OFD packet to send [14:15:10]OFD Sender: No OFD packet to send [14:15:15]OFD Sender: No OFD packet to send [14:15:20]OFD Sender: No OFD packet to send [14:15:25]OFD Sender: No OFD packet to send [14:15:30]OFD Sender: No OFD packet to send [14:15:35]OFD Sender: No OFD packet to send [14:15:40]OFD Sender: No OFD packet to send [14:15:45]OFD Sender: No OFD packet to send [14:15:50]OFD Sender: No OFD packet to send [14:15:55]OFD Sender: No OFD packet to send [14:16:00]OFD Sender: No OFD packet to send [14:16:05]OFD Sender: No OFD packet to send [14:16:10]OFD Sender: No OFD packet to send [14:16:15]OFD Sender: No OFD packet to send [14:16:20]OFD Sender: No OFD packet to send [14:16:25]OFD Sender: No OFD packet to send [14:16:30]OFD Sender: No OFD packet to send [14:16:35]OFD Sender: No OFD packet to send [14:16:40]OFD Sender: No OFD packet to send [14:16:45]OFD Sender: No OFD packet to send [14:16:50]OFD Sender: No OFD packet to send [14:16:55]OFD Sender: No OFD packet to send [14:17:00]OFD Sender: No OFD packet to send [14:17:05]OFD Sender: No OFD packet to send [14:17:10]OFD Sender: No OFD packet to send [14:17:15]OFD Sender: No OFD packet to send [14:17:20]OFD Sender: No OFD packet to send [14:17:25]OFD Sender: No OFD packet to send [14:17:30]OFD Sender: No OFD packet to send [14:17:35]OFD Sender: No OFD packet to send [14:17:40]OFD Sender: No OFD packet to send [14:17:45]OFD Sender: No OFD packet to send [14:17:50]OFD Sender: No OFD packet to send [14:17:55]OFD Sender: No OFD packet to send [14:18:00]OFD Sender: No OFD packet to send [14:18:05]OFD Sender: No OFD packet to send [14:18:10]OFD Sender: No OFD packet to send [14:18:15]OFD Sender: No OFD packet to send [14:18:20]OFD Sender: No OFD packet to send [14:18:25]OFD Sender: No OFD packet to send [14:18:30]OFD Sender: No OFD packet to send [14:18:35]OFD Sender: No OFD packet to send [14:18:40]OFD Sender: No OFD packet to send [14:18:45]OFD Sender: No OFD packet to send [14:18:50]OFD Sender: No OFD packet to send [14:18:55]OFD Sender: No OFD packet to send [14:19:00]OFD Sender: No OFD packet to send [14:19:05]OFD Sender: No OFD packet to send [14:19:10]OFD Sender: No OFD packet to send [14:19:15]OFD Sender: No OFD packet to send [14:19:20]OFD Sender: No OFD packet to send [14:19:25]OFD Sender: No OFD packet to send [14:19:30]OFD Sender: No OFD packet to send [14:19:35]OFD Sender: No OFD packet to send [14:19:40]OFD Sender: No OFD packet to send [14:19:45]OFD Sender: No OFD packet to send [14:19:50]OFD Sender: No OFD packet to send [14:19:55]OFD Sender: No OFD packet to send [14:20:00]OFD Sender: No OFD packet to send [14:20:05]OFD Sender: No OFD packet to send [14:20:10]OFD Sender: No OFD packet to send [14:20:15]OFD Sender: No OFD packet to send [14:20:20]OFD Sender: No OFD packet to send [14:20:25]OFD Sender: No OFD packet to send [14:20:30]OFD Sender: No OFD packet to send [14:20:35]OFD Sender: No OFD packet to send [14:20:40]OFD Sender: No OFD packet to send [14:20:45]OFD Sender: No OFD packet to send [14:20:50]OFD Sender: No OFD packet to send [14:20:55]OFD Sender: No OFD packet to send [14:21:00]OFD Sender: No OFD packet to send [14:21:06]OFD Sender: No OFD packet to send [14:21:11]OFD Sender: No OFD packet to send [14:21:16]OFD Sender: No OFD packet to send [14:21:21]OFD Sender: No OFD packet to send [14:21:26]OFD Sender: No OFD packet to send [14:21:31]OFD Sender: No OFD packet to send [14:21:36]OFD Sender: No OFD packet to send [14:21:41]OFD Sender: No OFD packet to send [14:21:46]OFD Sender: No OFD packet to send [14:21:51]OFD Sender: No OFD packet to send [14:21:56]OFD Sender: No OFD packet to send [14:22:01]OFD Sender: No OFD packet to send [14:22:06]OFD Sender: No OFD packet to send [14:22:11]OFD Sender: No OFD packet to send [14:22:16]OFD Sender: No OFD packet to send [14:22:21]OFD Sender: No OFD packet to send [14:22:26]OFD Sender: No OFD packet to send [14:22:31]OFD Sender: No OFD packet to send [14:22:36]OFD Sender: No OFD packet to send [14:22:41]OFD Sender: No OFD packet to send [14:22:46]OFD Sender: No OFD packet to send [14:22:51]OFD Sender: No OFD packet to send [14:22:56]OFD Sender: No OFD packet to send [14:23:01]OFD Sender: No OFD packet to send [14:23:06]OFD Sender: No OFD packet to send [14:23:11]OFD Sender: No OFD packet to send [14:23:16]OFD Sender: No OFD packet to send [14:23:21]OFD Sender: No OFD packet to send [14:23:26]OFD Sender: No OFD packet to send [14:23:31]OFD Sender: No OFD packet to send [14:23:36]OFD Sender: No OFD packet to send [14:23:41]OFD Sender: No OFD packet to send [14:23:46]OFD Sender: No OFD packet to send [14:23:51]OFD Sender: No OFD packet to send [14:23:56]OFD Sender: No OFD packet to send [14:24:01]OFD Sender: No OFD packet to send [14:24:06]OFD Sender: No OFD packet to send [14:24:11]OFD Sender: No OFD packet to send [14:24:16]OFD Sender: No OFD packet to send [14:24:21]OFD Sender: No OFD packet to send [14:24:26]OFD Sender: No OFD packet to send [14:24:31]OFD Sender: No OFD packet to send [14:24:36]OFD Sender: No OFD packet to send [14:24:41]OFD Sender: No OFD packet to send [14:24:46]OFD Sender: No OFD packet to send [14:24:51]OFD Sender: No OFD packet to send [14:24:56]OFD Sender: No OFD packet to send [14:25:01]OFD Sender: No OFD packet to send [14:25:06]OFD Sender: No OFD packet to send [14:25:11]OFD Sender: No OFD packet to send [14:25:16]OFD Sender: No OFD packet to send [14:25:21]OFD Sender: No OFD packet to send [14:25:26]OFD Sender: No OFD packet to send [14:25:31]OFD Sender: No OFD packet to send [14:25:36]OFD Sender: No OFD packet to send [14:25:41]OFD Sender: No OFD packet to send [14:25:46]OFD Sender: No OFD packet to send [14:25:51]OFD Sender: No OFD packet to send [14:25:56]OFD Sender: No OFD packet to send [14:26:01]OFD Sender: No OFD packet to send [14:26:06]OFD Sender: No OFD packet to send [14:26:11]OFD Sender: No OFD packet to send [14:26:16]OFD Sender: No OFD packet to send [14:26:21]OFD Sender: No OFD packet to send [14:26:26]OFD Sender: No OFD packet to send [14:26:31]OFD Sender: No OFD packet to send [14:26:36]OFD Sender: No OFD packet to send [14:26:41]OFD Sender: No OFD packet to send [14:26:46]OFD Sender: No OFD packet to send [14:26:51]OFD Sender: No OFD packet to send [14:26:56]OFD Sender: No OFD packet to send [14:27:01]OFD Sender: No OFD packet to send [14:27:06]OFD Sender: No OFD packet to send [14:27:11]OFD Sender: No OFD packet to send [14:27:16]OFD Sender: No OFD packet to send [14:27:21]OFD Sender: No OFD packet to send [14:27:26]OFD Sender: No OFD packet to send [14:27:31]OFD Sender: No OFD packet to send [14:27:36]OFD Sender: No OFD packet to send [14:27:41]OFD Sender: No OFD packet to send [14:27:46]OFD Sender: No OFD packet to send [14:27:51]OFD Sender: No OFD packet to send [14:27:56]OFD Sender: No OFD packet to send [14:28:01]OFD Sender: No OFD packet to send [14:28:06]OFD Sender: No OFD packet to send [14:28:11]OFD Sender: No OFD packet to send [14:28:16]OFD Sender: No OFD packet to send [14:28:21]OFD Sender: No OFD packet to send [14:28:26]OFD Sender: No OFD packet to send [14:28:31]OFD Sender: No OFD packet to send [14:28:36]OFD Sender: No OFD packet to send [14:28:41]OFD Sender: No OFD packet to send [14:28:46]OFD Sender: No OFD packet to send [14:28:51]OFD Sender: No OFD packet to send [14:28:56]OFD Sender: No OFD packet to send [14:29:01]OFD Sender: No OFD packet to send [14:29:06]OFD Sender: No OFD packet to send [14:29:11]OFD Sender: No OFD packet to send [14:29:16]OFD Sender: No OFD packet to send [14:29:21]OFD Sender: No OFD packet to send [14:29:26]OFD Sender: No OFD packet to send [14:29:31]OFD Sender: No OFD packet to send [14:29:36]OFD Sender: No OFD packet to send [14:29:41]OFD Sender: No OFD packet to send [14:29:46]OFD Sender: No OFD packet to send [14:29:51]OFD Sender: No OFD packet to send [14:29:56]OFD Sender: No OFD packet to send [14:30:01]OFD Sender: No OFD packet to send [14:30:06]OFD Sender: No OFD packet to send [14:30:11]OFD Sender: No OFD packet to send [14:30:16]OFD Sender: No OFD packet to send [14:30:21]OFD Sender: No OFD packet to send [14:30:26]OFD Sender: No OFD packet to send [14:30:31]OFD Sender: No OFD packet to send [14:30:36]OFD Sender: No OFD packet to send [14:30:41]OFD Sender: No OFD packet to send [14:30:46]OFD Sender: No OFD packet to send [14:30:51]OFD Sender: No OFD packet to send [14:30:56]OFD Sender: No OFD packet to send [14:31:01]OFD Sender: No OFD packet to send [14:31:06]OFD Sender: No OFD packet to send [14:31:11]OFD Sender: No OFD packet to send [14:31:16]OFD Sender: No OFD packet to send [14:31:21]OFD Sender: No OFD packet to send [14:31:26]OFD Sender: No OFD packet to send [14:31:31]OFD Sender: No OFD packet to send [14:31:36]OFD Sender: No OFD packet to send [14:31:41]OFD Sender: No OFD packet to send [14:31:46]OFD Sender: No OFD packet to send [14:31:51]OFD Sender: No OFD packet to send [14:31:56]OFD Sender: No OFD packet to send [14:32:01]OFD Sender: No OFD packet to send [14:32:06]OFD Sender: No OFD packet to send [14:32:11]OFD Sender: No OFD packet to send [14:32:16]OFD Sender: No OFD packet to send [14:32:21]OFD Sender: No OFD packet to send [14:32:26]OFD Sender: No OFD packet to send [14:32:31]OFD Sender: No OFD packet to send [14:32:36]OFD Sender: No OFD packet to send [14:32:41]OFD Sender: No OFD packet to send [14:32:46]OFD Sender: No OFD packet to send [14:32:51]OFD Sender: No OFD packet to send [14:32:56]OFD Sender: No OFD packet to send [14:33:01]OFD Sender: No OFD packet to send [14:33:06]OFD Sender: No OFD packet to send [14:33:11]OFD Sender: No OFD packet to send [14:33:16]OFD Sender: No OFD packet to send [14:33:21]OFD Sender: No OFD packet to send [14:33:26]OFD Sender: No OFD packet to send [14:33:31]OFD Sender: No OFD packet to send [14:33:36]OFD Sender: No OFD packet to send [14:33:41]OFD Sender: No OFD packet to send [14:33:42]accept exits with 9 [14:33:42]New connection [14:33:42]New thread 3066924388 created [14:33:42]Thread 3067067748 joined [14:33:42]Waiting for new connection... [14:33:42] Sock 9.Parse request [14:33:42]Sock 9.Check first char [14:33:42]Sock 9.First char is OK [14:33:42]request: POST /json_proto HTTP/1.0 [14:33:42]Method: POST [14:33:42]URL: /json_proto [14:33:42]Method is POST - this is cgi request [14:33:42]url: /json_proto [14:33:42]query_string will be loaded in cgi processing [14:33:42]execute_cgi json_proto POST (null) [14:33:42]execute_cgi path=json_proto method=POST [14:33:42]POST find Content-Length [14:33:42]Host: 172.17.39.4:8080 [14:33:42]Content-Length: 726 [14:33:42]Content-Type: application/json [14:33:42] [14:33:42]POST finish read [14:33:42]Found Content-Length = 726 [14:33:42]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129630", "tax_sys" : 0, "items" : [ { "code": "4640030091645", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange M", "price" : 138.00, "quantity" : 2.000, "sum" : 276.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 276.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:33:42]execute_script... [14:33: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)129630", "tax_sys" : 0, "items" : [ { "code": "4640030091645", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange M", "price" : 138.00, "quantity" : 2.000, "sum" : 276.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 276.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:33:42]POST & json_proto [14:33:42]process_json_proto [14:33:42]json parsed OK: [14:33:42]protocol is kg_v1.0 [14:33:42]action value=close_receipt [14:33:42]process_action close_receipt [14:33:42]cmd_close_receipt [14:33:42]MH_GetDate [14:33:42]Write to MH i2c: F0 00 00 6B 18 72 [14:33:42]Write i2c OK [14:33:42]MH_I2C_Read... [14:33:42]Read from MH i2c: F0 [14:33:42]MH_I2C_Read... [14:33:42]Read from MH i2c: F0 09 00 [14:33:42]MH_I2C_Read... [14:33:42]Read from MH i2c: F0 09 00 6B 18 00 4A 33 95 66 2D 25 5D 64 06 [14:33:42]GetLastDocTimeStamp 1721049418 [14:33:42]current date 1721054026 [14:33:42]FM_GetShiftState [14:33:42]SAM_PROTO_GetShiftState [14:33:42]wFMCommunicate request_size=4 [14:33:42]MH_SAM_APDU [14:33:42]CAPDU: 80 13 01 00 [14:33:42]Write to MH i2c: E2 08 00 6C 18 80 13 01 00 00 00 00 00 01 [14:33:42]Write i2c OK [14:33:42]MH_I2C_Read... [14:33:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:33:42]Read from MH i2c: E2 [14:33:42]MH_I2C_Read... [14:33:42]Read from MH i2c: E2 0E 00 [14:33:42]MH_I2C_Read... [14:33:42]Read from MH i2c: E2 0E 00 6C 18 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 7A [14:33:42]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [14:33:42]wFMCommunicate OK [14:33:42]SAM_PROTO_GetShiftState done [14:33:42]FM_GetShiftState done [14:33:42]opened in 1721003525 [14:33:42]opened+sec_in_day 1721089925 [14:33:42]quantity*price = 27600 [14:33:42]sum+1 = 27601 [14:33:42]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 276.00 НСП 1% : 2.44 НДС 12% : 29.31 Наличными: 276.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 73 15.07.2024 14:33 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57178 ФПД: 187261423410501 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T143346&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57178&fm=187261423410501&tin=02508201610067®Number=0000000000091208&sum=27600 0 [14:33:43]StoreToDocumentArchive [14:33:43]shift 497 fd 57178 [14:33:43]save to /storage/0497/doc_00057178 [14:33:43]save last doc name /storage/0497/doc_00057178 to /storage/kkm_last_doc_name [14:33:43]save OK [14:33:43]Clear old archive folders... [14:33:43]ProcessDocumentItem done err = 0, tmpTLVsize=274 [14:33:43]tlvbuf is 009D30F0 [14:33:43]SAM_PROTO_ClearQueue [14:33:43]wFMCommunicate request_size=4 [14:33:43]MH_SAM_APDU [14:33:43]CAPDU: 80 09 00 00 [14:33:43]Write to MH i2c: E2 08 00 79 18 80 09 00 00 00 00 00 00 03 [14:33:43]Write i2c OK [14:33:43]MH_I2C_Read... [14:33:43]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:33:43]Read from MH i2c: E2 [14:33:43]MH_I2C_Read... [14:33:43]Read from MH i2c: E2 03 00 [14:33:43]MH_I2C_Read... [14:33:43]Read from MH i2c: E2 03 00 79 18 00 90 00 05 [14:33:43]RAPDU: 90 00 [14:33:43]wFMCommunicate OK [14:33:43]SAM_PROTO_ClearQueue done [14:33:43]KKMCreateOFDPacket [14:33:43]OFDProtocolAddRootSTLVToBuf [14:33:43]FM_MakeSignedData [14:33:43]FM_MakeSignedData [14:33:43]SAM_PROTO_SignData [14:33:43]wFMCommunicate request_size=4 [14:33:43]MH_SAM_APDU [14:33:43]CAPDU: 80 0D 01 02 [14:33:43]Write to MH i2c: E2 08 00 7A 18 80 0D 01 02 00 00 00 00 0B [14:33:43]Write i2c OK [14:33:43]MH_I2C_Read... [14:33:43]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:33:43]Read from MH i2c: E2 [14:33:43]MH_I2C_Read... [14:33:43]Read from MH i2c: E2 03 00 [14:33:43]MH_I2C_Read... [14:33:43]Read from MH i2c: E2 03 00 7A 18 00 90 00 06 [14:33:43]RAPDU: 90 00 [14:33:43]wFMCommunicate OK [14:33:43]wFMCommunicate request_size=255 [14:33:43]MH_SAM_APDU [14:33:43]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 D0 07 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 D0 6B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 6B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F4 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 73 0B 00 00 00 00 07 04 06 00 D0 6B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 49 00 00 00 F4 03 04 00 4A 33 95 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 [14:33:43]Write to MH i2c: E2 02 01 7B 18 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 D0 07 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 D0 6B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 6B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F4 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 73 0B 00 00 00 00 07 04 06 00 D0 6B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 49 00 00 00 F4 03 04 00 4A 33 95 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 00 00 76 [14:33:43]Write i2c OK [14:33:43]MH_I2C_Read... [14:33:43]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:33:43]Read from MH i2c: E2 [14:33:43]MH_I2C_Read... [14:33:43]Read from MH i2c: E2 03 00 [14:33:43]MH_I2C_Read... [14:33:43]Read from MH i2c: E2 03 00 7B 18 00 90 00 07 [14:33:43]RAPDU: 90 00 [14:33:43]wFMCommunicate OK [14:33:43]wFMCommunicate request_size=33 [14:33:43]MH_SAM_APDU [14:33:43]CAPDU: 80 0D 02 02 1C 30 30 30 30 38 37 34 38 35 37 10 04 04 00 5A DF 00 00 35 04 06 00 AA 50 32 9F 5D 45 [14:33:43]Write to MH i2c: E2 24 00 7C 18 80 0D 02 02 1C 00 30 30 30 30 38 37 34 38 35 37 10 04 04 00 5A DF 00 00 35 04 06 00 AA 50 32 9F 5D 45 00 00 4A [14:33:43]Write i2c OK [14:33:43]MH_I2C_Read... [14:33:43]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:33:43]Read from MH i2c: E2 [14:33:43]MH_I2C_Read... [14:33:43]Read from MH i2c: E2 03 00 [14:33:43]MH_I2C_Read... [14:33:43]Read from MH i2c: E2 03 00 7C 18 00 90 00 08 [14:33:43]RAPDU: 90 00 [14:33:43]wFMCommunicate OK [14:33:43]wFMCommunicate request_size=4 [14:33:43]MH_SAM_APDU [14:33:43]CAPDU: 80 0D 03 02 [14:33:43]Write to MH i2c: E2 08 00 7D 18 80 0D 03 02 00 00 00 00 10 [14:33:43]Write i2c OK [14:33:43]MH_I2C_Read... [14:33:43]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:33:43]Read from MH i2c: E2 [14:33:43]MH_I2C_Read... [14:33:43]Read from MH i2c: E2 0B 00 [14:33:43]MH_I2C_Read... [14:33:43]Read from MH i2c: E2 0B 00 7D 18 00 09 6A 24 76 A2 E6 27 24 90 00 F1 [14:33:43]RAPDU: 09 6A 24 76 A2 E6 27 24 90 00 [14:33:43]wFMCommunicate OK [14:33:43]SAM_PROTO_SignData done [14:33:43]FM_MakeSignedData done [14:33:43]CreateOFDProtocolMessage [14:33:43]wFMCommunicate request_size=4 [14:33:43]MH_SAM_APDU [14:33:43]CAPDU: 80 11 00 00 [14:33:43]Write to MH i2c: E2 08 00 7E 18 80 11 00 00 00 00 00 00 10 [14:33:43]Write i2c OK [14:33:43]MH_I2C_Read... [14:33:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:33:43]Read from MH i2c: E2 [14:33:43]MH_I2C_Read... [14:33:43]Read from MH i2c: E2 17 00 [14:33:43]MH_I2C_Read... [14:33:43]Read from MH i2c: E2 17 00 7E 18 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 6A [14:33:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [14:33:43]wFMCommunicate OK [14:33:43]CreateOFDProtocolMessage done [14:33:43]OFDSenderStorePacket 57178 [14:33:43]StoreOFDPacket docnum=57178 [14:33: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 26 01 00 00 C8 1C 1E 01 4B 49 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 D0 07 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 D0 6B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 6B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F4 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 73 0B 00 00 00 00 07 04 06 00 D0 6B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 49 00 00 00 F4 03 04 00 4A 33 95 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 5A DF 00 00 35 04 06 00 AA 50 32 9F 5D 45 09 6A 24 76 A2 E6 27 24 [14:33:43]CheckFolder [14:33:43]dirname=/storage/ofd_packets [14:33:43]CheckFolder done [14:33:43]ProducePacketName [14:33:43]name=ofd_packets/00057178 [14:33:43]NVStorageSaveData ofd_packets/00057178 [14:33:43]File name is /storage/ofd_packets/00057178 [14:33:43]Write 324 bytes [14:33:43]NVStorageSaveData done [14:33:43]OFDSenderStorePacket done [14:33:43]KKMCreateOFDPacket done [14:33:43]NVStorageSaveData kkm_last_timestamp [14:33:43]File name is /storage/kkm_last_timestamp [14:33:43]Write 4 bytes [14:33:43]NVStorageSaveData done [14:33:43]ExternCall_PrintAddStr [14:33:43]wPrintStart [14:33:43]Write to MH i2c: 01 00 00 7F 18 97 [14:33:43]Write i2c OK [14:33:43]MH_I2C_Read... [14:33:43]Read from MH i2c: 01 [14:33:43]MH_I2C_Read... [14:33:43]Read from MH i2c: 01 07 00 [14:33:43]MH_I2C_Read... [14:33:43]Read from MH i2c: 01 07 00 7F 18 00 00 00 00 00 FF 0F AC [14:33:43]RasterBufferAndPrint [14:33:43]line Счет N : (3)129630 [14:33:43]line ИНН: 02508201610067 [14:33:43]line Контрольно-Кассовый Чек [14:33:43]line ПРОДАЖА [14:33:43]line Товар: 4640030091645 [14:33:43]line Сигареты ESSE Exchange M [14:33:43]line 2.000 * 138.00 [14:33:43]line = 276.00 [14:33:43]line НДС 12% НСП 1% [14:33:43]line > о реализуемом товаре [14:33:43]line ИТОГО: 276.00 [14:33:43]line НСП 1% : 2.44 [14:33:43]line НДС 12% : 29.31 [14:33:43]line Наличными: 276.00 [14:33:43]line Безнал.: 0.00 [14:33:43]line Место: АЗС № 132 "Партнер Нефть" [14:33:43]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [14:33:43]line СНО: Общий режим [14:33:43]line Чек 73 15.07.2024 14:33 [14:33:43]line Смена: 497 ФФД: 1.0 [14:33:43]line ЗНМ: 0300000132 [14:33:43]line РНМ: 0000000000091208 [14:33:43]line Версия ККМ: 001 [14:33:43]line ФМ: 0000000000874857 [14:33:43]line ФД: 57178 [14:33:43]line ФПД: 187261423410501 [14:33:43]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T143346&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57178&fm=187261423410501&tin=02508201610067®Number=0000000000091208&sum=27600 [14:33:43]line 0 [14:33:44]written 0, free lines is 4095 [14:33:44]OFD Sender: Processing packet 57178 [packets to send 38, broken 37] [14:33:44]ProducePacketName [14:33:44]name=ofd_packets/00057178 [14:33:44]OFD Sender: To server: pG, [14:33:44]CommunicateWithHost lk.salyk.kg:30040 [14:33:44]ConnectInit lk.salyk.kg [14:33:44]Connected sock=10 [14:33: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 26 01 00 00 C8 1C 1E 01 4B 49 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 D0 07 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 D0 6B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 6B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F4 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 73 0B 00 00 00 00 07 04 06 00 D0 6B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 49 00 00 00 F4 03 04 00 4A 33 95 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 5A DF 00 00 35 04 06 00 AA 50 32 9F 5D 45 09 6A 24 76 A2 E6 27 24 [14:33:44]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 14 A8 47 00 CE 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 5A DF 00 00 F4 03 04 00 98 D9 94 66 B6 04 01 00 00 3D 02 75 35 C5 E6 8E B2 [14:33:44]CommunicateWithHost err = 0 [14:33:44]CheckOFDResponse [14:33:44]1017 (14) - 77093643461234 [14:33:44]1041 (16) - 0000000000874857 [14:33:44]1040 (4) - 57178 [14:33:44]1012 (4) - 15.07.2024 08:11 [14:33:44]1206 (1) - 0 [14:33:44]OFD Sender: Remove packet 57178 [14:33:44]ProducePacketName [14:33:44]name=ofd_packets/00057178 [14:33:44]NVStorageDeleteData [14:33:44]Write to MH i2c: 01 00 00 A7 18 BF [14:33:44]Write i2c OK [14:33:44]MH_I2C_Read... [14:33:44]Read from MH i2c: 01 [14:33:44]MH_I2C_Read... [14:33:44]Read from MH i2c: 01 07 00 [14:33:44]MH_I2C_Read... [14:33:44]Read from MH i2c: 01 07 00 A7 18 00 00 00 00 00 05 0D D8 [14:33:44]RasterBufferAndPrint [14:33:44]line [14:33:44]line [14:33:44]line [14:33:44]line [14:33:44]line [14:33:44]written 0, free lines is 3340 [14:33:44]MH_Cut [14:33:44]Write to MH i2c: D1 01 00 AE 18 01 98 [14:33:44]Write i2c OK [14:33:44]MH_I2C_Read... [14:33:44]Read from MH i2c: D1 [14:33:44]MH_I2C_Read... [14:33:44]Read from MH i2c: D1 01 00 [14:33:44]MH_I2C_Read... [14:33:44]Read from MH i2c: D1 01 00 AE 18 00 97 [14:33:44]Write to MH i2c: 01 00 00 AF 18 C7 [14:33:44]Write i2c OK [14:33:44]MH_I2C_Read... [14:33:45]OFD Sender: No OFD packet to send [14:33:45]*** Cut start [14:33:45]*** Partial cut [14:33:45]*** CUTSNS_PIN = 1 [14:33:45]*** CUTSNS_PIN = 0 [14:33:45]*** Brake cut motor [14:33:46]Read from MH i2c: 01 [14:33:46]MH_I2C_Read... [14:33:46]*** Stop cut motor [14:33:46]*** Cut end [14:33:46]Read from MH i2c: 01 07 00 [14:33:46]MH_I2C_Read... [14:33:46]Read from MH i2c: 01 07 00 AF 18 00 00 00 00 00 FF 0F DC [14:33:46]process_action close_receipt done [14:33:46]requested_data is exist [14:33:46]produce_requested_data [14:33:46]requested_item fm.sn is exist - process it [14:33:46]wFMCommunicate request_size=4 [14:33:46]MH_SAM_APDU [14:33:46]CAPDU: 80 11 00 00 [14:33:46]Write to MH i2c: E2 08 00 B0 18 80 11 00 00 00 00 00 00 42 [14:33:46]Write i2c OK [14:33:46]MH_I2C_Read... [14:33:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:33:46]Read from MH i2c: E2 [14:33:46]MH_I2C_Read... [14:33:46]Read from MH i2c: E2 17 00 [14:33:46]MH_I2C_Read... [14:33:46]Read from MH i2c: E2 17 00 B0 18 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 9C [14:33: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:33:46]wFMCommunicate OK [14:33:46]requested_item fd.num is exist - process it [14:33:46]SAM_PROTO_GetFieldsCounters [14:33:46]wFMCommunicate request_size=4 [14:33:46]MH_SAM_APDU [14:33:46]CAPDU: 80 13 00 00 [14:33:46]Write to MH i2c: E2 08 00 B1 18 80 13 00 00 00 00 00 00 45 [14:33:46]Write i2c OK [14:33:46]MH_I2C_Read... [14:33:46]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:33:46]Read from MH i2c: E2 [14:33:46]MH_I2C_Read... [14:33:46]Read from MH i2c: E2 62 00 [14:33:46]MH_I2C_Read... [14:33:46]Read from MH i2c: E2 62 00 B1 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 5A DF 00 00 0E 04 04 00 F1 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 6E [14:33: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 5A DF 00 00 0E 04 04 00 F1 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 [14:33:46]wFMCommunicate OK [14:33:46]SAM_PROTO_GetFieldsCounters done [14:33:46]requested_item shift.num is exist - process it [14:33:46]requested_item shift.opened is exist - process it [14:33:46]req_shift_opened [14:33:46]FM_GetShiftState [14:33:46]SAM_PROTO_GetShiftState [14:33:46]wFMCommunicate request_size=4 [14:33:46]MH_SAM_APDU [14:33:46]CAPDU: 80 13 01 00 [14:33:46]Write to MH i2c: E2 08 00 B2 18 80 13 01 00 00 00 00 00 47 [14:33:46]Write i2c OK [14:33:46]MH_I2C_Read... [14:33:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:33:46]Read from MH i2c: E2 [14:33:46]MH_I2C_Read... [14:33:46]Read from MH i2c: E2 0E 00 [14:33:46]MH_I2C_Read... [14:33:46]Read from MH i2c: E2 0E 00 B2 18 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 C0 [14:33:46]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [14:33:46]wFMCommunicate OK [14:33:46]SAM_PROTO_GetShiftState done [14:33:46]FM_GetShiftState done [14:33:46]req_shift_opened done [14:33:46]requested_item shift.open_date is exist - process it [14:33:46]req_shift_open_date [14:33:46]req_shift_open_date done [14:33:46]requested_item shift.sale.total is exist - process it [14:33:46]SAM_PROTO_GetShiftData [14:33:46]wFMCommunicate request_size=4 [14:33:46]MH_SAM_APDU [14:33:46]CAPDU: 80 13 02 00 [14:33:46]Write to MH i2c: E2 08 00 B3 18 80 13 02 00 00 00 00 00 49 [14:33:46]Write i2c OK [14:33:46]MH_I2C_Read... [14:33:46]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [14:33:46]Read from MH i2c: E2 [14:33:46]MH_I2C_Read... [14:33:46]Read from MH i2c: E2 FD 00 [14:33:46]MH_I2C_Read... [14:33:46]Read from MH i2c: E2 FD 00 B3 18 00 B6 04 AA 04 B2 04 6E 04 04 00 49 00 00 00 69 04 9B 00 6F 04 04 00 48 00 00 00 B1 04 03 00 A1 F8 1B 70 04 03 00 8C E4 16 72 04 03 00 15 14 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 76 F8 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 5B 3F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 AE [14:33:46]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 49 00 00 00 69 04 9B 00 6F 04 04 00 48 00 00 00 B1 04 03 00 A1 F8 1B 70 04 03 00 8C E4 16 72 04 03 00 15 14 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 76 F8 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 5B 3F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 [14:33:46]wFMCommunicate OK [14:33:46]wFMCommunicate request_size=4 [14:33:46]MH_SAM_APDU [14:33:46]CAPDU: 80 17 00 00 [14:33:46]Write to MH i2c: E2 08 00 B4 18 80 17 00 00 00 00 00 00 4C [14:33:46]Write i2c OK [14:33:46]MH_I2C_Read... [14:33:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:33:47]Read from MH i2c: E2 [14:33:47]MH_I2C_Read... [14:33:47]Read from MH i2c: E2 FD 00 [14:33:47]MH_I2C_Read... [14:33:47]Read from MH i2c: E2 FD 00 B4 18 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 81 [14:33:47]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 [14:33:47]wFMCommunicate OK [14:33:47]wFMCommunicate request_size=4 [14:33:47]MH_SAM_APDU [14:33:47]CAPDU: 80 17 00 00 [14:33:47]Write to MH i2c: E2 08 00 B5 18 80 17 00 00 00 00 00 00 4D [14:33:47]Write i2c OK [14:33:47]MH_I2C_Read... [14:33:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:33:47]Read from MH i2c: E2 [14:33:47]MH_I2C_Read... [14:33:47]Read from MH i2c: E2 FD 00 [14:33:47]MH_I2C_Read... [14:33:47]Read from MH i2c: E2 FD 00 B5 18 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 0D [14:33:47]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 [14:33:47]wFMCommunicate OK [14:33:47]wFMCommunicate request_size=4 [14:33:47]MH_SAM_APDU [14:33:47]CAPDU: 80 17 00 00 [14:33:47]Write to MH i2c: E2 08 00 B6 18 80 17 00 00 00 00 00 00 4E [14:33:47]Write i2c OK [14:33:47]MH_I2C_Read... [14:33:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:33:47]Read from MH i2c: E2 [14:33:47]MH_I2C_Read... [14:33:47]Read from MH i2c: E2 FD 00 [14:33:47]MH_I2C_Read... [14:33:47]Read from MH i2c: E2 FD 00 B6 18 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 BD [14:33:47]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 [14:33:47]wFMCommunicate OK [14:33:47]wFMCommunicate request_size=4 [14:33:47]MH_SAM_APDU [14:33:47]CAPDU: 80 17 00 00 [14:33:47]Write to MH i2c: E2 08 00 B7 18 80 17 00 00 00 00 00 00 4F [14:33:47]Write i2c OK [14:33:47]MH_I2C_Read... [14:33:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [14:33:47]Read from MH i2c: E2 [14:33:47]MH_I2C_Read... [14:33:47]Read from MH i2c: E2 D3 00 [14:33:47]MH_I2C_Read... [14:33:47]Read from MH i2c: E2 D3 00 B7 18 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 3C [14:33:47]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 [14:33:47]wFMCommunicate OK [14:33:47]SAM_PROTO_GetShiftData done [14:33:47]requested_item shift.sale.total_cash is exist - process it [14:33:47]requested_item shift.sale_refund.total is exist - process it [14:33:47]requested_item shift.sale_refund.total_cash is exist - process it [14:33:47]produce_requested_data done [14:33:47]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57178,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":18331.21,"shift.sale.total_cash":15003.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [14:33:47]process_action_free close_receipt [14:33:47]json_value_free [14:33:47]json_value_free done [14:33:47]process_json_proto returns [14:33:47]Send response to host [14:33:47]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57178,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":18331.21,"shift.sale.total_cash":15003.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [14:33:47]free response buf [14:33:47]execute_script done [14:33:47]execute_script returns [14:33:47]free content buf [14:33:47]Sock 9.Close socket [14:33:47]Sock 9.Thread stoped [14:33:50]OFD Sender: No OFD packet to send [14:33:55]OFD Sender: No OFD packet to send [14:34:00]OFD Sender: No OFD packet to send [14:34:05]OFD Sender: No OFD packet to send [14:34:10]OFD Sender: No OFD packet to send [14:34:15]accept exits with 8 [14:34:15]New connection [14:34:15]New thread 3067067748 created [14:34:15]Thread 3066924388 joined [14:34:15]Waiting for new connection... [14:34:15] Sock 8.Parse request [14:34:15]Sock 8.Check first char [14:34:15]Sock 8.First char is OK [14:34:15]request: POST /json_proto HTTP/1.0 [14:34:15]Method: POST [14:34:15]URL: /json_proto [14:34:15]Method is POST - this is cgi request [14:34:15]url: /json_proto [14:34:15]query_string will be loaded in cgi processing [14:34:15]execute_cgi json_proto POST (null) [14:34:15]execute_cgi path=json_proto method=POST [14:34:15]POST find Content-Length [14:34:15]Host: 172.17.39.4:8080 [14:34:15]Content-Length: 782 [14:34:15]Content-Type: application/json [14:34:15] [14:34:15]POST finish read [14:34:15]Found Content-Length = 782 [14:34:15]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)855922", "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" ] } } [14:34:15]execute_script... [14:34:15]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)855922", "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" ] } } [14:34:15]POST & json_proto [14:34:15]process_json_proto [14:34:15]json parsed OK: [14:34:15]protocol is kg_v1.0 [14:34:15]action value=close_receipt [14:34:15]process_action close_receipt [14:34:15]cmd_close_receipt [14:34:15]MH_GetDate [14:34:15]Write to MH i2c: F0 00 00 B8 18 BF [14:34:15]Write i2c OK [14:34:15]MH_I2C_Read... [14:34:15]Read from MH i2c: F0 [14:34:15]MH_I2C_Read... [14:34:15]Read from MH i2c: F0 09 00 [14:34:15]MH_I2C_Read... [14:34:15]Read from MH i2c: F0 09 00 B8 18 00 6B 33 95 66 2D 25 5D 64 74 [14:34:15]GetLastDocTimeStamp 1721054026 [14:34:15]current date 1721054059 [14:34:15]FM_GetShiftState [14:34:15]SAM_PROTO_GetShiftState [14:34:15]wFMCommunicate request_size=4 [14:34:15]MH_SAM_APDU [14:34:15]CAPDU: 80 13 01 00 [14:34:15]Write to MH i2c: E2 08 00 B9 18 80 13 01 00 00 00 00 00 4E [14:34:15]Write i2c OK [14:34:15]MH_I2C_Read... [14:34:15]OFD Sender: No OFD packet to send [14:34:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:34:15]Read from MH i2c: E2 [14:34:15]MH_I2C_Read... [14:34:15]Read from MH i2c: E2 0E 00 [14:34:15]MH_I2C_Read... [14:34:15]Read from MH i2c: E2 0E 00 B9 18 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 C7 [14:34:15]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [14:34:15]wFMCommunicate OK [14:34:15]SAM_PROTO_GetShiftState done [14:34:15]FM_GetShiftState done [14:34:15]opened in 1721003525 [14:34:15]opened+sec_in_day 1721089925 [14:34:15]quantity*price = 70012 [14:34:15]sum+1 = 70014 [14:34:15]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 СНО: Общий режим Чек 74 15.07.2024 14:34 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57179 ФПД: 259245366277333 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T143419&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57179&fm=259245366277333&tin=02508201610067®Number=0000000000091208&sum=70000 [14:34:16]StoreToDocumentArchive [14:34:16]shift 497 fd 57179 [14:34:16]save to /storage/0497/doc_00057179 [14:34:16]save last doc name /storage/0497/doc_00057179 to /storage/kkm_last_doc_name [14:34:16]save OK [14:34:16]Clear old archive folders... [14:34:16]ProcessDocumentItem done err = 0, tmpTLVsize=251 [14:34:16]tlvbuf is 00973F10 [14:34:16]SAM_PROTO_ClearQueue [14:34:16]wFMCommunicate request_size=4 [14:34:16]MH_SAM_APDU [14:34:16]CAPDU: 80 09 00 00 [14:34:16]Write to MH i2c: E2 08 00 C6 18 80 09 00 00 00 00 00 00 50 [14:34:16]Write i2c OK [14:34:16]MH_I2C_Read... [14:34:16]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:34:16]Read from MH i2c: E2 [14:34:16]MH_I2C_Read... [14:34:16]Read from MH i2c: E2 03 00 [14:34:16]MH_I2C_Read... [14:34:16]Read from MH i2c: E2 03 00 C6 18 00 90 00 52 [14:34:16]RAPDU: 90 00 [14:34:16]wFMCommunicate OK [14:34:16]SAM_PROTO_ClearQueue done [14:34:16]KKMCreateOFDPacket [14:34:16]OFDProtocolAddRootSTLVToBuf [14:34:16]FM_MakeSignedData [14:34:16]FM_MakeSignedData [14:34:16]SAM_PROTO_SignData [14:34:16]wFMCommunicate request_size=4 [14:34:16]MH_SAM_APDU [14:34:16]CAPDU: 80 0D 01 02 [14:34:16]Write to MH i2c: E2 08 00 C7 18 80 0D 01 02 00 00 00 00 58 [14:34:16]Write i2c OK [14:34:16]MH_I2C_Read... [14:34:16]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:34:16]Read from MH i2c: E2 [14:34:16]MH_I2C_Read... [14:34:16]Read from MH i2c: E2 03 00 [14:34:16]MH_I2C_Read... [14:34:16]Read from MH i2c: E2 03 00 C7 18 00 90 00 53 [14:34:16]RAPDU: 90 00 [14:34:16]wFMCommunicate OK [14:34:16]wFMCommunicate request_size=255 [14:34:16]MH_SAM_APDU [14:34:16]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 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 4A 00 00 00 F4 03 04 00 6B 33 95 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 5B DF 00 00 35 04 06 00 EB [14:34:16]Write to MH i2c: E2 02 01 C8 18 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 4A 00 00 00 F4 03 04 00 6B 33 95 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 5B DF 00 00 35 04 06 00 EB 00 00 EF [14:34:16]Write i2c OK [14:34:16]MH_I2C_Read... [14:34:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:34:16]Read from MH i2c: E2 [14:34:16]MH_I2C_Read... [14:34:16]Read from MH i2c: E2 03 00 [14:34:16]MH_I2C_Read... [14:34:16]Read from MH i2c: E2 03 00 C8 18 00 90 00 54 [14:34:16]RAPDU: 90 00 [14:34:16]wFMCommunicate OK [14:34:16]wFMCommunicate request_size=10 [14:34:16]MH_SAM_APDU [14:34:16]CAPDU: 80 0D 02 02 05 C8 43 F7 74 D5 [14:34:16]Write to MH i2c: E2 0D 00 C9 18 80 0D 02 02 05 00 C8 43 F7 74 D5 00 00 B0 [14:34:16]Write i2c OK [14:34:16]MH_I2C_Read... [14:34:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:34:16]Read from MH i2c: E2 [14:34:16]MH_I2C_Read... [14:34:16]Read from MH i2c: E2 03 00 [14:34:16]MH_I2C_Read... [14:34:16]Read from MH i2c: E2 03 00 C9 18 00 90 00 55 [14:34:16]RAPDU: 90 00 [14:34:16]wFMCommunicate OK [14:34:16]wFMCommunicate request_size=4 [14:34:16]MH_SAM_APDU [14:34:16]CAPDU: 80 0D 03 02 [14:34:16]Write to MH i2c: E2 08 00 CA 18 80 0D 03 02 00 00 00 00 5D [14:34:16]Write i2c OK [14:34:16]MH_I2C_Read... [14:34:16]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:34:16]Read from MH i2c: E2 [14:34:16]MH_I2C_Read... [14:34:16]Read from MH i2c: E2 0B 00 [14:34:16]MH_I2C_Read... [14:34:16]Read from MH i2c: E2 0B 00 CA 18 00 58 71 9C 5C 2A 7A 70 2F 90 00 62 [14:34:16]RAPDU: 58 71 9C 5C 2A 7A 70 2F 90 00 [14:34:16]wFMCommunicate OK [14:34:16]SAM_PROTO_SignData done [14:34:16]FM_MakeSignedData done [14:34:16]CreateOFDProtocolMessage [14:34:16]wFMCommunicate request_size=4 [14:34:16]MH_SAM_APDU [14:34:16]CAPDU: 80 11 00 00 [14:34:16]Write to MH i2c: E2 08 00 CB 18 80 11 00 00 00 00 00 00 5D [14:34:16]Write i2c OK [14:34:16]MH_I2C_Read... [14:34:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:34:16]Read from MH i2c: E2 [14:34:16]MH_I2C_Read... [14:34:16]Read from MH i2c: E2 17 00 [14:34:16]MH_I2C_Read... [14:34:16]Read from MH i2c: E2 17 00 CB 18 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 B7 [14:34:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [14:34:16]wFMCommunicate OK [14:34:16]CreateOFDProtocolMessage done [14:34:16]OFDSenderStorePacket 57179 [14:34:16]StoreOFDPacket docnum=57179 [14:34: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 0F 01 00 00 29 36 07 01 70 A8 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 4A 00 00 00 F4 03 04 00 6B 33 95 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 5B DF 00 00 35 04 06 00 EB C8 43 F7 74 D5 58 71 9C 5C 2A 7A 70 2F [14:34:16]CheckFolder [14:34:16]dirname=/storage/ofd_packets [14:34:16]CheckFolder done [14:34:16]ProducePacketName [14:34:16]name=ofd_packets/00057179 [14:34:16]NVStorageSaveData ofd_packets/00057179 [14:34:16]File name is /storage/ofd_packets/00057179 [14:34:16]Write 301 bytes [14:34:16]NVStorageSaveData done [14:34:16]OFDSenderStorePacket done [14:34:16]KKMCreateOFDPacket done [14:34:16]NVStorageSaveData kkm_last_timestamp [14:34:16]File name is /storage/kkm_last_timestamp [14:34:16]Write 4 bytes [14:34:16]NVStorageSaveData done [14:34:16]ExternCall_PrintAddStr [14:34:16]wPrintStart [14:34:16]Write to MH i2c: 01 00 00 CC 18 E4 [14:34:16]Write i2c OK [14:34:16]MH_I2C_Read... [14:34:16]Read from MH i2c: 01 [14:34:16]MH_I2C_Read... [14:34:16]Read from MH i2c: 01 07 00 [14:34:16]MH_I2C_Read... [14:34:16]Read from MH i2c: 01 07 00 CC 18 00 00 00 00 00 FF 0F F9 [14:34:16]RasterBufferAndPrint [14:34:16]line Счет N : (1)855922 [14:34:16]line ИНН: 02508201610067 [14:34:16]line Контрольно-Кассовый Чек [14:34:16]line ПРОДАЖА [14:34:16]line ТРК (МРК, ГНК) : 53 [14:34:16]line Товар: 2710124130 [14:34:16]line Аи-92-К-5 [14:34:16]line 10.560 * 66.30 [14:34:16]line = 700.13 [14:34:16]line НДС 12% НСП 1% [14:34:16]line > о реализуемом товаре [14:34:16]line ОКРУГЛЕНИЕ: -0.13 [14:34:16]line ИТОГО: 700.00 [14:34:16]line Внесено: 700.00 [14:34:16]line СДАЧА: 0.00 [14:34:16]line НСП 1% : 6.20 [14:34:16]line НДС 12% : 74.35 [14:34:16]line Наличными: 700.00 [14:34:16]line Безнал.: 0.00 [14:34:16]line Место: АЗС № 132 "Партнер Нефть" [14:34:16]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [14:34:16]line СНО: Общий режим [14:34:16]line Чек 74 15.07.2024 14:34 [14:34:16]line Смена: 497 ФФД: 1.0 [14:34:16]line ЗНМ: 0300000132 [14:34:16]line РНМ: 0000000000091208 [14:34:16]line Версия ККМ: 001 [14:34:16]line ФМ: 0000000000874857 [14:34:16]line ФД: 57179 [14:34:16]line ФПД: 259245366277333 [14:34:16]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T143419&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57179&fm=259245366277333&tin=02508201610067®Number=0000000000091208&sum=70000 [14:34:17]written 0, free lines is 4095 [14:34:17]OFD Sender: Processing packet 57179 [packets to send 38, broken 37] [14:34:17]ProducePacketName [14:34:17]name=ofd_packets/00057179 [14:34:17]OFD Sender: To server: pG, [14:34:17]CommunicateWithHost lk.salyk.kg:30040 [14:34:17]ConnectInit lk.salyk.kg [14:34:17]Connected sock=10 [14:34: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 0F 01 00 00 29 36 07 01 70 A8 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 4A 00 00 00 F4 03 04 00 6B 33 95 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 5B DF 00 00 35 04 06 00 EB C8 43 F7 74 D5 58 71 9C 5C 2A 7A 70 2F [14:34: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 06 31 47 00 DE F7 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 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 5B DF 00 00 F4 03 04 00 B9 D9 94 66 B6 04 01 00 00 DC 1F FF 32 F6 B4 FB 61 [14:34:17]CommunicateWithHost err = 0 [14:34:17]CheckOFDResponse [14:34:17]1017 (14) - 77093643461234 [14:34:17]1041 (16) - 0000000000874857 [14:34:17]1040 (4) - 57179 [14:34:17]1012 (4) - 15.07.2024 08:11 [14:34:17]1206 (1) - 0 [14:34:17]OFD Sender: Remove packet 57179 [14:34:17]ProducePacketName [14:34:17]name=ofd_packets/00057179 [14:34:17]NVStorageDeleteData [14:34:17]Write to MH i2c: 01 00 00 F7 18 0F [14:34:17]Write i2c OK [14:34:17]MH_I2C_Read... [14:34:17]Read from MH i2c: 01 [14:34:17]MH_I2C_Read... [14:34:17]Read from MH i2c: 01 07 00 [14:34:17]MH_I2C_Read... [14:34:17]Read from MH i2c: 01 07 00 F7 18 00 00 00 00 00 DC 0C FE [14:34:17]RasterBufferAndPrint [14:34:17]line [14:34:17]line [14:34:17]line [14:34:17]line [14:34:17]line [14:34:17]written 0, free lines is 3298 [14:34:17]MH_Cut [14:34:17]Write to MH i2c: D1 01 00 FE 18 01 E8 [14:34:17]Write i2c OK [14:34:17]MH_I2C_Read... [14:34:17]Read from MH i2c: D1 [14:34:17]MH_I2C_Read... [14:34:17]Read from MH i2c: D1 01 00 [14:34:17]MH_I2C_Read... [14:34:17]Read from MH i2c: D1 01 00 FE 18 00 E7 [14:34:17]Write to MH i2c: 01 00 00 FF 18 17 [14:34:17]Write i2c OK [14:34:17]MH_I2C_Read... [14:34:18]OFD Sender: No OFD packet to send [14:34:18]*** Cut start [14:34:18]*** Partial cut [14:34:18]*** CUTSNS_PIN = 1 [14:34:18]*** CUTSNS_PIN = 0 [14:34:18]*** Brake cut motor [14:34:19]Read from MH i2c: 01 [14:34:19]MH_I2C_Read... [14:34:19]*** Stop cut motor [14:34:19]*** Cut end [14:34:19]Read from MH i2c: 01 07 00 [14:34:19]MH_I2C_Read... [14:34:19]Read from MH i2c: 01 07 00 FF 18 00 00 00 00 00 FF 0F 2C [14:34:19]process_action close_receipt done [14:34:19]requested_data is exist [14:34:19]produce_requested_data [14:34:19]requested_item fm.sn is exist - process it [14:34:19]wFMCommunicate request_size=4 [14:34:19]MH_SAM_APDU [14:34:19]CAPDU: 80 11 00 00 [14:34:19]Write to MH i2c: E2 08 00 00 19 80 11 00 00 00 00 00 00 93 [14:34:19]Write i2c OK [14:34:19]MH_I2C_Read... [14:34:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:34:19]Read from MH i2c: E2 [14:34:19]MH_I2C_Read... [14:34:19]Read from MH i2c: E2 17 00 [14:34:19]MH_I2C_Read... [14:34:19]Read from MH i2c: E2 17 00 00 19 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 ED [14:34:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [14:34:19]wFMCommunicate OK [14:34:19]requested_item fd.num is exist - process it [14:34:19]SAM_PROTO_GetFieldsCounters [14:34:19]wFMCommunicate request_size=4 [14:34:19]MH_SAM_APDU [14:34:19]CAPDU: 80 13 00 00 [14:34:19]Write to MH i2c: E2 08 00 01 19 80 13 00 00 00 00 00 00 96 [14:34:19]Write i2c OK [14:34:19]MH_I2C_Read... [14:34:19]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:34:19]Read from MH i2c: E2 [14:34:19]MH_I2C_Read... [14:34:19]Read from MH i2c: E2 62 00 [14:34:19]MH_I2C_Read... [14:34:19]Read from MH i2c: E2 62 00 01 19 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 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 5B DF 00 00 0E 04 04 00 F1 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 C3 [14:34: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 5B DF 00 00 0E 04 04 00 F1 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 [14:34:19]wFMCommunicate OK [14:34:19]SAM_PROTO_GetFieldsCounters done [14:34:19]requested_item shift.num is exist - process it [14:34:19]requested_item shift.opened is exist - process it [14:34:19]req_shift_opened [14:34:19]FM_GetShiftState [14:34:19]SAM_PROTO_GetShiftState [14:34:19]wFMCommunicate request_size=4 [14:34:19]MH_SAM_APDU [14:34:19]CAPDU: 80 13 01 00 [14:34:19]Write to MH i2c: E2 08 00 02 19 80 13 01 00 00 00 00 00 98 [14:34:19]Write i2c OK [14:34:19]MH_I2C_Read... [14:34:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:34:19]Read from MH i2c: E2 [14:34:19]MH_I2C_Read... [14:34:19]Read from MH i2c: E2 0E 00 [14:34:19]MH_I2C_Read... [14:34:19]Read from MH i2c: E2 0E 00 02 19 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 11 [14:34:19]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [14:34:19]wFMCommunicate OK [14:34:19]SAM_PROTO_GetShiftState done [14:34:19]FM_GetShiftState done [14:34:19]req_shift_opened done [14:34:19]requested_item shift.open_date is exist - process it [14:34:19]req_shift_open_date [14:34:19]req_shift_open_date done [14:34:19]requested_item shift.sale.total is exist - process it [14:34:19]SAM_PROTO_GetShiftData [14:34:19]wFMCommunicate request_size=4 [14:34:19]MH_SAM_APDU [14:34:19]CAPDU: 80 13 02 00 [14:34:19]Write to MH i2c: E2 08 00 03 19 80 13 02 00 00 00 00 00 9A [14:34:19]Write i2c OK [14:34:19]MH_I2C_Read... [14:34:19]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [14:34:19]Read from MH i2c: E2 [14:34:19]MH_I2C_Read... [14:34:19]Read from MH i2c: E2 FD 00 [14:34:19]MH_I2C_Read... [14:34:19]Read from MH i2c: E2 FD 00 03 19 00 B6 04 AA 04 B2 04 6E 04 04 00 4A 00 00 00 69 04 9B 00 6F 04 04 00 49 00 00 00 B1 04 03 00 11 0A 1D 70 04 03 00 FC F5 17 72 04 03 00 15 14 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 81 15 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 C7 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 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 9E [14:34:19]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 4A 00 00 00 69 04 9B 00 6F 04 04 00 49 00 00 00 B1 04 03 00 11 0A 1D 70 04 03 00 FC F5 17 72 04 03 00 15 14 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 81 15 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 C7 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 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 [14:34:19]wFMCommunicate OK [14:34:19]wFMCommunicate request_size=4 [14:34:19]MH_SAM_APDU [14:34:19]CAPDU: 80 17 00 00 [14:34:19]Write to MH i2c: E2 08 00 04 19 80 17 00 00 00 00 00 00 9D [14:34:19]Write i2c OK [14:34:19]MH_I2C_Read... [14:34:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:34:20]Read from MH i2c: E2 [14:34:20]MH_I2C_Read... [14:34:20]Read from MH i2c: E2 FD 00 [14:34:20]MH_I2C_Read... [14:34:20]Read from MH i2c: E2 FD 00 04 19 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 D2 [14:34:20]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 [14:34:20]wFMCommunicate OK [14:34:20]wFMCommunicate request_size=4 [14:34:20]MH_SAM_APDU [14:34:20]CAPDU: 80 17 00 00 [14:34:20]Write to MH i2c: E2 08 00 05 19 80 17 00 00 00 00 00 00 9E [14:34:20]Write i2c OK [14:34:20]MH_I2C_Read... [14:34:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:34:20]Read from MH i2c: E2 [14:34:20]MH_I2C_Read... [14:34:20]Read from MH i2c: E2 FD 00 [14:34:20]MH_I2C_Read... [14:34:20]Read from MH i2c: E2 FD 00 05 19 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 5E [14:34:20]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 [14:34:20]wFMCommunicate OK [14:34:20]wFMCommunicate request_size=4 [14:34:20]MH_SAM_APDU [14:34:20]CAPDU: 80 17 00 00 [14:34:20]Write to MH i2c: E2 08 00 06 19 80 17 00 00 00 00 00 00 9F [14:34:20]Write i2c OK [14:34:20]MH_I2C_Read... [14:34:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:34:20]Read from MH i2c: E2 [14:34:20]MH_I2C_Read... [14:34:20]Read from MH i2c: E2 FD 00 [14:34:20]MH_I2C_Read... [14:34:20]Read from MH i2c: E2 FD 00 06 19 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 0E [14:34:20]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 [14:34:20]wFMCommunicate OK [14:34:20]wFMCommunicate request_size=4 [14:34:20]MH_SAM_APDU [14:34:20]CAPDU: 80 17 00 00 [14:34:20]Write to MH i2c: E2 08 00 07 19 80 17 00 00 00 00 00 00 A0 [14:34:20]Write i2c OK [14:34:20]MH_I2C_Read... [14:34:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [14:34:20]Read from MH i2c: E2 [14:34:20]MH_I2C_Read... [14:34:20]Read from MH i2c: E2 D3 00 [14:34:20]MH_I2C_Read... [14:34:20]Read from MH i2c: E2 D3 00 07 19 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 8D [14:34:20]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 [14:34:20]wFMCommunicate OK [14:34:20]SAM_PROTO_GetShiftData done [14:34:20]requested_item shift.sale.total_cash is exist - process it [14:34:20]requested_item shift.sale_refund.total is exist - process it [14:34:20]requested_item shift.sale_refund.total_cash is exist - process it [14:34:20]produce_requested_data done [14:34:20]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57179,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":19031.21,"shift.sale.total_cash":15703.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [14:34:20]process_action_free close_receipt [14:34:20]json_value_free [14:34:20]json_value_free done [14:34:20]process_json_proto returns [14:34:20]Send response to host [14:34:20]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57179,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":19031.21,"shift.sale.total_cash":15703.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [14:34:20]free response buf [14:34:20]execute_script done [14:34:20]execute_script returns [14:34:20]free content buf [14:34:20]Sock 8.Close socket [14:34:20]Sock 8.Thread stoped [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:28]accept exits with 9 [14:35:28]New connection [14:35:28]New thread 3066924388 created [14:35:28]Thread 3067067748 joined [14:35:28]Waiting for new connection... [14:35:28] Sock 9.Parse request [14:35:28]Sock 9.Check first char [14:35:28]Sock 9.First char is OK [14:35:28]request: POST /json_proto HTTP/1.0 [14:35:28]Method: POST [14:35:28]URL: /json_proto [14:35:28]Method is POST - this is cgi request [14:35:28]url: /json_proto [14:35:28]query_string will be loaded in cgi processing [14:35:28]execute_cgi json_proto POST (null) [14:35:28]execute_cgi path=json_proto method=POST [14:35:28]POST find Content-Length [14:35:28]Host: 172.17.39.4:8080 [14:35:28]Content-Length: 725 [14:35:28]Content-Type: application/json [14:35:28] [14:35:28]POST finish read [14:35:28]Found Content-Length = 725 [14:35:28]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129632", "tax_sys" : 0, "items" : [ { "code": "48742344", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B LD Super Slims Pink", "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:35:28]execute_script... [14:35: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)129632", "tax_sys" : 0, "items" : [ { "code": "48742344", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B LD Super Slims Pink", "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:35:28]POST & json_proto [14:35:28]process_json_proto [14:35:28]json parsed OK: [14:35:28]protocol is kg_v1.0 [14:35:28]action value=close_receipt [14:35:28]process_action close_receipt [14:35:28]cmd_close_receipt [14:35:28]MH_GetDate [14:35:28]Write to MH i2c: F0 00 00 08 19 10 [14:35:28]Write i2c OK [14:35:28]MH_I2C_Read... [14:35:28]Read from MH i2c: F0 [14:35:28]MH_I2C_Read... [14:35:28]Read from MH i2c: F0 09 00 [14:35:28]MH_I2C_Read... [14:35:28]Read from MH i2c: F0 09 00 08 19 00 B4 33 95 66 2D 25 5D 64 0E [14:35:28]GetLastDocTimeStamp 1721054059 [14:35:28]current date 1721054132 [14:35:28]FM_GetShiftState [14:35:28]SAM_PROTO_GetShiftState [14:35:28]wFMCommunicate request_size=4 [14:35:28]MH_SAM_APDU [14:35:28]CAPDU: 80 13 01 00 [14:35:28]Write to MH i2c: E2 08 00 09 19 80 13 01 00 00 00 00 00 9F [14:35:28]Write i2c OK [14:35:28]MH_I2C_Read... [14:35:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:35:28]Read from MH i2c: E2 [14:35:28]MH_I2C_Read... [14:35:28]Read from MH i2c: E2 0E 00 [14:35:28]MH_I2C_Read... [14:35:28]Read from MH i2c: E2 0E 00 09 19 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 18 [14:35:28]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [14:35:28]wFMCommunicate OK [14:35:28]SAM_PROTO_GetShiftState done [14:35:28]FM_GetShiftState done [14:35:28]opened in 1721003525 [14:35:28]opened+sec_in_day 1721089925 [14:35:28]quantity*price = 13000 [14:35:28]sum+1 = 13001 [14:35:28]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 СНО: Общий режим Чек 75 15.07.2024 14:35 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57180 ФПД: 88370810143153 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T143532&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57180&fm=88370810143153&tin=02508201610067®Number=0000000000091208&sum=13000 0 [14:35:29]StoreToDocumentArchive [14:35:29]shift 497 fd 57180 [14:35:29]save to /storage/0497/doc_00057180 [14:35:29]save last doc name /storage/0497/doc_00057180 to /storage/kkm_last_doc_name [14:35:29]save OK [14:35:29]Clear old archive folders... [14:35:29]ProcessDocumentItem done err = 0, tmpTLVsize=273 [14:35:29]tlvbuf is 009742C0 [14:35:29]SAM_PROTO_ClearQueue [14:35:29]wFMCommunicate request_size=4 [14:35:29]MH_SAM_APDU [14:35:29]CAPDU: 80 09 00 00 [14:35:29]Write to MH i2c: E2 08 00 16 19 80 09 00 00 00 00 00 00 A1 [14:35:29]Write i2c OK [14:35:29]MH_I2C_Read... [14:35:29]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:35:29]Read from MH i2c: E2 [14:35:29]MH_I2C_Read... [14:35:29]Read from MH i2c: E2 03 00 [14:35:29]MH_I2C_Read... [14:35:29]Read from MH i2c: E2 03 00 16 19 00 90 00 A3 [14:35:29]RAPDU: 90 00 [14:35:29]wFMCommunicate OK [14:35:29]SAM_PROTO_ClearQueue done [14:35:29]KKMCreateOFDPacket [14:35:29]OFDProtocolAddRootSTLVToBuf [14:35:29]FM_MakeSignedData [14:35:29]FM_MakeSignedData [14:35:29]SAM_PROTO_SignData [14:35:29]wFMCommunicate request_size=4 [14:35:29]MH_SAM_APDU [14:35:29]CAPDU: 80 0D 01 02 [14:35:29]Write to MH i2c: E2 08 00 17 19 80 0D 01 02 00 00 00 00 A9 [14:35:29]Write i2c OK [14:35:29]MH_I2C_Read... [14:35:29]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:35:29]Read from MH i2c: E2 [14:35:29]MH_I2C_Read... [14:35:29]Read from MH i2c: E2 03 00 [14:35:29]MH_I2C_Read... [14:35:29]Read from MH i2c: E2 03 00 17 19 00 90 00 A4 [14:35:29]RAPDU: 90 00 [14:35:29]wFMCommunicate OK [14:35:29]wFMCommunicate request_size=255 [14:35:29]MH_SAM_APDU [14:35:29]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 32 33 34 34 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 53 75 70 65 72 20 53 6C 69 6D 73 20 50 69 6E 6B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 4B 00 00 00 F4 03 04 00 B4 33 95 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 [14:35:29]Write to MH i2c: E2 02 01 18 19 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 32 33 34 34 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 53 75 70 65 72 20 53 6C 69 6D 73 20 50 69 6E 6B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 4B 00 00 00 F4 03 04 00 B4 33 95 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 08 [14:35:29]Write i2c OK [14:35:29]MH_I2C_Read... [14:35:29]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:35:29]Read from MH i2c: E2 [14:35:29]MH_I2C_Read... [14:35:29]Read from MH i2c: E2 03 00 [14:35:29]MH_I2C_Read... [14:35:29]Read from MH i2c: E2 03 00 18 19 00 90 00 A5 [14:35:29]RAPDU: 90 00 [14:35:29]wFMCommunicate OK [14:35:29]wFMCommunicate request_size=32 [14:35:29]MH_SAM_APDU [14:35:29]CAPDU: 80 0D 02 02 1B 30 30 30 38 37 34 38 35 37 10 04 04 00 5C DF 00 00 35 04 06 00 50 5F 6E BF 41 B1 [14:35:29]Write to MH i2c: E2 23 00 19 19 80 0D 02 02 1B 00 30 30 30 38 37 34 38 35 37 10 04 04 00 5C DF 00 00 35 04 06 00 50 5F 6E BF 41 B1 00 00 19 [14:35:29]Write i2c OK [14:35:29]MH_I2C_Read... [14:35:29]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:35:29]Read from MH i2c: E2 [14:35:29]MH_I2C_Read... [14:35:29]Read from MH i2c: E2 03 00 [14:35:29]MH_I2C_Read... [14:35:29]Read from MH i2c: E2 03 00 19 19 00 90 00 A6 [14:35:29]RAPDU: 90 00 [14:35:29]wFMCommunicate OK [14:35:29]wFMCommunicate request_size=4 [14:35:29]MH_SAM_APDU [14:35:29]CAPDU: 80 0D 03 02 [14:35:29]Write to MH i2c: E2 08 00 1A 19 80 0D 03 02 00 00 00 00 AE [14:35:29]Write i2c OK [14:35:29]MH_I2C_Read... [14:35:29]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:35:29]Read from MH i2c: E2 [14:35:29]MH_I2C_Read... [14:35:29]Read from MH i2c: E2 0B 00 [14:35:29]MH_I2C_Read... [14:35:29]Read from MH i2c: E2 0B 00 1A 19 00 12 4A 08 D2 61 96 45 27 90 00 48 [14:35:29]RAPDU: 12 4A 08 D2 61 96 45 27 90 00 [14:35:29]wFMCommunicate OK [14:35:29]SAM_PROTO_SignData done [14:35:29]FM_MakeSignedData done [14:35:29]CreateOFDProtocolMessage [14:35:29]wFMCommunicate request_size=4 [14:35:29]MH_SAM_APDU [14:35:29]CAPDU: 80 11 00 00 [14:35:29]Write to MH i2c: E2 08 00 1B 19 80 11 00 00 00 00 00 00 AE [14:35:29]Write i2c OK [14:35:29]MH_I2C_Read... [14:35:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:35:29]Read from MH i2c: E2 [14:35:29]MH_I2C_Read... [14:35:29]Read from MH i2c: E2 17 00 [14:35:29]MH_I2C_Read... [14:35:29]Read from MH i2c: E2 17 00 1B 19 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 08 [14:35:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [14:35:29]wFMCommunicate OK [14:35:29]CreateOFDProtocolMessage done [14:35:29]OFDSenderStorePacket 57180 [14:35:29]StoreOFDPacket docnum=57180 [14:35: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 25 01 00 00 42 8B 1D 01 03 99 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 32 33 34 34 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 53 75 70 65 72 20 53 6C 69 6D 73 20 50 69 6E 6B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 4B 00 00 00 F4 03 04 00 B4 33 95 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 5C DF 00 00 35 04 06 00 50 5F 6E BF 41 B1 12 4A 08 D2 61 96 45 27 [14:35:29]CheckFolder [14:35:29]dirname=/storage/ofd_packets [14:35:29]CheckFolder done [14:35:29]ProducePacketName [14:35:29]name=ofd_packets/00057180 [14:35:29]NVStorageSaveData ofd_packets/00057180 [14:35:29]File name is /storage/ofd_packets/00057180 [14:35:29]Write 323 bytes [14:35:29]NVStorageSaveData done [14:35:29]OFDSenderStorePacket done [14:35:29]KKMCreateOFDPacket done [14:35:29]NVStorageSaveData kkm_last_timestamp [14:35:30]File name is /storage/kkm_last_timestamp [14:35:30]Write 4 bytes [14:35:30]NVStorageSaveData done [14:35:30]OFD Sender: Processing packet 57180 [packets to send 38, broken 37] [14:35:30]ProducePacketName [14:35:30]name=ofd_packets/00057180 [14:35:30]OFD Sender: To server: pG, [14:35:30]CommunicateWithHost lk.salyk.kg:30040 [14:35:30]ConnectInit lk.salyk.kg [14:35:30]ExternCall_PrintAddStr [14:35:30]wPrintStart [14:35:30]Write to MH i2c: 01 00 00 1C 19 35 [14:35:30]Write i2c OK [14:35:30]MH_I2C_Read... [14:35:30]Read from MH i2c: 01 [14:35:30]MH_I2C_Read... [14:35:30]Read from MH i2c: 01 07 00 [14:35:30]MH_I2C_Read... [14:35:30]Read from MH i2c: 01 07 00 1C 19 00 00 00 00 00 FF 0F 4A [14:35:30]RasterBufferAndPrint [14:35:30]line Счет N : (3)129632 [14:35:30]line ИНН: 02508201610067 [14:35:30]line Контрольно-Кассовый Чек [14:35:30]line ПРОДАЖА [14:35:30]line Товар: 48742344 [14:35:30]line Сигареты LD Super Slims Pink [14:35:30]line 1.000 * 130.00 [14:35:30]line = 130.00 [14:35:30]line НДС 12% НСП 1% [14:35:30]line > о реализуемом товаре [14:35:30]line ИТОГО: 130.00 [14:35:30]line НСП 1% : 1.15 [14:35:30]line НДС 12% : 13.80 [14:35:30]line Наличными: 130.00 [14:35:30]line Безнал.: 0.00 [14:35:30]line Место: АЗС № 132 "Партнер Нефть" [14:35:30]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [14:35:30]line СНО: Общий режим [14:35:30]line Чек 75 15.07.2024 14:35 [14:35:30]line Смена: 497 ФФД: 1.0 [14:35:30]line ЗНМ: 0300000132 [14:35:30]line РНМ: 0000000000091208 [14:35:30]line Версия ККМ: 001 [14:35:30]line ФМ: 0000000000874857 [14:35:30]line ФД: 57180 [14:35:30]line ФПД: 88370810143153 [14:35:30]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T143532&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57180&fm=88370810143153&tin=02508201610067®Number=0000000000091208&sum=13000 [14:35:30]line 0 [14:35:30]Connected sock=11 [14:35:30]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 42 8B 1D 01 03 99 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 32 33 34 34 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 53 75 70 65 72 20 53 6C 69 6D 73 20 50 69 6E 6B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 4B 00 00 00 F4 03 04 00 B4 33 95 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 5C DF 00 00 35 04 06 00 50 5F 6E BF 41 B1 12 4A 08 D2 61 96 45 27 [14:35:30]written 0, free lines is 4095 [14:35:30]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 19 06 47 00 8D 06 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 5C DF 00 00 F4 03 04 00 02 DA 94 66 B6 04 01 00 00 B3 F9 6F 05 60 E0 79 7E [14:35:30]CommunicateWithHost err = 0 [14:35:30]CheckOFDResponse [14:35:30]1017 (14) - 77093643461234 [14:35:30]1041 (16) - 0000000000874857 [14:35:30]1040 (4) - 57180 [14:35:30]1012 (4) - 15.07.2024 08:12 [14:35:30]1206 (1) - 0 [14:35:30]OFD Sender: Remove packet 57180 [14:35:30]ProducePacketName [14:35:30]name=ofd_packets/00057180 [14:35:30]NVStorageDeleteData [14:35:30]Write to MH i2c: 01 00 00 44 19 5D [14:35:30]Write i2c OK [14:35:30]MH_I2C_Read... [14:35:30]Read from MH i2c: 01 [14:35:30]MH_I2C_Read... [14:35:30]Read from MH i2c: 01 07 00 [14:35:30]MH_I2C_Read... [14:35:30]Read from MH i2c: 01 07 00 44 19 00 00 00 00 00 04 0D 75 [14:35:30]RasterBufferAndPrint [14:35:30]line [14:35:30]line [14:35:30]line [14:35:30]line [14:35:30]line [14:35:30]written 0, free lines is 3339 [14:35:30]MH_Cut [14:35:30]Write to MH i2c: D1 01 00 4B 19 01 36 [14:35:30]Write i2c OK [14:35:30]MH_I2C_Read... [14:35:30]Read from MH i2c: D1 [14:35:30]MH_I2C_Read... [14:35:30]Read from MH i2c: D1 01 00 [14:35:30]MH_I2C_Read... [14:35:30]Read from MH i2c: D1 01 00 4B 19 00 35 [14:35:30]Write to MH i2c: 01 00 00 4C 19 65 [14:35:30]Write i2c OK [14:35:30]MH_I2C_Read... [14:35:31]OFD Sender: No OFD packet to send [14:35:31]*** Cut start [14:35:31]*** Partial cut [14:35:31]*** CUTSNS_PIN = 1 [14:35:31]*** CUTSNS_PIN = 0 [14:35:31]*** Brake cut motor [14:35:32]Read from MH i2c: 01 [14:35:32]MH_I2C_Read... [14:35:32]*** Stop cut motor [14:35:32]*** Cut end [14:35:32]Read from MH i2c: 01 07 00 [14:35:32]MH_I2C_Read... [14:35:32]Read from MH i2c: 01 07 00 4C 19 00 00 00 00 00 FF 0F 7A [14:35:32]process_action close_receipt done [14:35:32]requested_data is exist [14:35:32]produce_requested_data [14:35:32]requested_item fm.sn is exist - process it [14:35:32]wFMCommunicate request_size=4 [14:35:32]MH_SAM_APDU [14:35:32]CAPDU: 80 11 00 00 [14:35:32]Write to MH i2c: E2 08 00 4D 19 80 11 00 00 00 00 00 00 E0 [14:35:32]Write i2c OK [14:35:32]MH_I2C_Read... [14:35:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:35:32]Read from MH i2c: E2 [14:35:32]MH_I2C_Read... [14:35:32]Read from MH i2c: E2 17 00 [14:35:32]MH_I2C_Read... [14:35:32]Read from MH i2c: E2 17 00 4D 19 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 3A [14: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 [14:35:32]wFMCommunicate OK [14:35:32]requested_item fd.num is exist - process it [14:35:32]SAM_PROTO_GetFieldsCounters [14:35:32]wFMCommunicate request_size=4 [14:35:32]MH_SAM_APDU [14:35:32]CAPDU: 80 13 00 00 [14:35:32]Write to MH i2c: E2 08 00 4E 19 80 13 00 00 00 00 00 00 E3 [14:35:32]Write i2c OK [14:35:32]MH_I2C_Read... [14:35:32]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:35:32]Read from MH i2c: E2 [14:35:32]MH_I2C_Read... [14:35:32]Read from MH i2c: E2 62 00 [14:35:32]MH_I2C_Read... [14:35:32]Read from MH i2c: E2 62 00 4E 19 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 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 5C DF 00 00 0E 04 04 00 F1 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 [14:35: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 5C DF 00 00 0E 04 04 00 F1 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:35:32]wFMCommunicate OK [14:35:32]SAM_PROTO_GetFieldsCounters done [14:35:32]requested_item shift.num is exist - process it [14:35:32]requested_item shift.opened is exist - process it [14:35:32]req_shift_opened [14:35:32]FM_GetShiftState [14:35:32]SAM_PROTO_GetShiftState [14:35:32]wFMCommunicate request_size=4 [14:35:32]MH_SAM_APDU [14:35:32]CAPDU: 80 13 01 00 [14:35:32]Write to MH i2c: E2 08 00 4F 19 80 13 01 00 00 00 00 00 E5 [14:35:32]Write i2c OK [14:35:32]MH_I2C_Read... [14:35:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:35:32]Read from MH i2c: E2 [14:35:32]MH_I2C_Read... [14:35:32]Read from MH i2c: E2 0E 00 [14:35:32]MH_I2C_Read... [14:35:32]Read from MH i2c: E2 0E 00 4F 19 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 5E [14:35:32]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [14:35:32]wFMCommunicate OK [14:35:32]SAM_PROTO_GetShiftState done [14:35:32]FM_GetShiftState done [14:35:32]req_shift_opened done [14:35:32]requested_item shift.open_date is exist - process it [14:35:32]req_shift_open_date [14:35:32]req_shift_open_date done [14:35:32]requested_item shift.sale.total is exist - process it [14:35:32]SAM_PROTO_GetShiftData [14:35:32]wFMCommunicate request_size=4 [14:35:32]MH_SAM_APDU [14:35:32]CAPDU: 80 13 02 00 [14:35:32]Write to MH i2c: E2 08 00 50 19 80 13 02 00 00 00 00 00 E7 [14:35:32]Write i2c OK [14:35:32]MH_I2C_Read... [14:35:32]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [14:35:32]Read from MH i2c: E2 [14:35:32]MH_I2C_Read... [14:35:32]Read from MH i2c: E2 FD 00 [14:35:32]MH_I2C_Read... [14:35:32]Read from MH i2c: E2 FD 00 50 19 00 B6 04 AA 04 B2 04 6E 04 04 00 4B 00 00 00 69 04 9B 00 6F 04 04 00 4A 00 00 00 B1 04 03 00 D9 3C 1D 70 04 03 00 C4 28 18 72 04 03 00 15 14 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 E5 1A 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 3A 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 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 C0 [14:35:32]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 4B 00 00 00 69 04 9B 00 6F 04 04 00 4A 00 00 00 B1 04 03 00 D9 3C 1D 70 04 03 00 C4 28 18 72 04 03 00 15 14 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 E5 1A 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 3A 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 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 [14:35:32]wFMCommunicate OK [14:35:32]wFMCommunicate request_size=4 [14:35:32]MH_SAM_APDU [14:35:32]CAPDU: 80 17 00 00 [14:35:32]Write to MH i2c: E2 08 00 51 19 80 17 00 00 00 00 00 00 EA [14:35:32]Write i2c OK [14:35:32]MH_I2C_Read... [14:35:33]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:35:33]Read from MH i2c: E2 [14:35:33]MH_I2C_Read... [14:35:33]Read from MH i2c: E2 FD 00 [14:35:33]MH_I2C_Read... [14:35:33]Read from MH i2c: E2 FD 00 51 19 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 1F [14:35:33]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 [14:35:33]wFMCommunicate OK [14:35:33]wFMCommunicate request_size=4 [14:35:33]MH_SAM_APDU [14:35:33]CAPDU: 80 17 00 00 [14:35:33]Write to MH i2c: E2 08 00 52 19 80 17 00 00 00 00 00 00 EB [14:35:33]Write i2c OK [14:35:33]MH_I2C_Read... [14:35:33]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:35:33]Read from MH i2c: E2 [14:35:33]MH_I2C_Read... [14:35:33]Read from MH i2c: E2 FD 00 [14:35:33]MH_I2C_Read... [14:35:33]Read from MH i2c: E2 FD 00 52 19 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 AB [14:35:33]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 [14:35:33]wFMCommunicate OK [14:35:33]wFMCommunicate request_size=4 [14:35:33]MH_SAM_APDU [14:35:33]CAPDU: 80 17 00 00 [14:35:33]Write to MH i2c: E2 08 00 53 19 80 17 00 00 00 00 00 00 EC [14:35:33]Write i2c OK [14:35:33]MH_I2C_Read... [14:35:33]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:35:33]Read from MH i2c: E2 [14:35:33]MH_I2C_Read... [14:35:33]Read from MH i2c: E2 FD 00 [14:35:33]MH_I2C_Read... [14:35:33]Read from MH i2c: E2 FD 00 53 19 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 5B [14:35:33]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 [14:35:33]wFMCommunicate OK [14:35:33]wFMCommunicate request_size=4 [14:35:33]MH_SAM_APDU [14:35:33]CAPDU: 80 17 00 00 [14:35:33]Write to MH i2c: E2 08 00 54 19 80 17 00 00 00 00 00 00 ED [14:35:33]Write i2c OK [14:35:33]MH_I2C_Read... [14:35:33]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [14:35:33]Read from MH i2c: E2 [14:35:33]MH_I2C_Read... [14:35:33]Read from MH i2c: E2 D3 00 [14:35:33]MH_I2C_Read... [14:35:33]Read from MH i2c: E2 D3 00 54 19 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 DA [14:35:33]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 [14:35:33]wFMCommunicate OK [14:35:33]SAM_PROTO_GetShiftData done [14:35:33]requested_item shift.sale.total_cash is exist - process it [14:35:33]requested_item shift.sale_refund.total is exist - process it [14:35:33]requested_item shift.sale_refund.total_cash is exist - process it [14:35:33]produce_requested_data done [14:35:33]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57180,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":19161.21,"shift.sale.total_cash":15833.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [14:35:33]process_action_free close_receipt [14:35:33]json_value_free [14:35:33]json_value_free done [14:35:33]process_json_proto returns [14:35:33]Send response to host [14:35:33]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57180,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":19161.21,"shift.sale.total_cash":15833.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [14:35:33]free response buf [14:35:33]execute_script done [14:35:33]execute_script returns [14:35:33]free content buf [14:35:33]Sock 9.Close socket [14:35:33]Sock 9.Thread stoped [14:35:36]OFD Sender: No OFD packet to send [14:35:41]OFD Sender: No OFD packet to send [14:35:46]OFD Sender: No OFD packet to send [14:35:51]OFD Sender: No OFD packet to send [14:35:56]OFD Sender: No OFD packet to send [14:36:01]OFD Sender: No OFD packet to send [14:36:06]OFD Sender: No OFD packet to send [14:36:11]OFD Sender: No OFD packet to send [14:36:16]OFD Sender: No OFD packet to send [14:36:21]OFD Sender: No OFD packet to send [14:36:26]OFD Sender: No OFD packet to send [14:36:31]OFD Sender: No OFD packet to send [14:36:36]OFD Sender: No OFD packet to send [14:36:41]OFD Sender: No OFD packet to send [14:36:46]OFD Sender: No OFD packet to send [14:36:51]OFD Sender: No OFD packet to send [14:36:56]OFD Sender: No OFD packet to send [14:37:01]OFD Sender: No OFD packet to send [14:37:06]OFD Sender: No OFD packet to send [14:37:11]OFD Sender: No OFD packet to send [14:37:16]OFD Sender: No OFD packet to send [14:37:21]OFD Sender: No OFD packet to send [14:37:23]accept exits with 8 [14:37:23]New connection [14:37:23]New thread 3067067748 created [14:37:23]Thread 3066924388 joined [14:37:23]Waiting for new connection... [14:37:23] Sock 8.Parse request [14:37:23]Sock 8.Check first char [14:37:23]Sock 8.First char is OK [14:37:23]request: POST /json_proto HTTP/1.0 [14:37:23]Method: POST [14:37:23]URL: /json_proto [14:37:23]Method is POST - this is cgi request [14:37:23]url: /json_proto [14:37:23]query_string will be loaded in cgi processing [14:37:23]execute_cgi json_proto POST (null) [14:37:23]execute_cgi path=json_proto method=POST [14:37:23]POST find Content-Length [14:37:23]Host: 172.17.39.4:8080 [14:37:23]Content-Length: 773 [14:37:23]Content-Type: application/json [14:37:23] [14:37:23]POST finish read [14:37:23]Found Content-Length = 773 [14:37:23]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129633", "tax_sys" : 0, "items" : [ { "code": "4680037724542", "name": "\u0410\u0440\u043E\u043C SMarket SM 1050 \u0433\u0440\u0430\u043D\u0443\u043B\u044B \u0432\u0438\u0448\u043D\u044F", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 60.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [14:37:23]execute_script... [14:37: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)129633", "tax_sys" : 0, "items" : [ { "code": "4680037724542", "name": "\u0410\u0440\u043E\u043C SMarket SM 1050 \u0433\u0440\u0430\u043D\u0443\u043B\u044B \u0432\u0438\u0448\u043D\u044F", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 60.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [14:37:23]POST & json_proto [14:37:23]process_json_proto [14:37:23]json parsed OK: [14:37:23]protocol is kg_v1.0 [14:37:23]action value=close_receipt [14:37:23]process_action close_receipt [14:37:23]cmd_close_receipt [14:37:23]MH_GetDate [14:37:23]Write to MH i2c: F0 00 00 55 19 5D [14:37:23]Write i2c OK [14:37:23]MH_I2C_Read... [14:37:23]Read from MH i2c: F0 [14:37:23]MH_I2C_Read... [14:37:23]Read from MH i2c: F0 09 00 [14:37:23]MH_I2C_Read... [14:37:23]Read from MH i2c: F0 09 00 55 19 00 27 34 95 66 2D 25 5D 64 CF [14:37:23]GetLastDocTimeStamp 1721054132 [14:37:23]current date 1721054247 [14:37:23]FM_GetShiftState [14:37:23]SAM_PROTO_GetShiftState [14:37:23]wFMCommunicate request_size=4 [14:37:23]MH_SAM_APDU [14:37:23]CAPDU: 80 13 01 00 [14:37:23]Write to MH i2c: E2 08 00 56 19 80 13 01 00 00 00 00 00 EC [14:37:23]Write i2c OK [14:37:23]MH_I2C_Read... [14:37:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:37:23]Read from MH i2c: E2 [14:37:23]MH_I2C_Read... [14:37:23]Read from MH i2c: E2 0E 00 [14:37:23]MH_I2C_Read... [14:37:23]Read from MH i2c: E2 0E 00 56 19 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 65 [14:37:23]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [14:37:23]wFMCommunicate OK [14:37:23]SAM_PROTO_GetShiftState done [14:37:23]FM_GetShiftState done [14:37:23]opened in 1721003525 [14:37:23]opened+sec_in_day 1721089925 [14:37:23]quantity*price = 6000 [14:37:23]sum+1 = 6001 [14:37:23]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 60.00 НСП 1% : 0.53 НДС 12% : 6.37 Наличными: 60.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 76 15.07.2024 14:37 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57181 ФПД: 120132842635104 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T143727&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57181&fm=120132842635104&tin=02508201610067®Number=0000000000091208&sum=6000 0 [14:37:24]StoreToDocumentArchive [14:37:24]shift 497 fd 57181 [14:37:24]save to /storage/0497/doc_00057181 [14:37:24]save last doc name /storage/0497/doc_00057181 to /storage/kkm_last_doc_name [14:37:24]save OK [14:37:24]Clear old archive folders... [14:37:24]ProcessDocumentItem done err = 0, tmpTLVsize=292 [14:37:24]tlvbuf is 00A0A050 [14:37:24]SAM_PROTO_ClearQueue [14:37:24]wFMCommunicate request_size=4 [14:37:24]MH_SAM_APDU [14:37:24]CAPDU: 80 09 00 00 [14:37:24]Write to MH i2c: E2 08 00 63 19 80 09 00 00 00 00 00 00 EE [14:37:24]Write i2c OK [14:37:24]MH_I2C_Read... [14:37:24]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:37:24]Read from MH i2c: E2 [14:37:24]MH_I2C_Read... [14:37:24]Read from MH i2c: E2 03 00 [14:37:24]MH_I2C_Read... [14:37:24]Read from MH i2c: E2 03 00 63 19 00 90 00 F0 [14:37:24]RAPDU: 90 00 [14:37:24]wFMCommunicate OK [14:37:24]SAM_PROTO_ClearQueue done [14:37:24]KKMCreateOFDPacket [14:37:24]OFDProtocolAddRootSTLVToBuf [14:37:24]FM_MakeSignedData [14:37:24]FM_MakeSignedData [14:37:24]SAM_PROTO_SignData [14:37:24]wFMCommunicate request_size=4 [14:37:24]MH_SAM_APDU [14:37:24]CAPDU: 80 0D 01 02 [14:37:24]Write to MH i2c: E2 08 00 64 19 80 0D 01 02 00 00 00 00 F6 [14:37:24]Write i2c OK [14:37:24]MH_I2C_Read... [14:37:24]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:37:24]Read from MH i2c: E2 [14:37:24]MH_I2C_Read... [14:37:24]Read from MH i2c: E2 03 00 [14:37:24]MH_I2C_Read... [14:37:24]Read from MH i2c: E2 03 00 64 19 00 90 00 F1 [14:37:24]RAPDU: 90 00 [14:37:24]wFMCommunicate OK [14:37:24]wFMCommunicate request_size=255 [14:37:24]MH_SAM_APDU [14:37:24]CAPDU: 80 0D 02 02 FA 03 00 24 01 1E 04 01 00 01 23 04 76 00 8A 04 0D 00 34 36 38 30 30 33 37 37 32 34 35 34 32 06 04 32 00 D0 90 D1 80 D0 BE D0 BC 20 53 4D 61 72 6B 65 74 20 53 4D 20 31 30 35 30 20 D0 B3 D1 80 D0 B0 D0 BD D1 83 D0 BB D1 8B 20 D0 B2 D0 B8 D1 88 D0 BD D1 8F FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4C 00 00 00 F4 03 04 00 27 34 95 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 [14:37:24]Write to MH i2c: E2 02 01 65 19 80 0D 02 02 FA 00 03 00 24 01 1E 04 01 00 01 23 04 76 00 8A 04 0D 00 34 36 38 30 30 33 37 37 32 34 35 34 32 06 04 32 00 D0 90 D1 80 D0 BE D0 BC 20 53 4D 61 72 6B 65 74 20 53 4D 20 31 30 35 30 20 D0 B3 D1 80 D0 B0 D0 BD D1 83 D0 BB D1 8B 20 D0 B2 D0 B8 D1 88 D0 BD D1 8F FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4C 00 00 00 F4 03 04 00 27 34 95 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 00 00 C0 [14:37:24]Write i2c OK [14:37:24]MH_I2C_Read... [14:37:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:37:24]Read from MH i2c: E2 [14:37:24]MH_I2C_Read... [14:37:24]Read from MH i2c: E2 03 00 [14:37:24]MH_I2C_Read... [14:37:24]Read from MH i2c: E2 03 00 65 19 00 90 00 F2 [14:37:24]RAPDU: 90 00 [14:37:24]wFMCommunicate OK [14:37:24]wFMCommunicate request_size=51 [14:37:24]MH_SAM_APDU [14:37:24]CAPDU: 80 0D 02 02 2E 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 5D DF 00 00 35 04 06 00 6D 42 9B 69 3F 60 [14:37:24]Write to MH i2c: E2 36 00 66 19 80 0D 02 02 2E 00 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 5D DF 00 00 35 04 06 00 6D 42 9B 69 3F 60 00 00 1A [14:37:24]Write i2c OK [14:37:24]MH_I2C_Read... [14:37:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:37:24]Read from MH i2c: E2 [14:37:24]MH_I2C_Read... [14:37:24]Read from MH i2c: E2 03 00 [14:37:24]MH_I2C_Read... [14:37:24]Read from MH i2c: E2 03 00 66 19 00 90 00 F3 [14:37:24]RAPDU: 90 00 [14:37:24]wFMCommunicate OK [14:37:24]wFMCommunicate request_size=4 [14:37:24]MH_SAM_APDU [14:37:24]CAPDU: 80 0D 03 02 [14:37:24]Write to MH i2c: E2 08 00 67 19 80 0D 03 02 00 00 00 00 FB [14:37:24]Write i2c OK [14:37:24]MH_I2C_Read... [14:37:24]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:37:24]Read from MH i2c: E2 [14:37:24]MH_I2C_Read... [14:37:24]Read from MH i2c: E2 0B 00 [14:37:24]MH_I2C_Read... [14:37:24]Read from MH i2c: E2 0B 00 67 19 00 28 45 B7 18 2E 73 01 C6 90 00 A0 [14:37:24]RAPDU: 28 45 B7 18 2E 73 01 C6 90 00 [14:37:24]wFMCommunicate OK [14:37:24]SAM_PROTO_SignData done [14:37:24]FM_MakeSignedData done [14:37:24]CreateOFDProtocolMessage [14:37:24]wFMCommunicate request_size=4 [14:37:24]MH_SAM_APDU [14:37:24]CAPDU: 80 11 00 00 [14:37:24]Write to MH i2c: E2 08 00 68 19 80 11 00 00 00 00 00 00 FB [14:37:24]Write i2c OK [14:37:24]MH_I2C_Read... [14:37:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:37:25]Read from MH i2c: E2 [14:37:25]MH_I2C_Read... [14:37:25]Read from MH i2c: E2 17 00 [14:37:25]MH_I2C_Read... [14:37:25]Read from MH i2c: E2 17 00 68 19 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 55 [14:37:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [14:37:25]wFMCommunicate OK [14:37:25]CreateOFDProtocolMessage done [14:37:25]OFDSenderStorePacket 57181 [14:37:25]StoreOFDPacket docnum=57181 [14:37: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 38 01 00 00 38 F4 30 01 DD F9 5A 03 01 00 03 00 24 01 1E 04 01 00 01 23 04 76 00 8A 04 0D 00 34 36 38 30 30 33 37 37 32 34 35 34 32 06 04 32 00 D0 90 D1 80 D0 BE D0 BC 20 53 4D 61 72 6B 65 74 20 53 4D 20 31 30 35 30 20 D0 B3 D1 80 D0 B0 D0 BD D1 83 D0 BB D1 8B 20 D0 B2 D0 B8 D1 88 D0 BD D1 8F FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4C 00 00 00 F4 03 04 00 27 34 95 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 5D DF 00 00 35 04 06 00 6D 42 9B 69 3F 60 28 45 B7 18 2E 73 01 C6 [14:37:25]CheckFolder [14:37:25]dirname=/storage/ofd_packets [14:37:25]CheckFolder done [14:37:25]ProducePacketName [14:37:25]name=ofd_packets/00057181 [14:37:25]NVStorageSaveData ofd_packets/00057181 [14:37:25]File name is /storage/ofd_packets/00057181 [14:37:25]Write 342 bytes [14:37:25]NVStorageSaveData done [14:37:25]OFDSenderStorePacket done [14:37:25]KKMCreateOFDPacket done [14:37:25]NVStorageSaveData kkm_last_timestamp [14:37:25]File name is /storage/kkm_last_timestamp [14:37:25]Write 4 bytes [14:37:25]NVStorageSaveData done [14:37:25]ExternCall_PrintAddStr [14:37:25]wPrintStart [14:37:25]Write to MH i2c: 01 00 00 69 19 82 [14:37:25]Write i2c OK [14:37:25]MH_I2C_Read... [14:37:25]Read from MH i2c: 01 [14:37:25]MH_I2C_Read... [14:37:25]Read from MH i2c: 01 07 00 [14:37:25]MH_I2C_Read... [14:37:25]Read from MH i2c: 01 07 00 69 19 00 00 00 00 00 FF 0F 97 [14:37:25]RasterBufferAndPrint [14:37:25]line Счет N : (3)129633 [14:37:25]line ИНН: 02508201610067 [14:37:25]line Контрольно-Кассовый Чек [14:37:25]line ПРОДАЖА [14:37:25]line Товар: 4680037724542 [14:37:25]line Аром SMarket SM 1050 гранулы вишня [14:37:25]line 1.000 * 60.00 [14:37:25]line = 60.00 [14:37:25]line НДС 12% НСП 1% [14:37:25]line > о реализуемом товаре [14:37:25]line ИТОГО: 60.00 [14:37:25]line НСП 1% : 0.53 [14:37:25]line НДС 12% : 6.37 [14:37:25]line Наличными: 60.00 [14:37:25]line Безнал.: 0.00 [14:37:25]line Место: АЗС № 132 "Партнер Нефть" [14:37:25]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [14:37:25]line СНО: Общий режим [14:37:25]line Чек 76 15.07.2024 14:37 [14:37:25]line Смена: 497 ФФД: 1.0 [14:37:25]line ЗНМ: 0300000132 [14:37:25]line РНМ: 0000000000091208 [14:37:25]line Версия ККМ: 001 [14:37:25]line ФМ: 0000000000874857 [14:37:25]line ФД: 57181 [14:37:25]line ФПД: 120132842635104 [14:37:25]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T143727&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57181&fm=120132842635104&tin=02508201610067®Number=0000000000091208&sum=6000 [14:37:25]OFD Sender: Processing packet 57181 [packets to send 38, broken 37] [14:37:25]ProducePacketName [14:37:25]name=ofd_packets/00057181 [14:37:25]OFD Sender: To server: pG, [14:37:25]CommunicateWithHost lk.salyk.kg:30040 [14:37:25]ConnectInit lk.salyk.kg [14:37:25]line 0 [14:37:25]written 0, free lines is 4095 [14:37:25]Connected sock=10 [14:37: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 38 01 00 00 38 F4 30 01 DD F9 5A 03 01 00 03 00 24 01 1E 04 01 00 01 23 04 76 00 8A 04 0D 00 34 36 38 30 30 33 37 37 32 34 35 34 32 06 04 32 00 D0 90 D1 80 D0 BE D0 BC 20 53 4D 61 72 6B 65 74 20 53 4D 20 31 30 35 30 20 D0 B3 D1 80 D0 B0 D0 BD D1 83 D0 BB D1 8B 20 D0 B2 D0 B8 D1 88 D0 BD D1 8F FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4C 00 00 00 F4 03 04 00 27 34 95 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 5D DF 00 00 35 04 06 00 6D 42 9B 69 3F 60 28 45 B7 18 2E 73 01 C6 [14:37: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 72 8C 47 00 59 17 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 5D DF 00 00 F4 03 04 00 75 DA 94 66 B6 04 01 00 00 1C BF 79 8B A8 14 71 56 [14:37:25]CommunicateWithHost err = 0 [14:37:25]CheckOFDResponse [14:37:25]1017 (14) - 77093643461234 [14:37:25]1041 (16) - 0000000000874857 [14:37:25]1040 (4) - 57181 [14:37:25]1012 (4) - 15.07.2024 08:14 [14:37:25]1206 (1) - 0 [14:37:25]OFD Sender: Remove packet 57181 [14:37:25]ProducePacketName [14:37:25]name=ofd_packets/00057181 [14:37:25]NVStorageDeleteData [14:37:25]Write to MH i2c: 01 00 00 92 19 AB [14:37:25]Write i2c OK [14:37:25]MH_I2C_Read... [14:37:25]Read from MH i2c: 01 [14:37:25]MH_I2C_Read... [14:37:25]Read from MH i2c: 01 07 00 [14:37:25]MH_I2C_Read... [14:37:25]Read from MH i2c: 01 07 00 92 19 00 00 00 00 00 F0 0C AE [14:37:25]RasterBufferAndPrint [14:37:25]line [14:37:25]line [14:37:25]line [14:37:25]line [14:37:25]line [14:37:25]written 0, free lines is 3319 [14:37:25]MH_Cut [14:37:25]Write to MH i2c: D1 01 00 99 19 01 84 [14:37:25]Write i2c OK [14:37:25]MH_I2C_Read... [14:37:25]Read from MH i2c: D1 [14:37:25]MH_I2C_Read... [14:37:25]Read from MH i2c: D1 01 00 [14:37:25]MH_I2C_Read... [14:37:25]Read from MH i2c: D1 01 00 99 19 00 83 [14:37:25]Write to MH i2c: 01 00 00 9A 19 B3 [14:37:25]Write i2c OK [14:37:25]MH_I2C_Read... [14:37:26]OFD Sender: No OFD packet to send [14:37:26]*** Cut start [14:37:26]*** Partial cut [14:37:26]*** CUTSNS_PIN = 1 [14:37:26]*** CUTSNS_PIN = 0 [14:37:26]*** Brake cut motor [14:37:27]Read from MH i2c: 01 [14:37:27]MH_I2C_Read... [14:37:27]*** Stop cut motor [14:37:27]*** Cut end [14:37:27]Read from MH i2c: 01 07 00 [14:37:27]MH_I2C_Read... [14:37:27]Read from MH i2c: 01 07 00 9A 19 00 00 00 00 00 FF 0F C8 [14:37:27]process_action close_receipt done [14:37:27]requested_data is exist [14:37:27]produce_requested_data [14:37:27]requested_item fm.sn is exist - process it [14:37:27]wFMCommunicate request_size=4 [14:37:27]MH_SAM_APDU [14:37:27]CAPDU: 80 11 00 00 [14:37:27]Write to MH i2c: E2 08 00 9B 19 80 11 00 00 00 00 00 00 2E [14:37:27]Write i2c OK [14:37:27]MH_I2C_Read... [14:37:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:37:27]Read from MH i2c: E2 [14:37:27]MH_I2C_Read... [14:37:27]Read from MH i2c: E2 17 00 [14:37:27]MH_I2C_Read... [14:37:27]Read from MH i2c: E2 17 00 9B 19 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 88 [14:37:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [14:37:27]wFMCommunicate OK [14:37:27]requested_item fd.num is exist - process it [14:37:27]SAM_PROTO_GetFieldsCounters [14:37:27]wFMCommunicate request_size=4 [14:37:27]MH_SAM_APDU [14:37:27]CAPDU: 80 13 00 00 [14:37:27]Write to MH i2c: E2 08 00 9C 19 80 13 00 00 00 00 00 00 31 [14:37:27]Write i2c OK [14:37:27]MH_I2C_Read... [14:37:27]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:37:27]Read from MH i2c: E2 [14:37:27]MH_I2C_Read... [14:37:27]Read from MH i2c: E2 62 00 [14:37:27]MH_I2C_Read... [14:37:27]Read from MH i2c: E2 62 00 9C 19 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 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 5D DF 00 00 0E 04 04 00 F1 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 66 [14:37: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 5D DF 00 00 0E 04 04 00 F1 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:37:27]wFMCommunicate OK [14:37:27]SAM_PROTO_GetFieldsCounters done [14:37:27]requested_item shift.num is exist - process it [14:37:27]requested_item shift.opened is exist - process it [14:37:27]req_shift_opened [14:37:27]FM_GetShiftState [14:37:27]SAM_PROTO_GetShiftState [14:37:27]wFMCommunicate request_size=4 [14:37:27]MH_SAM_APDU [14:37:27]CAPDU: 80 13 01 00 [14:37:27]Write to MH i2c: E2 08 00 9D 19 80 13 01 00 00 00 00 00 33 [14:37:27]Write i2c OK [14:37:27]MH_I2C_Read... [14:37:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:37:27]Read from MH i2c: E2 [14:37:27]MH_I2C_Read... [14:37:27]Read from MH i2c: E2 0E 00 [14:37:27]MH_I2C_Read... [14:37:27]Read from MH i2c: E2 0E 00 9D 19 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 AC [14:37:27]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [14:37:27]wFMCommunicate OK [14:37:27]SAM_PROTO_GetShiftState done [14:37:27]FM_GetShiftState done [14:37:27]req_shift_opened done [14:37:27]requested_item shift.open_date is exist - process it [14:37:27]req_shift_open_date [14:37:27]req_shift_open_date done [14:37:27]requested_item shift.sale.total is exist - process it [14:37:27]SAM_PROTO_GetShiftData [14:37:27]wFMCommunicate request_size=4 [14:37:27]MH_SAM_APDU [14:37:27]CAPDU: 80 13 02 00 [14:37:27]Write to MH i2c: E2 08 00 9E 19 80 13 02 00 00 00 00 00 35 [14:37:27]Write i2c OK [14:37:27]MH_I2C_Read... [14:37:27]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [14:37:27]Read from MH i2c: E2 [14:37:27]MH_I2C_Read... [14:37:27]Read from MH i2c: E2 FD 00 [14:37:27]MH_I2C_Read... [14:37:27]Read from MH i2c: E2 FD 00 9E 19 00 B6 04 AA 04 B2 04 6E 04 04 00 4C 00 00 00 69 04 9B 00 6F 04 04 00 4B 00 00 00 B1 04 03 00 49 54 1D 70 04 03 00 34 40 18 72 04 03 00 15 14 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 62 1D 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 6F 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 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 D5 [14:37:27]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 4C 00 00 00 69 04 9B 00 6F 04 04 00 4B 00 00 00 B1 04 03 00 49 54 1D 70 04 03 00 34 40 18 72 04 03 00 15 14 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 62 1D 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 6F 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 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 [14:37:27]wFMCommunicate OK [14:37:27]wFMCommunicate request_size=4 [14:37:27]MH_SAM_APDU [14:37:27]CAPDU: 80 17 00 00 [14:37:27]Write to MH i2c: E2 08 00 9F 19 80 17 00 00 00 00 00 00 38 [14:37:27]Write i2c OK [14:37:27]MH_I2C_Read... [14:37:28]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:37:28]Read from MH i2c: E2 [14:37:28]MH_I2C_Read... [14:37:28]Read from MH i2c: E2 FD 00 [14:37:28]MH_I2C_Read... [14:37:28]Read from MH i2c: E2 FD 00 9F 19 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 6D [14:37:28]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 [14:37:28]wFMCommunicate OK [14:37:28]wFMCommunicate request_size=4 [14:37:28]MH_SAM_APDU [14:37:28]CAPDU: 80 17 00 00 [14:37:28]Write to MH i2c: E2 08 00 A0 19 80 17 00 00 00 00 00 00 39 [14:37:28]Write i2c OK [14:37:28]MH_I2C_Read... [14:37:28]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:37:28]Read from MH i2c: E2 [14:37:28]MH_I2C_Read... [14:37:28]Read from MH i2c: E2 FD 00 [14:37:28]MH_I2C_Read... [14:37:28]Read from MH i2c: E2 FD 00 A0 19 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 F9 [14:37:28]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 [14:37:28]wFMCommunicate OK [14:37:28]wFMCommunicate request_size=4 [14:37:28]MH_SAM_APDU [14:37:28]CAPDU: 80 17 00 00 [14:37:28]Write to MH i2c: E2 08 00 A1 19 80 17 00 00 00 00 00 00 3A [14:37:28]Write i2c OK [14:37:28]MH_I2C_Read... [14:37:28]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:37:28]Read from MH i2c: E2 [14:37:28]MH_I2C_Read... [14:37:28]Read from MH i2c: E2 FD 00 [14:37:28]MH_I2C_Read... [14:37:28]Read from MH i2c: E2 FD 00 A1 19 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 A9 [14:37:28]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 [14:37:28]wFMCommunicate OK [14:37:28]wFMCommunicate request_size=4 [14:37:28]MH_SAM_APDU [14:37:28]CAPDU: 80 17 00 00 [14:37:28]Write to MH i2c: E2 08 00 A2 19 80 17 00 00 00 00 00 00 3B [14:37:28]Write i2c OK [14:37:28]MH_I2C_Read... [14:37:28]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [14:37:29]Read from MH i2c: E2 [14:37:29]MH_I2C_Read... [14:37:29]Read from MH i2c: E2 D3 00 [14:37:29]MH_I2C_Read... [14:37:29]Read from MH i2c: E2 D3 00 A2 19 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 28 [14:37:29]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 [14:37:29]wFMCommunicate OK [14:37:29]SAM_PROTO_GetShiftData done [14:37:29]requested_item shift.sale.total_cash is exist - process it [14:37:29]requested_item shift.sale_refund.total is exist - process it [14:37:29]requested_item shift.sale_refund.total_cash is exist - process it [14:37:29]produce_requested_data done [14:37:29]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57181,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":19221.21,"shift.sale.total_cash":15893.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [14:37:29]process_action_free close_receipt [14:37:29]json_value_free [14:37:29]json_value_free done [14:37:29]process_json_proto returns [14:37:29]Send response to host [14:37:29]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57181,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":19221.21,"shift.sale.total_cash":15893.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [14:37:29]free response buf [14:37:29]execute_script done [14:37:29]execute_script returns [14:37:29]free content buf [14:37:29]Sock 8.Close socket [14:37:29]Sock 8.Thread stoped [14:37:30]accept exits with 9 [14:37:30]New connection [14:37:30]New thread 3066924388 created [14:37:30]Thread 3067067748 joined [14:37:30]Waiting for new connection... [14:37:30] Sock 9.Parse request [14:37:30]Sock 9.Check first char [14:37:30]Sock 9.First char is OK [14:37:30]request: POST /json_proto HTTP/1.0 [14:37:30]Method: POST [14:37:30]URL: /json_proto [14:37:30]Method is POST - this is cgi request [14:37:30]url: /json_proto [14:37:30]query_string will be loaded in cgi processing [14:37:30]execute_cgi json_proto POST (null) [14:37:30]execute_cgi path=json_proto method=POST [14:37:30]POST find Content-Length [14:37:30]Host: 172.17.39.4:8080 [14:37:30]Content-Length: 728 [14:37:30]Content-Type: application/json [14:37:30] [14:37:30]POST finish read [14:37:30]Found Content-Length = 728 [14:37:30]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129634", "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" ] } } [14:37:30]execute_script... [14:37:30]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129634", "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" ] } } [14:37:30]POST & json_proto [14:37:30]process_json_proto [14:37:30]json parsed OK: [14:37:30]protocol is kg_v1.0 [14:37:30]action value=close_receipt [14:37:30]process_action close_receipt [14:37:30]cmd_close_receipt [14:37:30]MH_GetDate [14:37:30]Write to MH i2c: F0 00 00 A3 19 AB [14:37:30]Write i2c OK [14:37:30]MH_I2C_Read... [14:37:30]Read from MH i2c: F0 [14:37:30]MH_I2C_Read... [14:37:30]Read from MH i2c: F0 09 00 [14:37:30]MH_I2C_Read... [14:37:30]Read from MH i2c: F0 09 00 A3 19 00 2E 34 95 66 2D 25 5D 64 24 [14:37:30]GetLastDocTimeStamp 1721054247 [14:37:30]current date 1721054254 [14:37:30]FM_GetShiftState [14:37:30]SAM_PROTO_GetShiftState [14:37:30]wFMCommunicate request_size=4 [14:37:30]MH_SAM_APDU [14:37:30]CAPDU: 80 13 01 00 [14:37:30]Write to MH i2c: E2 08 00 A4 19 80 13 01 00 00 00 00 00 3A [14:37:30]Write i2c OK [14:37:30]MH_I2C_Read... [14:37:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:37:30]Read from MH i2c: E2 [14:37:30]MH_I2C_Read... [14:37:30]Read from MH i2c: E2 0E 00 [14:37:30]MH_I2C_Read... [14:37:30]Read from MH i2c: E2 0E 00 A4 19 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 B3 [14:37:30]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [14:37:30]wFMCommunicate OK [14:37:30]SAM_PROTO_GetShiftState done [14:37:30]FM_GetShiftState done [14:37:30]opened in 1721003525 [14:37:30]opened+sec_in_day 1721089925 [14:37:30]quantity*price = 4000 [14:37:30]sum+1 = 4001 [14:37:30]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 СНО: Общий режим Чек 77 15.07.2024 14:37 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57182 ФПД: 93432306527220 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T143734&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57182&fm=93432306527220&tin=02508201610067®Number=0000000000091208&sum=4000 0 [14:37:31]StoreToDocumentArchive [14:37:31]shift 497 fd 57182 [14:37:31]save to /storage/0497/doc_00057182 [14:37:31]save last doc name /storage/0497/doc_00057182 to /storage/kkm_last_doc_name [14:37:31]save OK [14:37:31]Clear old archive folders... [14:37:31]ProcessDocumentItem done err = 0, tmpTLVsize=271 [14:37:31]tlvbuf is 00985140 [14:37:31]SAM_PROTO_ClearQueue [14:37:31]wFMCommunicate request_size=4 [14:37:31]MH_SAM_APDU [14:37:31]CAPDU: 80 09 00 00 [14:37:31]Write to MH i2c: E2 08 00 B1 19 80 09 00 00 00 00 00 00 3C [14:37:31]Write i2c OK [14:37:31]MH_I2C_Read... [14:37:31]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:37:31]Read from MH i2c: E2 [14:37:31]MH_I2C_Read... [14:37:31]Read from MH i2c: E2 03 00 [14:37:31]MH_I2C_Read... [14:37:31]Read from MH i2c: E2 03 00 B1 19 00 90 00 3E [14:37:31]RAPDU: 90 00 [14:37:31]wFMCommunicate OK [14:37:31]SAM_PROTO_ClearQueue done [14:37:31]KKMCreateOFDPacket [14:37:31]OFDProtocolAddRootSTLVToBuf [14:37:31]FM_MakeSignedData [14:37:31]FM_MakeSignedData [14:37:31]SAM_PROTO_SignData [14:37:31]wFMCommunicate request_size=4 [14:37:31]MH_SAM_APDU [14:37:31]CAPDU: 80 0D 01 02 [14:37:31]Write to MH i2c: E2 08 00 B2 19 80 0D 01 02 00 00 00 00 44 [14:37:31]Write i2c OK [14:37:31]MH_I2C_Read... [14:37:32]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:37:32]Read from MH i2c: E2 [14:37:32]MH_I2C_Read... [14:37:32]Read from MH i2c: E2 03 00 [14:37:32]MH_I2C_Read... [14:37:32]Read from MH i2c: E2 03 00 B2 19 00 90 00 3F [14:37:32]RAPDU: 90 00 [14:37:32]wFMCommunicate OK [14:37:32]wFMCommunicate request_size=255 [14:37:32]MH_SAM_APDU [14:37:32]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 4D 00 00 00 F4 03 04 00 2E 34 95 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 [14:37:32]Write to MH i2c: E2 02 01 B3 19 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 4D 00 00 00 F4 03 04 00 2E 34 95 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 00 00 B2 [14:37:32]Write i2c OK [14:37:32]MH_I2C_Read... [14:37:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:37:32]Read from MH i2c: E2 [14:37:32]MH_I2C_Read... [14:37:32]Read from MH i2c: E2 03 00 [14:37:32]MH_I2C_Read... [14:37:32]Read from MH i2c: E2 03 00 B3 19 00 90 00 40 [14:37:32]RAPDU: 90 00 [14:37:32]wFMCommunicate OK [14:37:32]wFMCommunicate request_size=30 [14:37:32]MH_SAM_APDU [14:37:32]CAPDU: 80 0D 02 02 19 30 38 37 34 38 35 37 10 04 04 00 5E DF 00 00 35 04 06 00 54 F9 E7 70 EB F4 [14:37:32]Write to MH i2c: E2 21 00 B4 19 80 0D 02 02 19 00 30 38 37 34 38 35 37 10 04 04 00 5E DF 00 00 35 04 06 00 54 F9 E7 70 EB F4 00 00 07 [14:37:32]Write i2c OK [14:37:32]MH_I2C_Read... [14:37:32]Read from MH i2c: E2 [14:37:32]MH_I2C_Read... [14:37:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:37:32]Read from MH i2c: E2 03 00 [14:37:32]MH_I2C_Read... [14:37:32]Read from MH i2c: E2 03 00 B4 19 00 90 00 41 [14:37:32]RAPDU: 90 00 [14:37:32]wFMCommunicate OK [14:37:32]wFMCommunicate request_size=4 [14:37:32]MH_SAM_APDU [14:37:32]CAPDU: 80 0D 03 02 [14:37:32]Write to MH i2c: E2 08 00 B5 19 80 0D 03 02 00 00 00 00 49 [14:37:32]Write i2c OK [14:37:32]MH_I2C_Read... [14:37:32]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:37:32]Read from MH i2c: E2 [14:37:32]MH_I2C_Read... [14:37:32]Read from MH i2c: E2 0B 00 [14:37:32]MH_I2C_Read... [14:37:32]Read from MH i2c: E2 0B 00 B5 19 00 D1 31 07 45 BD 11 11 E6 90 00 5D [14:37:32]RAPDU: D1 31 07 45 BD 11 11 E6 90 00 [14:37:32]wFMCommunicate OK [14:37:32]SAM_PROTO_SignData done [14:37:32]FM_MakeSignedData done [14:37:32]CreateOFDProtocolMessage [14:37:32]wFMCommunicate request_size=4 [14:37:32]MH_SAM_APDU [14:37:32]CAPDU: 80 11 00 00 [14:37:32]Write to MH i2c: E2 08 00 B6 19 80 11 00 00 00 00 00 00 49 [14:37:32]Write i2c OK [14:37:32]MH_I2C_Read... [14:37:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:37:32]Read from MH i2c: E2 [14:37:32]MH_I2C_Read... [14:37:32]Read from MH i2c: E2 17 00 [14:37:32]MH_I2C_Read... [14:37:32]Read from MH i2c: E2 17 00 B6 19 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 A3 [14:37: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:37:32]wFMCommunicate OK [14:37:32]CreateOFDProtocolMessage done [14:37:32]OFDSenderStorePacket 57182 [14:37:32]StoreOFDPacket docnum=57182 [14:37: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 23 01 00 00 64 15 1B 01 2A 1B 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 4D 00 00 00 F4 03 04 00 2E 34 95 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 5E DF 00 00 35 04 06 00 54 F9 E7 70 EB F4 D1 31 07 45 BD 11 11 E6 [14:37:32]CheckFolder [14:37:32]dirname=/storage/ofd_packets [14:37:32]CheckFolder done [14:37:32]ProducePacketName [14:37:32]name=ofd_packets/00057182 [14:37:32]NVStorageSaveData ofd_packets/00057182 [14:37:32]File name is /storage/ofd_packets/00057182 [14:37:32]Write 321 bytes [14:37:32]NVStorageSaveData done [14:37:32]OFDSenderStorePacket done [14:37:32]KKMCreateOFDPacket done [14:37:32]NVStorageSaveData kkm_last_timestamp [14:37:32]File name is /storage/kkm_last_timestamp [14:37:32]Write 4 bytes [14:37:32]NVStorageSaveData done [14:37:32]ExternCall_PrintAddStr [14:37:32]wPrintStart [14:37:32]Write to MH i2c: 01 00 00 B7 19 D0 [14:37:32]Write i2c OK [14:37:32]MH_I2C_Read... [14:37:32]Read from MH i2c: 01 [14:37:32]MH_I2C_Read... [14:37:32]Read from MH i2c: 01 07 00 [14:37:32]MH_I2C_Read... [14:37:32]Read from MH i2c: 01 07 00 B7 19 00 00 00 00 00 FF 0F E5 [14:37:32]RasterBufferAndPrint [14:37:32]line Счет N : (3)129634 [14:37:32]line ИНН: 02508201610067 [14:37:32]line Контрольно-Кассовый Чек [14:37:32]line ПРОДАЖА [14:37:32]line Товар: 46177872 [14:37:32]line Жев Orbit подушки Citrus [14:37:32]line 1.000 * 40.00 [14:37:32]line = 40.00 [14:37:32]line НДС 12% НСП 1% [14:37:32]line > о реализуемом товаре [14:37:32]line ИТОГО: 40.00 [14:37:32]line НСП 1% : 0.35 [14:37:32]line НДС 12% : 4.25 [14:37:32]line Наличными: 40.00 [14:37:32]line Безнал.: 0.00 [14:37:32]line Место: АЗС № 132 "Партнер Нефть" [14:37:32]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [14:37:32]line СНО: Общий режим [14:37:32]line Чек 77 15.07.2024 14:37 [14:37:32]line Смена: 497 ФФД: 1.0 [14:37:32]line ЗНМ: 0300000132 [14:37:32]line РНМ: 0000000000091208 [14:37:32]line Версия ККМ: 001 [14:37:32]line ФМ: 0000000000874857 [14:37:32]line ФД: 57182 [14:37:32]line ФПД: 93432306527220 [14:37:32]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T143734&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57182&fm=93432306527220&tin=02508201610067®Number=0000000000091208&sum=4000 [14:37:32]line 0 [14:37:32]OFD Sender: Processing packet 57182 [packets to send 38, broken 37] [14:37:32]ProducePacketName [14:37:32]name=ofd_packets/00057182 [14:37:32]OFD Sender: To server: pG, [14:37:32]CommunicateWithHost lk.salyk.kg:30040 [14:37:32]ConnectInit lk.salyk.kg [14:37:32]written 0, free lines is 4095 [14:37:32]Connected sock=10 [14:37: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 23 01 00 00 64 15 1B 01 2A 1B 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 4D 00 00 00 F4 03 04 00 2E 34 95 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 5E DF 00 00 35 04 06 00 54 F9 E7 70 EB F4 D1 31 07 45 BD 11 11 E6 [14:37: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 7C 69 47 00 EB 5D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 5E DF 00 00 F4 03 04 00 7C DA 94 66 B6 04 01 00 00 F5 01 D3 88 46 93 87 42 [14:37:33]CommunicateWithHost err = 0 [14:37:33]CheckOFDResponse [14:37:33]1017 (14) - 77093643461234 [14:37:33]1041 (16) - 0000000000874857 [14:37:33]1040 (4) - 57182 [14:37:33]1012 (4) - 15.07.2024 08:14 [14:37:33]1206 (1) - 0 [14:37:33]OFD Sender: Remove packet 57182 [14:37:33]ProducePacketName [14:37:33]name=ofd_packets/00057182 [14:37:33]NVStorageDeleteData [14:37:33]Write to MH i2c: 01 00 00 DF 19 F8 [14:37:33]Write i2c OK [14:37:33]MH_I2C_Read... [14:37:33]Read from MH i2c: 01 [14:37:33]MH_I2C_Read... [14:37:33]Read from MH i2c: 01 07 00 [14:37:33]MH_I2C_Read... [14:37:33]Read from MH i2c: 01 07 00 DF 19 00 00 00 00 00 17 0D 23 [14:37:33]RasterBufferAndPrint [14:37:33]line [14:37:33]line [14:37:33]line [14:37:33]line [14:37:33]line [14:37:33]written 0, free lines is 3369 [14:37:33]MH_Cut [14:37:33]Write to MH i2c: D1 01 00 E6 19 01 D1 [14:37:33]Write i2c OK [14:37:33]MH_I2C_Read... [14:37:33]Read from MH i2c: D1 [14:37:33]MH_I2C_Read... [14:37:33]Read from MH i2c: D1 01 00 [14:37:33]MH_I2C_Read... [14:37:33]Read from MH i2c: D1 01 00 E6 19 00 D0 [14:37:33]Write to MH i2c: 01 00 00 E7 19 00 [14:37:33]Write i2c OK [14:37:33]MH_I2C_Read... [14:37:33]OFD Sender: No OFD packet to send [14:37:33]*** Cut start [14:37:33]*** Partial cut [14:37:33]*** CUTSNS_PIN = 1 [14:37:33]*** CUTSNS_PIN = 0 [14:37:34]*** Brake cut motor [14:37:34]Read from MH i2c: 01 [14:37:34]MH_I2C_Read... [14:37:34]*** Stop cut motor [14:37:34]*** Cut end [14:37:34]Read from MH i2c: 01 07 00 [14:37:34]MH_I2C_Read... [14:37:34]Read from MH i2c: 01 07 00 E7 19 00 00 00 00 00 FF 0F 15 [14:37:34]process_action close_receipt done [14:37:34]requested_data is exist [14:37:34]produce_requested_data [14:37:34]requested_item fm.sn is exist - process it [14:37:34]wFMCommunicate request_size=4 [14:37:34]MH_SAM_APDU [14:37:34]CAPDU: 80 11 00 00 [14:37:34]Write to MH i2c: E2 08 00 E8 19 80 11 00 00 00 00 00 00 7B [14:37:34]Write i2c OK [14:37:34]MH_I2C_Read... [14:37:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:37:34]Read from MH i2c: E2 [14:37:34]MH_I2C_Read... [14:37:34]Read from MH i2c: E2 17 00 [14:37:34]MH_I2C_Read... [14:37:34]Read from MH i2c: E2 17 00 E8 19 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 D5 [14:37:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [14:37:34]wFMCommunicate OK [14:37:34]requested_item fd.num is exist - process it [14:37:34]SAM_PROTO_GetFieldsCounters [14:37:34]wFMCommunicate request_size=4 [14:37:34]MH_SAM_APDU [14:37:34]CAPDU: 80 13 00 00 [14:37:34]Write to MH i2c: E2 08 00 E9 19 80 13 00 00 00 00 00 00 7E [14:37:34]Write i2c OK [14:37:34]MH_I2C_Read... [14:37:34]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:37:34]Read from MH i2c: E2 [14:37:34]MH_I2C_Read... [14:37:34]Read from MH i2c: E2 62 00 [14:37:34]MH_I2C_Read... [14:37:34]Read from MH i2c: E2 62 00 E9 19 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 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 5E DF 00 00 0E 04 04 00 F1 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 B7 [14:37:34]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 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 5E DF 00 00 0E 04 04 00 F1 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:37:34]wFMCommunicate OK [14:37:34]SAM_PROTO_GetFieldsCounters done [14:37:34]requested_item shift.num is exist - process it [14:37:34]requested_item shift.opened is exist - process it [14:37:34]req_shift_opened [14:37:34]FM_GetShiftState [14:37:34]SAM_PROTO_GetShiftState [14:37:34]wFMCommunicate request_size=4 [14:37:34]MH_SAM_APDU [14:37:34]CAPDU: 80 13 01 00 [14:37:34]Write to MH i2c: E2 08 00 EA 19 80 13 01 00 00 00 00 00 80 [14:37:34]Write i2c OK [14:37:34]MH_I2C_Read... [14:37:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:37:34]Read from MH i2c: E2 [14:37:34]MH_I2C_Read... [14:37:34]Read from MH i2c: E2 0E 00 [14:37:34]MH_I2C_Read... [14:37:34]Read from MH i2c: E2 0E 00 EA 19 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 F9 [14:37:34]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [14:37:34]wFMCommunicate OK [14:37:34]SAM_PROTO_GetShiftState done [14:37:34]FM_GetShiftState done [14:37:34]req_shift_opened done [14:37:34]requested_item shift.open_date is exist - process it [14:37:34]req_shift_open_date [14:37:34]req_shift_open_date done [14:37:34]requested_item shift.sale.total is exist - process it [14:37:34]SAM_PROTO_GetShiftData [14:37:34]wFMCommunicate request_size=4 [14:37:34]MH_SAM_APDU [14:37:34]CAPDU: 80 13 02 00 [14:37:34]Write to MH i2c: E2 08 00 EB 19 80 13 02 00 00 00 00 00 82 [14:37:34]Write i2c OK [14:37:34]MH_I2C_Read... [14:37:35]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [14:37:35]Read from MH i2c: E2 [14:37:35]MH_I2C_Read... [14:37:35]Read from MH i2c: E2 FD 00 [14:37:35]MH_I2C_Read... [14:37:35]Read from MH i2c: E2 FD 00 EB 19 00 B6 04 AA 04 B2 04 6E 04 04 00 4D 00 00 00 69 04 9B 00 6F 04 04 00 4C 00 00 00 B1 04 03 00 E9 63 1D 70 04 03 00 D4 4F 18 72 04 03 00 15 14 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 0B 1F 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 92 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 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 50 [14:37:35]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 4D 00 00 00 69 04 9B 00 6F 04 04 00 4C 00 00 00 B1 04 03 00 E9 63 1D 70 04 03 00 D4 4F 18 72 04 03 00 15 14 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 0B 1F 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 92 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 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 [14:37:35]wFMCommunicate OK [14:37:35]wFMCommunicate request_size=4 [14:37:35]MH_SAM_APDU [14:37:35]CAPDU: 80 17 00 00 [14:37:35]Write to MH i2c: E2 08 00 EC 19 80 17 00 00 00 00 00 00 85 [14:37:35]Write i2c OK [14:37:35]MH_I2C_Read... [14:37:35]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:37:35]Read from MH i2c: E2 [14:37:35]MH_I2C_Read... [14:37:35]Read from MH i2c: E2 FD 00 [14:37:35]MH_I2C_Read... [14:37:35]Read from MH i2c: E2 FD 00 EC 19 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 BA [14:37:35]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 [14:37:35]wFMCommunicate OK [14:37:35]wFMCommunicate request_size=4 [14:37:35]MH_SAM_APDU [14:37:35]CAPDU: 80 17 00 00 [14:37:35]Write to MH i2c: E2 08 00 ED 19 80 17 00 00 00 00 00 00 86 [14:37:35]Write i2c OK [14:37:35]MH_I2C_Read... [14:37:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:37:36]Read from MH i2c: E2 [14:37:36]MH_I2C_Read... [14:37:36]Read from MH i2c: E2 FD 00 [14:37:36]MH_I2C_Read... [14:37:36]Read from MH i2c: E2 FD 00 ED 19 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 46 [14:37: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 [14:37:36]wFMCommunicate OK [14:37:36]wFMCommunicate request_size=4 [14:37:36]MH_SAM_APDU [14:37:36]CAPDU: 80 17 00 00 [14:37:36]Write to MH i2c: E2 08 00 EE 19 80 17 00 00 00 00 00 00 87 [14:37:36]Write i2c OK [14:37:36]MH_I2C_Read... [14:37:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:37:36]Read from MH i2c: E2 [14:37:36]MH_I2C_Read... [14:37:36]Read from MH i2c: E2 FD 00 [14:37:36]MH_I2C_Read... [14:37:36]Read from MH i2c: E2 FD 00 EE 19 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 F6 [14:37: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 [14:37:36]wFMCommunicate OK [14:37:36]wFMCommunicate request_size=4 [14:37:36]MH_SAM_APDU [14:37:36]CAPDU: 80 17 00 00 [14:37:36]Write to MH i2c: E2 08 00 EF 19 80 17 00 00 00 00 00 00 88 [14:37:36]Write i2c OK [14:37:36]MH_I2C_Read... [14:37:37]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [14:37:37]Read from MH i2c: E2 [14:37:37]MH_I2C_Read... [14:37:37]Read from MH i2c: E2 D3 00 [14:37:37]MH_I2C_Read... [14:37:37]Read from MH i2c: E2 D3 00 EF 19 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 75 [14:37:37]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 [14:37:37]wFMCommunicate OK [14:37:37]SAM_PROTO_GetShiftData done [14:37:37]requested_item shift.sale.total_cash is exist - process it [14:37:37]requested_item shift.sale_refund.total is exist - process it [14:37:37]requested_item shift.sale_refund.total_cash is exist - process it [14:37:37]produce_requested_data done [14:37:37]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57182,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":19261.21,"shift.sale.total_cash":15933.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [14:37:37]process_action_free close_receipt [14:37:37]json_value_free [14:37:37]json_value_free done [14:37:37]process_json_proto returns [14:37:37]Send response to host [14:37:37]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57182,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":19261.21,"shift.sale.total_cash":15933.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [14:37:37]free response buf [14:37:37]execute_script done [14:37:37]execute_script returns [14:37:37]free content buf [14:37:37]Sock 9.Close socket [14:37:37]Sock 9.Thread stoped [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:24]accept exits with 8 [14:38:24]New connection [14:38:24]New thread 3067067748 created [14:38:24]Thread 3066924388 joined [14:38:24]Waiting for new connection... [14:38:24] Sock 8.Parse request [14:38:24]Sock 8.Check first char [14:38:24]Sock 8.First char is OK [14:38:24]request: POST /json_proto HTTP/1.0 [14:38:24]Method: POST [14:38:24]URL: /json_proto [14:38:24]Method is POST - this is cgi request [14:38:24]url: /json_proto [14:38:24]query_string will be loaded in cgi processing [14:38:24]execute_cgi json_proto POST (null) [14:38:24]execute_cgi path=json_proto method=POST [14:38:24]POST find Content-Length [14:38:24]Host: 172.17.39.4:8080 [14:38:24]Content-Length: 781 [14:38:24]Content-Type: application/json [14:38:24] [14:38:24]POST finish read [14:38:24]Found Content-Length = 781 [14:38:24]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)855929", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 43", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.30, "quantity" : 4.830, "sum" : 320.23, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 320.00, "total" : 320.00, "payments": [ { "type": 0, "sum" : 320.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" ] } } [14:38:24]execute_script... [14:38: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 : (1)855929", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 43", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.30, "quantity" : 4.830, "sum" : 320.23, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 320.00, "total" : 320.00, "payments": [ { "type": 0, "sum" : 320.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" ] } } [14:38:24]POST & json_proto [14:38:24]process_json_proto [14:38:24]json parsed OK: [14:38:24]protocol is kg_v1.0 [14:38:24]action value=close_receipt [14:38:24]process_action close_receipt [14:38:24]cmd_close_receipt [14:38:24]MH_GetDate [14:38:24]Write to MH i2c: F0 00 00 F0 19 F8 [14:38:24]Write i2c OK [14:38:24]MH_I2C_Read... [14:38:24]Read from MH i2c: F0 [14:38:24]MH_I2C_Read... [14:38:24]Read from MH i2c: F0 09 00 [14:38:24]MH_I2C_Read... [14:38:24]Read from MH i2c: F0 09 00 F0 19 00 64 34 95 66 2D 25 5D 64 A7 [14:38:24]GetLastDocTimeStamp 1721054254 [14:38:24]current date 1721054308 [14:38:24]FM_GetShiftState [14:38:24]SAM_PROTO_GetShiftState [14:38:24]wFMCommunicate request_size=4 [14:38:24]MH_SAM_APDU [14:38:24]CAPDU: 80 13 01 00 [14:38:24]Write to MH i2c: E2 08 00 F1 19 80 13 01 00 00 00 00 00 87 [14:38:24]Write i2c OK [14:38:24]MH_I2C_Read... [14:38:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:38:24]Read from MH i2c: E2 [14:38:24]MH_I2C_Read... [14:38:24]Read from MH i2c: E2 0E 00 [14:38:24]MH_I2C_Read... [14:38:24]Read from MH i2c: E2 0E 00 F1 19 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 00 [14:38:24]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [14:38:24]wFMCommunicate OK [14:38:24]SAM_PROTO_GetShiftState done [14:38:24]FM_GetShiftState done [14:38:24]opened in 1721003525 [14:38:24]opened+sec_in_day 1721089925 [14:38:24]quantity*price = 32022 [14:38:24]sum+1 = 32024 [14:38:24]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.23 ИТОГО: 320.00 Внесено: 320.00 СДАЧА: 0.00 НСП 1% : 2.83 НДС 12% : 34.01 Наличными: 320.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 78 15.07.2024 14:38 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57183 ФПД: 139544109232528 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T143828&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57183&fm=139544109232528&tin=02508201610067®Number=0000000000091208&sum=32000 [14:38:25]StoreToDocumentArchive [14:38:25]shift 497 fd 57183 [14:38:25]save to /storage/0497/doc_00057183 [14:38:25]save last doc name /storage/0497/doc_00057183 to /storage/kkm_last_doc_name [14:38:25]save OK [14:38:25]Clear old archive folders... [14:38:25]ProcessDocumentItem done err = 0, tmpTLVsize=251 [14:38:25]tlvbuf is 00A09F40 [14:38:25]SAM_PROTO_ClearQueue [14:38:25]wFMCommunicate request_size=4 [14:38:25]MH_SAM_APDU [14:38:25]CAPDU: 80 09 00 00 [14:38:25]Write to MH i2c: E2 08 00 FE 19 80 09 00 00 00 00 00 00 89 [14:38:25]Write i2c OK [14:38:25]MH_I2C_Read... [14:38:25]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:38:25]Read from MH i2c: E2 [14:38:25]MH_I2C_Read... [14:38:25]Read from MH i2c: E2 03 00 [14:38:25]MH_I2C_Read... [14:38:25]Read from MH i2c: E2 03 00 FE 19 00 90 00 8B [14:38:25]RAPDU: 90 00 [14:38:25]wFMCommunicate OK [14:38:25]SAM_PROTO_ClearQueue done [14:38:25]KKMCreateOFDPacket [14:38:25]OFDProtocolAddRootSTLVToBuf [14:38:25]FM_MakeSignedData [14:38:25]FM_MakeSignedData [14:38:25]SAM_PROTO_SignData [14:38:25]wFMCommunicate request_size=4 [14:38:25]MH_SAM_APDU [14:38:25]CAPDU: 80 0D 01 02 [14:38:25]Write to MH i2c: E2 08 00 FF 19 80 0D 01 02 00 00 00 00 91 [14:38:25]Write i2c OK [14:38:25]MH_I2C_Read... [14:38:25]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:38:25]Read from MH i2c: E2 [14:38:25]MH_I2C_Read... [14:38:25]Read from MH i2c: E2 03 00 [14:38:25]MH_I2C_Read... [14:38:25]Read from MH i2c: E2 03 00 FF 19 00 90 00 8C [14:38:25]RAPDU: 90 00 [14:38:25]wFMCommunicate OK [14:38:25]wFMCommunicate request_size=255 [14:38:25]MH_SAM_APDU [14:38:25]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 DE 12 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 17 7D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 7D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1B 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 49 0D 00 00 00 00 07 04 06 00 00 7D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4E 00 00 00 F4 03 04 00 64 34 95 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 5F DF 00 00 35 04 06 00 7E [14:38:25]Write to MH i2c: E2 02 01 00 1A 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 DE 12 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 17 7D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 7D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1B 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 49 0D 00 00 00 00 07 04 06 00 00 7D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4E 00 00 00 F4 03 04 00 64 34 95 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 5F DF 00 00 35 04 06 00 7E 00 00 1C [14:38:25]Write i2c OK [14:38:25]MH_I2C_Read... [14:38:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:38:25]Read from MH i2c: E2 [14:38:25]MH_I2C_Read... [14:38:25]Read from MH i2c: E2 03 00 [14:38:25]MH_I2C_Read... [14:38:25]Read from MH i2c: E2 03 00 00 1A 00 90 00 8E [14:38:25]RAPDU: 90 00 [14:38:25]wFMCommunicate OK [14:38:25]wFMCommunicate request_size=10 [14:38:25]MH_SAM_APDU [14:38:25]CAPDU: 80 0D 02 02 05 EA 25 0F B1 90 [14:38:25]Write to MH i2c: E2 0D 00 01 1A 80 0D 02 02 05 00 EA 25 0F B1 90 00 00 FE [14:38:25]Write i2c OK [14:38:25]MH_I2C_Read... [14:38:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:38:25]Read from MH i2c: E2 [14:38:25]MH_I2C_Read... [14:38:25]Read from MH i2c: E2 03 00 [14:38:25]MH_I2C_Read... [14:38:25]Read from MH i2c: E2 03 00 01 1A 00 90 00 8F [14:38:25]RAPDU: 90 00 [14:38:25]wFMCommunicate OK [14:38:25]wFMCommunicate request_size=4 [14:38:25]MH_SAM_APDU [14:38:25]CAPDU: 80 0D 03 02 [14:38:25]Write to MH i2c: E2 08 00 02 1A 80 0D 03 02 00 00 00 00 97 [14:38:25]Write i2c OK [14:38:25]MH_I2C_Read... [14:38:26]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:38:26]Read from MH i2c: E2 [14:38:26]MH_I2C_Read... [14:38:26]Read from MH i2c: E2 0B 00 [14:38:26]MH_I2C_Read... [14:38:26]Read from MH i2c: E2 0B 00 02 1A 00 E5 89 C7 E8 4F 31 10 02 90 00 47 [14:38:26]RAPDU: E5 89 C7 E8 4F 31 10 02 90 00 [14:38:26]wFMCommunicate OK [14:38:26]SAM_PROTO_SignData done [14:38:26]FM_MakeSignedData done [14:38:26]CreateOFDProtocolMessage [14:38:26]wFMCommunicate request_size=4 [14:38:26]MH_SAM_APDU [14:38:26]CAPDU: 80 11 00 00 [14:38:26]Write to MH i2c: E2 08 00 03 1A 80 11 00 00 00 00 00 00 97 [14:38:26]Write i2c OK [14:38:26]MH_I2C_Read... [14:38:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:38:26]Read from MH i2c: E2 [14:38:26]MH_I2C_Read... [14:38:26]Read from MH i2c: E2 17 00 [14:38:26]MH_I2C_Read... [14:38:26]Read from MH i2c: E2 17 00 03 1A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 F1 [14:38:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [14:38:26]wFMCommunicate OK [14:38:26]CreateOFDProtocolMessage done [14:38:26]OFDSenderStorePacket 57183 [14:38:26]StoreOFDPacket docnum=57183 [14:38: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 0F 01 00 00 65 57 07 01 1B A8 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 DE 12 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 17 7D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 7D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1B 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 49 0D 00 00 00 00 07 04 06 00 00 7D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4E 00 00 00 F4 03 04 00 64 34 95 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 5F DF 00 00 35 04 06 00 7E EA 25 0F B1 90 E5 89 C7 E8 4F 31 10 02 [14:38:26]CheckFolder [14:38:26]dirname=/storage/ofd_packets [14:38:26]CheckFolder done [14:38:26]ProducePacketName [14:38:26]name=ofd_packets/00057183 [14:38:26]NVStorageSaveData ofd_packets/00057183 [14:38:26]File name is /storage/ofd_packets/00057183 [14:38:26]Write 301 bytes [14:38:26]NVStorageSaveData done [14:38:26]OFDSenderStorePacket done [14:38:26]KKMCreateOFDPacket done [14:38:26]NVStorageSaveData kkm_last_timestamp [14:38:26]File name is /storage/kkm_last_timestamp [14:38:26]Write 4 bytes [14:38:26]NVStorageSaveData done [14:38:26]ExternCall_PrintAddStr [14:38:26]wPrintStart [14:38:26]Write to MH i2c: 01 00 00 04 1A 1E [14:38:26]OFD Sender: Processing packet 57183 [packets to send 38, broken 37] [14:38:26]ProducePacketName [14:38:26]name=ofd_packets/00057183 [14:38:26]OFD Sender: To server: pG, [14:38:26]CommunicateWithHost lk.salyk.kg:30040 [14:38:26]ConnectInit lk.salyk.kg [14:38:26]Write i2c OK [14:38:26]MH_I2C_Read... [14:38:26]Read from MH i2c: 01 [14:38:26]MH_I2C_Read... [14:38:26]Read from MH i2c: 01 07 00 [14:38:26]MH_I2C_Read... [14:38:26]Read from MH i2c: 01 07 00 04 1A 00 00 00 00 00 FF 0F 33 [14:38:26]RasterBufferAndPrint [14:38:26]line Счет N : (1)855929 [14:38:26]line ИНН: 02508201610067 [14:38:26]line Контрольно-Кассовый Чек [14:38:26]line ПРОДАЖА [14:38:26]line ТРК (МРК, ГНК) : 43 [14:38:26]line Товар: 2710124130 [14:38:26]line Аи-92-К-5 [14:38:26]line 4.830 * 66.30 [14:38:26]line = 320.23 [14:38:26]line НДС 12% НСП 1% [14:38:26]line > о реализуемом товаре [14:38:26]line ОКРУГЛЕНИЕ: -0.23 [14:38:26]line ИТОГО: 320.00 [14:38:26]line Внесено: 320.00 [14:38:26]line СДАЧА: 0.00 [14:38:26]line НСП 1% : 2.83 [14:38:26]line НДС 12% : 34.01 [14:38:26]line Наличными: 320.00 [14:38:26]line Безнал.: 0.00 [14:38:26]line Место: АЗС № 132 "Партнер Нефть" [14:38:26]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [14:38:26]line СНО: Общий режим [14:38:26]line Чек 78 15.07.2024 14:38 [14:38:26]line Смена: 497 ФФД: 1.0 [14:38:26]line ЗНМ: 0300000132 [14:38:26]line РНМ: 0000000000091208 [14:38:26]line Версия ККМ: 001 [14:38:26]line ФМ: 0000000000874857 [14:38:26]line ФД: 57183 [14:38:26]line ФПД: 139544109232528 [14:38:26]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T143828&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57183&fm=139544109232528&tin=02508201610067®Number=0000000000091208&sum=32000 [14:38:26]Connected sock=10 [14:38: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 0F 01 00 00 65 57 07 01 1B A8 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 DE 12 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 17 7D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 7D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1B 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 49 0D 00 00 00 00 07 04 06 00 00 7D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4E 00 00 00 F4 03 04 00 64 34 95 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 5F DF 00 00 35 04 06 00 7E EA 25 0F B1 90 E5 89 C7 E8 4F 31 10 02 [14:38:26]written 0, free lines is 4095 [14:38: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 04 0F 47 00 EA 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 5F DF 00 00 F4 03 04 00 B2 DA 94 66 B6 04 01 00 00 9E D7 20 53 C6 11 9B 20 [14:38:26]CommunicateWithHost err = 0 [14:38:26]CheckOFDResponse [14:38:26]1017 (14) - 77093643461234 [14:38:26]1041 (16) - 0000000000874857 [14:38:26]1040 (4) - 57183 [14:38:26]1012 (4) - 15.07.2024 08:15 [14:38:26]1206 (1) - 0 [14:38:26]OFD Sender: Remove packet 57183 [14:38:26]ProducePacketName [14:38:26]name=ofd_packets/00057183 [14:38:26]NVStorageDeleteData [14:38:26]Write to MH i2c: 01 00 00 2F 1A 49 [14:38:26]Write i2c OK [14:38:26]MH_I2C_Read... [14:38:26]Read from MH i2c: 01 [14:38:26]MH_I2C_Read... [14:38:26]Read from MH i2c: 01 07 00 [14:38:26]MH_I2C_Read... [14:38:26]Read from MH i2c: 01 07 00 2F 1A 00 00 00 00 00 F0 0C 4C [14:38:26]RasterBufferAndPrint [14:38:26]line [14:38:26]line [14:38:26]line [14:38:26]line [14:38:26]line [14:38:26]written 0, free lines is 3318 [14:38:26]MH_Cut [14:38:26]Write to MH i2c: D1 01 00 36 1A 01 22 [14:38:26]Write i2c OK [14:38:26]MH_I2C_Read... [14:38:26]Read from MH i2c: D1 [14:38:26]MH_I2C_Read... [14:38:26]Read from MH i2c: D1 01 00 [14:38:26]MH_I2C_Read... [14:38:26]Read from MH i2c: D1 01 00 36 1A 00 21 [14:38:26]Write to MH i2c: 01 00 00 37 1A 51 [14:38:26]Write i2c OK [14:38:26]MH_I2C_Read... [14:38:27]OFD Sender: No OFD packet to send [14:38:27]*** Cut start [14:38:27]*** Partial cut [14:38:27]*** CUTSNS_PIN = 1 [14:38:27]*** CUTSNS_PIN = 0 [14:38:27]*** Brake cut motor [14:38:28]Read from MH i2c: 01 [14:38:28]MH_I2C_Read... [14:38:28]*** Stop cut motor [14:38:28]*** Cut end [14:38:28]Read from MH i2c: 01 07 00 [14:38:28]MH_I2C_Read... [14:38:28]Read from MH i2c: 01 07 00 37 1A 00 00 00 00 00 FF 0F 66 [14:38:28]process_action close_receipt done [14:38:28]requested_data is exist [14:38:28]produce_requested_data [14:38:28]requested_item fm.sn is exist - process it [14:38:28]wFMCommunicate request_size=4 [14:38:28]MH_SAM_APDU [14:38:28]CAPDU: 80 11 00 00 [14:38:28]Write to MH i2c: E2 08 00 38 1A 80 11 00 00 00 00 00 00 CC [14:38:28]Write i2c OK [14:38:28]MH_I2C_Read... [14:38:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:38:28]Read from MH i2c: E2 [14:38:28]MH_I2C_Read... [14:38:28]Read from MH i2c: E2 17 00 [14:38:28]MH_I2C_Read... [14:38:28]Read from MH i2c: E2 17 00 38 1A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 26 [14:38:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [14:38:28]wFMCommunicate OK [14:38:28]requested_item fd.num is exist - process it [14:38:28]SAM_PROTO_GetFieldsCounters [14:38:28]wFMCommunicate request_size=4 [14:38:28]MH_SAM_APDU [14:38:28]CAPDU: 80 13 00 00 [14:38:28]Write to MH i2c: E2 08 00 39 1A 80 13 00 00 00 00 00 00 CF [14:38:28]Write i2c OK [14:38:28]MH_I2C_Read... [14:38:28]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:38:28]Read from MH i2c: E2 [14:38:28]MH_I2C_Read... [14:38:28]Read from MH i2c: E2 62 00 [14:38:28]MH_I2C_Read... [14:38:28]Read from MH i2c: E2 62 00 39 1A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 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 5F DF 00 00 0E 04 04 00 F1 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 0C [14:38: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 5F DF 00 00 0E 04 04 00 F1 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:38:28]wFMCommunicate OK [14:38:28]SAM_PROTO_GetFieldsCounters done [14:38:28]requested_item shift.num is exist - process it [14:38:28]requested_item shift.opened is exist - process it [14:38:28]req_shift_opened [14:38:28]FM_GetShiftState [14:38:28]SAM_PROTO_GetShiftState [14:38:28]wFMCommunicate request_size=4 [14:38:28]MH_SAM_APDU [14:38:28]CAPDU: 80 13 01 00 [14:38:28]Write to MH i2c: E2 08 00 3A 1A 80 13 01 00 00 00 00 00 D1 [14:38:28]Write i2c OK [14:38:28]MH_I2C_Read... [14:38:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:38:28]Read from MH i2c: E2 [14:38:28]MH_I2C_Read... [14:38:28]Read from MH i2c: E2 0E 00 [14:38:28]MH_I2C_Read... [14:38:28]Read from MH i2c: E2 0E 00 3A 1A 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 4A [14:38:28]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [14:38:28]wFMCommunicate OK [14:38:28]SAM_PROTO_GetShiftState done [14:38:28]FM_GetShiftState done [14:38:28]req_shift_opened done [14:38:28]requested_item shift.open_date is exist - process it [14:38:28]req_shift_open_date [14:38:28]req_shift_open_date done [14:38:28]requested_item shift.sale.total is exist - process it [14:38:28]SAM_PROTO_GetShiftData [14:38:28]wFMCommunicate request_size=4 [14:38:28]MH_SAM_APDU [14:38:28]CAPDU: 80 13 02 00 [14:38:28]Write to MH i2c: E2 08 00 3B 1A 80 13 02 00 00 00 00 00 D3 [14:38:28]Write i2c OK [14:38:28]MH_I2C_Read... [14:38:28]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [14:38:28]Read from MH i2c: E2 [14:38:28]MH_I2C_Read... [14:38:28]Read from MH i2c: E2 FD 00 [14:38:28]MH_I2C_Read... [14:38:28]Read from MH i2c: E2 FD 00 3B 1A 00 B6 04 AA 04 B2 04 6E 04 04 00 4E 00 00 00 69 04 9B 00 6F 04 04 00 4D 00 00 00 B1 04 03 00 E9 E0 1D 70 04 03 00 D4 CC 18 72 04 03 00 15 14 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 54 2C 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 AD 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 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 0F [14:38:28]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 4E 00 00 00 69 04 9B 00 6F 04 04 00 4D 00 00 00 B1 04 03 00 E9 E0 1D 70 04 03 00 D4 CC 18 72 04 03 00 15 14 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 54 2C 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 AD 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 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 [14:38:28]wFMCommunicate OK [14:38:28]wFMCommunicate request_size=4 [14:38:28]MH_SAM_APDU [14:38:28]CAPDU: 80 17 00 00 [14:38:28]Write to MH i2c: E2 08 00 3C 1A 80 17 00 00 00 00 00 00 D6 [14:38:28]Write i2c OK [14:38:28]MH_I2C_Read... [14:38:29]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:38:29]Read from MH i2c: E2 [14:38:29]MH_I2C_Read... [14:38:29]Read from MH i2c: E2 FD 00 [14:38:29]MH_I2C_Read... [14:38:29]Read from MH i2c: E2 FD 00 3C 1A 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 0B [14:38:29]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 [14:38:29]wFMCommunicate OK [14:38:29]wFMCommunicate request_size=4 [14:38:29]MH_SAM_APDU [14:38:29]CAPDU: 80 17 00 00 [14:38:29]Write to MH i2c: E2 08 00 3D 1A 80 17 00 00 00 00 00 00 D7 [14:38:29]Write i2c OK [14:38:29]MH_I2C_Read... [14:38:29]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:38:29]Read from MH i2c: E2 [14:38:29]MH_I2C_Read... [14:38:29]Read from MH i2c: E2 FD 00 [14:38:29]MH_I2C_Read... [14:38:29]Read from MH i2c: E2 FD 00 3D 1A 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 97 [14:38:29]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 [14:38:29]wFMCommunicate OK [14:38:29]wFMCommunicate request_size=4 [14:38:29]MH_SAM_APDU [14:38:29]CAPDU: 80 17 00 00 [14:38:29]Write to MH i2c: E2 08 00 3E 1A 80 17 00 00 00 00 00 00 D8 [14:38:29]Write i2c OK [14:38:29]MH_I2C_Read... [14:38:29]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:38:29]Read from MH i2c: E2 [14:38:29]MH_I2C_Read... [14:38:29]Read from MH i2c: E2 FD 00 [14:38:29]MH_I2C_Read... [14:38:29]Read from MH i2c: E2 FD 00 3E 1A 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 47 [14:38:29]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 [14:38:29]wFMCommunicate OK [14:38:29]wFMCommunicate request_size=4 [14:38:29]MH_SAM_APDU [14:38:29]CAPDU: 80 17 00 00 [14:38:29]Write to MH i2c: E2 08 00 3F 1A 80 17 00 00 00 00 00 00 D9 [14:38:29]Write i2c OK [14:38:29]MH_I2C_Read... [14:38:30]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [14:38:30]Read from MH i2c: E2 [14:38:30]MH_I2C_Read... [14:38:30]Read from MH i2c: E2 D3 00 [14:38:30]MH_I2C_Read... [14:38:30]Read from MH i2c: E2 D3 00 3F 1A 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 C6 [14:38:30]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 [14:38:30]wFMCommunicate OK [14:38:30]SAM_PROTO_GetShiftData done [14:38:30]requested_item shift.sale.total_cash is exist - process it [14:38:30]requested_item shift.sale_refund.total is exist - process it [14:38:30]requested_item shift.sale_refund.total_cash is exist - process it [14:38:30]produce_requested_data done [14:38:30]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57183,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":19581.21,"shift.sale.total_cash":16253.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [14:38:30]process_action_free close_receipt [14:38:30]json_value_free [14:38:30]json_value_free done [14:38:30]process_json_proto returns [14:38:30]Send response to host [14:38:30]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57183,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":19581.21,"shift.sale.total_cash":16253.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [14:38:30]free response buf [14:38:30]execute_script done [14:38:30]execute_script returns [14:38:30]free content buf [14:38:30]Sock 8.Close socket [14:38:30]Sock 8.Thread stoped [14:38:32]OFD Sender: No OFD packet to send [14:38:37]OFD Sender: No OFD packet to send [14:38:42]OFD Sender: No OFD packet to send [14:38:47]OFD Sender: No OFD packet to send [14:38:52]OFD Sender: No OFD packet to send [14:38:57]OFD Sender: No OFD packet to send [14:39:02]OFD Sender: No OFD packet to send [14:39:07]OFD Sender: No OFD packet to send [14:39:12]OFD Sender: No OFD packet to send [14:39:17]OFD Sender: No OFD packet to send [14:39:22]OFD Sender: No OFD packet to send [14:39:27]OFD Sender: No OFD packet to send [14:39:32]OFD Sender: No OFD packet to send [14:39:37]OFD Sender: No OFD packet to send [14:39:42]OFD Sender: No OFD packet to send [14:39:47]OFD Sender: No OFD packet to send [14:39:52]OFD Sender: No OFD packet to send [14:39:57]OFD Sender: No OFD packet to send [14:40:02]OFD Sender: No OFD packet to send [14:40:07]OFD Sender: No OFD packet to send [14:40:12]OFD Sender: No OFD packet to send [14:40:17]OFD Sender: No OFD packet to send [14:40:22]OFD Sender: No OFD packet to send [14:40:27]OFD Sender: No OFD packet to send [14:40:32]OFD Sender: No OFD packet to send [14:40:37]OFD Sender: No OFD packet to send [14:40:42]OFD Sender: No OFD packet to send [14:40:47]OFD Sender: No OFD packet to send [14:40:52]OFD Sender: No OFD packet to send [14:40:57]OFD Sender: No OFD packet to send [14:41:02]OFD Sender: No OFD packet to send [14:41:07]OFD Sender: No OFD packet to send [14:41:12]OFD Sender: No OFD packet to send [14:41:17]OFD Sender: No OFD packet to send [14:41:22]OFD Sender: No OFD packet to send [14:41:27]OFD Sender: No OFD packet to send [14:41:32]OFD Sender: No OFD packet to send [14:41:37]OFD Sender: No OFD packet to send [14:41:42]OFD Sender: No OFD packet to send [14:41:47]OFD Sender: No OFD packet to send [14:41:52]OFD Sender: No OFD packet to send [14:41:57]OFD Sender: No OFD packet to send [14:42:02]OFD Sender: No OFD packet to send [14:42:07]OFD Sender: No OFD packet to send [14:42:12]OFD Sender: No OFD packet to send [14:42:17]OFD Sender: No OFD packet to send [14:42:22]OFD Sender: No OFD packet to send [14:42:27]OFD Sender: No OFD packet to send [14:42:32]OFD Sender: No OFD packet to send [14:42:37]OFD Sender: No OFD packet to send [14:42:42]OFD Sender: No OFD packet to send [14:42:47]OFD Sender: No OFD packet to send [14:42:52]OFD Sender: No OFD packet to send [14:42:57]OFD Sender: No OFD packet to send [14:43:02]OFD Sender: No OFD packet to send [14:43:07]OFD Sender: No OFD packet to send [14:43:12]OFD Sender: No OFD packet to send [14:43:17]OFD Sender: No OFD packet to send [14:43:22]OFD Sender: No OFD packet to send [14:43:27]OFD Sender: No OFD packet to send [14:43:32]OFD Sender: No OFD packet to send [14:43:37]OFD Sender: No OFD packet to send [14:43:42]OFD Sender: No OFD packet to send [14:43:47]OFD Sender: No OFD packet to send [14:43:52]OFD Sender: No OFD packet to send [14:43:57]OFD Sender: No OFD packet to send [14:44:02]OFD Sender: No OFD packet to send [14:44:07]OFD Sender: No OFD packet to send [14:44:12]OFD Sender: No OFD packet to send [14:44:17]OFD Sender: No OFD packet to send [14:44:22]OFD Sender: No OFD packet to send [14:44:27]OFD Sender: No OFD packet to send [14:44:32]OFD Sender: No OFD packet to send [14:44:37]OFD Sender: No OFD packet to send [14:44:42]OFD Sender: No OFD packet to send [14:44:47]OFD Sender: No OFD packet to send [14:44:52]OFD Sender: No OFD packet to send [14:44:57]OFD Sender: No OFD packet to send [14:45:02]OFD Sender: No OFD packet to send [14:45:07]OFD Sender: No OFD packet to send [14:45:12]OFD Sender: No OFD packet to send [14:45:17]OFD Sender: No OFD packet to send [14:45:22]OFD Sender: No OFD packet to send [14:45:27]OFD Sender: No OFD packet to send [14:45:32]OFD Sender: No OFD packet to send [14:45:37]OFD Sender: No OFD packet to send [14:45:42]OFD Sender: No OFD packet to send [14:45:47]OFD Sender: No OFD packet to send [14:45:52]OFD Sender: No OFD packet to send [14:45:57]OFD Sender: No OFD packet to send [14:46:02]OFD Sender: No OFD packet to send [14:46:07]OFD Sender: No OFD packet to send [14:46:12]OFD Sender: No OFD packet to send [14:46:17]OFD Sender: No OFD packet to send [14:46:22]OFD Sender: No OFD packet to send [14:46:27]OFD Sender: No OFD packet to send [14:46:32]OFD Sender: No OFD packet to send [14:46:34]accept exits with 9 [14:46:34]New connection [14:46:34]New thread 3066924388 created [14:46:34]Thread 3067067748 joined [14:46:34]Waiting for new connection... [14:46:34] Sock 9.Parse request [14:46:34]Sock 9.Check first char [14:46:34]Sock 9.First char is OK [14:46:34]request: POST /json_proto HTTP/1.0 [14:46:34]Method: POST [14:46:34]URL: /json_proto [14:46:34]Method is POST - this is cgi request [14:46:34]url: /json_proto [14:46:34]query_string will be loaded in cgi processing [14:46:34]execute_cgi json_proto POST (null) [14:46:34]execute_cgi path=json_proto method=POST [14:46:34]POST find Content-Length [14:46:34]Host: 172.17.39.4:8080 [14:46:34]Content-Length: 944 [14:46:34]Content-Type: application/json [14:46:34] [14:46:34]POST finish read [14:46:34]Found Content-Length = 944 [14:46:34]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)855936", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 43", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.30, "quantity" : 4.000, "sum" : 265.20, "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" : 265.20 } ] } , "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:46:34]execute_script... [14:46: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 : (1)855936", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 43", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.30, "quantity" : 4.000, "sum" : 265.20, "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" : 265.20 } ] } , "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:46:34]POST & json_proto [14:46:34]process_json_proto [14:46:34]json parsed OK: [14:46:34]protocol is kg_v1.0 [14:46:34]action value=close_receipt [14:46:34]process_action close_receipt [14:46:34]cmd_close_receipt [14:46:34]MH_GetDate [14:46:34]Write to MH i2c: F0 00 00 40 1A 49 [14:46:34]Write i2c OK [14:46:34]MH_I2C_Read... [14:46:34]Read from MH i2c: F0 [14:46:34]MH_I2C_Read... [14:46:34]Read from MH i2c: F0 09 00 [14:46:34]MH_I2C_Read... [14:46:34]Read from MH i2c: F0 09 00 40 1A 00 4E 36 95 66 2D 25 5D 64 E4 [14:46:34]GetLastDocTimeStamp 1721054308 [14:46:34]current date 1721054798 [14:46:34]FM_GetShiftState [14:46:34]SAM_PROTO_GetShiftState [14:46:34]wFMCommunicate request_size=4 [14:46:34]MH_SAM_APDU [14:46:34]CAPDU: 80 13 01 00 [14:46:34]Write to MH i2c: E2 08 00 41 1A 80 13 01 00 00 00 00 00 D8 [14:46:34]Write i2c OK [14:46:34]MH_I2C_Read... [14:46:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:46:34]Read from MH i2c: E2 [14:46:34]MH_I2C_Read... [14:46:34]Read from MH i2c: E2 0E 00 [14:46:34]MH_I2C_Read... [14:46:34]Read from MH i2c: E2 0E 00 41 1A 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 51 [14:46:34]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [14:46:34]wFMCommunicate OK [14:46:34]SAM_PROTO_GetShiftState done [14:46:34]FM_GetShiftState done [14:46:34]opened in 1721003525 [14:46:34]opened+sec_in_day 1721089925 [14:46:34]quantity*price = 26520 [14:46:34]sum+1 = 26521 [14:46:34]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 265.20 НСП 1% : 2.35 НДС 12% : 28.16 Наличными: 0.00 Безнал.: 265.20 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 79 15.07.2024 14:46 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000874857 ФД: 57184 ФПД: 209312970688455 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T144638&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57184&fm=209312970688455&tin=02508201610067®Number=0000000000091208&sum=26520 [14:46:35]StoreToDocumentArchive [14:46:35]shift 497 fd 57184 [14:46:35]save to /storage/0497/doc_00057184 [14:46:35]save last doc name /storage/0497/doc_00057184 to /storage/kkm_last_doc_name [14:46:35]save OK [14:46:35]Clear old archive folders... [14:46:35]ProcessDocumentItem done err = 0, tmpTLVsize=251 [14:46:35]tlvbuf is 009D2EE0 [14:46:35]SAM_PROTO_ClearQueue [14:46:35]wFMCommunicate request_size=4 [14:46:35]MH_SAM_APDU [14:46:35]CAPDU: 80 09 00 00 [14:46:35]Write to MH i2c: E2 08 00 4E 1A 80 09 00 00 00 00 00 00 DA [14:46:35]Write i2c OK [14:46:35]MH_I2C_Read... [14:46:35]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:46:35]Read from MH i2c: E2 [14:46:35]MH_I2C_Read... [14:46:35]Read from MH i2c: E2 03 00 [14:46:35]MH_I2C_Read... [14:46:35]Read from MH i2c: E2 03 00 4E 1A 00 90 00 DC [14:46:35]RAPDU: 90 00 [14:46:35]wFMCommunicate OK [14:46:35]SAM_PROTO_ClearQueue done [14:46:35]KKMCreateOFDPacket [14:46:35]OFDProtocolAddRootSTLVToBuf [14:46:35]FM_MakeSignedData [14:46:35]FM_MakeSignedData [14:46:35]SAM_PROTO_SignData [14:46:35]wFMCommunicate request_size=4 [14:46:35]MH_SAM_APDU [14:46:35]CAPDU: 80 0D 01 02 [14:46:35]Write to MH i2c: E2 08 00 4F 1A 80 0D 01 02 00 00 00 00 E2 [14:46:35]Write i2c OK [14:46:35]MH_I2C_Read... [14:46:35]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:46:35]Read from MH i2c: E2 [14:46:35]MH_I2C_Read... [14:46:35]Read from MH i2c: E2 03 00 [14:46:35]MH_I2C_Read... [14:46:35]Read from MH i2c: E2 03 00 4F 1A 00 90 00 DD [14:46:35]RAPDU: 90 00 [14:46:35]wFMCommunicate OK [14:46:35]wFMCommunicate request_size=255 [14:46:35]MH_SAM_APDU [14:46:35]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 A0 0F 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 98 67 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 67 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EB 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 00 0B 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 98 67 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4F 00 00 00 F4 03 04 00 4E 36 95 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 60 DF 00 00 35 04 06 00 BE [14:46:35]Write to MH i2c: E2 02 01 50 1A 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 A0 0F 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 98 67 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 67 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EB 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 00 0B 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 98 67 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4F 00 00 00 F4 03 04 00 4E 36 95 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 60 DF 00 00 35 04 06 00 BE 00 00 4C [14:46:35]Write i2c OK [14:46:35]MH_I2C_Read... [14:46:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:46:35]Read from MH i2c: E2 [14:46:35]MH_I2C_Read... [14:46:35]Read from MH i2c: E2 03 00 [14:46:35]MH_I2C_Read... [14:46:35]Read from MH i2c: E2 03 00 50 1A 00 90 00 DE [14:46:35]RAPDU: 90 00 [14:46:35]wFMCommunicate OK [14:46:35]wFMCommunicate request_size=10 [14:46:35]MH_SAM_APDU [14:46:35]CAPDU: 80 0D 02 02 05 5E 79 43 C7 C7 [14:46:35]Write to MH i2c: E2 0D 00 51 1A 80 0D 02 02 05 00 5E 79 43 C7 C7 00 00 97 [14:46:35]Write i2c OK [14:46:35]MH_I2C_Read... [14:46:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:46:35]Read from MH i2c: E2 [14:46:35]MH_I2C_Read... [14:46:35]Read from MH i2c: E2 03 00 [14:46:35]MH_I2C_Read... [14:46:35]Read from MH i2c: E2 03 00 51 1A 00 90 00 DF [14:46:35]RAPDU: 90 00 [14:46:35]wFMCommunicate OK [14:46:35]wFMCommunicate request_size=4 [14:46:35]MH_SAM_APDU [14:46:35]CAPDU: 80 0D 03 02 [14:46:35]Write to MH i2c: E2 08 00 52 1A 80 0D 03 02 00 00 00 00 E7 [14:46:35]Write i2c OK [14:46:35]MH_I2C_Read... [14:46:35]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:46:35]Read from MH i2c: E2 [14:46:35]MH_I2C_Read... [14:46:35]Read from MH i2c: E2 0B 00 [14:46:35]MH_I2C_Read... [14:46:35]Read from MH i2c: E2 0B 00 52 1A 00 B2 09 5E D0 E8 D7 ED 68 90 00 E5 [14:46:35]RAPDU: B2 09 5E D0 E8 D7 ED 68 90 00 [14:46:35]wFMCommunicate OK [14:46:35]SAM_PROTO_SignData done [14:46:35]FM_MakeSignedData done [14:46:35]CreateOFDProtocolMessage [14:46:35]wFMCommunicate request_size=4 [14:46:35]MH_SAM_APDU [14:46:35]CAPDU: 80 11 00 00 [14:46:35]Write to MH i2c: E2 08 00 53 1A 80 11 00 00 00 00 00 00 E7 [14:46:35]Write i2c OK [14:46:35]MH_I2C_Read... [14:46:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:46:35]Read from MH i2c: E2 [14:46:35]MH_I2C_Read... [14:46:35]Read from MH i2c: E2 17 00 [14:46:35]MH_I2C_Read... [14:46:35]Read from MH i2c: E2 17 00 53 1A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 41 [14:46:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [14:46:35]wFMCommunicate OK [14:46:35]CreateOFDProtocolMessage done [14:46:35]OFDSenderStorePacket 57184 [14:46:35]StoreOFDPacket docnum=57184 [14:46: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 0F 01 00 00 77 43 07 01 13 A5 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 A0 0F 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 98 67 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 67 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EB 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 00 0B 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 98 67 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4F 00 00 00 F4 03 04 00 4E 36 95 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 60 DF 00 00 35 04 06 00 BE 5E 79 43 C7 C7 B2 09 5E D0 E8 D7 ED 68 [14:46:35]CheckFolder [14:46:35]dirname=/storage/ofd_packets [14:46:35]CheckFolder done [14:46:35]ProducePacketName [14:46:35]name=ofd_packets/00057184 [14:46:35]NVStorageSaveData ofd_packets/00057184 [14:46:35]File name is /storage/ofd_packets/00057184 [14:46:35]Write 301 bytes [14:46:35]NVStorageSaveData done [14:46:35]OFDSenderStorePacket done [14:46:35]KKMCreateOFDPacket done [14:46:35]NVStorageSaveData kkm_last_timestamp [14:46:35]File name is /storage/kkm_last_timestamp [14:46:35]Write 4 bytes [14:46:35]NVStorageSaveData done [14:46:35]ExternCall_PrintAddStr [14:46:35]wPrintStart [14:46:35]Write to MH i2c: 01 00 00 54 1A 6E [14:46:35]Write i2c OK [14:46:35]MH_I2C_Read... [14:46:35]Read from MH i2c: 01 [14:46:35]MH_I2C_Read... [14:46:35]Read from MH i2c: 01 07 00 [14:46:35]MH_I2C_Read... [14:46:35]Read from MH i2c: 01 07 00 54 1A 00 00 00 00 00 FF 0F 83 [14:46:35]RasterBufferAndPrint [14:46:35]line Счет N : (1)855936 [14:46:35]line ИНН: 02508201610067 [14:46:35]line Контрольно-Кассовый Чек [14:46:35]line ПРОДАЖА [14:46:35]line ТРК (МРК, ГНК) : 43 [14:46:35]line Товар: 2710124130 [14:46:35]line Аи-92-К-5 [14:46:35]line 4.000 * 66.30 [14:46:35]line = 265.20 [14:46:35]line НДС 12% НСП 1% [14:46:35]line > о реализуемом товаре [14:46:35]line ИТОГО: 265.20 [14:46:35]line НСП 1% : 2.35 [14:46:35]line НДС 12% : 28.16 [14:46:35]line Наличными: 0.00 [14:46:35]line Безнал.: 265.20 [14:46:35]line Место: АЗС № 132 "Партнер Нефть" [14:46:35]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [14:46:35]line СНО: Общий режим [14:46:35]line Чек 79 15.07.2024 14:46 [14:46:35]line Смена: 497 ФФД: 1.0 [14:46:35]line ЗНМ: 0300000132 [14:46:35]line РНМ: 0000000000091208 [14:46:35]line Версия ККМ: 001 [14:46:35]line Платежная система: АКБ Кыргызстан [14:46:35]line ФМ: 0000000000874857 [14:46:35]line ФД: 57184 [14:46:35]line ФПД: 209312970688455 [14:46:35]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T144638&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57184&fm=209312970688455&tin=02508201610067®Number=0000000000091208&sum=26520 [14:46:36]written 0, free lines is 4095 [14:46:36]OFD Sender: Processing packet 57184 [packets to send 38, broken 37] [14:46:36]ProducePacketName [14:46:36]name=ofd_packets/00057184 [14:46:36]OFD Sender: To server: pG, [14:46:36]CommunicateWithHost lk.salyk.kg:30040 [14:46:36]ConnectInit lk.salyk.kg [14:46:36]Connected sock=10 [14:46: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 0F 01 00 00 77 43 07 01 13 A5 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 A0 0F 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 98 67 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 67 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EB 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 00 0B 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 98 67 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4F 00 00 00 F4 03 04 00 4E 36 95 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 60 DF 00 00 35 04 06 00 BE 5E 79 43 C7 C7 B2 09 5E D0 E8 D7 ED 68 [14:46: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 AD D4 47 00 00 FE A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 60 DF 00 00 F4 03 04 00 9C DC 94 66 B6 04 01 00 00 15 DC 72 96 AF 21 5B 88 [14:46:36]CommunicateWithHost err = 0 [14:46:36]CheckOFDResponse [14:46:36]1017 (14) - 77093643461234 [14:46:36]1041 (16) - 0000000000874857 [14:46:36]1040 (4) - 57184 [14:46:36]1012 (4) - 15.07.2024 08:23 [14:46:36]1206 (1) - 0 [14:46:36]OFD Sender: Remove packet 57184 [14:46:36]ProducePacketName [14:46:36]name=ofd_packets/00057184 [14:46:36]NVStorageDeleteData [14:46:36]Write to MH i2c: 01 00 00 7E 1A 98 [14:46:36]Write i2c OK [14:46:36]MH_I2C_Read... [14:46:36]Read from MH i2c: 01 [14:46:36]MH_I2C_Read... [14:46:36]Read from MH i2c: 01 07 00 [14:46:36]MH_I2C_Read... [14:46:36]Read from MH i2c: 01 07 00 7E 1A 00 00 00 00 00 0F 0D BB [14:46:36]RasterBufferAndPrint [14:46:36]line [14:46:36]line [14:46:36]line [14:46:36]line [14:46:36]line [14:46:36]written 0, free lines is 3350 [14:46:36]MH_Cut [14:46:36]Write to MH i2c: D1 01 00 85 1A 01 71 [14:46:36]Write i2c OK [14:46:36]MH_I2C_Read... [14:46:36]Read from MH i2c: D1 [14:46:36]MH_I2C_Read... [14:46:36]Read from MH i2c: D1 01 00 [14:46:36]MH_I2C_Read... [14:46:36]Read from MH i2c: D1 01 00 85 1A 00 70 [14:46:36]Write to MH i2c: 01 00 00 86 1A A0 [14:46:36]Write i2c OK [14:46:36]MH_I2C_Read... [14:46:36]OFD Sender: No OFD packet to send [14:46:37]*** Cut start [14:46:37]*** Partial cut [14:46:37]*** CUTSNS_PIN = 1 [14:46:37]*** CUTSNS_PIN = 0 [14:46:37]*** Brake cut motor [14:46:37]Read from MH i2c: 01 [14:46:37]MH_I2C_Read... [14:46:37]*** Stop cut motor [14:46:37]*** Cut end [14:46:37]Read from MH i2c: 01 07 00 [14:46:37]MH_I2C_Read... [14:46:37]Read from MH i2c: 01 07 00 86 1A 00 00 00 00 00 FF 0F B5 [14:46:37]process_action close_receipt done [14:46:37]requested_data is exist [14:46:37]produce_requested_data [14:46:37]requested_item fm.sn is exist - process it [14:46:37]wFMCommunicate request_size=4 [14:46:37]MH_SAM_APDU [14:46:37]CAPDU: 80 11 00 00 [14:46:37]Write to MH i2c: E2 08 00 87 1A 80 11 00 00 00 00 00 00 1B [14:46:37]Write i2c OK [14:46:37]MH_I2C_Read... [14:46:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:46:37]Read from MH i2c: E2 [14:46:37]MH_I2C_Read... [14:46:37]Read from MH i2c: E2 17 00 [14:46:37]MH_I2C_Read... [14:46:37]Read from MH i2c: E2 17 00 87 1A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 75 [14:46:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [14:46:37]wFMCommunicate OK [14:46:37]requested_item fd.num is exist - process it [14:46:37]SAM_PROTO_GetFieldsCounters [14:46:37]wFMCommunicate request_size=4 [14:46:37]MH_SAM_APDU [14:46:37]CAPDU: 80 13 00 00 [14:46:37]Write to MH i2c: E2 08 00 88 1A 80 13 00 00 00 00 00 00 1E [14:46:37]Write i2c OK [14:46:37]MH_I2C_Read... [14:46:38]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:46:38]Read from MH i2c: E2 [14:46:38]MH_I2C_Read... [14:46:38]Read from MH i2c: E2 62 00 [14:46:38]MH_I2C_Read... [14:46:38]Read from MH i2c: E2 62 00 88 1A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 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 60 DF 00 00 0E 04 04 00 F1 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 5F [14:46: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 60 DF 00 00 0E 04 04 00 F1 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 [14:46:38]wFMCommunicate OK [14:46:38]SAM_PROTO_GetFieldsCounters done [14:46:38]requested_item shift.num is exist - process it [14:46:38]requested_item shift.opened is exist - process it [14:46:38]req_shift_opened [14:46:38]FM_GetShiftState [14:46:38]SAM_PROTO_GetShiftState [14:46:38]wFMCommunicate request_size=4 [14:46:38]MH_SAM_APDU [14:46:38]CAPDU: 80 13 01 00 [14:46:38]Write to MH i2c: E2 08 00 89 1A 80 13 01 00 00 00 00 00 20 [14:46:38]Write i2c OK [14:46:38]MH_I2C_Read... [14:46:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:46:38]Read from MH i2c: E2 [14:46:38]MH_I2C_Read... [14:46:38]Read from MH i2c: E2 0E 00 [14:46:38]MH_I2C_Read... [14:46:38]Read from MH i2c: E2 0E 00 89 1A 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 99 [14:46:38]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [14:46:38]wFMCommunicate OK [14:46:38]SAM_PROTO_GetShiftState done [14:46:38]FM_GetShiftState done [14:46:38]req_shift_opened done [14:46:38]requested_item shift.open_date is exist - process it [14:46:38]req_shift_open_date [14:46:38]req_shift_open_date done [14:46:38]requested_item shift.sale.total is exist - process it [14:46:38]SAM_PROTO_GetShiftData [14:46:38]wFMCommunicate request_size=4 [14:46:38]MH_SAM_APDU [14:46:38]CAPDU: 80 13 02 00 [14:46:38]Write to MH i2c: E2 08 00 8A 1A 80 13 02 00 00 00 00 00 22 [14:46:38]Write i2c OK [14:46:38]MH_I2C_Read... [14:46:38]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [14:46:38]Read from MH i2c: E2 [14:46:38]MH_I2C_Read... [14:46:38]Read from MH i2c: E2 FD 00 [14:46:38]MH_I2C_Read... [14:46:38]Read from MH i2c: E2 FD 00 8A 1A 00 B6 04 AA 04 B2 04 6E 04 04 00 4F 00 00 00 69 04 9B 00 6F 04 04 00 4E 00 00 00 B1 04 03 00 81 48 1E 70 04 03 00 D4 CC 18 72 04 03 00 AD 7B 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 54 37 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 98 44 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 57 [14:46:38]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 4F 00 00 00 69 04 9B 00 6F 04 04 00 4E 00 00 00 B1 04 03 00 81 48 1E 70 04 03 00 D4 CC 18 72 04 03 00 AD 7B 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 54 37 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 98 44 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 [14:46:38]wFMCommunicate OK [14:46:38]wFMCommunicate request_size=4 [14:46:38]MH_SAM_APDU [14:46:38]CAPDU: 80 17 00 00 [14:46:38]Write to MH i2c: E2 08 00 8B 1A 80 17 00 00 00 00 00 00 25 [14:46:38]Write i2c OK [14:46:38]MH_I2C_Read... [14:46:38]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:46:38]Read from MH i2c: E2 [14:46:38]MH_I2C_Read... [14:46:38]Read from MH i2c: E2 FD 00 [14:46:38]MH_I2C_Read... [14:46:38]Read from MH i2c: E2 FD 00 8B 1A 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 5A [14:46:38]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 [14:46:38]wFMCommunicate OK [14:46:38]wFMCommunicate request_size=4 [14:46:38]MH_SAM_APDU [14:46:38]CAPDU: 80 17 00 00 [14:46:38]Write to MH i2c: E2 08 00 8C 1A 80 17 00 00 00 00 00 00 26 [14:46:38]Write i2c OK [14:46:38]MH_I2C_Read... [14:46:39]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:46:39]Read from MH i2c: E2 [14:46:39]MH_I2C_Read... [14:46:39]Read from MH i2c: E2 FD 00 [14:46:39]MH_I2C_Read... [14:46:39]Read from MH i2c: E2 FD 00 8C 1A 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 E6 [14:46:39]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 [14:46:39]wFMCommunicate OK [14:46:39]wFMCommunicate request_size=4 [14:46:39]MH_SAM_APDU [14:46:39]CAPDU: 80 17 00 00 [14:46:39]Write to MH i2c: E2 08 00 8D 1A 80 17 00 00 00 00 00 00 27 [14:46:39]Write i2c OK [14:46:39]MH_I2C_Read... [14:46:39]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:46:39]Read from MH i2c: E2 [14:46:39]MH_I2C_Read... [14:46:39]Read from MH i2c: E2 FD 00 [14:46:39]MH_I2C_Read... [14:46:39]Read from MH i2c: E2 FD 00 8D 1A 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 96 [14:46:39]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 [14:46:39]wFMCommunicate OK [14:46:39]wFMCommunicate request_size=4 [14:46:39]MH_SAM_APDU [14:46:39]CAPDU: 80 17 00 00 [14:46:39]Write to MH i2c: E2 08 00 8E 1A 80 17 00 00 00 00 00 00 28 [14:46:39]Write i2c OK [14:46:39]MH_I2C_Read... [14:46:39]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [14:46:39]Read from MH i2c: E2 [14:46:39]MH_I2C_Read... [14:46:39]Read from MH i2c: E2 D3 00 [14:46:39]MH_I2C_Read... [14:46:39]Read from MH i2c: E2 D3 00 8E 1A 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 15 [14:46:39]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 [14:46:39]wFMCommunicate OK [14:46:39]SAM_PROTO_GetShiftData done [14:46:39]requested_item shift.sale.total_cash is exist - process it [14:46:39]requested_item shift.sale_refund.total is exist - process it [14:46:39]requested_item shift.sale_refund.total_cash is exist - process it [14:46:39]produce_requested_data done [14:46:39]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57184,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":19846.41,"shift.sale.total_cash":16253.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [14:46:39]process_action_free close_receipt [14:46:39]json_value_free [14:46:39]json_value_free done [14:46:39]process_json_proto returns [14:46:39]Send response to host [14:46:39]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57184,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":19846.41,"shift.sale.total_cash":16253.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [14:46:39]free response buf [14:46:39]execute_script done [14:46:39]execute_script returns [14:46:39]free content buf [14:46:39]Sock 9.Close socket [14:46:39]Sock 9.Thread stoped [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:07]OFD Sender: No OFD packet to send [14:47:12]OFD Sender: No OFD packet to send [14:47:17]OFD Sender: No OFD packet to send [14:47:22]OFD Sender: No OFD packet to send [14:47:27]OFD Sender: No OFD packet to send [14:47:32]OFD Sender: No OFD packet to send [14:47:37]OFD Sender: No OFD packet to send [14:47:42]OFD Sender: No OFD packet to send [14:47:47]OFD Sender: No OFD packet to send [14:47:52]OFD Sender: No OFD packet to send [14:47:57]OFD Sender: No OFD packet to send [14:48:02]OFD Sender: No OFD packet to send [14:48:07]OFD Sender: No OFD packet to send [14:48:12]OFD Sender: No OFD packet to send [14:48:17]OFD Sender: No OFD packet to send [14:48:22]OFD Sender: No OFD packet to send [14:48:27]OFD Sender: No OFD packet to send [14:48:32]OFD Sender: No OFD packet to send [14:48:37]OFD Sender: No OFD packet to send [14:48:42]OFD Sender: No OFD packet to send [14:48:47]OFD Sender: No OFD packet to send [14:48:52]OFD Sender: No OFD packet to send [14:48:57]OFD Sender: No OFD packet to send [14:49:02]OFD Sender: No OFD packet to send [14:49:07]OFD Sender: No OFD packet to send [14:49:12]OFD Sender: No OFD packet to send [14:49:17]OFD Sender: No OFD packet to send [14:49:22]OFD Sender: No OFD packet to send [14:49:27]OFD Sender: No OFD packet to send [14:49:32]OFD Sender: No OFD packet to send [14:49:37]OFD Sender: No OFD packet to send [14:49:42]OFD Sender: No OFD packet to send [14:49:47]OFD Sender: No OFD packet to send [14:49:49]accept exits with 8 [14:49:49]New connection [14:49:49]New thread 3067067748 created [14:49:49]Thread 3066924388 joined [14:49:49]Waiting for new connection... [14:49:49] Sock 8.Parse request [14:49:49]Sock 8.Check first char [14:49:49]Sock 8.First char is OK [14:49:49]request: POST /json_proto HTTP/1.0 [14:49:49]Method: POST [14:49:49]URL: /json_proto [14:49:49]Method is POST - this is cgi request [14:49:49]url: /json_proto [14:49:49]query_string will be loaded in cgi processing [14:49:49]execute_cgi json_proto POST (null) [14:49:49]execute_cgi path=json_proto method=POST [14:49:49]POST find Content-Length [14:49:49]Host: 172.17.39.4:8080 [14:49:49]Content-Length: 786 [14:49:49]Content-Type: application/json [14:49:49] [14:49:49]POST finish read [14:49:49]Found Content-Length = 786 [14:49:49]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)855937", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 43", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.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" ] } } [14:49:49]execute_script... [14:49:49]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)855937", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 43", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.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" ] } } [14:49:49]POST & json_proto [14:49:49]process_json_proto [14:49:49]json parsed OK: [14:49:49]protocol is kg_v1.0 [14:49:49]action value=close_receipt [14:49:49]process_action close_receipt [14:49:49]cmd_close_receipt [14:49:49]MH_GetDate [14:49:49]Write to MH i2c: F0 00 00 8F 1A 98 [14:49:49]Write i2c OK [14:49:49]MH_I2C_Read... [14:49:49]Read from MH i2c: F0 [14:49:49]MH_I2C_Read... [14:49:49]Read from MH i2c: F0 09 00 [14:49:49]MH_I2C_Read... [14:49:49]Read from MH i2c: F0 09 00 8F 1A 00 11 37 95 66 2D 25 5D 64 F7 [14:49:49]GetLastDocTimeStamp 1721054798 [14:49:49]current date 1721054993 [14:49:49]FM_GetShiftState [14:49:49]SAM_PROTO_GetShiftState [14:49:49]wFMCommunicate request_size=4 [14:49:49]MH_SAM_APDU [14:49:49]CAPDU: 80 13 01 00 [14:49:49]Write to MH i2c: E2 08 00 90 1A 80 13 01 00 00 00 00 00 27 [14:49:49]Write i2c OK [14:49:49]MH_I2C_Read... [14:49:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:49:49]Read from MH i2c: E2 [14:49:49]MH_I2C_Read... [14:49:49]Read from MH i2c: E2 0E 00 [14:49:49]MH_I2C_Read... [14:49:49]Read from MH i2c: E2 0E 00 90 1A 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 A0 [14:49:49]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [14:49:49]wFMCommunicate OK [14:49:49]SAM_PROTO_GetShiftState done [14:49:49]FM_GetShiftState done [14:49:49]opened in 1721003525 [14:49:49]opened+sec_in_day 1721089925 [14:49:49]quantity*price = 100046 [14:49:49]sum+1 = 100048 [14:49:49]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 СНО: Общий режим Чек 80 15.07.2024 14:49 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57185 ФПД: 217903493782181 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T144953&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57185&fm=217903493782181&tin=02508201610067®Number=0000000000091208&sum=100000 [14:49:50]StoreToDocumentArchive [14:49:50]shift 497 fd 57185 [14:49:50]save to /storage/0497/doc_00057185 [14:49:50]save last doc name /storage/0497/doc_00057185 to /storage/kkm_last_doc_name [14:49:50]save OK [14:49:50]Clear old archive folders... [14:49:50]ProcessDocumentItem done err = 0, tmpTLVsize=251 [14:49:50]tlvbuf is B6EC4090 [14:49:50]SAM_PROTO_ClearQueue [14:49:50]wFMCommunicate request_size=4 [14:49:50]MH_SAM_APDU [14:49:50]CAPDU: 80 09 00 00 [14:49:50]Write to MH i2c: E2 08 00 9D 1A 80 09 00 00 00 00 00 00 29 [14:49:50]Write i2c OK [14:49:50]MH_I2C_Read... [14:49:50]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:49:50]Read from MH i2c: E2 [14:49:50]MH_I2C_Read... [14:49:50]Read from MH i2c: E2 03 00 [14:49:50]MH_I2C_Read... [14:49:50]Read from MH i2c: E2 03 00 9D 1A 00 90 00 2B [14:49:50]RAPDU: 90 00 [14:49:50]wFMCommunicate OK [14:49:50]SAM_PROTO_ClearQueue done [14:49:50]KKMCreateOFDPacket [14:49:50]OFDProtocolAddRootSTLVToBuf [14:49:50]FM_MakeSignedData [14:49:50]FM_MakeSignedData [14:49:50]SAM_PROTO_SignData [14:49:50]wFMCommunicate request_size=4 [14:49:50]MH_SAM_APDU [14:49:50]CAPDU: 80 0D 01 02 [14:49:50]Write to MH i2c: E2 08 00 9E 1A 80 0D 01 02 00 00 00 00 31 [14:49:50]Write i2c OK [14:49:50]MH_I2C_Read... [14:49:50]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:49:50]Read from MH i2c: E2 [14:49:50]MH_I2C_Read... [14:49:50]Read from MH i2c: E2 03 00 [14:49:50]MH_I2C_Read... [14:49:50]Read from MH i2c: E2 03 00 9E 1A 00 90 00 2C [14:49:50]RAPDU: 90 00 [14:49:50]wFMCommunicate OK [14:49:50]wFMCommunicate request_size=255 [14:49:50]MH_SAM_APDU [14:49:50]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 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 50 00 00 00 F4 03 04 00 11 37 95 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 61 DF 00 00 35 04 06 00 C6 [14:49:50]Write to MH i2c: E2 02 01 9F 1A 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 50 00 00 00 F4 03 04 00 11 37 95 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 61 DF 00 00 35 04 06 00 C6 00 00 B8 [14:49:50]Write i2c OK [14:49:50]MH_I2C_Read... [14:49:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:49:50]Read from MH i2c: E2 [14:49:50]MH_I2C_Read... [14:49:50]Read from MH i2c: E2 03 00 [14:49:50]MH_I2C_Read... [14:49:50]Read from MH i2c: E2 03 00 9F 1A 00 90 00 2D [14:49:50]RAPDU: 90 00 [14:49:50]wFMCommunicate OK [14:49:50]wFMCommunicate request_size=10 [14:49:50]MH_SAM_APDU [14:49:50]CAPDU: 80 0D 02 02 05 2E 9C 57 9A A5 [14:49:50]Write to MH i2c: E2 0D 00 A0 1A 80 0D 02 02 05 00 2E 9C 57 9A A5 00 00 9E [14:49:50]Write i2c OK [14:49:50]MH_I2C_Read... [14:49:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:49:50]Read from MH i2c: E2 [14:49:50]MH_I2C_Read... [14:49:50]Read from MH i2c: E2 03 00 [14:49:50]MH_I2C_Read... [14:49:50]Read from MH i2c: E2 03 00 A0 1A 00 90 00 2E [14:49:50]RAPDU: 90 00 [14:49:50]wFMCommunicate OK [14:49:50]wFMCommunicate request_size=4 [14:49:50]MH_SAM_APDU [14:49:50]CAPDU: 80 0D 03 02 [14:49:50]Write to MH i2c: E2 08 00 A1 1A 80 0D 03 02 00 00 00 00 36 [14:49:50]Write i2c OK [14:49:50]MH_I2C_Read... [14:49:50]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:49:50]Read from MH i2c: E2 [14:49:50]MH_I2C_Read... [14:49:50]Read from MH i2c: E2 0B 00 [14:49:50]MH_I2C_Read... [14:49:50]Read from MH i2c: E2 0B 00 A1 1A 00 4E 83 BC 3E AF 43 12 68 90 00 6E [14:49:50]RAPDU: 4E 83 BC 3E AF 43 12 68 90 00 [14:49:50]wFMCommunicate OK [14:49:50]SAM_PROTO_SignData done [14:49:50]FM_MakeSignedData done [14:49:50]CreateOFDProtocolMessage [14:49:50]wFMCommunicate request_size=4 [14:49:50]MH_SAM_APDU [14:49:50]CAPDU: 80 11 00 00 [14:49:50]Write to MH i2c: E2 08 00 A2 1A 80 11 00 00 00 00 00 00 36 [14:49:50]Write i2c OK [14:49:50]MH_I2C_Read... [14:49:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:49:50]Read from MH i2c: E2 [14:49:50]MH_I2C_Read... [14:49:50]Read from MH i2c: E2 17 00 [14:49:50]MH_I2C_Read... [14:49:50]Read from MH i2c: E2 17 00 A2 1A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 90 [14: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 [14:49:50]wFMCommunicate OK [14:49:50]CreateOFDProtocolMessage done [14:49:50]OFDSenderStorePacket 57185 [14:49:50]StoreOFDPacket docnum=57185 [14:49: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 0F 01 00 00 FB 69 07 01 A1 F9 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 50 00 00 00 F4 03 04 00 11 37 95 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 61 DF 00 00 35 04 06 00 C6 2E 9C 57 9A A5 4E 83 BC 3E AF 43 12 68 [14:49:50]CheckFolder [14:49:50]dirname=/storage/ofd_packets [14:49:50]CheckFolder done [14:49:50]ProducePacketName [14:49:50]name=ofd_packets/00057185 [14:49:50]NVStorageSaveData ofd_packets/00057185 [14:49:50]File name is /storage/ofd_packets/00057185 [14:49:50]Write 301 bytes [14:49:50]NVStorageSaveData done [14:49:50]OFDSenderStorePacket done [14:49:50]KKMCreateOFDPacket done [14:49:50]NVStorageSaveData kkm_last_timestamp [14:49:50]File name is /storage/kkm_last_timestamp [14:49:50]Write 4 bytes [14:49:50]NVStorageSaveData done [14:49:50]ExternCall_PrintAddStr [14:49:50]wPrintStart [14:49:50]Write to MH i2c: 01 00 00 A3 1A BD [14:49:50]Write i2c OK [14:49:50]MH_I2C_Read... [14:49:50]Read from MH i2c: 01 [14:49:50]MH_I2C_Read... [14:49:50]Read from MH i2c: 01 07 00 [14:49:50]MH_I2C_Read... [14:49:50]Read from MH i2c: 01 07 00 A3 1A 00 00 00 00 00 FF 0F D2 [14:49:50]RasterBufferAndPrint [14:49:50]line Счет N : (1)855937 [14:49:50]line ИНН: 02508201610067 [14:49:50]line Контрольно-Кассовый Чек [14:49:50]line ПРОДАЖА [14:49:50]line ТРК (МРК, ГНК) : 43 [14:49:50]line Товар: 2710124130 [14:49:50]line Аи-92-К-5 [14:49:50]line 15.090 * 66.30 [14:49:50]line = 1000.47 [14:49:50]line НДС 12% НСП 1% [14:49:50]line > о реализуемом товаре [14:49:50]line ОКРУГЛЕНИЕ: -0.47 [14:49:50]line ИТОГО: 1000.00 [14:49:50]line Внесено: 1000.00 [14:49:50]line СДАЧА: 0.00 [14:49:50]line НСП 1% : 8.85 [14:49:50]line НДС 12% : 106.24 [14:49:50]line Наличными: 1000.00 [14:49:50]line Безнал.: 0.00 [14:49:50]line Место: АЗС № 132 "Партнер Нефть" [14:49:50]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [14:49:50]line СНО: Общий режим [14:49:50]line Чек 80 15.07.2024 14:49 [14:49:50]line Смена: 497 ФФД: 1.0 [14:49:50]line ЗНМ: 0300000132 [14:49:50]line РНМ: 0000000000091208 [14:49:50]line Версия ККМ: 001 [14:49:50]line ФМ: 0000000000874857 [14:49:50]line ФД: 57185 [14:49:50]line ФПД: 217903493782181 [14:49:50]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T144953&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57185&fm=217903493782181&tin=02508201610067®Number=0000000000091208&sum=100000 [14:49:51]OFD Sender: Processing packet 57185 [packets to send 38, broken 37] [14:49:51]ProducePacketName [14:49:51]name=ofd_packets/00057185 [14:49:51]OFD Sender: To server: pG, [14:49:51]CommunicateWithHost lk.salyk.kg:30040 [14:49:51]ConnectInit lk.salyk.kg [14:49:51]written 0, free lines is 4095 [14:49:51]Connected sock=10 [14:49: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 0F 01 00 00 FB 69 07 01 A1 F9 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 50 00 00 00 F4 03 04 00 11 37 95 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 61 DF 00 00 35 04 06 00 C6 2E 9C 57 9A A5 4E 83 BC 3E AF 43 12 68 [14:49: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 F6 C2 47 00 B6 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 61 DF 00 00 F4 03 04 00 5F DD 94 66 B6 04 01 00 00 F0 A7 2A 19 1B 63 B2 D0 [14:49:51]CommunicateWithHost err = 0 [14:49:51]CheckOFDResponse [14:49:51]1017 (14) - 77093643461234 [14:49:51]1041 (16) - 0000000000874857 [14:49:51]1040 (4) - 57185 [14:49:51]1012 (4) - 15.07.2024 08:27 [14:49:51]1206 (1) - 0 [14:49:51]OFD Sender: Remove packet 57185 [14:49:51]ProducePacketName [14:49:51]name=ofd_packets/00057185 [14:49:51]NVStorageDeleteData [14:49:51]Write to MH i2c: 01 00 00 CE 1A E8 [14:49:51]Write i2c OK [14:49:51]MH_I2C_Read... [14:49:51]Read from MH i2c: 01 [14:49:51]MH_I2C_Read... [14:49:51]Read from MH i2c: 01 07 00 [14:49:51]MH_I2C_Read... [14:49:51]Read from MH i2c: 01 07 00 CE 1A 00 00 00 00 00 FC 0C F7 [14:49:51]RasterBufferAndPrint [14:49:51]line [14:49:51]line [14:49:51]line [14:49:51]line [14:49:51]line [14:49:51]written 0, free lines is 3333 [14:49:51]MH_Cut [14:49:51]Write to MH i2c: D1 01 00 D5 1A 01 C1 [14:49:51]Write i2c OK [14:49:51]MH_I2C_Read... [14:49:51]Read from MH i2c: D1 [14:49:51]MH_I2C_Read... [14:49:51]Read from MH i2c: D1 01 00 [14:49:51]MH_I2C_Read... [14:49:51]Read from MH i2c: D1 01 00 D5 1A 00 C0 [14:49:51]Write to MH i2c: 01 00 00 D6 1A F0 [14:49:51]Write i2c OK [14:49:51]MH_I2C_Read... [14:49:51]OFD Sender: No OFD packet to send [14:49:52]*** Cut start [14:49:52]*** Partial cut [14:49:52]*** CUTSNS_PIN = 1 [14:49:52]*** CUTSNS_PIN = 0 [14:49:52]*** Brake cut motor [14:49:52]Read from MH i2c: 01 [14:49:52]MH_I2C_Read... [14:49:52]*** Stop cut motor [14:49:52]*** Cut end [14:49:52]Read from MH i2c: 01 07 00 [14:49:52]MH_I2C_Read... [14:49:52]Read from MH i2c: 01 07 00 D6 1A 00 00 00 00 00 FF 0F 05 [14:49:52]process_action close_receipt done [14:49:52]requested_data is exist [14:49:52]produce_requested_data [14:49:52]requested_item fm.sn is exist - process it [14:49:52]wFMCommunicate request_size=4 [14:49:52]MH_SAM_APDU [14:49:52]CAPDU: 80 11 00 00 [14:49:52]Write to MH i2c: E2 08 00 D7 1A 80 11 00 00 00 00 00 00 6B [14:49:52]Write i2c OK [14:49:52]MH_I2C_Read... [14:49:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:49:52]Read from MH i2c: E2 [14:49:52]MH_I2C_Read... [14:49:52]Read from MH i2c: E2 17 00 [14:49:52]MH_I2C_Read... [14:49:52]Read from MH i2c: E2 17 00 D7 1A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 C5 [14:49:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [14:49:52]wFMCommunicate OK [14:49:52]requested_item fd.num is exist - process it [14:49:52]SAM_PROTO_GetFieldsCounters [14:49:52]wFMCommunicate request_size=4 [14:49:52]MH_SAM_APDU [14:49:52]CAPDU: 80 13 00 00 [14:49:52]Write to MH i2c: E2 08 00 D8 1A 80 13 00 00 00 00 00 00 6E [14:49:52]Write i2c OK [14:49:52]MH_I2C_Read... [14:49:53]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:49:53]Read from MH i2c: E2 [14:49:53]MH_I2C_Read... [14:49:53]Read from MH i2c: E2 62 00 [14:49:53]MH_I2C_Read... [14:49:53]Read from MH i2c: E2 62 00 D8 1A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 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 61 DF 00 00 0E 04 04 00 F1 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 B3 [14:49: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 61 DF 00 00 0E 04 04 00 F1 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 [14:49:53]wFMCommunicate OK [14:49:53]SAM_PROTO_GetFieldsCounters done [14:49:53]requested_item shift.num is exist - process it [14:49:53]requested_item shift.opened is exist - process it [14:49:53]req_shift_opened [14:49:53]FM_GetShiftState [14:49:53]SAM_PROTO_GetShiftState [14:49:53]wFMCommunicate request_size=4 [14:49:53]MH_SAM_APDU [14:49:53]CAPDU: 80 13 01 00 [14:49:53]Write to MH i2c: E2 08 00 D9 1A 80 13 01 00 00 00 00 00 70 [14:49:53]Write i2c OK [14:49:53]MH_I2C_Read... [14:49:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:49:53]Read from MH i2c: E2 [14:49:53]MH_I2C_Read... [14:49:53]Read from MH i2c: E2 0E 00 [14:49:53]MH_I2C_Read... [14:49:53]Read from MH i2c: E2 0E 00 D9 1A 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 E9 [14:49:53]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [14:49:53]wFMCommunicate OK [14:49:53]SAM_PROTO_GetShiftState done [14:49:53]FM_GetShiftState done [14:49:53]req_shift_opened done [14:49:53]requested_item shift.open_date is exist - process it [14:49:53]req_shift_open_date [14:49:53]req_shift_open_date done [14:49:53]requested_item shift.sale.total is exist - process it [14:49:53]SAM_PROTO_GetShiftData [14:49:53]wFMCommunicate request_size=4 [14:49:53]MH_SAM_APDU [14:49:53]CAPDU: 80 13 02 00 [14:49:53]Write to MH i2c: E2 08 00 DA 1A 80 13 02 00 00 00 00 00 72 [14:49:53]Write i2c OK [14:49:53]MH_I2C_Read... [14:49:53]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [14:49:53]Read from MH i2c: E2 [14:49:53]MH_I2C_Read... [14:49:53]Read from MH i2c: E2 FD 00 [14:49:53]MH_I2C_Read... [14:49:53]Read from MH i2c: E2 FD 00 DA 1A 00 B6 04 AA 04 B2 04 6E 04 04 00 50 00 00 00 69 04 9B 00 6F 04 04 00 4F 00 00 00 B1 04 03 00 21 CF 1F 70 04 03 00 74 53 1A 72 04 03 00 AD 7B 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 D4 60 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 0D 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 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 1C [14:49:53]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 50 00 00 00 69 04 9B 00 6F 04 04 00 4F 00 00 00 B1 04 03 00 21 CF 1F 70 04 03 00 74 53 1A 72 04 03 00 AD 7B 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 D4 60 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 0D 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 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 [14:49:53]wFMCommunicate OK [14:49:53]wFMCommunicate request_size=4 [14:49:53]MH_SAM_APDU [14:49:53]CAPDU: 80 17 00 00 [14:49:53]Write to MH i2c: E2 08 00 DB 1A 80 17 00 00 00 00 00 00 75 [14:49:53]Write i2c OK [14:49:53]MH_I2C_Read... [14:49:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:49:53]Read from MH i2c: E2 [14:49:53]MH_I2C_Read... [14:49:53]Read from MH i2c: E2 FD 00 [14:49:53]MH_I2C_Read... [14:49:53]Read from MH i2c: E2 FD 00 DB 1A 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 AA [14:49:53]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 [14:49:53]wFMCommunicate OK [14:49:53]wFMCommunicate request_size=4 [14:49:53]MH_SAM_APDU [14:49:53]CAPDU: 80 17 00 00 [14:49:53]Write to MH i2c: E2 08 00 DC 1A 80 17 00 00 00 00 00 00 76 [14:49:53]Write i2c OK [14:49:53]MH_I2C_Read... [14:49:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:49:54]Read from MH i2c: E2 [14:49:54]MH_I2C_Read... [14:49:54]Read from MH i2c: E2 FD 00 [14:49:54]MH_I2C_Read... [14:49:54]Read from MH i2c: E2 FD 00 DC 1A 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 36 [14:49:54]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 [14:49:54]wFMCommunicate OK [14:49:54]wFMCommunicate request_size=4 [14:49:54]MH_SAM_APDU [14:49:54]CAPDU: 80 17 00 00 [14:49:54]Write to MH i2c: E2 08 00 DD 1A 80 17 00 00 00 00 00 00 77 [14:49:54]Write i2c OK [14:49:54]MH_I2C_Read... [14:49:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:49:54]Read from MH i2c: E2 [14:49:54]MH_I2C_Read... [14:49:54]Read from MH i2c: E2 FD 00 [14:49:54]MH_I2C_Read... [14:49:54]Read from MH i2c: E2 FD 00 DD 1A 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 E6 [14:49:54]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 [14:49:54]wFMCommunicate OK [14:49:54]wFMCommunicate request_size=4 [14:49:54]MH_SAM_APDU [14:49:54]CAPDU: 80 17 00 00 [14:49:54]Write to MH i2c: E2 08 00 DE 1A 80 17 00 00 00 00 00 00 78 [14:49:54]Write i2c OK [14:49:54]MH_I2C_Read... [14:49:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [14:49:54]Read from MH i2c: E2 [14:49:54]MH_I2C_Read... [14:49:54]Read from MH i2c: E2 D3 00 [14:49:54]MH_I2C_Read... [14:49:54]Read from MH i2c: E2 D3 00 DE 1A 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 65 [14:49:54]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 [14:49:54]wFMCommunicate OK [14:49:54]SAM_PROTO_GetShiftData done [14:49:54]requested_item shift.sale.total_cash is exist - process it [14:49:54]requested_item shift.sale_refund.total is exist - process it [14:49:54]requested_item shift.sale_refund.total_cash is exist - process it [14:49:54]produce_requested_data done [14:49:54]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57185,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":20846.41,"shift.sale.total_cash":17253.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [14:49:54]process_action_free close_receipt [14:49:54]json_value_free [14:49:54]json_value_free done [14:49:54]process_json_proto returns [14:49:54]Send response to host [14:49:54]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57185,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":20846.41,"shift.sale.total_cash":17253.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [14:49:54]free response buf [14:49:54]execute_script done [14:49:54]execute_script returns [14:49:54]free content buf [14:49:54]Sock 8.Close socket [14:49:54]Sock 8.Thread stoped [14:49:56]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:37]OFD Sender: No OFD packet to send [14:50:42]OFD Sender: No OFD packet to send [14:50:47]OFD Sender: No OFD packet to send [14:50:52]OFD Sender: No OFD packet to send [14:50:57]OFD Sender: No OFD packet to send [14:51:02]OFD Sender: No OFD packet to send [14:51:07]OFD Sender: No OFD packet to send [14:51:12]OFD Sender: No OFD packet to send [14:51:17]OFD Sender: No OFD packet to send [14:51:22]OFD Sender: No OFD packet to send [14:51:27]OFD Sender: No OFD packet to send [14:51:32]OFD Sender: No OFD packet to send [14:51:37]OFD Sender: No OFD packet to send [14:51:42]OFD Sender: No OFD packet to send [14:51:47]OFD Sender: No OFD packet to send [14:51:52]OFD Sender: No OFD packet to send [14:51:57]OFD Sender: No OFD packet to send [14:52:02]OFD Sender: No OFD packet to send [14:52:07]OFD Sender: No OFD packet to send [14:52:12]OFD Sender: No OFD packet to send [14:52:17]OFD Sender: No OFD packet to send [14:52:22]OFD Sender: No OFD packet to send [14:52:27]OFD Sender: No OFD packet to send [14:52:32]OFD Sender: No OFD packet to send [14:52:37]OFD Sender: No OFD packet to send [14:52:42]OFD Sender: No OFD packet to send [14:52:47]OFD Sender: No OFD packet to send [14:52:52]OFD Sender: No OFD packet to send [14:52:57]OFD Sender: No OFD packet to send [14:53:02]OFD Sender: No OFD packet to send [14:53:07]OFD Sender: No OFD packet to send [14:53:12]OFD Sender: No OFD packet to send [14:53:17]OFD Sender: No OFD packet to send [14:53:22]OFD Sender: No OFD packet to send [14:53:27]OFD Sender: No OFD packet to send [14:53:32]OFD Sender: No OFD packet to send [14:53:37]OFD Sender: No OFD packet to send [14:53:42]OFD Sender: No OFD packet to send [14:53:47]OFD Sender: No OFD packet to send [14:53:52]OFD Sender: No OFD packet to send [14:53:57]OFD Sender: No OFD packet to send [14:54:02]OFD Sender: No OFD packet to send [14:54:07]OFD Sender: No OFD packet to send [14:54:12]OFD Sender: No OFD packet to send [14:54:17]OFD Sender: No OFD packet to send [14:54:22]OFD Sender: No OFD packet to send [14:54:27]OFD Sender: No OFD packet to send [14:54:32]OFD Sender: No OFD packet to send [14:54:37]OFD Sender: No OFD packet to send [14:54:42]OFD Sender: No OFD packet to send [14:54:47]OFD Sender: No OFD packet to send [14:54:52]OFD Sender: No OFD packet to send [14:54:57]OFD Sender: No OFD packet to send [14:55:02]OFD Sender: No OFD packet to send [14:55:07]OFD Sender: No OFD packet to send [14:55:12]OFD Sender: No OFD packet to send [14:55:17]OFD Sender: No OFD packet to send [14:55:22]OFD Sender: No OFD packet to send [14:55:27]OFD Sender: No OFD packet to send [14:55:32]OFD Sender: No OFD packet to send [14:55:37]OFD Sender: No OFD packet to send [14:55:42]OFD Sender: No OFD packet to send [14:55:47]OFD Sender: No OFD packet to send [14:55:52]OFD Sender: No OFD packet to send [14:55:57]OFD Sender: No OFD packet to send [14:56:02]OFD Sender: No OFD packet to send [14:56:07]OFD Sender: No OFD packet to send [14:56:12]OFD Sender: No OFD packet to send [14:56:17]OFD Sender: No OFD packet to send [14:56:22]OFD Sender: No OFD packet to send [14:56:27]OFD Sender: No OFD packet to send [14:56:32]OFD Sender: No OFD packet to send [14:56:37]OFD Sender: No OFD packet to send [14:56:42]OFD Sender: No OFD packet to send [14:56:47]OFD Sender: No OFD packet to send [14:56:52]OFD Sender: No OFD packet to send [14:56:57]OFD Sender: No OFD packet to send [14:57:02]OFD Sender: No OFD packet to send [14:57:07]OFD Sender: No OFD packet to send [14:57:12]OFD Sender: No OFD packet to send [14:57:17]OFD Sender: No OFD packet to send [14:57:22]OFD Sender: No OFD packet to send [14:57:27]OFD Sender: No OFD packet to send [14:57:32]OFD Sender: No OFD packet to send [14:57:37]OFD Sender: No OFD packet to send [14:57:42]OFD Sender: No OFD packet to send [14:57:47]OFD Sender: No OFD packet to send [14:57:52]OFD Sender: No OFD packet to send [14:57:57]OFD Sender: No OFD packet to send [14:58:02]OFD Sender: No OFD packet to send [14:58:07]OFD Sender: No OFD packet to send [14:58:12]OFD Sender: No OFD packet to send [14:58:17]OFD Sender: No OFD packet to send [14:58:22]OFD Sender: No OFD packet to send [14:58:27]OFD Sender: No OFD packet to send [14:58:32]OFD Sender: No OFD packet to send [14:58:37]OFD Sender: No OFD packet to send [14:58:42]OFD Sender: No OFD packet to send [14:58:47]OFD Sender: No OFD packet to send [14:58:52]OFD Sender: No OFD packet to send [14:58:57]OFD Sender: No OFD packet to send [14:59:02]OFD Sender: No OFD packet to send [14:59:07]OFD Sender: No OFD packet to send [14:59:12]OFD Sender: No OFD packet to send [14:59:17]OFD Sender: No OFD packet to send [14:59:22]OFD Sender: No OFD packet to send [14:59:27]OFD Sender: No OFD packet to send [14:59:32]OFD Sender: No OFD packet to send [14:59:37]OFD Sender: No OFD packet to send [14:59:42]OFD Sender: No OFD packet to send [14:59:47]OFD Sender: No OFD packet to send [14:59:52]OFD Sender: No OFD packet to send [14:59:57]OFD Sender: No OFD packet to send [15:00:02]OFD Sender: No OFD packet to send [15:00:07]OFD Sender: No OFD packet to send [15:00:12]OFD Sender: No OFD packet to send [15:00:17]OFD Sender: No OFD packet to send [15:00:22]OFD Sender: No OFD packet to send [15:00:27]OFD Sender: No OFD packet to send [15:00:32]OFD Sender: No OFD packet to send [15:00:37]OFD Sender: No OFD packet to send [15:00:42]OFD Sender: No OFD packet to send [15:00:47]OFD Sender: No OFD packet to send [15:00:52]OFD Sender: No OFD packet to send [15:00:57]OFD Sender: No OFD packet to send [15:01:02]OFD Sender: No OFD packet to send [15:01:07]OFD Sender: No OFD packet to send [15:01:12]OFD Sender: No OFD packet to send [15:01:17]OFD Sender: No OFD packet to send [15:01:22]OFD Sender: No OFD packet to send [15:01:27]OFD Sender: No OFD packet to send [15:01:32]OFD Sender: No OFD packet to send [15:01:37]OFD Sender: No OFD packet to send [15:01:42]OFD Sender: No OFD packet to send [15:01:47]OFD Sender: No OFD packet to send [15:01:52]OFD Sender: No OFD packet to send [15:01:57]OFD Sender: No OFD packet to send [15:02:02]OFD Sender: No OFD packet to send [15:02:07]OFD Sender: No OFD packet to send [15:02:12]OFD Sender: No OFD packet to send [15:02:17]OFD Sender: No OFD packet to send [15:02:22]OFD Sender: No OFD packet to send [15:02:27]OFD Sender: No OFD packet to send [15:02:32]OFD Sender: No OFD packet to send [15:02:36]accept exits with 9 [15:02:36]New connection [15:02:36]New thread 3066924388 created [15:02:36]Thread 3067067748 joined [15:02:36]Waiting for new connection... [15:02:36] Sock 9.Parse request [15:02:36]Sock 9.Check first char [15:02:36]Sock 9.First char is OK [15:02:36]request: POST /json_proto HTTP/1.0 [15:02:36]Method: POST [15:02:36]URL: /json_proto [15:02:36]Method is POST - this is cgi request [15:02:36]url: /json_proto [15:02:36]query_string will be loaded in cgi processing [15:02:36]execute_cgi json_proto POST (null) [15:02:36]execute_cgi path=json_proto method=POST [15:02:36]POST find Content-Length [15:02:36]Host: 172.17.39.4:8080 [15:02:36]Content-Length: 931 [15:02:36]Content-Type: application/json [15:02:36] [15:02:36]POST finish read [15:02:36]Found Content-Length = 931 [15:02:36]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129635", "tax_sys" : 0, "items" : [ { "code": "4640030092499", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE SENSE Himalaya", "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" ] } } [15:02:36]execute_script... [15:02: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)129635", "tax_sys" : 0, "items" : [ { "code": "4640030092499", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE SENSE Himalaya", "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" ] } } [15:02:36]POST & json_proto [15:02:36]process_json_proto [15:02:36]json parsed OK: [15:02:36]protocol is kg_v1.0 [15:02:36]action value=close_receipt [15:02:36]process_action close_receipt [15:02:36]cmd_close_receipt [15:02:36]MH_GetDate [15:02:36]Write to MH i2c: F0 00 00 DF 1A E8 [15:02:36]Write i2c OK [15:02:36]MH_I2C_Read... [15:02:36]Read from MH i2c: F0 [15:02:36]MH_I2C_Read... [15:02:36]Read from MH i2c: F0 09 00 [15:02:36]MH_I2C_Read... [15:02:36]Read from MH i2c: F0 09 00 DF 1A 00 10 3A 95 66 2D 25 5D 64 49 [15:02:36]GetLastDocTimeStamp 1721054993 [15:02:36]current date 1721055760 [15:02:36]FM_GetShiftState [15:02:36]SAM_PROTO_GetShiftState [15:02:36]wFMCommunicate request_size=4 [15:02:36]MH_SAM_APDU [15:02:36]CAPDU: 80 13 01 00 [15:02:36]Write to MH i2c: E2 08 00 E0 1A 80 13 01 00 00 00 00 00 77 [15:02:36]Write i2c OK [15:02:36]MH_I2C_Read... [15:02:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:02:36]Read from MH i2c: E2 [15:02:36]MH_I2C_Read... [15:02:36]Read from MH i2c: E2 0E 00 [15:02:36]MH_I2C_Read... [15:02:36]Read from MH i2c: E2 0E 00 E0 1A 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 F0 [15:02:36]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [15:02:36]wFMCommunicate OK [15:02:36]SAM_PROTO_GetShiftState done [15:02:36]FM_GetShiftState done [15:02:36]opened in 1721003525 [15:02:36]opened+sec_in_day 1721089925 [15:02:36]quantity*price = 13800 [15:02:36]sum+1 = 13801 [15:02:36]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 СНО: Общий режим Чек 81 15.07.2024 15:02 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000874857 ФД: 57186 ФПД: 67026060644208 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T150240&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57186&fm=67026060644208&tin=02508201610067®Number=0000000000091208&sum=13800 0 [15:02:37]StoreToDocumentArchive [15:02:37]shift 497 fd 57186 [15:02:37]save to /storage/0497/doc_00057186 [15:02:37]save last doc name /storage/0497/doc_00057186 to /storage/kkm_last_doc_name [15:02:37]save OK [15:02:37]Clear old archive folders... [15:02:37]ProcessDocumentItem done err = 0, tmpTLVsize=278 [15:02:37]tlvbuf is 009743F0 [15:02:37]SAM_PROTO_ClearQueue [15:02:37]wFMCommunicate request_size=4 [15:02:37]MH_SAM_APDU [15:02:37]CAPDU: 80 09 00 00 [15:02:37]Write to MH i2c: E2 08 00 ED 1A 80 09 00 00 00 00 00 00 79 [15:02:37]Write i2c OK [15:02:37]MH_I2C_Read... [15:02:37]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:02:37]Read from MH i2c: E2 [15:02:37]MH_I2C_Read... [15:02:37]Read from MH i2c: E2 03 00 [15:02:37]MH_I2C_Read... [15:02:37]Read from MH i2c: E2 03 00 ED 1A 00 90 00 7B [15:02:37]RAPDU: 90 00 [15:02:37]wFMCommunicate OK [15:02:37]SAM_PROTO_ClearQueue done [15:02:37]KKMCreateOFDPacket [15:02:37]OFDProtocolAddRootSTLVToBuf [15:02:37]FM_MakeSignedData [15:02:37]FM_MakeSignedData [15:02:37]SAM_PROTO_SignData [15:02:37]wFMCommunicate request_size=4 [15:02:37]MH_SAM_APDU [15:02:37]CAPDU: 80 0D 01 02 [15:02:37]Write to MH i2c: E2 08 00 EE 1A 80 0D 01 02 00 00 00 00 81 [15:02:37]Write i2c OK [15:02:37]MH_I2C_Read... [15:02:37]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:02:37]Read from MH i2c: E2 [15:02:37]MH_I2C_Read... [15:02:37]Read from MH i2c: E2 03 00 [15:02:37]MH_I2C_Read... [15:02:37]Read from MH i2c: E2 03 00 EE 1A 00 90 00 7C [15:02:37]RAPDU: 90 00 [15:02:37]wFMCommunicate OK [15:02:37]wFMCommunicate request_size=255 [15:02:37]MH_SAM_APDU [15:02:37]CAPDU: 80 0D 02 02 FA 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 32 34 39 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 53 45 4E 53 45 20 48 69 6D 61 6C 61 79 61 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 51 00 00 00 F4 03 04 00 10 3A 95 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 [15:02:37]Write to MH i2c: E2 02 01 EF 1A 80 0D 02 02 FA 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 32 34 39 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 53 45 4E 53 45 20 48 69 6D 61 6C 61 79 61 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 51 00 00 00 F4 03 04 00 10 3A 95 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 00 00 C9 [15:02:37]Write i2c OK [15:02:37]MH_I2C_Read... [15:02:37]OFD Sender: No OFD packet to send [15:02:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:02:37]Read from MH i2c: E2 [15:02:37]MH_I2C_Read... [15:02:37]Read from MH i2c: E2 03 00 [15:02:37]MH_I2C_Read... [15:02:37]Read from MH i2c: E2 03 00 EF 1A 00 90 00 7D [15:02:37]RAPDU: 90 00 [15:02:37]wFMCommunicate OK [15:02:37]wFMCommunicate request_size=37 [15:02:37]MH_SAM_APDU [15:02:37]CAPDU: 80 0D 02 02 20 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 62 DF 00 00 35 04 06 00 3C F5 B8 89 0F 70 [15:02:37]Write to MH i2c: E2 28 00 F0 1A 80 0D 02 02 20 00 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 62 DF 00 00 35 04 06 00 3C F5 B8 89 0F 70 00 00 14 [15:02:37]Write i2c OK [15:02:37]MH_I2C_Read... [15:02:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:02:37]Read from MH i2c: E2 [15:02:37]MH_I2C_Read... [15:02:37]Read from MH i2c: E2 03 00 [15:02:37]MH_I2C_Read... [15:02:37]Read from MH i2c: E2 03 00 F0 1A 00 90 00 7E [15:02:37]RAPDU: 90 00 [15:02:37]wFMCommunicate OK [15:02:37]wFMCommunicate request_size=4 [15:02:37]MH_SAM_APDU [15:02:37]CAPDU: 80 0D 03 02 [15:02:37]Write to MH i2c: E2 08 00 F1 1A 80 0D 03 02 00 00 00 00 86 [15:02:37]Write i2c OK [15:02:37]MH_I2C_Read... [15:02:37]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:02:37]Read from MH i2c: E2 [15:02:37]MH_I2C_Read... [15:02:37]Read from MH i2c: E2 0B 00 [15:02:37]MH_I2C_Read... [15:02:37]Read from MH i2c: E2 0B 00 F1 1A 00 10 22 1E 53 30 D2 E9 15 90 00 2A [15:02:37]RAPDU: 10 22 1E 53 30 D2 E9 15 90 00 [15:02:37]wFMCommunicate OK [15:02:37]SAM_PROTO_SignData done [15:02:37]FM_MakeSignedData done [15:02:37]CreateOFDProtocolMessage [15:02:37]wFMCommunicate request_size=4 [15:02:37]MH_SAM_APDU [15:02:37]CAPDU: 80 11 00 00 [15:02:37]Write to MH i2c: E2 08 00 F2 1A 80 11 00 00 00 00 00 00 86 [15:02:37]Write i2c OK [15:02:37]MH_I2C_Read... [15:02:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:02:37]Read from MH i2c: E2 [15:02:37]MH_I2C_Read... [15:02:37]Read from MH i2c: E2 17 00 [15:02:37]MH_I2C_Read... [15:02:37]Read from MH i2c: E2 17 00 F2 1A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 E0 [15:02:37]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:37]wFMCommunicate OK [15:02:37]CreateOFDProtocolMessage done [15:02:37]OFDSenderStorePacket 57186 [15:02:37]StoreOFDPacket docnum=57186 [15:02: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 2A 01 00 00 B6 01 22 01 01 61 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 32 34 39 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 53 45 4E 53 45 20 48 69 6D 61 6C 61 79 61 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 51 00 00 00 F4 03 04 00 10 3A 95 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 62 DF 00 00 35 04 06 00 3C F5 B8 89 0F 70 10 22 1E 53 30 D2 E9 15 [15:02:37]CheckFolder [15:02:37]dirname=/storage/ofd_packets [15:02:37]CheckFolder done [15:02:37]ProducePacketName [15:02:37]name=ofd_packets/00057186 [15:02:37]NVStorageSaveData ofd_packets/00057186 [15:02:37]File name is /storage/ofd_packets/00057186 [15:02:37]Write 328 bytes [15:02:37]NVStorageSaveData done [15:02:37]OFDSenderStorePacket done [15:02:37]KKMCreateOFDPacket done [15:02:37]NVStorageSaveData kkm_last_timestamp [15:02:37]File name is /storage/kkm_last_timestamp [15:02:37]Write 4 bytes [15:02:37]NVStorageSaveData done [15:02:37]ExternCall_PrintAddStr [15:02:37]wPrintStart [15:02:37]Write to MH i2c: 01 00 00 F3 1A 0D [15:02:37]Write i2c OK [15:02:37]MH_I2C_Read... [15:02:37]Read from MH i2c: 01 [15:02:37]MH_I2C_Read... [15:02:37]Read from MH i2c: 01 07 00 [15:02:37]MH_I2C_Read... [15:02:37]Read from MH i2c: 01 07 00 F3 1A 00 00 00 00 00 FF 0F 22 [15:02:37]RasterBufferAndPrint [15:02:37]line Счет N : (3)129635 [15:02:37]line ИНН: 02508201610067 [15:02:37]line Контрольно-Кассовый Чек [15:02:37]line ПРОДАЖА [15:02:37]line Товар: 4640030092499 [15:02:37]line Сигареты ESSE SENSE Himalaya [15:02:37]line 1.000 * 138.00 [15:02:37]line = 138.00 [15:02:37]line НДС 12% НСП 1% [15:02:37]line > о реализуемом товаре [15:02:37]line ИТОГО: 138.00 [15:02:37]line НСП 1% : 1.22 [15:02:37]line НДС 12% : 14.65 [15:02:37]line Наличными: 0.00 [15:02:37]line Безнал.: 138.00 [15:02:37]line Место: АЗС № 132 "Партнер Нефть" [15:02:37]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [15:02:37]line СНО: Общий режим [15:02:37]line Чек 81 15.07.2024 15:02 [15:02:37]line Смена: 497 ФФД: 1.0 [15:02:37]line ЗНМ: 0300000132 [15:02:37]line РНМ: 0000000000091208 [15:02:37]line Версия ККМ: 001 [15:02:37]line Платежная система: АКБ Кыргызстан [15:02:37]line ФМ: 0000000000874857 [15:02:37]line ФД: 57186 [15:02:37]line ФПД: 67026060644208 [15:02:38]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T150240&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57186&fm=67026060644208&tin=02508201610067®Number=0000000000091208&sum=13800 [15:02:38]line 0 [15:02:38]OFD Sender: Processing packet 57186 [packets to send 38, broken 37] [15:02:38]ProducePacketName [15:02:38]name=ofd_packets/00057186 [15:02:38]OFD Sender: To server: pG, [15:02:38]CommunicateWithHost lk.salyk.kg:30040 [15:02:38]ConnectInit lk.salyk.kg [15:02:38]written 0, free lines is 4095 [15:02:38]Connected sock=10 [15:02: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 2A 01 00 00 B6 01 22 01 01 61 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 32 34 39 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 53 45 4E 53 45 20 48 69 6D 61 6C 61 79 61 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 51 00 00 00 F4 03 04 00 10 3A 95 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 62 DF 00 00 35 04 06 00 3C F5 B8 89 0F 70 10 22 1E 53 30 D2 E9 15 [15:02: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 40 55 47 00 15 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 62 DF 00 00 F4 03 04 00 5E E0 94 66 B6 04 01 00 00 C6 D0 33 C0 31 11 F6 8A [15:02:38]CommunicateWithHost err = 0 [15:02:38]CheckOFDResponse [15:02:38]1017 (14) - 77093643461234 [15:02:38]1041 (16) - 0000000000874857 [15:02:38]1040 (4) - 57186 [15:02:38]1012 (4) - 15.07.2024 08:39 [15:02:38]1206 (1) - 0 [15:02:38]OFD Sender: Remove packet 57186 [15:02:38]ProducePacketName [15:02:38]name=ofd_packets/00057186 [15:02:38]NVStorageDeleteData [15:02:38]Write to MH i2c: 01 00 00 1E 1B 39 [15:02:38]Write i2c OK [15:02:38]MH_I2C_Read... [15:02:38]Read from MH i2c: 01 [15:02:38]MH_I2C_Read... [15:02:38]Read from MH i2c: 01 07 00 [15:02:38]MH_I2C_Read... [15:02:38]Read from MH i2c: 01 07 00 1E 1B 00 00 00 00 00 D4 0C 20 [15:02:38]RasterBufferAndPrint [15:02:38]line [15:02:38]line [15:02:38]line [15:02:38]line [15:02:38]line [15:02:38]written 0, free lines is 3290 [15:02:38]MH_Cut [15:02:38]Write to MH i2c: D1 01 00 25 1B 01 12 [15:02:38]Write i2c OK [15:02:38]MH_I2C_Read... [15:02:38]Read from MH i2c: D1 [15:02:38]MH_I2C_Read... [15:02:38]Read from MH i2c: D1 01 00 [15:02:38]MH_I2C_Read... [15:02:38]Read from MH i2c: D1 01 00 25 1B 00 11 [15:02:38]Write to MH i2c: 01 00 00 26 1B 41 [15:02:38]Write i2c OK [15:02:38]MH_I2C_Read... [15:02:39]OFD Sender: No OFD packet to send [15:02:39]*** Cut start [15:02:39]*** Partial cut [15:02:39]*** CUTSNS_PIN = 1 [15:02:39]*** CUTSNS_PIN = 0 [15:02:39]*** Brake cut motor [15:02:40]Read from MH i2c: 01 [15:02:40]MH_I2C_Read... [15:02:40]*** Stop cut motor [15:02:40]*** Cut end [15:02:40]Read from MH i2c: 01 07 00 [15:02:40]MH_I2C_Read... [15:02:40]Read from MH i2c: 01 07 00 26 1B 00 00 00 00 00 FF 0F 56 [15:02:40]process_action close_receipt done [15:02:40]requested_data is exist [15:02:40]produce_requested_data [15:02:40]requested_item fm.sn is exist - process it [15:02:40]wFMCommunicate request_size=4 [15:02:40]MH_SAM_APDU [15:02:40]CAPDU: 80 11 00 00 [15:02:40]Write to MH i2c: E2 08 00 27 1B 80 11 00 00 00 00 00 00 BC [15:02:40]Write i2c OK [15:02:40]MH_I2C_Read... [15:02:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:02:40]Read from MH i2c: E2 [15:02:40]MH_I2C_Read... [15:02:40]Read from MH i2c: E2 17 00 [15:02:40]MH_I2C_Read... [15:02:40]Read from MH i2c: E2 17 00 27 1B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 16 [15:02:40]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:40]wFMCommunicate OK [15:02:40]requested_item fd.num is exist - process it [15:02:40]SAM_PROTO_GetFieldsCounters [15:02:40]wFMCommunicate request_size=4 [15:02:40]MH_SAM_APDU [15:02:40]CAPDU: 80 13 00 00 [15:02:40]Write to MH i2c: E2 08 00 28 1B 80 13 00 00 00 00 00 00 BF [15:02:40]Write i2c OK [15:02:40]MH_I2C_Read... [15:02:40]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:02:40]Read from MH i2c: E2 [15:02:40]MH_I2C_Read... [15:02:40]Read from MH i2c: E2 62 00 [15:02:40]MH_I2C_Read... [15:02:40]Read from MH i2c: E2 62 00 28 1B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 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 62 DF 00 00 0E 04 04 00 F1 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 08 [15:02: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 62 DF 00 00 0E 04 04 00 F1 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:02:40]wFMCommunicate OK [15:02:40]SAM_PROTO_GetFieldsCounters done [15:02:40]requested_item shift.num is exist - process it [15:02:40]requested_item shift.opened is exist - process it [15:02:40]req_shift_opened [15:02:40]FM_GetShiftState [15:02:40]SAM_PROTO_GetShiftState [15:02:40]wFMCommunicate request_size=4 [15:02:40]MH_SAM_APDU [15:02:40]CAPDU: 80 13 01 00 [15:02:40]Write to MH i2c: E2 08 00 29 1B 80 13 01 00 00 00 00 00 C1 [15:02:40]Write i2c OK [15:02:40]MH_I2C_Read... [15:02:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:02:40]Read from MH i2c: E2 [15:02:40]MH_I2C_Read... [15:02:40]Read from MH i2c: E2 0E 00 [15:02:40]MH_I2C_Read... [15:02:40]Read from MH i2c: E2 0E 00 29 1B 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 3A [15:02:40]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [15:02:40]wFMCommunicate OK [15:02:40]SAM_PROTO_GetShiftState done [15:02:40]FM_GetShiftState done [15:02:40]req_shift_opened done [15:02:40]requested_item shift.open_date is exist - process it [15:02:40]req_shift_open_date [15:02:40]req_shift_open_date done [15:02:40]requested_item shift.sale.total is exist - process it [15:02:40]SAM_PROTO_GetShiftData [15:02:40]wFMCommunicate request_size=4 [15:02:40]MH_SAM_APDU [15:02:40]CAPDU: 80 13 02 00 [15:02:40]Write to MH i2c: E2 08 00 2A 1B 80 13 02 00 00 00 00 00 C3 [15:02:40]Write i2c OK [15:02:40]MH_I2C_Read... [15:02:40]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [15:02:40]Read from MH i2c: E2 [15:02:40]MH_I2C_Read... [15:02:40]Read from MH i2c: E2 FD 00 [15:02:40]MH_I2C_Read... [15:02:40]Read from MH i2c: E2 FD 00 2A 1B 00 B6 04 AA 04 B2 04 6E 04 04 00 51 00 00 00 69 04 9B 00 6F 04 04 00 50 00 00 00 B1 04 03 00 09 05 20 70 04 03 00 74 53 1A 72 04 03 00 95 B1 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 8D 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 87 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 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 E5 [15:02:40]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 51 00 00 00 69 04 9B 00 6F 04 04 00 50 00 00 00 B1 04 03 00 09 05 20 70 04 03 00 74 53 1A 72 04 03 00 95 B1 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 8D 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 87 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 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 [15:02:40]wFMCommunicate OK [15:02:40]wFMCommunicate request_size=4 [15:02:40]MH_SAM_APDU [15:02:40]CAPDU: 80 17 00 00 [15:02:40]Write to MH i2c: E2 08 00 2B 1B 80 17 00 00 00 00 00 00 C6 [15:02:40]Write i2c OK [15:02:40]MH_I2C_Read... [15:02:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:02:41]Read from MH i2c: E2 [15:02:41]MH_I2C_Read... [15:02:41]Read from MH i2c: E2 FD 00 [15:02:41]MH_I2C_Read... [15:02:41]Read from MH i2c: E2 FD 00 2B 1B 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 FB [15:02:41]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 [15:02:41]wFMCommunicate OK [15:02:41]wFMCommunicate request_size=4 [15:02:41]MH_SAM_APDU [15:02:41]CAPDU: 80 17 00 00 [15:02:41]Write to MH i2c: E2 08 00 2C 1B 80 17 00 00 00 00 00 00 C7 [15:02:41]Write i2c OK [15:02:41]MH_I2C_Read... [15:02:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:02:41]Read from MH i2c: E2 [15:02:41]MH_I2C_Read... [15:02:41]Read from MH i2c: E2 FD 00 [15:02:41]MH_I2C_Read... [15:02:41]Read from MH i2c: E2 FD 00 2C 1B 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 87 [15:02:41]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 [15:02:41]wFMCommunicate OK [15:02:41]wFMCommunicate request_size=4 [15:02:41]MH_SAM_APDU [15:02:41]CAPDU: 80 17 00 00 [15:02:41]Write to MH i2c: E2 08 00 2D 1B 80 17 00 00 00 00 00 00 C8 [15:02:41]Write i2c OK [15:02:41]MH_I2C_Read... [15:02:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:02:41]Read from MH i2c: E2 [15:02:41]MH_I2C_Read... [15:02:41]Read from MH i2c: E2 FD 00 [15:02:41]MH_I2C_Read... [15:02:41]Read from MH i2c: E2 FD 00 2D 1B 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 37 [15:02:41]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 [15:02:41]wFMCommunicate OK [15:02:41]wFMCommunicate request_size=4 [15:02:41]MH_SAM_APDU [15:02:41]CAPDU: 80 17 00 00 [15:02:41]Write to MH i2c: E2 08 00 2E 1B 80 17 00 00 00 00 00 00 C9 [15:02:41]Write i2c OK [15:02:41]MH_I2C_Read... [15:02:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [15:02:42]Read from MH i2c: E2 [15:02:42]MH_I2C_Read... [15:02:42]Read from MH i2c: E2 D3 00 [15:02:42]MH_I2C_Read... [15:02:42]Read from MH i2c: E2 D3 00 2E 1B 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 B6 [15:02:42]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 [15:02:42]wFMCommunicate OK [15:02:42]SAM_PROTO_GetShiftData done [15:02:42]requested_item shift.sale.total_cash is exist - process it [15:02:42]requested_item shift.sale_refund.total is exist - process it [15:02:42]requested_item shift.sale_refund.total_cash is exist - process it [15:02:42]produce_requested_data done [15:02:42]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57186,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":20984.41,"shift.sale.total_cash":17253.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [15:02:42]process_action_free close_receipt [15:02:42]json_value_free [15:02:42]json_value_free done [15:02:42]process_json_proto returns [15:02:42]Send response to host [15:02:42]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57186,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":20984.41,"shift.sale.total_cash":17253.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [15:02:42]free response buf [15:02:42]execute_script done [15:02:42]execute_script returns [15:02:42]free content buf [15:02:42]Sock 9.Close socket [15:02:42]Sock 9.Thread stoped [15:02:44]OFD Sender: No OFD packet to send [15:02:49]OFD Sender: No OFD packet to send [15:02:54]OFD Sender: No OFD packet to send [15:02:59]OFD Sender: No OFD packet to send [15:03:04]OFD Sender: No OFD packet to send [15:03:09]OFD Sender: No OFD packet to send [15:03:14]OFD Sender: No OFD packet to send [15:03:19]OFD Sender: No OFD packet to send [15:03:24]OFD Sender: No OFD packet to send [15:03:29]OFD Sender: No OFD packet to send [15:03:34]OFD Sender: No OFD packet to send [15:03:39]OFD Sender: No OFD packet to send [15:03:44]OFD Sender: No OFD packet to send [15:03:49]OFD Sender: No OFD packet to send [15:03:54]OFD Sender: No OFD packet to send [15:03:59]OFD Sender: No OFD packet to send [15:04:04]OFD Sender: No OFD packet to send [15:04:09]OFD Sender: No OFD packet to send [15:04:14]OFD Sender: No OFD packet to send [15:04:19]OFD Sender: No OFD packet to send [15:04:24]OFD Sender: No OFD packet to send [15:04:29]OFD Sender: No OFD packet to send [15:04:34]OFD Sender: No OFD packet to send [15:04:39]OFD Sender: No OFD packet to send [15:04:44]OFD Sender: No OFD packet to send [15:04:49]OFD Sender: No OFD packet to send [15:04:54]OFD Sender: No OFD packet to send [15:04:59]OFD Sender: No OFD packet to send [15:05:04]OFD Sender: No OFD packet to send [15:05:09]OFD Sender: No OFD packet to send [15:05:14]OFD Sender: No OFD packet to send [15:05:19]OFD Sender: No OFD packet to send [15:05:24]OFD Sender: No OFD packet to send [15:05:29]OFD Sender: No OFD packet to send [15:05:34]OFD Sender: No OFD packet to send [15:05:39]OFD Sender: No OFD packet to send [15:05:44]OFD Sender: No OFD packet to send [15:05:49]OFD Sender: No OFD packet to send [15:05:54]OFD Sender: No OFD packet to send [15:05:59]OFD Sender: No OFD packet to send [15:06:04]OFD Sender: No OFD packet to send [15:06:09]OFD Sender: No OFD packet to send [15:06:14]OFD Sender: No OFD packet to send [15:06:19]OFD Sender: No OFD packet to send [15:06:24]OFD Sender: No OFD packet to send [15:06:29]OFD Sender: No OFD packet to send [15:06:34]OFD Sender: No OFD packet to send [15:06:39]OFD Sender: No OFD packet to send [15:06:44]OFD Sender: No OFD packet to send [15:06:49]OFD Sender: No OFD packet to send [15:06:54]OFD Sender: No OFD packet to send [15:06:59]OFD Sender: No OFD packet to send [15:07:04]OFD Sender: No OFD packet to send [15:07:09]OFD Sender: No OFD packet to send [15:07:14]OFD Sender: No OFD packet to send [15:07:19]OFD Sender: No OFD packet to send [15:07:24]OFD Sender: No OFD packet to send [15:07:29]OFD Sender: No OFD packet to send [15:07:34]OFD Sender: No OFD packet to send [15:07:39]OFD Sender: No OFD packet to send [15:07:44]OFD Sender: No OFD packet to send [15:07:49]OFD Sender: No OFD packet to send [15:07:54]OFD Sender: No OFD packet to send [15:07:59]OFD Sender: No OFD packet to send [15:08:04]OFD Sender: No OFD packet to send [15:08:09]OFD Sender: No OFD packet to send [15:08:14]OFD Sender: No OFD packet to send [15:08:19]OFD Sender: No OFD packet to send [15:08:24]OFD Sender: No OFD packet to send [15:08:29]OFD Sender: No OFD packet to send [15:08:34]OFD Sender: No OFD packet to send [15:08:39]OFD Sender: No OFD packet to send [15:08:44]OFD Sender: No OFD packet to send [15:08:49]OFD Sender: No OFD packet to send [15:08:54]OFD Sender: No OFD packet to send [15:08:59]OFD Sender: No OFD packet to send [15:09:04]OFD Sender: No OFD packet to send [15:09:09]OFD Sender: No OFD packet to send [15:09:14]OFD Sender: No OFD packet to send [15:09:19]OFD Sender: No OFD packet to send [15:09:24]OFD Sender: No OFD packet to send [15:09:29]OFD Sender: No OFD packet to send [15:09:34]OFD Sender: No OFD packet to send [15:09:39]OFD Sender: No OFD packet to send [15:09:44]OFD Sender: No OFD packet to send [15:09:49]OFD Sender: No OFD packet to send [15:09:54]OFD Sender: No OFD packet to send [15:09:59]OFD Sender: No OFD packet to send [15:10:04]OFD Sender: No OFD packet to send [15:10:09]OFD Sender: No OFD packet to send [15:10:14]OFD Sender: No OFD packet to send [15:10:19]OFD Sender: No OFD packet to send [15:10:24]OFD Sender: No OFD packet to send [15:10:29]OFD Sender: No OFD packet to send [15:10:34]OFD Sender: No OFD packet to send [15:10:39]OFD Sender: No OFD packet to send [15:10:44]OFD Sender: No OFD packet to send [15:10:49]OFD Sender: No OFD packet to send [15:10:54]OFD Sender: No OFD packet to send [15:10:59]OFD Sender: No OFD packet to send [15:11:04]OFD Sender: No OFD packet to send [15:11:09]OFD Sender: No OFD packet to send [15:11:14]OFD Sender: No OFD packet to send [15:11:19]OFD Sender: No OFD packet to send [15:11:24]OFD Sender: No OFD packet to send [15:11:29]OFD Sender: No OFD packet to send [15:11:34]OFD Sender: No OFD packet to send [15:11:39]OFD Sender: No OFD packet to send [15:11:44]OFD Sender: No OFD packet to send [15:11:49]OFD Sender: No OFD packet to send [15:11:54]OFD Sender: No OFD packet to send [15:11:59]OFD Sender: No OFD packet to send [15:12:04]OFD Sender: No OFD packet to send [15:12:09]OFD Sender: No OFD packet to send [15:12:14]OFD Sender: No OFD packet to send [15:12:19]OFD Sender: No OFD packet to send [15:12:24]OFD Sender: No OFD packet to send [15:12:29]OFD Sender: No OFD packet to send [15:12:34]OFD Sender: No OFD packet to send [15:12:39]OFD Sender: No OFD packet to send [15:12:44]OFD Sender: No OFD packet to send [15:12:49]OFD Sender: No OFD packet to send [15:12:54]OFD Sender: No OFD packet to send [15:12:59]OFD Sender: No OFD packet to send [15:13:04]OFD Sender: No OFD packet to send [15:13:09]OFD Sender: No OFD packet to send [15:13:14]OFD Sender: No OFD packet to send [15:13:19]OFD Sender: No OFD packet to send [15:13:24]OFD Sender: No OFD packet to send [15:13:29]OFD Sender: No OFD packet to send [15:13:34]OFD Sender: No OFD packet to send [15:13:39]OFD Sender: No OFD packet to send [15:13:44]OFD Sender: No OFD packet to send [15:13:49]OFD Sender: No OFD packet to send [15:13:54]OFD Sender: No OFD packet to send [15:13:59]OFD Sender: No OFD packet to send [15:14:04]OFD Sender: No OFD packet to send [15:14:09]OFD Sender: No OFD packet to send [15:14:14]OFD Sender: No OFD packet to send [15:14:19]OFD Sender: No OFD packet to send [15:14:24]OFD Sender: No OFD packet to send [15:14:29]OFD Sender: No OFD packet to send [15:14:34]OFD Sender: No OFD packet to send [15:14:39]OFD Sender: No OFD packet to send [15:14:44]OFD Sender: No OFD packet to send [15:14:49]OFD Sender: No OFD packet to send [15:14:54]OFD Sender: No OFD packet to send [15:14:59]OFD Sender: No OFD packet to send [15:15:04]OFD Sender: No OFD packet to send [15:15:09]OFD Sender: No OFD packet to send [15:15:14]OFD Sender: No OFD packet to send [15:15:19]OFD Sender: No OFD packet to send [15:15:24]OFD Sender: No OFD packet to send [15:15:29]OFD Sender: No OFD packet to send [15:15:34]OFD Sender: No OFD packet to send [15:15:39]OFD Sender: No OFD packet to send [15:15:44]OFD Sender: No OFD packet to send [15:15:49]OFD Sender: No OFD packet to send [15:15:54]OFD Sender: No OFD packet to send [15:15:59]OFD Sender: No OFD packet to send [15:16:04]OFD Sender: No OFD packet to send [15:16:09]OFD Sender: No OFD packet to send [15:16:14]OFD Sender: No OFD packet to send [15:16:19]OFD Sender: No OFD packet to send [15:16:24]OFD Sender: No OFD packet to send [15:16:29]OFD Sender: No OFD packet to send [15:16:34]OFD Sender: No OFD packet to send [15:16:39]OFD Sender: No OFD packet to send [15:16:44]OFD Sender: No OFD packet to send [15:16:49]OFD Sender: No OFD packet to send [15:16:54]OFD Sender: No OFD packet to send [15:16:59]OFD Sender: No OFD packet to send [15:17:04]OFD Sender: No OFD packet to send [15:17:09]OFD Sender: No OFD packet to send [15:17:10]accept exits with 8 [15:17:10]New connection [15:17:10]New thread 3067067748 created [15:17:10]Thread 3066924388 joined [15:17:10]Waiting for new connection... [15:17:10] Sock 8.Parse request [15:17:10]Sock 8.Check first char [15:17:10]Sock 8.First char is OK [15:17:10]request: POST /json_proto HTTP/1.0 [15:17:10]Method: POST [15:17:10]URL: /json_proto [15:17:10]Method is POST - this is cgi request [15:17:10]url: /json_proto [15:17:10]query_string will be loaded in cgi processing [15:17:10]execute_cgi json_proto POST (null) [15:17:10]execute_cgi path=json_proto method=POST [15:17:10]POST find Content-Length [15:17:10]Host: 172.17.39.4:8080 [15:17:10]Content-Length: 783 [15:17:10]Content-Type: application/json [15:17:10] [15:17:10]POST finish read [15:17:10]Found Content-Length = 783 [15:17:10]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)855951", "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" : 27.550, "sum" : 2000.13, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 2000.00, "total" : 2000.00, "payments": [ { "type": 0, "sum" : 2000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [15:17:10]execute_script... [15:17:10]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)855951", "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" : 27.550, "sum" : 2000.13, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 2000.00, "total" : 2000.00, "payments": [ { "type": 0, "sum" : 2000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [15:17:10]POST & json_proto [15:17:10]process_json_proto [15:17:10]json parsed OK: [15:17:10]protocol is kg_v1.0 [15:17:10]action value=close_receipt [15:17:10]process_action close_receipt [15:17:10]cmd_close_receipt [15:17:10]MH_GetDate [15:17:10]Write to MH i2c: F0 00 00 2F 1B 39 [15:17:10]Write i2c OK [15:17:10]MH_I2C_Read... [15:17:10]Read from MH i2c: F0 [15:17:10]MH_I2C_Read... [15:17:10]Read from MH i2c: F0 09 00 [15:17:10]MH_I2C_Read... [15:17:10]Read from MH i2c: F0 09 00 2F 1B 00 7A 3D 95 66 2D 25 5D 64 07 [15:17:10]GetLastDocTimeStamp 1721055760 [15:17:10]current date 1721056634 [15:17:10]FM_GetShiftState [15:17:10]SAM_PROTO_GetShiftState [15:17:10]wFMCommunicate request_size=4 [15:17:10]MH_SAM_APDU [15:17:10]CAPDU: 80 13 01 00 [15:17:10]Write to MH i2c: E2 08 00 30 1B 80 13 01 00 00 00 00 00 C8 [15:17:10]Write i2c OK [15:17:10]MH_I2C_Read... [15:17:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:17:10]Read from MH i2c: E2 [15:17:10]MH_I2C_Read... [15:17:10]Read from MH i2c: E2 0E 00 [15:17:10]MH_I2C_Read... [15:17:10]Read from MH i2c: E2 0E 00 30 1B 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 41 [15:17:10]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [15:17:10]wFMCommunicate OK [15:17:10]SAM_PROTO_GetShiftState done [15:17:10]FM_GetShiftState done [15:17:10]opened in 1721003525 [15:17:10]opened+sec_in_day 1721089925 [15:17:10]quantity*price = 200013 [15:17:10]sum+1 = 200014 [15:17:10]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.13 ИТОГО: 2000.00 Внесено: 2000.00 СДАЧА: 0.00 НСП 1% : 17.70 НДС 12% : 212.40 Наличными: 2000.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 82 15.07.2024 15:17 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57187 ФПД: 81298216776212 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T151714&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57187&fm=81298216776212&tin=02508201610067®Number=0000000000091208&sum=200000 [15:17:11]StoreToDocumentArchive [15:17:11]shift 497 fd 57187 [15:17:11]save to /storage/0497/doc_00057187 [15:17:11]save last doc name /storage/0497/doc_00057187 to /storage/kkm_last_doc_name [15:17:11]save OK [15:17:11]Clear old archive folders... [15:17:11]ProcessDocumentItem done err = 0, tmpTLVsize=248 [15:17:11]tlvbuf is 00A09D50 [15:17:11]SAM_PROTO_ClearQueue [15:17:11]wFMCommunicate request_size=4 [15:17:11]MH_SAM_APDU [15:17:11]CAPDU: 80 09 00 00 [15:17:11]Write to MH i2c: E2 08 00 3D 1B 80 09 00 00 00 00 00 00 CA [15:17:11]Write i2c OK [15:17:11]MH_I2C_Read... [15:17:11]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:17:11]Read from MH i2c: E2 [15:17:11]MH_I2C_Read... [15:17:11]Read from MH i2c: E2 03 00 [15:17:11]MH_I2C_Read... [15:17:11]Read from MH i2c: E2 03 00 3D 1B 00 90 00 CC [15:17:11]RAPDU: 90 00 [15:17:11]wFMCommunicate OK [15:17:11]SAM_PROTO_ClearQueue done [15:17:11]KKMCreateOFDPacket [15:17:11]OFDProtocolAddRootSTLVToBuf [15:17:11]FM_MakeSignedData [15:17:11]FM_MakeSignedData [15:17:11]SAM_PROTO_SignData [15:17:11]wFMCommunicate request_size=4 [15:17:11]MH_SAM_APDU [15:17:11]CAPDU: 80 0D 01 02 [15:17:11]Write to MH i2c: E2 08 00 3E 1B 80 0D 01 02 00 00 00 00 D2 [15:17:11]Write i2c OK [15:17:11]MH_I2C_Read... [15:17:11]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:17:11]Read from MH i2c: E2 [15:17:11]MH_I2C_Read... [15:17:11]Read from MH i2c: E2 03 00 [15:17:11]MH_I2C_Read... [15:17:11]Read from MH i2c: E2 03 00 3E 1B 00 90 00 CD [15:17:11]RAPDU: 90 00 [15:17:11]wFMCommunicate OK [15:17:11]wFMCommunicate request_size=255 [15:17:11]MH_SAM_APDU [15:17:11]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 9E 6B 00 00 00 00 00 37 04 06 00 5C 1C 00 00 00 00 13 04 06 00 4D 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F8 52 00 00 00 00 07 04 06 00 40 0D 03 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 52 00 00 00 F4 03 04 00 7A 3D 95 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 63 DF 00 00 35 04 06 00 49 F0 B7 54 [15:17:11]Write to MH i2c: E2 02 01 3F 1B 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 9E 6B 00 00 00 00 00 37 04 06 00 5C 1C 00 00 00 00 13 04 06 00 4D 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F8 52 00 00 00 00 07 04 06 00 40 0D 03 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 52 00 00 00 F4 03 04 00 7A 3D 95 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 63 DF 00 00 35 04 06 00 49 F0 B7 54 00 00 65 [15:17:11]Write i2c OK [15:17:11]MH_I2C_Read... [15:17:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:17:11]Read from MH i2c: E2 [15:17:11]MH_I2C_Read... [15:17:11]Read from MH i2c: E2 03 00 [15:17:11]MH_I2C_Read... [15:17:11]Read from MH i2c: E2 03 00 3F 1B 00 90 00 CE [15:17:11]RAPDU: 90 00 [15:17:11]wFMCommunicate OK [15:17:11]wFMCommunicate request_size=7 [15:17:11]MH_SAM_APDU [15:17:11]CAPDU: 80 0D 02 02 02 F2 14 [15:17:11]Write to MH i2c: E2 0A 00 40 1B 80 0D 02 02 02 00 F2 14 00 00 DF [15:17:11]Write i2c OK [15:17:11]MH_I2C_Read... [15:17:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:17:11]Read from MH i2c: E2 [15:17:11]MH_I2C_Read... [15:17:11]Read from MH i2c: E2 03 00 [15:17:11]MH_I2C_Read... [15:17:11]Read from MH i2c: E2 03 00 40 1B 00 90 00 CF [15:17:11]RAPDU: 90 00 [15:17:11]wFMCommunicate OK [15:17:11]wFMCommunicate request_size=4 [15:17:11]MH_SAM_APDU [15:17:11]CAPDU: 80 0D 03 02 [15:17:11]Write to MH i2c: E2 08 00 41 1B 80 0D 03 02 00 00 00 00 D7 [15:17:11]Write i2c OK [15:17:11]MH_I2C_Read... [15:17:12]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:17:12]Read from MH i2c: E2 [15:17:12]MH_I2C_Read... [15:17:12]Read from MH i2c: E2 0B 00 [15:17:12]MH_I2C_Read... [15:17:12]Read from MH i2c: E2 0B 00 41 1B 00 17 52 3F E4 3E 64 F4 B5 90 00 AF [15:17:12]RAPDU: 17 52 3F E4 3E 64 F4 B5 90 00 [15:17:12]wFMCommunicate OK [15:17:12]SAM_PROTO_SignData done [15:17:12]FM_MakeSignedData done [15:17:12]CreateOFDProtocolMessage [15:17:12]wFMCommunicate request_size=4 [15:17:12]MH_SAM_APDU [15:17:12]CAPDU: 80 11 00 00 [15:17:12]Write to MH i2c: E2 08 00 42 1B 80 11 00 00 00 00 00 00 D7 [15:17:12]Write i2c OK [15:17:12]MH_I2C_Read... [15:17:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:17:12]Read from MH i2c: E2 [15:17:12]MH_I2C_Read... [15:17:12]Read from MH i2c: E2 17 00 [15:17:12]MH_I2C_Read... [15:17:12]Read from MH i2c: E2 17 00 42 1B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 31 [15:17:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [15:17:12]wFMCommunicate OK [15:17:12]CreateOFDProtocolMessage done [15:17:12]OFDSenderStorePacket 57187 [15:17:12]StoreOFDPacket docnum=57187 [15:17: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 0C 01 00 00 E8 76 04 01 83 A6 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 9E 6B 00 00 00 00 00 37 04 06 00 5C 1C 00 00 00 00 13 04 06 00 4D 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F8 52 00 00 00 00 07 04 06 00 40 0D 03 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 52 00 00 00 F4 03 04 00 7A 3D 95 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 63 DF 00 00 35 04 06 00 49 F0 B7 54 F2 14 17 52 3F E4 3E 64 F4 B5 [15:17:12]CheckFolder [15:17:12]dirname=/storage/ofd_packets [15:17:12]CheckFolder done [15:17:12]ProducePacketName [15:17:12]name=ofd_packets/00057187 [15:17:12]NVStorageSaveData ofd_packets/00057187 [15:17:12]File name is /storage/ofd_packets/00057187 [15:17:12]Write 298 bytes [15:17:12]NVStorageSaveData done [15:17:12]OFDSenderStorePacket done [15:17:12]KKMCreateOFDPacket done [15:17:12]NVStorageSaveData kkm_last_timestamp [15:17:12]File name is /storage/kkm_last_timestamp [15:17:12]Write 4 bytes [15:17:12]NVStorageSaveData done [15:17:12]ExternCall_PrintAddStr [15:17:12]wPrintStart [15:17:12]Write to MH i2c: 01 00 00 43 1B 5E [15:17:12]Write i2c OK [15:17:12]MH_I2C_Read... [15:17:12]Read from MH i2c: 01 [15:17:12]MH_I2C_Read... [15:17:12]Read from MH i2c: 01 07 00 [15:17:12]MH_I2C_Read... [15:17:12]Read from MH i2c: 01 07 00 43 1B 00 00 00 00 00 FF 0F 73 [15:17:12]RasterBufferAndPrint [15:17:12]line Счет N : (1)855951 [15:17:12]line ИНН: 02508201610067 [15:17:12]line Контрольно-Кассовый Чек [15:17:12]line ПРОДАЖА [15:17:12]line ТРК (МРК, ГНК) : 51 [15:17:12]line Товар: 2710194210 [15:17:12]line ДТ-К-5 [15:17:12]line 27.550 * 72.60 [15:17:12]line = 2000.13 [15:17:12]line НДС 12% НСП 1% [15:17:12]line > о реализуемом товаре [15:17:12]line ОКРУГЛЕНИЕ: -0.13 [15:17:12]line ИТОГО: 2000.00 [15:17:12]line Внесено: 2000.00 [15:17:12]line СДАЧА: 0.00 [15:17:12]line НСП 1% : 17.70 [15:17:12]line НДС 12% : 212.40 [15:17:12]line Наличными: 2000.00 [15:17:12]line Безнал.: 0.00 [15:17:12]line Место: АЗС № 132 "Партнер Нефть" [15:17:12]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [15:17:12]line СНО: Общий режим [15:17:12]line Чек 82 15.07.2024 15:17 [15:17:12]line Смена: 497 ФФД: 1.0 [15:17:12]line ЗНМ: 0300000132 [15:17:12]line РНМ: 0000000000091208 [15:17:12]line Версия ККМ: 001 [15:17:12]line ФМ: 0000000000874857 [15:17:12]line ФД: 57187 [15:17:12]line ФПД: 81298216776212 [15:17:12]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T151714&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57187&fm=81298216776212&tin=02508201610067®Number=0000000000091208&sum=200000 [15:17:12]OFD Sender: Processing packet 57187 [packets to send 38, broken 37] [15:17:12]ProducePacketName [15:17:12]name=ofd_packets/00057187 [15:17:12]OFD Sender: To server: pG, [15:17:12]CommunicateWithHost lk.salyk.kg:30040 [15:17:12]ConnectInit lk.salyk.kg [15:17:12]written 0, free lines is 4095 [15:17:12]Connected sock=10 [15:17: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 0C 01 00 00 E8 76 04 01 83 A6 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 9E 6B 00 00 00 00 00 37 04 06 00 5C 1C 00 00 00 00 13 04 06 00 4D 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F8 52 00 00 00 00 07 04 06 00 40 0D 03 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 52 00 00 00 F4 03 04 00 7A 3D 95 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 63 DF 00 00 35 04 06 00 49 F0 B7 54 F2 14 17 52 3F E4 3E 64 F4 B5 [15:17: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 8F 5F 47 00 CD 55 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 63 DF 00 00 F4 03 04 00 C8 E3 94 66 B6 04 01 00 00 EF 24 DD 88 21 74 08 14 [15:17:12]CommunicateWithHost err = 0 [15:17:12]CheckOFDResponse [15:17:12]1017 (14) - 77093643461234 [15:17:12]1041 (16) - 0000000000874857 [15:17:12]1040 (4) - 57187 [15:17:12]1012 (4) - 15.07.2024 08:54 [15:17:12]1206 (1) - 0 [15:17:12]OFD Sender: Remove packet 57187 [15:17:12]ProducePacketName [15:17:12]name=ofd_packets/00057187 [15:17:12]NVStorageDeleteData [15:17:12]Write to MH i2c: 01 00 00 6E 1B 89 [15:17:12]Write i2c OK [15:17:12]MH_I2C_Read... [15:17:12]Read from MH i2c: 01 [15:17:12]MH_I2C_Read... [15:17:12]Read from MH i2c: 01 07 00 [15:17:12]MH_I2C_Read... [15:17:12]Read from MH i2c: 01 07 00 6E 1B 00 00 00 00 00 F3 0C 8F [15:17:12]RasterBufferAndPrint [15:17:12]line [15:17:12]line [15:17:12]line [15:17:12]line [15:17:12]line [15:17:12]written 0, free lines is 3324 [15:17:12]MH_Cut [15:17:12]Write to MH i2c: D1 01 00 75 1B 01 62 [15:17:12]Write i2c OK [15:17:12]MH_I2C_Read... [15:17:12]Read from MH i2c: D1 [15:17:12]MH_I2C_Read... [15:17:12]Read from MH i2c: D1 01 00 [15:17:12]MH_I2C_Read... [15:17:12]Read from MH i2c: D1 01 00 75 1B 00 61 [15:17:12]Write to MH i2c: 01 00 00 76 1B 91 [15:17:12]Write i2c OK [15:17:12]MH_I2C_Read... [15:17:13]OFD Sender: No OFD packet to send [15:17:13]*** Cut start [15:17:13]*** Partial cut [15:17:13]*** CUTSNS_PIN = 1 [15:17:13]*** CUTSNS_PIN = 0 [15:17:13]*** Brake cut motor [15:17:14]Read from MH i2c: 01 [15:17:14]MH_I2C_Read... [15:17:14]*** Stop cut motor [15:17:14]*** Cut end [15:17:14]Read from MH i2c: 01 07 00 [15:17:14]MH_I2C_Read... [15:17:14]Read from MH i2c: 01 07 00 76 1B 00 00 00 00 00 FF 0F A6 [15:17:14]process_action close_receipt done [15:17:14]requested_data is exist [15:17:14]produce_requested_data [15:17:14]requested_item fm.sn is exist - process it [15:17:14]wFMCommunicate request_size=4 [15:17:14]MH_SAM_APDU [15:17:14]CAPDU: 80 11 00 00 [15:17:14]Write to MH i2c: E2 08 00 77 1B 80 11 00 00 00 00 00 00 0C [15:17:14]Write i2c OK [15:17:14]MH_I2C_Read... [15:17:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:17:14]Read from MH i2c: E2 [15:17:14]MH_I2C_Read... [15:17:14]Read from MH i2c: E2 17 00 [15:17:14]MH_I2C_Read... [15:17:14]Read from MH i2c: E2 17 00 77 1B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 66 [15:17:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [15:17:14]wFMCommunicate OK [15:17:14]requested_item fd.num is exist - process it [15:17:14]SAM_PROTO_GetFieldsCounters [15:17:14]wFMCommunicate request_size=4 [15:17:14]MH_SAM_APDU [15:17:14]CAPDU: 80 13 00 00 [15:17:14]Write to MH i2c: E2 08 00 78 1B 80 13 00 00 00 00 00 00 0F [15:17:14]Write i2c OK [15:17:14]MH_I2C_Read... [15:17:14]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:17:14]Read from MH i2c: E2 [15:17:14]MH_I2C_Read... [15:17:14]Read from MH i2c: E2 62 00 [15:17:14]MH_I2C_Read... [15:17:14]Read from MH i2c: E2 62 00 78 1B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 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 63 DF 00 00 0E 04 04 00 F1 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 5C [15:17: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 63 DF 00 00 0E 04 04 00 F1 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:17:14]wFMCommunicate OK [15:17:14]SAM_PROTO_GetFieldsCounters done [15:17:14]requested_item shift.num is exist - process it [15:17:14]requested_item shift.opened is exist - process it [15:17:14]req_shift_opened [15:17:14]FM_GetShiftState [15:17:14]SAM_PROTO_GetShiftState [15:17:14]wFMCommunicate request_size=4 [15:17:14]MH_SAM_APDU [15:17:14]CAPDU: 80 13 01 00 [15:17:14]Write to MH i2c: E2 08 00 79 1B 80 13 01 00 00 00 00 00 11 [15:17:14]Write i2c OK [15:17:14]MH_I2C_Read... [15:17:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:17:14]Read from MH i2c: E2 [15:17:14]MH_I2C_Read... [15:17:14]Read from MH i2c: E2 0E 00 [15:17:14]MH_I2C_Read... [15:17:14]Read from MH i2c: E2 0E 00 79 1B 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 8A [15:17:14]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [15:17:14]wFMCommunicate OK [15:17:14]SAM_PROTO_GetShiftState done [15:17:14]FM_GetShiftState done [15:17:14]req_shift_opened done [15:17:14]requested_item shift.open_date is exist - process it [15:17:14]req_shift_open_date [15:17:14]req_shift_open_date done [15:17:14]requested_item shift.sale.total is exist - process it [15:17:14]SAM_PROTO_GetShiftData [15:17:14]wFMCommunicate request_size=4 [15:17:14]MH_SAM_APDU [15:17:14]CAPDU: 80 13 02 00 [15:17:14]Write to MH i2c: E2 08 00 7A 1B 80 13 02 00 00 00 00 00 13 [15:17:14]Write i2c OK [15:17:14]MH_I2C_Read... [15:17:14]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [15:17:14]Read from MH i2c: E2 [15:17:14]MH_I2C_Read... [15:17:14]Read from MH i2c: E2 FD 00 [15:17:14]MH_I2C_Read... [15:17:14]Read from MH i2c: E2 FD 00 7A 1B 00 B6 04 AA 04 B2 04 6E 04 04 00 52 00 00 00 69 04 9B 00 6F 04 04 00 51 00 00 00 B1 04 03 00 49 12 23 70 04 03 00 B4 60 1D 72 04 03 00 95 B1 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 85 B9 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 71 4F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 13 [15:17:14]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 52 00 00 00 69 04 9B 00 6F 04 04 00 51 00 00 00 B1 04 03 00 49 12 23 70 04 03 00 B4 60 1D 72 04 03 00 95 B1 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 85 B9 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 71 4F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 [15:17:14]wFMCommunicate OK [15:17:14]wFMCommunicate request_size=4 [15:17:14]MH_SAM_APDU [15:17:14]CAPDU: 80 17 00 00 [15:17:14]Write to MH i2c: E2 08 00 7B 1B 80 17 00 00 00 00 00 00 16 [15:17:14]Write i2c OK [15:17:14]MH_I2C_Read... [15:17:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:17:15]Read from MH i2c: E2 [15:17:15]MH_I2C_Read... [15:17:15]Read from MH i2c: E2 FD 00 [15:17:15]MH_I2C_Read... [15:17:15]Read from MH i2c: E2 FD 00 7B 1B 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 4B [15:17:15]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 [15:17:15]wFMCommunicate OK [15:17:15]wFMCommunicate request_size=4 [15:17:15]MH_SAM_APDU [15:17:15]CAPDU: 80 17 00 00 [15:17:15]Write to MH i2c: E2 08 00 7C 1B 80 17 00 00 00 00 00 00 17 [15:17:15]Write i2c OK [15:17:15]MH_I2C_Read... [15:17:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:17:15]Read from MH i2c: E2 [15:17:15]MH_I2C_Read... [15:17:15]Read from MH i2c: E2 FD 00 [15:17:15]MH_I2C_Read... [15:17:15]Read from MH i2c: E2 FD 00 7C 1B 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 D7 [15:17:15]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 [15:17:15]wFMCommunicate OK [15:17:15]wFMCommunicate request_size=4 [15:17:15]MH_SAM_APDU [15:17:15]CAPDU: 80 17 00 00 [15:17:15]Write to MH i2c: E2 08 00 7D 1B 80 17 00 00 00 00 00 00 18 [15:17:15]Write i2c OK [15:17:15]MH_I2C_Read... [15:17:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:17:15]Read from MH i2c: E2 [15:17:15]MH_I2C_Read... [15:17:15]Read from MH i2c: E2 FD 00 [15:17:15]MH_I2C_Read... [15:17:15]Read from MH i2c: E2 FD 00 7D 1B 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 87 [15:17:15]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 [15:17:15]wFMCommunicate OK [15:17:15]wFMCommunicate request_size=4 [15:17:15]MH_SAM_APDU [15:17:15]CAPDU: 80 17 00 00 [15:17:15]Write to MH i2c: E2 08 00 7E 1B 80 17 00 00 00 00 00 00 19 [15:17:15]Write i2c OK [15:17:15]MH_I2C_Read... [15:17:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [15:17:16]Read from MH i2c: E2 [15:17:16]MH_I2C_Read... [15:17:16]Read from MH i2c: E2 D3 00 [15:17:16]MH_I2C_Read... [15:17:16]Read from MH i2c: E2 D3 00 7E 1B 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 06 [15:17:16]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 [15:17:16]wFMCommunicate OK [15:17:16]SAM_PROTO_GetShiftData done [15:17:16]requested_item shift.sale.total_cash is exist - process it [15:17:16]requested_item shift.sale_refund.total is exist - process it [15:17:16]requested_item shift.sale_refund.total_cash is exist - process it [15:17:16]produce_requested_data done [15:17:16]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57187,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":22984.41,"shift.sale.total_cash":19253.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [15:17:16]process_action_free close_receipt [15:17:16]json_value_free [15:17:16]json_value_free done [15:17:16]process_json_proto returns [15:17:16]Send response to host [15:17:16]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57187,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":22984.41,"shift.sale.total_cash":19253.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [15:17:16]free response buf [15:17:16]execute_script done [15:17:16]execute_script returns [15:17:16]free content buf [15:17:16]Sock 8.Close socket [15:17:16]Sock 8.Thread stoped [15:17:18]OFD Sender: No OFD packet to send [15:17:23]OFD Sender: No OFD packet to send [15:17:28]OFD Sender: No OFD packet to send [15:17:33]OFD Sender: No OFD packet to send [15:17:38]OFD Sender: No OFD packet to send [15:17:43]OFD Sender: No OFD packet to send [15:17:48]OFD Sender: No OFD packet to send [15:17:53]OFD Sender: No OFD packet to send [15:17:56]accept exits with 9 [15:17:56]New connection [15:17:56]New thread 3066924388 created [15:17:56]Thread 3067067748 joined [15:17:56]Waiting for new connection... [15:17:56] Sock 9.Parse request [15:17:56]Sock 9.Check first char [15:17:56]Sock 9.First char is OK [15:17:56]request: POST /json_proto HTTP/1.0 [15:17:56]Method: POST [15:17:56]URL: /json_proto [15:17:56]Method is POST - this is cgi request [15:17:56]url: /json_proto [15:17:56]query_string will be loaded in cgi processing [15:17:56]execute_cgi json_proto POST (null) [15:17:56]execute_cgi path=json_proto method=POST [15:17:56]POST find Content-Length [15:17:56]Host: 172.17.39.4:8080 [15:17:56]Content-Length: 854 [15:17:56]Content-Type: application/json [15:17:56] [15:17:56]POST finish read [15:17:56]Found Content-Length = 854 [15:17:56]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129636", "tax_sys" : 0, "items" : [ { "code": "4700000483297", "name": "\u042D\u043D\u0435\u0440\u0433\u0435\u0442\u0438\u0447\u0435\u0441\u043A\u0438\u0439 \u043D\u0430\u043F\u0438\u0442\u043E\u043A Nitro \u0410\u043D\u0430\u043D\u0430\u0441-\u0433\u0443\u0430\u0432", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [15:17:56]execute_script... [15:17: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)129636", "tax_sys" : 0, "items" : [ { "code": "4700000483297", "name": "\u042D\u043D\u0435\u0440\u0433\u0435\u0442\u0438\u0447\u0435\u0441\u043A\u0438\u0439 \u043D\u0430\u043F\u0438\u0442\u043E\u043A Nitro \u0410\u043D\u0430\u043D\u0430\u0441-\u0433\u0443\u0430\u0432", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [15:17:56]POST & json_proto [15:17:56]process_json_proto [15:17:56]json parsed OK: [15:17:56]protocol is kg_v1.0 [15:17:56]action value=close_receipt [15:17:56]process_action close_receipt [15:17:56]cmd_close_receipt [15:17:56]MH_GetDate [15:17:56]Write to MH i2c: F0 00 00 7F 1B 89 [15:17:56]Write i2c OK [15:17:56]MH_I2C_Read... [15:17:56]Read from MH i2c: F0 [15:17:56]MH_I2C_Read... [15:17:56]Read from MH i2c: F0 09 00 [15:17:56]MH_I2C_Read... [15:17:56]Read from MH i2c: F0 09 00 7F 1B 00 A8 3D 95 66 2D 25 5D 64 85 [15:17:56]GetLastDocTimeStamp 1721056634 [15:17:56]current date 1721056680 [15:17:56]FM_GetShiftState [15:17:56]SAM_PROTO_GetShiftState [15:17:56]wFMCommunicate request_size=4 [15:17:56]MH_SAM_APDU [15:17:56]CAPDU: 80 13 01 00 [15:17:56]Write to MH i2c: E2 08 00 80 1B 80 13 01 00 00 00 00 00 18 [15:17:56]Write i2c OK [15:17:56]MH_I2C_Read... [15:17:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:17:56]Read from MH i2c: E2 [15:17:56]MH_I2C_Read... [15:17:56]Read from MH i2c: E2 0E 00 [15:17:56]MH_I2C_Read... [15:17:56]Read from MH i2c: E2 0E 00 80 1B 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 91 [15:17:56]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [15:17:56]wFMCommunicate OK [15:17:56]SAM_PROTO_GetShiftState done [15:17:56]FM_GetShiftState done [15:17:56]opened in 1721003525 [15:17:56]opened+sec_in_day 1721089925 [15:17:56]quantity*price = 9500 [15:17:56]sum+1 = 9501 [15:17:56]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 СНО: Общий режим Чек 83 15.07.2024 15:18 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57188 ФПД: 107731293611652 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T151800&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57188&fm=107731293611652&tin=02508201610067®Number=0000000000091208&sum=9500 0 [15:17:57]StoreToDocumentArchive [15:17:57]shift 497 fd 57188 [15:17:57]save to /storage/0497/doc_00057188 [15:17:57]save last doc name /storage/0497/doc_00057188 to /storage/kkm_last_doc_name [15:17:57]save OK [15:17:57]Clear old archive folders... [15:17:57]ProcessDocumentItem done err = 0, tmpTLVsize=313 [15:17:57]tlvbuf is 009F1D30 [15:17:57]SAM_PROTO_ClearQueue [15:17:57]wFMCommunicate request_size=4 [15:17:57]MH_SAM_APDU [15:17:57]CAPDU: 80 09 00 00 [15:17:57]Write to MH i2c: E2 08 00 8D 1B 80 09 00 00 00 00 00 00 1A [15:17:57]Write i2c OK [15:17:57]MH_I2C_Read... [15:17:57]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:17:57]Read from MH i2c: E2 [15:17:57]MH_I2C_Read... [15:17:57]Read from MH i2c: E2 03 00 [15:17:57]MH_I2C_Read... [15:17:57]Read from MH i2c: E2 03 00 8D 1B 00 90 00 1C [15:17:57]RAPDU: 90 00 [15:17:57]wFMCommunicate OK [15:17:57]SAM_PROTO_ClearQueue done [15:17:57]KKMCreateOFDPacket [15:17:57]OFDProtocolAddRootSTLVToBuf [15:17:57]FM_MakeSignedData [15:17:57]FM_MakeSignedData [15:17:57]SAM_PROTO_SignData [15:17:57]wFMCommunicate request_size=4 [15:17:57]MH_SAM_APDU [15:17:57]CAPDU: 80 0D 01 02 [15:17:57]Write to MH i2c: E2 08 00 8E 1B 80 0D 01 02 00 00 00 00 22 [15:17:57]Write i2c OK [15:17:57]MH_I2C_Read... [15:17:57]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:17:57]Read from MH i2c: E2 [15:17:57]MH_I2C_Read... [15:17:57]Read from MH i2c: E2 03 00 [15:17:57]MH_I2C_Read... [15:17:57]Read from MH i2c: E2 03 00 8E 1B 00 90 00 1D [15:17:57]RAPDU: 90 00 [15:17:57]wFMCommunicate OK [15:17:57]wFMCommunicate request_size=255 [15:17:57]MH_SAM_APDU [15:17:57]CAPDU: 80 0D 02 02 FA 03 00 39 01 1E 04 01 00 01 23 04 8B 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 33 32 39 37 06 04 47 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 D0 B5 D1 82 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 D0 90 D0 BD D0 B0 D0 BD D0 B0 D1 81 2D D0 B3 D1 83 D0 B0 D0 B2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 53 00 00 00 F4 03 04 00 A8 3D 95 66 0E 04 04 00 [15:17:57]Write to MH i2c: E2 02 01 8F 1B 80 0D 02 02 FA 00 03 00 39 01 1E 04 01 00 01 23 04 8B 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 33 32 39 37 06 04 47 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 D0 B5 D1 82 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 D0 90 D0 BD D0 B0 D0 BD D0 B0 D1 81 2D D0 B3 D1 83 D0 B0 D0 B2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 53 00 00 00 F4 03 04 00 A8 3D 95 66 0E 04 04 00 00 00 44 [15:17:57]Write i2c OK [15:17:57]MH_I2C_Read... [15:17:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:17:57]Read from MH i2c: E2 [15:17:57]MH_I2C_Read... [15:17:57]Read from MH i2c: E2 03 00 [15:17:57]MH_I2C_Read... [15:17:57]Read from MH i2c: E2 03 00 8F 1B 00 90 00 1E [15:17:57]RAPDU: 90 00 [15:17:57]wFMCommunicate OK [15:17:57]wFMCommunicate request_size=72 [15:17:57]MH_SAM_APDU [15:17:57]CAPDU: 80 0D 02 02 43 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 64 DF 00 00 35 04 06 00 61 FB 25 7C A6 84 [15:17:57]Write to MH i2c: E2 4B 00 90 1B 80 0D 02 02 43 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 64 DF 00 00 35 04 06 00 61 FB 25 7C A6 84 00 00 9E [15:17:57]Write i2c OK [15:17:57]MH_I2C_Read... [15:17:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:17:57]Read from MH i2c: E2 [15:17:57]MH_I2C_Read... [15:17:57]Read from MH i2c: E2 03 00 [15:17:57]MH_I2C_Read... [15:17:57]Read from MH i2c: E2 03 00 90 1B 00 90 00 1F [15:17:57]RAPDU: 90 00 [15:17:57]wFMCommunicate OK [15:17:57]wFMCommunicate request_size=4 [15:17:57]MH_SAM_APDU [15:17:57]CAPDU: 80 0D 03 02 [15:17:57]Write to MH i2c: E2 08 00 91 1B 80 0D 03 02 00 00 00 00 27 [15:17:57]Write i2c OK [15:17:57]MH_I2C_Read... [15:17:57]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:17:57]Read from MH i2c: E2 [15:17:57]MH_I2C_Read... [15:17:57]Read from MH i2c: E2 0B 00 [15:17:57]MH_I2C_Read... [15:17:57]Read from MH i2c: E2 0B 00 91 1B 00 A3 BA 9E 46 E5 E6 02 E6 90 00 1C [15:17:57]RAPDU: A3 BA 9E 46 E5 E6 02 E6 90 00 [15:17:57]wFMCommunicate OK [15:17:57]SAM_PROTO_SignData done [15:17:57]FM_MakeSignedData done [15:17:57]CreateOFDProtocolMessage [15:17:57]wFMCommunicate request_size=4 [15:17:57]MH_SAM_APDU [15:17:57]CAPDU: 80 11 00 00 [15:17:57]Write to MH i2c: E2 08 00 92 1B 80 11 00 00 00 00 00 00 27 [15:17:57]Write i2c OK [15:17:57]MH_I2C_Read... [15:17:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:17:57]Read from MH i2c: E2 [15:17:57]MH_I2C_Read... [15:17:57]Read from MH i2c: E2 17 00 [15:17:57]MH_I2C_Read... [15:17:57]Read from MH i2c: E2 17 00 92 1B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 81 [15:17: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:17:57]wFMCommunicate OK [15:17:57]CreateOFDProtocolMessage done [15:17:57]OFDSenderStorePacket 57188 [15:17:57]StoreOFDPacket docnum=57188 [15:17: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 4D 01 00 00 EA AA 45 01 CC 42 5A 03 01 00 03 00 39 01 1E 04 01 00 01 23 04 8B 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 33 32 39 37 06 04 47 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 D0 B5 D1 82 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 D0 90 D0 BD D0 B0 D0 BD D0 B0 D1 81 2D D0 B3 D1 83 D0 B0 D0 B2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 53 00 00 00 F4 03 04 00 A8 3D 95 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 64 DF 00 00 35 04 06 00 61 FB 25 7C A6 84 A3 BA 9E 46 E5 E6 02 E6 [15:17:57]CheckFolder [15:17:57]dirname=/storage/ofd_packets [15:17:57]CheckFolder done [15:17:57]ProducePacketName [15:17:57]name=ofd_packets/00057188 [15:17:57]NVStorageSaveData ofd_packets/00057188 [15:17:57]File name is /storage/ofd_packets/00057188 [15:17:57]Write 363 bytes [15:17:57]NVStorageSaveData done [15:17:57]OFDSenderStorePacket done [15:17:57]KKMCreateOFDPacket done [15:17:57]NVStorageSaveData kkm_last_timestamp [15:17:57]File name is /storage/kkm_last_timestamp [15:17:57]Write 4 bytes [15:17:57]NVStorageSaveData done [15:17:57]ExternCall_PrintAddStr [15:17:57]wPrintStart [15:17:57]Write to MH i2c: 01 00 00 93 1B AE [15:17:57]Write i2c OK [15:17:57]MH_I2C_Read... [15:17:57]Read from MH i2c: 01 [15:17:57]MH_I2C_Read... [15:17:57]Read from MH i2c: 01 07 00 [15:17:57]MH_I2C_Read... [15:17:57]Read from MH i2c: 01 07 00 93 1B 00 00 00 00 00 FF 0F C3 [15:17:57]RasterBufferAndPrint [15:17:57]line Счет N : (3)129636 [15:17:57]line ИНН: 02508201610067 [15:17:57]line Контрольно-Кассовый Чек [15:17:57]line ПРОДАЖА [15:17:57]line Товар: 4700000483297 [15:17:57]line Энергетический напиток Nitro Ананас-гуав [15:17:57]line 1.000 * 95.00 [15:17:57]line = 95.00 [15:17:57]line НДС 12% НСП 1% [15:17:57]line > о реализуемом товаре [15:17:57]line ИТОГО: 95.00 [15:17:57]line НСП 1% : 0.84 [15:17:57]line НДС 12% : 10.09 [15:17:57]line Наличными: 95.00 [15:17:57]line Безнал.: 0.00 [15:17:57]line Место: АЗС № 132 "Партнер Нефть" [15:17:57]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [15:17:57]line СНО: Общий режим [15:17:57]line Чек 83 15.07.2024 15:18 [15:17:57]line Смена: 497 ФФД: 1.0 [15:17:57]line ЗНМ: 0300000132 [15:17:57]line РНМ: 0000000000091208 [15:17:57]line Версия ККМ: 001 [15:17:57]line ФМ: 0000000000874857 [15:17:57]line ФД: 57188 [15:17:57]line ФПД: 107731293611652 [15:17:58]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T151800&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57188&fm=107731293611652&tin=02508201610067®Number=0000000000091208&sum=9500 [15:17:58]line 0 [15:17:58]OFD Sender: Processing packet 57188 [packets to send 38, broken 37] [15:17:58]ProducePacketName [15:17:58]name=ofd_packets/00057188 [15:17:58]OFD Sender: To server: pG, [15:17:58]CommunicateWithHost lk.salyk.kg:30040 [15:17:58]ConnectInit lk.salyk.kg [15:17:58]written 0, free lines is 4095 [15:17:58]Connected sock=10 [15:17: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 4D 01 00 00 EA AA 45 01 CC 42 5A 03 01 00 03 00 39 01 1E 04 01 00 01 23 04 8B 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 33 32 39 37 06 04 47 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 D0 B5 D1 82 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 D0 90 D0 BD D0 B0 D0 BD D0 B0 D1 81 2D D0 B3 D1 83 D0 B0 D0 B2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 53 00 00 00 F4 03 04 00 A8 3D 95 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 64 DF 00 00 35 04 06 00 61 FB 25 7C A6 84 A3 BA 9E 46 E5 E6 02 E6 [15:17: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 F7 8B 47 00 61 30 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 64 DF 00 00 F4 03 04 00 F6 E3 94 66 B6 04 01 00 00 26 10 6E 08 AB 1C 90 1E [15:17:58]CommunicateWithHost err = 0 [15:17:58]CheckOFDResponse [15:17:58]1017 (14) - 77093643461234 [15:17:58]1041 (16) - 0000000000874857 [15:17:58]1040 (4) - 57188 [15:17:58]1012 (4) - 15.07.2024 08:55 [15:17:58]1206 (1) - 0 [15:17:58]OFD Sender: Remove packet 57188 [15:17:58]ProducePacketName [15:17:58]name=ofd_packets/00057188 [15:17:58]NVStorageDeleteData [15:17:58]Write to MH i2c: 01 00 00 BC 1B D7 [15:17:58]Write i2c OK [15:17:58]MH_I2C_Read... [15:17:58]Read from MH i2c: 01 [15:17:58]MH_I2C_Read... [15:17:58]Read from MH i2c: 01 07 00 [15:17:58]MH_I2C_Read... [15:17:58]Read from MH i2c: 01 07 00 BC 1B 00 00 00 00 00 F8 0C E2 [15:17:58]RasterBufferAndPrint [15:17:58]line [15:17:58]line [15:17:58]line [15:17:58]line [15:17:58]line [15:17:58]written 0, free lines is 3330 [15:17:58]MH_Cut [15:17:58]Write to MH i2c: D1 01 00 C3 1B 01 B0 [15:17:58]Write i2c OK [15:17:58]MH_I2C_Read... [15:17:58]Read from MH i2c: D1 [15:17:58]MH_I2C_Read... [15:17:58]Read from MH i2c: D1 01 00 [15:17:58]MH_I2C_Read... [15:17:58]Read from MH i2c: D1 01 00 C3 1B 00 AF [15:17:58]Write to MH i2c: 01 00 00 C4 1B DF [15:17:58]Write i2c OK [15:17:58]MH_I2C_Read... [15:17:59]OFD Sender: No OFD packet to send [15:17:59]*** Cut start [15:17:59]*** Partial cut [15:17:59]*** CUTSNS_PIN = 1 [15:17:59]*** CUTSNS_PIN = 0 [15:17:59]*** Brake cut motor [15:18:00]Read from MH i2c: 01 [15:18:00]MH_I2C_Read... [15:18:00]*** Stop cut motor [15:18:00]*** Cut end [15:18:00]Read from MH i2c: 01 07 00 [15:18:00]MH_I2C_Read... [15:18:00]Read from MH i2c: 01 07 00 C4 1B 00 00 00 00 00 FF 0F F4 [15:18:00]process_action close_receipt done [15:18:00]requested_data is exist [15:18:00]produce_requested_data [15:18:00]requested_item fm.sn is exist - process it [15:18:00]wFMCommunicate request_size=4 [15:18:00]MH_SAM_APDU [15:18:00]CAPDU: 80 11 00 00 [15:18:00]Write to MH i2c: E2 08 00 C5 1B 80 11 00 00 00 00 00 00 5A [15:18:00]Write i2c OK [15:18:00]MH_I2C_Read... [15:18:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:18:00]Read from MH i2c: E2 [15:18:00]MH_I2C_Read... [15:18:00]Read from MH i2c: E2 17 00 [15:18:00]MH_I2C_Read... [15:18:00]Read from MH i2c: E2 17 00 C5 1B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 B4 [15:18: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:18:00]wFMCommunicate OK [15:18:00]requested_item fd.num is exist - process it [15:18:00]SAM_PROTO_GetFieldsCounters [15:18:00]wFMCommunicate request_size=4 [15:18:00]MH_SAM_APDU [15:18:00]CAPDU: 80 13 00 00 [15:18:00]Write to MH i2c: E2 08 00 C6 1B 80 13 00 00 00 00 00 00 5D [15:18:00]Write i2c OK [15:18:00]MH_I2C_Read... [15:18:00]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:18:00]Read from MH i2c: E2 [15:18:00]MH_I2C_Read... [15:18:00]Read from MH i2c: E2 62 00 [15:18:00]MH_I2C_Read... [15:18:00]Read from MH i2c: E2 62 00 C6 1B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 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 64 DF 00 00 0E 04 04 00 F1 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 AE [15:18: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 64 DF 00 00 0E 04 04 00 F1 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:18:00]wFMCommunicate OK [15:18:00]SAM_PROTO_GetFieldsCounters done [15:18:00]requested_item shift.num is exist - process it [15:18:00]requested_item shift.opened is exist - process it [15:18:00]req_shift_opened [15:18:00]FM_GetShiftState [15:18:00]SAM_PROTO_GetShiftState [15:18:00]wFMCommunicate request_size=4 [15:18:00]MH_SAM_APDU [15:18:00]CAPDU: 80 13 01 00 [15:18:00]Write to MH i2c: E2 08 00 C7 1B 80 13 01 00 00 00 00 00 5F [15:18:00]Write i2c OK [15:18:00]MH_I2C_Read... [15:18:00]Read from MH i2c: E2 [15:18:00]MH_I2C_Read... [15:18:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:18:00]Read from MH i2c: E2 0E 00 [15:18:00]MH_I2C_Read... [15:18:00]Read from MH i2c: E2 0E 00 C7 1B 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 D8 [15:18:00]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [15:18:00]wFMCommunicate OK [15:18:00]SAM_PROTO_GetShiftState done [15:18:00]FM_GetShiftState done [15:18:00]req_shift_opened done [15:18:00]requested_item shift.open_date is exist - process it [15:18:00]req_shift_open_date [15:18:00]req_shift_open_date done [15:18:00]requested_item shift.sale.total is exist - process it [15:18:00]SAM_PROTO_GetShiftData [15:18:00]wFMCommunicate request_size=4 [15:18:00]MH_SAM_APDU [15:18:00]CAPDU: 80 13 02 00 [15:18:00]Write to MH i2c: E2 08 00 C8 1B 80 13 02 00 00 00 00 00 61 [15:18:00]Write i2c OK [15:18:00]MH_I2C_Read... [15:18:00]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [15:18:00]Read from MH i2c: E2 [15:18:00]MH_I2C_Read... [15:18:00]Read from MH i2c: E2 FD 00 [15:18:00]MH_I2C_Read... [15:18:00]Read from MH i2c: E2 FD 00 C8 1B 00 B6 04 AA 04 B2 04 6E 04 04 00 53 00 00 00 69 04 9B 00 6F 04 04 00 52 00 00 00 B1 04 03 00 65 37 23 70 04 03 00 D0 85 1D 72 04 03 00 95 B1 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 76 BD 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 C5 4F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 2E [15:18:00]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 53 00 00 00 69 04 9B 00 6F 04 04 00 52 00 00 00 B1 04 03 00 65 37 23 70 04 03 00 D0 85 1D 72 04 03 00 95 B1 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 76 BD 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 C5 4F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 [15:18:00]wFMCommunicate OK [15:18:00]wFMCommunicate request_size=4 [15:18:00]MH_SAM_APDU [15:18:00]CAPDU: 80 17 00 00 [15:18:00]Write to MH i2c: E2 08 00 C9 1B 80 17 00 00 00 00 00 00 64 [15:18:00]Write i2c OK [15:18:00]MH_I2C_Read... [15:18:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:18:01]Read from MH i2c: E2 [15:18:01]MH_I2C_Read... [15:18:01]Read from MH i2c: E2 FD 00 [15:18:01]MH_I2C_Read... [15:18:01]Read from MH i2c: E2 FD 00 C9 1B 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 99 [15:18:01]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 [15:18:01]wFMCommunicate OK [15:18:01]wFMCommunicate request_size=4 [15:18:01]MH_SAM_APDU [15:18:01]CAPDU: 80 17 00 00 [15:18:01]Write to MH i2c: E2 08 00 CA 1B 80 17 00 00 00 00 00 00 65 [15:18:01]Write i2c OK [15:18:01]MH_I2C_Read... [15:18:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:18:01]Read from MH i2c: E2 [15:18:01]MH_I2C_Read... [15:18:01]Read from MH i2c: E2 FD 00 [15:18:01]MH_I2C_Read... [15:18:01]Read from MH i2c: E2 FD 00 CA 1B 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 25 [15:18:01]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 [15:18:01]wFMCommunicate OK [15:18:01]wFMCommunicate request_size=4 [15:18:01]MH_SAM_APDU [15:18:01]CAPDU: 80 17 00 00 [15:18:01]Write to MH i2c: E2 08 00 CB 1B 80 17 00 00 00 00 00 00 66 [15:18:01]Write i2c OK [15:18:01]MH_I2C_Read... [15:18:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:18:01]Read from MH i2c: E2 [15:18:01]MH_I2C_Read... [15:18:01]Read from MH i2c: E2 FD 00 [15:18:01]MH_I2C_Read... [15:18:01]Read from MH i2c: E2 FD 00 CB 1B 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 D5 [15:18:01]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 [15:18:01]wFMCommunicate OK [15:18:01]wFMCommunicate request_size=4 [15:18:01]MH_SAM_APDU [15:18:01]CAPDU: 80 17 00 00 [15:18:01]Write to MH i2c: E2 08 00 CC 1B 80 17 00 00 00 00 00 00 67 [15:18:01]Write i2c OK [15:18:01]MH_I2C_Read... [15:18:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [15:18:01]Read from MH i2c: E2 [15:18:01]MH_I2C_Read... [15:18:01]Read from MH i2c: E2 D3 00 [15:18:01]MH_I2C_Read... [15:18:01]Read from MH i2c: E2 D3 00 CC 1B 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 54 [15:18:01]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 [15:18:02]wFMCommunicate OK [15:18:02]SAM_PROTO_GetShiftData done [15:18:02]requested_item shift.sale.total_cash is exist - process it [15:18:02]requested_item shift.sale_refund.total is exist - process it [15:18:02]requested_item shift.sale_refund.total_cash is exist - process it [15:18:02]produce_requested_data done [15:18:02]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57188,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":23079.41,"shift.sale.total_cash":19348.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [15:18:02]process_action_free close_receipt [15:18:02]json_value_free [15:18:02]json_value_free done [15:18:02]process_json_proto returns [15:18:02]Send response to host [15:18:02]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57188,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":23079.41,"shift.sale.total_cash":19348.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [15:18:02]free response buf [15:18:02]execute_script done [15:18:02]execute_script returns [15:18:02]free content buf [15:18:02]Sock 9.Close socket [15:18:02]Sock 9.Thread stoped [15:18:04]OFD Sender: No OFD packet to send [15:18:09]OFD Sender: No OFD packet to send [15:18:14]OFD Sender: No OFD packet to send [15:18:19]OFD Sender: No OFD packet to send [15:18:24]OFD Sender: No OFD packet to send [15:18:29]OFD Sender: No OFD packet to send [15:18:32]accept exits with 8 [15:18:32]New connection [15:18:32]New thread 3067067748 created [15:18:32]Thread 3066924388 joined [15:18:32]Waiting for new connection... [15:18:32] Sock 8.Parse request [15:18:32]Sock 8.Check first char [15:18:32]Sock 8.First char is OK [15:18:32]request: POST /json_proto HTTP/1.0 [15:18:32]Method: POST [15:18:32]URL: /json_proto [15:18:32]Method is POST - this is cgi request [15:18:32]url: /json_proto [15:18:32]query_string will be loaded in cgi processing [15:18:32]execute_cgi json_proto POST (null) [15:18:32]execute_cgi path=json_proto method=POST [15:18:32]POST find Content-Length [15:18:32]Host: 172.17.39.4:8080 [15:18:32]Content-Length: 781 [15:18:32]Content-Type: application/json [15:18:32] [15:18:32]POST finish read [15:18:32]Found Content-Length = 781 [15:18:32]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)855952", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 43", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.30, "quantity" : 5.130, "sum" : 340.12, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 340.00, "total" : 340.00, "payments": [ { "type": 0, "sum" : 340.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:32]execute_script... [15:18: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 : (1)855952", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 43", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.30, "quantity" : 5.130, "sum" : 340.12, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 340.00, "total" : 340.00, "payments": [ { "type": 0, "sum" : 340.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:32]POST & json_proto [15:18:32]process_json_proto [15:18:32]json parsed OK: [15:18:32]protocol is kg_v1.0 [15:18:32]action value=close_receipt [15:18:32]process_action close_receipt [15:18:32]cmd_close_receipt [15:18:32]MH_GetDate [15:18:32]Write to MH i2c: F0 00 00 CD 1B D7 [15:18:32]Write i2c OK [15:18:32]MH_I2C_Read... [15:18:32]Read from MH i2c: F0 [15:18:32]MH_I2C_Read... [15:18:32]Read from MH i2c: F0 09 00 [15:18:32]MH_I2C_Read... [15:18:32]Read from MH i2c: F0 09 00 CD 1B 00 CD 3D 95 66 2D 25 5D 64 F8 [15:18:32]GetLastDocTimeStamp 1721056680 [15:18:32]current date 1721056717 [15:18:32]FM_GetShiftState [15:18:32]SAM_PROTO_GetShiftState [15:18:32]wFMCommunicate request_size=4 [15:18:32]MH_SAM_APDU [15:18:32]CAPDU: 80 13 01 00 [15:18:32]Write to MH i2c: E2 08 00 CE 1B 80 13 01 00 00 00 00 00 66 [15:18:32]Write i2c OK [15:18:32]MH_I2C_Read... [15:18:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:18:32]Read from MH i2c: E2 [15:18:32]MH_I2C_Read... [15:18:32]Read from MH i2c: E2 0E 00 [15:18:32]MH_I2C_Read... [15:18:32]Read from MH i2c: E2 0E 00 CE 1B 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 DF [15:18:32]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [15:18:32]wFMCommunicate OK [15:18:32]SAM_PROTO_GetShiftState done [15:18:32]FM_GetShiftState done [15:18:32]opened in 1721003525 [15:18:32]opened+sec_in_day 1721089925 [15:18:32]quantity*price = 34011 [15:18:32]sum+1 = 34013 [15:18:32]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.12 ИТОГО: 340.00 Внесено: 340.00 СДАЧА: 0.00 НСП 1% : 3.01 НДС 12% : 36.12 Наличными: 340.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 84 15.07.2024 15:18 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57189 ФПД: 275496190175127 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T151837&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57189&fm=275496190175127&tin=02508201610067®Number=0000000000091208&sum=34000 [15:18:34]StoreToDocumentArchive [15:18:34]shift 497 fd 57189 [15:18:34]save to /storage/0497/doc_00057189 [15:18:34]save last doc name /storage/0497/doc_00057189 to /storage/kkm_last_doc_name [15:18:34]save OK [15:18:34]Clear old archive folders... [15:18:34]ProcessDocumentItem done err = 0, tmpTLVsize=251 [15:18:34]tlvbuf is 009E8510 [15:18:34]SAM_PROTO_ClearQueue [15:18:34]wFMCommunicate request_size=4 [15:18:34]MH_SAM_APDU [15:18:34]CAPDU: 80 09 00 00 [15:18:34]Write to MH i2c: E2 08 00 DB 1B 80 09 00 00 00 00 00 00 68 [15:18:34]Write i2c OK [15:18:34]MH_I2C_Read... [15:18:34]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:18:34]Read from MH i2c: E2 [15:18:34]MH_I2C_Read... [15:18:34]Read from MH i2c: E2 03 00 [15:18:34]MH_I2C_Read... [15:18:34]Read from MH i2c: E2 03 00 DB 1B 00 90 00 6A [15:18:34]RAPDU: 90 00 [15:18:34]wFMCommunicate OK [15:18:34]SAM_PROTO_ClearQueue done [15:18:34]KKMCreateOFDPacket [15:18:34]OFDProtocolAddRootSTLVToBuf [15:18:34]FM_MakeSignedData [15:18:34]FM_MakeSignedData [15:18:34]SAM_PROTO_SignData [15:18:34]wFMCommunicate request_size=4 [15:18:34]MH_SAM_APDU [15:18:34]CAPDU: 80 0D 01 02 [15:18:34]Write to MH i2c: E2 08 00 DC 1B 80 0D 01 02 00 00 00 00 70 [15:18:34]Write i2c OK [15:18:34]MH_I2C_Read... [15:18:34]OFD Sender: No OFD packet to send [15:18:34]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:18:34]Read from MH i2c: E2 [15:18:34]MH_I2C_Read... [15:18:34]Read from MH i2c: E2 03 00 [15:18:34]MH_I2C_Read... [15:18:34]Read from MH i2c: E2 03 00 DC 1B 00 90 00 6B [15:18:34]RAPDU: 90 00 [15:18:34]wFMCommunicate OK [15:18:34]wFMCommunicate request_size=255 [15:18:34]MH_SAM_APDU [15:18:34]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 0A 14 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 DC 84 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 84 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2D 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1C 0E 00 00 00 00 07 04 06 00 D0 84 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 54 00 00 00 F4 03 04 00 CD 3D 95 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 65 DF 00 00 35 04 06 00 FA [15:18:34]Write to MH i2c: E2 02 01 DD 1B 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 0A 14 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 DC 84 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 84 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2D 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1C 0E 00 00 00 00 07 04 06 00 D0 84 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 54 00 00 00 F4 03 04 00 CD 3D 95 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 65 DF 00 00 35 04 06 00 FA 00 00 82 [15:18:34]Write i2c OK [15:18:34]MH_I2C_Read... [15:18:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:18:34]Read from MH i2c: E2 [15:18:34]MH_I2C_Read... [15:18:34]Read from MH i2c: E2 03 00 [15:18:34]MH_I2C_Read... [15:18:34]Read from MH i2c: E2 03 00 DD 1B 00 90 00 6C [15:18:34]RAPDU: 90 00 [15:18:34]wFMCommunicate OK [15:18:34]wFMCommunicate request_size=10 [15:18:34]MH_SAM_APDU [15:18:34]CAPDU: 80 0D 02 02 05 8F F4 8D 67 97 [15:18:34]Write to MH i2c: E2 0D 00 DE 1B 80 0D 02 02 05 00 8F F4 8D 67 97 00 00 8B [15:18:34]Write i2c OK [15:18:34]MH_I2C_Read... [15:18:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:18:34]Read from MH i2c: E2 [15:18:34]MH_I2C_Read... [15:18:34]Read from MH i2c: E2 03 00 [15:18:34]MH_I2C_Read... [15:18:34]Read from MH i2c: E2 03 00 DE 1B 00 90 00 6D [15:18:34]RAPDU: 90 00 [15:18:34]wFMCommunicate OK [15:18:34]wFMCommunicate request_size=4 [15:18:34]MH_SAM_APDU [15:18:34]CAPDU: 80 0D 03 02 [15:18:34]Write to MH i2c: E2 08 00 DF 1B 80 0D 03 02 00 00 00 00 75 [15:18:34]Write i2c OK [15:18:34]MH_I2C_Read... [15:18:34]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:18:34]Read from MH i2c: E2 [15:18:34]MH_I2C_Read... [15:18:34]Read from MH i2c: E2 0B 00 [15:18:34]MH_I2C_Read... [15:18:34]Read from MH i2c: E2 0B 00 DF 1B 00 B2 7E 17 F0 9C D9 EC 42 90 00 50 [15:18:34]RAPDU: B2 7E 17 F0 9C D9 EC 42 90 00 [15:18:34]wFMCommunicate OK [15:18:34]SAM_PROTO_SignData done [15:18:34]FM_MakeSignedData done [15:18:34]CreateOFDProtocolMessage [15:18:34]wFMCommunicate request_size=4 [15:18:34]MH_SAM_APDU [15:18:34]CAPDU: 80 11 00 00 [15:18:34]Write to MH i2c: E2 08 00 E0 1B 80 11 00 00 00 00 00 00 75 [15:18:34]Write i2c OK [15:18:34]MH_I2C_Read... [15:18:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:18:34]Read from MH i2c: E2 [15:18:34]MH_I2C_Read... [15:18:34]Read from MH i2c: E2 17 00 [15:18:34]MH_I2C_Read... [15:18:34]Read from MH i2c: E2 17 00 E0 1B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 CF [15:18:34]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:34]wFMCommunicate OK [15:18:34]CreateOFDProtocolMessage done [15:18:34]OFDSenderStorePacket 57189 [15:18:34]StoreOFDPacket docnum=57189 [15:18: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 0F 01 00 00 F3 15 07 01 A3 B7 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 0A 14 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 DC 84 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 84 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2D 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1C 0E 00 00 00 00 07 04 06 00 D0 84 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 54 00 00 00 F4 03 04 00 CD 3D 95 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 65 DF 00 00 35 04 06 00 FA 8F F4 8D 67 97 B2 7E 17 F0 9C D9 EC 42 [15:18:34]CheckFolder [15:18:34]dirname=/storage/ofd_packets [15:18:34]CheckFolder done [15:18:34]ProducePacketName [15:18:34]name=ofd_packets/00057189 [15:18:34]NVStorageSaveData ofd_packets/00057189 [15:18:34]File name is /storage/ofd_packets/00057189 [15:18:34]Write 301 bytes [15:18:34]NVStorageSaveData done [15:18:34]OFDSenderStorePacket done [15:18:34]KKMCreateOFDPacket done [15:18:34]NVStorageSaveData kkm_last_timestamp [15:18:34]File name is /storage/kkm_last_timestamp [15:18:34]Write 4 bytes [15:18:34]NVStorageSaveData done [15:18:34]ExternCall_PrintAddStr [15:18:34]wPrintStart [15:18:34]Write to MH i2c: 01 00 00 E1 1B FC [15:18:34]Write i2c OK [15:18:34]MH_I2C_Read... [15:18:34]Read from MH i2c: 01 [15:18:34]MH_I2C_Read... [15:18:34]Read from MH i2c: 01 07 00 [15:18:34]MH_I2C_Read... [15:18:34]Read from MH i2c: 01 07 00 E1 1B 00 00 00 00 00 FF 0F 11 [15:18:34]RasterBufferAndPrint [15:18:34]line Счет N : (1)855952 [15:18:34]line ИНН: 02508201610067 [15:18:34]line Контрольно-Кассовый Чек [15:18:34]line ПРОДАЖА [15:18:34]line ТРК (МРК, ГНК) : 43 [15:18:34]line Товар: 2710124130 [15:18:34]line Аи-92-К-5 [15:18:34]line 5.130 * 66.30 [15:18:34]line = 340.12 [15:18:34]line НДС 12% НСП 1% [15:18:34]line > о реализуемом товаре [15:18:34]line ОКРУГЛЕНИЕ: -0.12 [15:18:34]line ИТОГО: 340.00 [15:18:34]line Внесено: 340.00 [15:18:34]line СДАЧА: 0.00 [15:18:34]line НСП 1% : 3.01 [15:18:34]line НДС 12% : 36.12 [15:18:34]line Наличными: 340.00 [15:18:34]line Безнал.: 0.00 [15:18:34]line Место: АЗС № 132 "Партнер Нефть" [15:18:34]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [15:18:34]line СНО: Общий режим [15:18:34]line Чек 84 15.07.2024 15:18 [15:18:34]line Смена: 497 ФФД: 1.0 [15:18:34]line ЗНМ: 0300000132 [15:18:34]line РНМ: 0000000000091208 [15:18:34]line Версия ККМ: 001 [15:18:34]line ФМ: 0000000000874857 [15:18:34]line ФД: 57189 [15:18:34]line ФПД: 275496190175127 [15:18:34]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T151837&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57189&fm=275496190175127&tin=02508201610067®Number=0000000000091208&sum=34000 [15:18:34]OFD Sender: Processing packet 57189 [packets to send 38, broken 37] [15:18:34]ProducePacketName [15:18:34]name=ofd_packets/00057189 [15:18:34]OFD Sender: To server: pG, [15:18:34]CommunicateWithHost lk.salyk.kg:30040 [15:18:34]ConnectInit lk.salyk.kg [15:18:34]written 0, free lines is 4095 [15:18:35]Connected sock=10 [15:18: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 0F 01 00 00 F3 15 07 01 A3 B7 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 0A 14 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 DC 84 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 84 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2D 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1C 0E 00 00 00 00 07 04 06 00 D0 84 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 54 00 00 00 F4 03 04 00 CD 3D 95 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 65 DF 00 00 35 04 06 00 FA 8F F4 8D 67 97 B2 7E 17 F0 9C D9 EC 42 [15:18: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 37 AF 47 00 78 EF A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 65 DF 00 00 F4 03 04 00 1A E4 94 66 B6 04 01 00 00 3C 17 01 72 E6 69 AA 5D [15:18:35]CommunicateWithHost err = 0 [15:18:35]CheckOFDResponse [15:18:35]1017 (14) - 77093643461234 [15:18:35]1041 (16) - 0000000000874857 [15:18:35]1040 (4) - 57189 [15:18:35]1012 (4) - 15.07.2024 08:55 [15:18:35]1206 (1) - 0 [15:18:35]OFD Sender: Remove packet 57189 [15:18:35]ProducePacketName [15:18:35]name=ofd_packets/00057189 [15:18:35]NVStorageDeleteData [15:18:35]Write to MH i2c: 01 00 00 0C 1C 28 [15:18:35]Write i2c OK [15:18:35]MH_I2C_Read... [15:18:35]Read from MH i2c: 01 [15:18:35]MH_I2C_Read... [15:18:35]Read from MH i2c: 01 07 00 [15:18:35]MH_I2C_Read... [15:18:35]Read from MH i2c: 01 07 00 0C 1C 00 00 00 00 00 F4 0C 2F [15:18:35]RasterBufferAndPrint [15:18:35]line [15:18:35]line [15:18:35]line [15:18:35]line [15:18:35]line [15:18:35]written 0, free lines is 3323 [15:18:35]MH_Cut [15:18:35]Write to MH i2c: D1 01 00 13 1C 01 01 [15:18:35]Write i2c OK [15:18:35]MH_I2C_Read... [15:18:35]Read from MH i2c: D1 [15:18:35]MH_I2C_Read... [15:18:35]Read from MH i2c: D1 01 00 [15:18:35]MH_I2C_Read... [15:18:35]Read from MH i2c: D1 01 00 13 1C 00 00 [15:18:35]Write to MH i2c: 01 00 00 14 1C 30 [15:18:35]Write i2c OK [15:18:35]MH_I2C_Read... [15:18:35]OFD Sender: No OFD packet to send [15:18:36]*** Cut start [15:18:36]*** Partial cut [15:18:36]*** CUTSNS_PIN = 1 [15:18:36]*** CUTSNS_PIN = 0 [15:18:36]*** Brake cut motor [15:18:36]Read from MH i2c: 01 [15:18:36]MH_I2C_Read... [15:18:36]*** Stop cut motor [15:18:36]*** Cut end [15:18:36]Read from MH i2c: 01 07 00 [15:18:36]MH_I2C_Read... [15:18:36]Read from MH i2c: 01 07 00 14 1C 00 00 00 00 00 FF 0F 45 [15:18:36]process_action close_receipt done [15:18:36]requested_data is exist [15:18:36]produce_requested_data [15:18:36]requested_item fm.sn is exist - process it [15:18:36]wFMCommunicate request_size=4 [15:18:36]MH_SAM_APDU [15:18:36]CAPDU: 80 11 00 00 [15:18:36]Write to MH i2c: E2 08 00 15 1C 80 11 00 00 00 00 00 00 AB [15:18:36]Write i2c OK [15:18:36]MH_I2C_Read... [15:18:36]Read from MH i2c: E2 [15:18:36]MH_I2C_Read... [15:18:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:18:36]Read from MH i2c: E2 17 00 [15:18:36]MH_I2C_Read... [15:18:36]Read from MH i2c: E2 17 00 15 1C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 05 [15:18:36]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:36]wFMCommunicate OK [15:18:36]requested_item fd.num is exist - process it [15:18:36]SAM_PROTO_GetFieldsCounters [15:18:36]wFMCommunicate request_size=4 [15:18:36]MH_SAM_APDU [15:18:36]CAPDU: 80 13 00 00 [15:18:36]Write to MH i2c: E2 08 00 16 1C 80 13 00 00 00 00 00 00 AE [15:18:36]Write i2c OK [15:18:36]MH_I2C_Read... [15:18:36]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:18:36]Read from MH i2c: E2 [15:18:36]MH_I2C_Read... [15:18:36]Read from MH i2c: E2 62 00 [15:18:36]MH_I2C_Read... [15:18:36]Read from MH i2c: E2 62 00 16 1C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 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 65 DF 00 00 0E 04 04 00 F1 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 03 [15:18: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 65 DF 00 00 0E 04 04 00 F1 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 [15:18:36]wFMCommunicate OK [15:18:36]SAM_PROTO_GetFieldsCounters done [15:18:36]requested_item shift.num is exist - process it [15:18:36]requested_item shift.opened is exist - process it [15:18:36]req_shift_opened [15:18:36]FM_GetShiftState [15:18:36]SAM_PROTO_GetShiftState [15:18:36]wFMCommunicate request_size=4 [15:18:36]MH_SAM_APDU [15:18:36]CAPDU: 80 13 01 00 [15:18:36]Write to MH i2c: E2 08 00 17 1C 80 13 01 00 00 00 00 00 B0 [15:18:36]Write i2c OK [15:18:36]MH_I2C_Read... [15:18:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:18:37]Read from MH i2c: E2 [15:18:37]MH_I2C_Read... [15:18:37]Read from MH i2c: E2 0E 00 [15:18:37]MH_I2C_Read... [15:18:37]Read from MH i2c: E2 0E 00 17 1C 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 29 [15:18:37]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [15:18:37]wFMCommunicate OK [15:18:37]SAM_PROTO_GetShiftState done [15:18:37]FM_GetShiftState done [15:18:37]req_shift_opened done [15:18:37]requested_item shift.open_date is exist - process it [15:18:37]req_shift_open_date [15:18:37]req_shift_open_date done [15:18:37]requested_item shift.sale.total is exist - process it [15:18:37]SAM_PROTO_GetShiftData [15:18:37]wFMCommunicate request_size=4 [15:18:37]MH_SAM_APDU [15:18:37]CAPDU: 80 13 02 00 [15:18:37]Write to MH i2c: E2 08 00 18 1C 80 13 02 00 00 00 00 00 B2 [15:18:37]Write i2c OK [15:18:37]MH_I2C_Read... [15:18:37]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [15:18:37]Read from MH i2c: E2 [15:18:37]MH_I2C_Read... [15:18:37]Read from MH i2c: E2 FD 00 [15:18:37]MH_I2C_Read... [15:18:37]Read from MH i2c: E2 FD 00 18 1C 00 B6 04 AA 04 B2 04 6E 04 04 00 54 00 00 00 69 04 9B 00 6F 04 04 00 53 00 00 00 B1 04 03 00 35 BC 23 70 04 03 00 A0 0A 1E 72 04 03 00 95 B1 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 92 CB 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 F2 50 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 84 [15:18:37]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 54 00 00 00 69 04 9B 00 6F 04 04 00 53 00 00 00 B1 04 03 00 35 BC 23 70 04 03 00 A0 0A 1E 72 04 03 00 95 B1 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 92 CB 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 F2 50 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 [15:18:37]wFMCommunicate OK [15:18:37]wFMCommunicate request_size=4 [15:18:37]MH_SAM_APDU [15:18:37]CAPDU: 80 17 00 00 [15:18:37]Write to MH i2c: E2 08 00 19 1C 80 17 00 00 00 00 00 00 B5 [15:18:37]Write i2c OK [15:18:37]MH_I2C_Read... [15:18:37]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:18:37]Read from MH i2c: E2 [15:18:37]MH_I2C_Read... [15:18:37]Read from MH i2c: E2 FD 00 [15:18:37]MH_I2C_Read... [15:18:37]Read from MH i2c: E2 FD 00 19 1C 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 EA [15:18:37]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 [15:18:37]wFMCommunicate OK [15:18:37]wFMCommunicate request_size=4 [15:18:37]MH_SAM_APDU [15:18:37]CAPDU: 80 17 00 00 [15:18:37]Write to MH i2c: E2 08 00 1A 1C 80 17 00 00 00 00 00 00 B6 [15:18:37]Write i2c OK [15:18:37]MH_I2C_Read... [15:18:38]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:18:38]Read from MH i2c: E2 [15:18:38]MH_I2C_Read... [15:18:38]Read from MH i2c: E2 FD 00 [15:18:38]MH_I2C_Read... [15:18:38]Read from MH i2c: E2 FD 00 1A 1C 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 76 [15:18:38]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 [15:18:38]wFMCommunicate OK [15:18:38]wFMCommunicate request_size=4 [15:18:38]MH_SAM_APDU [15:18:38]CAPDU: 80 17 00 00 [15:18:38]Write to MH i2c: E2 08 00 1B 1C 80 17 00 00 00 00 00 00 B7 [15:18:38]Write i2c OK [15:18:38]MH_I2C_Read... [15:18:38]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:18:38]Read from MH i2c: E2 [15:18:38]MH_I2C_Read... [15:18:38]Read from MH i2c: E2 FD 00 [15:18:38]MH_I2C_Read... [15:18:38]Read from MH i2c: E2 FD 00 1B 1C 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 26 [15:18:38]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 [15:18:38]wFMCommunicate OK [15:18:38]wFMCommunicate request_size=4 [15:18:38]MH_SAM_APDU [15:18:38]CAPDU: 80 17 00 00 [15:18:38]Write to MH i2c: E2 08 00 1C 1C 80 17 00 00 00 00 00 00 B8 [15:18:38]Write i2c OK [15:18:38]MH_I2C_Read... [15:18:38]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [15:18:38]Read from MH i2c: E2 [15:18:38]MH_I2C_Read... [15:18:38]Read from MH i2c: E2 D3 00 [15:18:38]MH_I2C_Read... [15:18:38]Read from MH i2c: E2 D3 00 1C 1C 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 A5 [15:18:38]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 [15:18:38]wFMCommunicate OK [15:18:38]SAM_PROTO_GetShiftData done [15:18:38]requested_item shift.sale.total_cash is exist - process it [15:18:38]requested_item shift.sale_refund.total is exist - process it [15:18:38]requested_item shift.sale_refund.total_cash is exist - process it [15:18:38]produce_requested_data done [15:18:38]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57189,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":23419.41,"shift.sale.total_cash":19688.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [15:18:38]process_action_free close_receipt [15:18:38]json_value_free [15:18:38]json_value_free done [15:18:38]process_json_proto returns [15:18:38]Send response to host [15:18:38]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57189,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":23419.41,"shift.sale.total_cash":19688.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [15:18:38]free response buf [15:18:38]execute_script done [15:18:38]execute_script returns [15:18:38]free content buf [15:18:38]Sock 8.Close socket [15:18:38]Sock 8.Thread stoped [15:18:40]OFD Sender: No OFD packet to send [15:18:45]OFD Sender: No OFD packet to send [15:18:47]accept exits with 9 [15:18:47]New connection [15:18:47]New thread 3066924388 created [15:18:47]Thread 3067067748 joined [15:18:47]Waiting for new connection... [15:18:47] Sock 9.Parse request [15:18:47]Sock 9.Check first char [15:18:47]Sock 9.First char is OK [15:18:47]request: POST /json_proto HTTP/1.0 [15:18:47]Method: POST [15:18:47]URL: /json_proto [15:18:47]Method is POST - this is cgi request [15:18:47]url: /json_proto [15:18:47]query_string will be loaded in cgi processing [15:18:47]execute_cgi json_proto POST (null) [15:18:47]execute_cgi path=json_proto method=POST [15:18:47]POST find Content-Length [15:18:47]Host: 172.17.39.4:8080 [15:18:47]Content-Length: 781 [15:18:47]Content-Type: application/json [15:18:47] [15:18:47]POST finish read [15:18:47]Found Content-Length = 781 [15:18:47]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)855953", "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" : 6.110, "sum" : 405.09, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 405.00, "total" : 405.00, "payments": [ { "type": 0, "sum" : 405.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:47]execute_script... [15:18: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 : (1)855953", "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" : 6.110, "sum" : 405.09, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 405.00, "total" : 405.00, "payments": [ { "type": 0, "sum" : 405.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:47]POST & json_proto [15:18:47]process_json_proto [15:18:47]json parsed OK: [15:18:47]protocol is kg_v1.0 [15:18:47]action value=close_receipt [15:18:47]process_action close_receipt [15:18:47]cmd_close_receipt [15:18:47]MH_GetDate [15:18:47]Write to MH i2c: F0 00 00 1D 1C 28 [15:18:47]Write i2c OK [15:18:47]MH_I2C_Read... [15:18:47]Read from MH i2c: F0 [15:18:47]MH_I2C_Read... [15:18:47]Read from MH i2c: F0 09 00 [15:18:47]MH_I2C_Read... [15:18:47]Read from MH i2c: F0 09 00 1D 1C 00 DC 3D 95 66 2D 25 5D 64 58 [15:18:47]GetLastDocTimeStamp 1721056717 [15:18:47]current date 1721056732 [15:18:47]FM_GetShiftState [15:18:47]SAM_PROTO_GetShiftState [15:18:47]wFMCommunicate request_size=4 [15:18:47]MH_SAM_APDU [15:18:47]CAPDU: 80 13 01 00 [15:18:47]Write to MH i2c: E2 08 00 1E 1C 80 13 01 00 00 00 00 00 B7 [15:18:47]Write i2c OK [15:18:47]MH_I2C_Read... [15:18:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:18:47]Read from MH i2c: E2 [15:18:47]MH_I2C_Read... [15:18:47]Read from MH i2c: E2 0E 00 [15:18:47]MH_I2C_Read... [15:18:47]Read from MH i2c: E2 0E 00 1E 1C 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 30 [15:18:47]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [15:18:47]wFMCommunicate OK [15:18:47]SAM_PROTO_GetShiftState done [15:18:47]FM_GetShiftState done [15:18:47]opened in 1721003525 [15:18:47]opened+sec_in_day 1721089925 [15:18:47]quantity*price = 40509 [15:18:47]sum+1 = 40510 [15:18:47]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.09 ИТОГО: 405.00 Внесено: 405.00 СДАЧА: 0.00 НСП 1% : 3.58 НДС 12% : 43.02 Наличными: 405.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 85 15.07.2024 15:18 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57190 ФПД: 79235562741785 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T151852&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57190&fm=79235562741785&tin=02508201610067®Number=0000000000091208&sum=40500 [15:18:49]StoreToDocumentArchive [15:18:49]shift 497 fd 57190 [15:18:49]save to /storage/0497/doc_00057190 [15:18:49]save last doc name /storage/0497/doc_00057190 to /storage/kkm_last_doc_name [15:18:49]save OK [15:18:49]Clear old archive folders... [15:18:49]ProcessDocumentItem done err = 0, tmpTLVsize=251 [15:18:49]tlvbuf is B6EDDC20 [15:18:49]SAM_PROTO_ClearQueue [15:18:49]wFMCommunicate request_size=4 [15:18:49]MH_SAM_APDU [15:18:49]CAPDU: 80 09 00 00 [15:18:49]Write to MH i2c: E2 08 00 2B 1C 80 09 00 00 00 00 00 00 B9 [15:18:49]Write i2c OK [15:18:49]MH_I2C_Read... [15:18:49]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:18:49]Read from MH i2c: E2 [15:18:49]MH_I2C_Read... [15:18:49]Read from MH i2c: E2 03 00 [15:18:49]MH_I2C_Read... [15:18:49]Read from MH i2c: E2 03 00 2B 1C 00 90 00 BB [15:18:49]RAPDU: 90 00 [15:18:49]wFMCommunicate OK [15:18:49]SAM_PROTO_ClearQueue done [15:18:49]KKMCreateOFDPacket [15:18:49]OFDProtocolAddRootSTLVToBuf [15:18:49]FM_MakeSignedData [15:18:49]FM_MakeSignedData [15:18:49]SAM_PROTO_SignData [15:18:49]wFMCommunicate request_size=4 [15:18:49]MH_SAM_APDU [15:18:49]CAPDU: 80 0D 01 02 [15:18:49]Write to MH i2c: E2 08 00 2C 1C 80 0D 01 02 00 00 00 00 C1 [15:18:49]Write i2c OK [15:18:49]MH_I2C_Read... [15:18:49]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:18:49]Read from MH i2c: E2 [15:18:49]MH_I2C_Read... [15:18:49]Read from MH i2c: E2 03 00 [15:18:49]MH_I2C_Read... [15:18:49]Read from MH i2c: E2 03 00 2C 1C 00 90 00 BC [15:18:49]RAPDU: 90 00 [15:18:49]wFMCommunicate OK [15:18:49]wFMCommunicate request_size=255 [15:18:49]MH_SAM_APDU [15:18:49]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 DE 17 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 3D 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 CE 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 55 00 00 00 F4 03 04 00 DC 3D 95 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 66 DF 00 00 35 04 06 00 48 [15:18:49]Write to MH i2c: E2 02 01 2D 1C 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 DE 17 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 3D 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 CE 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 55 00 00 00 F4 03 04 00 DC 3D 95 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 66 DF 00 00 35 04 06 00 48 00 00 6D [15:18:49]Write i2c OK [15:18:49]MH_I2C_Read... [15:18:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:18:49]Read from MH i2c: E2 [15:18:49]MH_I2C_Read... [15:18:49]Read from MH i2c: E2 03 00 [15:18:49]MH_I2C_Read... [15:18:49]Read from MH i2c: E2 03 00 2D 1C 00 90 00 BD [15:18:49]RAPDU: 90 00 [15:18:49]wFMCommunicate OK [15:18:49]wFMCommunicate request_size=10 [15:18:49]MH_SAM_APDU [15:18:49]CAPDU: 80 0D 02 02 05 10 77 92 20 19 [15:18:49]Write to MH i2c: E2 0D 00 2E 1C 80 0D 02 02 05 00 10 77 92 20 19 00 00 20 [15:18:49]Write i2c OK [15:18:49]MH_I2C_Read... [15:18:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:18:49]Read from MH i2c: E2 [15:18:49]MH_I2C_Read... [15:18:49]Read from MH i2c: E2 03 00 [15:18:49]MH_I2C_Read... [15:18:49]Read from MH i2c: E2 03 00 2E 1C 00 90 00 BE [15:18:49]RAPDU: 90 00 [15:18:49]wFMCommunicate OK [15:18:49]wFMCommunicate request_size=4 [15:18:49]MH_SAM_APDU [15:18:49]CAPDU: 80 0D 03 02 [15:18:49]Write to MH i2c: E2 08 00 2F 1C 80 0D 03 02 00 00 00 00 C6 [15:18:49]Write i2c OK [15:18:49]MH_I2C_Read... [15:18:49]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:18:49]Read from MH i2c: E2 [15:18:49]MH_I2C_Read... [15:18:49]Read from MH i2c: E2 0B 00 [15:18:49]MH_I2C_Read... [15:18:49]Read from MH i2c: E2 0B 00 2F 1C 00 0D 2C 4B CC 94 B9 C1 D9 90 00 FE [15:18:49]RAPDU: 0D 2C 4B CC 94 B9 C1 D9 90 00 [15:18:49]wFMCommunicate OK [15:18:49]SAM_PROTO_SignData done [15:18:49]FM_MakeSignedData done [15:18:49]CreateOFDProtocolMessage [15:18:49]wFMCommunicate request_size=4 [15:18:49]MH_SAM_APDU [15:18:49]CAPDU: 80 11 00 00 [15:18:49]Write to MH i2c: E2 08 00 30 1C 80 11 00 00 00 00 00 00 C6 [15:18:49]Write i2c OK [15:18:49]MH_I2C_Read... [15:18:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:18:49]Read from MH i2c: E2 [15:18:49]MH_I2C_Read... [15:18:49]Read from MH i2c: E2 17 00 [15:18:49]MH_I2C_Read... [15:18:49]Read from MH i2c: E2 17 00 30 1C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 20 [15:18:49]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:49]wFMCommunicate OK [15:18:49]CreateOFDProtocolMessage done [15:18:49]OFDSenderStorePacket 57190 [15:18:49]StoreOFDPacket docnum=57190 [15:18: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 0F 01 00 00 FD 88 07 01 C0 B8 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 DE 17 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 3D 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 CE 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 55 00 00 00 F4 03 04 00 DC 3D 95 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 66 DF 00 00 35 04 06 00 48 10 77 92 20 19 0D 2C 4B CC 94 B9 C1 D9 [15:18:49]CheckFolder [15:18:49]dirname=/storage/ofd_packets [15:18:49]CheckFolder done [15:18:49]ProducePacketName [15:18:49]name=ofd_packets/00057190 [15:18:49]NVStorageSaveData ofd_packets/00057190 [15:18:49]File name is /storage/ofd_packets/00057190 [15:18:49]Write 301 bytes [15:18:49]NVStorageSaveData done [15:18:49]OFDSenderStorePacket done [15:18:49]KKMCreateOFDPacket done [15:18:49]NVStorageSaveData kkm_last_timestamp [15:18:49]File name is /storage/kkm_last_timestamp [15:18:49]Write 4 bytes [15:18:49]NVStorageSaveData done [15:18:49]ExternCall_PrintAddStr [15:18:49]wPrintStart [15:18:49]Write to MH i2c: 01 00 00 31 1C 4D [15:18:49]Write i2c OK [15:18:49]MH_I2C_Read... [15:18:49]Read from MH i2c: 01 [15:18:49]MH_I2C_Read... [15:18:49]Read from MH i2c: 01 07 00 [15:18:49]MH_I2C_Read... [15:18:49]Read from MH i2c: 01 07 00 31 1C 00 00 00 00 00 FF 0F 62 [15:18:49]RasterBufferAndPrint [15:18:49]line Счет N : (1)855953 [15:18:49]line ИНН: 02508201610067 [15:18:49]line Контрольно-Кассовый Чек [15:18:49]line ПРОДАЖА [15:18:49]line ТРК (МРК, ГНК) : 63 [15:18:49]line Товар: 2710124130 [15:18:49]line Аи-92-К-5 [15:18:49]line 6.110 * 66.30 [15:18:49]line = 405.09 [15:18:49]line НДС 12% НСП 1% [15:18:49]line > о реализуемом товаре [15:18:49]line ОКРУГЛЕНИЕ: -0.09 [15:18:49]line ИТОГО: 405.00 [15:18:49]line Внесено: 405.00 [15:18:49]line СДАЧА: 0.00 [15:18:49]line НСП 1% : 3.58 [15:18:49]line НДС 12% : 43.02 [15:18:49]line Наличными: 405.00 [15:18:49]line Безнал.: 0.00 [15:18:49]line Место: АЗС № 132 "Партнер Нефть" [15:18:49]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [15:18:49]line СНО: Общий режим [15:18:49]line Чек 85 15.07.2024 15:18 [15:18:49]line Смена: 497 ФФД: 1.0 [15:18:49]line ЗНМ: 0300000132 [15:18:49]line РНМ: 0000000000091208 [15:18:49]line Версия ККМ: 001 [15:18:49]line ФМ: 0000000000874857 [15:18:49]line ФД: 57190 [15:18:49]line ФПД: 79235562741785 [15:18:49]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T151852&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57190&fm=79235562741785&tin=02508201610067®Number=0000000000091208&sum=40500 [15:18:49]written 0, free lines is 4095 [15:18:49]OFD Sender: Processing packet 57190 [packets to send 38, broken 37] [15:18:49]ProducePacketName [15:18:49]name=ofd_packets/00057190 [15:18:49]OFD Sender: To server: pG, [15:18:49]CommunicateWithHost lk.salyk.kg:30040 [15:18:49]ConnectInit lk.salyk.kg [15:18:49]Connected sock=11 [15:18: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 0F 01 00 00 FD 88 07 01 C0 B8 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 DE 17 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 3D 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 CE 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 55 00 00 00 F4 03 04 00 DC 3D 95 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 66 DF 00 00 35 04 06 00 48 10 77 92 20 19 0D 2C 4B CC 94 B9 C1 D9 [15:18: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 EA ED 47 00 54 49 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 66 DF 00 00 F4 03 04 00 29 E4 94 66 B6 04 01 00 00 F4 0A BE CB 77 47 1A 1A [15:18:49]CommunicateWithHost err = 0 [15:18:49]CheckOFDResponse [15:18:49]1017 (14) - 77093643461234 [15:18:49]1041 (16) - 0000000000874857 [15:18:49]1040 (4) - 57190 [15:18:49]1012 (4) - 15.07.2024 08:56 [15:18:49]1206 (1) - 0 [15:18:49]OFD Sender: Remove packet 57190 [15:18:49]ProducePacketName [15:18:49]name=ofd_packets/00057190 [15:18:49]NVStorageDeleteData [15:18:50]Write to MH i2c: 01 00 00 5C 1C 78 [15:18:50]Write i2c OK [15:18:50]MH_I2C_Read... [15:18:50]Read from MH i2c: 01 [15:18:50]MH_I2C_Read... [15:18:50]Read from MH i2c: 01 07 00 [15:18:50]MH_I2C_Read... [15:18:50]Read from MH i2c: 01 07 00 5C 1C 00 00 00 00 00 F6 0C 81 [15:18:50]RasterBufferAndPrint [15:18:50]line [15:18:50]line [15:18:50]line [15:18:50]line [15:18:50]line [15:18:50]written 0, free lines is 3324 [15:18:50]MH_Cut [15:18:50]Write to MH i2c: D1 01 00 63 1C 01 51 [15:18:50]Write i2c OK [15:18:50]MH_I2C_Read... [15:18:50]Read from MH i2c: D1 [15:18:50]MH_I2C_Read... [15:18:50]Read from MH i2c: D1 01 00 [15:18:50]MH_I2C_Read... [15:18:50]Read from MH i2c: D1 01 00 63 1C 00 50 [15:18:50]Write to MH i2c: 01 00 00 64 1C 80 [15:18:50]Write i2c OK [15:18:50]MH_I2C_Read... [15:18:50]OFD Sender: No OFD packet to send [15:18:50]*** Cut start [15:18:50]*** Partial cut [15:18:50]*** CUTSNS_PIN = 1 [15:18:50]*** CUTSNS_PIN = 0 [15:18:51]*** Brake cut motor [15:18:51]Read from MH i2c: 01 [15:18:51]MH_I2C_Read... [15:18:51]*** Stop cut motor [15:18:51]*** Cut end [15:18:51]Read from MH i2c: 01 07 00 [15:18:51]MH_I2C_Read... [15:18:51]Read from MH i2c: 01 07 00 64 1C 00 00 00 00 00 FF 0F 95 [15:18:51]process_action close_receipt done [15:18:51]requested_data is exist [15:18:51]produce_requested_data [15:18:51]requested_item fm.sn is exist - process it [15:18:51]wFMCommunicate request_size=4 [15:18:51]MH_SAM_APDU [15:18:51]CAPDU: 80 11 00 00 [15:18:51]Write to MH i2c: E2 08 00 65 1C 80 11 00 00 00 00 00 00 FB [15:18:51]Write i2c OK [15:18:51]MH_I2C_Read... [15:18:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:18:51]Read from MH i2c: E2 [15:18:51]MH_I2C_Read... [15:18:51]Read from MH i2c: E2 17 00 [15:18:51]MH_I2C_Read... [15:18:51]Read from MH i2c: E2 17 00 65 1C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 55 [15:18: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:18:51]wFMCommunicate OK [15:18:51]requested_item fd.num is exist - process it [15:18:51]SAM_PROTO_GetFieldsCounters [15:18:51]wFMCommunicate request_size=4 [15:18:51]MH_SAM_APDU [15:18:51]CAPDU: 80 13 00 00 [15:18:51]Write to MH i2c: E2 08 00 66 1C 80 13 00 00 00 00 00 00 FE [15:18:51]Write i2c OK [15:18:51]MH_I2C_Read... [15:18:51]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:18:51]Read from MH i2c: E2 [15:18:51]MH_I2C_Read... [15:18:51]Read from MH i2c: E2 62 00 [15:18:51]MH_I2C_Read... [15:18:51]Read from MH i2c: E2 62 00 66 1C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 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 66 DF 00 00 0E 04 04 00 F1 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 57 [15:18: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 66 DF 00 00 0E 04 04 00 F1 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 [15:18:51]wFMCommunicate OK [15:18:51]SAM_PROTO_GetFieldsCounters done [15:18:51]requested_item shift.num is exist - process it [15:18:51]requested_item shift.opened is exist - process it [15:18:51]req_shift_opened [15:18:51]FM_GetShiftState [15:18:51]SAM_PROTO_GetShiftState [15:18:51]wFMCommunicate request_size=4 [15:18:51]MH_SAM_APDU [15:18:51]CAPDU: 80 13 01 00 [15:18:51]Write to MH i2c: E2 08 00 67 1C 80 13 01 00 00 00 00 00 00 [15:18:51]Write i2c OK [15:18:51]MH_I2C_Read... [15:18:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:18:51]Read from MH i2c: E2 [15:18:51]MH_I2C_Read... [15:18:51]Read from MH i2c: E2 0E 00 [15:18:51]MH_I2C_Read... [15:18:51]Read from MH i2c: E2 0E 00 67 1C 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 79 [15:18:51]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [15:18:51]wFMCommunicate OK [15:18:51]SAM_PROTO_GetShiftState done [15:18:51]FM_GetShiftState done [15:18:51]req_shift_opened done [15:18:51]requested_item shift.open_date is exist - process it [15:18:51]req_shift_open_date [15:18:51]req_shift_open_date done [15:18:51]requested_item shift.sale.total is exist - process it [15:18:51]SAM_PROTO_GetShiftData [15:18:51]wFMCommunicate request_size=4 [15:18:51]MH_SAM_APDU [15:18:51]CAPDU: 80 13 02 00 [15:18:51]Write to MH i2c: E2 08 00 68 1C 80 13 02 00 00 00 00 00 02 [15:18:51]Write i2c OK [15:18:51]MH_I2C_Read... [15:18:52]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [15:18:52]Read from MH i2c: E2 [15:18:52]MH_I2C_Read... [15:18:52]Read from MH i2c: E2 FD 00 [15:18:52]MH_I2C_Read... [15:18:52]Read from MH i2c: E2 FD 00 68 1C 00 B6 04 AA 04 B2 04 6E 04 04 00 55 00 00 00 69 04 9B 00 6F 04 04 00 54 00 00 00 B1 04 03 00 69 5A 24 70 04 03 00 D4 A8 1E 72 04 03 00 95 B1 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 60 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 58 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 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 C2 [15:18:52]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 55 00 00 00 69 04 9B 00 6F 04 04 00 54 00 00 00 B1 04 03 00 69 5A 24 70 04 03 00 D4 A8 1E 72 04 03 00 95 B1 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 60 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 58 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 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 [15:18:52]wFMCommunicate OK [15:18:52]wFMCommunicate request_size=4 [15:18:52]MH_SAM_APDU [15:18:52]CAPDU: 80 17 00 00 [15:18:52]Write to MH i2c: E2 08 00 69 1C 80 17 00 00 00 00 00 00 05 [15:18:52]Write i2c OK [15:18:52]MH_I2C_Read... [15:18:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:18:52]Read from MH i2c: E2 [15:18:52]MH_I2C_Read... [15:18:52]Read from MH i2c: E2 FD 00 [15:18:52]MH_I2C_Read... [15:18:52]Read from MH i2c: E2 FD 00 69 1C 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 3A [15:18:52]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 [15:18:52]wFMCommunicate OK [15:18:52]wFMCommunicate request_size=4 [15:18:52]MH_SAM_APDU [15:18:52]CAPDU: 80 17 00 00 [15:18:52]Write to MH i2c: E2 08 00 6A 1C 80 17 00 00 00 00 00 00 06 [15:18:52]Write i2c OK [15:18:52]MH_I2C_Read... [15:18:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:18:52]Read from MH i2c: E2 [15:18:52]MH_I2C_Read... [15:18:52]Read from MH i2c: E2 FD 00 [15:18:52]MH_I2C_Read... [15:18:52]Read from MH i2c: E2 FD 00 6A 1C 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 C6 [15:18:52]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 [15:18:52]wFMCommunicate OK [15:18:52]wFMCommunicate request_size=4 [15:18:52]MH_SAM_APDU [15:18:52]CAPDU: 80 17 00 00 [15:18:52]Write to MH i2c: E2 08 00 6B 1C 80 17 00 00 00 00 00 00 07 [15:18:52]Write i2c OK [15:18:52]MH_I2C_Read... [15:18:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:18:53]Read from MH i2c: E2 [15:18:53]MH_I2C_Read... [15:18:53]Read from MH i2c: E2 FD 00 [15:18:53]MH_I2C_Read... [15:18:53]Read from MH i2c: E2 FD 00 6B 1C 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 76 [15:18:53]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 [15:18:53]wFMCommunicate OK [15:18:53]wFMCommunicate request_size=4 [15:18:53]MH_SAM_APDU [15:18:53]CAPDU: 80 17 00 00 [15:18:53]Write to MH i2c: E2 08 00 6C 1C 80 17 00 00 00 00 00 00 08 [15:18:53]Write i2c OK [15:18:53]MH_I2C_Read... [15:18:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [15:18:53]Read from MH i2c: E2 [15:18:53]MH_I2C_Read... [15:18:53]Read from MH i2c: E2 D3 00 [15:18:53]MH_I2C_Read... [15:18:53]Read from MH i2c: E2 D3 00 6C 1C 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 F5 [15:18:53]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 [15:18:53]wFMCommunicate OK [15:18:53]SAM_PROTO_GetShiftData done [15:18:53]requested_item shift.sale.total_cash is exist - process it [15:18:53]requested_item shift.sale_refund.total is exist - process it [15:18:53]requested_item shift.sale_refund.total_cash is exist - process it [15:18:53]produce_requested_data done [15:18:53]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57190,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":23824.41,"shift.sale.total_cash":20093.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [15:18:53]process_action_free close_receipt [15:18:53]json_value_free [15:18:53]json_value_free done [15:18:53]process_json_proto returns [15:18:53]Send response to host [15:18:53]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57190,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":23824.41,"shift.sale.total_cash":20093.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [15:18:53]free response buf [15:18:53]execute_script done [15:18:53]execute_script returns [15:18:53]free content buf [15:18:53]Sock 9.Close socket [15:18:53]Sock 9.Thread stoped [15:18:55]OFD Sender: No OFD packet to send [15:19:00]OFD Sender: No OFD packet to send [15:19:05]OFD Sender: No OFD packet to send [15:19:10]OFD Sender: No OFD packet to send [15:19:15]OFD Sender: No OFD packet to send [15:19:20]OFD Sender: No OFD packet to send [15:19:25]OFD Sender: No OFD packet to send [15:19:30]OFD Sender: No OFD packet to send [15:19:35]OFD Sender: No OFD packet to send [15:19:36]accept exits with 8 [15:19:36]New connection [15:19:36]New thread 3067067748 created [15:19:36]Thread 3066924388 joined [15:19:36]Waiting for new connection... [15:19:36] Sock 8.Parse request [15:19:36]Sock 8.Check first char [15:19:36]Sock 8.First char is OK [15:19:36]request: POST /json_proto HTTP/1.0 [15:19:36]Method: POST [15:19:36]URL: /json_proto [15:19:36]Method is POST - this is cgi request [15:19:36]url: /json_proto [15:19:36]query_string will be loaded in cgi processing [15:19:36]execute_cgi json_proto POST (null) [15:19:36]execute_cgi path=json_proto method=POST [15:19:36]POST find Content-Length [15:19:36]Host: 172.17.39.4:8080 [15:19:36]Content-Length: 713 [15:19:36]Content-Type: application/json [15:19:36] [15:19:36]POST finish read [15:19:36]Found Content-Length = 713 [15:19:36]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129637", "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 }]} ], "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" ] } } [15:19:36]execute_script... [15:19: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)129637", "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 }]} ], "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" ] } } [15:19:36]POST & json_proto [15:19:36]process_json_proto [15:19:36]json parsed OK: [15:19:36]protocol is kg_v1.0 [15:19:36]action value=close_receipt [15:19:36]process_action close_receipt [15:19:36]cmd_close_receipt [15:19:36]MH_GetDate [15:19:36]Write to MH i2c: F0 00 00 6D 1C 78 [15:19:36]Write i2c OK [15:19:36]MH_I2C_Read... [15:19:36]Read from MH i2c: F0 [15:19:36]MH_I2C_Read... [15:19:36]Read from MH i2c: F0 09 00 [15:19:36]MH_I2C_Read... [15:19:36]Read from MH i2c: F0 09 00 6D 1C 00 0C 3E 95 66 2D 25 5D 64 D9 [15:19:36]GetLastDocTimeStamp 1721056732 [15:19:36]current date 1721056780 [15:19:36]FM_GetShiftState [15:19:36]SAM_PROTO_GetShiftState [15:19:36]wFMCommunicate request_size=4 [15:19:36]MH_SAM_APDU [15:19:36]CAPDU: 80 13 01 00 [15:19:36]Write to MH i2c: E2 08 00 6E 1C 80 13 01 00 00 00 00 00 07 [15:19:36]Write i2c OK [15:19:36]MH_I2C_Read... [15:19:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:19:36]Read from MH i2c: E2 [15:19:36]MH_I2C_Read... [15:19:36]Read from MH i2c: E2 0E 00 [15:19:36]MH_I2C_Read... [15:19:36]Read from MH i2c: E2 0E 00 6E 1C 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 80 [15:19:36]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [15:19:36]wFMCommunicate OK [15:19:36]SAM_PROTO_GetShiftState done [15:19:36]FM_GetShiftState done [15:19:36]opened in 1721003525 [15:19:36]opened+sec_in_day 1721089925 [15:19:36]quantity*price = 13000 [15:19:36]sum+1 = 13001 [15:19:36]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 СНО: Общий режим Чек 86 15.07.2024 15:19 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57191 ФПД: 148308160465969 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T151940&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57191&fm=148308160465969&tin=02508201610067®Number=0000000000091208&sum=13000 0 [15:19:37]StoreToDocumentArchive [15:19:37]shift 497 fd 57191 [15:19:37]save to /storage/0497/doc_00057191 [15:19:37]save last doc name /storage/0497/doc_00057191 to /storage/kkm_last_doc_name [15:19:37]save OK [15:19:37]Clear old archive folders... [15:19:37]ProcessDocumentItem done err = 0, tmpTLVsize=261 [15:19:37]tlvbuf is 009E7FC0 [15:19:37]SAM_PROTO_ClearQueue [15:19:37]wFMCommunicate request_size=4 [15:19:37]MH_SAM_APDU [15:19:37]CAPDU: 80 09 00 00 [15:19:37]Write to MH i2c: E2 08 00 7B 1C 80 09 00 00 00 00 00 00 09 [15:19:37]Write i2c OK [15:19:37]MH_I2C_Read... [15:19:37]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:19:37]Read from MH i2c: E2 [15:19:37]MH_I2C_Read... [15:19:37]Read from MH i2c: E2 03 00 [15:19:37]MH_I2C_Read... [15:19:37]Read from MH i2c: E2 03 00 7B 1C 00 90 00 0B [15:19:37]RAPDU: 90 00 [15:19:37]wFMCommunicate OK [15:19:37]SAM_PROTO_ClearQueue done [15:19:37]KKMCreateOFDPacket [15:19:37]OFDProtocolAddRootSTLVToBuf [15:19:37]FM_MakeSignedData [15:19:37]FM_MakeSignedData [15:19:37]SAM_PROTO_SignData [15:19:37]wFMCommunicate request_size=4 [15:19:37]MH_SAM_APDU [15:19:37]CAPDU: 80 0D 01 02 [15:19:37]Write to MH i2c: E2 08 00 7C 1C 80 0D 01 02 00 00 00 00 11 [15:19:37]Write i2c OK [15:19:37]MH_I2C_Read... [15:19:37]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:19:37]Read from MH i2c: E2 [15:19:37]MH_I2C_Read... [15:19:37]Read from MH i2c: E2 03 00 [15:19:37]MH_I2C_Read... [15:19:37]Read from MH i2c: E2 03 00 7C 1C 00 90 00 0C [15:19:37]RAPDU: 90 00 [15:19:37]wFMCommunicate OK [15:19:37]wFMCommunicate request_size=255 [15:19:37]MH_SAM_APDU [15:19:37]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 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 56 00 00 00 F4 03 04 00 0C 3E 95 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 [15:19:37]Write to MH i2c: E2 02 01 7D 1C 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 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 56 00 00 00 F4 03 04 00 0C 3E 95 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 00 48 [15:19:37]Write i2c OK [15:19:37]MH_I2C_Read... [15:19:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:19:37]Read from MH i2c: E2 [15:19:37]MH_I2C_Read... [15:19:37]Read from MH i2c: E2 03 00 [15:19:37]MH_I2C_Read... [15:19:37]Read from MH i2c: E2 03 00 7D 1C 00 90 00 0D [15:19:37]RAPDU: 90 00 [15:19:37]wFMCommunicate OK [15:19:37]wFMCommunicate request_size=20 [15:19:37]MH_SAM_APDU [15:19:37]CAPDU: 80 0D 02 02 0F 00 67 DF 00 00 35 04 06 00 86 E2 AF 38 CC 31 [15:19:37]Write to MH i2c: E2 17 00 7E 1C 80 0D 02 02 0F 00 00 67 DF 00 00 35 04 06 00 86 E2 AF 38 CC 31 00 00 03 [15:19:37]Write i2c OK [15:19:37]MH_I2C_Read... [15:19:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:19:37]Read from MH i2c: E2 [15:19:37]MH_I2C_Read... [15:19:37]Read from MH i2c: E2 03 00 [15:19:37]MH_I2C_Read... [15:19:37]Read from MH i2c: E2 03 00 7E 1C 00 90 00 0E [15:19:37]RAPDU: 90 00 [15:19:37]wFMCommunicate OK [15:19:37]wFMCommunicate request_size=4 [15:19:37]MH_SAM_APDU [15:19:37]CAPDU: 80 0D 03 02 [15:19:37]Write to MH i2c: E2 08 00 7F 1C 80 0D 03 02 00 00 00 00 16 [15:19:37]Write i2c OK [15:19:37]MH_I2C_Read... [15:19:37]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:19:37]Read from MH i2c: E2 [15:19:37]MH_I2C_Read... [15:19:37]Read from MH i2c: E2 0B 00 [15:19:37]MH_I2C_Read... [15:19:37]Read from MH i2c: E2 0B 00 7F 1C 00 54 00 FF 06 84 A7 04 8F 90 00 2E [15:19:37]RAPDU: 54 00 FF 06 84 A7 04 8F 90 00 [15:19:37]wFMCommunicate OK [15:19:37]SAM_PROTO_SignData done [15:19:37]FM_MakeSignedData done [15:19:37]CreateOFDProtocolMessage [15:19:37]wFMCommunicate request_size=4 [15:19:37]MH_SAM_APDU [15:19:37]CAPDU: 80 11 00 00 [15:19:37]Write to MH i2c: E2 08 00 80 1C 80 11 00 00 00 00 00 00 16 [15:19:37]Write i2c OK [15:19:37]MH_I2C_Read... [15:19:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:19:37]Read from MH i2c: E2 [15:19:37]MH_I2C_Read... [15:19:37]Read from MH i2c: E2 17 00 [15:19:37]MH_I2C_Read... [15:19:37]Read from MH i2c: E2 17 00 80 1C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 70 [15:19:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [15:19:37]wFMCommunicate OK [15:19:37]CreateOFDProtocolMessage done [15:19:37]OFDSenderStorePacket 57191 [15:19:37]StoreOFDPacket docnum=57191 [15:19: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 19 01 00 00 ED 28 11 01 70 E6 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 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 56 00 00 00 F4 03 04 00 0C 3E 95 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 67 DF 00 00 35 04 06 00 86 E2 AF 38 CC 31 54 00 FF 06 84 A7 04 8F [15:19:37]CheckFolder [15:19:37]dirname=/storage/ofd_packets [15:19:37]CheckFolder done [15:19:37]ProducePacketName [15:19:37]name=ofd_packets/00057191 [15:19:37]NVStorageSaveData ofd_packets/00057191 [15:19:37]File name is /storage/ofd_packets/00057191 [15:19:37]Write 311 bytes [15:19:37]NVStorageSaveData done [15:19:37]OFDSenderStorePacket done [15:19:37]KKMCreateOFDPacket done [15:19:37]NVStorageSaveData kkm_last_timestamp [15:19:37]File name is /storage/kkm_last_timestamp [15:19:37]Write 4 bytes [15:19:37]NVStorageSaveData done [15:19:37]ExternCall_PrintAddStr [15:19:37]wPrintStart [15:19:37]Write to MH i2c: 01 00 00 81 1C 9D [15:19:37]Write i2c OK [15:19:37]MH_I2C_Read... [15:19:37]Read from MH i2c: 01 [15:19:37]MH_I2C_Read... [15:19:37]Read from MH i2c: 01 07 00 [15:19:37]MH_I2C_Read... [15:19:37]Read from MH i2c: 01 07 00 81 1C 00 00 00 00 00 FF 0F B2 [15:19:37]RasterBufferAndPrint [15:19:37]line Счет N : (3)129637 [15:19:37]line ИНН: 02508201610067 [15:19:37]line Контрольно-Кассовый Чек [15:19:37]line ПРОДАЖА [15:19:37]line Товар: 48741156 [15:19:37]line Сигареты LD Blue [15:19:37]line 1.000 * 130.00 [15:19:37]line = 130.00 [15:19:37]line НДС 12% НСП 1% [15:19:37]line > о реализуемом товаре [15:19:37]line ИТОГО: 130.00 [15:19:37]line НСП 1% : 1.15 [15:19:37]line НДС 12% : 13.80 [15:19:37]line Наличными: 130.00 [15:19:37]line Безнал.: 0.00 [15:19:37]line Место: АЗС № 132 "Партнер Нефть" [15:19:37]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [15:19:37]line СНО: Общий режим [15:19:37]line Чек 86 15.07.2024 15:19 [15:19:37]line Смена: 497 ФФД: 1.0 [15:19:37]line ЗНМ: 0300000132 [15:19:37]line РНМ: 0000000000091208 [15:19:37]line Версия ККМ: 001 [15:19:37]line ФМ: 0000000000874857 [15:19:37]line ФД: 57191 [15:19:37]line ФПД: 148308160465969 [15:19:37]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T151940&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57191&fm=148308160465969&tin=02508201610067®Number=0000000000091208&sum=13000 [15:19:37]line 0 [15:19:38]written 0, free lines is 4095 [15:19:38]OFD Sender: Processing packet 57191 [packets to send 38, broken 37] [15:19:38]ProducePacketName [15:19:38]name=ofd_packets/00057191 [15:19:38]OFD Sender: To server: pG, [15:19:38]CommunicateWithHost lk.salyk.kg:30040 [15:19:38]ConnectInit lk.salyk.kg [15:19:38]Connected sock=10 [15:19: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 19 01 00 00 ED 28 11 01 70 E6 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 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 56 00 00 00 F4 03 04 00 0C 3E 95 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 67 DF 00 00 35 04 06 00 86 E2 AF 38 CC 31 54 00 FF 06 84 A7 04 8F [15:19: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 42 3B 47 00 B6 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 67 DF 00 00 F4 03 04 00 5A E4 94 66 B6 04 01 00 00 45 02 5B D3 93 A9 67 A5 [15:19:38]CommunicateWithHost err = 0 [15:19:38]CheckOFDResponse [15:19:38]1017 (14) - 77093643461234 [15:19:38]1041 (16) - 0000000000874857 [15:19:38]1040 (4) - 57191 [15:19:38]1012 (4) - 15.07.2024 08:56 [15:19:38]1206 (1) - 0 [15:19:38]OFD Sender: Remove packet 57191 [15:19:38]ProducePacketName [15:19:38]name=ofd_packets/00057191 [15:19:38]NVStorageDeleteData [15:19:38]Write to MH i2c: 01 00 00 A9 1C C5 [15:19:38]Write i2c OK [15:19:38]MH_I2C_Read... [15:19:38]Read from MH i2c: 01 [15:19:38]MH_I2C_Read... [15:19:38]Read from MH i2c: 01 07 00 [15:19:38]MH_I2C_Read... [15:19:38]Read from MH i2c: 01 07 00 A9 1C 00 00 00 00 00 17 0D F0 [15:19:38]RasterBufferAndPrint [15:19:38]line [15:19:38]line [15:19:38]line [15:19:38]line [15:19:38]line [15:19:38]written 0, free lines is 3357 [15:19:38]MH_Cut [15:19:38]Write to MH i2c: D1 01 00 B0 1C 01 9E [15:19:38]Write i2c OK [15:19:38]MH_I2C_Read... [15:19:38]Read from MH i2c: D1 [15:19:38]MH_I2C_Read... [15:19:38]Read from MH i2c: D1 01 00 [15:19:38]MH_I2C_Read... [15:19:38]Read from MH i2c: D1 01 00 B0 1C 00 9D [15:19:38]Write to MH i2c: 01 00 00 B1 1C CD [15:19:38]Write i2c OK [15:19:38]MH_I2C_Read... [15:19:38]OFD Sender: No OFD packet to send [15:19:39]*** Cut start [15:19:39]*** Partial cut [15:19:39]*** CUTSNS_PIN = 1 [15:19:39]*** CUTSNS_PIN = 0 [15:19:39]*** Brake cut motor [15:19:39]Read from MH i2c: 01 [15:19:39]MH_I2C_Read... [15:19:39]*** Stop cut motor [15:19:39]*** Cut end [15:19:39]Read from MH i2c: 01 07 00 [15:19:39]MH_I2C_Read... [15:19:39]Read from MH i2c: 01 07 00 B1 1C 00 00 00 00 00 FF 0F E2 [15:19:39]process_action close_receipt done [15:19:39]requested_data is exist [15:19:39]produce_requested_data [15:19:39]requested_item fm.sn is exist - process it [15:19:39]wFMCommunicate request_size=4 [15:19:39]MH_SAM_APDU [15:19:39]CAPDU: 80 11 00 00 [15:19:39]Write to MH i2c: E2 08 00 B2 1C 80 11 00 00 00 00 00 00 48 [15:19:39]Write i2c OK [15:19:39]MH_I2C_Read... [15:19:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:19:39]Read from MH i2c: E2 [15:19:39]MH_I2C_Read... [15:19:39]Read from MH i2c: E2 17 00 [15:19:39]MH_I2C_Read... [15:19:39]Read from MH i2c: E2 17 00 B2 1C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 A2 [15:19: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:19:39]wFMCommunicate OK [15:19:39]requested_item fd.num is exist - process it [15:19:39]SAM_PROTO_GetFieldsCounters [15:19:39]wFMCommunicate request_size=4 [15:19:39]MH_SAM_APDU [15:19:39]CAPDU: 80 13 00 00 [15:19:39]Write to MH i2c: E2 08 00 B3 1C 80 13 00 00 00 00 00 00 4B [15:19:39]Write i2c OK [15:19:39]MH_I2C_Read... [15:19:40]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:19:40]Read from MH i2c: E2 [15:19:40]MH_I2C_Read... [15:19:40]Read from MH i2c: E2 62 00 [15:19:40]MH_I2C_Read... [15:19:40]Read from MH i2c: E2 62 00 B3 1C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 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 67 DF 00 00 0E 04 04 00 F1 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 A8 [15:19: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 67 DF 00 00 0E 04 04 00 F1 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 [15:19:40]wFMCommunicate OK [15:19:40]SAM_PROTO_GetFieldsCounters done [15:19:40]requested_item shift.num is exist - process it [15:19:40]requested_item shift.opened is exist - process it [15:19:40]req_shift_opened [15:19:40]FM_GetShiftState [15:19:40]SAM_PROTO_GetShiftState [15:19:40]wFMCommunicate request_size=4 [15:19:40]MH_SAM_APDU [15:19:40]CAPDU: 80 13 01 00 [15:19:40]Write to MH i2c: E2 08 00 B4 1C 80 13 01 00 00 00 00 00 4D [15:19:40]Write i2c OK [15:19:40]MH_I2C_Read... [15:19:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:19:40]Read from MH i2c: E2 [15:19:40]MH_I2C_Read... [15:19:40]Read from MH i2c: E2 0E 00 [15:19:40]MH_I2C_Read... [15:19:40]Read from MH i2c: E2 0E 00 B4 1C 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 C6 [15:19:40]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [15:19:40]wFMCommunicate OK [15:19:40]SAM_PROTO_GetShiftState done [15:19:40]FM_GetShiftState done [15:19:40]req_shift_opened done [15:19:40]requested_item shift.open_date is exist - process it [15:19:40]req_shift_open_date [15:19:40]req_shift_open_date done [15:19:40]requested_item shift.sale.total is exist - process it [15:19:40]SAM_PROTO_GetShiftData [15:19:40]wFMCommunicate request_size=4 [15:19:40]MH_SAM_APDU [15:19:40]CAPDU: 80 13 02 00 [15:19:40]Write to MH i2c: E2 08 00 B5 1C 80 13 02 00 00 00 00 00 4F [15:19:40]Write i2c OK [15:19:40]MH_I2C_Read... [15:19:40]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [15:19:40]Read from MH i2c: E2 [15:19:40]MH_I2C_Read... [15:19:40]Read from MH i2c: E2 FD 00 [15:19:40]MH_I2C_Read... [15:19:40]Read from MH i2c: E2 FD 00 B5 1C 00 B6 04 AA 04 B2 04 6E 04 04 00 56 00 00 00 69 04 9B 00 6F 04 04 00 55 00 00 00 B1 04 03 00 31 8D 24 70 04 03 00 9C DB 1E 72 04 03 00 95 B1 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 C4 E1 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 CB 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 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 E3 [15:19:40]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 56 00 00 00 69 04 9B 00 6F 04 04 00 55 00 00 00 B1 04 03 00 31 8D 24 70 04 03 00 9C DB 1E 72 04 03 00 95 B1 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 C4 E1 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 CB 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 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 [15:19:40]wFMCommunicate OK [15:19:40]wFMCommunicate request_size=4 [15:19:40]MH_SAM_APDU [15:19:40]CAPDU: 80 17 00 00 [15:19:40]Write to MH i2c: E2 08 00 B6 1C 80 17 00 00 00 00 00 00 52 [15:19:40]Write i2c OK [15:19:40]MH_I2C_Read... [15:19:40]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:19:40]Read from MH i2c: E2 [15:19:40]MH_I2C_Read... [15:19:40]Read from MH i2c: E2 FD 00 [15:19:40]MH_I2C_Read... [15:19:40]Read from MH i2c: E2 FD 00 B6 1C 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 87 [15:19:40]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 [15:19:40]wFMCommunicate OK [15:19:40]wFMCommunicate request_size=4 [15:19:40]MH_SAM_APDU [15:19:40]CAPDU: 80 17 00 00 [15:19:40]Write to MH i2c: E2 08 00 B7 1C 80 17 00 00 00 00 00 00 53 [15:19:40]Write i2c OK [15:19:40]MH_I2C_Read... [15:19:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:19:41]Read from MH i2c: E2 [15:19:41]MH_I2C_Read... [15:19:41]Read from MH i2c: E2 FD 00 [15:19:41]MH_I2C_Read... [15:19:41]Read from MH i2c: E2 FD 00 B7 1C 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 13 [15:19:41]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 [15:19:41]wFMCommunicate OK [15:19:41]wFMCommunicate request_size=4 [15:19:41]MH_SAM_APDU [15:19:41]CAPDU: 80 17 00 00 [15:19:41]Write to MH i2c: E2 08 00 B8 1C 80 17 00 00 00 00 00 00 54 [15:19:41]Write i2c OK [15:19:41]MH_I2C_Read... [15:19:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:19:41]Read from MH i2c: E2 [15:19:41]MH_I2C_Read... [15:19:41]Read from MH i2c: E2 FD 00 [15:19:41]MH_I2C_Read... [15:19:41]Read from MH i2c: E2 FD 00 B8 1C 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 C3 [15:19:41]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 [15:19:41]wFMCommunicate OK [15:19:41]wFMCommunicate request_size=4 [15:19:41]MH_SAM_APDU [15:19:41]CAPDU: 80 17 00 00 [15:19:41]Write to MH i2c: E2 08 00 B9 1C 80 17 00 00 00 00 00 00 55 [15:19:41]Write i2c OK [15:19:41]MH_I2C_Read... [15:19:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [15:19:41]Read from MH i2c: E2 [15:19:41]MH_I2C_Read... [15:19:41]Read from MH i2c: E2 D3 00 [15:19:41]MH_I2C_Read... [15:19:41]Read from MH i2c: E2 D3 00 B9 1C 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 42 [15:19:41]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 [15:19:41]wFMCommunicate OK [15:19:41]SAM_PROTO_GetShiftData done [15:19:41]requested_item shift.sale.total_cash is exist - process it [15:19:41]requested_item shift.sale_refund.total is exist - process it [15:19:41]requested_item shift.sale_refund.total_cash is exist - process it [15:19:41]produce_requested_data done [15:19:41]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57191,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":23954.41,"shift.sale.total_cash":20223.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [15:19:41]process_action_free close_receipt [15:19:41]json_value_free [15:19:41]json_value_free done [15:19:41]process_json_proto returns [15:19:41]Send response to host [15:19:41]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57191,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":23954.41,"shift.sale.total_cash":20223.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [15:19:41]free response buf [15:19:41]execute_script done [15:19:41]execute_script returns [15:19:41]free content buf [15:19:41]Sock 8.Close socket [15:19:41]Sock 8.Thread stoped [15:19:44]OFD Sender: No OFD packet to send [15:19:49]OFD Sender: No OFD packet to send [15:19:54]OFD Sender: No OFD packet to send [15:19:57]accept exits with 9 [15:19:57]New connection [15:19:57]New thread 3066924388 created [15:19:57]Thread 3067067748 joined [15:19:57]Waiting for new connection... [15:19:57] Sock 9.Parse request [15:19:57]Sock 9.Check first char [15:19:57]Sock 9.First char is OK [15:19:57]request: POST /json_proto HTTP/1.0 [15:19:57]Method: POST [15:19:57]URL: /json_proto [15:19:57]Method is POST - this is cgi request [15:19:57]url: /json_proto [15:19:57]query_string will be loaded in cgi processing [15:19:57]execute_cgi json_proto POST (null) [15:19:57]execute_cgi path=json_proto method=POST [15:19:57]POST find Content-Length [15:19:57]Host: 172.17.39.4:8080 [15:19:57]Content-Length: 725 [15:19:57]Content-Type: application/json [15:19:57] [15:19:57]POST finish read [15:19:57]Found Content-Length = 725 [15:19:57]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129638", "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" ] } } [15:19:57]execute_script... [15:19: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)129638", "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" ] } } [15:19:57]POST & json_proto [15:19:57]process_json_proto [15:19:57]json parsed OK: [15:19:57]protocol is kg_v1.0 [15:19:57]action value=close_receipt [15:19:57]process_action close_receipt [15:19:57]cmd_close_receipt [15:19:57]MH_GetDate [15:19:57]Write to MH i2c: F0 00 00 BA 1C C5 [15:19:57]Write i2c OK [15:19:57]MH_I2C_Read... [15:19:57]Read from MH i2c: F0 [15:19:57]MH_I2C_Read... [15:19:57]Read from MH i2c: F0 09 00 [15:19:57]MH_I2C_Read... [15:19:57]Read from MH i2c: F0 09 00 BA 1C 00 21 3E 95 66 2D 25 5D 64 3B [15:19:57]GetLastDocTimeStamp 1721056780 [15:19:57]current date 1721056801 [15:19:57]FM_GetShiftState [15:19:57]SAM_PROTO_GetShiftState [15:19:57]wFMCommunicate request_size=4 [15:19:57]MH_SAM_APDU [15:19:57]CAPDU: 80 13 01 00 [15:19:57]Write to MH i2c: E2 08 00 BB 1C 80 13 01 00 00 00 00 00 54 [15:19:57]Write i2c OK [15:19:57]MH_I2C_Read... [15:19:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:19:57]Read from MH i2c: E2 [15:19:57]MH_I2C_Read... [15:19:57]Read from MH i2c: E2 0E 00 [15:19:57]MH_I2C_Read... [15:19:57]Read from MH i2c: E2 0E 00 BB 1C 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 CD [15:19:57]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [15:19:57]wFMCommunicate OK [15:19:57]SAM_PROTO_GetShiftState done [15:19:57]FM_GetShiftState done [15:19:57]opened in 1721003525 [15:19:57]opened+sec_in_day 1721089925 [15:19:57]quantity*price = 14000 [15:19:57]sum+1 = 14001 [15:19:57]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 СНО: Общий режим Чек 87 15.07.2024 15:20 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57192 ФПД: 278255735090721 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T152001&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57192&fm=278255735090721&tin=02508201610067®Number=0000000000091208&sum=14000 0 [15:19:58]StoreToDocumentArchive [15:19:58]shift 497 fd 57192 [15:19:58]save to /storage/0497/doc_00057192 [15:19:58]save last doc name /storage/0497/doc_00057192 to /storage/kkm_last_doc_name [15:19:58]save OK [15:19:58]Clear old archive folders... [15:19:58]ProcessDocumentItem done err = 0, tmpTLVsize=273 [15:19:58]tlvbuf is B6F71490 [15:19:58]SAM_PROTO_ClearQueue [15:19:58]wFMCommunicate request_size=4 [15:19:58]MH_SAM_APDU [15:19:58]CAPDU: 80 09 00 00 [15:19:58]Write to MH i2c: E2 08 00 C8 1C 80 09 00 00 00 00 00 00 56 [15:19:58]Write i2c OK [15:19:58]MH_I2C_Read... [15:19:58]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:19:58]Read from MH i2c: E2 [15:19:58]MH_I2C_Read... [15:19:58]Read from MH i2c: E2 03 00 [15:19:58]MH_I2C_Read... [15:19:58]Read from MH i2c: E2 03 00 C8 1C 00 90 00 58 [15:19:58]RAPDU: 90 00 [15:19:58]wFMCommunicate OK [15:19:58]SAM_PROTO_ClearQueue done [15:19:58]KKMCreateOFDPacket [15:19:58]OFDProtocolAddRootSTLVToBuf [15:19:58]FM_MakeSignedData [15:19:58]FM_MakeSignedData [15:19:58]SAM_PROTO_SignData [15:19:58]wFMCommunicate request_size=4 [15:19:58]MH_SAM_APDU [15:19:58]CAPDU: 80 0D 01 02 [15:19:58]Write to MH i2c: E2 08 00 C9 1C 80 0D 01 02 00 00 00 00 5E [15:19:58]Write i2c OK [15:19:58]MH_I2C_Read... [15:19:58]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:19:58]Read from MH i2c: E2 [15:19:58]MH_I2C_Read... [15:19:58]Read from MH i2c: E2 03 00 [15:19:58]MH_I2C_Read... [15:19:58]Read from MH i2c: E2 03 00 C9 1C 00 90 00 59 [15:19:58]RAPDU: 90 00 [15:19:58]wFMCommunicate OK [15:19:58]wFMCommunicate request_size=255 [15:19:58]MH_SAM_APDU [15:19:58]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 57 00 00 00 F4 03 04 00 21 3E 95 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 [15:19:58]Write to MH i2c: E2 02 01 CA 1C 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 57 00 00 00 F4 03 04 00 21 3E 95 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 F1 [15:19:58]Write i2c OK [15:19:58]MH_I2C_Read... [15:19:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:19:58]Read from MH i2c: E2 [15:19:58]MH_I2C_Read... [15:19:58]Read from MH i2c: E2 03 00 [15:19:58]MH_I2C_Read... [15:19:58]Read from MH i2c: E2 03 00 CA 1C 00 90 00 5A [15:19:58]RAPDU: 90 00 [15:19:58]wFMCommunicate OK [15:19:58]wFMCommunicate request_size=32 [15:19:58]MH_SAM_APDU [15:19:58]CAPDU: 80 0D 02 02 1B 30 30 30 38 37 34 38 35 37 10 04 04 00 68 DF 00 00 35 04 06 00 FD 12 76 3F 2E 21 [15:19:58]Write to MH i2c: E2 23 00 CB 1C 80 0D 02 02 1B 00 30 30 30 38 37 34 38 35 37 10 04 04 00 68 DF 00 00 35 04 06 00 FD 12 76 3F 2E 21 00 00 1F [15:19:58]Write i2c OK [15:19:58]MH_I2C_Read... [15:19:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:19:58]Read from MH i2c: E2 [15:19:58]MH_I2C_Read... [15:19:58]Read from MH i2c: E2 03 00 [15:19:58]MH_I2C_Read... [15:19:58]Read from MH i2c: E2 03 00 CB 1C 00 90 00 5B [15:19:58]RAPDU: 90 00 [15:19:58]wFMCommunicate OK [15:19:58]wFMCommunicate request_size=4 [15:19:58]MH_SAM_APDU [15:19:58]CAPDU: 80 0D 03 02 [15:19:58]Write to MH i2c: E2 08 00 CC 1C 80 0D 03 02 00 00 00 00 63 [15:19:58]Write i2c OK [15:19:58]MH_I2C_Read... [15:19:58]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:19:58]Read from MH i2c: E2 [15:19:58]MH_I2C_Read... [15:19:58]Read from MH i2c: E2 0B 00 [15:19:58]MH_I2C_Read... [15:19:58]Read from MH i2c: E2 0B 00 CC 1C 00 1A A8 1A 37 14 36 EE 3C 90 00 EB [15:19:58]RAPDU: 1A A8 1A 37 14 36 EE 3C 90 00 [15:19:58]wFMCommunicate OK [15:19:58]SAM_PROTO_SignData done [15:19:58]FM_MakeSignedData done [15:19:58]CreateOFDProtocolMessage [15:19:58]wFMCommunicate request_size=4 [15:19:58]MH_SAM_APDU [15:19:58]CAPDU: 80 11 00 00 [15:19:58]Write to MH i2c: E2 08 00 CD 1C 80 11 00 00 00 00 00 00 63 [15:19:58]Write i2c OK [15:19:58]MH_I2C_Read... [15:19:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:19:58]Read from MH i2c: E2 [15:19:58]MH_I2C_Read... [15:19:58]Read from MH i2c: E2 17 00 [15:19:58]MH_I2C_Read... [15:19:58]Read from MH i2c: E2 17 00 CD 1C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 BD [15:19:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [15:19:58]wFMCommunicate OK [15:19:58]CreateOFDProtocolMessage done [15:19:58]OFDSenderStorePacket 57192 [15:19:58]StoreOFDPacket docnum=57192 [15:19: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 25 01 00 00 F8 0B 1D 01 37 8E 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 57 00 00 00 F4 03 04 00 21 3E 95 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 68 DF 00 00 35 04 06 00 FD 12 76 3F 2E 21 1A A8 1A 37 14 36 EE 3C [15:19:58]CheckFolder [15:19:58]dirname=/storage/ofd_packets [15:19:58]CheckFolder done [15:19:58]ProducePacketName [15:19:58]name=ofd_packets/00057192 [15:19:58]NVStorageSaveData ofd_packets/00057192 [15:19:58]File name is /storage/ofd_packets/00057192 [15:19:58]Write 323 bytes [15:19:58]NVStorageSaveData done [15:19:58]OFDSenderStorePacket done [15:19:58]KKMCreateOFDPacket done [15:19:58]NVStorageSaveData kkm_last_timestamp [15:19:58]File name is /storage/kkm_last_timestamp [15:19:58]Write 4 bytes [15:19:58]NVStorageSaveData done [15:19:58]ExternCall_PrintAddStr [15:19:58]wPrintStart [15:19:58]Write to MH i2c: 01 00 00 CE 1C EA [15:19:58]Write i2c OK [15:19:58]MH_I2C_Read... [15:19:58]Read from MH i2c: 01 [15:19:58]MH_I2C_Read... [15:19:58]Read from MH i2c: 01 07 00 [15:19:58]MH_I2C_Read... [15:19:58]Read from MH i2c: 01 07 00 CE 1C 00 00 00 00 00 FF 0F FF [15:19:58]RasterBufferAndPrint [15:19:58]line Счет N : (3)129638 [15:19:58]line ИНН: 02508201610067 [15:19:58]line Контрольно-Кассовый Чек [15:19:58]line ПРОДАЖА [15:19:58]line Товар: 48743570 [15:19:58]line Сигареты Winston XStyle Blue [15:19:58]line 1.000 * 140.00 [15:19:58]line = 140.00 [15:19:58]line НДС 12% НСП 1% [15:19:58]line > о реализуемом товаре [15:19:58]line ИТОГО: 140.00 [15:19:58]line НСП 1% : 1.24 [15:19:58]line НДС 12% : 14.87 [15:19:58]line Наличными: 140.00 [15:19:58]line Безнал.: 0.00 [15:19:58]line Место: АЗС № 132 "Партнер Нефть" [15:19:58]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [15:19:58]line СНО: Общий режим [15:19:58]line Чек 87 15.07.2024 15:20 [15:19:58]line Смена: 497 ФФД: 1.0 [15:19:58]line ЗНМ: 0300000132 [15:19:58]line РНМ: 0000000000091208 [15:19:58]line Версия ККМ: 001 [15:19:58]line ФМ: 0000000000874857 [15:19:58]line ФД: 57192 [15:19:58]line ФПД: 278255735090721 [15:19:59]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T152001&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57192&fm=278255735090721&tin=02508201610067®Number=0000000000091208&sum=14000 [15:19:59]line 0 [15:19:59]OFD Sender: Processing packet 57192 [packets to send 38, broken 37] [15:19:59]ProducePacketName [15:19:59]name=ofd_packets/00057192 [15:19:59]OFD Sender: To server: pG, [15:19:59]CommunicateWithHost lk.salyk.kg:30040 [15:19:59]ConnectInit lk.salyk.kg [15:19:59]written 0, free lines is 4095 [15:19:59]Connected sock=10 [15:19: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 25 01 00 00 F8 0B 1D 01 37 8E 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 57 00 00 00 F4 03 04 00 21 3E 95 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 68 DF 00 00 35 04 06 00 FD 12 76 3F 2E 21 1A A8 1A 37 14 36 EE 3C [15:19: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 56 F7 47 00 46 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 68 DF 00 00 F4 03 04 00 6F E4 94 66 B6 04 01 00 00 E3 09 79 13 22 D5 84 2B [15:19:59]CommunicateWithHost err = 0 [15:19:59]CheckOFDResponse [15:19:59]1017 (14) - 77093643461234 [15:19:59]1041 (16) - 0000000000874857 [15:19:59]1040 (4) - 57192 [15:19:59]1012 (4) - 15.07.2024 08:57 [15:19:59]1206 (1) - 0 [15:19:59]OFD Sender: Remove packet 57192 [15:19:59]ProducePacketName [15:19:59]name=ofd_packets/00057192 [15:19:59]NVStorageDeleteData [15:19:59]Write to MH i2c: 01 00 00 F6 1C 12 [15:19:59]Write i2c OK [15:19:59]MH_I2C_Read... [15:19:59]Read from MH i2c: 01 [15:19:59]MH_I2C_Read... [15:19:59]Read from MH i2c: 01 07 00 [15:19:59]MH_I2C_Read... [15:19:59]Read from MH i2c: 01 07 00 F6 1C 00 00 00 00 00 03 0D 29 [15:19:59]RasterBufferAndPrint [15:19:59]line [15:19:59]line [15:19:59]line [15:19:59]line [15:19:59]line [15:19:59]written 0, free lines is 3337 [15:19:59]MH_Cut [15:19:59]Write to MH i2c: D1 01 00 FD 1C 01 EB [15:19:59]Write i2c OK [15:19:59]MH_I2C_Read... [15:19:59]Read from MH i2c: D1 [15:19:59]MH_I2C_Read... [15:19:59]Read from MH i2c: D1 01 00 [15:19:59]MH_I2C_Read... [15:19:59]Read from MH i2c: D1 01 00 FD 1C 00 EA [15:19:59]Write to MH i2c: 01 00 00 FE 1C 1A [15:19:59]Write i2c OK [15:19:59]MH_I2C_Read... [15:19:59]OFD Sender: No OFD packet to send [15:20:00]*** Cut start [15:20:00]*** Partial cut [15:20:00]*** CUTSNS_PIN = 1 [15:20:00]*** CUTSNS_PIN = 0 [15:20:00]*** Brake cut motor [15:20:00]Read from MH i2c: 01 [15:20:00]MH_I2C_Read... [15:20:00]*** Stop cut motor [15:20:00]*** Cut end [15:20:00]Read from MH i2c: 01 07 00 [15:20:00]MH_I2C_Read... [15:20:00]Read from MH i2c: 01 07 00 FE 1C 00 00 00 00 00 FF 0F 2F [15:20:00]process_action close_receipt done [15:20:00]requested_data is exist [15:20:00]produce_requested_data [15:20:00]requested_item fm.sn is exist - process it [15:20:00]wFMCommunicate request_size=4 [15:20:00]MH_SAM_APDU [15:20:00]CAPDU: 80 11 00 00 [15:20:00]Write to MH i2c: E2 08 00 FF 1C 80 11 00 00 00 00 00 00 95 [15:20:00]Write i2c OK [15:20:00]MH_I2C_Read... [15:20:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:20:01]Read from MH i2c: E2 [15:20:01]MH_I2C_Read... [15:20:01]Read from MH i2c: E2 17 00 [15:20:01]MH_I2C_Read... [15:20:01]Read from MH i2c: E2 17 00 FF 1C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 EF [15:20:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [15:20:01]wFMCommunicate OK [15:20:01]requested_item fd.num is exist - process it [15:20:01]SAM_PROTO_GetFieldsCounters [15:20:01]wFMCommunicate request_size=4 [15:20:01]MH_SAM_APDU [15:20:01]CAPDU: 80 13 00 00 [15:20:01]Write to MH i2c: E2 08 00 00 1D 80 13 00 00 00 00 00 00 99 [15:20:01]Write i2c OK [15:20:01]MH_I2C_Read... [15:20:01]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:20:01]Read from MH i2c: E2 [15:20:01]MH_I2C_Read... [15:20:01]Read from MH i2c: E2 62 00 [15:20:01]MH_I2C_Read... [15:20:01]Read from MH i2c: E2 62 00 00 1D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 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 68 DF 00 00 0E 04 04 00 F1 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 FA [15:20: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 68 DF 00 00 0E 04 04 00 F1 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 [15:20:01]wFMCommunicate OK [15:20:01]SAM_PROTO_GetFieldsCounters done [15:20:01]requested_item shift.num is exist - process it [15:20:01]requested_item shift.opened is exist - process it [15:20:01]req_shift_opened [15:20:01]FM_GetShiftState [15:20:01]SAM_PROTO_GetShiftState [15:20:01]wFMCommunicate request_size=4 [15:20:01]MH_SAM_APDU [15:20:01]CAPDU: 80 13 01 00 [15:20:01]Write to MH i2c: E2 08 00 01 1D 80 13 01 00 00 00 00 00 9B [15:20:01]Write i2c OK [15:20:01]MH_I2C_Read... [15:20:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:20:01]Read from MH i2c: E2 [15:20:01]MH_I2C_Read... [15:20:01]Read from MH i2c: E2 0E 00 [15:20:01]MH_I2C_Read... [15:20:01]Read from MH i2c: E2 0E 00 01 1D 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 14 [15:20:01]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [15:20:01]wFMCommunicate OK [15:20:01]SAM_PROTO_GetShiftState done [15:20:01]FM_GetShiftState done [15:20:01]req_shift_opened done [15:20:01]requested_item shift.open_date is exist - process it [15:20:01]req_shift_open_date [15:20:01]req_shift_open_date done [15:20:01]requested_item shift.sale.total is exist - process it [15:20:01]SAM_PROTO_GetShiftData [15:20:01]wFMCommunicate request_size=4 [15:20:01]MH_SAM_APDU [15:20:01]CAPDU: 80 13 02 00 [15:20:01]Write to MH i2c: E2 08 00 02 1D 80 13 02 00 00 00 00 00 9D [15:20:01]Write i2c OK [15:20:01]MH_I2C_Read... [15:20:01]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [15:20:01]Read from MH i2c: E2 [15:20:01]MH_I2C_Read... [15:20:01]Read from MH i2c: E2 FD 00 [15:20:01]MH_I2C_Read... [15:20:01]Read from MH i2c: E2 FD 00 02 1D 00 B6 04 AA 04 B2 04 6E 04 04 00 57 00 00 00 69 04 9B 00 6F 04 04 00 56 00 00 00 B1 04 03 00 E1 C3 24 70 04 03 00 4C 12 1F 72 04 03 00 95 B1 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 93 E7 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 47 53 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 53 [15:20:01]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 57 00 00 00 69 04 9B 00 6F 04 04 00 56 00 00 00 B1 04 03 00 E1 C3 24 70 04 03 00 4C 12 1F 72 04 03 00 95 B1 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 93 E7 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 47 53 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 [15:20:01]wFMCommunicate OK [15:20:01]wFMCommunicate request_size=4 [15:20:01]MH_SAM_APDU [15:20:01]CAPDU: 80 17 00 00 [15:20:01]Write to MH i2c: E2 08 00 03 1D 80 17 00 00 00 00 00 00 A0 [15:20:01]Write i2c OK [15:20:01]MH_I2C_Read... [15:20:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:20:01]Read from MH i2c: E2 [15:20:01]MH_I2C_Read... [15:20:01]Read from MH i2c: E2 FD 00 [15:20:01]MH_I2C_Read... [15:20:01]Read from MH i2c: E2 FD 00 03 1D 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 D5 [15:20:01]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 [15:20:01]wFMCommunicate OK [15:20:01]wFMCommunicate request_size=4 [15:20:01]MH_SAM_APDU [15:20:01]CAPDU: 80 17 00 00 [15:20:01]Write to MH i2c: E2 08 00 04 1D 80 17 00 00 00 00 00 00 A1 [15:20:01]Write i2c OK [15:20:01]MH_I2C_Read... [15:20:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:20:02]Read from MH i2c: E2 [15:20:02]MH_I2C_Read... [15:20:02]Read from MH i2c: E2 FD 00 [15:20:02]MH_I2C_Read... [15:20:02]Read from MH i2c: E2 FD 00 04 1D 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 61 [15:20:02]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 [15:20:02]wFMCommunicate OK [15:20:02]wFMCommunicate request_size=4 [15:20:02]MH_SAM_APDU [15:20:02]CAPDU: 80 17 00 00 [15:20:02]Write to MH i2c: E2 08 00 05 1D 80 17 00 00 00 00 00 00 A2 [15:20:02]Write i2c OK [15:20:02]MH_I2C_Read... [15:20:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:20:02]Read from MH i2c: E2 [15:20:02]MH_I2C_Read... [15:20:02]Read from MH i2c: E2 FD 00 [15:20:02]MH_I2C_Read... [15:20:02]Read from MH i2c: E2 FD 00 05 1D 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 11 [15:20:02]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 [15:20:02]wFMCommunicate OK [15:20:02]wFMCommunicate request_size=4 [15:20:02]MH_SAM_APDU [15:20:02]CAPDU: 80 17 00 00 [15:20:02]Write to MH i2c: E2 08 00 06 1D 80 17 00 00 00 00 00 00 A3 [15:20:02]Write i2c OK [15:20:02]MH_I2C_Read... [15:20:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [15:20:02]Read from MH i2c: E2 [15:20:02]MH_I2C_Read... [15:20:02]Read from MH i2c: E2 D3 00 [15:20:02]MH_I2C_Read... [15:20:02]Read from MH i2c: E2 D3 00 06 1D 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 90 [15:20:02]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 [15:20:02]wFMCommunicate OK [15:20:02]SAM_PROTO_GetShiftData done [15:20:02]requested_item shift.sale.total_cash is exist - process it [15:20:02]requested_item shift.sale_refund.total is exist - process it [15:20:02]requested_item shift.sale_refund.total_cash is exist - process it [15:20:02]produce_requested_data done [15:20:02]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57192,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":24094.41,"shift.sale.total_cash":20363.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [15:20:02]process_action_free close_receipt [15:20:02]json_value_free [15:20:02]json_value_free done [15:20:02]process_json_proto returns [15:20:02]Send response to host [15:20:02]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57192,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":24094.41,"shift.sale.total_cash":20363.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [15:20:02]free response buf [15:20:02]execute_script done [15:20:02]execute_script returns [15:20:02]free content buf [15:20:02]Sock 9.Close socket [15:20:02]Sock 9.Thread stoped [15:20:05]OFD Sender: No OFD packet to send [15:20:10]OFD Sender: No OFD packet to send [15:20:15]OFD Sender: No OFD packet to send [15:20:20]OFD Sender: No OFD packet to send [15:20:25]OFD Sender: No OFD packet to send [15:20:30]OFD Sender: No OFD packet to send [15:20:35]OFD Sender: No OFD packet to send [15:20:40]OFD Sender: No OFD packet to send [15:20:45]OFD Sender: No OFD packet to send [15:20:50]OFD Sender: No OFD packet to send [15:20:55]OFD Sender: No OFD packet to send [15:21:00]OFD Sender: No OFD packet to send [15:21:05]OFD Sender: No OFD packet to send [15:21:10]OFD Sender: No OFD packet to send [15:21:15]OFD Sender: No OFD packet to send [15:21:20]OFD Sender: No OFD packet to send [15:21:25]OFD Sender: No OFD packet to send [15:21:30]OFD Sender: No OFD packet to send [15:21:35]OFD Sender: No OFD packet to send [15:21:40]OFD Sender: No OFD packet to send [15:21:45]OFD Sender: No OFD packet to send [15:21:50]OFD Sender: No OFD packet to send [15:21:55]OFD Sender: No OFD packet to send [15:22:00]OFD Sender: No OFD packet to send [15:22:05]OFD Sender: No OFD packet to send [15:22:10]OFD Sender: No OFD packet to send [15:22:15]OFD Sender: No OFD packet to send [15:22:20]OFD Sender: No OFD packet to send [15:22:25]OFD Sender: No OFD packet to send [15:22:30]OFD Sender: No OFD packet to send [15:22:35]OFD Sender: No OFD packet to send [15:22:40]OFD Sender: No OFD packet to send [15:22:45]OFD Sender: No OFD packet to send [15:22:50]OFD Sender: No OFD packet to send [15:22:55]OFD Sender: No OFD packet to send [15:23:00]OFD Sender: No OFD packet to send [15:23:05]OFD Sender: No OFD packet to send [15:23:10]OFD Sender: No OFD packet to send [15:23:15]OFD Sender: No OFD packet to send [15:23:20]OFD Sender: No OFD packet to send [15:23:25]OFD Sender: No OFD packet to send [15:23:30]OFD Sender: No OFD packet to send [15:23:35]OFD Sender: No OFD packet to send [15:23:40]OFD Sender: No OFD packet to send [15:23:45]OFD Sender: No OFD packet to send [15:23:50]OFD Sender: No OFD packet to send [15:23:55]OFD Sender: No OFD packet to send [15:24:00]OFD Sender: No OFD packet to send [15:24:05]OFD Sender: No OFD packet to send [15:24:10]OFD Sender: No OFD packet to send [15:24:15]OFD Sender: No OFD packet to send [15:24:20]OFD Sender: No OFD packet to send [15:24:25]OFD Sender: No OFD packet to send [15:24:30]OFD Sender: No OFD packet to send [15:24:35]OFD Sender: No OFD packet to send [15:24:40]OFD Sender: No OFD packet to send [15:24:45]OFD Sender: No OFD packet to send [15:24:50]OFD Sender: No OFD packet to send [15:24:55]OFD Sender: No OFD packet to send [15:25:00]OFD Sender: No OFD packet to send [15:25:05]OFD Sender: No OFD packet to send [15:25:10]OFD Sender: No OFD packet to send [15:25:15]OFD Sender: No OFD packet to send [15:25:20]OFD Sender: No OFD packet to send [15:25:25]OFD Sender: No OFD packet to send [15:25:30]OFD Sender: No OFD packet to send [15:25:35]OFD Sender: No OFD packet to send [15:25:40]OFD Sender: No OFD packet to send [15:25:45]OFD Sender: No OFD packet to send [15:25:50]OFD Sender: No OFD packet to send [15:25:55]OFD Sender: No OFD packet to send [15:26:00]OFD Sender: No OFD packet to send [15:26:05]OFD Sender: No OFD packet to send [15:26:10]OFD Sender: No OFD packet to send [15:26:15]OFD Sender: No OFD packet to send [15:26:20]OFD Sender: No OFD packet to send [15:26:25]OFD Sender: No OFD packet to send [15:26:30]OFD Sender: No OFD packet to send [15:26:35]OFD Sender: No OFD packet to send [15:26:40]OFD Sender: No OFD packet to send [15:26:45]OFD Sender: No OFD packet to send [15:26:50]OFD Sender: No OFD packet to send [15:26:55]OFD Sender: No OFD packet to send [15:27:00]OFD Sender: No OFD packet to send [15:27:05]OFD Sender: No OFD packet to send [15:27:10]OFD Sender: No OFD packet to send [15:27:15]OFD Sender: No OFD packet to send [15:27:20]OFD Sender: No OFD packet to send [15:27:25]OFD Sender: No OFD packet to send [15:27:30]OFD Sender: No OFD packet to send [15:27:35]OFD Sender: No OFD packet to send [15:27:40]OFD Sender: No OFD packet to send [15:27:45]OFD Sender: No OFD packet to send [15:27:50]OFD Sender: No OFD packet to send [15:27:55]OFD Sender: No OFD packet to send [15:28:00]OFD Sender: No OFD packet to send [15:28:05]OFD Sender: No OFD packet to send [15:28:10]OFD Sender: No OFD packet to send [15:28:15]OFD Sender: No OFD packet to send [15:28:20]OFD Sender: No OFD packet to send [15:28:25]OFD Sender: No OFD packet to send [15:28:30]OFD Sender: No OFD packet to send [15:28:35]OFD Sender: No OFD packet to send [15:28:40]OFD Sender: No OFD packet to send [15:28:45]OFD Sender: No OFD packet to send [15:28:50]OFD Sender: No OFD packet to send [15:28:55]OFD Sender: No OFD packet to send [15:29:00]OFD Sender: No OFD packet to send [15:29:05]OFD Sender: No OFD packet to send [15:29:10]OFD Sender: No OFD packet to send [15:29:15]OFD Sender: No OFD packet to send [15:29:20]OFD Sender: No OFD packet to send [15:29:25]OFD Sender: No OFD packet to send [15:29:30]OFD Sender: No OFD packet to send [15:29:35]OFD Sender: No OFD packet to send [15:29:40]OFD Sender: No OFD packet to send [15:29:45]OFD Sender: No OFD packet to send [15:29:50]OFD Sender: No OFD packet to send [15:29:55]OFD Sender: No OFD packet to send [15:30:00]OFD Sender: No OFD packet to send [15:30:05]OFD Sender: No OFD packet to send [15:30:10]OFD Sender: No OFD packet to send [15:30:15]OFD Sender: No OFD packet to send [15:30:20]OFD Sender: No OFD packet to send [15:30:25]OFD Sender: No OFD packet to send [15:30:30]OFD Sender: No OFD packet to send [15:30:35]OFD Sender: No OFD packet to send [15:30:40]OFD Sender: No OFD packet to send [15:30:45]OFD Sender: No OFD packet to send [15:30:50]OFD Sender: No OFD packet to send [15:30:55]OFD Sender: No OFD packet to send [15:31:00]OFD Sender: No OFD packet to send [15:31:05]OFD Sender: No OFD packet to send [15:31:10]OFD Sender: No OFD packet to send [15:31:15]OFD Sender: No OFD packet to send [15:31:20]OFD Sender: No OFD packet to send [15:31:25]OFD Sender: No OFD packet to send [15:31:30]OFD Sender: No OFD packet to send [15:31:35]OFD Sender: No OFD packet to send [15:31:40]OFD Sender: No OFD packet to send [15:31:45]OFD Sender: No OFD packet to send [15:31:50]OFD Sender: No OFD packet to send [15:31:55]OFD Sender: No OFD packet to send [15:32:00]OFD Sender: No OFD packet to send [15:32:05]OFD Sender: No OFD packet to send [15:32:10]OFD Sender: No OFD packet to send [15:32:15]OFD Sender: No OFD packet to send [15:32:20]OFD Sender: No OFD packet to send [15:32:25]OFD Sender: No OFD packet to send [15:32:30]OFD Sender: No OFD packet to send [15:32:35]OFD Sender: No OFD packet to send [15:32:40]OFD Sender: No OFD packet to send [15:32:45]OFD Sender: No OFD packet to send [15:32:50]OFD Sender: No OFD packet to send [15:32:55]OFD Sender: No OFD packet to send [15:33:00]OFD Sender: No OFD packet to send [15:33:05]OFD Sender: No OFD packet to send [15:33:10]OFD Sender: No OFD packet to send [15:33:15]OFD Sender: No OFD packet to send [15:33:20]OFD Sender: No OFD packet to send [15:33:25]OFD Sender: No OFD packet to send [15:33:30]OFD Sender: No OFD packet to send [15:33:35]OFD Sender: No OFD packet to send [15:33:40]OFD Sender: No OFD packet to send [15:33:45]OFD Sender: No OFD packet to send [15:33:50]OFD Sender: No OFD packet to send [15:33:55]OFD Sender: No OFD packet to send [15:34:00]OFD Sender: No OFD packet to send [15:34:05]OFD Sender: No OFD packet to send [15:34:10]OFD Sender: No OFD packet to send [15:34:15]OFD Sender: No OFD packet to send [15:34:20]OFD Sender: No OFD packet to send [15:34:25]OFD Sender: No OFD packet to send [15:34:30]OFD Sender: No OFD packet to send [15:34:35]OFD Sender: No OFD packet to send [15:34:40]OFD Sender: No OFD packet to send [15:34:45]OFD Sender: No OFD packet to send [15:34:50]OFD Sender: No OFD packet to send [15:34:55]OFD Sender: No OFD packet to send [15:35:00]OFD Sender: No OFD packet to send [15:35:05]OFD Sender: No OFD packet to send [15:35:10]OFD Sender: No OFD packet to send [15:35:15]OFD Sender: No OFD packet to send [15:35:20]OFD Sender: No OFD packet to send [15:35:25]OFD Sender: No OFD packet to send [15:35:30]OFD Sender: No OFD packet to send [15:35:35]OFD Sender: No OFD packet to send [15:35:40]OFD Sender: No OFD packet to send [15:35:45]OFD Sender: No OFD packet to send [15:35:50]OFD Sender: No OFD packet to send [15:35:55]OFD Sender: No OFD packet to send [15:36:00]OFD Sender: No OFD packet to send [15:36:05]OFD Sender: No OFD packet to send [15:36:10]OFD Sender: No OFD packet to send [15:36:15]OFD Sender: No OFD packet to send [15:36:20]OFD Sender: No OFD packet to send [15:36:25]OFD Sender: No OFD packet to send [15:36:30]OFD Sender: No OFD packet to send [15:36:35]OFD Sender: No OFD packet to send [15:36:40]OFD Sender: No OFD packet to send [15:36:45]OFD Sender: No OFD packet to send [15:36:50]OFD Sender: No OFD packet to send [15:36:55]OFD Sender: No OFD packet to send [15:37:00]OFD Sender: No OFD packet to send [15:37:05]OFD Sender: No OFD packet to send [15:37:10]OFD Sender: No OFD packet to send [15:37:15]OFD Sender: No OFD packet to send [15:37:20]OFD Sender: No OFD packet to send [15:37:25]OFD Sender: No OFD packet to send [15:37:30]OFD Sender: No OFD packet to send [15:37:35]OFD Sender: No OFD packet to send [15:37:40]OFD Sender: No OFD packet to send [15:37:45]OFD Sender: No OFD packet to send [15:37:50]OFD Sender: No OFD packet to send [15:37:55]OFD Sender: No OFD packet to send [15:38:00]OFD Sender: No OFD packet to send [15:38:05]OFD Sender: No OFD packet to send [15:38:10]OFD Sender: No OFD packet to send [15:38:15]OFD Sender: No OFD packet to send [15:38:20]OFD Sender: No OFD packet to send [15:38:26]OFD Sender: No OFD packet to send [15:38:31]OFD Sender: No OFD packet to send [15:38:36]OFD Sender: No OFD packet to send [15:38:41]OFD Sender: No OFD packet to send [15:38:46]OFD Sender: No OFD packet to send [15:38:51]OFD Sender: No OFD packet to send [15:38:56]OFD Sender: No OFD packet to send [15:39:01]OFD Sender: No OFD packet to send [15:39:06]OFD Sender: No OFD packet to send [15:39:11]OFD Sender: No OFD packet to send [15:39:16]OFD Sender: No OFD packet to send [15:39:21]OFD Sender: No OFD packet to send [15:39:26]OFD Sender: No OFD packet to send [15:39:31]OFD Sender: No OFD packet to send [15:39:36]OFD Sender: No OFD packet to send [15:39:41]OFD Sender: No OFD packet to send [15:39:46]OFD Sender: No OFD packet to send [15:39:51]OFD Sender: No OFD packet to send [15:39:56]OFD Sender: No OFD packet to send [15:40:01]OFD Sender: No OFD packet to send [15:40:06]OFD Sender: No OFD packet to send [15:40:11]OFD Sender: No OFD packet to send [15:40:16]OFD Sender: No OFD packet to send [15:40:21]OFD Sender: No OFD packet to send [15:40:26]OFD Sender: No OFD packet to send [15:40:31]OFD Sender: No OFD packet to send [15:40:36]OFD Sender: No OFD packet to send [15:40:41]OFD Sender: No OFD packet to send [15:40:46]OFD Sender: No OFD packet to send [15:40:51]OFD Sender: No OFD packet to send [15:40:56]OFD Sender: No OFD packet to send [15:41:01]OFD Sender: No OFD packet to send [15:41:06]OFD Sender: No OFD packet to send [15:41:11]OFD Sender: No OFD packet to send [15:41:16]OFD Sender: No OFD packet to send [15:41:21]OFD Sender: No OFD packet to send [15:41:26]OFD Sender: No OFD packet to send [15:41:31]OFD Sender: No OFD packet to send [15:41:36]OFD Sender: No OFD packet to send [15:41:41]OFD Sender: No OFD packet to send [15:41:46]OFD Sender: No OFD packet to send [15:41:51]OFD Sender: No OFD packet to send [15:41:56]OFD Sender: No OFD packet to send [15:42:01]OFD Sender: No OFD packet to send [15:42:06]OFD Sender: No OFD packet to send [15:42:11]OFD Sender: No OFD packet to send [15:42:16]OFD Sender: No OFD packet to send [15:42:21]OFD Sender: No OFD packet to send [15:42:26]OFD Sender: No OFD packet to send [15:42:31]OFD Sender: No OFD packet to send [15:42:36]OFD Sender: No OFD packet to send [15:42:41]OFD Sender: No OFD packet to send [15:42:46]OFD Sender: No OFD packet to send [15:42:51]OFD Sender: No OFD packet to send [15:42:56]OFD Sender: No OFD packet to send [15:43:01]OFD Sender: No OFD packet to send [15:43:06]OFD Sender: No OFD packet to send [15:43:11]OFD Sender: No OFD packet to send [15:43:16]OFD Sender: No OFD packet to send [15:43:21]OFD Sender: No OFD packet to send [15:43:26]OFD Sender: No OFD packet to send [15:43:31]OFD Sender: No OFD packet to send [15:43:36]OFD Sender: No OFD packet to send [15:43:41]OFD Sender: No OFD packet to send [15:43:46]OFD Sender: No OFD packet to send [15:43:51]OFD Sender: No OFD packet to send [15:43:56]OFD Sender: No OFD packet to send [15:44:01]OFD Sender: No OFD packet to send [15:44:06]OFD Sender: No OFD packet to send [15:44:11]OFD Sender: No OFD packet to send [15:44:16]OFD Sender: No OFD packet to send [15:44:21]OFD Sender: No OFD packet to send [15:44:26]OFD Sender: No OFD packet to send [15:44:31]OFD Sender: No OFD packet to send [15:44:36]OFD Sender: No OFD packet to send [15:44:41]OFD Sender: No OFD packet to send [15:44:46]OFD Sender: No OFD packet to send [15:44:51]OFD Sender: No OFD packet to send [15:44:56]OFD Sender: No OFD packet to send [15:45:01]OFD Sender: No OFD packet to send [15:45:06]OFD Sender: No OFD packet to send [15:45:11]OFD Sender: No OFD packet to send [15:45:16]OFD Sender: No OFD packet to send [15:45:21]OFD Sender: No OFD packet to send [15:45:26]OFD Sender: No OFD packet to send [15:45:31]OFD Sender: No OFD packet to send [15:45:36]OFD Sender: No OFD packet to send [15:45:41]OFD Sender: No OFD packet to send [15:45:46]OFD Sender: No OFD packet to send [15:45:51]OFD Sender: No OFD packet to send [15:45:56]OFD Sender: No OFD packet to send [15:46:01]OFD Sender: No OFD packet to send [15:46:06]OFD Sender: No OFD packet to send [15:46:11]OFD Sender: No OFD packet to send [15:46:16]OFD Sender: No OFD packet to send [15:46:21]OFD Sender: No OFD packet to send [15:46:26]OFD Sender: No OFD packet to send [15:46:31]OFD Sender: No OFD packet to send [15:46:36]OFD Sender: No OFD packet to send [15:46:41]OFD Sender: No OFD packet to send [15:46:46]OFD Sender: No OFD packet to send [15:46:51]OFD Sender: No OFD packet to send [15:46:56]OFD Sender: No OFD packet to send [15:47:01]OFD Sender: No OFD packet to send [15:47:06]OFD Sender: No OFD packet to send [15:47:11]OFD Sender: No OFD packet to send [15:47:16]OFD Sender: No OFD packet to send [15:47:21]OFD Sender: No OFD packet to send [15:47:26]OFD Sender: No OFD packet to send [15:47:31]OFD Sender: No OFD packet to send [15:47:36]OFD Sender: No OFD packet to send [15:47:41]OFD Sender: No OFD packet to send [15:47:46]OFD Sender: No OFD packet to send [15:47:51]OFD Sender: No OFD packet to send [15:47:56]OFD Sender: No OFD packet to send [15:48:01]OFD Sender: No OFD packet to send [15:48:06]OFD Sender: No OFD packet to send [15:48:11]OFD Sender: No OFD packet to send [15:48:16]OFD Sender: No OFD packet to send [15:48:21]OFD Sender: No OFD packet to send [15:48:26]OFD Sender: No OFD packet to send [15:48:31]OFD Sender: No OFD packet to send [15:48:36]OFD Sender: No OFD packet to send [15:48:41]OFD Sender: No OFD packet to send [15:48:46]OFD Sender: No OFD packet to send [15:48:51]OFD Sender: No OFD packet to send [15:48:56]OFD Sender: No OFD packet to send [15:49:01]OFD Sender: No OFD packet to send [15:49:06]OFD Sender: No OFD packet to send [15:49:11]OFD Sender: No OFD packet to send [15:49:16]OFD Sender: No OFD packet to send [15:49:21]OFD Sender: No OFD packet to send [15:49:26]OFD Sender: No OFD packet to send [15:49:31]OFD Sender: No OFD packet to send [15:49:36]OFD Sender: No OFD packet to send [15:49:41]OFD Sender: No OFD packet to send [15:49:46]OFD Sender: No OFD packet to send [15:49:51]OFD Sender: No OFD packet to send [15:49:56]OFD Sender: No OFD packet to send [15:50:01]OFD Sender: No OFD packet to send [15:50:06]OFD Sender: No OFD packet to send [15:50:11]OFD Sender: No OFD packet to send [15:50:16]OFD Sender: No OFD packet to send [15:50:21]OFD Sender: No OFD packet to send [15:50:26]OFD Sender: No OFD packet to send [15:50:31]OFD Sender: No OFD packet to send [15:50:36]OFD Sender: No OFD packet to send [15:50:41]OFD Sender: No OFD packet to send [15:50:46]OFD Sender: No OFD packet to send [15:50:51]OFD Sender: No OFD packet to send [15:50:56]OFD Sender: No OFD packet to send [15:51:01]OFD Sender: No OFD packet to send [15:51:06]OFD Sender: No OFD packet to send [15:51:11]OFD Sender: No OFD packet to send [15:51:16]OFD Sender: No OFD packet to send [15:51:21]OFD Sender: No OFD packet to send [15:51:26]OFD Sender: No OFD packet to send [15:51:31]OFD Sender: No OFD packet to send [15:51:36]OFD Sender: No OFD packet to send [15:51:41]OFD Sender: No OFD packet to send [15:51:46]OFD Sender: No OFD packet to send [15:51:51]OFD Sender: No OFD packet to send [15:51:56]OFD Sender: No OFD packet to send [15:52:01]OFD Sender: No OFD packet to send [15:52:06]OFD Sender: No OFD packet to send [15:52:11]OFD Sender: No OFD packet to send [15:52:16]OFD Sender: No OFD packet to send [15:52:21]OFD Sender: No OFD packet to send [15:52:26]OFD Sender: No OFD packet to send [15:52:31]OFD Sender: No OFD packet to send [15:52:36]OFD Sender: No OFD packet to send [15:52:41]OFD Sender: No OFD packet to send [15:52:46]OFD Sender: No OFD packet to send [15:52:51]OFD Sender: No OFD packet to send [15:52:56]OFD Sender: No OFD packet to send [15:53:01]OFD Sender: No OFD packet to send [15:53:06]OFD Sender: No OFD packet to send [15:53:11]OFD Sender: No OFD packet to send [15:53:16]OFD Sender: No OFD packet to send [15:53:21]OFD Sender: No OFD packet to send [15:53:26]OFD Sender: No OFD packet to send [15:53:31]OFD Sender: No OFD packet to send [15:53:36]OFD Sender: No OFD packet to send [15:53:41]OFD Sender: No OFD packet to send [15:53:46]OFD Sender: No OFD packet to send [15:53:51]OFD Sender: No OFD packet to send [15:53:56]OFD Sender: No OFD packet to send [15:54:01]OFD Sender: No OFD packet to send [15:54:06]OFD Sender: No OFD packet to send [15:54:11]OFD Sender: No OFD packet to send [15:54:16]OFD Sender: No OFD packet to send [15:54:21]OFD Sender: No OFD packet to send [15:54:26]OFD Sender: No OFD packet to send [15:54:31]OFD Sender: No OFD packet to send [15:54:36]OFD Sender: No OFD packet to send [15:54:41]OFD Sender: No OFD packet to send [15:54:46]OFD Sender: No OFD packet to send [15:54:51]OFD Sender: No OFD packet to send [15:54:56]OFD Sender: No OFD packet to send [15:55:01]OFD Sender: No OFD packet to send [15:55:06]OFD Sender: No OFD packet to send [15:55:11]OFD Sender: No OFD packet to send [15:55:16]OFD Sender: No OFD packet to send [15:55:21]OFD Sender: No OFD packet to send [15:55:26]OFD Sender: No OFD packet to send [15:55:31]OFD Sender: No OFD packet to send [15:55:36]OFD Sender: No OFD packet to send [15:55:41]OFD Sender: No OFD packet to send [15:55:46]OFD Sender: No OFD packet to send [15:55:51]OFD Sender: No OFD packet to send [15:55:56]OFD Sender: No OFD packet to send [15:56:01]OFD Sender: No OFD packet to send [15:56:06]OFD Sender: No OFD packet to send [15:56:11]OFD Sender: No OFD packet to send [15:56:16]OFD Sender: No OFD packet to send [15:56:21]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]Read from MH i2c: A0 01 00 02 00 00 A2 [00:00:10]*** Starting fw at address 01020100 (2007E328 010249C5) [00:00:10]*** Waiting for read because exit forced [00:00:10]*** 10 ms more... [00:00:10]*** MH1903S init start (LINUX_LIGHT) [00:00:10]*** Compilation Date Jun 20 2023 Time 12:36:20 [00:00:10]*** Serial: 3139303353513838 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: 37233055+1683825965=1721059020 [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 CD 46 95 66 2D 25 5D 64 20 [15:57:01]Current date/time: 15.07.2024 15:57 [15:57:01]FM_Init [15:57:01]wFMConnect [15:57:01]MH_SAM_On [15:57:01]Write to MH i2c: E0 00 00 08 00 E7 [15:57:01]Write i2c OK [15:57:01]MH_I2C_Read... [15:57:01]*** iso7816_init finished! [15:57:01]*** atr: [15:57:01]*** 0F 3B D5 18 FF 81 91 FE [15:57:01]*** 1F C3 80 73 C8 21 10 0A [15:57:01]*** 00 00 00 00 00 00 00 00 [15:57:01]*** 00 00 00 00 00 00 00 00 [15:57:01]*** 00 00 00 00 00 00 00 00 [15:57:01]*** 00 00 00 00 00 00 00 00 [15:57:01]*** 00 00 00 00 00 00 00 00 [15:57:01]*** 00 00 00 00 00 00 00 00 [15:57:01]Read from MH i2c: E0 [15:57:01]MH_I2C_Read... [15:57:01]Read from MH i2c: E0 10 00 [15:57:01]MH_I2C_Read... [15:57:01]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 [15:57:01]ATR: 3B D5 18 FF 81 91 FE 1F C3 80 73 C8 21 10 0A [15:57:01]wFMCommunicate request_size=10 [15:57:01]MH_SAM_APDU [15:57:01]CAPDU: 00 A4 04 00 05 01 02 03 04 05 [15:57:01]Write to MH i2c: E2 0D 00 09 00 00 A4 04 00 05 00 01 02 03 04 05 00 00 B3 [15:57:01]Write i2c OK [15:57:01]MH_I2C_Read... [15:57:01]*** iso7816_exchange 00 A4 04 00... Resp OK rsp.len_out = 0! [15:57:01]Read from MH i2c: E2 [15:57:01]MH_I2C_Read... [15:57:01]Read from MH i2c: E2 03 00 [15:57:01]MH_I2C_Read... [15:57:01]Read from MH i2c: E2 03 00 09 00 00 90 00 7D [15:57:01]RAPDU: 90 00 [15:57:01]wFMCommunicate OK [15:57:01]wFMCommunicate request_size=4 [15:57:01]MH_SAM_APDU [15:57:01]CAPDU: 80 11 00 00 [15:57:01]Write to MH i2c: E2 08 00 0A 00 80 11 00 00 00 00 00 00 84 [15:57:01]Write i2c OK [15:57:01]MH_I2C_Read... [15:57:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:57:01]Read from MH i2c: E2 [15:57:01]MH_I2C_Read... [15:57:01]Read from MH i2c: E2 17 00 [15:57:01]MH_I2C_Read... [15:57:01]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 [15:57:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [15:57:01]wFMCommunicate OK [15:57:01]Detected FM SN is 0000000000874857 [15:57:01]Stored FM SN is 0000000000874857 [15:57:01]wFMCommunicate request_size=9 [15:57:01]MH_SAM_APDU [15:57:01]CAPDU: 80 16 00 00 04 4B 69 00 00 [15:57:01]Write to MH i2c: E2 0C 00 0B 00 80 16 00 00 04 00 4B 69 00 00 00 00 46 [15:57:01]Write i2c OK [15:57:01]MH_I2C_Read... [15:57:01]*** iso7816_exchange 80 16 00 00... Resp OK rsp.len_out = 0! [15:57:01]Read from MH i2c: E2 [15:57:01]MH_I2C_Read... [15:57:01]Read from MH i2c: E2 03 00 [15:57:01]MH_I2C_Read... [15:57:01]Read from MH i2c: E2 03 00 0B 00 00 90 00 7F [15:57:01]RAPDU: 90 00 [15:57:01]wFMCommunicate OK [15:57:01]FM PIN OK [15:57:01]wFMCommunicate request_size=8 [15:57:01]MH_SAM_APDU [15:57:01]CAPDU: 80 14 04 00 03 02 00 01 [15:57:01]Write to MH i2c: E2 0B 00 0C 00 80 14 04 00 03 00 02 00 01 00 00 96 [15:57:01]Write i2c OK [15:57:01]MH_I2C_Read... [15:57:01]*** iso7816_exchange 80 14 04 00... Resp OK rsp.len_out = 0! [15:57:01]Read from MH i2c: E2 [15:57:01]MH_I2C_Read... [15:57:01]Read from MH i2c: E2 03 00 [15:57:01]MH_I2C_Read... [15:57:01]Read from MH i2c: E2 03 00 0C 00 00 90 00 80 [15:57:01]RAPDU: 90 00 [15:57:01]wFMCommunicate OK [15:57:01]wFMCommunicate request_size=13 [15:57:01]MH_SAM_APDU [15:57:01]CAPDU: 80 14 04 01 08 07 00 01 02 03 04 05 06 [15:57:01]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 [15:57:01]Write i2c OK [15:57:01]MH_I2C_Read... [15:57:01]*** iso7816_exchange 80 14 04 01... Resp OK rsp.len_out = 0! [15:57:01]Read from MH i2c: E2 [15:57:01]MH_I2C_Read... [15:57:01]Read from MH i2c: E2 03 00 [15:57:01]MH_I2C_Read... [15:57:01]Read from MH i2c: E2 03 00 0D 00 00 90 00 81 [15:57:01]RAPDU: 90 00 [15:57:01]wFMCommunicate OK [15:57:01]wFMCommunicate request_size=4 [15:57:01]MH_SAM_APDU [15:57:01]CAPDU: 80 11 00 00 [15:57:01]Write to MH i2c: E2 08 00 0E 00 80 11 00 00 00 00 00 00 88 [15:57:01]Write i2c OK [15:57:01]MH_I2C_Read... [15:57:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:57:01]Read from MH i2c: E2 [15:57:01]MH_I2C_Read... [15:57:01]Read from MH i2c: E2 17 00 [15:57:01]MH_I2C_Read... [15:57:01]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 [15:57:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [15:57:01]wFMCommunicate OK [15:57:01]DocumentArchiveInit [15:57:01]Start Httpd... [15:57:01]Httpd thread 3067301220 created [15:57:01]Write to MH i2c: 01 00 00 0F 00 0F [15:57:01]Write i2c OK [15:57:01]MH_I2C_Read... [15:57:01]Read from MH i2c: 01 [15:57:01]MH_I2C_Read... [15:57:01]Read from MH i2c: 01 07 00 [15:57:01]MH_I2C_Read... [15:57:01]Read from MH i2c: 01 07 00 0F 00 00 00 00 00 00 FF 0F 24 [15:57:01]MH Int Process started [15:57:01]Allocated Socket 8 [15:57:01]Bind OK [15:57:01]Listen OK [15:57:01]httpd running on port 8080 [15:57:01]Waiting for new connection... [15:57:01]OFD Sender: No OFD packet to send [15:57:06]OFD Sender: No OFD packet to send [15:57:07]accept exits with 5 [15:57:07]New connection [15:57:07]New thread 3067014500 created [15:57:07]Waiting for new connection... [15:57:07] Sock 5.Parse request [15:57:07]Sock 5.Check first char [15:57:07]Sock 5.First char is OK [15:57:07]request: POST /json_proto HTTP/1.0 [15:57:07]Method: POST [15:57:07]URL: /json_proto [15:57:07]Method is POST - this is cgi request [15:57:07]url: /json_proto [15:57:07]query_string will be loaded in cgi processing [15:57:07]execute_cgi json_proto POST (null) [15:57:07]execute_cgi path=json_proto method=POST [15:57:07]POST find Content-Length [15:57:07]Host: 172.17.39.4:8080 [15:57:07]Content-Length: 215 [15:57:07]Content-Type: application/json [15:57:07] [15:57:07]POST finish read [15:57:07]Found Content-Length = 215 [15:57:07]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" ] } } [15:57:07]execute_script... [15:57:07]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" ] } } [15:57:07]POST & json_proto [15:57:07]process_json_proto [15:57:07]json parsed OK: [15:57:07]protocol is kg_v1.0 [15:57:07]action value=get_value [15:57:07]process_action get_value [15:57:07]cmd_get_value [15:57:07]process_action get_value done [15:57:07]requested_data is exist [15:57:07]produce_requested_data [15:57:07]requested_item kkm.sn is exist - process it [15:57:07]requested_item kkm.ver is exist - process it [15:57:07]requested_item fm.sn is exist - process it [15:57:07]wFMCommunicate request_size=4 [15:57:07]MH_SAM_APDU [15:57:07]CAPDU: 80 11 00 00 [15:57:07]Write to MH i2c: E2 08 00 10 00 80 11 00 00 00 00 00 00 8A [15:57:07]Write i2c OK [15:57:07]MH_I2C_Read... [15:57:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:57:07]Read from MH i2c: E2 [15:57:07]MH_I2C_Read... [15:57:07]Read from MH i2c: E2 17 00 [15:57:07]MH_I2C_Read... [15:57:07]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 [15:57:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [15:57:07]wFMCommunicate OK [15:57:07]requested_item fd.num is exist - process it [15:57:07]SAM_PROTO_GetFieldsCounters [15:57:07]wFMCommunicate request_size=4 [15:57:07]MH_SAM_APDU [15:57:07]CAPDU: 80 13 00 00 [15:57:07]Write to MH i2c: E2 08 00 11 00 80 13 00 00 00 00 00 00 8D [15:57:07]Write i2c OK [15:57:07]MH_I2C_Read... [15:57:07]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:57:07]Read from MH i2c: E2 [15:57:07]MH_I2C_Read... [15:57:07]Read from MH i2c: E2 62 00 [15:57:07]MH_I2C_Read... [15:57:07]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 68 DF 00 00 0E 04 04 00 F1 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 EE [15:57: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 68 DF 00 00 0E 04 04 00 F1 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 [15:57:07]wFMCommunicate OK [15:57:07]SAM_PROTO_GetFieldsCounters done [15:57:07]requested_item shift.num is exist - process it [15:57:07]requested_item shift.opened is exist - process it [15:57:07]req_shift_opened [15:57:07]FM_GetShiftState [15:57:07]SAM_PROTO_GetShiftState [15:57:07]wFMCommunicate request_size=4 [15:57:07]MH_SAM_APDU [15:57:07]CAPDU: 80 13 01 00 [15:57:07]Write to MH i2c: E2 08 00 12 00 80 13 01 00 00 00 00 00 8F [15:57:07]Write i2c OK [15:57:07]MH_I2C_Read... [15:57:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:57:07]Read from MH i2c: E2 [15:57:07]MH_I2C_Read... [15:57:07]Read from MH i2c: E2 0E 00 [15:57:07]MH_I2C_Read... [15:57:07]Read from MH i2c: E2 0E 00 12 00 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 08 [15:57:07]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [15:57:07]wFMCommunicate OK [15:57:07]SAM_PROTO_GetShiftState done [15:57:07]FM_GetShiftState done [15:57:07]req_shift_opened done [15:57:07]requested_item shift.open_date is exist - process it [15:57:07]req_shift_open_date [15:57:07]req_shift_open_date done [15:57:07]produce_requested_data done [15:57:07]produce_requested_data return {"kkm.sn":"0300000132","kkm.ver":"001","fm.sn":"0000000000874857","fd.num":57192,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525} [15:57:07]process_action_free get_value [15:57:07]json_value_free [15:57:07]json_value_free done [15:57:07]process_json_proto returns [15:57:07]Send response to host [15:57:07]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000132","kkm.ver":"001","fm.sn":"0000000000874857","fd.num":57192,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525}}} [15:57:07]free response buf [15:57:07]execute_script done [15:57:07]execute_script returns [15:57:07]free content buf [15:57:07]Sock 5.Close socket [15:57:07]Sock 5.Thread stoped [15:57:07]accept exits with 9 [15:57:07]New connection [15:57:07]New thread 3066871140 created [15:57:07]Thread 3067014500 joined [15:57:07]Waiting for new connection... [15:57:07] Sock 9.Parse request [15:57:07]Sock 9.Check first char [15:57:07]Sock 9.First char is OK [15:57:07]request: POST /json_proto HTTP/1.0 [15:57:07]Method: POST [15:57:07]URL: /json_proto [15:57:07]Method is POST - this is cgi request [15:57:07]url: /json_proto [15:57:07]query_string will be loaded in cgi processing [15:57:07]execute_cgi json_proto POST (null) [15:57:07]execute_cgi path=json_proto method=POST [15:57:07]POST find Content-Length [15:57:07]Host: 172.17.39.4:8080 [15:57:07]Content-Length: 331 [15:57:07]Content-Type: application/json [15:57:07] [15:57:07]POST finish read [15:57:07]Found Content-Length = 331 [15:57:07]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" ] } } [15:57:07]execute_script... [15:57:07]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" ] } } [15:57:07]POST & json_proto [15:57:07]process_json_proto [15:57:07]json parsed OK: [15:57:07]protocol is kg_v1.0 [15:57:07]action value=get_value [15:57:07]process_action get_value [15:57:07]cmd_get_value [15:57:07]process_action get_value done [15:57:07]requested_data is exist [15:57:07]produce_requested_data [15:57:07]requested_item fm.sale.total is exist - process it [15:57:07]SAM_PROTO_GetFMData [15:57:07]wFMCommunicate request_size=4 [15:57:07]MH_SAM_APDU [15:57:07]CAPDU: 80 13 03 00 [15:57:07]Write to MH i2c: E2 08 00 13 00 80 13 03 00 00 00 00 00 92 [15:57:07]Write i2c OK [15:57:07]MH_I2C_Read... [15:57:08]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [15:57:08]Read from MH i2c: E2 [15:57:08]MH_I2C_Read... [15:57:08]Read from MH i2c: E2 FD 00 [15:57:08]MH_I2C_Read... [15:57:08]Read from MH i2c: E2 FD 00 13 00 00 C4 04 85 04 C0 04 6E 04 04 00 85 DB 00 00 69 04 A0 00 6F 04 04 00 D3 DA 00 00 B1 04 04 00 24 CD A8 6D 70 04 04 00 40 15 4E 61 72 04 04 00 E4 B7 5A 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 17 8D A5 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 62 5E 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 B2 00 00 00 B1 04 04 00 38 6C 69 01 70 04 04 00 6C 1A 5F 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 A0 62 26 EF 03 09 00 90 00 C7 [15:57:08]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 85 DB 00 00 69 04 A0 00 6F 04 04 00 D3 DA 00 00 B1 04 04 00 24 CD A8 6D 70 04 04 00 40 15 4E 61 72 04 04 00 E4 B7 5A 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 17 8D A5 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 62 5E 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 B2 00 00 00 B1 04 04 00 38 6C 69 01 70 04 04 00 6C 1A 5F 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 A0 62 26 EF 03 09 00 90 00 [15:57:08]wFMCommunicate OK [15:57:08]wFMCommunicate request_size=4 [15:57:08]MH_SAM_APDU [15:57:08]CAPDU: 80 17 00 00 [15:57:08]Write to MH i2c: E2 08 00 14 00 80 17 00 00 00 00 00 00 94 [15:57:08]Write i2c OK [15:57:08]MH_I2C_Read... [15:57:08]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:57:08]Read from MH i2c: E2 [15:57:08]MH_I2C_Read... [15:57:08]Read from MH i2c: E2 FD 00 [15:57:08]MH_I2C_Read... [15:57:08]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 CF 32 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 4E [15:57:08]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 CF 32 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 [15:57:08]wFMCommunicate OK [15:57:08]wFMCommunicate request_size=4 [15:57:08]MH_SAM_APDU [15:57:08]CAPDU: 80 17 00 00 [15:57:08]Write to MH i2c: E2 08 00 15 00 80 17 00 00 00 00 00 00 95 [15:57:08]Write i2c OK [15:57:08]MH_I2C_Read... [15:57:08]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:57:08]Read from MH i2c: E2 [15:57:08]MH_I2C_Read... [15:57:08]Read from MH i2c: E2 FD 00 [15:57:08]MH_I2C_Read... [15:57:08]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 [15:57:08]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 [15:57:08]wFMCommunicate OK [15:57:08]wFMCommunicate request_size=4 [15:57:08]MH_SAM_APDU [15:57:08]CAPDU: 80 17 00 00 [15:57:08]Write to MH i2c: E2 08 00 16 00 80 17 00 00 00 00 00 00 96 [15:57:08]Write i2c OK [15:57:08]MH_I2C_Read... [15:57:08]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:57:08]Read from MH i2c: E2 [15:57:08]MH_I2C_Read... [15:57:08]Read from MH i2c: E2 FD 00 [15:57:08]MH_I2C_Read... [15:57:08]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 [15:57:08]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 [15:57:08]wFMCommunicate OK [15:57:08]wFMCommunicate request_size=4 [15:57:08]MH_SAM_APDU [15:57:08]CAPDU: 80 17 00 00 [15:57:08]Write to MH i2c: E2 08 00 17 00 80 17 00 00 00 00 00 00 97 [15:57:08]Write i2c OK [15:57:08]MH_I2C_Read... [15:57:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [15:57:09]Read from MH i2c: E2 [15:57:09]MH_I2C_Read... [15:57:09]Read from MH i2c: E2 E1 00 [15:57:09]MH_I2C_Read... [15:57:09]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 [15:57:09]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 [15:57:09]wFMCommunicate OK [15:57:09]SAM_PROTO_GetFMData done [15:57:09]requested_item fm.sale_refund.total is exist - process it [15:57:09]requested_item fm.buy.total is exist - process it [15:57:09]requested_item shift.sale.total is exist - process it [15:57:09]SAM_PROTO_GetShiftData [15:57:09]wFMCommunicate request_size=4 [15:57:09]MH_SAM_APDU [15:57:09]CAPDU: 80 13 02 00 [15:57:09]Write to MH i2c: E2 08 00 18 00 80 13 02 00 00 00 00 00 96 [15:57:09]Write i2c OK [15:57:09]MH_I2C_Read... [15:57:09]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [15:57:09]Read from MH i2c: E2 [15:57:09]MH_I2C_Read... [15:57:09]Read from MH i2c: E2 FD 00 [15:57:09]MH_I2C_Read... [15:57:09]Read from MH i2c: E2 FD 00 18 00 00 B6 04 AA 04 B2 04 6E 04 04 00 57 00 00 00 69 04 9B 00 6F 04 04 00 56 00 00 00 B1 04 03 00 E1 C3 24 70 04 03 00 4C 12 1F 72 04 03 00 95 B1 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 93 E7 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 47 53 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 4C [15:57:09]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 57 00 00 00 69 04 9B 00 6F 04 04 00 56 00 00 00 B1 04 03 00 E1 C3 24 70 04 03 00 4C 12 1F 72 04 03 00 95 B1 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 93 E7 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 47 53 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 [15:57:09]wFMCommunicate OK [15:57:09]wFMCommunicate request_size=4 [15:57:09]MH_SAM_APDU [15:57:09]CAPDU: 80 17 00 00 [15:57:09]Write to MH i2c: E2 08 00 19 00 80 17 00 00 00 00 00 00 99 [15:57:09]Write i2c OK [15:57:09]MH_I2C_Read... [15:57:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:57:09]Read from MH i2c: E2 [15:57:09]MH_I2C_Read... [15:57:09]Read from MH i2c: E2 FD 00 [15:57:09]MH_I2C_Read... [15:57:09]Read from MH i2c: E2 FD 00 19 00 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 CE [15:57:09]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 [15:57:09]wFMCommunicate OK [15:57:09]wFMCommunicate request_size=4 [15:57:09]MH_SAM_APDU [15:57:09]CAPDU: 80 17 00 00 [15:57:09]Write to MH i2c: E2 08 00 1A 00 80 17 00 00 00 00 00 00 9A [15:57:09]Write i2c OK [15:57:09]MH_I2C_Read... [15:57:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:57:10]Read from MH i2c: E2 [15:57:10]MH_I2C_Read... [15:57:10]Read from MH i2c: E2 FD 00 [15:57:10]MH_I2C_Read... [15:57:10]Read from MH i2c: E2 FD 00 1A 00 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 5A [15:57:10]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 [15:57:10]wFMCommunicate OK [15:57:10]wFMCommunicate request_size=4 [15:57:10]MH_SAM_APDU [15:57:10]CAPDU: 80 17 00 00 [15:57:10]Write to MH i2c: E2 08 00 1B 00 80 17 00 00 00 00 00 00 9B [15:57:10]Write i2c OK [15:57:10]MH_I2C_Read... [15:57:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:57:10]Read from MH i2c: E2 [15:57:10]MH_I2C_Read... [15:57:10]Read from MH i2c: E2 FD 00 [15:57:10]MH_I2C_Read... [15:57:10]Read from MH i2c: E2 FD 00 1B 00 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 0A [15:57:10]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 [15:57:10]wFMCommunicate OK [15:57:10]wFMCommunicate request_size=4 [15:57:10]MH_SAM_APDU [15:57:10]CAPDU: 80 17 00 00 [15:57:10]Write to MH i2c: E2 08 00 1C 00 80 17 00 00 00 00 00 00 9C [15:57:10]Write i2c OK [15:57:10]MH_I2C_Read... [15:57:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [15:57:10]Read from MH i2c: E2 [15:57:10]MH_I2C_Read... [15:57:10]Read from MH i2c: E2 D3 00 [15:57:10]MH_I2C_Read... [15:57:10]Read from MH i2c: E2 D3 00 1C 00 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 89 [15:57:10]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 [15:57:10]wFMCommunicate OK [15:57:10]SAM_PROTO_GetShiftData done [15:57:10]requested_item shift.sale.total_cash is exist - process it [15:57:10]requested_item shift.sale_refund.total is exist - process it [15:57:10]requested_item shift.sale_refund.total_cash is exist - process it [15:57:10]requested_item shift.buy.total is exist - process it [15:57:10]requested_item shift.buy.total_cash is exist - process it [15:57:10]produce_requested_data done [15:57:10]produce_requested_data return {"fm.sale.total":18397791.08,"fm.sale_refund.total":236862.00,"fm.buy.total":0.00,"shift.sale.total":24094.41,"shift.sale.total_cash":20363.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [15:57:10]process_action_free get_value [15:57:10]json_value_free [15:57:10]json_value_free done [15:57:10]process_json_proto returns [15:57:10]Send response to host [15:57:10]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":18397791.08,"fm.sale_refund.total":236862.00,"fm.buy.total":0.00,"shift.sale.total":24094.41,"shift.sale.total_cash":20363.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [15:57:10]free response buf [15:57:10]execute_script done [15:57:10]execute_script returns [15:57:10]free content buf [15:57:10]Sock 9.Close socket [15:57:10]Sock 9.Thread stoped [15:57:11]OFD Sender: No OFD packet to send [15:57:16]OFD Sender: No OFD packet to send [15:57:21]OFD Sender: No OFD packet to send [15:57:26]OFD Sender: No OFD packet to send [15:57:31]OFD Sender: No OFD packet to send [15:57:36]OFD Sender: No OFD packet to send [15:57:41]OFD Sender: No OFD packet to send [15:57:46]OFD Sender: No OFD packet to send [15:57:51]OFD Sender: No OFD packet to send [15:57:56]OFD Sender: No OFD packet to send [15:58:01]OFD Sender: No OFD packet to send [15:58:06]OFD Sender: No OFD packet to send [15:58:11]OFD Sender: No OFD packet to send [15:58:16]OFD Sender: No OFD packet to send [15:58:21]OFD Sender: No OFD packet to send [15:58:26]OFD Sender: No OFD packet to send [15:58:31]OFD Sender: No OFD packet to send [15:58:36]OFD Sender: No OFD packet to send [15:58:41]OFD Sender: No OFD packet to send [15:58:46]OFD Sender: No OFD packet to send [15:58:51]OFD Sender: No OFD packet to send [15:58:56]OFD Sender: No OFD packet to send [15:59:01]OFD Sender: No OFD packet to send [15:59:06]OFD Sender: No OFD packet to send [15:59:11]OFD Sender: No OFD packet to send [15:59:16]OFD Sender: No OFD packet to send [15:59:21]OFD Sender: No OFD packet to send [15:59:26]OFD Sender: No OFD packet to send [15:59:31]OFD Sender: No OFD packet to send [15:59:36]OFD Sender: No OFD packet to send [15:59:41]OFD Sender: No OFD packet to send [15:59:46]OFD Sender: No OFD packet to send [15:59:51]OFD Sender: No OFD packet to send [15:59:56]OFD Sender: No OFD packet to send [16:00:01]OFD Sender: No OFD packet to send [16:00:06]OFD Sender: No OFD packet to send [16:00:11]OFD Sender: No OFD packet to send [16:00:16]OFD Sender: No OFD packet to send [16:00:21]OFD Sender: No OFD packet to send [16:00:26]OFD Sender: No OFD packet to send [16:00:31]OFD Sender: No OFD packet to send [16:00:36]OFD Sender: No OFD packet to send [16:00:41]OFD Sender: No OFD packet to send [16:00:46]OFD Sender: No OFD packet to send [16:00:51]OFD Sender: No OFD packet to send [16:00:56]OFD Sender: No OFD packet to send [16:01:01]OFD Sender: No OFD packet to send [16:01:06]OFD Sender: No OFD packet to send [16:01:11]OFD Sender: No OFD packet to send [16:01:16]OFD Sender: No OFD packet to send [16:01:21]OFD Sender: No OFD packet to send [16:01:26]OFD Sender: No OFD packet to send [16:01:31]OFD Sender: No OFD packet to send [16:01:36]OFD Sender: No OFD packet to send [16:01:41]OFD Sender: No OFD packet to send [16:01:46]OFD Sender: No OFD packet to send [16:01:51]OFD Sender: No OFD packet to send [16:01:56]OFD Sender: No OFD packet to send [16:02:01]OFD Sender: No OFD packet to send [16:02:06]OFD Sender: No OFD packet to send [16:02:11]OFD Sender: No OFD packet to send [16:02:16]OFD Sender: No OFD packet to send [16:02:21]OFD Sender: No OFD packet to send [16:02:26]OFD Sender: No OFD packet to send [16:02:31]OFD Sender: No OFD packet to send [16:02:36]OFD Sender: No OFD packet to send [16:02:41]OFD Sender: No OFD packet to send [16:02:46]OFD Sender: No OFD packet to send [16:02:51]OFD Sender: No OFD packet to send [16:02:56]OFD Sender: No OFD packet to send [16:03:01]OFD Sender: No OFD packet to send [16:03:06]OFD Sender: No OFD packet to send [16:03:11]OFD Sender: No OFD packet to send [16:03:16]OFD Sender: No OFD packet to send [16:03:21]OFD Sender: No OFD packet to send [16:03:26]OFD Sender: No OFD packet to send [16:03:31]OFD Sender: No OFD packet to send [16:03:36]OFD Sender: No OFD packet to send [16:03:41]OFD Sender: No OFD packet to send [16:03:46]OFD Sender: No OFD packet to send [16:03:51]OFD Sender: No OFD packet to send [16:03:56]OFD Sender: No OFD packet to send [16:04:01]OFD Sender: No OFD packet to send [16:04:06]OFD Sender: No OFD packet to send [16:04:11]OFD Sender: No OFD packet to send [16:04:16]OFD Sender: No OFD packet to send [16:04:21]OFD Sender: No OFD packet to send [16:04:26]OFD Sender: No OFD packet to send [16:04:31]OFD Sender: No OFD packet to send [16:04:36]OFD Sender: No OFD packet to send [16:04:41]OFD Sender: No OFD packet to send [16:04:46]OFD Sender: No OFD packet to send [16:04:51]OFD Sender: No OFD packet to send [16:04:56]OFD Sender: No OFD packet to send [16:05:01]OFD Sender: No OFD packet to send [16:05:06]OFD Sender: No OFD packet to send [16:05:11]OFD Sender: No OFD packet to send [16:05:16]OFD Sender: No OFD packet to send [16:05:21]OFD Sender: No OFD packet to send [16:05:26]OFD Sender: No OFD packet to send [16:05:31]OFD Sender: No OFD packet to send [16:05:36]OFD Sender: No OFD packet to send [16:05:41]OFD Sender: No OFD packet to send [16:05:46]OFD Sender: No OFD packet to send [16:05:51]OFD Sender: No OFD packet to send [16:05:56]OFD Sender: No OFD packet to send [16:06:01]OFD Sender: No OFD packet to send [16:06:06]OFD Sender: No OFD packet to send [16:06:11]OFD Sender: No OFD packet to send [16:06:16]OFD Sender: No OFD packet to send [16:06:21]OFD Sender: No OFD packet to send [16:06:26]OFD Sender: No OFD packet to send [16:06:31]OFD Sender: No OFD packet to send [16:06:36]OFD Sender: No OFD packet to send [16:06:41]OFD Sender: No OFD packet to send [16:06:46]OFD Sender: No OFD packet to send [16:06:52]OFD Sender: No OFD packet to send [16:06:57]OFD Sender: No OFD packet to send [16:07:02]OFD Sender: No OFD packet to send [16:07:07]OFD Sender: No OFD packet to send [16:07:12]OFD Sender: No OFD packet to send [16:07:17]OFD Sender: No OFD packet to send [16:07:22]OFD Sender: No OFD packet to send [16:07:27]OFD Sender: No OFD packet to send [16:07:32]OFD Sender: No OFD packet to send [16:07:37]OFD Sender: No OFD packet to send [16:07:42]OFD Sender: No OFD packet to send [16:07:47]OFD Sender: No OFD packet to send [16:07:52]OFD Sender: No OFD packet to send [16:07:57]OFD Sender: No OFD packet to send [16:08:02]OFD Sender: No OFD packet to send [16:08:07]OFD Sender: No OFD packet to send [16:08:12]OFD Sender: No OFD packet to send [16:08:17]OFD Sender: No OFD packet to send [16:08:22]OFD Sender: No OFD packet to send [16:08:27]OFD Sender: No OFD packet to send [16:08:32]OFD Sender: No OFD packet to send [16:08:37]OFD Sender: No OFD packet to send [16:08:42]OFD Sender: No OFD packet to send [16:08:47]OFD Sender: No OFD packet to send [16:08:52]OFD Sender: No OFD packet to send [16:08: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:16]accept exits with 5 [16:10:16]New connection [16:10:16]New thread 3067014500 created [16:10:16]Thread 3066871140 joined [16:10:16]Waiting for new connection... [16:10:16] Sock 5.Parse request [16:10:16]Sock 5.Check first char [16:10:16]Sock 5.First char is OK [16:10:16]request: POST /json_proto HTTP/1.0 [16:10:16]Method: POST [16:10:16]URL: /json_proto [16:10:16]Method is POST - this is cgi request [16:10:16]url: /json_proto [16:10:16]query_string will be loaded in cgi processing [16:10:16]execute_cgi json_proto POST (null) [16:10:16]execute_cgi path=json_proto method=POST [16:10:16]POST find Content-Length [16:10:16]Host: 172.17.39.4:8080 [16:10:16]Content-Length: 903 [16:10:16]Content-Type: application/json [16:10:16] [16:10:16]POST finish read [16:10:16]Found Content-Length = 903 [16:10:16]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129639", "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: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "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" ] } } [16:10:16]execute_script... [16:10: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)129639", "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: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "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" ] } } [16:10:16]POST & json_proto [16:10:16]process_json_proto [16:10:16]json parsed OK: [16:10:16]protocol is kg_v1.0 [16:10:16]action value=close_receipt [16:10:16]process_action close_receipt [16:10:16]cmd_close_receipt [16:10:16]MH_GetDate [16:10:16]Write to MH i2c: F0 00 00 1D 00 0C [16:10:16]Write i2c OK [16:10:16]MH_I2C_Read... [16:10:16]Read from MH i2c: F0 [16:10:16]MH_I2C_Read... [16:10:16]Read from MH i2c: F0 09 00 [16:10:16]MH_I2C_Read... [16:10:16]Read from MH i2c: F0 09 00 1D 00 00 E8 49 95 66 2D 25 5D 64 54 [16:10:16]GetLastDocTimeStamp 1721056801 [16:10:16]current date 1721059816 [16:10:16]FM_GetShiftState [16:10:16]SAM_PROTO_GetShiftState [16:10:16]wFMCommunicate request_size=4 [16:10:16]MH_SAM_APDU [16:10:16]CAPDU: 80 13 01 00 [16:10:16]Write to MH i2c: E2 08 00 1E 00 80 13 01 00 00 00 00 00 9B [16:10:16]Write i2c OK [16:10:16]MH_I2C_Read... [16:10:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:10:16]Read from MH i2c: E2 [16:10:16]MH_I2C_Read... [16:10:16]Read from MH i2c: E2 0E 00 [16:10:16]MH_I2C_Read... [16:10:16]Read from MH i2c: E2 0E 00 1E 00 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 14 [16:10:16]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [16:10:16]wFMCommunicate OK [16:10:16]SAM_PROTO_GetShiftState done [16:10:16]FM_GetShiftState done [16:10:16]opened in 1721003525 [16:10:16]opened+sec_in_day 1721089925 [16:10:16]quantity*price = 13800 [16:10:16]sum+1 = 13801 [16:10:16]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 СНО: Общий режим Чек 88 15.07.2024 16:10 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 Платежная система: Бакай Банк ФМ: 0000000000874857 ФД: 57193 ФПД: 17360177773222 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T161016&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57193&fm=17360177773222&tin=02508201610067®Number=0000000000091208&sum=13800 0 [16:10:17]StoreToDocumentArchive [16:10:17]shift 497 fd 57193 [16:10:17]save to /storage/0497/doc_00057193 [16:10:17]save last doc name /storage/0497/doc_00057193 to /storage/kkm_last_doc_name [16:10:17]save OK [16:10:17]Clear old archive folders... [16:10:17]ProcessDocumentItem done err = 0, tmpTLVsize=274 [16:10:17]tlvbuf is 00852F80 [16:10:17]SAM_PROTO_ClearQueue [16:10:17]wFMCommunicate request_size=4 [16:10:17]MH_SAM_APDU [16:10:17]CAPDU: 80 09 00 00 [16:10:17]Write to MH i2c: E2 08 00 2B 00 80 09 00 00 00 00 00 00 9D [16:10:17]Write i2c OK [16:10:17]MH_I2C_Read... [16:10:17]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:10:17]Read from MH i2c: E2 [16:10:17]MH_I2C_Read... [16:10:17]Read from MH i2c: E2 03 00 [16:10:17]MH_I2C_Read... [16:10:17]Read from MH i2c: E2 03 00 2B 00 00 90 00 9F [16:10:17]RAPDU: 90 00 [16:10:17]wFMCommunicate OK [16:10:17]SAM_PROTO_ClearQueue done [16:10:17]KKMCreateOFDPacket [16:10:17]OFDProtocolAddRootSTLVToBuf [16:10:17]FM_MakeSignedData [16:10:17]FM_MakeSignedData [16:10:17]SAM_PROTO_SignData [16:10:17]wFMCommunicate request_size=4 [16:10:17]MH_SAM_APDU [16:10:17]CAPDU: 80 0D 01 02 [16:10:17]Write to MH i2c: E2 08 00 2C 00 80 0D 01 02 00 00 00 00 A5 [16:10:17]Write i2c OK [16:10:17]MH_I2C_Read... [16:10:17]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:10:17]Read from MH i2c: E2 [16:10:17]MH_I2C_Read... [16:10:17]Read from MH i2c: E2 03 00 [16:10:17]MH_I2C_Read... [16:10:17]Read from MH i2c: E2 03 00 2C 00 00 90 00 A0 [16:10:17]RAPDU: 90 00 [16:10:17]wFMCommunicate OK [16:10:17]wFMCommunicate request_size=255 [16:10:17]MH_SAM_APDU [16:10:17]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 58 00 00 00 F4 03 04 00 E8 49 95 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 [16:10:17]Write to MH i2c: E2 02 01 2D 00 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 58 00 00 00 F4 03 04 00 E8 49 95 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 00 00 53 [16:10:17]Write i2c OK [16:10:17]MH_I2C_Read... [16:10:17]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:10:17]Read from MH i2c: E2 [16:10:17]MH_I2C_Read... [16:10:17]Read from MH i2c: E2 03 00 [16:10:17]MH_I2C_Read... [16:10:17]Read from MH i2c: E2 03 00 2D 00 00 90 00 A1 [16:10:17]RAPDU: 90 00 [16:10:17]wFMCommunicate OK [16:10:17]wFMCommunicate request_size=33 [16:10:17]MH_SAM_APDU [16:10:17]CAPDU: 80 0D 02 02 1C 30 30 30 30 38 37 34 38 35 37 10 04 04 00 69 DF 00 00 35 04 06 00 0F C9 FB 3A BA A6 [16:10:17]Write to MH i2c: E2 24 00 2E 00 80 0D 02 02 1C 00 30 30 30 30 38 37 34 38 35 37 10 04 04 00 69 DF 00 00 35 04 06 00 0F C9 FB 3A BA A6 00 00 F3 [16:10:17]Write i2c OK [16:10:17]MH_I2C_Read... [16:10:17]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:10:17]Read from MH i2c: E2 [16:10:17]MH_I2C_Read... [16:10:17]Read from MH i2c: E2 03 00 [16:10:17]MH_I2C_Read... [16:10:17]Read from MH i2c: E2 03 00 2E 00 00 90 00 A2 [16:10:17]RAPDU: 90 00 [16:10:17]wFMCommunicate OK [16:10:17]wFMCommunicate request_size=4 [16:10:17]MH_SAM_APDU [16:10:17]CAPDU: 80 0D 03 02 [16:10:17]Write to MH i2c: E2 08 00 2F 00 80 0D 03 02 00 00 00 00 AA [16:10:17]Write i2c OK [16:10:17]MH_I2C_Read... [16:10:17]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:10:17]Read from MH i2c: E2 [16:10:17]MH_I2C_Read... [16:10:17]Read from MH i2c: E2 0B 00 [16:10:17]MH_I2C_Read... [16:10:17]Read from MH i2c: E2 0B 00 2F 00 00 12 2A 27 10 51 D9 75 17 90 00 D4 [16:10:17]RAPDU: 12 2A 27 10 51 D9 75 17 90 00 [16:10:17]wFMCommunicate OK [16:10:17]SAM_PROTO_SignData done [16:10:17]FM_MakeSignedData done [16:10:17]CreateOFDProtocolMessage [16:10:17]wFMCommunicate request_size=4 [16:10:17]MH_SAM_APDU [16:10:17]CAPDU: 80 11 00 00 [16:10:17]Write to MH i2c: E2 08 00 30 00 80 11 00 00 00 00 00 00 AA [16:10:17]Write i2c OK [16:10:17]MH_I2C_Read... [16:10:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:10:17]Read from MH i2c: E2 [16:10:17]MH_I2C_Read... [16:10:17]Read from MH i2c: E2 17 00 [16:10:17]MH_I2C_Read... [16:10:17]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 [16:10:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [16:10:17]wFMCommunicate OK [16:10:17]CreateOFDProtocolMessage done [16:10:17]OFDSenderStorePacket 57193 [16:10:17]StoreOFDPacket docnum=57193 [16:10: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 26 01 00 00 84 55 1E 01 89 50 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 58 00 00 00 F4 03 04 00 E8 49 95 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 69 DF 00 00 35 04 06 00 0F C9 FB 3A BA A6 12 2A 27 10 51 D9 75 17 [16:10:17]CheckFolder [16:10:17]dirname=/storage/ofd_packets [16:10:17]CheckFolder done [16:10:17]ProducePacketName [16:10:17]name=ofd_packets/00057193 [16:10:17]NVStorageSaveData ofd_packets/00057193 [16:10:17]File name is /storage/ofd_packets/00057193 [16:10:17]Write 324 bytes [16:10:17]NVStorageSaveData done [16:10:17]OFDSenderStorePacket done [16:10:17]KKMCreateOFDPacket done [16:10:17]NVStorageSaveData kkm_last_timestamp [16:10:17]File name is /storage/kkm_last_timestamp [16:10:17]Write 4 bytes [16:10:17]NVStorageSaveData done [16:10:17]ExternCall_PrintAddStr [16:10:18]wPrintStart [16:10:18]Write to MH i2c: 01 00 00 31 00 31 [16:10:18]OFD Sender: Processing packet 57193 [packets to send 38, broken 37] [16:10:18]ProducePacketName [16:10:18]name=ofd_packets/00057193 [16:10:18]OFD Sender: To server: pG, [16:10:18]CommunicateWithHost lk.salyk.kg:30040 [16:10:18]ConnectInit lk.salyk.kg [16:10:18]Write i2c OK [16:10:18]MH_I2C_Read... [16:10:18]Read from MH i2c: 01 [16:10:18]MH_I2C_Read... [16:10:18]Read from MH i2c: 01 07 00 [16:10:18]MH_I2C_Read... [16:10:18]Read from MH i2c: 01 07 00 31 00 00 00 00 00 00 FF 0F 46 [16:10:18]RasterBufferAndPrint [16:10:18]line Счет N : (3)129639 [16:10:18]line ИНН: 02508201610067 [16:10:18]line Контрольно-Кассовый Чек [16:10:18]line ПРОДАЖА [16:10:18]line Товар: 4640030091645 [16:10:18]line Сигареты ESSE Exchange M [16:10:18]line 1.000 * 138.00 [16:10:18]line = 138.00 [16:10:18]line НДС 12% НСП 1% [16:10:18]line > о реализуемом товаре [16:10:18]line ИТОГО: 138.00 [16:10:18]line НСП 1% : 1.22 [16:10:18]line НДС 12% : 14.65 [16:10:18]line Наличными: 0.00 [16:10:18]line Безнал.: 138.00 [16:10:18]line Место: АЗС № 132 "Партнер Нефть" [16:10:18]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [16:10:18]line СНО: Общий режим [16:10:18]line Чек 88 15.07.2024 16:10 [16:10:18]line Смена: 497 ФФД: 1.0 [16:10:18]line ЗНМ: 0300000132 [16:10:18]line РНМ: 0000000000091208 [16:10:18]line Версия ККМ: 001 [16:10:18]line Платежная система: Бакай Банк [16:10:18]line ФМ: 0000000000874857 [16:10:18]line ФД: 57193 [16:10:18]line ФПД: 17360177773222 [16:10:18]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T161016&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57193&fm=17360177773222&tin=02508201610067®Number=0000000000091208&sum=13800 [16:10:18]line 0 [16:10:18]written 0, free lines is 4095 [16:10:18]Connected sock=10 [16:10: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 26 01 00 00 84 55 1E 01 89 50 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 58 00 00 00 F4 03 04 00 E8 49 95 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 69 DF 00 00 35 04 06 00 0F C9 FB 3A BA A6 12 2A 27 10 51 D9 75 17 [16:10:18]Write to MH i2c: 01 00 00 5B 00 5B [16:10:18]Write i2c OK [16:10:18]MH_I2C_Read... [16:10:18]Read from MH i2c: 01 [16:10:18]MH_I2C_Read... [16:10:18]Read from MH i2c: 01 07 00 [16:10:18]MH_I2C_Read... [16:10:18]Read from MH i2c: 01 07 00 5B 00 00 00 00 00 00 F6 0C 64 [16:10:18]RasterBufferAndPrint [16:10:18]line [16:10:18]line [16:10:18]line [16:10:18]line [16:10:18]line [16:10:18]written 0, free lines is 3327 [16:10:18]MH_Cut [16:10:18]Write to MH i2c: D1 01 00 62 00 01 34 [16:10:18]Write i2c OK [16:10:18]MH_I2C_Read... [16:10:18]Read from MH i2c: D1 [16:10:18]MH_I2C_Read... [16:10:18]Read from MH i2c: D1 01 00 [16:10:18]MH_I2C_Read... [16:10:18]Read from MH i2c: D1 01 00 62 00 00 33 [16:10:18]Write to MH i2c: 01 00 00 63 00 63 [16:10:18]Write i2c OK [16:10:18]MH_I2C_Read... [16:10: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 4F 2B 47 00 26 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 69 DF 00 00 F4 03 04 00 36 F0 94 66 B6 04 01 00 00 C3 6E 21 94 8C 63 83 B9 [16:10:18]CommunicateWithHost err = 0 [16:10:18]CheckOFDResponse [16:10:18]1017 (14) - 77093643461234 [16:10:18]1041 (16) - 0000000000874857 [16:10:18]1040 (4) - 57193 [16:10:18]1012 (4) - 15.07.2024 09:47 [16:10:18]1206 (1) - 0 [16:10:18]OFD Sender: Remove packet 57193 [16:10:18]ProducePacketName [16:10:18]name=ofd_packets/00057193 [16:10:18]NVStorageDeleteData [16:10:19]OFD Sender: No OFD packet to send [16:10:19]*** Cut start [16:10:19]*** Partial cut [16:10:19]*** CUTSNS_PIN = 1 [16:10:19]*** CUTSNS_PIN = 0 [16:10:19]*** Brake cut motor [16:10:19]Read from MH i2c: 01 [16:10:19]MH_I2C_Read... [16:10:19]*** Stop cut motor [16:10:19]*** Cut end [16:10:19]Read from MH i2c: 01 07 00 [16:10:19]MH_I2C_Read... [16:10:19]Read from MH i2c: 01 07 00 63 00 00 00 00 00 00 FF 0F 78 [16:10:19]process_action close_receipt done [16:10:19]requested_data is exist [16:10:19]produce_requested_data [16:10:19]requested_item fm.sn is exist - process it [16:10:19]wFMCommunicate request_size=4 [16:10:19]MH_SAM_APDU [16:10:19]CAPDU: 80 11 00 00 [16:10:19]Write to MH i2c: E2 08 00 64 00 80 11 00 00 00 00 00 00 DE [16:10:19]Write i2c OK [16:10:19]MH_I2C_Read... [16:10:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:10:19]Read from MH i2c: E2 [16:10:19]MH_I2C_Read... [16:10:19]Read from MH i2c: E2 17 00 [16:10:19]MH_I2C_Read... [16:10:19]Read from MH i2c: E2 17 00 64 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 38 [16:10:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [16:10:19]wFMCommunicate OK [16:10:19]requested_item fd.num is exist - process it [16:10:19]SAM_PROTO_GetFieldsCounters [16:10:19]wFMCommunicate request_size=4 [16:10:19]MH_SAM_APDU [16:10:19]CAPDU: 80 13 00 00 [16:10:19]Write to MH i2c: E2 08 00 65 00 80 13 00 00 00 00 00 00 E1 [16:10:19]Write i2c OK [16:10:19]MH_I2C_Read... [16:10:20]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:10:20]Read from MH i2c: E2 [16:10:20]MH_I2C_Read... [16:10:20]Read from MH i2c: E2 62 00 [16:10:20]MH_I2C_Read... [16:10:20]Read from MH i2c: E2 62 00 65 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 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 69 DF 00 00 0E 04 04 00 F1 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 46 [16:10: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 69 DF 00 00 0E 04 04 00 F1 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 [16:10:20]wFMCommunicate OK [16:10:20]SAM_PROTO_GetFieldsCounters done [16:10:20]requested_item shift.num is exist - process it [16:10:20]requested_item shift.opened is exist - process it [16:10:20]req_shift_opened [16:10:20]FM_GetShiftState [16:10:20]SAM_PROTO_GetShiftState [16:10:20]wFMCommunicate request_size=4 [16:10:20]MH_SAM_APDU [16:10:20]CAPDU: 80 13 01 00 [16:10:20]Write to MH i2c: E2 08 00 66 00 80 13 01 00 00 00 00 00 E3 [16:10:20]Write i2c OK [16:10:20]MH_I2C_Read... [16:10:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:10:20]Read from MH i2c: E2 [16:10:20]MH_I2C_Read... [16:10:20]Read from MH i2c: E2 0E 00 [16:10:20]MH_I2C_Read... [16:10:20]Read from MH i2c: E2 0E 00 66 00 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 5C [16:10:20]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [16:10:20]wFMCommunicate OK [16:10:20]SAM_PROTO_GetShiftState done [16:10:20]FM_GetShiftState done [16:10:20]req_shift_opened done [16:10:20]requested_item shift.open_date is exist - process it [16:10:20]req_shift_open_date [16:10:20]req_shift_open_date done [16:10:20]requested_item shift.sale.total is exist - process it [16:10:20]SAM_PROTO_GetShiftData [16:10:20]wFMCommunicate request_size=4 [16:10:20]MH_SAM_APDU [16:10:20]CAPDU: 80 13 02 00 [16:10:20]Write to MH i2c: E2 08 00 67 00 80 13 02 00 00 00 00 00 E5 [16:10:20]Write i2c OK [16:10:20]MH_I2C_Read... [16:10:20]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [16:10:20]Read from MH i2c: E2 [16:10:20]MH_I2C_Read... [16:10:20]Read from MH i2c: E2 FD 00 [16:10:20]MH_I2C_Read... [16:10:20]Read from MH i2c: E2 FD 00 67 00 00 B6 04 AA 04 B2 04 6E 04 04 00 58 00 00 00 69 04 9B 00 6F 04 04 00 57 00 00 00 B1 04 03 00 C9 F9 24 70 04 03 00 4C 12 1F 72 04 03 00 7D E7 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 4C ED 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 C1 53 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 12 [16:10:20]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 58 00 00 00 69 04 9B 00 6F 04 04 00 57 00 00 00 B1 04 03 00 C9 F9 24 70 04 03 00 4C 12 1F 72 04 03 00 7D E7 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 4C ED 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 C1 53 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 [16:10:20]wFMCommunicate OK [16:10:20]wFMCommunicate request_size=4 [16:10:20]MH_SAM_APDU [16:10:20]CAPDU: 80 17 00 00 [16:10:20]Write to MH i2c: E2 08 00 68 00 80 17 00 00 00 00 00 00 E8 [16:10:20]Write i2c OK [16:10:20]MH_I2C_Read... [16:10:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:10:20]Read from MH i2c: E2 [16:10:20]MH_I2C_Read... [16:10:20]Read from MH i2c: E2 FD 00 [16:10:20]MH_I2C_Read... [16:10:20]Read from MH i2c: E2 FD 00 68 00 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 1D [16:10:20]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 [16:10:20]wFMCommunicate OK [16:10:20]wFMCommunicate request_size=4 [16:10:20]MH_SAM_APDU [16:10:20]CAPDU: 80 17 00 00 [16:10:20]Write to MH i2c: E2 08 00 69 00 80 17 00 00 00 00 00 00 E9 [16:10:20]Write i2c OK [16:10:20]MH_I2C_Read... [16:10:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:10:21]Read from MH i2c: E2 [16:10:21]MH_I2C_Read... [16:10:21]Read from MH i2c: E2 FD 00 [16:10:21]MH_I2C_Read... [16:10:21]Read from MH i2c: E2 FD 00 69 00 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 A9 [16:10:21]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 [16:10:21]wFMCommunicate OK [16:10:21]wFMCommunicate request_size=4 [16:10:21]MH_SAM_APDU [16:10:21]CAPDU: 80 17 00 00 [16:10:21]Write to MH i2c: E2 08 00 6A 00 80 17 00 00 00 00 00 00 EA [16:10:21]Write i2c OK [16:10:21]MH_I2C_Read... [16:10:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:10:21]Read from MH i2c: E2 [16:10:21]MH_I2C_Read... [16:10:21]Read from MH i2c: E2 FD 00 [16:10:21]MH_I2C_Read... [16:10:21]Read from MH i2c: E2 FD 00 6A 00 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 59 [16:10:21]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 [16:10:21]wFMCommunicate OK [16:10:21]wFMCommunicate request_size=4 [16:10:21]MH_SAM_APDU [16:10:21]CAPDU: 80 17 00 00 [16:10:21]Write to MH i2c: E2 08 00 6B 00 80 17 00 00 00 00 00 00 EB [16:10:21]Write i2c OK [16:10:21]MH_I2C_Read... [16:10:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [16:10:21]Read from MH i2c: E2 [16:10:21]MH_I2C_Read... [16:10:21]Read from MH i2c: E2 D3 00 [16:10:21]MH_I2C_Read... [16:10:21]Read from MH i2c: E2 D3 00 6B 00 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 D8 [16:10:21]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 [16:10:21]wFMCommunicate OK [16:10:21]SAM_PROTO_GetShiftData done [16:10:21]requested_item shift.sale.total_cash is exist - process it [16:10:21]requested_item shift.sale_refund.total is exist - process it [16:10:21]requested_item shift.sale_refund.total_cash is exist - process it [16:10:21]produce_requested_data done [16:10:21]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57193,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":24232.41,"shift.sale.total_cash":20363.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [16:10:21]process_action_free close_receipt [16:10:21]json_value_free [16:10:21]json_value_free done [16:10:21]process_json_proto returns [16:10:21]Send response to host [16:10:21]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57193,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":24232.41,"shift.sale.total_cash":20363.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [16:10:21]free response buf [16:10:21]execute_script done [16:10:21]execute_script returns [16:10:21]free content buf [16:10:21]Sock 5.Close socket [16:10:21]Sock 5.Thread stoped [16:10:24]OFD Sender: No OFD packet to send [16:10:29]OFD Sender: No OFD packet to send [16:10:34]OFD Sender: No OFD packet to send [16:10:39]OFD Sender: No OFD packet to send [16:10:44]OFD Sender: No OFD packet to send [16:10:49]OFD Sender: No OFD packet to send [16:10:54]OFD Sender: No OFD packet to send [16:10:59]OFD Sender: No OFD packet to send [16:11:04]OFD Sender: No OFD packet to send [16:11:09]OFD Sender: No OFD packet to send [16:11:14]OFD Sender: No OFD packet to send [16:11:19]OFD Sender: No OFD packet to send [16:11:24]OFD Sender: No OFD packet to send [16:11:29]OFD Sender: No OFD packet to send [16:11:34]OFD Sender: No OFD packet to send [16:11:39]OFD Sender: No OFD packet to send [16:11:44]OFD Sender: No OFD packet to send [16:11:49]OFD Sender: No OFD packet to send [16:11:54]OFD Sender: No OFD packet to send [16:11:59]OFD Sender: No OFD packet to send [16:12:04]OFD Sender: No OFD packet to send [16:12:09]OFD Sender: No OFD packet to send [16:12:14]OFD Sender: No OFD packet to send [16:12:19]OFD Sender: No OFD packet to send [16:12:24]OFD Sender: No OFD packet to send [16:12:29]OFD Sender: No OFD packet to send [16:12:34]OFD Sender: No OFD packet to send [16:12:39]OFD Sender: No OFD packet to send [16:12:44]OFD Sender: No OFD packet to send [16:12:49]OFD Sender: No OFD packet to send [16:12:54]OFD Sender: No OFD packet to send [16:12:59]OFD Sender: No OFD packet to send [16:13:04]OFD Sender: No OFD packet to send [16:13:09]OFD Sender: No OFD packet to send [16:13:14]OFD Sender: No OFD packet to send [16:13:19]OFD Sender: No OFD packet to send [16:13:24]OFD Sender: No OFD packet to send [16:13:29]OFD Sender: No OFD packet to send [16:13:34]OFD Sender: No OFD packet to send [16:13:39]OFD Sender: No OFD packet to send [16:13:44]OFD Sender: No OFD packet to send [16:13:49]OFD Sender: No OFD packet to send [16:13:54]OFD Sender: No OFD packet to send [16:13:59]OFD Sender: No OFD packet to send [16:14:04]OFD Sender: No OFD packet to send [16:14:09]OFD Sender: No OFD packet to send [16:14:14]OFD Sender: No OFD packet to send [16:14:19]OFD Sender: No OFD packet to send [16:14:24]OFD Sender: No OFD packet to send [16:14:29]OFD Sender: No OFD packet to send [16:14:34]OFD Sender: No OFD packet to send [16:14:39]OFD Sender: No OFD packet to send [16:14:44]OFD Sender: No OFD packet to send [16:14:49]OFD Sender: No OFD packet to send [16:14:54]OFD Sender: No OFD packet to send [16:14:59]OFD Sender: No OFD packet to send [16:15:04]OFD Sender: No OFD packet to send [16:15:09]OFD Sender: No OFD packet to send [16:15:14]OFD Sender: No OFD packet to send [16:15:19]OFD Sender: No OFD packet to send [16:15:24]OFD Sender: No OFD packet to send [16:15:29]OFD Sender: No OFD packet to send [16:15:34]OFD Sender: No OFD packet to send [16:15:39]OFD Sender: No OFD packet to send [16:15:44]OFD Sender: No OFD packet to send [16:15:49]OFD Sender: No OFD packet to send [16:15:54]OFD Sender: No OFD packet to send [16:15:59]OFD Sender: No OFD packet to send [16:16:04]OFD Sender: No OFD packet to send [16:16:09]OFD Sender: No OFD packet to send [16:16:14]OFD Sender: No OFD packet to send [16:16:19]OFD Sender: No OFD packet to send [16:16:24]OFD Sender: No OFD packet to send [16:16:29]OFD Sender: No OFD packet to send [16:16:34]OFD Sender: No OFD packet to send [16:16:39]OFD Sender: No OFD packet to send [16:16:44]OFD Sender: No OFD packet to send [16:16:49]OFD Sender: No OFD packet to send [16:16:54]OFD Sender: No OFD packet to send [16:16:59]OFD Sender: No OFD packet to send [16:17:04]OFD Sender: No OFD packet to send [16:17:09]OFD Sender: No OFD packet to send [16:17:14]OFD Sender: No OFD packet to send [16:17:19]OFD Sender: No OFD packet to send [16:17:24]OFD Sender: No OFD packet to send [16:17:29]OFD Sender: No OFD packet to send [16:17:34]OFD Sender: No OFD packet to send [16:17:39]OFD Sender: No OFD packet to send [16:17:44]OFD Sender: No OFD packet to send [16:17:49]OFD Sender: No OFD packet to send [16:17:54]OFD Sender: No OFD packet to send [16:17:59]OFD Sender: No OFD packet to send [16:18:04]OFD Sender: No OFD packet to send [16:18:09]OFD Sender: No OFD packet to send [16:18:14]OFD Sender: No OFD packet to send [16:18:19]OFD Sender: No OFD packet to send [16:18:24]OFD Sender: No OFD packet to send [16:18:29]OFD Sender: No OFD packet to send [16:18:34]OFD Sender: No OFD packet to send [16:18:39]OFD Sender: No OFD packet to send [16:18:44]OFD Sender: No OFD packet to send [16:18:49]OFD Sender: No OFD packet to send [16:18:54]OFD Sender: No OFD packet to send [16:18:57]accept exits with 9 [16:18:57]New connection [16:18:57]New thread 3066871140 created [16:18:57]Thread 3067014500 joined [16:18:57]Waiting for new connection... [16:18:57] Sock 9.Parse request [16:18:57]Sock 9.Check first char [16:18:57]Sock 9.First char is OK [16:18:57]request: POST /json_proto HTTP/1.0 [16:18:57]Method: POST [16:18:57]URL: /json_proto [16:18:57]Method is POST - this is cgi request [16:18:57]url: /json_proto [16:18:57]query_string will be loaded in cgi processing [16:18:57]execute_cgi json_proto POST (null) [16:18:57]execute_cgi path=json_proto method=POST [16:18:57]POST find Content-Length [16:18:57]Host: 172.17.39.4:8080 [16:18:57]Content-Length: 762 [16:18:57]Content-Type: application/json [16:18:57] [16:18:57]POST finish read [16:18:57]Found Content-Length = 762 [16:18:57]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129640", "tax_sys" : 0, "items" : [ { "code": "5449000054227", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\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" ] } } [16:18:57]execute_script... [16:18: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)129640", "tax_sys" : 0, "items" : [ { "code": "5449000054227", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\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" ] } } [16:18:57]POST & json_proto [16:18:57]process_json_proto [16:18:57]json parsed OK: [16:18:57]protocol is kg_v1.0 [16:18:57]action value=close_receipt [16:18:57]process_action close_receipt [16:18:57]cmd_close_receipt [16:18:57]MH_GetDate [16:18:57]Write to MH i2c: F0 00 00 6C 00 5B [16:18:57]Write i2c OK [16:18:57]MH_I2C_Read... [16:18:57]Read from MH i2c: F0 [16:18:57]MH_I2C_Read... [16:18:57]Read from MH i2c: F0 09 00 [16:18:57]MH_I2C_Read... [16:18:57]Read from MH i2c: F0 09 00 6C 00 00 F1 4B 95 66 2D 25 5D 64 AE [16:18:57]GetLastDocTimeStamp 1721059816 [16:18:57]current date 1721060337 [16:18:57]FM_GetShiftState [16:18:57]SAM_PROTO_GetShiftState [16:18:57]wFMCommunicate request_size=4 [16:18:57]MH_SAM_APDU [16:18:57]CAPDU: 80 13 01 00 [16:18:57]Write to MH i2c: E2 08 00 6D 00 80 13 01 00 00 00 00 00 EA [16:18:57]Write i2c OK [16:18:57]MH_I2C_Read... [16:18:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:18:57]Read from MH i2c: E2 [16:18:57]MH_I2C_Read... [16:18:57]Read from MH i2c: E2 0E 00 [16:18:57]MH_I2C_Read... [16:18:57]Read from MH i2c: E2 0E 00 6D 00 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 63 [16:18:57]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [16:18:57]wFMCommunicate OK [16:18:57]SAM_PROTO_GetShiftState done [16:18:57]FM_GetShiftState done [16:18:57]opened in 1721003525 [16:18:57]opened+sec_in_day 1721089925 [16:18:57]quantity*price = 12500 [16:18:57]sum+1 = 12501 [16:18:57]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 СНО: Общий режим Чек 89 15.07.2024 16:18 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57194 ФПД: 210557761131808 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T161857&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57194&fm=210557761131808&tin=02508201610067®Number=0000000000091208&sum=12500 0 [16:18:58]StoreToDocumentArchive [16:18:58]shift 497 fd 57194 [16:18:58]save to /storage/0497/doc_00057194 [16:18:58]save last doc name /storage/0497/doc_00057194 to /storage/kkm_last_doc_name [16:18:58]save OK [16:18:58]Clear old archive folders... [16:18:58]ProcessDocumentItem done err = 0, tmpTLVsize=278 [16:18:58]tlvbuf is B6ED0CD0 [16:18:58]SAM_PROTO_ClearQueue [16:18:58]wFMCommunicate request_size=4 [16:18:58]MH_SAM_APDU [16:18:58]CAPDU: 80 09 00 00 [16:18:58]Write to MH i2c: E2 08 00 7A 00 80 09 00 00 00 00 00 00 EC [16:18:58]Write i2c OK [16:18:58]MH_I2C_Read... [16:18:58]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:18:58]Read from MH i2c: E2 [16:18:58]MH_I2C_Read... [16:18:58]Read from MH i2c: E2 03 00 [16:18:58]MH_I2C_Read... [16:18:58]Read from MH i2c: E2 03 00 7A 00 00 90 00 EE [16:18:58]RAPDU: 90 00 [16:18:58]wFMCommunicate OK [16:18:58]SAM_PROTO_ClearQueue done [16:18:58]KKMCreateOFDPacket [16:18:58]OFDProtocolAddRootSTLVToBuf [16:18:58]FM_MakeSignedData [16:18:58]FM_MakeSignedData [16:18:58]SAM_PROTO_SignData [16:18:58]wFMCommunicate request_size=4 [16:18:58]MH_SAM_APDU [16:18:58]CAPDU: 80 0D 01 02 [16:18:58]Write to MH i2c: E2 08 00 7B 00 80 0D 01 02 00 00 00 00 F4 [16:18:58]Write i2c OK [16:18:58]MH_I2C_Read... [16:18:58]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:18:58]Read from MH i2c: E2 [16:18:58]MH_I2C_Read... [16:18:58]Read from MH i2c: E2 03 00 [16:18:58]MH_I2C_Read... [16:18:58]Read from MH i2c: E2 03 00 7B 00 00 90 00 EF [16:18:58]RAPDU: 90 00 [16:18:58]wFMCommunicate OK [16:18:58]wFMCommunicate request_size=255 [16:18:58]MH_SAM_APDU [16:18:58]CAPDU: 80 0D 02 02 FA 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 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 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 59 00 00 00 F4 03 04 00 F1 4B 95 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 [16:18:58]Write to MH i2c: E2 02 01 7C 00 80 0D 02 02 FA 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 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 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 59 00 00 00 F4 03 04 00 F1 4B 95 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 00 00 1D [16:18:58]Write i2c OK [16:18:58]MH_I2C_Read... [16:18:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:18:58]Read from MH i2c: E2 [16:18:58]MH_I2C_Read... [16:18:58]Read from MH i2c: E2 03 00 [16:18:58]MH_I2C_Read... [16:18:58]Read from MH i2c: E2 03 00 7C 00 00 90 00 F0 [16:18:58]RAPDU: 90 00 [16:18:58]wFMCommunicate OK [16:18:58]wFMCommunicate request_size=37 [16:18:58]MH_SAM_APDU [16:18:58]CAPDU: 80 0D 02 02 20 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 6A DF 00 00 35 04 06 00 BF 80 4C 8E 95 20 [16:18:58]Write to MH i2c: E2 28 00 7D 00 80 0D 02 02 20 00 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 6A DF 00 00 35 04 06 00 BF 80 4C 8E 95 20 00 00 6C [16:18:58]Write i2c OK [16:18:58]MH_I2C_Read... [16:18:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:18:58]Read from MH i2c: E2 [16:18:58]MH_I2C_Read... [16:18:58]Read from MH i2c: E2 03 00 [16:18:58]MH_I2C_Read... [16:18:58]Read from MH i2c: E2 03 00 7D 00 00 90 00 F1 [16:18:58]RAPDU: 90 00 [16:18:58]wFMCommunicate OK [16:18:58]wFMCommunicate request_size=4 [16:18:58]MH_SAM_APDU [16:18:58]CAPDU: 80 0D 03 02 [16:18:58]Write to MH i2c: E2 08 00 7E 00 80 0D 03 02 00 00 00 00 F9 [16:18:58]Write i2c OK [16:18:58]MH_I2C_Read... [16:18:58]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:18:58]Read from MH i2c: E2 [16:18:58]MH_I2C_Read... [16:18:58]Read from MH i2c: E2 0B 00 [16:18:58]MH_I2C_Read... [16:18:58]Read from MH i2c: E2 0B 00 7E 00 00 33 B2 0C 02 AF 78 C5 30 90 00 09 [16:18:58]RAPDU: 33 B2 0C 02 AF 78 C5 30 90 00 [16:18:58]wFMCommunicate OK [16:18:58]SAM_PROTO_SignData done [16:18:58]FM_MakeSignedData done [16:18:58]CreateOFDProtocolMessage [16:18:58]wFMCommunicate request_size=4 [16:18:58]MH_SAM_APDU [16:18:58]CAPDU: 80 11 00 00 [16:18:58]Write to MH i2c: E2 08 00 7F 00 80 11 00 00 00 00 00 00 F9 [16:18:58]Write i2c OK [16:18:58]MH_I2C_Read... [16:18:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:18:58]Read from MH i2c: E2 [16:18:58]MH_I2C_Read... [16:18:58]Read from MH i2c: E2 17 00 [16:18:58]MH_I2C_Read... [16:18:58]Read from MH i2c: E2 17 00 7F 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 53 [16:18:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [16:18:58]wFMCommunicate OK [16:18:58]CreateOFDProtocolMessage done [16:18:58]OFDSenderStorePacket 57194 [16:18:58]StoreOFDPacket docnum=57194 [16:18: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 2A 01 00 00 49 29 22 01 99 0A 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 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 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 59 00 00 00 F4 03 04 00 F1 4B 95 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 6A DF 00 00 35 04 06 00 BF 80 4C 8E 95 20 33 B2 0C 02 AF 78 C5 30 [16:18:58]CheckFolder [16:18:58]dirname=/storage/ofd_packets [16:18:58]CheckFolder done [16:18:58]ProducePacketName [16:18:58]name=ofd_packets/00057194 [16:18:58]NVStorageSaveData ofd_packets/00057194 [16:18:58]File name is /storage/ofd_packets/00057194 [16:18:58]Write 328 bytes [16:18:58]NVStorageSaveData done [16:18:58]OFDSenderStorePacket done [16:18:58]KKMCreateOFDPacket done [16:18:58]NVStorageSaveData kkm_last_timestamp [16:18:58]File name is /storage/kkm_last_timestamp [16:18:58]Write 4 bytes [16:18:58]NVStorageSaveData done [16:18:58]ExternCall_PrintAddStr [16:18:58]wPrintStart [16:18:58]Write to MH i2c: 01 00 00 80 00 80 [16:18:58]Write i2c OK [16:18:58]MH_I2C_Read... [16:18:58]Read from MH i2c: 01 [16:18:58]MH_I2C_Read... [16:18:58]Read from MH i2c: 01 07 00 [16:18:58]MH_I2C_Read... [16:18:58]Read from MH i2c: 01 07 00 80 00 00 00 00 00 00 FF 0F 95 [16:18:58]RasterBufferAndPrint [16:18:58]line Счет N : (3)129640 [16:18:58]line ИНН: 02508201610067 [16:18:58]line Контрольно-Кассовый Чек [16:18:58]line ПРОДАЖА [16:18:58]line Товар: 5449000054227 [16:18:58]line Напиток Кока-Кола 1л [16:18:58]line 1.000 * 125.00 [16:18:58]line = 125.00 [16:18:58]line НДС 12% НСП 1% [16:18:58]line > о реализуемом товаре [16:18:58]line ИТОГО: 125.00 [16:18:58]line НСП 1% : 1.11 [16:18:58]line НДС 12% : 13.27 [16:18:58]line Наличными: 125.00 [16:18:58]line Безнал.: 0.00 [16:18:58]line Место: АЗС № 132 "Партнер Нефть" [16:18:58]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [16:18:58]line СНО: Общий режим [16:18:58]line Чек 89 15.07.2024 16:18 [16:18:58]line Смена: 497 ФФД: 1.0 [16:18:58]line ЗНМ: 0300000132 [16:18:58]line РНМ: 0000000000091208 [16:18:58]line Версия ККМ: 001 [16:18:58]line ФМ: 0000000000874857 [16:18:59]line ФД: 57194 [16:18:59]line ФПД: 210557761131808 [16:18:59]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T161857&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57194&fm=210557761131808&tin=02508201610067®Number=0000000000091208&sum=12500 [16:18:59]line 0 [16:18:59]OFD Sender: Processing packet 57194 [packets to send 38, broken 37] [16:18:59]ProducePacketName [16:18:59]name=ofd_packets/00057194 [16:18:59]OFD Sender: To server: pG, [16:18:59]CommunicateWithHost lk.salyk.kg:30040 [16:18:59]ConnectInit lk.salyk.kg [16:18:59]written 0, free lines is 4095 [16:18:59]Connected sock=10 [16:18: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 2A 01 00 00 49 29 22 01 99 0A 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 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 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 59 00 00 00 F4 03 04 00 F1 4B 95 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 6A DF 00 00 35 04 06 00 BF 80 4C 8E 95 20 33 B2 0C 02 AF 78 C5 30 [16:18: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 47 25 47 00 84 B6 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 6A DF 00 00 F4 03 04 00 3F F2 94 66 B6 04 01 00 00 8C BD D6 68 D3 72 1C 7D [16:18:59]CommunicateWithHost err = 0 [16:18:59]CheckOFDResponse [16:18:59]1017 (14) - 77093643461234 [16:18:59]1041 (16) - 0000000000874857 [16:18:59]1040 (4) - 57194 [16:18:59]1012 (4) - 15.07.2024 09:56 [16:18:59]1206 (1) - 0 [16:18:59]OFD Sender: Remove packet 57194 [16:18:59]ProducePacketName [16:18:59]name=ofd_packets/00057194 [16:18:59]NVStorageDeleteData [16:18:59]Write to MH i2c: 01 00 00 A8 00 A8 [16:18:59]Write i2c OK [16:18:59]MH_I2C_Read... [16:18:59]Read from MH i2c: 01 [16:18:59]MH_I2C_Read... [16:18:59]Read from MH i2c: 01 07 00 [16:18:59]MH_I2C_Read... [16:18:59]Read from MH i2c: 01 07 00 A8 00 00 00 00 00 00 04 0D C0 [16:18:59]RasterBufferAndPrint [16:18:59]line [16:18:59]line [16:18:59]line [16:18:59]line [16:18:59]line [16:18:59]written 0, free lines is 3337 [16:18:59]MH_Cut [16:18:59]Write to MH i2c: D1 01 00 AF 00 01 81 [16:18:59]Write i2c OK [16:18:59]MH_I2C_Read... [16:18:59]Read from MH i2c: D1 [16:18:59]MH_I2C_Read... [16:18:59]Read from MH i2c: D1 01 00 [16:18:59]MH_I2C_Read... [16:18:59]Read from MH i2c: D1 01 00 AF 00 00 80 [16:18:59]Write to MH i2c: 01 00 00 B0 00 B0 [16:18:59]Write i2c OK [16:18:59]MH_I2C_Read... [16:18:59]OFD Sender: No OFD packet to send [16:19:00]*** Cut start [16:19:00]*** Partial cut [16:19:00]*** CUTSNS_PIN = 1 [16:19:00]*** CUTSNS_PIN = 0 [16:19:00]*** Brake cut motor [16:19:00]Read from MH i2c: 01 [16:19:00]MH_I2C_Read... [16:19:00]*** Stop cut motor [16:19:00]*** Cut end [16:19:00]Read from MH i2c: 01 07 00 [16:19:00]MH_I2C_Read... [16:19:00]Read from MH i2c: 01 07 00 B0 00 00 00 00 00 00 FF 0F C5 [16:19:00]process_action close_receipt done [16:19:00]requested_data is exist [16:19:00]produce_requested_data [16:19:00]requested_item fm.sn is exist - process it [16:19:00]wFMCommunicate request_size=4 [16:19:00]MH_SAM_APDU [16:19:00]CAPDU: 80 11 00 00 [16:19:00]Write to MH i2c: E2 08 00 B1 00 80 11 00 00 00 00 00 00 2B [16:19:00]Write i2c OK [16:19:00]MH_I2C_Read... [16:19:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:19:00]Read from MH i2c: E2 [16:19:00]MH_I2C_Read... [16:19:00]Read from MH i2c: E2 17 00 [16:19:00]MH_I2C_Read... [16:19:00]Read from MH i2c: E2 17 00 B1 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 85 [16:19:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [16:19:00]wFMCommunicate OK [16:19:00]requested_item fd.num is exist - process it [16:19:00]SAM_PROTO_GetFieldsCounters [16:19:00]wFMCommunicate request_size=4 [16:19:00]MH_SAM_APDU [16:19:00]CAPDU: 80 13 00 00 [16:19:00]Write to MH i2c: E2 08 00 B2 00 80 13 00 00 00 00 00 00 2E [16:19:00]Write i2c OK [16:19:00]MH_I2C_Read... [16:19:01]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:19:01]Read from MH i2c: E2 [16:19:01]MH_I2C_Read... [16:19:01]Read from MH i2c: E2 62 00 [16:19:01]MH_I2C_Read... [16:19:01]Read from MH i2c: E2 62 00 B2 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 6A DF 00 00 0E 04 04 00 F1 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 97 [16:19: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 6A DF 00 00 0E 04 04 00 F1 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 [16:19:01]wFMCommunicate OK [16:19:01]SAM_PROTO_GetFieldsCounters done [16:19:01]requested_item shift.num is exist - process it [16:19:01]requested_item shift.opened is exist - process it [16:19:01]req_shift_opened [16:19:01]FM_GetShiftState [16:19:01]SAM_PROTO_GetShiftState [16:19:01]wFMCommunicate request_size=4 [16:19:01]MH_SAM_APDU [16:19:01]CAPDU: 80 13 01 00 [16:19:01]Write to MH i2c: E2 08 00 B3 00 80 13 01 00 00 00 00 00 30 [16:19:01]Write i2c OK [16:19:01]MH_I2C_Read... [16:19:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:19:01]Read from MH i2c: E2 [16:19:01]MH_I2C_Read... [16:19:01]Read from MH i2c: E2 0E 00 [16:19:01]MH_I2C_Read... [16:19:01]Read from MH i2c: E2 0E 00 B3 00 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 A9 [16:19:01]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [16:19:01]wFMCommunicate OK [16:19:01]SAM_PROTO_GetShiftState done [16:19:01]FM_GetShiftState done [16:19:01]req_shift_opened done [16:19:01]requested_item shift.open_date is exist - process it [16:19:01]req_shift_open_date [16:19:01]req_shift_open_date done [16:19:01]requested_item shift.sale.total is exist - process it [16:19:01]SAM_PROTO_GetShiftData [16:19:01]wFMCommunicate request_size=4 [16:19:01]MH_SAM_APDU [16:19:01]CAPDU: 80 13 02 00 [16:19:01]Write to MH i2c: E2 08 00 B4 00 80 13 02 00 00 00 00 00 32 [16:19:01]Write i2c OK [16:19:01]MH_I2C_Read... [16:19:01]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [16:19:01]Read from MH i2c: E2 [16:19:01]MH_I2C_Read... [16:19:01]Read from MH i2c: E2 FD 00 [16:19:01]MH_I2C_Read... [16:19:01]Read from MH i2c: E2 FD 00 B4 00 00 B6 04 AA 04 B2 04 6E 04 04 00 59 00 00 00 69 04 9B 00 6F 04 04 00 58 00 00 00 B1 04 03 00 9D 2A 25 70 04 03 00 20 43 1F 72 04 03 00 7D E7 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 7B F2 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 30 54 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 10 [16:19:01]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 59 00 00 00 69 04 9B 00 6F 04 04 00 58 00 00 00 B1 04 03 00 9D 2A 25 70 04 03 00 20 43 1F 72 04 03 00 7D E7 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 7B F2 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 30 54 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 [16:19:01]wFMCommunicate OK [16:19:01]wFMCommunicate request_size=4 [16:19:01]MH_SAM_APDU [16:19:01]CAPDU: 80 17 00 00 [16:19:01]Write to MH i2c: E2 08 00 B5 00 80 17 00 00 00 00 00 00 35 [16:19:01]Write i2c OK [16:19:01]MH_I2C_Read... [16:19:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:19:01]Read from MH i2c: E2 [16:19:01]MH_I2C_Read... [16:19:01]Read from MH i2c: E2 FD 00 [16:19:01]MH_I2C_Read... [16:19:01]Read from MH i2c: E2 FD 00 B5 00 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 6A [16:19:01]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 [16:19:01]wFMCommunicate OK [16:19:01]wFMCommunicate request_size=4 [16:19:01]MH_SAM_APDU [16:19:01]CAPDU: 80 17 00 00 [16:19:01]Write to MH i2c: E2 08 00 B6 00 80 17 00 00 00 00 00 00 36 [16:19:01]Write i2c OK [16:19:01]MH_I2C_Read... [16:19:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:19:02]Read from MH i2c: E2 [16:19:02]MH_I2C_Read... [16:19:02]Read from MH i2c: E2 FD 00 [16:19:02]MH_I2C_Read... [16:19:02]Read from MH i2c: E2 FD 00 B6 00 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 F6 [16:19:02]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 [16:19:02]wFMCommunicate OK [16:19:02]wFMCommunicate request_size=4 [16:19:02]MH_SAM_APDU [16:19:02]CAPDU: 80 17 00 00 [16:19:02]Write to MH i2c: E2 08 00 B7 00 80 17 00 00 00 00 00 00 37 [16:19:02]Write i2c OK [16:19:02]MH_I2C_Read... [16:19:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:19:02]Read from MH i2c: E2 [16:19:02]MH_I2C_Read... [16:19:02]Read from MH i2c: E2 FD 00 [16:19:02]MH_I2C_Read... [16:19:02]Read from MH i2c: E2 FD 00 B7 00 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 A6 [16:19:02]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 [16:19:02]wFMCommunicate OK [16:19:02]wFMCommunicate request_size=4 [16:19:02]MH_SAM_APDU [16:19:02]CAPDU: 80 17 00 00 [16:19:02]Write to MH i2c: E2 08 00 B8 00 80 17 00 00 00 00 00 00 38 [16:19:02]Write i2c OK [16:19:02]MH_I2C_Read... [16:19:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [16:19:02]Read from MH i2c: E2 [16:19:02]MH_I2C_Read... [16:19:02]Read from MH i2c: E2 D3 00 [16:19:02]MH_I2C_Read... [16:19:02]Read from MH i2c: E2 D3 00 B8 00 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 25 [16:19:02]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 [16:19:02]wFMCommunicate OK [16:19:02]SAM_PROTO_GetShiftData done [16:19:02]requested_item shift.sale.total_cash is exist - process it [16:19:02]requested_item shift.sale_refund.total is exist - process it [16:19:02]requested_item shift.sale_refund.total_cash is exist - process it [16:19:02]produce_requested_data done [16:19:02]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57194,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":24357.41,"shift.sale.total_cash":20488.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [16:19:02]process_action_free close_receipt [16:19:02]json_value_free [16:19:02]json_value_free done [16:19:02]process_json_proto returns [16:19:02]Send response to host [16:19:02]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57194,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":24357.41,"shift.sale.total_cash":20488.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [16:19:02]free response buf [16:19:02]execute_script done [16:19:02]execute_script returns [16:19:02]free content buf [16:19:02]Sock 9.Close socket [16:19:02]Sock 9.Thread stoped [16:19:05]OFD Sender: No OFD packet to send [16:19:10]OFD Sender: No OFD packet to send [16:19:15]OFD Sender: No OFD packet to send [16:19:20]OFD Sender: No OFD packet to send [16:19:25]OFD Sender: No OFD packet to send [16:19:30]OFD Sender: No OFD packet to send [16:19:35]OFD Sender: No OFD packet to send [16:19:40]OFD Sender: No OFD packet to send [16:19:45]OFD Sender: No OFD packet to send [16:19:50]OFD Sender: No OFD packet to send [16:19:55]OFD Sender: No OFD packet to send [16:20:00]OFD Sender: No OFD packet to send [16:20:05]OFD Sender: No OFD packet to send [16:20:10]OFD Sender: No OFD packet to send [16:20:15]OFD Sender: No OFD packet to send [16:20:20]OFD Sender: No OFD packet to send [16:20:25]OFD Sender: No OFD packet to send [16:20:30]OFD Sender: No OFD packet to send [16:20:35]OFD Sender: No OFD packet to send [16:20:40]OFD Sender: No OFD packet to send [16:20:45]OFD Sender: No OFD packet to send [16:20:50]OFD Sender: No OFD packet to send [16:20:55]OFD Sender: No OFD packet to send [16:21:00]OFD Sender: No OFD packet to send [16:21:05]OFD Sender: No OFD packet to send [16:21:10]OFD Sender: No OFD packet to send [16:21:15]OFD Sender: No OFD packet to send [16:21:20]OFD Sender: No OFD packet to send [16:21:25]OFD Sender: No OFD packet to send [16:21:30]OFD Sender: No OFD packet to send [16:21:35]OFD Sender: No OFD packet to send [16:21:40]OFD Sender: No OFD packet to send [16:21:45]OFD Sender: No OFD packet to send [16:21:50]OFD Sender: No OFD packet to send [16:21:55]OFD Sender: No OFD packet to send [16:22:00]OFD Sender: No OFD packet to send [16:22:05]OFD Sender: No OFD packet to send [16:22:10]OFD Sender: No OFD packet to send [16:22:15]OFD Sender: No OFD packet to send [16:22:20]OFD Sender: No OFD packet to send [16:22:25]OFD Sender: No OFD packet to send [16:22:30]OFD Sender: No OFD packet to send [16:22:35]OFD Sender: No OFD packet to send [16:22:40]OFD Sender: No OFD packet to send [16:22:45]OFD Sender: No OFD packet to send [16:22:50]OFD Sender: No OFD packet to send [16:22:55]OFD Sender: No OFD packet to send [16:23:00]OFD Sender: No OFD packet to send [16:23:05]OFD Sender: No OFD packet to send [16:23:10]OFD Sender: No OFD packet to send [16:23:15]OFD Sender: No OFD packet to send [16:23:20]OFD Sender: No OFD packet to send [16:23:25]OFD Sender: No OFD packet to send [16:23:30]OFD Sender: No OFD packet to send [16:23:35]OFD Sender: No OFD packet to send [16:23:40]OFD Sender: No OFD packet to send [16:23:45]OFD Sender: No OFD packet to send [16:23:50]OFD Sender: No OFD packet to send [16:23:55]OFD Sender: No OFD packet to send [16:24:00]OFD Sender: No OFD packet to send [16:24:05]OFD Sender: No OFD packet to send [16:24:10]OFD Sender: No OFD packet to send [16:24:15]OFD Sender: No OFD packet to send [16:24:20]OFD Sender: No OFD packet to send [16:24:25]OFD Sender: No OFD packet to send [16:24:30]OFD Sender: No OFD packet to send [16:24:35]OFD Sender: No OFD packet to send [16:24:40]OFD Sender: No OFD packet to send [16:24:45]OFD Sender: No OFD packet to send [16:24:50]OFD Sender: No OFD packet to send [16:24:55]OFD Sender: No OFD packet to send [16:25:00]OFD Sender: No OFD packet to send [16:25:05]OFD Sender: No OFD packet to send [16:25:10]OFD Sender: No OFD packet to send [16:25:15]OFD Sender: No OFD packet to send [16:25:20]OFD Sender: No OFD packet to send [16:25:25]OFD Sender: No OFD packet to send [16:25:30]OFD Sender: No OFD packet to send [16:25:35]OFD Sender: No OFD packet to send [16:25:40]OFD Sender: No OFD packet to send [16:25:45]OFD Sender: No OFD packet to send [16:25:50]OFD Sender: No OFD packet to send [16:25:55]OFD Sender: No OFD packet to send [16:26:00]OFD Sender: No OFD packet to send [16:26:05]OFD Sender: No OFD packet to send [16:26:10]OFD Sender: No OFD packet to send [16:26:15]OFD Sender: No OFD packet to send [16:26:20]OFD Sender: No OFD packet to send [16:26:25]OFD Sender: No OFD packet to send [16:26:30]OFD Sender: No OFD packet to send [16:26:35]OFD Sender: No OFD packet to send [16:26:40]OFD Sender: No OFD packet to send [16:26:45]OFD Sender: No OFD packet to send [16:26:50]OFD Sender: No OFD packet to send [16:26:55]OFD Sender: No OFD packet to send [16:27:00]OFD Sender: No OFD packet to send [16:27:05]OFD Sender: No OFD packet to send [16:27:10]OFD Sender: No OFD packet to send [16:27:15]OFD Sender: No OFD packet to send [16:27:20]OFD Sender: No OFD packet to send [16:27:25]OFD Sender: No OFD packet to send [16:27:30]OFD Sender: No OFD packet to send [16:27:35]OFD Sender: No OFD packet to send [16:27:40]OFD Sender: No OFD packet to send [16:27:45]OFD Sender: No OFD packet to send [16:27:50]OFD Sender: No OFD packet to send [16:27:55]OFD Sender: No OFD packet to send [16:28:00]OFD Sender: No OFD packet to send [16:28:05]OFD Sender: No OFD packet to send [16:28:10]OFD Sender: No OFD packet to send [16:28:15]OFD Sender: No OFD packet to send [16:28:20]OFD Sender: No OFD packet to send [16:28:25]OFD Sender: No OFD packet to send [16:28:30]OFD Sender: No OFD packet to send [16:28:35]OFD Sender: No OFD packet to send [16:28:40]OFD Sender: No OFD packet to send [16:28:45]OFD Sender: No OFD packet to send [16:28:50]OFD Sender: No OFD packet to send [16:28:55]OFD Sender: No OFD packet to send [16:29:00]OFD Sender: No OFD packet to send [16:29:05]OFD Sender: No OFD packet to send [16:29:10]OFD Sender: No OFD packet to send [16:29:15]OFD Sender: No OFD packet to send [16:29:20]OFD Sender: No OFD packet to send [16:29:25]OFD Sender: No OFD packet to send [16:29:30]OFD Sender: No OFD packet to send [16:29:35]OFD Sender: No OFD packet to send [16:29:40]OFD Sender: No OFD packet to send [16:29:45]OFD Sender: No OFD packet to send [16:29:50]OFD Sender: No OFD packet to send [16:29:55]OFD Sender: No OFD packet to send [16:30:00]OFD Sender: No OFD packet to send [16:30:05]OFD Sender: No OFD packet to send [16:30:10]OFD Sender: No OFD packet to send [16:30:15]OFD Sender: No OFD packet to send [16:30:20]OFD Sender: No OFD packet to send [16:30:25]OFD Sender: No OFD packet to send [16:30:30]OFD Sender: No OFD packet to send [16:30:35]OFD Sender: No OFD packet to send [16:30:40]OFD Sender: No OFD packet to send [16:30:45]OFD Sender: No OFD packet to send [16:30:50]OFD Sender: No OFD packet to send [16:30:55]OFD Sender: No OFD packet to send [16:31:00]OFD Sender: No OFD packet to send [16:31:05]OFD Sender: No OFD packet to send [16:31:10]OFD Sender: No OFD packet to send [16:31:15]OFD Sender: No OFD packet to send [16:31:20]OFD Sender: No OFD packet to send [16:31:25]OFD Sender: No OFD packet to send [16:31:30]OFD Sender: No OFD packet to send [16:31:35]OFD Sender: No OFD packet to send [16:31:40]OFD Sender: No OFD packet to send [16:31:45]OFD Sender: No OFD packet to send [16:31:50]OFD Sender: No OFD packet to send [16:31:55]OFD Sender: No OFD packet to send [16:32:00]OFD Sender: No OFD packet to send [16:32:05]OFD Sender: No OFD packet to send [16:32:10]OFD Sender: No OFD packet to send [16:32:15]OFD Sender: No OFD packet to send [16:32:20]OFD Sender: No OFD packet to send [16:32:25]OFD Sender: No OFD packet to send [16:32:30]OFD Sender: No OFD packet to send [16:32:35]OFD Sender: No OFD packet to send [16:32:40]OFD Sender: No OFD packet to send [16:32:45]OFD Sender: No OFD packet to send [16:32:50]OFD Sender: No OFD packet to send [16:32:55]OFD Sender: No OFD packet to send [16:32:59]accept exits with 7 [16:32:59]New connection [16:32:59]New thread 3067014500 created [16:32:59]Thread 3066871140 joined [16:32:59]Waiting for new connection... [16:32:59] Sock 7.Parse request [16:32:59]Sock 7.Check first char [16:32:59]Sock 7.First char is OK [16:32:59]request: POST /json_proto HTTP/1.0 [16:32:59]Method: POST [16:32:59]URL: /json_proto [16:32:59]Method is POST - this is cgi request [16:32:59]url: /json_proto [16:32:59]query_string will be loaded in cgi processing [16:32:59]execute_cgi json_proto POST (null) [16:32:59]execute_cgi path=json_proto method=POST [16:32:59]POST find Content-Length [16:32:59]Host: 172.17.39.4:8080 [16:32:59]Content-Length: 832 [16:32:59]Content-Type: application/json [16:32:59] [16:32:59]POST finish read [16:32:59]Found Content-Length = 832 [16:32:59]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129641", "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 }]} ], "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" ] } } [16:32:59]execute_script... [16:32: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)129641", "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 }]} ], "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" ] } } [16:32:59]POST & json_proto [16:32:59]process_json_proto [16:32:59]json parsed OK: [16:32:59]protocol is kg_v1.0 [16:32:59]action value=close_receipt [16:32:59]process_action close_receipt [16:32:59]cmd_close_receipt [16:32:59]MH_GetDate [16:32:59]Write to MH i2c: F0 00 00 B9 00 A8 [16:32:59]Write i2c OK [16:32:59]MH_I2C_Read... [16:32:59]Read from MH i2c: F0 [16:32:59]MH_I2C_Read... [16:32:59]Read from MH i2c: F0 09 00 [16:32:59]MH_I2C_Read... [16:32:59]Read from MH i2c: F0 09 00 B9 00 00 3B 4F 95 66 2D 25 5D 64 49 [16:32:59]GetLastDocTimeStamp 1721060337 [16:32:59]current date 1721061179 [16:32:59]FM_GetShiftState [16:32:59]SAM_PROTO_GetShiftState [16:32:59]wFMCommunicate request_size=4 [16:32:59]MH_SAM_APDU [16:32:59]CAPDU: 80 13 01 00 [16:32:59]Write to MH i2c: E2 08 00 BA 00 80 13 01 00 00 00 00 00 37 [16:32:59]Write i2c OK [16:32:59]MH_I2C_Read... [16:32:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:32:59]Read from MH i2c: E2 [16:32:59]MH_I2C_Read... [16:32:59]Read from MH i2c: E2 0E 00 [16:32:59]MH_I2C_Read... [16:32:59]Read from MH i2c: E2 0E 00 BA 00 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 B0 [16:32:59]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [16:32:59]wFMCommunicate OK [16:32:59]SAM_PROTO_GetShiftState done [16:32:59]FM_GetShiftState done [16:32:59]opened in 1721003525 [16:32:59]opened+sec_in_day 1721089925 [16:32:59]quantity*price = 10700 [16:32:59]sum+1 = 10701 [16:32:59]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 СНО: Общий режим Чек 90 15.07.2024 16:32 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57195 ФПД: 253440453385253 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T163259&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57195&fm=253440453385253&tin=02508201610067®Number=0000000000091208&sum=10700 0 [16:33:00]StoreToDocumentArchive [16:33:00]shift 497 fd 57195 [16:33:00]save to /storage/0497/doc_00057195 [16:33:00]save last doc name /storage/0497/doc_00057195 to /storage/kkm_last_doc_name [16:33:00]save OK [16:33:00]Clear old archive folders... [16:33:00]ProcessDocumentItem done err = 0, tmpTLVsize=308 [16:33:00]tlvbuf is 00886370 [16:33:00]SAM_PROTO_ClearQueue [16:33:00]wFMCommunicate request_size=4 [16:33:00]MH_SAM_APDU [16:33:00]CAPDU: 80 09 00 00 [16:33:00]Write to MH i2c: E2 08 00 C7 00 80 09 00 00 00 00 00 00 39 [16:33:00]Write i2c OK [16:33:00]MH_I2C_Read... [16:33:00]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:33:00]Read from MH i2c: E2 [16:33:00]MH_I2C_Read... [16:33:00]Read from MH i2c: E2 03 00 [16:33:00]MH_I2C_Read... [16:33:00]Read from MH i2c: E2 03 00 C7 00 00 90 00 3B [16:33:00]RAPDU: 90 00 [16:33:00]wFMCommunicate OK [16:33:00]SAM_PROTO_ClearQueue done [16:33:00]KKMCreateOFDPacket [16:33:00]OFDProtocolAddRootSTLVToBuf [16:33:00]FM_MakeSignedData [16:33:00]FM_MakeSignedData [16:33:00]SAM_PROTO_SignData [16:33:00]wFMCommunicate request_size=4 [16:33:00]MH_SAM_APDU [16:33:00]CAPDU: 80 0D 01 02 [16:33:00]Write to MH i2c: E2 08 00 C8 00 80 0D 01 02 00 00 00 00 41 [16:33:00]Write i2c OK [16:33:00]MH_I2C_Read... [16:33:00]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:33:00]Read from MH i2c: E2 [16:33:00]MH_I2C_Read... [16:33:00]Read from MH i2c: E2 03 00 [16:33:00]MH_I2C_Read... [16:33:00]Read from MH i2c: E2 03 00 C8 00 00 90 00 3C [16:33:00]RAPDU: 90 00 [16:33:00]wFMCommunicate OK [16:33:00]wFMCommunicate request_size=255 [16:33:00]MH_SAM_APDU [16:33:00]CAPDU: 80 0D 02 02 FA 03 00 34 01 1E 04 01 00 01 23 04 86 00 8A 04 0D 00 35 34 34 39 30 30 30 30 32 37 34 37 34 06 04 42 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 75 7A 65 54 65 61 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D1 80 D0 BE D0 BC D0 B0 D1 88 D0 BA D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 5A 00 00 00 F4 03 04 00 3B 4F 95 66 0E 04 04 00 F1 01 00 00 B9 [16:33:00]Write to MH i2c: E2 02 01 C9 00 80 0D 02 02 FA 00 03 00 34 01 1E 04 01 00 01 23 04 86 00 8A 04 0D 00 35 34 34 39 30 30 30 30 32 37 34 37 34 06 04 42 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 75 7A 65 54 65 61 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D1 80 D0 BE D0 BC D0 B0 D1 88 D0 BA D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 5A 00 00 00 F4 03 04 00 3B 4F 95 66 0E 04 04 00 F1 01 00 00 B9 00 00 49 [16:33:00]Write i2c OK [16:33:00]MH_I2C_Read... [16:33:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:33:00]Read from MH i2c: E2 [16:33:00]MH_I2C_Read... [16:33:00]Read from MH i2c: E2 03 00 [16:33:00]MH_I2C_Read... [16:33:00]Read from MH i2c: E2 03 00 C9 00 00 90 00 3D [16:33:00]RAPDU: 90 00 [16:33:00]wFMCommunicate OK [16:33:00]wFMCommunicate request_size=67 [16:33:00]MH_SAM_APDU [16:33:00]CAPDU: 80 0D 02 02 3E 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 6B DF 00 00 35 04 06 00 E6 80 B4 32 1C 25 [16:33:00]Write to MH i2c: E2 46 00 CA 00 80 0D 02 02 3E 00 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 6B DF 00 00 35 04 06 00 E6 80 B4 32 1C 25 00 00 75 [16:33:00]Write i2c OK [16:33:00]MH_I2C_Read... [16:33:00]OFD Sender: No OFD packet to send [16:33:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:33:00]Read from MH i2c: E2 [16:33:00]MH_I2C_Read... [16:33:00]Read from MH i2c: E2 03 00 [16:33:00]MH_I2C_Read... [16:33:00]Read from MH i2c: E2 03 00 CA 00 00 90 00 3E [16:33:00]RAPDU: 90 00 [16:33:00]wFMCommunicate OK [16:33:00]wFMCommunicate request_size=4 [16:33:00]MH_SAM_APDU [16:33:00]CAPDU: 80 0D 03 02 [16:33:00]Write to MH i2c: E2 08 00 CB 00 80 0D 03 02 00 00 00 00 46 [16:33:00]Write i2c OK [16:33:00]MH_I2C_Read... [16:33:00]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:33:00]Read from MH i2c: E2 [16:33:00]MH_I2C_Read... [16:33:00]Read from MH i2c: E2 0B 00 [16:33:00]MH_I2C_Read... [16:33:00]Read from MH i2c: E2 0B 00 CB 00 00 AB 86 40 0B 38 B9 38 7B 90 00 67 [16:33:00]RAPDU: AB 86 40 0B 38 B9 38 7B 90 00 [16:33:00]wFMCommunicate OK [16:33:00]SAM_PROTO_SignData done [16:33:00]FM_MakeSignedData done [16:33:00]CreateOFDProtocolMessage [16:33:00]wFMCommunicate request_size=4 [16:33:00]MH_SAM_APDU [16:33:00]CAPDU: 80 11 00 00 [16:33:00]Write to MH i2c: E2 08 00 CC 00 80 11 00 00 00 00 00 00 46 [16:33:00]Write i2c OK [16:33:00]MH_I2C_Read... [16:33:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:33:00]Read from MH i2c: E2 [16:33:00]MH_I2C_Read... [16:33:00]Read from MH i2c: E2 17 00 [16:33:00]MH_I2C_Read... [16:33:00]Read from MH i2c: E2 17 00 CC 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 A0 [16:33:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [16:33:00]wFMCommunicate OK [16:33:00]CreateOFDProtocolMessage done [16:33:00]OFDSenderStorePacket 57195 [16:33:00]StoreOFDPacket docnum=57195 [16:33: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 48 01 00 00 74 D0 40 01 D1 5F 5A 03 01 00 03 00 34 01 1E 04 01 00 01 23 04 86 00 8A 04 0D 00 35 34 34 39 30 30 30 30 32 37 34 37 34 06 04 42 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 75 7A 65 54 65 61 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D1 80 D0 BE D0 BC D0 B0 D1 88 D0 BA D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 5A 00 00 00 F4 03 04 00 3B 4F 95 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 6B DF 00 00 35 04 06 00 E6 80 B4 32 1C 25 AB 86 40 0B 38 B9 38 7B [16:33:00]CheckFolder [16:33:00]dirname=/storage/ofd_packets [16:33:00]CheckFolder done [16:33:00]ProducePacketName [16:33:00]name=ofd_packets/00057195 [16:33:00]NVStorageSaveData ofd_packets/00057195 [16:33:00]File name is /storage/ofd_packets/00057195 [16:33:00]Write 358 bytes [16:33:00]NVStorageSaveData done [16:33:00]OFDSenderStorePacket done [16:33:00]KKMCreateOFDPacket done [16:33:00]NVStorageSaveData kkm_last_timestamp [16:33:00]File name is /storage/kkm_last_timestamp [16:33:00]Write 4 bytes [16:33:00]NVStorageSaveData done [16:33:00]ExternCall_PrintAddStr [16:33:00]wPrintStart [16:33:00]Write to MH i2c: 01 00 00 CD 00 CD [16:33:00]Write i2c OK [16:33:00]MH_I2C_Read... [16:33:00]Read from MH i2c: 01 [16:33:00]MH_I2C_Read... [16:33:00]Read from MH i2c: 01 07 00 [16:33:00]MH_I2C_Read... [16:33:00]Read from MH i2c: 01 07 00 CD 00 00 00 00 00 00 FF 0F E2 [16:33:00]RasterBufferAndPrint [16:33:00]line Счет N : (3)129641 [16:33:00]line ИНН: 02508201610067 [16:33:00]line Контрольно-Кассовый Чек [16:33:00]line ПРОДАЖА [16:33:00]line Товар: 5449000027474 [16:33:00]line Напиток FuzeTea зел чай манго,ромашка 1л [16:33:00]line 1.000 * 107.00 [16:33:00]line = 107.00 [16:33:00]line НДС 12% НСП 1% [16:33:00]line > о реализуемом товаре [16:33:00]line ИТОГО: 107.00 [16:33:00]line НСП 1% : 0.95 [16:33:00]line НДС 12% : 11.36 [16:33:00]line Наличными: 107.00 [16:33:00]line Безнал.: 0.00 [16:33:00]line Место: АЗС № 132 "Партнер Нефть" [16:33:00]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [16:33:00]line СНО: Общий режим [16:33:00]line Чек 90 15.07.2024 16:32 [16:33:00]line Смена: 497 ФФД: 1.0 [16:33:00]line ЗНМ: 0300000132 [16:33:00]line РНМ: 0000000000091208 [16:33:00]line Версия ККМ: 001 [16:33:00]line ФМ: 0000000000874857 [16:33:00]line ФД: 57195 [16:33:00]line ФПД: 253440453385253 [16:33:01]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T163259&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57195&fm=253440453385253&tin=02508201610067®Number=0000000000091208&sum=10700 [16:33:01]line 0 [16:33:01]OFD Sender: Processing packet 57195 [packets to send 38, broken 37] [16:33:01]ProducePacketName [16:33:01]name=ofd_packets/00057195 [16:33:01]OFD Sender: To server: pG, [16:33:01]CommunicateWithHost lk.salyk.kg:30040 [16:33:01]ConnectInit lk.salyk.kg [16:33:01]written 0, free lines is 4095 [16:33:01]Connected sock=10 [16:33: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 48 01 00 00 74 D0 40 01 D1 5F 5A 03 01 00 03 00 34 01 1E 04 01 00 01 23 04 86 00 8A 04 0D 00 35 34 34 39 30 30 30 30 32 37 34 37 34 06 04 42 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 75 7A 65 54 65 61 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D1 80 D0 BE D0 BC D0 B0 D1 88 D0 BA D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 5A 00 00 00 F4 03 04 00 3B 4F 95 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 6B DF 00 00 35 04 06 00 E6 80 B4 32 1C 25 AB 86 40 0B 38 B9 38 7B [16:33: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 1C 63 47 00 A5 AB A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 6B DF 00 00 F4 03 04 00 89 F5 94 66 B6 04 01 00 00 6F 08 EB 7E 75 CD B2 A2 [16:33:01]CommunicateWithHost err = 0 [16:33:01]CheckOFDResponse [16:33:01]1017 (14) - 77093643461234 [16:33:01]1041 (16) - 0000000000874857 [16:33:01]1040 (4) - 57195 [16:33:01]1012 (4) - 15.07.2024 10:10 [16:33:01]1206 (1) - 0 [16:33:01]OFD Sender: Remove packet 57195 [16:33:01]ProducePacketName [16:33:01]name=ofd_packets/00057195 [16:33:01]NVStorageDeleteData [16:33:01]Write to MH i2c: 01 00 00 F6 00 F6 [16:33:01]Write i2c OK [16:33:01]MH_I2C_Read... [16:33:01]Read from MH i2c: 01 [16:33:01]MH_I2C_Read... [16:33:01]Read from MH i2c: 01 07 00 [16:33:01]MH_I2C_Read... [16:33:01]Read from MH i2c: 01 07 00 F6 00 00 00 00 00 00 EB 0C F4 [16:33:01]RasterBufferAndPrint [16:33:01]line [16:33:01]line [16:33:01]line [16:33:01]line [16:33:01]line [16:33:01]written 0, free lines is 3313 [16:33:01]MH_Cut [16:33:01]Write to MH i2c: D1 01 00 FD 00 01 CF [16:33:01]Write i2c OK [16:33:01]MH_I2C_Read... [16:33:01]Read from MH i2c: D1 [16:33:01]MH_I2C_Read... [16:33:01]Read from MH i2c: D1 01 00 [16:33:01]MH_I2C_Read... [16:33:01]Read from MH i2c: D1 01 00 FD 00 00 CE [16:33:01]Write to MH i2c: 01 00 00 FE 00 FE [16:33:01]Write i2c OK [16:33:01]MH_I2C_Read... [16:33:02]OFD Sender: No OFD packet to send [16:33:02]*** Cut start [16:33:02]*** Partial cut [16:33:02]*** CUTSNS_PIN = 1 [16:33:02]*** CUTSNS_PIN = 0 [16:33:02]*** Brake cut motor [16:33:03]Read from MH i2c: 01 [16:33:03]MH_I2C_Read... [16:33:03]*** Stop cut motor [16:33:03]*** Cut end [16:33:03]Read from MH i2c: 01 07 00 [16:33:03]MH_I2C_Read... [16:33:03]Read from MH i2c: 01 07 00 FE 00 00 00 00 00 00 FF 0F 13 [16:33:03]process_action close_receipt done [16:33:03]requested_data is exist [16:33:03]produce_requested_data [16:33:03]requested_item fm.sn is exist - process it [16:33:03]wFMCommunicate request_size=4 [16:33:03]MH_SAM_APDU [16:33:03]CAPDU: 80 11 00 00 [16:33:03]Write to MH i2c: E2 08 00 FF 00 80 11 00 00 00 00 00 00 79 [16:33:03]Write i2c OK [16:33:03]MH_I2C_Read... [16:33:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:33:03]Read from MH i2c: E2 [16:33:03]MH_I2C_Read... [16:33:03]Read from MH i2c: E2 17 00 [16:33:03]MH_I2C_Read... [16:33:03]Read from MH i2c: E2 17 00 FF 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 D3 [16:33: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:33:03]wFMCommunicate OK [16:33:03]requested_item fd.num is exist - process it [16:33:03]SAM_PROTO_GetFieldsCounters [16:33:03]wFMCommunicate request_size=4 [16:33:03]MH_SAM_APDU [16:33:03]CAPDU: 80 13 00 00 [16:33:03]Write to MH i2c: E2 08 00 00 01 80 13 00 00 00 00 00 00 7D [16:33:03]Write i2c OK [16:33:03]MH_I2C_Read... [16:33:03]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:33:03]Read from MH i2c: E2 [16:33:03]MH_I2C_Read... [16:33:03]Read from MH i2c: E2 62 00 [16:33:03]MH_I2C_Read... [16:33:03]Read from MH i2c: E2 62 00 00 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 6B DF 00 00 0E 04 04 00 F1 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 EA [16:33: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 6B DF 00 00 0E 04 04 00 F1 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 [16:33:03]wFMCommunicate OK [16:33:03]SAM_PROTO_GetFieldsCounters done [16:33:03]requested_item shift.num is exist - process it [16:33:03]requested_item shift.opened is exist - process it [16:33:03]req_shift_opened [16:33:03]FM_GetShiftState [16:33:03]SAM_PROTO_GetShiftState [16:33:03]wFMCommunicate request_size=4 [16:33:03]MH_SAM_APDU [16:33:03]CAPDU: 80 13 01 00 [16:33:03]Write to MH i2c: E2 08 00 01 01 80 13 01 00 00 00 00 00 7F [16:33:03]Write i2c OK [16:33:03]MH_I2C_Read... [16:33:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:33:03]Read from MH i2c: E2 [16:33:03]MH_I2C_Read... [16:33:03]Read from MH i2c: E2 0E 00 [16:33:03]MH_I2C_Read... [16:33:03]Read from MH i2c: E2 0E 00 01 01 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 F8 [16:33:03]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [16:33:03]wFMCommunicate OK [16:33:03]SAM_PROTO_GetShiftState done [16:33:03]FM_GetShiftState done [16:33:03]req_shift_opened done [16:33:03]requested_item shift.open_date is exist - process it [16:33:03]req_shift_open_date [16:33:03]req_shift_open_date done [16:33:03]requested_item shift.sale.total is exist - process it [16:33:03]SAM_PROTO_GetShiftData [16:33:03]wFMCommunicate request_size=4 [16:33:03]MH_SAM_APDU [16:33:03]CAPDU: 80 13 02 00 [16:33:03]Write to MH i2c: E2 08 00 02 01 80 13 02 00 00 00 00 00 81 [16:33:03]Write i2c OK [16:33:03]MH_I2C_Read... [16:33:03]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [16:33:03]Read from MH i2c: E2 [16:33:03]MH_I2C_Read... [16:33:03]Read from MH i2c: E2 FD 00 [16:33:03]MH_I2C_Read... [16:33:03]Read from MH i2c: E2 FD 00 02 01 00 B6 04 AA 04 B2 04 6E 04 04 00 5A 00 00 00 69 04 9B 00 6F 04 04 00 59 00 00 00 B1 04 03 00 69 54 25 70 04 03 00 EC 6C 1F 72 04 03 00 7D E7 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 EB F6 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 8F 54 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 1F [16:33:03]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 5A 00 00 00 69 04 9B 00 6F 04 04 00 59 00 00 00 B1 04 03 00 69 54 25 70 04 03 00 EC 6C 1F 72 04 03 00 7D E7 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 EB F6 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 8F 54 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 [16:33:03]wFMCommunicate OK [16:33:03]wFMCommunicate request_size=4 [16:33:03]MH_SAM_APDU [16:33:03]CAPDU: 80 17 00 00 [16:33:03]Write to MH i2c: E2 08 00 03 01 80 17 00 00 00 00 00 00 84 [16:33:03]Write i2c OK [16:33:03]MH_I2C_Read... [16:33:04]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:33:04]Read from MH i2c: E2 [16:33:04]MH_I2C_Read... [16:33:04]Read from MH i2c: E2 FD 00 [16:33:04]MH_I2C_Read... [16:33:04]Read from MH i2c: E2 FD 00 03 01 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 B9 [16:33:04]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 [16:33:04]wFMCommunicate OK [16:33:04]wFMCommunicate request_size=4 [16:33:04]MH_SAM_APDU [16:33:04]CAPDU: 80 17 00 00 [16:33:04]Write to MH i2c: E2 08 00 04 01 80 17 00 00 00 00 00 00 85 [16:33:04]Write i2c OK [16:33:04]MH_I2C_Read... [16:33:04]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:33:04]Read from MH i2c: E2 [16:33:04]MH_I2C_Read... [16:33:04]Read from MH i2c: E2 FD 00 [16:33:04]MH_I2C_Read... [16:33:04]Read from MH i2c: E2 FD 00 04 01 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 45 [16:33:04]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 [16:33:04]wFMCommunicate OK [16:33:04]wFMCommunicate request_size=4 [16:33:04]MH_SAM_APDU [16:33:04]CAPDU: 80 17 00 00 [16:33:04]Write to MH i2c: E2 08 00 05 01 80 17 00 00 00 00 00 00 86 [16:33:04]Write i2c OK [16:33:04]MH_I2C_Read... [16:33:04]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:33:04]Read from MH i2c: E2 [16:33:04]MH_I2C_Read... [16:33:04]Read from MH i2c: E2 FD 00 [16:33:04]MH_I2C_Read... [16:33:04]Read from MH i2c: E2 FD 00 05 01 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 F5 [16:33:04]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 [16:33:04]wFMCommunicate OK [16:33:04]wFMCommunicate request_size=4 [16:33:04]MH_SAM_APDU [16:33:04]CAPDU: 80 17 00 00 [16:33:04]Write to MH i2c: E2 08 00 06 01 80 17 00 00 00 00 00 00 87 [16:33:04]Write i2c OK [16:33:04]MH_I2C_Read... [16:33:04]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [16:33:04]Read from MH i2c: E2 [16:33:04]MH_I2C_Read... [16:33:04]Read from MH i2c: E2 D3 00 [16:33:04]MH_I2C_Read... [16:33:04]Read from MH i2c: E2 D3 00 06 01 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 74 [16:33:04]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 [16:33:04]wFMCommunicate OK [16:33:04]SAM_PROTO_GetShiftData done [16:33:04]requested_item shift.sale.total_cash is exist - process it [16:33:04]requested_item shift.sale_refund.total is exist - process it [16:33:04]requested_item shift.sale_refund.total_cash is exist - process it [16:33:04]produce_requested_data done [16:33:04]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57195,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":24464.41,"shift.sale.total_cash":20595.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [16:33:04]process_action_free close_receipt [16:33:04]json_value_free [16:33:04]json_value_free done [16:33:04]process_json_proto returns [16:33:04]Send response to host [16:33:04]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57195,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":24464.41,"shift.sale.total_cash":20595.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [16:33:04]free response buf [16:33:04]execute_script done [16:33:04]execute_script returns [16:33:04]free content buf [16:33:04]Sock 7.Close socket [16:33:04]Sock 7.Thread stoped [16:33:07]OFD Sender: No OFD packet to send [16:33:12]OFD Sender: No OFD packet to send [16:33:17]OFD Sender: No OFD packet to send [16:33:22]OFD Sender: No OFD packet to send [16:33:27]OFD Sender: No OFD packet to send [16:33:32]OFD Sender: No OFD packet to send [16:33:37]OFD Sender: No OFD packet to send [16:33:42]OFD Sender: No OFD packet to send [16:33:47]OFD Sender: No OFD packet to send [16:33:52]OFD Sender: No OFD packet to send [16:33:57]OFD Sender: No OFD packet to send [16:34:02]OFD Sender: No OFD packet to send [16:34:07]OFD Sender: No OFD packet to send [16:34:12]OFD Sender: No OFD packet to send [16:34:17]OFD Sender: No OFD packet to send [16:34:22]OFD Sender: No OFD packet to send [16:34:27]OFD Sender: No OFD packet to send [16:34:32]OFD Sender: No OFD packet to send [16:34:37]OFD Sender: No OFD packet to send [16:34:42]OFD Sender: No OFD packet to send [16:34:47]OFD Sender: No OFD packet to send [16:34:52]OFD Sender: No OFD packet to send [16:34:57]OFD Sender: No OFD packet to send [16:35:02]OFD Sender: No OFD packet to send [16:35:07]OFD Sender: No OFD packet to send [16:35:12]OFD Sender: No OFD packet to send [16:35:17]OFD Sender: No OFD packet to send [16:35:22]OFD Sender: No OFD packet to send [16:35:27]OFD Sender: No OFD packet to send [16:35:32]OFD Sender: No OFD packet to send [16:35:37]OFD Sender: No OFD packet to send [16:35:42]OFD Sender: No OFD packet to send [16:35:47]OFD Sender: No OFD packet to send [16:35:52]OFD Sender: No OFD packet to send [16:35:57]OFD Sender: No OFD packet to send [16:36:02]OFD Sender: No OFD packet to send [16:36:07]OFD Sender: No OFD packet to send [16:36:12]OFD Sender: No OFD packet to send [16:36:17]OFD Sender: No OFD packet to send [16:36:22]OFD Sender: No OFD packet to send [16:36:27]OFD Sender: No OFD packet to send [16:36:32]OFD Sender: No OFD packet to send [16:36:37]OFD Sender: No OFD packet to send [16:36:42]OFD Sender: No OFD packet to send [16:36:47]OFD Sender: No OFD packet to send [16:36:52]OFD Sender: No OFD packet to send [16:36:57]OFD Sender: No OFD packet to send [16:37:02]OFD Sender: No OFD packet to send [16:37:07]OFD Sender: No OFD packet to send [16:37:12]OFD Sender: No OFD packet to send [16:37:17]OFD Sender: No OFD packet to send [16:37:22]OFD Sender: No OFD packet to send [16:37:27]OFD Sender: No OFD packet to send [16:37:32]OFD Sender: No OFD packet to send [16:37:37]OFD Sender: No OFD packet to send [16:37:42]OFD Sender: No OFD packet to send [16:37:47]OFD Sender: No OFD packet to send [16:37:52]OFD Sender: No OFD packet to send [16:37:57]OFD Sender: No OFD packet to send [16:38:02]OFD Sender: No OFD packet to send [16:38:07]OFD Sender: No OFD packet to send [16:38:12]OFD Sender: No OFD packet to send [16:38:17]OFD Sender: No OFD packet to send [16:38:22]OFD Sender: No OFD packet to send [16:38:27]OFD Sender: No OFD packet to send [16:38:32]OFD Sender: No OFD packet to send [16:38:37]OFD Sender: No OFD packet to send [16:38:42]OFD Sender: No OFD packet to send [16:38:47]OFD Sender: No OFD packet to send [16:38:52]OFD Sender: No OFD packet to send [16:38:57]OFD Sender: No OFD packet to send [16:39:02]OFD Sender: No OFD packet to send [16:39:07]OFD Sender: No OFD packet to send [16:39:12]OFD Sender: No OFD packet to send [16:39:17]OFD Sender: No OFD packet to send [16:39:22]OFD Sender: No OFD packet to send [16:39:27]OFD Sender: No OFD packet to send [16:39:32]OFD Sender: No OFD packet to send [16:39:37]OFD Sender: No OFD packet to send [16:39:42]OFD Sender: No OFD packet to send [16:39:47]OFD Sender: No OFD packet to send [16:39:52]OFD Sender: No OFD packet to send [16:39:57]OFD Sender: No OFD packet to send [16:40:02]OFD Sender: No OFD packet to send [16:40:07]OFD Sender: No OFD packet to send [16:40:12]OFD Sender: No OFD packet to send [16:40:17]OFD Sender: No OFD packet to send [16:40:22]OFD Sender: No OFD packet to send [16:40:27]OFD Sender: No OFD packet to send [16:40:32]OFD Sender: No OFD packet to send [16:40:37]OFD Sender: No OFD packet to send [16:40:42]OFD Sender: No OFD packet to send [16:40:47]OFD Sender: No OFD packet to send [16:40:52]OFD Sender: No OFD packet to send [16:40:57]OFD Sender: No OFD packet to send [16:41:02]OFD Sender: No OFD packet to send [16:41:07]OFD Sender: No OFD packet to send [16:41:12]OFD Sender: No OFD packet to send [16:41:17]OFD Sender: No OFD packet to send [16:41:22]OFD Sender: No OFD packet to send [16:41:27]OFD Sender: No OFD packet to send [16:41:32]OFD Sender: No OFD packet to send [16:41:37]OFD Sender: No OFD packet to send [16:41:42]OFD Sender: No OFD packet to send [16:41:47]OFD Sender: No OFD packet to send [16:41:52]OFD Sender: No OFD packet to send [16:41:57]OFD Sender: No OFD packet to send [16:42:02]OFD Sender: No OFD packet to send [16:42:07]OFD Sender: No OFD packet to send [16:42:12]OFD Sender: No OFD packet to send [16:42:17]OFD Sender: No OFD packet to send [16:42:22]OFD Sender: No OFD packet to send [16:42:27]OFD Sender: No OFD packet to send [16:42:32]OFD Sender: No OFD packet to send [16:42:37]OFD Sender: No OFD packet to send [16:42:42]OFD Sender: No OFD packet to send [16:42:47]OFD Sender: No OFD packet to send [16:42:52]OFD Sender: No OFD packet to send [16:42:57]OFD Sender: No OFD packet to send [16:43:02]OFD Sender: No OFD packet to send [16:43:07]OFD Sender: No OFD packet to send [16:43:12]OFD Sender: No OFD packet to send [16:43:17]OFD Sender: No OFD packet to send [16:43:22]OFD Sender: No OFD packet to send [16:43:27]OFD Sender: No OFD packet to send [16:43:32]OFD Sender: No OFD packet to send [16:43:37]OFD Sender: No OFD packet to send [16:43:42]OFD Sender: No OFD packet to send [16:43:47]OFD Sender: No OFD packet to send [16:43:52]OFD Sender: No OFD packet to send [16:43:57]OFD Sender: No OFD packet to send [16:44:02]OFD Sender: No OFD packet to send [16:44:07]OFD Sender: No OFD packet to send [16:44:12]OFD Sender: No OFD packet to send [16:44:17]OFD Sender: No OFD packet to send [16:44:22]OFD Sender: No OFD packet to send [16:44:27]OFD Sender: No OFD packet to send [16:44:32]OFD Sender: No OFD packet to send [16:44:37]OFD Sender: No OFD packet to send [16:44:42]OFD Sender: No OFD packet to send [16:44:47]OFD Sender: No OFD packet to send [16:44:52]OFD Sender: No OFD packet to send [16:44:57]OFD Sender: No OFD packet to send [16:45:02]OFD Sender: No OFD packet to send [16:45:07]OFD Sender: No OFD packet to send [16:45:12]OFD Sender: No OFD packet to send [16:45:17]OFD Sender: No OFD packet to send [16:45:22]OFD Sender: No OFD packet to send [16:45:27]OFD Sender: No OFD packet to send [16:45:32]OFD Sender: No OFD packet to send [16:45:37]OFD Sender: No OFD packet to send [16:45:42]OFD Sender: No OFD packet to send [16:45:47]OFD Sender: No OFD packet to send [16:45:52]OFD Sender: No OFD packet to send [16:45:57]OFD Sender: No OFD packet to send [16:46:02]OFD Sender: No OFD packet to send [16:46:07]OFD Sender: No OFD packet to send [16:46:12]OFD Sender: No OFD packet to send [16:46:17]OFD Sender: No OFD packet to send [16:46:20]accept exits with 9 [16:46:20]New connection [16:46:20]New thread 3066871140 created [16:46:20]Thread 3067014500 joined [16:46:20]Waiting for new connection... [16:46:20] Sock 9.Parse request [16:46:20]Sock 9.Check first char [16:46:20]Sock 9.First char is OK [16:46:20]request: POST /json_proto HTTP/1.0 [16:46:20]Method: POST [16:46:20]URL: /json_proto [16:46:20]Method is POST - this is cgi request [16:46:20]url: /json_proto [16:46:20]query_string will be loaded in cgi processing [16:46:20]execute_cgi json_proto POST (null) [16:46:20]execute_cgi path=json_proto method=POST [16:46:20]POST find Content-Length [16:46:20]Host: 172.17.39.4:8080 [16:46:20]Content-Length: 1057 [16:46:20]Content-Type: application/json [16:46:20] [16:46:20]POST finish read [16:46:20]Found Content-Length = 1057 [16:46:20]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129642", "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 }]} ,{ "code": "4601025117702", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0424\u0440\u0443\u0442\u043C\u043E\u0442\u0438\u0432 \u0430\u043F\u0435\u043B\u044C\u0441\u0438\u043D 0,5", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 135.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [16:46:20]execute_script... [16:46: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)129642", "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 }]} ,{ "code": "4601025117702", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0424\u0440\u0443\u0442\u043C\u043E\u0442\u0438\u0432 \u0430\u043F\u0435\u043B\u044C\u0441\u0438\u043D 0,5", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 135.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [16:46:20]POST & json_proto [16:46:20]process_json_proto [16:46:20]json parsed OK: [16:46:20]protocol is kg_v1.0 [16:46:20]action value=close_receipt [16:46:20]process_action close_receipt [16:46:20]cmd_close_receipt [16:46:20]MH_GetDate [16:46:20]Write to MH i2c: F0 00 00 07 01 F7 [16:46:20]Write i2c OK [16:46:20]MH_I2C_Read... [16:46:20]Read from MH i2c: F0 [16:46:20]MH_I2C_Read... [16:46:20]Read from MH i2c: F0 09 00 [16:46:20]MH_I2C_Read... [16:46:20]Read from MH i2c: F0 09 00 07 01 00 5C 52 95 66 2D 25 5D 64 BC [16:46:20]GetLastDocTimeStamp 1721061179 [16:46:20]current date 1721061980 [16:46:20]FM_GetShiftState [16:46:20]SAM_PROTO_GetShiftState [16:46:20]wFMCommunicate request_size=4 [16:46:20]MH_SAM_APDU [16:46:20]CAPDU: 80 13 01 00 [16:46:20]Write to MH i2c: E2 08 00 08 01 80 13 01 00 00 00 00 00 86 [16:46:20]Write i2c OK [16:46:20]MH_I2C_Read... [16:46:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:46:20]Read from MH i2c: E2 [16:46:20]MH_I2C_Read... [16:46:20]Read from MH i2c: E2 0E 00 [16:46:20]MH_I2C_Read... [16:46:20]Read from MH i2c: E2 0E 00 08 01 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 FF [16:46:20]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [16:46:20]wFMCommunicate OK [16:46:20]SAM_PROTO_GetShiftState done [16:46:20]FM_GetShiftState done [16:46:20]opened in 1721003525 [16:46:20]opened+sec_in_day 1721089925 [16:46:20]quantity*price = 5000 [16:46:20]sum+1 = 5001 [16:46:20]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4601025117702 Напиток Фрутмотив апельсин 0,5 1.000 * 85.00 = 85.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 135.00 НСП 1% : 1.19 НДС 12% : 14.34 Наличными: 135.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 91 15.07.2024 16:46 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57196 ФПД: 271734410016695 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T164620&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57196&fm=271734410016695&tin=02508201610067®Number=0000000000091208&sum=13500 0 [16:46:21]StoreToDocumentArchive [16:46:21]shift 497 fd 57196 [16:46:21]save to /storage/0497/doc_00057196 [16:46:21]save last doc name /storage/0497/doc_00057196 to /storage/kkm_last_doc_name [16:46:21]save OK [16:46:21]Clear old archive folders... [16:46:21]ProcessDocumentItem done err = 0, tmpTLVsize=395 [16:46:21]tlvbuf is 00881C30 [16:46:21]SAM_PROTO_ClearQueue [16:46:21]wFMCommunicate request_size=4 [16:46:21]MH_SAM_APDU [16:46:21]CAPDU: 80 09 00 00 [16:46:21]Write to MH i2c: E2 08 00 15 01 80 09 00 00 00 00 00 00 88 [16:46:21]Write i2c OK [16:46:21]MH_I2C_Read... [16:46:21]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:46:21]Read from MH i2c: E2 [16:46:21]MH_I2C_Read... [16:46:21]Read from MH i2c: E2 03 00 [16:46:21]MH_I2C_Read... [16:46:21]Read from MH i2c: E2 03 00 15 01 00 90 00 8A [16:46:21]RAPDU: 90 00 [16:46:21]wFMCommunicate OK [16:46:21]SAM_PROTO_ClearQueue done [16:46:21]KKMCreateOFDPacket [16:46:21]OFDProtocolAddRootSTLVToBuf [16:46:21]FM_MakeSignedData [16:46:21]FM_MakeSignedData [16:46:21]SAM_PROTO_SignData [16:46:21]wFMCommunicate request_size=4 [16:46:21]MH_SAM_APDU [16:46:21]CAPDU: 80 0D 01 02 [16:46:21]Write to MH i2c: E2 08 00 16 01 80 0D 01 02 00 00 00 00 90 [16:46:21]Write i2c OK [16:46:21]MH_I2C_Read... [16:46:21]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:46:21]Read from MH i2c: E2 [16:46:21]MH_I2C_Read... [16:46:21]Read from MH i2c: E2 03 00 [16:46:21]MH_I2C_Read... [16:46:21]Read from MH i2c: E2 03 00 16 01 00 90 00 8B [16:46:21]RAPDU: 90 00 [16:46:21]wFMCommunicate OK [16:46:21]wFMCommunicate request_size=255 [16:46:21]MH_SAM_APDU [16:46:21]CAPDU: 80 0D 02 02 FA 03 00 8B 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 23 04 7A 00 8A 04 0D 00 34 36 30 31 30 32 35 31 31 37 37 30 32 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D1 80 D1 83 D1 82 D0 BC D0 BE D1 82 D0 B8 D0 B2 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 30 2C 35 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 [16:46:21]Write to MH i2c: E2 02 01 17 01 80 0D 02 02 FA 00 03 00 8B 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 23 04 7A 00 8A 04 0D 00 34 36 30 31 30 32 35 31 31 37 37 30 32 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D1 80 D1 83 D1 82 D0 BC D0 BE D1 82 D0 B8 D0 B2 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 30 2C 35 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 00 00 B0 [16:46:21]Write i2c OK [16:46:21]MH_I2C_Read... [16:46:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:46:21]Read from MH i2c: E2 [16:46:21]MH_I2C_Read... [16:46:21]Read from MH i2c: E2 03 00 [16:46:21]MH_I2C_Read... [16:46:21]Read from MH i2c: E2 03 00 17 01 00 90 00 8C [16:46:21]RAPDU: 90 00 [16:46:21]wFMCommunicate OK [16:46:21]wFMCommunicate request_size=154 [16:46:21]MH_SAM_APDU [16:46:21]CAPDU: 80 0D 02 02 95 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 5B 00 00 00 F4 03 04 00 5C 52 95 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 6C DF 00 00 35 04 06 00 F7 24 18 FB 77 B7 [16:46:21]Write to MH i2c: E2 9D 00 18 01 80 0D 02 02 95 00 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 5B 00 00 00 F4 03 04 00 5C 52 95 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 6C DF 00 00 35 04 06 00 F7 24 18 FB 77 B7 00 00 99 [16:46:21]Write i2c OK [16:46:21]MH_I2C_Read... [16:46:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:46:21]Read from MH i2c: E2 [16:46:21]MH_I2C_Read... [16:46:21]Read from MH i2c: E2 03 00 [16:46:21]MH_I2C_Read... [16:46:21]Read from MH i2c: E2 03 00 18 01 00 90 00 8D [16:46:21]RAPDU: 90 00 [16:46:21]wFMCommunicate OK [16:46:21]wFMCommunicate request_size=4 [16:46:21]MH_SAM_APDU [16:46:21]CAPDU: 80 0D 03 02 [16:46:21]Write to MH i2c: E2 08 00 19 01 80 0D 03 02 00 00 00 00 95 [16:46:21]Write i2c OK [16:46:21]MH_I2C_Read... [16:46:22]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:46:22]Read from MH i2c: E2 [16:46:22]MH_I2C_Read... [16:46:22]Read from MH i2c: E2 0B 00 [16:46:22]MH_I2C_Read... [16:46:22]Read from MH i2c: E2 0B 00 19 01 00 7B D7 9E 32 4C 40 0C 6B 90 00 BB [16:46:22]RAPDU: 7B D7 9E 32 4C 40 0C 6B 90 00 [16:46:22]wFMCommunicate OK [16:46:22]SAM_PROTO_SignData done [16:46:22]FM_MakeSignedData done [16:46:22]CreateOFDProtocolMessage [16:46:22]wFMCommunicate request_size=4 [16:46:22]MH_SAM_APDU [16:46:22]CAPDU: 80 11 00 00 [16:46:22]Write to MH i2c: E2 08 00 1A 01 80 11 00 00 00 00 00 00 95 [16:46:22]Write i2c OK [16:46:22]MH_I2C_Read... [16:46:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:46:22]Read from MH i2c: E2 [16:46:22]MH_I2C_Read... [16:46:22]Read from MH i2c: E2 17 00 [16:46:22]MH_I2C_Read... [16:46:22]Read from MH i2c: E2 17 00 1A 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 EF [16:46:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [16:46:22]wFMCommunicate OK [16:46:22]CreateOFDProtocolMessage done [16:46:22]OFDSenderStorePacket 57196 [16:46:22]StoreOFDPacket docnum=57196 [16:46: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 9F 01 00 00 63 73 97 01 14 17 5A 03 01 00 03 00 8B 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 23 04 7A 00 8A 04 0D 00 34 36 30 31 30 32 35 31 31 37 37 30 32 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D1 80 D1 83 D1 82 D0 BC D0 BE D1 82 D0 B8 D0 B2 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 30 2C 35 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 5B 00 00 00 F4 03 04 00 5C 52 95 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 6C DF 00 00 35 04 06 00 F7 24 18 FB 77 B7 7B D7 9E 32 4C 40 0C 6B [16:46:22]CheckFolder [16:46:22]dirname=/storage/ofd_packets [16:46:22]CheckFolder done [16:46:22]ProducePacketName [16:46:22]name=ofd_packets/00057196 [16:46:22]NVStorageSaveData ofd_packets/00057196 [16:46:22]File name is /storage/ofd_packets/00057196 [16:46:22]Write 445 bytes [16:46:22]NVStorageSaveData done [16:46:22]OFDSenderStorePacket done [16:46:22]KKMCreateOFDPacket done [16:46:22]NVStorageSaveData kkm_last_timestamp [16:46:22]File name is /storage/kkm_last_timestamp [16:46:22]Write 4 bytes [16:46:22]NVStorageSaveData done [16:46:22]ExternCall_PrintAddStr [16:46:22]wPrintStart [16:46:22]Write to MH i2c: 01 00 00 1B 01 1C [16:46:22]OFD Sender: Processing packet 57196 [packets to send 38, broken 37] [16:46:22]ProducePacketName [16:46:22]name=ofd_packets/00057196 [16:46:22]OFD Sender: To server: pG, [16:46:22]CommunicateWithHost lk.salyk.kg:30040 [16:46:22]ConnectInit lk.salyk.kg [16:46:22]Write i2c OK [16:46:22]MH_I2C_Read... [16:46:22]Read from MH i2c: 01 [16:46:22]MH_I2C_Read... [16:46:22]Read from MH i2c: 01 07 00 [16:46:22]MH_I2C_Read... [16:46:22]Read from MH i2c: 01 07 00 1B 01 00 00 00 00 00 FF 0F 31 [16:46:22]RasterBufferAndPrint [16:46:22]line Счет N : (3)129642 [16:46:22]line ИНН: 02508201610067 [16:46:22]line Контрольно-Кассовый Чек [16:46:22]line ПРОДАЖА [16:46:22]line Товар: 4700000160358 [16:46:22]line Вода Легенда 1л [16:46:22]line 1.000 * 50.00 [16:46:22]line = 50.00 [16:46:22]line НДС 12% НСП 1% [16:46:22]line > о реализуемом товаре [16:46:22]line Товар: 4601025117702 [16:46:22]line Напиток Фрутмотив апельсин 0,5 [16:46:22]line 1.000 * 85.00 [16:46:22]line = 85.00 [16:46:22]line НДС 12% НСП 1% [16:46:22]line > о реализуемом товаре [16:46:22]line ИТОГО: 135.00 [16:46:22]line НСП 1% : 1.19 [16:46:22]line НДС 12% : 14.34 [16:46:22]line Наличными: 135.00 [16:46:22]line Безнал.: 0.00 [16:46:22]line Место: АЗС № 132 "Партнер Нефть" [16:46:22]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [16:46:22]line СНО: Общий режим [16:46:22]line Чек 91 15.07.2024 16:46 [16:46:22]line Смена: 497 ФФД: 1.0 [16:46:22]line ЗНМ: 0300000132 [16:46:22]line РНМ: 0000000000091208 [16:46:22]line Версия ККМ: 001 [16:46:22]line ФМ: 0000000000874857 [16:46:22]line ФД: 57196 [16:46:22]line ФПД: 271734410016695 [16:46:22]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T164620&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57196&fm=271734410016695&tin=02508201610067®Number=0000000000091208&sum=13500 [16:46:22]line 0 [16:46:22]written 0, free lines is 4095 [16:46:22]Connected sock=10 [16:46: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 9F 01 00 00 63 73 97 01 14 17 5A 03 01 00 03 00 8B 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 23 04 7A 00 8A 04 0D 00 34 36 30 31 30 32 35 31 31 37 37 30 32 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D1 80 D1 83 D1 82 D0 BC D0 BE D1 82 D0 B8 D0 B2 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 30 2C 35 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 5B 00 00 00 F4 03 04 00 5C 52 95 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 6C DF 00 00 35 04 06 00 F7 24 18 FB 77 B7 7B D7 9E 32 4C 40 0C 6B [16:46: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 59 C2 47 00 66 9E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 6C DF 00 00 F4 03 04 00 AA F8 94 66 B6 04 01 00 00 15 2C 93 DB 83 03 EA 80 [16:46:22]CommunicateWithHost err = 0 [16:46:22]CheckOFDResponse [16:46:22]1017 (14) - 77093643461234 [16:46:22]1041 (16) - 0000000000874857 [16:46:22]1040 (4) - 57196 [16:46:22]1012 (4) - 15.07.2024 10:23 [16:46:22]1206 (1) - 0 [16:46:22]OFD Sender: Remove packet 57196 [16:46:22]ProducePacketName [16:46:22]name=ofd_packets/00057196 [16:46:22]NVStorageDeleteData [16:46:22]Write to MH i2c: 01 00 00 4A 01 4B [16:46:22]Write i2c OK [16:46:22]MH_I2C_Read... [16:46:22]Read from MH i2c: 01 [16:46:22]MH_I2C_Read... [16:46:22]Read from MH i2c: 01 07 00 [16:46:22]MH_I2C_Read... [16:46:22]Read from MH i2c: 01 07 00 4A 01 00 00 00 00 00 93 0C F1 [16:46:22]RasterBufferAndPrint [16:46:22]line [16:46:22]line [16:46:22]line [16:46:22]line [16:46:22]line [16:46:22]written 0, free lines is 3226 [16:46:22]MH_Cut [16:46:22]Write to MH i2c: D1 01 00 51 01 01 24 [16:46:22]Write i2c OK [16:46:22]MH_I2C_Read... [16:46:22]Read from MH i2c: D1 [16:46:22]MH_I2C_Read... [16:46:22]Read from MH i2c: D1 01 00 [16:46:22]MH_I2C_Read... [16:46:22]Read from MH i2c: D1 01 00 51 01 00 23 [16:46:22]Write to MH i2c: 01 00 00 52 01 53 [16:46:22]Write i2c OK [16:46:22]MH_I2C_Read... [16:46:23]OFD Sender: No OFD packet to send [16:46:23]*** Cut start [16:46:23]*** Partial cut [16:46:23]*** CUTSNS_PIN = 1 [16:46:23]*** CUTSNS_PIN = 0 [16:46:23]*** Brake cut motor [16:46:24]Read from MH i2c: 01 [16:46:24]MH_I2C_Read... [16:46:24]*** Stop cut motor [16:46:24]*** Cut end [16:46:24]Read from MH i2c: 01 07 00 [16:46:24]MH_I2C_Read... [16:46:24]Read from MH i2c: 01 07 00 52 01 00 00 00 00 00 FF 0F 68 [16:46:24]process_action close_receipt done [16:46:24]requested_data is exist [16:46:24]produce_requested_data [16:46:24]requested_item fm.sn is exist - process it [16:46:24]wFMCommunicate request_size=4 [16:46:24]MH_SAM_APDU [16:46:24]CAPDU: 80 11 00 00 [16:46:24]Write to MH i2c: E2 08 00 53 01 80 11 00 00 00 00 00 00 CE [16:46:24]Write i2c OK [16:46:24]MH_I2C_Read... [16:46:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:46:24]Read from MH i2c: E2 [16:46:24]MH_I2C_Read... [16:46:24]Read from MH i2c: E2 17 00 [16:46:24]MH_I2C_Read... [16:46:24]Read from MH i2c: E2 17 00 53 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 28 [16: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 [16:46:24]wFMCommunicate OK [16:46:24]requested_item fd.num is exist - process it [16:46:24]SAM_PROTO_GetFieldsCounters [16:46:24]wFMCommunicate request_size=4 [16:46:24]MH_SAM_APDU [16:46:24]CAPDU: 80 13 00 00 [16:46:24]Write to MH i2c: E2 08 00 54 01 80 13 00 00 00 00 00 00 D1 [16:46:24]Write i2c OK [16:46:24]MH_I2C_Read... [16:46:24]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:46:24]Read from MH i2c: E2 [16:46:24]MH_I2C_Read... [16:46:24]Read from MH i2c: E2 62 00 [16:46:24]MH_I2C_Read... [16:46:24]Read from MH i2c: E2 62 00 54 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 6C DF 00 00 0E 04 04 00 F1 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 42 [16:46: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 6C DF 00 00 0E 04 04 00 F1 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 [16:46:24]wFMCommunicate OK [16:46:24]SAM_PROTO_GetFieldsCounters done [16:46:24]requested_item shift.num is exist - process it [16:46:24]requested_item shift.opened is exist - process it [16:46:24]req_shift_opened [16:46:24]FM_GetShiftState [16:46:24]SAM_PROTO_GetShiftState [16:46:24]wFMCommunicate request_size=4 [16:46:24]MH_SAM_APDU [16:46:24]CAPDU: 80 13 01 00 [16:46:24]Write to MH i2c: E2 08 00 55 01 80 13 01 00 00 00 00 00 D3 [16:46:24]Write i2c OK [16:46:24]MH_I2C_Read... [16:46:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:46:24]Read from MH i2c: E2 [16:46:24]MH_I2C_Read... [16:46:24]Read from MH i2c: E2 0E 00 [16:46:24]MH_I2C_Read... [16:46:24]Read from MH i2c: E2 0E 00 55 01 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 4C [16:46:24]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [16:46:24]wFMCommunicate OK [16:46:24]SAM_PROTO_GetShiftState done [16:46:24]FM_GetShiftState done [16:46:24]req_shift_opened done [16:46:24]requested_item shift.open_date is exist - process it [16:46:24]req_shift_open_date [16:46:24]req_shift_open_date done [16:46:24]requested_item shift.sale.total is exist - process it [16:46:24]SAM_PROTO_GetShiftData [16:46:24]wFMCommunicate request_size=4 [16:46:24]MH_SAM_APDU [16:46:24]CAPDU: 80 13 02 00 [16:46:24]Write to MH i2c: E2 08 00 56 01 80 13 02 00 00 00 00 00 D5 [16:46:24]Write i2c OK [16:46:24]MH_I2C_Read... [16:46:25]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [16:46:25]Read from MH i2c: E2 [16:46:25]MH_I2C_Read... [16:46:25]Read from MH i2c: E2 FD 00 [16:46:25]MH_I2C_Read... [16:46:25]Read from MH i2c: E2 FD 00 56 01 00 B6 04 AA 04 B2 04 6E 04 04 00 5B 00 00 00 69 04 9B 00 6F 04 04 00 5A 00 00 00 B1 04 03 00 25 89 25 70 04 03 00 A8 A1 1F 72 04 03 00 7D E7 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 85 FC 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 06 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 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 6F [16:46:25]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 5B 00 00 00 69 04 9B 00 6F 04 04 00 5A 00 00 00 B1 04 03 00 25 89 25 70 04 03 00 A8 A1 1F 72 04 03 00 7D E7 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 85 FC 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 06 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 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 [16:46:25]wFMCommunicate OK [16:46:25]wFMCommunicate request_size=4 [16:46:25]MH_SAM_APDU [16:46:25]CAPDU: 80 17 00 00 [16:46:25]Write to MH i2c: E2 08 00 57 01 80 17 00 00 00 00 00 00 D8 [16:46:25]Write i2c OK [16:46:25]MH_I2C_Read... [16:46:25]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:46:25]Read from MH i2c: E2 [16:46:25]MH_I2C_Read... [16:46:25]Read from MH i2c: E2 FD 00 [16:46:25]MH_I2C_Read... [16:46:25]Read from MH i2c: E2 FD 00 57 01 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 0D [16:46:25]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 [16:46:25]wFMCommunicate OK [16:46:25]wFMCommunicate request_size=4 [16:46:25]MH_SAM_APDU [16:46:25]CAPDU: 80 17 00 00 [16:46:25]Write to MH i2c: E2 08 00 58 01 80 17 00 00 00 00 00 00 D9 [16:46:25]Write i2c OK [16:46:25]MH_I2C_Read... [16:46:25]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:46:25]Read from MH i2c: E2 [16:46:25]MH_I2C_Read... [16:46:25]Read from MH i2c: E2 FD 00 [16:46:25]MH_I2C_Read... [16:46:25]Read from MH i2c: E2 FD 00 58 01 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 99 [16:46:25]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 [16:46:25]wFMCommunicate OK [16:46:25]wFMCommunicate request_size=4 [16:46:25]MH_SAM_APDU [16:46:25]CAPDU: 80 17 00 00 [16:46:25]Write to MH i2c: E2 08 00 59 01 80 17 00 00 00 00 00 00 DA [16:46:25]Write i2c OK [16:46:25]MH_I2C_Read... [16:46:25]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:46:25]Read from MH i2c: E2 [16:46:25]MH_I2C_Read... [16:46:25]Read from MH i2c: E2 FD 00 [16:46:25]MH_I2C_Read... [16:46:25]Read from MH i2c: E2 FD 00 59 01 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 49 [16:46:25]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 [16:46:25]wFMCommunicate OK [16:46:25]wFMCommunicate request_size=4 [16:46:25]MH_SAM_APDU [16:46:25]CAPDU: 80 17 00 00 [16:46:25]Write to MH i2c: E2 08 00 5A 01 80 17 00 00 00 00 00 00 DB [16:46:25]Write i2c OK [16:46:25]MH_I2C_Read... [16:46:26]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [16:46:26]Read from MH i2c: E2 [16:46:26]MH_I2C_Read... [16:46:26]Read from MH i2c: E2 D3 00 [16:46:26]MH_I2C_Read... [16:46:26]Read from MH i2c: E2 D3 00 5A 01 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 C8 [16:46:26]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 [16:46:26]wFMCommunicate OK [16:46:26]SAM_PROTO_GetShiftData done [16:46:26]requested_item shift.sale.total_cash is exist - process it [16:46:26]requested_item shift.sale_refund.total is exist - process it [16:46:26]requested_item shift.sale_refund.total_cash is exist - process it [16:46:26]produce_requested_data done [16:46:26]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57196,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":24599.41,"shift.sale.total_cash":20730.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [16:46:26]process_action_free close_receipt [16:46:26]json_value_free [16:46:26]json_value_free done [16:46:26]process_json_proto returns [16:46:26]Send response to host [16:46:26]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57196,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":24599.41,"shift.sale.total_cash":20730.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [16:46:26]free response buf [16:46:26]execute_script done [16:46:26]execute_script returns [16:46:26]free content buf [16:46:26]Sock 9.Close socket [16:46:26]Sock 9.Thread stoped [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:56]accept exits with 7 [16:49:56]New connection [16:49:56]New thread 3067014500 created [16:49:56]Thread 3066871140 joined [16:49:56]Waiting for new connection... [16:49:56] Sock 7.Parse request [16:49:56]Sock 7.Check first char [16:49:56]Sock 7.First char is OK [16:49:56]request: POST /json_proto HTTP/1.0 [16:49:56]Method: POST [16:49:56]URL: /json_proto [16:49:56]Method is POST - this is cgi request [16:49:56]url: /json_proto [16:49:56]query_string will be loaded in cgi processing [16:49:56]execute_cgi json_proto POST (null) [16:49:56]execute_cgi path=json_proto method=POST [16:49:56]POST find Content-Length [16:49:56]Host: 172.17.39.4:8080 [16:49:56]Content-Length: 821 [16:49:56]Content-Type: application/json [16:49:56] [16:49:56]POST finish read [16:49:56]Found Content-Length = 821 [16:49:56]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129643", "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 }]} ], "payments": [ { "type": 0, "sum" : 41.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:49:56]execute_script... [16:49: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)129643", "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 }]} ], "payments": [ { "type": 0, "sum" : 41.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:49:56]POST & json_proto [16:49:56]process_json_proto [16:49:56]json parsed OK: [16:49:56]protocol is kg_v1.0 [16:49:56]action value=close_receipt [16:49:56]process_action close_receipt [16:49:56]cmd_close_receipt [16:49:56]MH_GetDate [16:49:56]Write to MH i2c: F0 00 00 5B 01 4B [16:49:56]Write i2c OK [16:49:56]MH_I2C_Read... [16:49:56]Read from MH i2c: F0 [16:49:56]MH_I2C_Read... [16:49:56]Read from MH i2c: F0 09 00 [16:49:56]MH_I2C_Read... [16:49:56]Read from MH i2c: F0 09 00 5B 01 00 34 53 95 66 2D 25 5D 64 E9 [16:49:56]GetLastDocTimeStamp 1721061980 [16:49:56]current date 1721062196 [16:49:56]FM_GetShiftState [16:49:56]SAM_PROTO_GetShiftState [16:49:56]wFMCommunicate request_size=4 [16:49:56]MH_SAM_APDU [16:49:56]CAPDU: 80 13 01 00 [16:49:56]Write to MH i2c: E2 08 00 5C 01 80 13 01 00 00 00 00 00 DA [16:49:56]Write i2c OK [16:49:56]MH_I2C_Read... [16:49:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:49:56]Read from MH i2c: E2 [16:49:56]MH_I2C_Read... [16:49:56]Read from MH i2c: E2 0E 00 [16:49:56]MH_I2C_Read... [16:49:56]Read from MH i2c: E2 0E 00 5C 01 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 53 [16:49:56]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [16:49:56]wFMCommunicate OK [16:49:56]SAM_PROTO_GetShiftState done [16:49:56]FM_GetShiftState done [16:49:56]opened in 1721003525 [16:49:56]opened+sec_in_day 1721089925 [16:49:56]quantity*price = 4100 [16:49:56]sum+1 = 4101 [16:49:56]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 41.00 НСП 1% : 0.36 НДС 12% : 4.35 Наличными: 41.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 92 15.07.2024 16:49 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57197 ФПД: 9638664010919 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T164956&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57197&fm=9638664010919&tin=02508201610067®Number=0000000000091208&sum=4100 0 [16:49:57]StoreToDocumentArchive [16:49:57]shift 497 fd 57197 [16:49:57]save to /storage/0497/doc_00057197 [16:49:57]save last doc name /storage/0497/doc_00057197 to /storage/kkm_last_doc_name [16:49:57]save OK [16:49:57]Clear old archive folders... [16:49:57]ProcessDocumentItem done err = 0, tmpTLVsize=304 [16:49:57]tlvbuf is 00875B20 [16:49:57]SAM_PROTO_ClearQueue [16:49:57]wFMCommunicate request_size=4 [16:49:57]MH_SAM_APDU [16:49:57]CAPDU: 80 09 00 00 [16:49:57]Write to MH i2c: E2 08 00 69 01 80 09 00 00 00 00 00 00 DC [16:49:57]Write i2c OK [16:49:57]MH_I2C_Read... [16:49:57]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:49:57]Read from MH i2c: E2 [16:49:57]MH_I2C_Read... [16:49:57]Read from MH i2c: E2 03 00 [16:49:57]MH_I2C_Read... [16:49:57]Read from MH i2c: E2 03 00 69 01 00 90 00 DE [16:49:57]RAPDU: 90 00 [16:49:57]wFMCommunicate OK [16:49:57]SAM_PROTO_ClearQueue done [16:49:57]KKMCreateOFDPacket [16:49:57]OFDProtocolAddRootSTLVToBuf [16:49:57]FM_MakeSignedData [16:49:57]FM_MakeSignedData [16:49:57]SAM_PROTO_SignData [16:49:57]wFMCommunicate request_size=4 [16:49:57]MH_SAM_APDU [16:49:57]CAPDU: 80 0D 01 02 [16:49:57]Write to MH i2c: E2 08 00 6A 01 80 0D 01 02 00 00 00 00 E4 [16:49:57]Write i2c OK [16:49:57]MH_I2C_Read... [16:49:57]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:49:57]Read from MH i2c: E2 [16:49:57]MH_I2C_Read... [16:49:57]Read from MH i2c: E2 03 00 [16:49:57]MH_I2C_Read... [16:49:57]Read from MH i2c: E2 03 00 6A 01 00 90 00 DF [16:49:57]RAPDU: 90 00 [16:49:57]wFMCommunicate OK [16:49:57]wFMCommunicate request_size=255 [16:49:57]MH_SAM_APDU [16:49:57]CAPDU: 80 0D 02 02 FA 03 00 30 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 FC 03 06 00 04 10 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 24 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B3 01 00 00 00 00 07 04 06 00 04 10 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 5C 00 00 00 F4 03 04 00 34 53 95 66 0E 04 04 00 F1 01 00 00 B9 04 01 00 01 [16:49:57]Write to MH i2c: E2 02 01 6B 01 80 0D 02 02 FA 00 03 00 30 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 FC 03 06 00 04 10 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 24 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B3 01 00 00 00 00 07 04 06 00 04 10 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 5C 00 00 00 F4 03 04 00 34 53 95 66 0E 04 04 00 F1 01 00 00 B9 04 01 00 01 00 00 52 [16:49:57]Write i2c OK [16:49:57]MH_I2C_Read... [16:49:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:49:57]Read from MH i2c: E2 [16:49:57]MH_I2C_Read... [16:49:57]Read from MH i2c: E2 03 00 [16:49:57]MH_I2C_Read... [16:49:57]Read from MH i2c: E2 03 00 6B 01 00 90 00 E0 [16:49:57]RAPDU: 90 00 [16:49:57]wFMCommunicate OK [16:49:57]wFMCommunicate request_size=63 [16:49:57]MH_SAM_APDU [16:49:57]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 6D DF 00 00 35 04 06 00 08 C4 2D 24 FC A7 [16:49:57]Write to MH i2c: E2 42 00 6C 01 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 6D DF 00 00 35 04 06 00 08 C4 2D 24 FC A7 00 00 3F [16:49:57]Write i2c OK [16:49:57]MH_I2C_Read... [16:49:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:49:57]Read from MH i2c: E2 [16:49:57]MH_I2C_Read... [16:49:57]Read from MH i2c: E2 03 00 [16:49:57]MH_I2C_Read... [16:49:57]Read from MH i2c: E2 03 00 6C 01 00 90 00 E1 [16:49:57]RAPDU: 90 00 [16:49:57]wFMCommunicate OK [16:49:57]wFMCommunicate request_size=4 [16:49:57]MH_SAM_APDU [16:49:57]CAPDU: 80 0D 03 02 [16:49:57]Write to MH i2c: E2 08 00 6D 01 80 0D 03 02 00 00 00 00 E9 [16:49:57]Write i2c OK [16:49:57]MH_I2C_Read... [16:49:57]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:49:57]Read from MH i2c: E2 [16:49:57]MH_I2C_Read... [16:49:57]Read from MH i2c: E2 0B 00 [16:49:57]MH_I2C_Read... [16:49:57]Read from MH i2c: E2 0B 00 6D 01 00 66 BF F0 A3 66 17 AE 7B 90 00 48 [16:49:57]RAPDU: 66 BF F0 A3 66 17 AE 7B 90 00 [16:49:57]wFMCommunicate OK [16:49:57]SAM_PROTO_SignData done [16:49:57]FM_MakeSignedData done [16:49:57]CreateOFDProtocolMessage [16:49:57]wFMCommunicate request_size=4 [16:49:57]MH_SAM_APDU [16:49:57]CAPDU: 80 11 00 00 [16:49:57]Write to MH i2c: E2 08 00 6E 01 80 11 00 00 00 00 00 00 E9 [16:49:57]Write i2c OK [16:49:57]MH_I2C_Read... [16:49:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:49:57]Read from MH i2c: E2 [16:49:57]MH_I2C_Read... [16:49:57]Read from MH i2c: E2 17 00 [16:49:57]MH_I2C_Read... [16:49:57]Read from MH i2c: E2 17 00 6E 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 43 [16:49:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [16:49:57]wFMCommunicate OK [16:49:57]CreateOFDProtocolMessage done [16:49:57]OFDSenderStorePacket 57197 [16:49:57]StoreOFDPacket docnum=57197 [16:49: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 44 01 00 00 5F DC 3C 01 08 23 5A 03 01 00 03 00 30 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 FC 03 06 00 04 10 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 24 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B3 01 00 00 00 00 07 04 06 00 04 10 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 5C 00 00 00 F4 03 04 00 34 53 95 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 6D DF 00 00 35 04 06 00 08 C4 2D 24 FC A7 66 BF F0 A3 66 17 AE 7B [16:49:57]CheckFolder [16:49:57]dirname=/storage/ofd_packets [16:49:57]CheckFolder done [16:49:57]ProducePacketName [16:49:57]name=ofd_packets/00057197 [16:49:57]NVStorageSaveData ofd_packets/00057197 [16:49:57]File name is /storage/ofd_packets/00057197 [16:49:57]Write 354 bytes [16:49:57]NVStorageSaveData done [16:49:57]OFDSenderStorePacket done [16:49:57]KKMCreateOFDPacket done [16:49:57]NVStorageSaveData kkm_last_timestamp [16:49:57]File name is /storage/kkm_last_timestamp [16:49:57]Write 4 bytes [16:49:57]NVStorageSaveData done [16:49:57]ExternCall_PrintAddStr [16:49:57]wPrintStart [16:49:57]Write to MH i2c: 01 00 00 6F 01 70 [16:49:57]Write i2c OK [16:49:57]MH_I2C_Read... [16:49:57]Read from MH i2c: 01 [16:49:57]MH_I2C_Read... [16:49:57]Read from MH i2c: 01 07 00 [16:49:57]MH_I2C_Read... [16:49:57]Read from MH i2c: 01 07 00 6F 01 00 00 00 00 00 FF 0F 85 [16:49:57]RasterBufferAndPrint [16:49:57]line Счет N : (3)129643 [16:49:57]line ИНН: 02508201610067 [16:49:57]line Контрольно-Кассовый Чек [16:49:57]line ПРОДАЖА [16:49:57]line Товар: 6921211114420 [16:49:57]line Карамель ЧЧ 3D В-РОР Тропический 8*45 [16:49:57]line 1.000 * 41.00 [16:49:57]line = 41.00 [16:49:57]line НДС 12% НСП 1% [16:49:57]line > о реализуемом товаре [16:49:57]line ИТОГО: 41.00 [16:49:57]line НСП 1% : 0.36 [16:49:57]line НДС 12% : 4.35 [16:49:57]line Наличными: 41.00 [16:49:57]line Безнал.: 0.00 [16:49:57]line Место: АЗС № 132 "Партнер Нефть" [16:49:57]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [16:49:57]line СНО: Общий режим [16:49:57]line Чек 92 15.07.2024 16:49 [16:49:57]line Смена: 497 ФФД: 1.0 [16:49:57]line ЗНМ: 0300000132 [16:49:57]line РНМ: 0000000000091208 [16:49:57]line Версия ККМ: 001 [16:49:57]line ФМ: 0000000000874857 [16:49:57]line ФД: 57197 [16:49:57]line ФПД: 9638664010919 [16:49:58]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T164956&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57197&fm=9638664010919&tin=02508201610067®Number=0000000000091208&sum=4100 [16:49:58]line 0 [16:49:58]OFD Sender: Processing packet 57197 [packets to send 38, broken 37] [16:49:58]ProducePacketName [16:49:58]name=ofd_packets/00057197 [16:49:58]OFD Sender: To server: pG, [16:49:58]CommunicateWithHost lk.salyk.kg:30040 [16:49:58]ConnectInit lk.salyk.kg [16:49:58]written 0, free lines is 4095 [16:49:58]Connected sock=10 [16:49: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 44 01 00 00 5F DC 3C 01 08 23 5A 03 01 00 03 00 30 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 FC 03 06 00 04 10 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 24 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B3 01 00 00 00 00 07 04 06 00 04 10 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 5C 00 00 00 F4 03 04 00 34 53 95 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 6D DF 00 00 35 04 06 00 08 C4 2D 24 FC A7 66 BF F0 A3 66 17 AE 7B [16:49: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 78 76 47 00 CA 84 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 6D DF 00 00 F4 03 04 00 82 F9 94 66 B6 04 01 00 00 D8 3A BE 8D B2 EA F3 CB [16:49:58]CommunicateWithHost err = 0 [16:49:58]CheckOFDResponse [16:49:58]1017 (14) - 77093643461234 [16:49:58]1041 (16) - 0000000000874857 [16:49:58]1040 (4) - 57197 [16:49:58]1012 (4) - 15.07.2024 10:27 [16:49:58]1206 (1) - 0 [16:49:58]OFD Sender: Remove packet 57197 [16:49:58]ProducePacketName [16:49:58]name=ofd_packets/00057197 [16:49:58]NVStorageDeleteData [16:49:58]Write to MH i2c: 01 00 00 98 01 99 [16:49:58]Write i2c OK [16:49:58]MH_I2C_Read... [16:49:58]Read from MH i2c: 01 [16:49:58]MH_I2C_Read... [16:49:58]Read from MH i2c: 01 07 00 [16:49:58]MH_I2C_Read... [16:49:58]Read from MH i2c: 01 07 00 98 01 00 00 00 00 00 EB 0C 97 [16:49:58]RasterBufferAndPrint [16:49:58]line [16:49:58]line [16:49:58]line [16:49:58]line [16:49:58]line [16:49:58]written 0, free lines is 3313 [16:49:58]MH_Cut [16:49:58]Write to MH i2c: D1 01 00 9F 01 01 72 [16:49:58]Write i2c OK [16:49:58]MH_I2C_Read... [16:49:58]Read from MH i2c: D1 [16:49:58]MH_I2C_Read... [16:49:58]Read from MH i2c: D1 01 00 [16:49:58]MH_I2C_Read... [16:49:58]Read from MH i2c: D1 01 00 9F 01 00 71 [16:49:58]Write to MH i2c: 01 00 00 A0 01 A1 [16:49:58]Write i2c OK [16:49:58]MH_I2C_Read... [16:49:59]OFD Sender: No OFD packet to send [16:49:59]*** Cut start [16:49:59]*** Partial cut [16:49:59]*** CUTSNS_PIN = 1 [16:49:59]*** CUTSNS_PIN = 0 [16:49:59]*** Brake cut motor [16:49:59]Read from MH i2c: 01 [16:49:59]MH_I2C_Read... [16:49:59]*** Stop cut motor [16:49:59]*** Cut end [16:49:59]Read from MH i2c: 01 07 00 [16:49:59]MH_I2C_Read... [16:49:59]Read from MH i2c: 01 07 00 A0 01 00 00 00 00 00 FF 0F B6 [16:49:59]process_action close_receipt done [16:49:59]requested_data is exist [16:49:59]produce_requested_data [16:49:59]requested_item fm.sn is exist - process it [16:49:59]wFMCommunicate request_size=4 [16:49:59]MH_SAM_APDU [16:49:59]CAPDU: 80 11 00 00 [16:49:59]Write to MH i2c: E2 08 00 A1 01 80 11 00 00 00 00 00 00 1C [16:49:59]Write i2c OK [16:49:59]MH_I2C_Read... [16:50:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:50:00]Read from MH i2c: E2 [16:50:00]MH_I2C_Read... [16:50:00]Read from MH i2c: E2 17 00 [16:50:00]MH_I2C_Read... [16:50:00]Read from MH i2c: E2 17 00 A1 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 76 [16:50:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [16:50:00]wFMCommunicate OK [16:50:00]requested_item fd.num is exist - process it [16:50:00]SAM_PROTO_GetFieldsCounters [16:50:00]wFMCommunicate request_size=4 [16:50:00]MH_SAM_APDU [16:50:00]CAPDU: 80 13 00 00 [16:50:00]Write to MH i2c: E2 08 00 A2 01 80 13 00 00 00 00 00 00 1F [16:50:00]Write i2c OK [16:50:00]MH_I2C_Read... [16:50:00]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:50:00]Read from MH i2c: E2 [16:50:00]MH_I2C_Read... [16:50:00]Read from MH i2c: E2 62 00 [16:50:00]MH_I2C_Read... [16:50:00]Read from MH i2c: E2 62 00 A2 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 6D DF 00 00 0E 04 04 00 F1 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 94 [16:50: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 6D DF 00 00 0E 04 04 00 F1 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 [16:50:00]wFMCommunicate OK [16:50:00]SAM_PROTO_GetFieldsCounters done [16:50:00]requested_item shift.num is exist - process it [16:50:00]requested_item shift.opened is exist - process it [16:50:00]req_shift_opened [16:50:00]FM_GetShiftState [16:50:00]SAM_PROTO_GetShiftState [16:50:00]wFMCommunicate request_size=4 [16:50:00]MH_SAM_APDU [16:50:00]CAPDU: 80 13 01 00 [16:50:00]Write to MH i2c: E2 08 00 A3 01 80 13 01 00 00 00 00 00 21 [16:50:00]Write i2c OK [16:50:00]MH_I2C_Read... [16:50:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:50:00]Read from MH i2c: E2 [16:50:00]MH_I2C_Read... [16:50:00]Read from MH i2c: E2 0E 00 [16:50:00]MH_I2C_Read... [16:50:00]Read from MH i2c: E2 0E 00 A3 01 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 9A [16:50:00]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [16:50:00]wFMCommunicate OK [16:50:00]SAM_PROTO_GetShiftState done [16:50:00]FM_GetShiftState done [16:50:00]req_shift_opened done [16:50:00]requested_item shift.open_date is exist - process it [16:50:00]req_shift_open_date [16:50:00]req_shift_open_date done [16:50:00]requested_item shift.sale.total is exist - process it [16:50:00]SAM_PROTO_GetShiftData [16:50:00]wFMCommunicate request_size=4 [16:50:00]MH_SAM_APDU [16:50:00]CAPDU: 80 13 02 00 [16:50:00]Write to MH i2c: E2 08 00 A4 01 80 13 02 00 00 00 00 00 23 [16:50:00]Write i2c OK [16:50:00]MH_I2C_Read... [16:50:00]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [16:50:00]Read from MH i2c: E2 [16:50:00]MH_I2C_Read... [16:50:00]Read from MH i2c: E2 FD 00 [16:50:00]MH_I2C_Read... [16:50:00]Read from MH i2c: E2 FD 00 A4 01 00 B6 04 AA 04 B2 04 6E 04 04 00 5C 00 00 00 69 04 9B 00 6F 04 04 00 5B 00 00 00 B1 04 03 00 29 99 25 70 04 03 00 AC B1 1F 72 04 03 00 7D E7 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 38 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 2A 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 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 C0 [16:50:00]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 5C 00 00 00 69 04 9B 00 6F 04 04 00 5B 00 00 00 B1 04 03 00 29 99 25 70 04 03 00 AC B1 1F 72 04 03 00 7D E7 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 38 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 2A 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 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 [16:50:00]wFMCommunicate OK [16:50:00]wFMCommunicate request_size=4 [16:50:00]MH_SAM_APDU [16:50:00]CAPDU: 80 17 00 00 [16:50:00]Write to MH i2c: E2 08 00 A5 01 80 17 00 00 00 00 00 00 26 [16:50:00]Write i2c OK [16:50:00]MH_I2C_Read... [16:50:00]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:50:00]Read from MH i2c: E2 [16:50:00]MH_I2C_Read... [16:50:00]Read from MH i2c: E2 FD 00 [16:50:00]MH_I2C_Read... [16:50:00]Read from MH i2c: E2 FD 00 A5 01 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 5B [16:50:00]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 [16:50:00]wFMCommunicate OK [16:50:00]wFMCommunicate request_size=4 [16:50:00]MH_SAM_APDU [16:50:00]CAPDU: 80 17 00 00 [16:50:00]Write to MH i2c: E2 08 00 A6 01 80 17 00 00 00 00 00 00 27 [16:50:00]Write i2c OK [16:50:00]MH_I2C_Read... [16:50:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:50:01]Read from MH i2c: E2 [16:50:01]MH_I2C_Read... [16:50:01]Read from MH i2c: E2 FD 00 [16:50:01]MH_I2C_Read... [16:50:01]Read from MH i2c: E2 FD 00 A6 01 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 E7 [16:50:01]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 [16:50:01]wFMCommunicate OK [16:50:01]wFMCommunicate request_size=4 [16:50:01]MH_SAM_APDU [16:50:01]CAPDU: 80 17 00 00 [16:50:01]Write to MH i2c: E2 08 00 A7 01 80 17 00 00 00 00 00 00 28 [16:50:01]Write i2c OK [16:50:01]MH_I2C_Read... [16:50:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:50:01]Read from MH i2c: E2 [16:50:01]MH_I2C_Read... [16:50:01]Read from MH i2c: E2 FD 00 [16:50:01]MH_I2C_Read... [16:50:01]Read from MH i2c: E2 FD 00 A7 01 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 97 [16:50:01]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 [16:50:01]wFMCommunicate OK [16:50:01]wFMCommunicate request_size=4 [16:50:01]MH_SAM_APDU [16:50:01]CAPDU: 80 17 00 00 [16:50:01]Write to MH i2c: E2 08 00 A8 01 80 17 00 00 00 00 00 00 29 [16:50:01]Write i2c OK [16:50:01]MH_I2C_Read... [16:50:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [16:50:01]Read from MH i2c: E2 [16:50:01]MH_I2C_Read... [16:50:01]Read from MH i2c: E2 D3 00 [16:50:01]MH_I2C_Read... [16:50:01]Read from MH i2c: E2 D3 00 A8 01 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 16 [16:50:01]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 [16:50:01]wFMCommunicate OK [16:50:01]SAM_PROTO_GetShiftData done [16:50:01]requested_item shift.sale.total_cash is exist - process it [16:50:01]requested_item shift.sale_refund.total is exist - process it [16:50:01]requested_item shift.sale_refund.total_cash is exist - process it [16:50:01]produce_requested_data done [16:50:01]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57197,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":24640.41,"shift.sale.total_cash":20771.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [16:50:01]process_action_free close_receipt [16:50:01]json_value_free [16:50:01]json_value_free done [16:50:01]process_json_proto returns [16:50:01]Send response to host [16:50:01]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57197,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":24640.41,"shift.sale.total_cash":20771.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [16:50:01]free response buf [16:50:01]execute_script done [16:50:01]execute_script returns [16:50:01]free content buf [16:50:01]Sock 7.Close socket [16:50:01]Sock 7.Thread stoped [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:56]accept exits with 9 [16:54:56]New connection [16:54:56]New thread 3066871140 created [16:54:56]Thread 3067014500 joined [16:54:56]Waiting for new connection... [16:54:56] Sock 9.Parse request [16:54:56]Sock 9.Check first char [16:54:56]Sock 9.First char is OK [16:54:56]request: POST /json_proto HTTP/1.0 [16:54:56]Method: POST [16:54:56]URL: /json_proto [16:54:56]Method is POST - this is cgi request [16:54:56]url: /json_proto [16:54:56]query_string will be loaded in cgi processing [16:54:56]execute_cgi json_proto POST (null) [16:54:56]execute_cgi path=json_proto method=POST [16:54:56]POST find Content-Length [16:54:56]Host: 172.17.39.4:8080 [16:54:56]Content-Length: 750 [16:54:56]Content-Type: application/json [16:54:56] [16:54:56]POST finish read [16:54:56]Found Content-Length = 750 [16:54:56]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129644", "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" ] } } [16:54:56]execute_script... [16:54: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)129644", "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" ] } } [16:54:56]POST & json_proto [16:54:56]process_json_proto [16:54:56]json parsed OK: [16:54:56]protocol is kg_v1.0 [16:54:56]action value=close_receipt [16:54:56]process_action close_receipt [16:54:56]cmd_close_receipt [16:54:56]MH_GetDate [16:54:56]Write to MH i2c: F0 00 00 A9 01 99 [16:54:56]Write i2c OK [16:54:56]MH_I2C_Read... [16:54:56]Read from MH i2c: F0 [16:54:56]MH_I2C_Read... [16:54:56]Read from MH i2c: F0 09 00 [16:54:56]MH_I2C_Read... [16:54:56]Read from MH i2c: F0 09 00 A9 01 00 60 54 95 66 2D 25 5D 64 64 [16:54:56]GetLastDocTimeStamp 1721062196 [16:54:56]current date 1721062496 [16:54:56]FM_GetShiftState [16:54:56]SAM_PROTO_GetShiftState [16:54:56]wFMCommunicate request_size=4 [16:54:56]MH_SAM_APDU [16:54:56]CAPDU: 80 13 01 00 [16:54:56]Write to MH i2c: E2 08 00 AA 01 80 13 01 00 00 00 00 00 28 [16:54:56]Write i2c OK [16:54:56]MH_I2C_Read... [16:54:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:54:56]Read from MH i2c: E2 [16:54:56]MH_I2C_Read... [16:54:56]Read from MH i2c: E2 0E 00 [16:54:56]MH_I2C_Read... [16:54:56]Read from MH i2c: E2 0E 00 AA 01 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 A1 [16:54:56]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [16:54:56]wFMCommunicate OK [16:54:56]SAM_PROTO_GetShiftState done [16:54:56]FM_GetShiftState done [16:54:56]opened in 1721003525 [16:54:56]opened+sec_in_day 1721089925 [16:54:56]quantity*price = 13000 [16:54:56]sum+1 = 13001 [16:54:56]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 СНО: Общий режим Чек 93 15.07.2024 16:54 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57198 ФПД: 31870739336897 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T165456&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57198&fm=31870739336897&tin=02508201610067®Number=0000000000091208&sum=13000 0 [16:54:57]StoreToDocumentArchive [16:54:57]shift 497 fd 57198 [16:54:57]save to /storage/0497/doc_00057198 [16:54:57]save last doc name /storage/0497/doc_00057198 to /storage/kkm_last_doc_name [16:54:57]save OK [16:54:57]Clear old archive folders... [16:54:57]ProcessDocumentItem done err = 0, tmpTLVsize=282 [16:54:57]tlvbuf is 00853000 [16:54:57]SAM_PROTO_ClearQueue [16:54:57]wFMCommunicate request_size=4 [16:54:57]MH_SAM_APDU [16:54:57]CAPDU: 80 09 00 00 [16:54:57]Write to MH i2c: E2 08 00 B7 01 80 09 00 00 00 00 00 00 2A [16:54:57]Write i2c OK [16:54:57]MH_I2C_Read... [16:54:57]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:54:57]Read from MH i2c: E2 [16:54:57]MH_I2C_Read... [16:54:57]Read from MH i2c: E2 03 00 [16:54:57]MH_I2C_Read... [16:54:57]Read from MH i2c: E2 03 00 B7 01 00 90 00 2C [16:54:57]RAPDU: 90 00 [16:54:57]wFMCommunicate OK [16:54:57]SAM_PROTO_ClearQueue done [16:54:57]KKMCreateOFDPacket [16:54:57]OFDProtocolAddRootSTLVToBuf [16:54:57]FM_MakeSignedData [16:54:57]FM_MakeSignedData [16:54:57]SAM_PROTO_SignData [16:54:57]wFMCommunicate request_size=4 [16:54:57]MH_SAM_APDU [16:54:57]CAPDU: 80 0D 01 02 [16:54:57]Write to MH i2c: E2 08 00 B8 01 80 0D 01 02 00 00 00 00 32 [16:54:57]Write i2c OK [16:54:57]MH_I2C_Read... [16:54:57]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:54:57]Read from MH i2c: E2 [16:54:57]MH_I2C_Read... [16:54:57]Read from MH i2c: E2 03 00 [16:54:57]MH_I2C_Read... [16:54:57]Read from MH i2c: E2 03 00 B8 01 00 90 00 2D [16:54:57]RAPDU: 90 00 [16:54:57]wFMCommunicate OK [16:54:57]wFMCommunicate request_size=255 [16:54:57]MH_SAM_APDU [16:54:57]CAPDU: 80 0D 02 02 FA 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 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 5D 00 00 00 F4 03 04 00 60 54 95 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 [16:54:57]Write to MH i2c: E2 02 01 B9 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 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 5D 00 00 00 F4 03 04 00 60 54 95 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 00 00 3A [16:54:57]Write i2c OK [16:54:57]MH_I2C_Read... [16:54:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:54:57]Read from MH i2c: E2 [16:54:57]MH_I2C_Read... [16:54:57]Read from MH i2c: E2 03 00 [16:54:57]MH_I2C_Read... [16:54:57]Read from MH i2c: E2 03 00 B9 01 00 90 00 2E [16:54:57]RAPDU: 90 00 [16:54:57]wFMCommunicate OK [16:54:57]wFMCommunicate request_size=41 [16:54:57]MH_SAM_APDU [16:54:57]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 6E DF 00 00 35 04 06 00 1C FC 7C 18 CE C1 [16:54:57]Write to MH i2c: E2 2C 00 BA 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 6E DF 00 00 35 04 06 00 1C FC 7C 18 CE C1 00 00 93 [16:54:57]Write i2c OK [16:54:57]MH_I2C_Read... [16:54:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:54:57]Read from MH i2c: E2 [16:54:57]MH_I2C_Read... [16:54:57]Read from MH i2c: E2 03 00 [16:54:57]MH_I2C_Read... [16:54:57]Read from MH i2c: E2 03 00 BA 01 00 90 00 2F [16:54:57]RAPDU: 90 00 [16:54:57]wFMCommunicate OK [16:54:57]wFMCommunicate request_size=4 [16:54:57]MH_SAM_APDU [16:54:57]CAPDU: 80 0D 03 02 [16:54:57]Write to MH i2c: E2 08 00 BB 01 80 0D 03 02 00 00 00 00 37 [16:54:57]Write i2c OK [16:54:57]MH_I2C_Read... [16:54:57]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:54:57]Read from MH i2c: E2 [16:54:57]MH_I2C_Read... [16:54:57]Read from MH i2c: E2 0B 00 [16:54:57]MH_I2C_Read... [16:54:57]Read from MH i2c: E2 0B 00 BB 01 00 2C 9C 7B F2 11 58 DE 6E 90 00 22 [16:54:57]RAPDU: 2C 9C 7B F2 11 58 DE 6E 90 00 [16:54:57]wFMCommunicate OK [16:54:57]SAM_PROTO_SignData done [16:54:57]FM_MakeSignedData done [16:54:57]CreateOFDProtocolMessage [16:54:57]wFMCommunicate request_size=4 [16:54:57]MH_SAM_APDU [16:54:57]CAPDU: 80 11 00 00 [16:54:57]Write to MH i2c: E2 08 00 BC 01 80 11 00 00 00 00 00 00 37 [16:54:57]Write i2c OK [16:54:57]MH_I2C_Read... [16:54:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:54:57]Read from MH i2c: E2 [16:54:57]MH_I2C_Read... [16:54:57]Read from MH i2c: E2 17 00 [16:54:57]MH_I2C_Read... [16:54:57]Read from MH i2c: E2 17 00 BC 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 91 [16:54:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [16:54:57]wFMCommunicate OK [16:54:57]CreateOFDProtocolMessage done [16:54:57]OFDSenderStorePacket 57198 [16:54:57]StoreOFDPacket docnum=57198 [16:54: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 2E 01 00 00 9B 28 26 01 C5 FC 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 5D 00 00 00 F4 03 04 00 60 54 95 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 6E DF 00 00 35 04 06 00 1C FC 7C 18 CE C1 2C 9C 7B F2 11 58 DE 6E [16:54:57]CheckFolder [16:54:57]dirname=/storage/ofd_packets [16:54:57]CheckFolder done [16:54:57]ProducePacketName [16:54:57]name=ofd_packets/00057198 [16:54:57]NVStorageSaveData ofd_packets/00057198 [16:54:57]File name is /storage/ofd_packets/00057198 [16:54:57]Write 332 bytes [16:54:57]NVStorageSaveData done [16:54:57]OFDSenderStorePacket done [16:54:57]KKMCreateOFDPacket done [16:54:57]NVStorageSaveData kkm_last_timestamp [16:54:57]File name is /storage/kkm_last_timestamp [16:54:57]Write 4 bytes [16:54:57]NVStorageSaveData done [16:54:57]ExternCall_PrintAddStr [16:54:57]wPrintStart [16:54:57]Write to MH i2c: 01 00 00 BD 01 BE [16:54:57]Write i2c OK [16:54:57]MH_I2C_Read... [16:54:57]Read from MH i2c: 01 [16:54:57]MH_I2C_Read... [16:54:57]Read from MH i2c: 01 07 00 [16:54:57]MH_I2C_Read... [16:54:57]Read from MH i2c: 01 07 00 BD 01 00 00 00 00 00 FF 0F D3 [16:54:57]RasterBufferAndPrint [16:54:57]line Счет N : (3)129644 [16:54:57]line ИНН: 02508201610067 [16:54:57]line Контрольно-Кассовый Чек [16:54:57]line ПРОДАЖА [16:54:57]line Товар: 2000036220012 [16:54:57]line Кофе Капучино XL(GABB TRADE) [16:54:57]line 1.000 * 130.00 [16:54:57]line = 130.00 [16:54:57]line НДС 12% НСП 1% [16:54:57]line > о реализуемом товаре [16:54:57]line ИТОГО: 130.00 [16:54:57]line НСП 1% : 1.15 [16:54:57]line НДС 12% : 13.80 [16:54:57]line Наличными: 130.00 [16:54:57]line Безнал.: 0.00 [16:54:57]line Место: АЗС № 132 "Партнер Нефть" [16:54:57]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [16:54:57]line СНО: Общий режим [16:54:57]line Чек 93 15.07.2024 16:54 [16:54:57]line Смена: 497 ФФД: 1.0 [16:54:57]line ЗНМ: 0300000132 [16:54:57]line РНМ: 0000000000091208 [16:54:57]line Версия ККМ: 001 [16:54:57]line ФМ: 0000000000874857 [16:54:57]line ФД: 57198 [16:54:57]line ФПД: 31870739336897 [16:54:57]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T165456&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57198&fm=31870739336897&tin=02508201610067®Number=0000000000091208&sum=13000 [16:54:58]OFD Sender: Processing packet 57198 [packets to send 38, broken 37] [16:54:58]ProducePacketName [16:54:58]name=ofd_packets/00057198 [16:54:58]OFD Sender: To server: pG, [16:54:58]CommunicateWithHost lk.salyk.kg:30040 [16:54:58]ConnectInit lk.salyk.kg [16:54:58]line 0 [16:54:58]written 0, free lines is 4095 [16:54:58]Connected sock=10 [16:54: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 2E 01 00 00 9B 28 26 01 C5 FC 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 5D 00 00 00 F4 03 04 00 60 54 95 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 6E DF 00 00 35 04 06 00 1C FC 7C 18 CE C1 2C 9C 7B F2 11 58 DE 6E [16:54: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 28 26 47 00 9D FE A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 6E DF 00 00 F4 03 04 00 AE FA 94 66 B6 04 01 00 00 3A 84 33 D5 0B 9E 0D 40 [16:54:58]CommunicateWithHost err = 0 [16:54:58]CheckOFDResponse [16:54:58]1017 (14) - 77093643461234 [16:54:58]1041 (16) - 0000000000874857 [16:54:58]1040 (4) - 57198 [16:54:58]1012 (4) - 15.07.2024 10:32 [16:54:58]1206 (1) - 0 [16:54:58]OFD Sender: Remove packet 57198 [16:54:58]ProducePacketName [16:54:58]name=ofd_packets/00057198 [16:54:58]NVStorageDeleteData [16:54:58]Write to MH i2c: 01 00 00 E6 01 E7 [16:54:58]Write i2c OK [16:54:58]MH_I2C_Read... [16:54:58]Read from MH i2c: 01 [16:54:58]MH_I2C_Read... [16:54:58]Read from MH i2c: 01 07 00 [16:54:58]MH_I2C_Read... [16:54:58]Read from MH i2c: 01 07 00 E6 01 00 00 00 00 00 FF 0C F9 [16:54:58]RasterBufferAndPrint [16:54:58]line [16:54:58]line [16:54:58]line [16:54:58]line [16:54:58]line [16:54:58]written 0, free lines is 3333 [16:54:58]MH_Cut [16:54:58]Write to MH i2c: D1 01 00 ED 01 01 C0 [16:54:58]Write i2c OK [16:54:58]MH_I2C_Read... [16:54:58]Read from MH i2c: D1 [16:54:58]MH_I2C_Read... [16:54:58]Read from MH i2c: D1 01 00 [16:54:58]MH_I2C_Read... [16:54:58]Read from MH i2c: D1 01 00 ED 01 00 BF [16:54:58]Write to MH i2c: 01 00 00 EE 01 EF [16:54:58]Write i2c OK [16:54:58]MH_I2C_Read... [16:54:58]OFD Sender: No OFD packet to send [16:54:59]*** Cut start [16:54:59]*** Partial cut [16:54:59]*** CUTSNS_PIN = 1 [16:54:59]*** CUTSNS_PIN = 0 [16:54:59]*** Brake cut motor [16:54:59]Read from MH i2c: 01 [16:54:59]MH_I2C_Read... [16:54:59]*** Stop cut motor [16:54:59]*** Cut end [16:54:59]Read from MH i2c: 01 07 00 [16:54:59]MH_I2C_Read... [16:54:59]Read from MH i2c: 01 07 00 EE 01 00 00 00 00 00 FF 0F 04 [16:54:59]process_action close_receipt done [16:54:59]requested_data is exist [16:54:59]produce_requested_data [16:54:59]requested_item fm.sn is exist - process it [16:54:59]wFMCommunicate request_size=4 [16:54:59]MH_SAM_APDU [16:54:59]CAPDU: 80 11 00 00 [16:54:59]Write to MH i2c: E2 08 00 EF 01 80 11 00 00 00 00 00 00 6A [16:54:59]Write i2c OK [16:54:59]MH_I2C_Read... [16:54:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:54:59]Read from MH i2c: E2 [16:54:59]MH_I2C_Read... [16:54:59]Read from MH i2c: E2 17 00 [16:54:59]MH_I2C_Read... [16:54:59]Read from MH i2c: E2 17 00 EF 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 C4 [16:54:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [16:54:59]wFMCommunicate OK [16:54:59]requested_item fd.num is exist - process it [16:54:59]SAM_PROTO_GetFieldsCounters [16:54:59]wFMCommunicate request_size=4 [16:54:59]MH_SAM_APDU [16:54:59]CAPDU: 80 13 00 00 [16:54:59]Write to MH i2c: E2 08 00 F0 01 80 13 00 00 00 00 00 00 6D [16:54:59]Write i2c OK [16:54:59]MH_I2C_Read... [16:55:00]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:55:00]Read from MH i2c: E2 [16:55:00]MH_I2C_Read... [16:55:00]Read from MH i2c: E2 62 00 [16:55:00]MH_I2C_Read... [16:55:00]Read from MH i2c: E2 62 00 F0 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 6E DF 00 00 0E 04 04 00 F1 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 E6 [16:55: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 6E DF 00 00 0E 04 04 00 F1 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 [16:55:00]wFMCommunicate OK [16:55:00]SAM_PROTO_GetFieldsCounters done [16:55:00]requested_item shift.num is exist - process it [16:55:00]requested_item shift.opened is exist - process it [16:55:00]req_shift_opened [16:55:00]FM_GetShiftState [16:55:00]SAM_PROTO_GetShiftState [16:55:00]wFMCommunicate request_size=4 [16:55:00]MH_SAM_APDU [16:55:00]CAPDU: 80 13 01 00 [16:55:00]Write to MH i2c: E2 08 00 F1 01 80 13 01 00 00 00 00 00 6F [16:55:00]Write i2c OK [16:55:00]MH_I2C_Read... [16:55:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:55:00]Read from MH i2c: E2 [16:55:00]MH_I2C_Read... [16:55:00]Read from MH i2c: E2 0E 00 [16:55:00]MH_I2C_Read... [16:55:00]Read from MH i2c: E2 0E 00 F1 01 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 E8 [16:55:00]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [16:55:00]wFMCommunicate OK [16:55:00]SAM_PROTO_GetShiftState done [16:55:00]FM_GetShiftState done [16:55:00]req_shift_opened done [16:55:00]requested_item shift.open_date is exist - process it [16:55:00]req_shift_open_date [16:55:00]req_shift_open_date done [16:55:00]requested_item shift.sale.total is exist - process it [16:55:00]SAM_PROTO_GetShiftData [16:55:00]wFMCommunicate request_size=4 [16:55:00]MH_SAM_APDU [16:55:00]CAPDU: 80 13 02 00 [16:55:00]Write to MH i2c: E2 08 00 F2 01 80 13 02 00 00 00 00 00 71 [16:55:00]Write i2c OK [16:55:00]MH_I2C_Read... [16:55:00]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [16:55:00]Read from MH i2c: E2 [16:55:00]MH_I2C_Read... [16:55:00]Read from MH i2c: E2 FD 00 [16:55:00]MH_I2C_Read... [16:55:00]Read from MH i2c: E2 FD 00 F2 01 00 B6 04 AA 04 B2 04 6E 04 04 00 5D 00 00 00 69 04 9B 00 6F 04 04 00 5C 00 00 00 B1 04 03 00 F1 CB 25 70 04 03 00 74 E4 1F 72 04 03 00 7D E7 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 9C 03 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 9D 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 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 E2 [16:55:00]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 5D 00 00 00 69 04 9B 00 6F 04 04 00 5C 00 00 00 B1 04 03 00 F1 CB 25 70 04 03 00 74 E4 1F 72 04 03 00 7D E7 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 9C 03 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 9D 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 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 [16:55:00]wFMCommunicate OK [16:55:00]wFMCommunicate request_size=4 [16:55:00]MH_SAM_APDU [16:55:00]CAPDU: 80 17 00 00 [16:55:00]Write to MH i2c: E2 08 00 F3 01 80 17 00 00 00 00 00 00 74 [16:55:00]Write i2c OK [16:55:00]MH_I2C_Read... [16:55:00]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:55:00]Read from MH i2c: E2 [16:55:00]MH_I2C_Read... [16:55:00]Read from MH i2c: E2 FD 00 [16:55:00]MH_I2C_Read... [16:55:00]Read from MH i2c: E2 FD 00 F3 01 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 A9 [16:55:00]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 [16:55:00]wFMCommunicate OK [16:55:00]wFMCommunicate request_size=4 [16:55:00]MH_SAM_APDU [16:55:00]CAPDU: 80 17 00 00 [16:55:00]Write to MH i2c: E2 08 00 F4 01 80 17 00 00 00 00 00 00 75 [16:55:00]Write i2c OK [16:55:00]MH_I2C_Read... [16:55:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:55:01]Read from MH i2c: E2 [16:55:01]MH_I2C_Read... [16:55:01]Read from MH i2c: E2 FD 00 [16:55:01]MH_I2C_Read... [16:55:01]Read from MH i2c: E2 FD 00 F4 01 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 35 [16:55:01]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 [16:55:01]wFMCommunicate OK [16:55:01]wFMCommunicate request_size=4 [16:55:01]MH_SAM_APDU [16:55:01]CAPDU: 80 17 00 00 [16:55:01]Write to MH i2c: E2 08 00 F5 01 80 17 00 00 00 00 00 00 76 [16:55:01]Write i2c OK [16:55:01]MH_I2C_Read... [16:55:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:55:01]Read from MH i2c: E2 [16:55:01]MH_I2C_Read... [16:55:01]Read from MH i2c: E2 FD 00 [16:55:01]MH_I2C_Read... [16:55:01]Read from MH i2c: E2 FD 00 F5 01 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 E5 [16:55:01]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 [16:55:01]wFMCommunicate OK [16:55:01]wFMCommunicate request_size=4 [16:55:01]MH_SAM_APDU [16:55:01]CAPDU: 80 17 00 00 [16:55:01]Write to MH i2c: E2 08 00 F6 01 80 17 00 00 00 00 00 00 77 [16:55:01]Write i2c OK [16:55:01]MH_I2C_Read... [16:55:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [16:55:01]Read from MH i2c: E2 [16:55:01]MH_I2C_Read... [16:55:01]Read from MH i2c: E2 D3 00 [16:55:01]MH_I2C_Read... [16:55:01]Read from MH i2c: E2 D3 00 F6 01 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 64 [16:55:01]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 [16:55:01]wFMCommunicate OK [16:55:01]SAM_PROTO_GetShiftData done [16:55:01]requested_item shift.sale.total_cash is exist - process it [16:55:01]requested_item shift.sale_refund.total is exist - process it [16:55:01]requested_item shift.sale_refund.total_cash is exist - process it [16:55:01]produce_requested_data done [16:55:01]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57198,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":24770.41,"shift.sale.total_cash":20901.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [16:55:01]process_action_free close_receipt [16:55:01]json_value_free [16:55:01]json_value_free done [16:55:01]process_json_proto returns [16:55:01]Send response to host [16:55:01]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57198,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":24770.41,"shift.sale.total_cash":20901.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [16:55:01]free response buf [16:55:01]execute_script done [16:55:01]execute_script returns [16:55:01]free content buf [16:55:01]Sock 9.Close socket [16:55:01]Sock 9.Thread stoped [16:55:03]OFD Sender: No OFD packet to send [16:55:08]OFD Sender: No OFD packet to send [16:55:13]OFD Sender: No OFD packet to send [16:55:18]OFD Sender: No OFD packet to send [16:55:23]OFD Sender: No OFD packet to send [16:55:28]OFD Sender: No OFD packet to send [16:55:33]OFD Sender: No OFD packet to send [16:55:38]OFD Sender: No OFD packet to send [16:55:43]OFD Sender: No OFD packet to send [16:55:48]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:48]accept exits with 7 [16:56:48]New connection [16:56:48]New thread 3067014500 created [16:56:48]Thread 3066871140 joined [16:56:48]Waiting for new connection... [16:56:48] Sock 7.Parse request [16:56:48]Sock 7.Check first char [16:56:48]Sock 7.First char is OK [16:56:48]request: POST /json_proto HTTP/1.0 [16:56:48]Method: POST [16:56:48]URL: /json_proto [16:56:48]Method is POST - this is cgi request [16:56:48]url: /json_proto [16:56:48]query_string will be loaded in cgi processing [16:56:48]execute_cgi json_proto POST (null) [16:56:48]execute_cgi path=json_proto method=POST [16:56:48]POST find Content-Length [16:56:48]Host: 172.17.39.4:8080 [16:56:48]Content-Length: 725 [16:56:48]Content-Type: application/json [16:56:48] [16:56:48]POST finish read [16:56:48]Found Content-Length = 725 [16:56:48]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129645", "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 }]} ], "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" ] } } [16:56:48]execute_script... [16:56:48]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129645", "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 }]} ], "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" ] } } [16:56:48]POST & json_proto [16:56:48]process_json_proto [16:56:48]json parsed OK: [16:56:48]protocol is kg_v1.0 [16:56:48]action value=close_receipt [16:56:48]process_action close_receipt [16:56:48]cmd_close_receipt [16:56:48]MH_GetDate [16:56:48]Write to MH i2c: F0 00 00 F7 01 E7 [16:56:48]Write i2c OK [16:56:48]MH_I2C_Read... [16:56:48]Read from MH i2c: F0 [16:56:48]MH_I2C_Read... [16:56:48]Read from MH i2c: F0 09 00 [16:56:48]MH_I2C_Read... [16:56:48]Read from MH i2c: F0 09 00 F7 01 00 D0 54 95 66 2D 25 5D 64 22 [16:56:48]GetLastDocTimeStamp 1721062496 [16:56:48]current date 1721062608 [16:56:48]FM_GetShiftState [16:56:48]SAM_PROTO_GetShiftState [16:56:48]wFMCommunicate request_size=4 [16:56:48]MH_SAM_APDU [16:56:48]CAPDU: 80 13 01 00 [16:56:48]Write to MH i2c: E2 08 00 F8 01 80 13 01 00 00 00 00 00 76 [16:56:48]Write i2c OK [16:56:48]MH_I2C_Read... [16:56:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:56:48]Read from MH i2c: E2 [16:56:48]MH_I2C_Read... [16:56:48]Read from MH i2c: E2 0E 00 [16:56:48]MH_I2C_Read... [16:56:48]Read from MH i2c: E2 0E 00 F8 01 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 EF [16:56:48]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [16:56:48]wFMCommunicate OK [16:56:48]SAM_PROTO_GetShiftState done [16:56:48]FM_GetShiftState done [16:56:48]opened in 1721003525 [16:56:48]opened+sec_in_day 1721089925 [16:56:48]quantity*price = 14000 [16:56:48]sum+1 = 14001 [16:56:48]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 СНО: Общий режим Чек 94 15.07.2024 16:56 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57199 ФПД: 197901363438413 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T165648&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57199&fm=197901363438413&tin=02508201610067®Number=0000000000091208&sum=14000 0 [16:56:49]StoreToDocumentArchive [16:56:49]shift 497 fd 57199 [16:56:49]save to /storage/0497/doc_00057199 [16:56:49]save last doc name /storage/0497/doc_00057199 to /storage/kkm_last_doc_name [16:56:49]save OK [16:56:49]Clear old archive folders... [16:56:49]ProcessDocumentItem done err = 0, tmpTLVsize=273 [16:56:49]tlvbuf is 0086E9F0 [16:56:49]SAM_PROTO_ClearQueue [16:56:49]wFMCommunicate request_size=4 [16:56:49]MH_SAM_APDU [16:56:49]CAPDU: 80 09 00 00 [16:56:49]Write to MH i2c: E2 08 00 05 02 80 09 00 00 00 00 00 00 79 [16:56:49]Write i2c OK [16:56:49]MH_I2C_Read... [16:56:49]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:56:49]Read from MH i2c: E2 [16:56:49]MH_I2C_Read... [16:56:49]Read from MH i2c: E2 03 00 [16:56:49]MH_I2C_Read... [16:56:49]Read from MH i2c: E2 03 00 05 02 00 90 00 7B [16:56:49]RAPDU: 90 00 [16:56:49]wFMCommunicate OK [16:56:49]SAM_PROTO_ClearQueue done [16:56:49]KKMCreateOFDPacket [16:56:49]OFDProtocolAddRootSTLVToBuf [16:56:49]FM_MakeSignedData [16:56:49]FM_MakeSignedData [16:56:49]SAM_PROTO_SignData [16:56:49]wFMCommunicate request_size=4 [16:56:49]MH_SAM_APDU [16:56:49]CAPDU: 80 0D 01 02 [16:56:49]Write to MH i2c: E2 08 00 06 02 80 0D 01 02 00 00 00 00 81 [16:56:49]Write i2c OK [16:56:49]MH_I2C_Read... [16:56:49]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:56:49]Read from MH i2c: E2 [16:56:49]MH_I2C_Read... [16:56:49]Read from MH i2c: E2 03 00 [16:56:49]MH_I2C_Read... [16:56:49]Read from MH i2c: E2 03 00 06 02 00 90 00 7C [16:56:49]RAPDU: 90 00 [16:56:49]wFMCommunicate OK [16:56:49]wFMCommunicate request_size=255 [16:56:49]MH_SAM_APDU [16:56:49]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 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 5E 00 00 00 F4 03 04 00 D0 54 95 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 [16:56:49]Write to MH i2c: E2 02 01 07 02 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 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 5E 00 00 00 F4 03 04 00 D0 54 95 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 CC [16:56:49]Write i2c OK [16:56:49]MH_I2C_Read... [16:56:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:56:49]Read from MH i2c: E2 [16:56:49]MH_I2C_Read... [16:56:49]Read from MH i2c: E2 03 00 [16:56:49]MH_I2C_Read... [16:56:49]Read from MH i2c: E2 03 00 07 02 00 90 00 7D [16:56:49]RAPDU: 90 00 [16:56:49]wFMCommunicate OK [16:56:49]wFMCommunicate request_size=32 [16:56:49]MH_SAM_APDU [16:56:49]CAPDU: 80 0D 02 02 1B 30 30 30 38 37 34 38 35 37 10 04 04 00 6F DF 00 00 35 04 06 00 B3 FD 80 77 E3 4D [16:56:49]Write to MH i2c: E2 23 00 08 02 80 0D 02 02 1B 00 30 30 30 38 37 34 38 35 37 10 04 04 00 6F DF 00 00 35 04 06 00 B3 FD 80 77 E3 4D 00 00 0D [16:56:49]Write i2c OK [16:56:49]MH_I2C_Read... [16:56:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:56:49]Read from MH i2c: E2 [16:56:49]MH_I2C_Read... [16:56:49]Read from MH i2c: E2 03 00 [16:56:49]MH_I2C_Read... [16:56:49]Read from MH i2c: E2 03 00 08 02 00 90 00 7E [16:56:49]RAPDU: 90 00 [16:56:49]wFMCommunicate OK [16:56:49]wFMCommunicate request_size=4 [16:56:49]MH_SAM_APDU [16:56:49]CAPDU: 80 0D 03 02 [16:56:49]Write to MH i2c: E2 08 00 09 02 80 0D 03 02 00 00 00 00 86 [16:56:49]Write i2c OK [16:56:49]MH_I2C_Read... [16:56:49]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:56:49]Read from MH i2c: E2 [16:56:49]MH_I2C_Read... [16:56:49]Read from MH i2c: E2 0B 00 [16:56:49]MH_I2C_Read... [16:56:49]Read from MH i2c: E2 0B 00 09 02 00 34 38 AC 02 22 38 12 69 90 00 76 [16:56:49]RAPDU: 34 38 AC 02 22 38 12 69 90 00 [16:56:49]wFMCommunicate OK [16:56:49]SAM_PROTO_SignData done [16:56:49]FM_MakeSignedData done [16:56:49]CreateOFDProtocolMessage [16:56:49]wFMCommunicate request_size=4 [16:56:49]MH_SAM_APDU [16:56:49]CAPDU: 80 11 00 00 [16:56:49]Write to MH i2c: E2 08 00 0A 02 80 11 00 00 00 00 00 00 86 [16:56:49]Write i2c OK [16:56:49]MH_I2C_Read... [16:56:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:56:49]Read from MH i2c: E2 [16:56:49]MH_I2C_Read... [16:56:49]Read from MH i2c: E2 17 00 [16:56:49]MH_I2C_Read... [16:56:49]Read from MH i2c: E2 17 00 0A 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 E0 [16:56:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [16:56:49]wFMCommunicate OK [16:56:49]CreateOFDProtocolMessage done [16:56:49]OFDSenderStorePacket 57199 [16:56:49]StoreOFDPacket docnum=57199 [16:56: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 25 01 00 00 C0 BD 1D 01 B9 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 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 5E 00 00 00 F4 03 04 00 D0 54 95 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 6F DF 00 00 35 04 06 00 B3 FD 80 77 E3 4D 34 38 AC 02 22 38 12 69 [16:56:49]CheckFolder [16:56:49]dirname=/storage/ofd_packets [16:56:49]CheckFolder done [16:56:49]ProducePacketName [16:56:49]name=ofd_packets/00057199 [16:56:49]NVStorageSaveData ofd_packets/00057199 [16:56:49]File name is /storage/ofd_packets/00057199 [16:56:49]Write 323 bytes [16:56:49]NVStorageSaveData done [16:56:49]OFDSenderStorePacket done [16:56:49]KKMCreateOFDPacket done [16:56:49]NVStorageSaveData kkm_last_timestamp [16:56:49]File name is /storage/kkm_last_timestamp [16:56:49]Write 4 bytes [16:56:49]NVStorageSaveData done [16:56:49]ExternCall_PrintAddStr [16:56:49]wPrintStart [16:56:49]Write to MH i2c: 01 00 00 0B 02 0D [16:56:49]Write i2c OK [16:56:49]MH_I2C_Read... [16:56:49]Read from MH i2c: 01 [16:56:49]MH_I2C_Read... [16:56:49]Read from MH i2c: 01 07 00 [16:56:49]MH_I2C_Read... [16:56:49]Read from MH i2c: 01 07 00 0B 02 00 00 00 00 00 FF 0F 22 [16:56:49]RasterBufferAndPrint [16:56:49]line Счет N : (3)129645 [16:56:49]line ИНН: 02508201610067 [16:56:49]line Контрольно-Кассовый Чек [16:56:49]line ПРОДАЖА [16:56:49]line Товар: 48747059 [16:56:49]line Сигареты Winston Legend Blue [16:56:49]line 1.000 * 140.00 [16:56:49]line = 140.00 [16:56:49]line НДС 12% НСП 1% [16:56:49]line > о реализуемом товаре [16:56:49]line ИТОГО: 140.00 [16:56:49]line НСП 1% : 1.24 [16:56:49]line НДС 12% : 14.87 [16:56:49]line Наличными: 140.00 [16:56:49]line Безнал.: 0.00 [16:56:49]line Место: АЗС № 132 "Партнер Нефть" [16:56:49]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [16:56:49]line СНО: Общий режим [16:56:49]line Чек 94 15.07.2024 16:56 [16:56:49]line Смена: 497 ФФД: 1.0 [16:56:49]line ЗНМ: 0300000132 [16:56:49]line РНМ: 0000000000091208 [16:56:49]line Версия ККМ: 001 [16:56:49]line ФМ: 0000000000874857 [16:56:49]line ФД: 57199 [16:56:49]line ФПД: 197901363438413 [16:56:50]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T165648&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57199&fm=197901363438413&tin=02508201610067®Number=0000000000091208&sum=14000 [16:56:50]line 0 [16:56:50]OFD Sender: Processing packet 57199 [packets to send 38, broken 37] [16:56:50]ProducePacketName [16:56:50]name=ofd_packets/00057199 [16:56:50]OFD Sender: To server: pG, [16:56:50]CommunicateWithHost lk.salyk.kg:30040 [16:56:50]ConnectInit lk.salyk.kg [16:56:50]written 0, free lines is 4095 [16:56:50]Connected sock=10 [16:56:50]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 C0 BD 1D 01 B9 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 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 5E 00 00 00 F4 03 04 00 D0 54 95 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 6F DF 00 00 35 04 06 00 B3 FD 80 77 E3 4D 34 38 AC 02 22 38 12 69 [16:56:50]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 5B 47 00 8E 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 6F DF 00 00 F4 03 04 00 1E FB 94 66 B6 04 01 00 00 77 A7 F6 8F 0F 71 83 AD [16:56:50]CommunicateWithHost err = 0 [16:56:50]CheckOFDResponse [16:56:50]1017 (14) - 77093643461234 [16:56:50]1041 (16) - 0000000000874857 [16:56:50]1040 (4) - 57199 [16:56:50]1012 (4) - 15.07.2024 10:34 [16:56:50]1206 (1) - 0 [16:56:50]OFD Sender: Remove packet 57199 [16:56:50]ProducePacketName [16:56:50]name=ofd_packets/00057199 [16:56:50]NVStorageDeleteData [16:56:50]Write to MH i2c: 01 00 00 34 02 36 [16:56:50]Write i2c OK [16:56:50]MH_I2C_Read... [16:56:50]Read from MH i2c: 01 [16:56:50]MH_I2C_Read... [16:56:50]Read from MH i2c: 01 07 00 [16:56:50]MH_I2C_Read... [16:56:50]Read from MH i2c: 01 07 00 34 02 00 00 00 00 00 DF 0C 28 [16:56:50]RasterBufferAndPrint [16:56:50]line [16:56:50]line [16:56:50]line [16:56:50]line [16:56:50]line [16:56:50]written 0, free lines is 3301 [16:56:50]MH_Cut [16:56:50]Write to MH i2c: D1 01 00 3B 02 01 0F [16:56:50]Write i2c OK [16:56:50]MH_I2C_Read... [16:56:50]Read from MH i2c: D1 [16:56:50]MH_I2C_Read... [16:56:50]Read from MH i2c: D1 01 00 [16:56:50]MH_I2C_Read... [16:56:50]Read from MH i2c: D1 01 00 3B 02 00 0E [16:56:50]Write to MH i2c: 01 00 00 3C 02 3E [16:56:50]Write i2c OK [16:56:50]MH_I2C_Read... [16:56:51]OFD Sender: No OFD packet to send [16:56:51]*** Cut start [16:56:51]*** Partial cut [16:56:51]*** CUTSNS_PIN = 1 [16:56:51]*** CUTSNS_PIN = 0 [16:56:51]*** Brake cut motor [16:56:51]Read from MH i2c: 01 [16:56:51]MH_I2C_Read... [16:56:51]*** Stop cut motor [16:56:51]*** Cut end [16:56:51]Read from MH i2c: 01 07 00 [16:56:51]MH_I2C_Read... [16:56:51]Read from MH i2c: 01 07 00 3C 02 00 00 00 00 00 FF 0F 53 [16:56:51]process_action close_receipt done [16:56:51]requested_data is exist [16:56:51]produce_requested_data [16:56:51]requested_item fm.sn is exist - process it [16:56:51]wFMCommunicate request_size=4 [16:56:51]MH_SAM_APDU [16:56:51]CAPDU: 80 11 00 00 [16:56:51]Write to MH i2c: E2 08 00 3D 02 80 11 00 00 00 00 00 00 B9 [16:56:51]Write i2c OK [16:56:51]MH_I2C_Read... [16:56:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:56:52]Read from MH i2c: E2 [16:56:52]MH_I2C_Read... [16:56:52]Read from MH i2c: E2 17 00 [16:56:52]MH_I2C_Read... [16:56:52]Read from MH i2c: E2 17 00 3D 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 13 [16:56:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [16:56:52]wFMCommunicate OK [16:56:52]requested_item fd.num is exist - process it [16:56:52]SAM_PROTO_GetFieldsCounters [16:56:52]wFMCommunicate request_size=4 [16:56:52]MH_SAM_APDU [16:56:52]CAPDU: 80 13 00 00 [16:56:52]Write to MH i2c: E2 08 00 3E 02 80 13 00 00 00 00 00 00 BC [16:56:52]Write i2c OK [16:56:52]MH_I2C_Read... [16:56:52]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:56:52]Read from MH i2c: E2 [16:56:52]MH_I2C_Read... [16:56:52]Read from MH i2c: E2 62 00 [16:56:52]MH_I2C_Read... [16:56:52]Read from MH i2c: E2 62 00 3E 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 6F DF 00 00 0E 04 04 00 F1 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 39 [16:56:52]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 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 6F DF 00 00 0E 04 04 00 F1 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 [16:56:52]wFMCommunicate OK [16:56:52]SAM_PROTO_GetFieldsCounters done [16:56:52]requested_item shift.num is exist - process it [16:56:52]requested_item shift.opened is exist - process it [16:56:52]req_shift_opened [16:56:52]FM_GetShiftState [16:56:52]SAM_PROTO_GetShiftState [16:56:52]wFMCommunicate request_size=4 [16:56:52]MH_SAM_APDU [16:56:52]CAPDU: 80 13 01 00 [16:56:52]Write to MH i2c: E2 08 00 3F 02 80 13 01 00 00 00 00 00 BE [16:56:52]Write i2c OK [16:56:52]MH_I2C_Read... [16:56:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:56:52]Read from MH i2c: E2 [16:56:52]MH_I2C_Read... [16:56:52]Read from MH i2c: E2 0E 00 [16:56:52]MH_I2C_Read... [16:56:52]Read from MH i2c: E2 0E 00 3F 02 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 37 [16:56:52]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [16:56:52]wFMCommunicate OK [16:56:52]SAM_PROTO_GetShiftState done [16:56:52]FM_GetShiftState done [16:56:52]req_shift_opened done [16:56:52]requested_item shift.open_date is exist - process it [16:56:52]req_shift_open_date [16:56:52]req_shift_open_date done [16:56:52]requested_item shift.sale.total is exist - process it [16:56:52]SAM_PROTO_GetShiftData [16:56:52]wFMCommunicate request_size=4 [16:56:52]MH_SAM_APDU [16:56:52]CAPDU: 80 13 02 00 [16:56:52]Write to MH i2c: E2 08 00 40 02 80 13 02 00 00 00 00 00 C0 [16:56:52]Write i2c OK [16:56:52]MH_I2C_Read... [16:56:52]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [16:56:52]Read from MH i2c: E2 [16:56:52]MH_I2C_Read... [16:56:52]Read from MH i2c: E2 FD 00 [16:56:52]MH_I2C_Read... [16:56:52]Read from MH i2c: E2 FD 00 40 02 00 B6 04 AA 04 B2 04 6E 04 04 00 5E 00 00 00 69 04 9B 00 6F 04 04 00 5D 00 00 00 B1 04 03 00 A1 02 26 70 04 03 00 24 1B 20 72 04 03 00 7D E7 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 6B 09 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 19 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 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 55 [16:56:52]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 5E 00 00 00 69 04 9B 00 6F 04 04 00 5D 00 00 00 B1 04 03 00 A1 02 26 70 04 03 00 24 1B 20 72 04 03 00 7D E7 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 6B 09 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 19 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 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 [16:56:52]wFMCommunicate OK [16:56:52]wFMCommunicate request_size=4 [16:56:52]MH_SAM_APDU [16:56:52]CAPDU: 80 17 00 00 [16:56:52]Write to MH i2c: E2 08 00 41 02 80 17 00 00 00 00 00 00 C3 [16:56:52]Write i2c OK [16:56:52]MH_I2C_Read... [16:56:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:56:52]Read from MH i2c: E2 [16:56:52]MH_I2C_Read... [16:56:52]Read from MH i2c: E2 FD 00 [16:56:52]MH_I2C_Read... [16:56:52]Read from MH i2c: E2 FD 00 41 02 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 F8 [16:56:52]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 [16:56:53]wFMCommunicate OK [16:56:53]wFMCommunicate request_size=4 [16:56:53]MH_SAM_APDU [16:56:53]CAPDU: 80 17 00 00 [16:56:53]Write to MH i2c: E2 08 00 42 02 80 17 00 00 00 00 00 00 C4 [16:56:53]Write i2c OK [16:56:53]MH_I2C_Read... [16:56:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:56:53]Read from MH i2c: E2 [16:56:53]MH_I2C_Read... [16:56:53]Read from MH i2c: E2 FD 00 [16:56:53]MH_I2C_Read... [16:56:53]Read from MH i2c: E2 FD 00 42 02 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 84 [16:56:53]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 [16:56:53]wFMCommunicate OK [16:56:53]wFMCommunicate request_size=4 [16:56:53]MH_SAM_APDU [16:56:53]CAPDU: 80 17 00 00 [16:56:53]Write to MH i2c: E2 08 00 43 02 80 17 00 00 00 00 00 00 C5 [16:56:53]Write i2c OK [16:56:53]MH_I2C_Read... [16:56:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:56:53]Read from MH i2c: E2 [16:56:53]MH_I2C_Read... [16:56:53]Read from MH i2c: E2 FD 00 [16:56:53]MH_I2C_Read... [16:56:53]Read from MH i2c: E2 FD 00 43 02 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 34 [16:56:53]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 [16:56:53]wFMCommunicate OK [16:56:53]wFMCommunicate request_size=4 [16:56:53]MH_SAM_APDU [16:56:53]CAPDU: 80 17 00 00 [16:56:53]Write to MH i2c: E2 08 00 44 02 80 17 00 00 00 00 00 00 C6 [16:56:53]Write i2c OK [16:56:53]MH_I2C_Read... [16:56:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [16:56:53]Read from MH i2c: E2 [16:56:53]MH_I2C_Read... [16:56:53]Read from MH i2c: E2 D3 00 [16:56:53]MH_I2C_Read... [16:56:53]Read from MH i2c: E2 D3 00 44 02 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 B3 [16:56:53]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 [16:56:53]wFMCommunicate OK [16:56:53]SAM_PROTO_GetShiftData done [16:56:53]requested_item shift.sale.total_cash is exist - process it [16:56:53]requested_item shift.sale_refund.total is exist - process it [16:56:53]requested_item shift.sale_refund.total_cash is exist - process it [16:56:53]produce_requested_data done [16:56:53]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57199,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":24910.41,"shift.sale.total_cash":21041.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [16:56:53]process_action_free close_receipt [16:56:53]json_value_free [16:56:53]json_value_free done [16:56:53]process_json_proto returns [16:56:53]Send response to host [16:56:53]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57199,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":24910.41,"shift.sale.total_cash":21041.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [16:56:53]free response buf [16:56:53]execute_script done [16:56:53]execute_script returns [16:56:53]free content buf [16:56:53]Sock 7.Close socket [16:56:53]Sock 7.Thread stoped [16:56:56]OFD Sender: No OFD packet to send [16:57:01]OFD Sender: No OFD packet to send [16:57:06]OFD Sender: No OFD packet to send [16:57:11]OFD Sender: No OFD packet to send [16:57:16]OFD Sender: No OFD packet to send [16:57:21]OFD Sender: No OFD packet to send [16:57:26]OFD Sender: No OFD packet to send [16:57:31]OFD Sender: No OFD packet to send [16:57:36]OFD Sender: No OFD packet to send [16:57:41]OFD Sender: No OFD packet to send [16:57:46]OFD Sender: No OFD packet to send [16:57:51]OFD Sender: No OFD packet to send [16:57:56]OFD Sender: No OFD packet to send [16:58:01]OFD Sender: No OFD packet to send [16:58:06]OFD Sender: No OFD packet to send [16:58:11]OFD Sender: No OFD packet to send [16:58:16]OFD Sender: No OFD packet to send [16:58:21]OFD Sender: No OFD packet to send [16:58:26]OFD Sender: No OFD packet to send [16:58:31]OFD Sender: No OFD packet to send [16:58:36]OFD Sender: No OFD packet to send [16:58:41]OFD Sender: No OFD packet to send [16:58:46]OFD Sender: No OFD packet to send [16:58:51]OFD Sender: No OFD packet to send [16:58:56]OFD Sender: No OFD packet to send [16:59:01]OFD Sender: No OFD packet to send [16:59:06]OFD Sender: No OFD packet to send [16:59:11]OFD Sender: No OFD packet to send [16:59:16]OFD Sender: No OFD packet to send [16:59:21]OFD Sender: No OFD packet to send [16:59:26]OFD Sender: No OFD packet to send [16:59:31]OFD Sender: No OFD packet to send [16:59:36]OFD Sender: No OFD packet to send [16:59:41]OFD Sender: No OFD packet to send [16:59:46]OFD Sender: No OFD packet to send [16:59:51]OFD Sender: No OFD packet to send [16:59:56]OFD Sender: No OFD packet to send [17:00:01]OFD Sender: No OFD packet to send [17:00:06]OFD Sender: No OFD packet to send [17:00:11]OFD Sender: No OFD packet to send [17:00:16]OFD Sender: No OFD packet to send [17:00:21]OFD Sender: No OFD packet to send [17:00:26]OFD Sender: No OFD packet to send [17:00:31]OFD Sender: No OFD packet to send [17:00:36]OFD Sender: No OFD packet to send [17:00:41]OFD Sender: No OFD packet to send [17:00:46]OFD Sender: No OFD packet to send [17:00:51]OFD Sender: No OFD packet to send [17:00:56]OFD Sender: No OFD packet to send [17:01:01]OFD Sender: No OFD packet to send [17:01:06]OFD Sender: No OFD packet to send [17:01:11]OFD Sender: No OFD packet to send [17:01:16]OFD Sender: No OFD packet to send [17:01:21]OFD Sender: No OFD packet to send [17:01:26]OFD Sender: No OFD packet to send [17:01:31]OFD Sender: No OFD packet to send [17:01:36]OFD Sender: No OFD packet to send [17:01:41]OFD Sender: No OFD packet to send [17:01:46]OFD Sender: No OFD packet to send [17:01:51]OFD Sender: No OFD packet to send [17:01:56]OFD Sender: No OFD packet to send [17:02:01]OFD Sender: No OFD packet to send [17:02:06]OFD Sender: No OFD packet to send [17:02:11]OFD Sender: No OFD packet to send [17:02:16]OFD Sender: No OFD packet to send [17:02:21]OFD Sender: No OFD packet to send [17:02:26]OFD Sender: No OFD packet to send [17:02:31]OFD Sender: No OFD packet to send [17:02:36]OFD Sender: No OFD packet to send [17:02:41]OFD Sender: No OFD packet to send [17:02:46]OFD Sender: No OFD packet to send [17:02:51]OFD Sender: No OFD packet to send [17:02:56]OFD Sender: No OFD packet to send [17:03:01]OFD Sender: No OFD packet to send [17:03:06]OFD Sender: No OFD packet to send [17:03:11]OFD Sender: No OFD packet to send [17:03:16]OFD Sender: No OFD packet to send [17:03:21]OFD Sender: No OFD packet to send [17:03:26]OFD Sender: No OFD packet to send [17:03:31]OFD Sender: No OFD packet to send [17:03:36]OFD Sender: No OFD packet to send [17:03:41]OFD Sender: No OFD packet to send [17:03:46]OFD Sender: No OFD packet to send [17:03:51]OFD Sender: No OFD packet to send [17:03:56]OFD Sender: No OFD packet to send [17:04:01]OFD Sender: No OFD packet to send [17:04:06]OFD Sender: No OFD packet to send [17:04:11]OFD Sender: No OFD packet to send [17:04:16]OFD Sender: No OFD packet to send [17:04:21]OFD Sender: No OFD packet to send [17:04:26]OFD Sender: No OFD packet to send [17:04:31]OFD Sender: No OFD packet to send [17:04:36]OFD Sender: No OFD packet to send [17:04:41]OFD Sender: No OFD packet to send [17:04:46]OFD Sender: No OFD packet to send [17:04:51]OFD Sender: No OFD packet to send [17:04:56]OFD Sender: No OFD packet to send [17:05:01]OFD Sender: No OFD packet to send [17:05:06]OFD Sender: No OFD packet to send [17:05:11]OFD Sender: No OFD packet to send [17:05:16]OFD Sender: No OFD packet to send [17:05:21]OFD Sender: No OFD packet to send [17:05:26]OFD Sender: No OFD packet to send [17:05:31]OFD Sender: No OFD packet to send [17:05:36]OFD Sender: No OFD packet to send [17:05:41]OFD Sender: No OFD packet to send [17:05:46]OFD Sender: No OFD packet to send [17:05:51]OFD Sender: No OFD packet to send [17:05:56]OFD Sender: No OFD packet to send [17:06:01]OFD Sender: No OFD packet to send [17:06:06]OFD Sender: No OFD packet to send [17:06:11]OFD Sender: No OFD packet to send [17:06:16]OFD Sender: No OFD packet to send [17:06:21]OFD Sender: No OFD packet to send [17:06:26]OFD Sender: No OFD packet to send [17:06:31]OFD Sender: No OFD packet to send [17:06:36]OFD Sender: No OFD packet to send [17:06:41]OFD Sender: No OFD packet to send [17:06:46]OFD Sender: No OFD packet to send [17:06:51]OFD Sender: No OFD packet to send [17:06:56]OFD Sender: No OFD packet to send [17:07:01]OFD Sender: No OFD packet to send [17:07:06]OFD Sender: No OFD packet to send [17:07:11]OFD Sender: No OFD packet to send [17:07:16]OFD Sender: No OFD packet to send [17:07:21]OFD Sender: No OFD packet to send [17:07:26]OFD Sender: No OFD packet to send [17:07:31]OFD Sender: No OFD packet to send [17:07:36]OFD Sender: No OFD packet to send [17:07:41]OFD Sender: No OFD packet to send [17:07:46]OFD Sender: No OFD packet to send [17:07:51]OFD Sender: No OFD packet to send [17:07:56]OFD Sender: No OFD packet to send [17:08:01]OFD Sender: No OFD packet to send [17:08:06]OFD Sender: No OFD packet to send [17:08:11]OFD Sender: No OFD packet to send [17:08:16]OFD Sender: No OFD packet to send [17:08:21]OFD Sender: No OFD packet to send [17:08:26]OFD Sender: No OFD packet to send [17:08:31]OFD Sender: No OFD packet to send [17:08:36]OFD Sender: No OFD packet to send [17:08:41]OFD Sender: No OFD packet to send [17:08:46]OFD Sender: No OFD packet to send [17:08:51]OFD Sender: No OFD packet to send [17:08:56]OFD Sender: No OFD packet to send [17:09:01]OFD Sender: No OFD packet to send [17:09:06]OFD Sender: No OFD packet to send [17:09:11]OFD Sender: No OFD packet to send [17:09:16]OFD Sender: No OFD packet to send [17:09:21]OFD Sender: No OFD packet to send [17:09:26]OFD Sender: No OFD packet to send [17:09:31]OFD Sender: No OFD packet to send [17:09:36]OFD Sender: No OFD packet to send [17:09:41]OFD Sender: No OFD packet to send [17:09:46]OFD Sender: No OFD packet to send [17:09:51]OFD Sender: No OFD packet to send [17:09:56]OFD Sender: No OFD packet to send [17:10:01]OFD Sender: No OFD packet to send [17:10:06]OFD Sender: No OFD packet to send [17:10:11]OFD Sender: No OFD packet to send [17:10:16]OFD Sender: No OFD packet to send [17:10:21]OFD Sender: No OFD packet to send [17:10:26]OFD Sender: No OFD packet to send [17:10:31]OFD Sender: No OFD packet to send [17:10:36]OFD Sender: No OFD packet to send [17:10:41]OFD Sender: No OFD packet to send [17:10:46]OFD Sender: No OFD packet to send [17:10:51]OFD Sender: No OFD packet to send [17:10:56]OFD Sender: No OFD packet to send [17:11:01]OFD Sender: No OFD packet to send [17:11:06]OFD Sender: No OFD packet to send [17:11:11]OFD Sender: No OFD packet to send [17:11:16]OFD Sender: No OFD packet to send [17:11:21]OFD Sender: No OFD packet to send [17:11:26]OFD Sender: No OFD packet to send [17:11:31]OFD Sender: No OFD packet to send [17:11:36]OFD Sender: No OFD packet to send [17:11:41]OFD Sender: No OFD packet to send [17:11:46]OFD Sender: No OFD packet to send [17:11:51]OFD Sender: No OFD packet to send [17:11:56]OFD Sender: No OFD packet to send [17:12:01]OFD Sender: No OFD packet to send [17:12:06]OFD Sender: No OFD packet to send [17:12:11]OFD Sender: No OFD packet to send [17:12:16]OFD Sender: No OFD packet to send [17:12:21]OFD Sender: No OFD packet to send [17:12:26]OFD Sender: No OFD packet to send [17:12:31]OFD Sender: No OFD packet to send [17:12:36]OFD Sender: No OFD packet to send [17:12:41]OFD Sender: No OFD packet to send [17:12:46]OFD Sender: No OFD packet to send [17:12:51]OFD Sender: No OFD packet to send [17:12:56]OFD Sender: No OFD packet to send [17:13:01]OFD Sender: No OFD packet to send [17:13:06]OFD Sender: No OFD packet to send [17:13:11]OFD Sender: No OFD packet to send [17:13:16]OFD Sender: No OFD packet to send [17:13:21]OFD Sender: No OFD packet to send [17:13:26]OFD Sender: No OFD packet to send [17:13:31]OFD Sender: No OFD packet to send [17:13:36]OFD Sender: No OFD packet to send [17:13:39]accept exits with 9 [17:13:39]New connection [17:13:39]New thread 3066871140 created [17:13:39]Thread 3067014500 joined [17:13:39]Waiting for new connection... [17:13:39] Sock 9.Parse request [17:13:39]Sock 9.Check first char [17:13:39]Sock 9.First char is OK [17:13:39]request: POST /json_proto HTTP/1.0 [17:13:39]Method: POST [17:13:39]URL: /json_proto [17:13:39]Method is POST - this is cgi request [17:13:39]url: /json_proto [17:13:39]query_string will be loaded in cgi processing [17:13:39]execute_cgi json_proto POST (null) [17:13:39]execute_cgi path=json_proto method=POST [17:13:39]POST find Content-Length [17:13:39]Host: 172.17.39.4:8080 [17:13:39]Content-Length: 832 [17:13:39]Content-Type: application/json [17:13:39] [17:13:39]POST finish read [17:13:39]Found Content-Length = 832 [17:13:39]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129646", "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 }]} ], "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" ] } } [17:13:39]execute_script... [17:13:39]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129646", "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 }]} ], "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" ] } } [17:13:39]POST & json_proto [17:13:39]process_json_proto [17:13:39]json parsed OK: [17:13:39]protocol is kg_v1.0 [17:13:39]action value=close_receipt [17:13:39]process_action close_receipt [17:13:39]cmd_close_receipt [17:13:39]MH_GetDate [17:13:39]Write to MH i2c: F0 00 00 45 02 36 [17:13:39]Write i2c OK [17:13:39]MH_I2C_Read... [17:13:39]Read from MH i2c: F0 [17:13:39]MH_I2C_Read... [17:13:39]Read from MH i2c: F0 09 00 [17:13:39]MH_I2C_Read... [17:13:39]Read from MH i2c: F0 09 00 45 02 00 C3 58 95 66 2D 25 5D 64 68 [17:13:39]GetLastDocTimeStamp 1721062608 [17:13:39]current date 1721063619 [17:13:39]FM_GetShiftState [17:13:39]SAM_PROTO_GetShiftState [17:13:39]wFMCommunicate request_size=4 [17:13:39]MH_SAM_APDU [17:13:39]CAPDU: 80 13 01 00 [17:13:39]Write to MH i2c: E2 08 00 46 02 80 13 01 00 00 00 00 00 C5 [17:13:39]Write i2c OK [17:13:39]MH_I2C_Read... [17:13:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:13:39]Read from MH i2c: E2 [17:13:39]MH_I2C_Read... [17:13:39]Read from MH i2c: E2 0E 00 [17:13:39]MH_I2C_Read... [17:13:39]Read from MH i2c: E2 0E 00 46 02 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 3E [17:13:39]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [17:13:39]wFMCommunicate OK [17:13:39]SAM_PROTO_GetShiftState done [17:13:39]FM_GetShiftState done [17:13:39]opened in 1721003525 [17:13:39]opened+sec_in_day 1721089925 [17:13:39]quantity*price = 10700 [17:13:39]sum+1 = 10701 [17:13:39]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 СНО: Общий режим Чек 95 15.07.2024 17:13 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57200 ФПД: 277703097216496 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T171339&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57200&fm=277703097216496&tin=02508201610067®Number=0000000000091208&sum=10700 0 [17:13:40]StoreToDocumentArchive [17:13:40]shift 497 fd 57200 [17:13:40]save to /storage/0497/doc_00057200 [17:13:40]save last doc name /storage/0497/doc_00057200 to /storage/kkm_last_doc_name [17:13:40]save OK [17:13:40]Clear old archive folders... [17:13:40]ProcessDocumentItem done err = 0, tmpTLVsize=308 [17:13:40]tlvbuf is B6DB7830 [17:13:40]SAM_PROTO_ClearQueue [17:13:40]wFMCommunicate request_size=4 [17:13:40]MH_SAM_APDU [17:13:40]CAPDU: 80 09 00 00 [17:13:40]Write to MH i2c: E2 08 00 53 02 80 09 00 00 00 00 00 00 C7 [17:13:40]Write i2c OK [17:13:40]MH_I2C_Read... [17:13:40]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:13:40]Read from MH i2c: E2 [17:13:40]MH_I2C_Read... [17:13:40]Read from MH i2c: E2 03 00 [17:13:40]MH_I2C_Read... [17:13:40]Read from MH i2c: E2 03 00 53 02 00 90 00 C9 [17:13:40]RAPDU: 90 00 [17:13:40]wFMCommunicate OK [17:13:40]SAM_PROTO_ClearQueue done [17:13:40]KKMCreateOFDPacket [17:13:40]OFDProtocolAddRootSTLVToBuf [17:13:40]FM_MakeSignedData [17:13:40]FM_MakeSignedData [17:13:40]SAM_PROTO_SignData [17:13:40]wFMCommunicate request_size=4 [17:13:40]MH_SAM_APDU [17:13:40]CAPDU: 80 0D 01 02 [17:13:40]Write to MH i2c: E2 08 00 54 02 80 0D 01 02 00 00 00 00 CF [17:13:40]Write i2c OK [17:13:40]MH_I2C_Read... [17:13:40]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:13:40]Read from MH i2c: E2 [17:13:40]MH_I2C_Read... [17:13:40]Read from MH i2c: E2 03 00 [17:13:40]MH_I2C_Read... [17:13:40]Read from MH i2c: E2 03 00 54 02 00 90 00 CA [17:13:40]RAPDU: 90 00 [17:13:40]wFMCommunicate OK [17:13:40]wFMCommunicate request_size=255 [17:13:40]MH_SAM_APDU [17:13:40]CAPDU: 80 0D 02 02 FA 03 00 34 01 1E 04 01 00 01 23 04 86 00 8A 04 0D 00 35 34 34 39 30 30 30 30 32 37 34 37 34 06 04 42 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 75 7A 65 54 65 61 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D1 80 D0 BE D0 BC D0 B0 D1 88 D0 BA D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 5F 00 00 00 F4 03 04 00 C3 58 95 66 0E 04 04 00 F1 01 00 00 B9 [17:13:40]Write to MH i2c: E2 02 01 55 02 80 0D 02 02 FA 00 03 00 34 01 1E 04 01 00 01 23 04 86 00 8A 04 0D 00 35 34 34 39 30 30 30 30 32 37 34 37 34 06 04 42 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 75 7A 65 54 65 61 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D1 80 D0 BE D0 BC D0 B0 D1 88 D0 BA D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 5F 00 00 00 F4 03 04 00 C3 58 95 66 0E 04 04 00 F1 01 00 00 B9 00 00 6D [17:13:40]Write i2c OK [17:13:40]MH_I2C_Read... [17:13:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:13:40]Read from MH i2c: E2 [17:13:40]MH_I2C_Read... [17:13:40]Read from MH i2c: E2 03 00 [17:13:40]MH_I2C_Read... [17:13:40]Read from MH i2c: E2 03 00 55 02 00 90 00 CB [17:13:40]RAPDU: 90 00 [17:13:40]wFMCommunicate OK [17:13:40]wFMCommunicate request_size=67 [17:13:40]MH_SAM_APDU [17:13:40]CAPDU: 80 0D 02 02 3E 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 70 DF 00 00 35 04 06 00 FC 91 CA 76 6D F0 [17:13:40]Write to MH i2c: E2 46 00 56 02 80 0D 02 02 3E 00 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 70 DF 00 00 35 04 06 00 FC 91 CA 76 6D F0 00 00 A5 [17:13:40]Write i2c OK [17:13:40]MH_I2C_Read... [17:13:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:13:40]Read from MH i2c: E2 [17:13:40]MH_I2C_Read... [17:13:40]Read from MH i2c: E2 03 00 [17:13:40]MH_I2C_Read... [17:13:40]Read from MH i2c: E2 03 00 56 02 00 90 00 CC [17:13:40]RAPDU: 90 00 [17:13:40]wFMCommunicate OK [17:13:40]wFMCommunicate request_size=4 [17:13:40]MH_SAM_APDU [17:13:40]CAPDU: 80 0D 03 02 [17:13:40]Write to MH i2c: E2 08 00 57 02 80 0D 03 02 00 00 00 00 D4 [17:13:40]Write i2c OK [17:13:40]MH_I2C_Read... [17:13:40]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:13:40]Read from MH i2c: E2 [17:13:40]MH_I2C_Read... [17:13:40]Read from MH i2c: E2 0B 00 [17:13:40]MH_I2C_Read... [17:13:40]Read from MH i2c: E2 0B 00 57 02 00 01 6E 30 5C A3 8A 70 35 90 00 A2 [17:13:40]RAPDU: 01 6E 30 5C A3 8A 70 35 90 00 [17:13:40]wFMCommunicate OK [17:13:40]SAM_PROTO_SignData done [17:13:40]FM_MakeSignedData done [17:13:40]CreateOFDProtocolMessage [17:13:40]wFMCommunicate request_size=4 [17:13:40]MH_SAM_APDU [17:13:40]CAPDU: 80 11 00 00 [17:13:40]Write to MH i2c: E2 08 00 58 02 80 11 00 00 00 00 00 00 D4 [17:13:40]Write i2c OK [17:13:40]MH_I2C_Read... [17:13:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:13:40]Read from MH i2c: E2 [17:13:40]MH_I2C_Read... [17:13:40]Read from MH i2c: E2 17 00 [17:13:40]MH_I2C_Read... [17:13:40]Read from MH i2c: E2 17 00 58 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 2E [17:13: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:13:40]wFMCommunicate OK [17:13:40]CreateOFDProtocolMessage done [17:13:40]OFDSenderStorePacket 57200 [17:13:40]StoreOFDPacket docnum=57200 [17:13: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 48 01 00 00 78 0B 40 01 EF 26 5A 03 01 00 03 00 34 01 1E 04 01 00 01 23 04 86 00 8A 04 0D 00 35 34 34 39 30 30 30 30 32 37 34 37 34 06 04 42 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 75 7A 65 54 65 61 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D1 80 D0 BE D0 BC D0 B0 D1 88 D0 BA D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 5F 00 00 00 F4 03 04 00 C3 58 95 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 70 DF 00 00 35 04 06 00 FC 91 CA 76 6D F0 01 6E 30 5C A3 8A 70 35 [17:13:40]CheckFolder [17:13:40]dirname=/storage/ofd_packets [17:13:40]CheckFolder done [17:13:40]ProducePacketName [17:13:40]name=ofd_packets/00057200 [17:13:40]NVStorageSaveData ofd_packets/00057200 [17:13:40]File name is /storage/ofd_packets/00057200 [17:13:40]Write 358 bytes [17:13:40]NVStorageSaveData done [17:13:40]OFDSenderStorePacket done [17:13:40]KKMCreateOFDPacket done [17:13:40]NVStorageSaveData kkm_last_timestamp [17:13:40]File name is /storage/kkm_last_timestamp [17:13:40]Write 4 bytes [17:13:40]NVStorageSaveData done [17:13:40]ExternCall_PrintAddStr [17:13:40]wPrintStart [17:13:40]Write to MH i2c: 01 00 00 59 02 5B [17:13:40]Write i2c OK [17:13:40]MH_I2C_Read... [17:13:40]Read from MH i2c: 01 [17:13:40]MH_I2C_Read... [17:13:40]Read from MH i2c: 01 07 00 [17:13:40]MH_I2C_Read... [17:13:40]Read from MH i2c: 01 07 00 59 02 00 00 00 00 00 FF 0F 70 [17:13:40]RasterBufferAndPrint [17:13:40]line Счет N : (3)129646 [17:13:40]line ИНН: 02508201610067 [17:13:40]line Контрольно-Кассовый Чек [17:13:40]line ПРОДАЖА [17:13:40]line Товар: 5449000027474 [17:13:40]line Напиток FuzeTea зел чай манго,ромашка 1л [17:13:40]line 1.000 * 107.00 [17:13:40]line = 107.00 [17:13:40]line НДС 12% НСП 1% [17:13:40]line > о реализуемом товаре [17:13:40]line ИТОГО: 107.00 [17:13:40]line НСП 1% : 0.95 [17:13:40]line НДС 12% : 11.36 [17:13:40]line Наличными: 107.00 [17:13:40]line Безнал.: 0.00 [17:13:40]line Место: АЗС № 132 "Партнер Нефть" [17:13:40]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [17:13:40]line СНО: Общий режим [17:13:40]line Чек 95 15.07.2024 17:13 [17:13:40]line Смена: 497 ФФД: 1.0 [17:13:40]line ЗНМ: 0300000132 [17:13:40]line РНМ: 0000000000091208 [17:13:41]line Версия ККМ: 001 [17:13:41]line ФМ: 0000000000874857 [17:13:41]line ФД: 57200 [17:13:41]line ФПД: 277703097216496 [17:13:41]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T171339&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57200&fm=277703097216496&tin=02508201610067®Number=0000000000091208&sum=10700 [17:13:41]line 0 [17:13:41]OFD Sender: Processing packet 57200 [packets to send 38, broken 37] [17:13:41]ProducePacketName [17:13:41]name=ofd_packets/00057200 [17:13:41]OFD Sender: To server: pG, [17:13:41]CommunicateWithHost lk.salyk.kg:30040 [17:13:41]ConnectInit lk.salyk.kg [17:13:41]written 0, free lines is 4095 [17:13:41]Connected sock=10 [17:13:41]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 48 01 00 00 78 0B 40 01 EF 26 5A 03 01 00 03 00 34 01 1E 04 01 00 01 23 04 86 00 8A 04 0D 00 35 34 34 39 30 30 30 30 32 37 34 37 34 06 04 42 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 75 7A 65 54 65 61 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D1 80 D0 BE D0 BC D0 B0 D1 88 D0 BA D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 5F 00 00 00 F4 03 04 00 C3 58 95 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 70 DF 00 00 35 04 06 00 FC 91 CA 76 6D F0 01 6E 30 5C A3 8A 70 35 [17:13: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 15 17 47 00 48 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 70 DF 00 00 F4 03 04 00 11 FF 94 66 B6 04 01 00 00 BF 52 EB 12 27 19 99 D7 [17:13:41]CommunicateWithHost err = 0 [17:13:41]CheckOFDResponse [17:13:41]1017 (14) - 77093643461234 [17:13:41]1041 (16) - 0000000000874857 [17:13:41]1040 (4) - 57200 [17:13:41]1012 (4) - 15.07.2024 10:50 [17:13:41]1206 (1) - 0 [17:13:41]OFD Sender: Remove packet 57200 [17:13:41]ProducePacketName [17:13:41]name=ofd_packets/00057200 [17:13:41]NVStorageDeleteData [17:13:41]Write to MH i2c: 01 00 00 82 02 84 [17:13:41]Write i2c OK [17:13:41]MH_I2C_Read... [17:13:41]Read from MH i2c: 01 [17:13:41]MH_I2C_Read... [17:13:41]Read from MH i2c: 01 07 00 [17:13:41]MH_I2C_Read... [17:13:41]Read from MH i2c: 01 07 00 82 02 00 00 00 00 00 E3 0C 7A [17:13:41]RasterBufferAndPrint [17:13:41]line [17:13:41]line [17:13:41]line [17:13:41]line [17:13:41]line [17:13:41]written 0, free lines is 3305 [17:13:41]MH_Cut [17:13:41]Write to MH i2c: D1 01 00 89 02 01 5D [17:13:41]Write i2c OK [17:13:41]MH_I2C_Read... [17:13:41]Read from MH i2c: D1 [17:13:41]MH_I2C_Read... [17:13:41]Read from MH i2c: D1 01 00 [17:13:41]MH_I2C_Read... [17:13:41]Read from MH i2c: D1 01 00 89 02 00 5C [17:13:41]Write to MH i2c: 01 00 00 8A 02 8C [17:13:41]Write i2c OK [17:13:41]MH_I2C_Read... [17:13:41]OFD Sender: No OFD packet to send [17:13:42]*** Cut start [17:13:42]*** Partial cut [17:13:42]*** CUTSNS_PIN = 1 [17:13:42]*** CUTSNS_PIN = 0 [17:13:42]*** Brake cut motor [17:13:42]Read from MH i2c: 01 [17:13:42]MH_I2C_Read... [17:13:42]*** Stop cut motor [17:13:42]*** Cut end [17:13:42]Read from MH i2c: 01 07 00 [17:13:42]MH_I2C_Read... [17:13:42]Read from MH i2c: 01 07 00 8A 02 00 00 00 00 00 FF 0F A1 [17:13:42]process_action close_receipt done [17:13:42]requested_data is exist [17:13:42]produce_requested_data [17:13:42]requested_item fm.sn is exist - process it [17:13:42]wFMCommunicate request_size=4 [17:13:42]MH_SAM_APDU [17:13:42]CAPDU: 80 11 00 00 [17:13:42]Write to MH i2c: E2 08 00 8B 02 80 11 00 00 00 00 00 00 07 [17:13:42]Write i2c OK [17:13:42]MH_I2C_Read... [17:13:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:13:42]Read from MH i2c: E2 [17:13:42]MH_I2C_Read... [17:13:42]Read from MH i2c: E2 17 00 [17:13:42]MH_I2C_Read... [17:13:42]Read from MH i2c: E2 17 00 8B 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 61 [17:13:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [17:13:42]wFMCommunicate OK [17:13:42]requested_item fd.num is exist - process it [17:13:42]SAM_PROTO_GetFieldsCounters [17:13:42]wFMCommunicate request_size=4 [17:13:42]MH_SAM_APDU [17:13:42]CAPDU: 80 13 00 00 [17:13:42]Write to MH i2c: E2 08 00 8C 02 80 13 00 00 00 00 00 00 0A [17:13:42]Write i2c OK [17:13:42]MH_I2C_Read... [17:13:43]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:13:43]Read from MH i2c: E2 [17:13:43]MH_I2C_Read... [17:13:43]Read from MH i2c: E2 62 00 [17:13:43]MH_I2C_Read... [17:13:43]Read from MH i2c: E2 62 00 8C 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 70 DF 00 00 0E 04 04 00 F1 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 8B [17:13:43]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 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 70 DF 00 00 0E 04 04 00 F1 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 [17:13:43]wFMCommunicate OK [17:13:43]SAM_PROTO_GetFieldsCounters done [17:13:43]requested_item shift.num is exist - process it [17:13:43]requested_item shift.opened is exist - process it [17:13:43]req_shift_opened [17:13:43]FM_GetShiftState [17:13:43]SAM_PROTO_GetShiftState [17:13:43]wFMCommunicate request_size=4 [17:13:43]MH_SAM_APDU [17:13:43]CAPDU: 80 13 01 00 [17:13:43]Write to MH i2c: E2 08 00 8D 02 80 13 01 00 00 00 00 00 0C [17:13:43]Write i2c OK [17:13:43]MH_I2C_Read... [17:13:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:13:43]Read from MH i2c: E2 [17:13:43]MH_I2C_Read... [17:13:43]Read from MH i2c: E2 0E 00 [17:13:43]MH_I2C_Read... [17:13:43]Read from MH i2c: E2 0E 00 8D 02 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 85 [17:13:43]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [17:13:43]wFMCommunicate OK [17:13:43]SAM_PROTO_GetShiftState done [17:13:43]FM_GetShiftState done [17:13:43]req_shift_opened done [17:13:43]requested_item shift.open_date is exist - process it [17:13:43]req_shift_open_date [17:13:43]req_shift_open_date done [17:13:43]requested_item shift.sale.total is exist - process it [17:13:43]SAM_PROTO_GetShiftData [17:13:43]wFMCommunicate request_size=4 [17:13:43]MH_SAM_APDU [17:13:43]CAPDU: 80 13 02 00 [17:13:43]Write to MH i2c: E2 08 00 8E 02 80 13 02 00 00 00 00 00 0E [17:13:43]Write i2c OK [17:13:43]MH_I2C_Read... [17:13:43]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [17:13:43]Read from MH i2c: E2 [17:13:43]MH_I2C_Read... [17:13:43]Read from MH i2c: E2 FD 00 [17:13:43]MH_I2C_Read... [17:13:43]Read from MH i2c: E2 FD 00 8E 02 00 B6 04 AA 04 B2 04 6E 04 04 00 5F 00 00 00 69 04 9B 00 6F 04 04 00 5E 00 00 00 B1 04 03 00 6D 2C 26 70 04 03 00 F0 44 20 72 04 03 00 7D E7 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 DB 0D 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 78 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 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 63 [17:13:43]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 5F 00 00 00 69 04 9B 00 6F 04 04 00 5E 00 00 00 B1 04 03 00 6D 2C 26 70 04 03 00 F0 44 20 72 04 03 00 7D E7 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 DB 0D 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 78 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 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 [17:13:43]wFMCommunicate OK [17:13:43]wFMCommunicate request_size=4 [17:13:43]MH_SAM_APDU [17:13:43]CAPDU: 80 17 00 00 [17:13:43]Write to MH i2c: E2 08 00 8F 02 80 17 00 00 00 00 00 00 11 [17:13:43]Write i2c OK [17:13:43]MH_I2C_Read... [17:13:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:13:43]Read from MH i2c: E2 [17:13:43]MH_I2C_Read... [17:13:43]Read from MH i2c: E2 FD 00 [17:13:43]MH_I2C_Read... [17:13:43]Read from MH i2c: E2 FD 00 8F 02 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 46 [17:13:43]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 [17:13:43]wFMCommunicate OK [17:13:43]wFMCommunicate request_size=4 [17:13:43]MH_SAM_APDU [17:13:43]CAPDU: 80 17 00 00 [17:13:43]Write to MH i2c: E2 08 00 90 02 80 17 00 00 00 00 00 00 12 [17:13:43]Write i2c OK [17:13:43]MH_I2C_Read... [17:13:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:13:44]Read from MH i2c: E2 [17:13:44]MH_I2C_Read... [17:13:44]Read from MH i2c: E2 FD 00 [17:13:44]MH_I2C_Read... [17:13:44]Read from MH i2c: E2 FD 00 90 02 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 D2 [17:13:44]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 [17:13:44]wFMCommunicate OK [17:13:44]wFMCommunicate request_size=4 [17:13:44]MH_SAM_APDU [17:13:44]CAPDU: 80 17 00 00 [17:13:44]Write to MH i2c: E2 08 00 91 02 80 17 00 00 00 00 00 00 13 [17:13:44]Write i2c OK [17:13:44]MH_I2C_Read... [17:13:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:13:44]Read from MH i2c: E2 [17:13:44]MH_I2C_Read... [17:13:44]Read from MH i2c: E2 FD 00 [17:13:44]MH_I2C_Read... [17:13:44]Read from MH i2c: E2 FD 00 91 02 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 82 [17:13:44]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 [17:13:44]wFMCommunicate OK [17:13:44]wFMCommunicate request_size=4 [17:13:44]MH_SAM_APDU [17:13:44]CAPDU: 80 17 00 00 [17:13:44]Write to MH i2c: E2 08 00 92 02 80 17 00 00 00 00 00 00 14 [17:13:44]Write i2c OK [17:13:44]MH_I2C_Read... [17:13:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [17:13:44]Read from MH i2c: E2 [17:13:44]MH_I2C_Read... [17:13:44]Read from MH i2c: E2 D3 00 [17:13:44]MH_I2C_Read... [17:13:44]Read from MH i2c: E2 D3 00 92 02 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 01 [17:13:44]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 [17:13:44]wFMCommunicate OK [17:13:44]SAM_PROTO_GetShiftData done [17:13:44]requested_item shift.sale.total_cash is exist - process it [17:13:44]requested_item shift.sale_refund.total is exist - process it [17:13:44]requested_item shift.sale_refund.total_cash is exist - process it [17:13:44]produce_requested_data done [17:13:44]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57200,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":25017.41,"shift.sale.total_cash":21148.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [17:13:44]process_action_free close_receipt [17:13:44]json_value_free [17:13:44]json_value_free done [17:13:44]process_json_proto returns [17:13:44]Send response to host [17:13:44]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57200,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":25017.41,"shift.sale.total_cash":21148.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [17:13:44]free response buf [17:13:44]execute_script done [17:13:44]execute_script returns [17:13:44]free content buf [17:13:44]Sock 9.Close socket [17:13:44]Sock 9.Thread stoped [17:13:46]OFD Sender: No OFD packet to send [17:13:51]OFD Sender: No OFD packet to send [17:13:56]OFD Sender: No OFD packet to send [17:14:01]OFD Sender: No OFD packet to send [17:14:06]OFD Sender: No OFD packet to send [17:14:11]OFD Sender: No OFD packet to send [17:14:16]OFD Sender: No OFD packet to send [17:14:21]OFD Sender: No OFD packet to send [17:14:26]OFD Sender: No OFD packet to send [17:14:31]OFD Sender: No OFD packet to send [17:14:36]OFD Sender: No OFD packet to send [17:14:41]OFD Sender: No OFD packet to send [17:14:46]OFD Sender: No OFD packet to send [17:14:51]OFD Sender: No OFD packet to send [17:14:56]OFD Sender: No OFD packet to send [17:15:01]OFD Sender: No OFD packet to send [17:15:07]OFD Sender: No OFD packet to send [17:15:12]OFD Sender: No OFD packet to send [17:15:17]OFD Sender: No OFD packet to send [17:15:22]OFD Sender: No OFD packet to send [17:15:27]OFD Sender: No OFD packet to send [17:15:32]OFD Sender: No OFD packet to send [17:15:37]OFD Sender: No OFD packet to send [17:15:42]OFD Sender: No OFD packet to send [17:15:47]OFD Sender: No OFD packet to send [17:15:52]OFD Sender: No OFD packet to send [17:15:57]OFD Sender: No OFD packet to send [17:16:02]OFD Sender: No OFD packet to send [17:16:07]OFD Sender: No OFD packet to send [17:16:12]OFD Sender: No OFD packet to send [17:16:17]OFD Sender: No OFD packet to send [17:16:22]OFD Sender: No OFD packet to send [17:16:27]OFD Sender: No OFD packet to send [17:16:32]OFD Sender: No OFD packet to send [17:16:37]OFD Sender: No OFD packet to send [17:16:42]OFD Sender: No OFD packet to send [17:16:47]OFD Sender: No OFD packet to send [17:16:52]OFD Sender: No OFD packet to send [17:16:57]OFD Sender: No OFD packet to send [17:17:02]OFD Sender: No OFD packet to send [17:17:07]OFD Sender: No OFD packet to send [17:17:12]OFD Sender: No OFD packet to send [17:17:17]OFD Sender: No OFD packet to send [17:17:22]OFD Sender: No OFD packet to send [17:17:27]OFD Sender: No OFD packet to send [17:17:32]OFD Sender: No OFD packet to send [17:17:37]OFD Sender: No OFD packet to send [17:17:42]OFD Sender: No OFD packet to send [17:17:47]OFD Sender: No OFD packet to send [17:17:52]OFD Sender: No OFD packet to send [17:17:57]OFD Sender: No OFD packet to send [17:18:02]OFD Sender: No OFD packet to send [17:18:07]OFD Sender: No OFD packet to send [17:18:12]OFD Sender: No OFD packet to send [17:18:17]OFD Sender: No OFD packet to send [17:18:22]OFD Sender: No OFD packet to send [17:18:27]OFD Sender: No OFD packet to send [17:18:32]OFD Sender: No OFD packet to send [17:18:37]OFD Sender: No OFD packet to send [17:18:42]OFD Sender: No OFD packet to send [17:18:47]OFD Sender: No OFD packet to send [17:18:52]OFD Sender: No OFD packet to send [17:18:57]OFD Sender: No OFD packet to send [17:19:02]OFD Sender: No OFD packet to send [17:19:07]OFD Sender: No OFD packet to send [17:19:12]OFD Sender: No OFD packet to send [17:19:17]OFD Sender: No OFD packet to send [17:19:22]OFD Sender: No OFD packet to send [17:19:27]OFD Sender: No OFD packet to send [17:19:32]OFD Sender: No OFD packet to send [17:19:37]OFD Sender: No OFD packet to send [17:19:42]OFD Sender: No OFD packet to send [17:19:47]OFD Sender: No OFD packet to send [17:19:52]OFD Sender: No OFD packet to send [17:19:57]OFD Sender: No OFD packet to send [17:20:02]OFD Sender: No OFD packet to send [17:20:07]OFD Sender: No OFD packet to send [17:20:12]OFD Sender: No OFD packet to send [17:20:17]OFD Sender: No OFD packet to send [17:20:22]OFD Sender: No OFD packet to send [17:20:27]OFD Sender: No OFD packet to send [17:20:32]OFD Sender: No OFD packet to send [17:20:37]OFD Sender: No OFD packet to send [17:20:42]OFD Sender: No OFD packet to send [17:20:47]OFD Sender: No OFD packet to send [17:20:52]OFD Sender: No OFD packet to send [17:20:57]OFD Sender: No OFD packet to send [17:21:02]OFD Sender: No OFD packet to send [17:21:07]OFD Sender: No OFD packet to send [17:21:12]OFD Sender: No OFD packet to send [17:21:17]OFD Sender: No OFD packet to send [17:21:22]OFD Sender: No OFD packet to send [17:21:27]OFD Sender: No OFD packet to send [17:21:32]OFD Sender: No OFD packet to send [17:21:37]OFD Sender: No OFD packet to send [17:21:42]OFD Sender: No OFD packet to send [17:21:47]OFD Sender: No OFD packet to send [17:21:52]OFD Sender: No OFD packet to send [17:21:57]OFD Sender: No OFD packet to send [17:22:02]OFD Sender: No OFD packet to send [17:22:07]OFD Sender: No OFD packet to send [17:22:12]OFD Sender: No OFD packet to send [17:22:17]OFD Sender: No OFD packet to send [17:22:22]OFD Sender: No OFD packet to send [17:22:27]OFD Sender: No OFD packet to send [17:22:32]OFD Sender: No OFD packet to send [17:22:37]OFD Sender: No OFD packet to send [17:22:42]OFD Sender: No OFD packet to send [17:22:47]OFD Sender: No OFD packet to send [17:22:52]OFD Sender: No OFD packet to send [17:22:57]OFD Sender: No OFD packet to send [17:23:02]OFD Sender: No OFD packet to send [17:23:07]OFD Sender: No OFD packet to send [17:23:12]OFD Sender: No OFD packet to send [17:23:17]OFD Sender: No OFD packet to send [17:23:22]OFD Sender: No OFD packet to send [17:23:27]OFD Sender: No OFD packet to send [17:23:32]OFD Sender: No OFD packet to send [17:23:37]OFD Sender: No OFD packet to send [17:23:42]OFD Sender: No OFD packet to send [17:23:47]OFD Sender: No OFD packet to send [17:23:52]OFD Sender: No OFD packet to send [17:23:57]OFD Sender: No OFD packet to send [17:24:02]OFD Sender: No OFD packet to send [17:24:07]OFD Sender: No OFD packet to send [17:24:12]OFD Sender: No OFD packet to send [17:24:17]OFD Sender: No OFD packet to send [17:24:22]OFD Sender: No OFD packet to send [17:24:27]OFD Sender: No OFD packet to send [17:24:32]OFD Sender: No OFD packet to send [17:24:37]OFD Sender: No OFD packet to send [17:24:42]OFD Sender: No OFD packet to send [17:24:47]OFD Sender: No OFD packet to send [17:24:52]OFD Sender: No OFD packet to send [17:24:57]OFD Sender: No OFD packet to send [17:25:02]OFD Sender: No OFD packet to send [17:25:07]OFD Sender: No OFD packet to send [17:25:12]OFD Sender: No OFD packet to send [17:25:17]OFD Sender: No OFD packet to send [17:25:22]OFD Sender: No OFD packet to send [17:25:27]OFD Sender: No OFD packet to send [17:25:32]OFD Sender: No OFD packet to send [17:25:37]OFD Sender: No OFD packet to send [17:25:42]OFD Sender: No OFD packet to send [17:25:47]OFD Sender: No OFD packet to send [17:25:52]OFD Sender: No OFD packet to send [17:25:57]OFD Sender: No OFD packet to send [17:26:02]OFD Sender: No OFD packet to send [17:26:07]OFD Sender: No OFD packet to send [17:26:12]OFD Sender: No OFD packet to send [17:26:17]OFD Sender: No OFD packet to send [17:26:22]OFD Sender: No OFD packet to send [17:26:27]OFD Sender: No OFD packet to send [17:26:32]OFD Sender: No OFD packet to send [17:26:37]OFD Sender: No OFD packet to send [17:26:42]OFD Sender: No OFD packet to send [17:26:47]OFD Sender: No OFD packet to send [17:26:52]OFD Sender: No OFD packet to send [17:26:57]OFD Sender: No OFD packet to send [17:27:02]OFD Sender: No OFD packet to send [17:27:07]OFD Sender: No OFD packet to send [17:27:12]OFD Sender: No OFD packet to send [17:27:17]OFD Sender: No OFD packet to send [17:27:22]OFD Sender: No OFD packet to send [17:27:27]OFD Sender: No OFD packet to send [17:27:32]OFD Sender: No OFD packet to send [17:27:37]OFD Sender: No OFD packet to send [17:27:42]OFD Sender: No OFD packet to send [17:27:47]OFD Sender: No OFD packet to send [17:27:52]OFD Sender: No OFD packet to send [17:27:57]OFD Sender: No OFD packet to send [17:28:02]OFD Sender: No OFD packet to send [17:28:07]OFD Sender: No OFD packet to send [17:28:12]OFD Sender: No OFD packet to send [17:28:17]OFD Sender: No OFD packet to send [17:28:22]OFD Sender: No OFD packet to send [17:28:27]OFD Sender: No OFD packet to send [17:28:32]OFD Sender: No OFD packet to send [17:28:37]OFD Sender: No OFD packet to send [17:28:42]OFD Sender: No OFD packet to send [17:28:47]OFD Sender: No OFD packet to send [17:28:52]OFD Sender: No OFD packet to send [17:28:57]OFD Sender: No OFD packet to send [17:29:02]OFD Sender: No OFD packet to send [17:29:07]OFD Sender: No OFD packet to send [17:29:12]OFD Sender: No OFD packet to send [17:29:17]OFD Sender: No OFD packet to send [17:29:22]OFD Sender: No OFD packet to send [17:29:27]OFD Sender: No OFD packet to send [17:29:32]OFD Sender: No OFD packet to send [17:29:37]OFD Sender: No OFD packet to send [17:29:42]OFD Sender: No OFD packet to send [17:29:47]OFD Sender: No OFD packet to send [17:29:52]OFD Sender: No OFD packet to send [17:29:57]OFD Sender: No OFD packet to send [17:30:02]OFD Sender: No OFD packet to send [17:30:07]OFD Sender: No OFD packet to send [17:30:12]OFD Sender: No OFD packet to send [17:30:17]OFD Sender: No OFD packet to send [17:30:22]OFD Sender: No OFD packet to send [17:30:27]OFD Sender: No OFD packet to send [17:30:32]OFD Sender: No OFD packet to send [17:30:37]OFD Sender: No OFD packet to send [17:30:42]OFD Sender: No OFD packet to send [17:30:47]OFD Sender: No OFD packet to send [17:30:52]OFD Sender: No OFD packet to send [17:30:57]OFD Sender: No OFD packet to send [17:31:02]OFD Sender: No OFD packet to send [17:31:07]OFD Sender: No OFD packet to send [17:31:12]OFD Sender: No OFD packet to send [17:31:17]OFD Sender: No OFD packet to send [17:31:22]OFD Sender: No OFD packet to send [17:31:27]OFD Sender: No OFD packet to send [17:31:32]OFD Sender: No OFD packet to send [17:31:37]OFD Sender: No OFD packet to send [17:31:42]OFD Sender: No OFD packet to send [17:31:47]OFD Sender: No OFD packet to send [17:31:52]OFD Sender: No OFD packet to send [17:31:57]OFD Sender: No OFD packet to send [17:32:02]OFD Sender: No OFD packet to send [17:32:07]OFD Sender: No OFD packet to send [17:32:12]OFD Sender: No OFD packet to send [17:32:17]OFD Sender: No OFD packet to send [17:32:22]OFD Sender: No OFD packet to send [17:32:27]OFD Sender: No OFD packet to send [17:32:32]OFD Sender: No OFD packet to send [17:32:37]OFD Sender: No OFD packet to send [17:32:42]OFD Sender: No OFD packet to send [17:32:47]OFD Sender: No OFD packet to send [17:32:52]OFD Sender: No OFD packet to send [17:32:57]OFD Sender: No OFD packet to send [17:33:02]OFD Sender: No OFD packet to send [17:33:07]OFD Sender: No OFD packet to send [17:33:12]OFD Sender: No OFD packet to send [17:33:17]OFD Sender: No OFD packet to send [17:33:22]OFD Sender: No OFD packet to send [17:33:27]OFD Sender: No OFD packet to send [17:33:32]OFD Sender: No OFD packet to send [17:33:37]OFD Sender: No OFD packet to send [17:33:42]OFD Sender: No OFD packet to send [17:33:47]OFD Sender: No OFD packet to send [17:33:52]OFD Sender: No OFD packet to send [17:33:57]OFD Sender: No OFD packet to send [17:34:02]OFD Sender: No OFD packet to send [17:34:07]OFD Sender: No OFD packet to send [17:34:12]OFD Sender: No OFD packet to send [17:34:18]OFD Sender: No OFD packet to send [17:34:23]OFD Sender: No OFD packet to send [17:34:28]OFD Sender: No OFD packet to send [17:34:33]OFD Sender: No OFD packet to send [17:34:38]OFD Sender: No OFD packet to send [17:34:43]OFD Sender: No OFD packet to send [17:34:48]OFD Sender: No OFD packet to send [17:34:53]OFD Sender: No OFD packet to send [17:34:58]OFD Sender: No OFD packet to send [17:35:03]OFD Sender: No OFD packet to send [17:35:08]OFD Sender: No OFD packet to send [17:35:13]OFD Sender: No OFD packet to send [17:35:18]OFD Sender: No OFD packet to send [17:35:23]OFD Sender: No OFD packet to send [17:35:28]OFD Sender: No OFD packet to send [17:35:33]OFD Sender: No OFD packet to send [17:35:38]OFD Sender: No OFD packet to send [17:35:43]OFD Sender: No OFD packet to send [17:35:48]OFD Sender: No OFD packet to send [17:35:53]OFD Sender: No OFD packet to send [17:35:58]OFD Sender: No OFD packet to send [17:36:03]OFD Sender: No OFD packet to send [17:36:08]OFD Sender: No OFD packet to send [17:36:13]OFD Sender: No OFD packet to send [17:36:18]OFD Sender: No OFD packet to send [17:36:23]OFD Sender: No OFD packet to send [17:36:28]OFD Sender: No OFD packet to send [17:36:33]OFD Sender: No OFD packet to send [17:36:38]OFD Sender: No OFD packet to send [17:36:43]OFD Sender: No OFD packet to send [17:36:48]OFD Sender: No OFD packet to send [17:36:53]OFD Sender: No OFD packet to send [17:36:58]OFD Sender: No OFD packet to send [17:37:03]OFD Sender: No OFD packet to send [17:37:08]OFD Sender: No OFD packet to send [17:37:13]OFD Sender: No OFD packet to send [17:37:18]OFD Sender: No OFD packet to send [17:37:23]OFD Sender: No OFD packet to send [17:37:28]OFD Sender: No OFD packet to send [17:37:33]OFD Sender: No OFD packet to send [17:37:38]OFD Sender: No OFD packet to send [17:37:43]OFD Sender: No OFD packet to send [17:37:48]OFD Sender: No OFD packet to send [17:37:53]OFD Sender: No OFD packet to send [17:37:58]OFD Sender: No OFD packet to send [17:38:03]OFD Sender: No OFD packet to send [17:38:08]OFD Sender: No OFD packet to send [17:38:13]OFD Sender: No OFD packet to send [17:38:18]OFD Sender: No OFD packet to send [17:38:23]OFD Sender: No OFD packet to send [17:38:28]OFD Sender: No OFD packet to send [17:38:33]OFD Sender: No OFD packet to send [17:38:38]OFD Sender: No OFD packet to send [17:38:43]OFD Sender: No OFD packet to send [17:38:48]OFD Sender: No OFD packet to send [17:38:53]OFD Sender: No OFD packet to send [17:38:58]OFD Sender: No OFD packet to send [17:39:03]OFD Sender: No OFD packet to send [17:39:08]OFD Sender: No OFD packet to send [17:39:13]OFD Sender: No OFD packet to send [17:39:18]OFD Sender: No OFD packet to send [17:39:23]OFD Sender: No OFD packet to send [17:39:28]OFD Sender: No OFD packet to send [17:39:33]OFD Sender: No OFD packet to send [17:39:38]OFD Sender: No OFD packet to send [17:39:43]OFD Sender: No OFD packet to send [17:39:48]OFD Sender: No OFD packet to send [17:39:53]OFD Sender: No OFD packet to send [17:39:58]OFD Sender: No OFD packet to send [17:40:03]OFD Sender: No OFD packet to send [17:40:08]OFD Sender: No OFD packet to send [17:40:13]OFD Sender: No OFD packet to send [17:40:18]OFD Sender: No OFD packet to send [17:40:23]OFD Sender: No OFD packet to send [17:40:28]OFD Sender: No OFD packet to send [17:40:33]OFD Sender: No OFD packet to send [17:40:38]OFD Sender: No OFD packet to send [17:40:43]OFD Sender: No OFD packet to send [17:40:48]OFD Sender: No OFD packet to send [17:40:53]OFD Sender: No OFD packet to send [17:40:58]OFD Sender: No OFD packet to send [17:41:03]OFD Sender: No OFD packet to send [17:41:08]OFD Sender: No OFD packet to send [17:41:13]OFD Sender: No OFD packet to send [17:41:18]OFD Sender: No OFD packet to send [17:41:23]OFD Sender: No OFD packet to send [17:41:28]OFD Sender: No OFD packet to send [17:41:33]OFD Sender: No OFD packet to send [17:41:38]OFD Sender: No OFD packet to send [17:41:43]OFD Sender: No OFD packet to send [17:41:48]OFD Sender: No OFD packet to send [17:41:53]OFD Sender: No OFD packet to send [17:41:58]OFD Sender: No OFD packet to send [17:42:03]OFD Sender: No OFD packet to send [17:42:08]OFD Sender: No OFD packet to send [17:42:13]OFD Sender: No OFD packet to send [17:42:18]OFD Sender: No OFD packet to send [17:42:23]OFD Sender: No OFD packet to send [17:42:28]OFD Sender: No OFD packet to send [17:42:33]OFD Sender: No OFD packet to send [17:42:38]OFD Sender: No OFD packet to send [17:42:43]OFD Sender: No OFD packet to send [17:42:48]OFD Sender: No OFD packet to send [17:42:53]OFD Sender: No OFD packet to send [17:42:58]OFD Sender: No OFD packet to send [17:43:03]OFD Sender: No OFD packet to send [17:43:08]OFD Sender: No OFD packet to send [17:43:13]OFD Sender: No OFD packet to send [17:43:18]OFD Sender: No OFD packet to send [17:43:23]OFD Sender: No OFD packet to send [17:43:28]OFD Sender: No OFD packet to send [17:43:33]OFD Sender: No OFD packet to send [17:43:38]OFD Sender: No OFD packet to send [17:43:43]OFD Sender: No OFD packet to send [17:43:48]OFD Sender: No OFD packet to send [17:43:53]OFD Sender: No OFD packet to send [17:43:58]OFD Sender: No OFD packet to send [17:44:03]OFD Sender: No OFD packet to send [17:44:08]OFD Sender: No OFD packet to send [17:44:13]OFD Sender: No OFD packet to send [17:44:18]OFD Sender: No OFD packet to send [17:44:23]OFD Sender: No OFD packet to send [17:44:28]OFD Sender: No OFD packet to send [17:44:33]OFD Sender: No OFD packet to send [17:44:38]OFD Sender: No OFD packet to send [17:44:43]OFD Sender: No OFD packet to send [17:44:48]OFD Sender: No OFD packet to send [17:44:53]OFD Sender: No OFD packet to send [17:44:58]OFD Sender: No OFD packet to send [17:45:03]OFD Sender: No OFD packet to send [17:45:08]OFD Sender: No OFD packet to send [17:45:13]OFD Sender: No OFD packet to send [17:45:18]OFD Sender: No OFD packet to send [17:45:23]OFD Sender: No OFD packet to send [17:45:28]OFD Sender: No OFD packet to send [17:45:33]OFD Sender: No OFD packet to send [17:45:38]OFD Sender: No OFD packet to send [17:45:43]OFD Sender: No OFD packet to send [17:45:48]OFD Sender: No OFD packet to send [17:45:53]OFD Sender: No OFD packet to send [17:45:58]OFD Sender: No OFD packet to send [17:46:03]OFD Sender: No OFD packet to send [17:46:08]OFD Sender: No OFD packet to send [17:46:13]OFD Sender: No OFD packet to send [17:46:18]OFD Sender: No OFD packet to send [17:46:23]OFD Sender: No OFD packet to send [17:46:28]OFD Sender: No OFD packet to send [17:46:33]OFD Sender: No OFD packet to send [17:46:38]OFD Sender: No OFD packet to send [17:46:43]OFD Sender: No OFD packet to send [17:46:48]OFD Sender: No OFD packet to send [17:46:53]OFD Sender: No OFD packet to send [17:46:58]OFD Sender: No OFD packet to send [17:47:03]OFD Sender: No OFD packet to send [17:47:08]OFD Sender: No OFD packet to send [17:47:13]OFD Sender: No OFD packet to send [17:47:18]OFD Sender: No OFD packet to send [17:47:23]OFD Sender: No OFD packet to send [17:47:28]OFD Sender: No OFD packet to send [17:47:33]OFD Sender: No OFD packet to send [17:47:38]OFD Sender: No OFD packet to send [17:47:43]OFD Sender: No OFD packet to send [17:47:48]OFD Sender: No OFD packet to send [17:47:53]OFD Sender: No OFD packet to send [17:47:58]OFD Sender: No OFD packet to send [17:48:03]OFD Sender: No OFD packet to send [17:48:08]OFD Sender: No OFD packet to send [17:48:13]OFD Sender: No OFD packet to send [17:48:18]OFD Sender: No OFD packet to send [17:48:23]OFD Sender: No OFD packet to send [17:48:28]OFD Sender: No OFD packet to send [17:48:33]OFD Sender: No OFD packet to send [17:48:38]OFD Sender: No OFD packet to send [17:48:43]OFD Sender: No OFD packet to send [17:48:48]OFD Sender: No OFD packet to send [17:48:53]OFD Sender: No OFD packet to send [17:48:58]OFD Sender: No OFD packet to send [17:49:03]OFD Sender: No OFD packet to send [17:49:08]OFD Sender: No OFD packet to send [17:49:13]OFD Sender: No OFD packet to send [17:49:18]OFD Sender: No OFD packet to send [17:49:23]OFD Sender: No OFD packet to send [17:49:28]OFD Sender: No OFD packet to send [17:49:33]OFD Sender: No OFD packet to send [17:49:38]OFD Sender: No OFD packet to send [17:49:43]OFD Sender: No OFD packet to send [17:49:48]OFD Sender: No OFD packet to send [17:49:53]OFD Sender: No OFD packet to send [17:49:58]OFD Sender: No OFD packet to send [17:50:03]OFD Sender: No OFD packet to send [17:50:08]OFD Sender: No OFD packet to send [17:50:13]OFD Sender: No OFD packet to send [17:50:18]OFD Sender: No OFD packet to send [17:50:23]OFD Sender: No OFD packet to send [17:50:28]OFD Sender: No OFD packet to send [17:50:33]OFD Sender: No OFD packet to send [17:50:38]OFD Sender: No OFD packet to send [17:50:43]OFD Sender: No OFD packet to send [17:50:48]OFD Sender: No OFD packet to send [17:50:53]OFD Sender: No OFD packet to send [17:50:58]OFD Sender: No OFD packet to send [17:51:03]OFD Sender: No OFD packet to send [17:51:08]OFD Sender: No OFD packet to send [17:51:13]OFD Sender: No OFD packet to send [17:51:18]OFD Sender: No OFD packet to send [17:51:23]OFD Sender: No OFD packet to send [17:51:28]OFD Sender: No OFD packet to send [17:51:33]OFD Sender: No OFD packet to send [17:51:38]OFD Sender: No OFD packet to send [17:51:43]OFD Sender: No OFD packet to send [17:51:48]OFD Sender: No OFD packet to send [17:51:53]OFD Sender: No OFD packet to send [17:51:58]OFD Sender: No OFD packet to send [17:52:03]OFD Sender: No OFD packet to send [17:52:08]OFD Sender: No OFD packet to send [17:52:13]OFD Sender: No OFD packet to send [17:52:18]OFD Sender: No OFD packet to send [17:52:23]OFD Sender: No OFD packet to send [17:52:28]OFD Sender: No OFD packet to send [17:52:33]OFD Sender: No OFD packet to send [17:52:38]OFD Sender: No OFD packet to send [17:52:43]OFD Sender: No OFD packet to send [17:52:48]OFD Sender: No OFD packet to send [17:52:53]OFD Sender: No OFD packet to send [17:52:58]OFD Sender: No OFD packet to send [17:53:03]OFD Sender: No OFD packet to send [17:53:08]OFD Sender: No OFD packet to send [17:53:13]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:19]OFD Sender: No OFD packet to send [18:00:24]OFD Sender: No OFD packet to send [18:00:29]OFD Sender: No OFD packet to send [18:00:34]OFD Sender: No OFD packet to send [18:00:39]OFD Sender: No OFD packet to send [18:00:44]OFD Sender: No OFD packet to send [18:00:49]OFD Sender: No OFD packet to send [18:00:54]OFD Sender: No OFD packet to send [18:00:59]OFD Sender: No OFD packet to send [18:01:04]OFD Sender: No OFD packet to send [18:01:09]OFD Sender: No OFD packet to send [18:01:14]OFD Sender: No OFD packet to send [18:01:19]OFD Sender: No OFD packet to send [18:01:24]OFD Sender: No OFD packet to send [18:01:29]OFD Sender: No OFD packet to send [18:01:34]OFD Sender: No OFD packet to send [18:01:39]OFD Sender: No OFD packet to send [18:01:44]OFD Sender: No OFD packet to send [18:01:49]OFD Sender: No OFD packet to send [18:01:54]OFD Sender: No OFD packet to send [18:01:59]OFD Sender: No OFD packet to send [18:02:04]OFD Sender: No OFD packet to send [18:02:09]OFD Sender: No OFD packet to send [18:02:14]OFD Sender: No OFD packet to send [18:02:19]OFD Sender: No OFD packet to send [18:02:24]OFD Sender: No OFD packet to send [18:02:29]OFD Sender: No OFD packet to send [18:02:34]OFD Sender: No OFD packet to send [18:02:39]OFD Sender: No OFD packet to send [18:02:44]OFD Sender: No OFD packet to send [18:02:49]OFD Sender: No OFD packet to send [18:02:54]OFD Sender: No OFD packet to send [18:02:59]OFD Sender: No OFD packet to send [18:03:04]OFD Sender: No OFD packet to send [18:03:09]OFD Sender: No OFD packet to send [18:03:14]OFD Sender: No OFD packet to send [18:03:19]OFD Sender: No OFD packet to send [18:03:24]OFD Sender: No OFD packet to send [18:03:29]OFD Sender: No OFD packet to send [18:03:34]OFD Sender: No OFD packet to send [18:03:39]OFD Sender: No OFD packet to send [18:03:44]OFD Sender: No OFD packet to send [18:03:49]OFD Sender: No OFD packet to send [18:03:54]OFD Sender: No OFD packet to send [18:03:59]OFD Sender: No OFD packet to send [18:04:04]OFD Sender: No OFD packet to send [18:04:09]OFD Sender: No OFD packet to send [18:04:14]OFD Sender: No OFD packet to send [18:04:19]OFD Sender: No OFD packet to send [18:04:24]OFD Sender: No OFD packet to send [18:04:29]OFD Sender: No OFD packet to send [18:04:34]OFD Sender: No OFD packet to send [18:04:39]OFD Sender: No OFD packet to send [18:04:44]OFD Sender: No OFD packet to send [18:04:49]OFD Sender: No OFD packet to send [18:04:54]OFD Sender: No OFD packet to send [18:04:59]OFD Sender: No OFD packet to send [18:05:04]OFD Sender: No OFD packet to send [18:05:09]OFD Sender: No OFD packet to send [18:05:14]OFD Sender: No OFD packet to send [18:05:19]OFD Sender: No OFD packet to send [18:05:24]OFD Sender: No OFD packet to send [18:05:29]OFD Sender: No OFD packet to send [18:05:34]OFD Sender: No OFD packet to send [18:05:39]OFD Sender: No OFD packet to send [18:05:44]OFD Sender: No OFD packet to send [18:05:49]OFD Sender: No OFD packet to send [18:05:54]OFD Sender: No OFD packet to send [18:05:59]OFD Sender: No OFD packet to send [18:06:04]OFD Sender: No OFD packet to send [18:06:09]OFD Sender: No OFD packet to send [18:06:14]OFD Sender: No OFD packet to send [18:06:19]OFD Sender: No OFD packet to send [18:06:24]OFD Sender: No OFD packet to send [18:06:29]OFD Sender: No OFD packet to send [18:06:34]OFD Sender: No OFD packet to send [18:06:39]OFD Sender: No OFD packet to send [18:06:44]OFD Sender: No OFD packet to send [18:06:49]OFD Sender: No OFD packet to send [18:06:54]OFD Sender: No OFD packet to send [18:06:59]OFD Sender: No OFD packet to send [18:07:04]OFD Sender: No OFD packet to send [18:07:09]OFD Sender: No OFD packet to send [18:07:14]OFD Sender: No OFD packet to send [18:07:19]OFD Sender: No OFD packet to send [18:07:24]OFD Sender: No OFD packet to send [18:07:29]OFD Sender: No OFD packet to send [18:07:34]OFD Sender: No OFD packet to send [18:07:39]OFD Sender: No OFD packet to send [18:07:44]OFD Sender: No OFD packet to send [18:07:49]OFD Sender: No OFD packet to send [18:07:54]OFD Sender: No OFD packet to send [18:07:59]OFD Sender: No OFD packet to send [18:08:04]OFD Sender: No OFD packet to send [18:08:09]OFD Sender: No OFD packet to send [18:08:14]OFD Sender: No OFD packet to send [18:08:19]OFD Sender: No OFD packet to send [18:08:24]OFD Sender: No OFD packet to send [18:08:29]OFD Sender: No OFD packet to send [18:08:34]OFD Sender: No OFD packet to send [18:08:39]OFD Sender: No OFD packet to send [18:08:44]OFD Sender: No OFD packet to send [18:08:49]OFD Sender: No OFD packet to send [18:08:54]OFD Sender: No OFD packet to send [18:08:59]OFD Sender: No OFD packet to send [18:09:04]OFD Sender: No OFD packet to send [18:09:09]OFD Sender: No OFD packet to send [18:09:14]OFD Sender: No OFD packet to send [18:09:19]OFD Sender: No OFD packet to send [18:09:24]OFD Sender: No OFD packet to send [18:09:29]OFD Sender: No OFD packet to send [18:09:34]OFD Sender: No OFD packet to send [18:09:39]OFD Sender: No OFD packet to send [18:09:44]OFD Sender: No OFD packet to send [18:09:49]OFD Sender: No OFD packet to send [18:09:54]OFD Sender: No OFD packet to send [18:09:59]OFD Sender: No OFD packet to send [18:10:04]OFD Sender: No OFD packet to send [18:10:09]OFD Sender: No OFD packet to send [18:10:14]OFD Sender: No OFD packet to send [18:10:19]OFD Sender: No OFD packet to send [18:10:24]OFD Sender: No OFD packet to send [18:10:29]OFD Sender: No OFD packet to send [18:10:34]OFD Sender: No OFD packet to send [18:10:39]OFD Sender: No OFD packet to send [18:10:44]OFD Sender: No OFD packet to send [18:10:49]OFD Sender: No OFD packet to send [18:10:54]OFD Sender: No OFD packet to send [18:10:59]OFD Sender: No OFD packet to send [18:11:04]OFD Sender: No OFD packet to send [18:11:09]OFD Sender: No OFD packet to send [18:11:14]OFD Sender: No OFD packet to send [18:11:19]OFD Sender: No OFD packet to send [18:11:24]OFD Sender: No OFD packet to send [18:11:29]OFD Sender: No OFD packet to send [18:11:34]OFD Sender: No OFD packet to send [18:11:39]OFD Sender: No OFD packet to send [18:11:44]OFD Sender: No OFD packet to send [18:11:49]OFD Sender: No OFD packet to send [18:11:54]OFD Sender: No OFD packet to send [18:11:59]OFD Sender: No OFD packet to send [18:12:04]OFD Sender: No OFD packet to send [18:12:09]OFD Sender: No OFD packet to send [18:12:15]OFD Sender: No OFD packet to send [18:12:20]OFD Sender: No OFD packet to send [18:12:25]OFD Sender: No OFD packet to send [18:12:30]OFD Sender: No OFD packet to send [18:12:35]OFD Sender: No OFD packet to send [18:12:40]OFD Sender: No OFD packet to send [18:12:45]OFD Sender: No OFD packet to send [18:12:50]OFD Sender: No OFD packet to send [18:12:55]OFD Sender: No OFD packet to send [18:13:00]OFD Sender: No OFD packet to send [18:13:05]OFD Sender: No OFD packet to send [18:13:10]OFD Sender: No OFD packet to send [18:13:15]OFD Sender: No OFD packet to send [18:13:20]OFD Sender: No OFD packet to send [18:13:25]OFD Sender: No OFD packet to send [18:13:30]OFD Sender: No OFD packet to send [18:13:35]OFD Sender: No OFD packet to send [18:13:40]OFD Sender: No OFD packet to send [18:13:45]OFD Sender: No OFD packet to send [18:13:50]OFD Sender: No OFD packet to send [18:13:55]OFD Sender: No OFD packet to send [18:14:00]OFD Sender: No OFD packet to send [18:14:05]OFD Sender: No OFD packet to send [18:14:10]OFD Sender: No OFD packet to send [18:14:15]OFD Sender: No OFD packet to send [18:14:20]OFD Sender: No OFD packet to send [18:14:25]OFD Sender: No OFD packet to send [18:14:30]OFD Sender: No OFD packet to send [18:14:35]OFD Sender: No OFD packet to send [18:14:40]OFD Sender: No OFD packet to send [18:14:45]OFD Sender: No OFD packet to send [18:14:50]OFD Sender: No OFD packet to send [18:14:55]OFD Sender: No OFD packet to send [18:15:00]OFD Sender: No OFD packet to send [18:15:05]OFD Sender: No OFD packet to send [18:15:10]OFD Sender: No OFD packet to send [18:15:15]OFD Sender: No OFD packet to send [18:15:20]OFD Sender: No OFD packet to send [18:15:25]OFD Sender: No OFD packet to send [18:15:30]OFD Sender: No OFD packet to send [18:15:35]OFD Sender: No OFD packet to send [18:15:40]OFD Sender: No OFD packet to send [18:15:45]OFD Sender: No OFD packet to send [18:15:50]OFD Sender: No OFD packet to send [18:15:55]OFD Sender: No OFD packet to send [18:16:00]OFD Sender: No OFD packet to send [18:16:05]OFD Sender: No OFD packet to send [18:16:10]OFD Sender: No OFD packet to send [18:16:15]OFD Sender: No OFD packet to send [18:16:20]OFD Sender: No OFD packet to send [18:16:25]OFD Sender: No OFD packet to send [18:16:30]OFD Sender: No OFD packet to send [18:16:35]OFD Sender: No OFD packet to send [18:16:40]OFD Sender: No OFD packet to send [18:16:45]OFD Sender: No OFD packet to send [18:16:50]OFD Sender: No OFD packet to send [18:16:55]OFD Sender: No OFD packet to send [18:17:00]OFD Sender: No OFD packet to send [18:17:05]OFD Sender: No OFD packet to send [18:17:10]OFD Sender: No OFD packet to send [18:17:15]OFD Sender: No OFD packet to send [18:17:20]OFD Sender: No OFD packet to send [18:17:25]OFD Sender: No OFD packet to send [18:17:30]OFD Sender: No OFD packet to send [18:17:35]OFD Sender: No OFD packet to send [18:17:39]accept exits with 7 [18:17:39]New connection [18:17:39]New thread 3067014500 created [18:17:39]Thread 3066871140 joined [18:17:39]Waiting for new connection... [18:17:39] Sock 7.Parse request [18:17:39]Sock 7.Check first char [18:17:39]Sock 7.First char is OK [18:17:39]request: POST /json_proto HTTP/1.0 [18:17:39]Method: POST [18:17:39]URL: /json_proto [18:17:39]Method is POST - this is cgi request [18:17:39]url: /json_proto [18:17:39]query_string will be loaded in cgi processing [18:17:39]execute_cgi json_proto POST (null) [18:17:39]execute_cgi path=json_proto method=POST [18:17:39]POST find Content-Length [18:17:39]Host: 172.17.39.4:8080 [18:17:39]Content-Length: 730 [18:17:39]Content-Type: application/json [18:17:39] [18:17:39]POST finish read [18:17:39]Found Content-Length = 730 [18:17:39]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129647", "tax_sys" : 0, "items" : [ { "code": "48741224", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Super Slims Blue", "price" : 135.00, "quantity" : 1.000, "sum" : 135.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 135.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [18:17:39]execute_script... [18:17: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)129647", "tax_sys" : 0, "items" : [ { "code": "48741224", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Super Slims Blue", "price" : 135.00, "quantity" : 1.000, "sum" : 135.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 135.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [18:17:39]POST & json_proto [18:17:39]process_json_proto [18:17:39]json parsed OK: [18:17:39]protocol is kg_v1.0 [18:17:39]action value=close_receipt [18:17:39]process_action close_receipt [18:17:39]cmd_close_receipt [18:17:39]MH_GetDate [18:17:39]Write to MH i2c: F0 00 00 93 02 84 [18:17:39]Write i2c OK [18:17:39]MH_I2C_Read... [18:17:39]Read from MH i2c: F0 [18:17:39]MH_I2C_Read... [18:17:39]Read from MH i2c: F0 09 00 [18:17:39]MH_I2C_Read... [18:17:39]Read from MH i2c: F0 09 00 93 02 00 C4 67 95 66 2D 25 5D 64 C6 [18:17:39]GetLastDocTimeStamp 1721063619 [18:17:39]current date 1721067460 [18:17:39]FM_GetShiftState [18:17:39]SAM_PROTO_GetShiftState [18:17:39]wFMCommunicate request_size=4 [18:17:39]MH_SAM_APDU [18:17:39]CAPDU: 80 13 01 00 [18:17:39]Write to MH i2c: E2 08 00 94 02 80 13 01 00 00 00 00 00 13 [18:17:39]Write i2c OK [18:17:39]MH_I2C_Read... [18:17:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:17:40]Read from MH i2c: E2 [18:17:40]MH_I2C_Read... [18:17:40]Read from MH i2c: E2 0E 00 [18:17:40]MH_I2C_Read... [18:17:40]Read from MH i2c: E2 0E 00 94 02 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 8C [18:17:40]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [18:17:40]wFMCommunicate OK [18:17:40]SAM_PROTO_GetShiftState done [18:17:40]FM_GetShiftState done [18:17:40]opened in 1721003525 [18:17:40]opened+sec_in_day 1721089925 [18:17:40]quantity*price = 13500 [18:17:40]sum+1 = 13501 [18:17:40]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 135.00 НСП 1% : 1.19 НДС 12% : 14.34 Наличными: 135.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 96 15.07.2024 18:17 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57201 ФПД: 232177645741884 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T181740&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57201&fm=232177645741884&tin=02508201610067®Number=0000000000091208&sum=13500 0 [18:17:41]StoreToDocumentArchive [18:17:41]shift 497 fd 57201 [18:17:41]save to /storage/0497/doc_00057201 [18:17:41]save last doc name /storage/0497/doc_00057201 to /storage/kkm_last_doc_name [18:17:41]save OK [18:17:41]Clear old archive folders... [18:17:41]ProcessDocumentItem done err = 0, tmpTLVsize=278 [18:17:41]tlvbuf is 0083F5C0 [18:17:41]SAM_PROTO_ClearQueue [18:17:41]wFMCommunicate request_size=4 [18:17:41]MH_SAM_APDU [18:17:41]CAPDU: 80 09 00 00 [18:17:41]Write to MH i2c: E2 08 00 A1 02 80 09 00 00 00 00 00 00 15 [18:17:41]Write i2c OK [18:17:41]MH_I2C_Read... [18:17:41]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:17:41]Read from MH i2c: E2 [18:17:41]MH_I2C_Read... [18:17:41]Read from MH i2c: E2 03 00 [18:17:41]MH_I2C_Read... [18:17:41]Read from MH i2c: E2 03 00 A1 02 00 90 00 17 [18:17:41]RAPDU: 90 00 [18:17:41]wFMCommunicate OK [18:17:41]SAM_PROTO_ClearQueue done [18:17:41]KKMCreateOFDPacket [18:17:41]OFDProtocolAddRootSTLVToBuf [18:17:41]FM_MakeSignedData [18:17:41]FM_MakeSignedData [18:17:41]SAM_PROTO_SignData [18:17:41]wFMCommunicate request_size=4 [18:17:41]MH_SAM_APDU [18:17:41]CAPDU: 80 0D 01 02 [18:17:41]Write to MH i2c: E2 08 00 A2 02 80 0D 01 02 00 00 00 00 1D [18:17:41]Write i2c OK [18:17:41]MH_I2C_Read... [18:17:41]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:17:41]Read from MH i2c: E2 [18:17:41]MH_I2C_Read... [18:17:41]Read from MH i2c: E2 03 00 [18:17:41]MH_I2C_Read... [18:17:41]Read from MH i2c: E2 03 00 A2 02 00 90 00 18 [18:17:41]RAPDU: 90 00 [18:17:41]wFMCommunicate OK [18:17:41]wFMCommunicate request_size=255 [18:17:41]MH_SAM_APDU [18:17:41]CAPDU: 80 0D 02 02 FA 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 34 38 37 34 31 32 32 34 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 60 00 00 00 F4 03 04 00 C4 67 95 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 [18:17:41]Write to MH i2c: E2 02 01 A3 02 80 0D 02 02 FA 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 34 38 37 34 31 32 32 34 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 60 00 00 00 F4 03 04 00 C4 67 95 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 00 00 5A [18:17:41]Write i2c OK [18:17:41]MH_I2C_Read... [18:17:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:17:41]Read from MH i2c: E2 [18:17:41]MH_I2C_Read... [18:17:41]Read from MH i2c: E2 03 00 [18:17:41]MH_I2C_Read... [18:17:41]Read from MH i2c: E2 03 00 A3 02 00 90 00 19 [18:17:41]RAPDU: 90 00 [18:17:41]wFMCommunicate OK [18:17:41]wFMCommunicate request_size=37 [18:17:41]MH_SAM_APDU [18:17:41]CAPDU: 80 0D 02 02 20 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 71 DF 00 00 35 04 06 00 D3 2A 12 19 67 3C [18:17:41]Write to MH i2c: E2 28 00 A4 02 80 0D 02 02 20 00 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 71 DF 00 00 35 04 06 00 D3 2A 12 19 67 3C 00 00 99 [18:17:41]Write i2c OK [18:17:41]MH_I2C_Read... [18:17:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:17:41]Read from MH i2c: E2 [18:17:41]MH_I2C_Read... [18:17:41]Read from MH i2c: E2 03 00 [18:17:41]MH_I2C_Read... [18:17:41]Read from MH i2c: E2 03 00 A4 02 00 90 00 1A [18:17:41]RAPDU: 90 00 [18:17:41]wFMCommunicate OK [18:17:41]wFMCommunicate request_size=4 [18:17:41]MH_SAM_APDU [18:17:41]CAPDU: 80 0D 03 02 [18:17:41]Write to MH i2c: E2 08 00 A5 02 80 0D 03 02 00 00 00 00 22 [18:17:41]Write i2c OK [18:17:41]MH_I2C_Read... [18:17:41]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:17:41]Read from MH i2c: E2 [18:17:41]MH_I2C_Read... [18:17:41]Read from MH i2c: E2 0B 00 [18:17:41]MH_I2C_Read... [18:17:41]Read from MH i2c: E2 0B 00 A5 02 00 BD FC 8C 89 E8 C4 18 C2 90 00 77 [18:17:41]RAPDU: BD FC 8C 89 E8 C4 18 C2 90 00 [18:17:41]wFMCommunicate OK [18:17:41]SAM_PROTO_SignData done [18:17:41]FM_MakeSignedData done [18:17:41]CreateOFDProtocolMessage [18:17:41]wFMCommunicate request_size=4 [18:17:41]MH_SAM_APDU [18:17:41]CAPDU: 80 11 00 00 [18:17:41]Write to MH i2c: E2 08 00 A6 02 80 11 00 00 00 00 00 00 22 [18:17:41]Write i2c OK [18:17:41]MH_I2C_Read... [18:17:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:17:41]Read from MH i2c: E2 [18:17:41]MH_I2C_Read... [18:17:41]Read from MH i2c: E2 17 00 [18:17:41]MH_I2C_Read... [18:17:41]Read from MH i2c: E2 17 00 A6 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 7C [18: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 [18:17:41]wFMCommunicate OK [18:17:41]CreateOFDProtocolMessage done [18:17:41]OFDSenderStorePacket 57201 [18:17:41]StoreOFDPacket docnum=57201 [18:17:41]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 2A 01 00 00 82 65 22 01 63 ED 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 34 38 37 34 31 32 32 34 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 60 00 00 00 F4 03 04 00 C4 67 95 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 71 DF 00 00 35 04 06 00 D3 2A 12 19 67 3C BD FC 8C 89 E8 C4 18 C2 [18:17:41]CheckFolder [18:17:41]dirname=/storage/ofd_packets [18:17:41]CheckFolder done [18:17:41]ProducePacketName [18:17:41]name=ofd_packets/00057201 [18:17:41]NVStorageSaveData ofd_packets/00057201 [18:17:41]File name is /storage/ofd_packets/00057201 [18:17:41]Write 328 bytes [18:17:41]NVStorageSaveData done [18:17:41]OFDSenderStorePacket done [18:17:41]KKMCreateOFDPacket done [18:17:41]NVStorageSaveData kkm_last_timestamp [18:17:41]File name is /storage/kkm_last_timestamp [18:17:41]Write 4 bytes [18:17:41]NVStorageSaveData done [18:17:41]ExternCall_PrintAddStr [18:17:41]wPrintStart [18:17:41]Write to MH i2c: 01 00 00 A7 02 A9 [18:17:41]Write i2c OK [18:17:41]MH_I2C_Read... [18:17:41]Read from MH i2c: 01 [18:17:41]MH_I2C_Read... [18:17:41]Read from MH i2c: 01 07 00 [18:17:41]MH_I2C_Read... [18:17:41]Read from MH i2c: 01 07 00 A7 02 00 00 00 00 00 FF 0F BE [18:17:41]RasterBufferAndPrint [18:17:41]line Счет N : (3)129647 [18:17:41]line ИНН: 02508201610067 [18:17:41]line Контрольно-Кассовый Чек [18:17:41]line ПРОДАЖА [18:17:41]line Товар: 48741224 [18:17:41]line Сигареты Winston Super Slims Blue [18:17:41]line 1.000 * 135.00 [18:17:41]line = 135.00 [18:17:41]line НДС 12% НСП 1% [18:17:41]line > о реализуемом товаре [18:17:41]line ИТОГО: 135.00 [18:17:41]line НСП 1% : 1.19 [18:17:41]line НДС 12% : 14.34 [18:17:41]line Наличными: 135.00 [18:17:41]line Безнал.: 0.00 [18:17:41]line Место: АЗС № 132 "Партнер Нефть" [18:17:41]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [18:17:41]line СНО: Общий режим [18:17:41]line Чек 96 15.07.2024 18:17 [18:17:41]line Смена: 497 ФФД: 1.0 [18:17:41]line ЗНМ: 0300000132 [18:17:41]line РНМ: 0000000000091208 [18:17:41]line Версия ККМ: 001 [18:17:41]line ФМ: 0000000000874857 [18:17:41]line ФД: 57201 [18:17:41]line ФПД: 232177645741884 [18:17:42]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T181740&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57201&fm=232177645741884&tin=02508201610067®Number=0000000000091208&sum=13500 [18:17:42]line 0 [18:17:42]OFD Sender: Processing packet 57201 [packets to send 38, broken 37] [18:17:42]ProducePacketName [18:17:42]name=ofd_packets/00057201 [18:17:42]OFD Sender: To server: pG, [18:17:42]CommunicateWithHost lk.salyk.kg:30040 [18:17:42]ConnectInit lk.salyk.kg [18:17:42]written 0, free lines is 4095 [18:17:42]Connected sock=10 [18:17: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 2A 01 00 00 82 65 22 01 63 ED 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 34 38 37 34 31 32 32 34 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 60 00 00 00 F4 03 04 00 C4 67 95 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 71 DF 00 00 35 04 06 00 D3 2A 12 19 67 3C BD FC 8C 89 E8 C4 18 C2 [18:17: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 69 51 47 00 EB 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 71 DF 00 00 F4 03 04 00 12 0E 95 66 B6 04 01 00 00 BF 58 38 DA CA C7 A5 F5 [18:17:42]CommunicateWithHost err = 0 [18:17:42]CheckOFDResponse [18:17:42]1017 (14) - 77093643461234 [18:17:42]1041 (16) - 0000000000874857 [18:17:42]1040 (4) - 57201 [18:17:42]1012 (4) - 15.07.2024 11:54 [18:17:42]1206 (1) - 0 [18:17:42]OFD Sender: Remove packet 57201 [18:17:42]ProducePacketName [18:17:42]name=ofd_packets/00057201 [18:17:42]NVStorageDeleteData [18:17:42]Write to MH i2c: 01 00 00 D0 02 D2 [18:17:42]Write i2c OK [18:17:42]MH_I2C_Read... [18:17:42]Read from MH i2c: 01 [18:17:42]MH_I2C_Read... [18:17:42]Read from MH i2c: 01 07 00 [18:17:42]MH_I2C_Read... [18:17:42]Read from MH i2c: 01 07 00 D0 02 00 00 00 00 00 D2 0C B7 [18:17:42]RasterBufferAndPrint [18:17:42]line [18:17:42]line [18:17:42]line [18:17:42]line [18:17:42]line [18:17:42]written 0, free lines is 3288 [18:17:42]MH_Cut [18:17:42]Write to MH i2c: D1 01 00 D7 02 01 AB [18:17:42]Write i2c OK [18:17:42]MH_I2C_Read... [18:17:42]Read from MH i2c: D1 [18:17:42]MH_I2C_Read... [18:17:42]Read from MH i2c: D1 01 00 [18:17:42]MH_I2C_Read... [18:17:42]Read from MH i2c: D1 01 00 D7 02 00 AA [18:17:42]Write to MH i2c: 01 00 00 D8 02 DA [18:17:42]Write i2c OK [18:17:42]MH_I2C_Read... [18:17:42]OFD Sender: No OFD packet to send [18:17:43]*** Cut start [18:17:43]*** Partial cut [18:17:43]*** CUTSNS_PIN = 1 [18:17:43]*** CUTSNS_PIN = 0 [18:17:43]*** Brake cut motor [18:17:43]Read from MH i2c: 01 [18:17:43]MH_I2C_Read... [18:17:43]*** Stop cut motor [18:17:43]*** Cut end [18:17:43]Read from MH i2c: 01 07 00 [18:17:43]MH_I2C_Read... [18:17:43]Read from MH i2c: 01 07 00 D8 02 00 00 00 00 00 FF 0F EF [18:17:43]process_action close_receipt done [18:17:43]requested_data is exist [18:17:43]produce_requested_data [18:17:43]requested_item fm.sn is exist - process it [18:17:43]wFMCommunicate request_size=4 [18:17:43]MH_SAM_APDU [18:17:43]CAPDU: 80 11 00 00 [18:17:43]Write to MH i2c: E2 08 00 D9 02 80 11 00 00 00 00 00 00 55 [18:17:43]Write i2c OK [18:17:43]MH_I2C_Read... [18:17:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:17:43]Read from MH i2c: E2 [18:17:43]MH_I2C_Read... [18:17:43]Read from MH i2c: E2 17 00 [18:17:43]MH_I2C_Read... [18:17:43]Read from MH i2c: E2 17 00 D9 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 AF [18:17:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [18:17:43]wFMCommunicate OK [18:17:43]requested_item fd.num is exist - process it [18:17:43]SAM_PROTO_GetFieldsCounters [18:17:43]wFMCommunicate request_size=4 [18:17:43]MH_SAM_APDU [18:17:43]CAPDU: 80 13 00 00 [18:17:43]Write to MH i2c: E2 08 00 DA 02 80 13 00 00 00 00 00 00 58 [18:17:43]Write i2c OK [18:17:43]MH_I2C_Read... [18:17:43]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:17:43]Read from MH i2c: E2 [18:17:43]MH_I2C_Read... [18:17:43]Read from MH i2c: E2 62 00 [18:17:43]MH_I2C_Read... [18:17:43]Read from MH i2c: E2 62 00 DA 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 71 DF 00 00 0E 04 04 00 F1 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 DD [18:17: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 71 DF 00 00 0E 04 04 00 F1 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 [18:17:43]wFMCommunicate OK [18:17:43]SAM_PROTO_GetFieldsCounters done [18:17:43]requested_item shift.num is exist - process it [18:17:43]requested_item shift.opened is exist - process it [18:17:43]req_shift_opened [18:17:43]FM_GetShiftState [18:17:43]SAM_PROTO_GetShiftState [18:17:43]wFMCommunicate request_size=4 [18:17:43]MH_SAM_APDU [18:17:43]CAPDU: 80 13 01 00 [18:17:43]Write to MH i2c: E2 08 00 DB 02 80 13 01 00 00 00 00 00 5A [18:17:44]Write i2c OK [18:17:44]MH_I2C_Read... [18:17:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:17:44]Read from MH i2c: E2 [18:17:44]MH_I2C_Read... [18:17:44]Read from MH i2c: E2 0E 00 [18:17:44]MH_I2C_Read... [18:17:44]Read from MH i2c: E2 0E 00 DB 02 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 D3 [18:17:44]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [18:17:44]wFMCommunicate OK [18:17:44]SAM_PROTO_GetShiftState done [18:17:44]FM_GetShiftState done [18:17:44]req_shift_opened done [18:17:44]requested_item shift.open_date is exist - process it [18:17:44]req_shift_open_date [18:17:44]req_shift_open_date done [18:17:44]requested_item shift.sale.total is exist - process it [18:17:44]SAM_PROTO_GetShiftData [18:17:44]wFMCommunicate request_size=4 [18:17:44]MH_SAM_APDU [18:17:44]CAPDU: 80 13 02 00 [18:17:44]Write to MH i2c: E2 08 00 DC 02 80 13 02 00 00 00 00 00 5C [18:17:44]Write i2c OK [18:17:44]MH_I2C_Read... [18:17:44]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [18:17:44]Read from MH i2c: E2 [18:17:44]MH_I2C_Read... [18:17:44]Read from MH i2c: E2 FD 00 [18:17:44]MH_I2C_Read... [18:17:44]Read from MH i2c: E2 FD 00 DC 02 00 B6 04 AA 04 B2 04 6E 04 04 00 60 00 00 00 69 04 9B 00 6F 04 04 00 5F 00 00 00 B1 04 03 00 29 61 26 70 04 03 00 AC 79 20 72 04 03 00 7D E7 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 75 13 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 EF 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 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 AC [18:17:44]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 60 00 00 00 69 04 9B 00 6F 04 04 00 5F 00 00 00 B1 04 03 00 29 61 26 70 04 03 00 AC 79 20 72 04 03 00 7D E7 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 75 13 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 EF 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 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 [18:17:44]wFMCommunicate OK [18:17:44]wFMCommunicate request_size=4 [18:17:44]MH_SAM_APDU [18:17:44]CAPDU: 80 17 00 00 [18:17:44]Write to MH i2c: E2 08 00 DD 02 80 17 00 00 00 00 00 00 5F [18:17:44]Write i2c OK [18:17:44]MH_I2C_Read... [18:17:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [18:17:44]Read from MH i2c: E2 [18:17:44]MH_I2C_Read... [18:17:44]Read from MH i2c: E2 FD 00 [18:17:44]MH_I2C_Read... [18:17:44]Read from MH i2c: E2 FD 00 DD 02 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 94 [18:17:44]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 [18:17:44]wFMCommunicate OK [18:17:44]wFMCommunicate request_size=4 [18:17:44]MH_SAM_APDU [18:17:44]CAPDU: 80 17 00 00 [18:17:44]Write to MH i2c: E2 08 00 DE 02 80 17 00 00 00 00 00 00 60 [18:17:44]Write i2c OK [18:17:44]MH_I2C_Read... [18:17:45]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [18:17:45]Read from MH i2c: E2 [18:17:45]MH_I2C_Read... [18:17:45]Read from MH i2c: E2 FD 00 [18:17:45]MH_I2C_Read... [18:17:45]Read from MH i2c: E2 FD 00 DE 02 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 20 [18:17:45]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 [18:17:45]wFMCommunicate OK [18:17:45]wFMCommunicate request_size=4 [18:17:45]MH_SAM_APDU [18:17:45]CAPDU: 80 17 00 00 [18:17:45]Write to MH i2c: E2 08 00 DF 02 80 17 00 00 00 00 00 00 61 [18:17:45]Write i2c OK [18:17:45]MH_I2C_Read... [18:17:45]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [18:17:45]Read from MH i2c: E2 [18:17:45]MH_I2C_Read... [18:17:45]Read from MH i2c: E2 FD 00 [18:17:45]MH_I2C_Read... [18:17:45]Read from MH i2c: E2 FD 00 DF 02 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 D0 [18:17:45]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 [18:17:45]wFMCommunicate OK [18:17:45]wFMCommunicate request_size=4 [18:17:45]MH_SAM_APDU [18:17:45]CAPDU: 80 17 00 00 [18:17:45]Write to MH i2c: E2 08 00 E0 02 80 17 00 00 00 00 00 00 62 [18:17:45]Write i2c OK [18:17:45]MH_I2C_Read... [18:17:45]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [18:17:45]Read from MH i2c: E2 [18:17:45]MH_I2C_Read... [18:17:45]Read from MH i2c: E2 D3 00 [18:17:45]MH_I2C_Read... [18:17:45]Read from MH i2c: E2 D3 00 E0 02 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 4F [18:17:45]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 [18:17:45]wFMCommunicate OK [18:17:45]SAM_PROTO_GetShiftData done [18:17:45]requested_item shift.sale.total_cash is exist - process it [18:17:45]requested_item shift.sale_refund.total is exist - process it [18:17:45]requested_item shift.sale_refund.total_cash is exist - process it [18:17:45]produce_requested_data done [18:17:45]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57201,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":25152.41,"shift.sale.total_cash":21283.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [18:17:45]process_action_free close_receipt [18:17:45]json_value_free [18:17:45]json_value_free done [18:17:45]process_json_proto returns [18:17:45]Send response to host [18:17:45]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57201,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":25152.41,"shift.sale.total_cash":21283.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [18:17:45]free response buf [18:17:45]execute_script done [18:17:45]execute_script returns [18:17:45]free content buf [18:17:45]Sock 7.Close socket [18:17:45]Sock 7.Thread stoped [18:17:47]OFD Sender: No OFD packet to send [18:17:52]OFD Sender: No OFD packet to send [18:17:57]OFD Sender: No OFD packet to send [18:18:02]OFD Sender: No OFD packet to send [18:18:07]OFD Sender: No OFD packet to send [18:18:12]OFD Sender: No OFD packet to send [18:18:17]OFD Sender: No OFD packet to send [18:18:22]OFD Sender: No OFD packet to send [18:18:27]OFD Sender: No OFD packet to send [18:18:32]OFD Sender: No OFD packet to send [18:18:37]OFD Sender: No OFD packet to send [18:18:42]OFD Sender: No OFD packet to send [18:18:47]OFD Sender: No OFD packet to send [18:18:52]OFD Sender: No OFD packet to send [18:18:57]OFD Sender: No OFD packet to send [18:19:02]OFD Sender: No OFD packet to send [18:19:07]OFD Sender: No OFD packet to send [18:19:12]OFD Sender: No OFD packet to send [18:19:17]OFD Sender: No OFD packet to send [18:19:22]OFD Sender: No OFD packet to send [18:19:27]OFD Sender: No OFD packet to send [18:19:32]OFD Sender: No OFD packet to send [18:19:37]OFD Sender: No OFD packet to send [18:19:42]OFD Sender: No OFD packet to send [18:19:47]OFD Sender: No OFD packet to send [18:19:52]OFD Sender: No OFD packet to send [18:19:58]OFD Sender: No OFD packet to send [18:20:03]OFD Sender: No OFD packet to send [18:20:08]OFD Sender: No OFD packet to send [18:20:13]OFD Sender: No OFD packet to send [18:20:18]OFD Sender: No OFD packet to send [18:20:23]OFD Sender: No OFD packet to send [18:20:28]OFD Sender: No OFD packet to send [18:20:33]OFD Sender: No OFD packet to send [18:20:38]OFD Sender: No OFD packet to send [18:20:43]OFD Sender: No OFD packet to send [18:20:48]OFD Sender: No OFD packet to send [18:20:53]OFD Sender: No OFD packet to send [18:20:58]OFD Sender: No OFD packet to send [18:21:03]OFD Sender: No OFD packet to send [18:21:08]OFD Sender: No OFD packet to send [18:21:13]OFD Sender: No OFD packet to send [18:21:18]OFD Sender: No OFD packet to send [18:21:23]OFD Sender: No OFD packet to send [18:21:28]OFD Sender: No OFD packet to send [18:21:33]OFD Sender: No OFD packet to send [18:21:38]OFD Sender: No OFD packet to send [18:21:43]OFD Sender: No OFD packet to send [18:21:48]OFD Sender: No OFD packet to send [18:21:53]OFD Sender: No OFD packet to send [18:21:55]accept exits with 9 [18:21:55]New connection [18:21:55]New thread 3066871140 created [18:21:55]Thread 3067014500 joined [18:21:55]Waiting for new connection... [18:21:55] Sock 9.Parse request [18:21:55]Sock 9.Check first char [18:21:55]Sock 9.First char is OK [18:21:55]request: POST /json_proto HTTP/1.0 [18:21:55]Method: POST [18:21:55]URL: /json_proto [18:21:55]Method is POST - this is cgi request [18:21:55]url: /json_proto [18:21:55]query_string will be loaded in cgi processing [18:21:55]execute_cgi json_proto POST (null) [18:21:55]execute_cgi path=json_proto method=POST [18:21:55]POST find Content-Length [18:21:55]Host: 172.17.39.4:8080 [18:21:55]Content-Length: 734 [18:21:55]Content-Type: application/json [18:21:55] [18:21:55]POST finish read [18:21:55]Found Content-Length = 734 [18:21:55]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129648", "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" ] } } [18:21:55]execute_script... [18:21: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)129648", "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" ] } } [18:21:55]POST & json_proto [18:21:55]process_json_proto [18:21:55]json parsed OK: [18:21:55]protocol is kg_v1.0 [18:21:55]action value=close_receipt [18:21:55]process_action close_receipt [18:21:55]cmd_close_receipt [18:21:55]MH_GetDate [18:21:55]Write to MH i2c: F0 00 00 E1 02 D2 [18:21:55]Write i2c OK [18:21:55]MH_I2C_Read... [18:21:55]Read from MH i2c: F0 [18:21:55]MH_I2C_Read... [18:21:55]Read from MH i2c: F0 09 00 [18:21:55]MH_I2C_Read... [18:21:55]Read from MH i2c: F0 09 00 E1 02 00 C4 68 95 66 2D 25 5D 64 15 [18:21:55]GetLastDocTimeStamp 1721067460 [18:21:55]current date 1721067716 [18:21:55]FM_GetShiftState [18:21:55]SAM_PROTO_GetShiftState [18:21:55]wFMCommunicate request_size=4 [18:21:55]MH_SAM_APDU [18:21:55]CAPDU: 80 13 01 00 [18:21:55]Write to MH i2c: E2 08 00 E2 02 80 13 01 00 00 00 00 00 61 [18:21:55]Write i2c OK [18:21:55]MH_I2C_Read... [18:21:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:21:55]Read from MH i2c: E2 [18:21:55]MH_I2C_Read... [18:21:55]Read from MH i2c: E2 0E 00 [18:21:55]MH_I2C_Read... [18:21:55]Read from MH i2c: E2 0E 00 E2 02 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 DA [18:21:55]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [18:21:55]wFMCommunicate OK [18:21:55]SAM_PROTO_GetShiftState done [18:21:55]FM_GetShiftState done [18:21:55]opened in 1721003525 [18:21:55]opened+sec_in_day 1721089925 [18:21:55]quantity*price = 5000 [18:21:55]sum+1 = 5001 [18:21:55]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 СНО: Общий режим Чек 97 15.07.2024 18:21 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57202 ФПД: 261148009795097 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T182156&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57202&fm=261148009795097&tin=02508201610067®Number=0000000000091208&sum=5000 0 [18:21:57]StoreToDocumentArchive [18:21:57]shift 497 fd 57202 [18:21:57]save to /storage/0497/doc_00057202 [18:21:57]save last doc name /storage/0497/doc_00057202 to /storage/kkm_last_doc_name [18:21:57]save OK [18:21:57]Clear old archive folders... [18:21:57]ProcessDocumentItem done err = 0, tmpTLVsize=269 [18:21:57]tlvbuf is B6DB76A0 [18:21:57]SAM_PROTO_ClearQueue [18:21:57]wFMCommunicate request_size=4 [18:21:57]MH_SAM_APDU [18:21:57]CAPDU: 80 09 00 00 [18:21:57]Write to MH i2c: E2 08 00 EF 02 80 09 00 00 00 00 00 00 63 [18:21:57]Write i2c OK [18:21:57]MH_I2C_Read... [18:21:57]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:21:57]Read from MH i2c: E2 [18:21:57]MH_I2C_Read... [18:21:57]Read from MH i2c: E2 03 00 [18:21:57]MH_I2C_Read... [18:21:57]Read from MH i2c: E2 03 00 EF 02 00 90 00 65 [18:21:57]RAPDU: 90 00 [18:21:57]wFMCommunicate OK [18:21:57]SAM_PROTO_ClearQueue done [18:21:57]KKMCreateOFDPacket [18:21:57]OFDProtocolAddRootSTLVToBuf [18:21:57]FM_MakeSignedData [18:21:57]FM_MakeSignedData [18:21:57]SAM_PROTO_SignData [18:21:57]wFMCommunicate request_size=4 [18:21:57]MH_SAM_APDU [18:21:57]CAPDU: 80 0D 01 02 [18:21:57]Write to MH i2c: E2 08 00 F0 02 80 0D 01 02 00 00 00 00 6B [18:21:57]Write i2c OK [18:21:57]MH_I2C_Read... [18:21:57]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:21:57]Read from MH i2c: E2 [18:21:57]MH_I2C_Read... [18:21:57]Read from MH i2c: E2 03 00 [18:21:57]MH_I2C_Read... [18:21:57]Read from MH i2c: E2 03 00 F0 02 00 90 00 66 [18:21:57]RAPDU: 90 00 [18:21:57]wFMCommunicate OK [18:21:57]wFMCommunicate request_size=255 [18:21:57]MH_SAM_APDU [18:21:57]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 61 00 00 00 F4 03 04 00 C4 68 95 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 [18:21:57]Write to MH i2c: E2 02 01 F1 02 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 61 00 00 00 F4 03 04 00 C4 68 95 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 00 00 F7 [18:21:57]Write i2c OK [18:21:57]MH_I2C_Read... [18:21:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:21:57]Read from MH i2c: E2 [18:21:57]MH_I2C_Read... [18:21:57]Read from MH i2c: E2 03 00 [18:21:57]MH_I2C_Read... [18:21:57]Read from MH i2c: E2 03 00 F1 02 00 90 00 67 [18:21:57]RAPDU: 90 00 [18:21:57]wFMCommunicate OK [18:21:57]wFMCommunicate request_size=28 [18:21:57]MH_SAM_APDU [18:21:57]CAPDU: 80 0D 02 02 17 37 34 38 35 37 10 04 04 00 72 DF 00 00 35 04 06 00 ED 83 42 5B 8E 19 [18:21:57]Write to MH i2c: E2 1F 00 F2 02 80 0D 02 02 17 00 37 34 38 35 37 10 04 04 00 72 DF 00 00 35 04 06 00 ED 83 42 5B 8E 19 00 00 07 [18:21:57]Write i2c OK [18:21:57]MH_I2C_Read... [18:21:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:21:57]Read from MH i2c: E2 [18:21:57]MH_I2C_Read... [18:21:57]Read from MH i2c: E2 03 00 [18:21:57]MH_I2C_Read... [18:21:57]Read from MH i2c: E2 03 00 F2 02 00 90 00 68 [18:21:57]RAPDU: 90 00 [18:21:57]wFMCommunicate OK [18:21:57]wFMCommunicate request_size=4 [18:21:57]MH_SAM_APDU [18:21:57]CAPDU: 80 0D 03 02 [18:21:57]Write to MH i2c: E2 08 00 F3 02 80 0D 03 02 00 00 00 00 70 [18:21:57]Write i2c OK [18:21:57]MH_I2C_Read... [18:21:57]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:21:57]Read from MH i2c: E2 [18:21:57]MH_I2C_Read... [18:21:57]Read from MH i2c: E2 0B 00 [18:21:57]MH_I2C_Read... [18:21:57]Read from MH i2c: E2 0B 00 F3 02 00 2C BF C2 4B 7C 6A 1C 64 90 00 CF [18:21:57]RAPDU: 2C BF C2 4B 7C 6A 1C 64 90 00 [18:21:57]wFMCommunicate OK [18:21:57]SAM_PROTO_SignData done [18:21:57]FM_MakeSignedData done [18:21:57]CreateOFDProtocolMessage [18:21:57]wFMCommunicate request_size=4 [18:21:57]MH_SAM_APDU [18:21:57]CAPDU: 80 11 00 00 [18:21:57]Write to MH i2c: E2 08 00 F4 02 80 11 00 00 00 00 00 00 70 [18:21:57]Write i2c OK [18:21:57]MH_I2C_Read... [18:21:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:21:57]Read from MH i2c: E2 [18:21:57]MH_I2C_Read... [18:21:57]Read from MH i2c: E2 17 00 [18:21:57]MH_I2C_Read... [18:21:57]Read from MH i2c: E2 17 00 F4 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 CA [18:21:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [18:21:57]wFMCommunicate OK [18:21:57]CreateOFDProtocolMessage done [18:21:57]OFDSenderStorePacket 57202 [18:21:57]StoreOFDPacket docnum=57202 [18:21: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 21 01 00 00 42 7C 19 01 AF 8F 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 61 00 00 00 F4 03 04 00 C4 68 95 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 72 DF 00 00 35 04 06 00 ED 83 42 5B 8E 19 2C BF C2 4B 7C 6A 1C 64 [18:21:57]CheckFolder [18:21:57]dirname=/storage/ofd_packets [18:21:57]CheckFolder done [18:21:57]ProducePacketName [18:21:57]name=ofd_packets/00057202 [18:21:57]NVStorageSaveData ofd_packets/00057202 [18:21:57]File name is /storage/ofd_packets/00057202 [18:21:57]Write 319 bytes [18:21:57]NVStorageSaveData done [18:21:57]OFDSenderStorePacket done [18:21:57]KKMCreateOFDPacket done [18:21:57]NVStorageSaveData kkm_last_timestamp [18:21:57]File name is /storage/kkm_last_timestamp [18:21:57]Write 4 bytes [18:21:57]NVStorageSaveData done [18:21:57]ExternCall_PrintAddStr [18:21:57]wPrintStart [18:21:57]Write to MH i2c: 01 00 00 F5 02 F7 [18:21:57]Write i2c OK [18:21:57]MH_I2C_Read... [18:21:57]Read from MH i2c: 01 [18:21:57]MH_I2C_Read... [18:21:57]Read from MH i2c: 01 07 00 [18:21:57]MH_I2C_Read... [18:21:57]Read from MH i2c: 01 07 00 F5 02 00 00 00 00 00 FF 0F 0C [18:21:57]RasterBufferAndPrint [18:21:57]line Счет N : (3)129648 [18:21:57]line ИНН: 02508201610067 [18:21:57]line Контрольно-Кассовый Чек [18:21:57]line ПРОДАЖА [18:21:57]line Товар: 4700000160358 [18:21:57]line Вода Легенда 1л [18:21:57]line 1.000 * 50.00 [18:21:57]line = 50.00 [18:21:57]line НДС 12% НСП 1% [18:21:57]line > о реализуемом товаре [18:21:57]line ИТОГО: 50.00 [18:21:57]line НСП 1% : 0.44 [18:21:57]line НДС 12% : 5.31 [18:21:57]line Наличными: 50.00 [18:21:57]line Безнал.: 0.00 [18:21:57]line Место: АЗС № 132 "Партнер Нефть" [18:21:57]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [18:21:57]line СНО: Общий режим [18:21:57]line Чек 97 15.07.2024 18:21 [18:21:57]line Смена: 497 ФФД: 1.0 [18:21:57]line ЗНМ: 0300000132 [18:21:57]line РНМ: 0000000000091208 [18:21:57]line Версия ККМ: 001 [18:21:57]line ФМ: 0000000000874857 [18:21:57]line ФД: 57202 [18:21:57]line ФПД: 261148009795097 [18:21:57]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T182156&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57202&fm=261148009795097&tin=02508201610067®Number=0000000000091208&sum=5000 [18:21:57]line 0 [18:21:57]written 0, free lines is 4095 [18:21:57]OFD Sender: Processing packet 57202 [packets to send 38, broken 37] [18:21:57]ProducePacketName [18:21:57]name=ofd_packets/00057202 [18:21:57]OFD Sender: To server: pG, [18:21:57]CommunicateWithHost lk.salyk.kg:30040 [18:21:57]ConnectInit lk.salyk.kg [18:21:57]Connected sock=10 [18:21: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 21 01 00 00 42 7C 19 01 AF 8F 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 61 00 00 00 F4 03 04 00 C4 68 95 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 72 DF 00 00 35 04 06 00 ED 83 42 5B 8E 19 2C BF C2 4B 7C 6A 1C 64 [18:21: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 2C 12 47 00 31 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 72 DF 00 00 F4 03 04 00 12 0F 95 66 B6 04 01 00 00 2B 1D A3 0C 97 B0 83 69 [18:21:58]CommunicateWithHost err = 0 [18:21:58]CheckOFDResponse [18:21:58]1017 (14) - 77093643461234 [18:21:58]1041 (16) - 0000000000874857 [18:21:58]1040 (4) - 57202 [18:21:58]1012 (4) - 15.07.2024 11:59 [18:21:58]1206 (1) - 0 [18:21:58]OFD Sender: Remove packet 57202 [18:21:58]ProducePacketName [18:21:58]name=ofd_packets/00057202 [18:21:58]NVStorageDeleteData [18:21:58]Write to MH i2c: 01 00 00 1D 03 20 [18:21:58]Write i2c OK [18:21:58]MH_I2C_Read... [18:21:58]Read from MH i2c: 01 [18:21:58]MH_I2C_Read... [18:21:58]Read from MH i2c: 01 07 00 [18:21:58]MH_I2C_Read... [18:21:58]Read from MH i2c: 01 07 00 1D 03 00 00 00 00 00 05 0D 39 [18:21:58]RasterBufferAndPrint [18:21:58]line [18:21:58]line [18:21:58]line [18:21:58]line [18:21:58]line [18:21:58]written 0, free lines is 3340 [18:21:58]MH_Cut [18:21:58]Write to MH i2c: D1 01 00 24 03 01 F9 [18:21:58]Write i2c OK [18:21:58]MH_I2C_Read... [18:21:58]Read from MH i2c: D1 [18:21:58]MH_I2C_Read... [18:21:58]Read from MH i2c: D1 01 00 [18:21:58]MH_I2C_Read... [18:21:58]Read from MH i2c: D1 01 00 24 03 00 F8 [18:21:58]Write to MH i2c: 01 00 00 25 03 28 [18:21:58]Write i2c OK [18:21:58]MH_I2C_Read... [18:21:58]OFD Sender: No OFD packet to send [18:21:58]*** Cut start [18:21:58]*** Partial cut [18:21:58]*** CUTSNS_PIN = 1 [18:21:58]*** CUTSNS_PIN = 0 [18:21:59]*** Brake cut motor [18:21:59]Read from MH i2c: 01 [18:21:59]MH_I2C_Read... [18:21:59]*** Stop cut motor [18:21:59]*** Cut end [18:21:59]Read from MH i2c: 01 07 00 [18:21:59]MH_I2C_Read... [18:21:59]Read from MH i2c: 01 07 00 25 03 00 00 00 00 00 FF 0F 3D [18:21:59]process_action close_receipt done [18:21:59]requested_data is exist [18:21:59]produce_requested_data [18:21:59]requested_item fm.sn is exist - process it [18:21:59]wFMCommunicate request_size=4 [18:21:59]MH_SAM_APDU [18:21:59]CAPDU: 80 11 00 00 [18:21:59]Write to MH i2c: E2 08 00 26 03 80 11 00 00 00 00 00 00 A3 [18:21:59]Write i2c OK [18:21:59]MH_I2C_Read... [18:21:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:21:59]Read from MH i2c: E2 [18:21:59]MH_I2C_Read... [18:21:59]Read from MH i2c: E2 17 00 [18:21:59]MH_I2C_Read... [18:21:59]Read from MH i2c: E2 17 00 26 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 FD [18:21:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [18:21:59]wFMCommunicate OK [18:21:59]requested_item fd.num is exist - process it [18:21:59]SAM_PROTO_GetFieldsCounters [18:21:59]wFMCommunicate request_size=4 [18:21:59]MH_SAM_APDU [18:21:59]CAPDU: 80 13 00 00 [18:21:59]Write to MH i2c: E2 08 00 27 03 80 13 00 00 00 00 00 00 A6 [18:21:59]Write i2c OK [18:21:59]MH_I2C_Read... [18:21:59]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:21:59]Read from MH i2c: E2 [18:21:59]MH_I2C_Read... [18:21:59]Read from MH i2c: E2 62 00 [18:21:59]MH_I2C_Read... [18:21:59]Read from MH i2c: E2 62 00 27 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 72 DF 00 00 0E 04 04 00 F1 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 2F [18:21: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 72 DF 00 00 0E 04 04 00 F1 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 [18:21:59]wFMCommunicate OK [18:21:59]SAM_PROTO_GetFieldsCounters done [18:21:59]requested_item shift.num is exist - process it [18:21:59]requested_item shift.opened is exist - process it [18:21:59]req_shift_opened [18:21:59]FM_GetShiftState [18:21:59]SAM_PROTO_GetShiftState [18:21:59]wFMCommunicate request_size=4 [18:21:59]MH_SAM_APDU [18:21:59]CAPDU: 80 13 01 00 [18:21:59]Write to MH i2c: E2 08 00 28 03 80 13 01 00 00 00 00 00 A8 [18:21:59]Write i2c OK [18:21:59]MH_I2C_Read... [18:21:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:21:59]Read from MH i2c: E2 [18:21:59]MH_I2C_Read... [18:21:59]Read from MH i2c: E2 0E 00 [18:21:59]MH_I2C_Read... [18:21:59]Read from MH i2c: E2 0E 00 28 03 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 21 [18:21:59]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [18:21:59]wFMCommunicate OK [18:21:59]SAM_PROTO_GetShiftState done [18:21:59]FM_GetShiftState done [18:21:59]req_shift_opened done [18:21:59]requested_item shift.open_date is exist - process it [18:21:59]req_shift_open_date [18:21:59]req_shift_open_date done [18:21:59]requested_item shift.sale.total is exist - process it [18:21:59]SAM_PROTO_GetShiftData [18:21:59]wFMCommunicate request_size=4 [18:21:59]MH_SAM_APDU [18:21:59]CAPDU: 80 13 02 00 [18:21:59]Write to MH i2c: E2 08 00 29 03 80 13 02 00 00 00 00 00 AA [18:21:59]Write i2c OK [18:21:59]MH_I2C_Read... [18:22:00]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [18:22:00]Read from MH i2c: E2 [18:22:00]MH_I2C_Read... [18:22:00]Read from MH i2c: E2 FD 00 [18:22:00]MH_I2C_Read... [18:22:00]Read from MH i2c: E2 FD 00 29 03 00 B6 04 AA 04 B2 04 6E 04 04 00 61 00 00 00 69 04 9B 00 6F 04 04 00 60 00 00 00 B1 04 03 00 B1 74 26 70 04 03 00 34 8D 20 72 04 03 00 7D E7 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 88 15 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 1B 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 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 75 [18:22:00]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 61 00 00 00 69 04 9B 00 6F 04 04 00 60 00 00 00 B1 04 03 00 B1 74 26 70 04 03 00 34 8D 20 72 04 03 00 7D E7 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 88 15 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 1B 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 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 [18:22:00]wFMCommunicate OK [18:22:00]wFMCommunicate request_size=4 [18:22:00]MH_SAM_APDU [18:22:00]CAPDU: 80 17 00 00 [18:22:00]Write to MH i2c: E2 08 00 2A 03 80 17 00 00 00 00 00 00 AD [18:22:00]Write i2c OK [18:22:00]MH_I2C_Read... [18:22:00]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [18:22:00]Read from MH i2c: E2 [18:22:00]MH_I2C_Read... [18:22:00]Read from MH i2c: E2 FD 00 [18:22:00]MH_I2C_Read... [18:22:00]Read from MH i2c: E2 FD 00 2A 03 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 E2 [18:22:00]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 [18:22:00]wFMCommunicate OK [18:22:00]wFMCommunicate request_size=4 [18:22:00]MH_SAM_APDU [18:22:00]CAPDU: 80 17 00 00 [18:22:00]Write to MH i2c: E2 08 00 2B 03 80 17 00 00 00 00 00 00 AE [18:22:00]Write i2c OK [18:22:00]MH_I2C_Read... [18:22:00]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [18:22:00]Read from MH i2c: E2 [18:22:00]MH_I2C_Read... [18:22:00]Read from MH i2c: E2 FD 00 [18:22:00]MH_I2C_Read... [18:22:00]Read from MH i2c: E2 FD 00 2B 03 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 6E [18:22:00]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 [18:22:00]wFMCommunicate OK [18:22:00]wFMCommunicate request_size=4 [18:22:00]MH_SAM_APDU [18:22:00]CAPDU: 80 17 00 00 [18:22:00]Write to MH i2c: E2 08 00 2C 03 80 17 00 00 00 00 00 00 AF [18:22:00]Write i2c OK [18:22:00]MH_I2C_Read... [18:22:00]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [18:22:00]Read from MH i2c: E2 [18:22:00]MH_I2C_Read... [18:22:00]Read from MH i2c: E2 FD 00 [18:22:00]MH_I2C_Read... [18:22:00]Read from MH i2c: E2 FD 00 2C 03 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 1E [18:22:01]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 [18:22:01]wFMCommunicate OK [18:22:01]wFMCommunicate request_size=4 [18:22:01]MH_SAM_APDU [18:22:01]CAPDU: 80 17 00 00 [18:22:01]Write to MH i2c: E2 08 00 2D 03 80 17 00 00 00 00 00 00 B0 [18:22:01]Write i2c OK [18:22:01]MH_I2C_Read... [18:22:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [18:22:01]Read from MH i2c: E2 [18:22:01]MH_I2C_Read... [18:22:01]Read from MH i2c: E2 D3 00 [18:22:01]MH_I2C_Read... [18:22:01]Read from MH i2c: E2 D3 00 2D 03 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 9D [18:22:01]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 [18:22:01]wFMCommunicate OK [18:22:01]SAM_PROTO_GetShiftData done [18:22:01]requested_item shift.sale.total_cash is exist - process it [18:22:01]requested_item shift.sale_refund.total is exist - process it [18:22:01]requested_item shift.sale_refund.total_cash is exist - process it [18:22:01]produce_requested_data done [18:22:01]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57202,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":25202.41,"shift.sale.total_cash":21333.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [18:22:01]process_action_free close_receipt [18:22:01]json_value_free [18:22:01]json_value_free done [18:22:01]process_json_proto returns [18:22:01]Send response to host [18:22:01]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57202,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":25202.41,"shift.sale.total_cash":21333.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [18:22:01]free response buf [18:22:01]execute_script done [18:22:01]execute_script returns [18:22:01]free content buf [18:22:01]Sock 9.Close socket [18:22:01]Sock 9.Thread stoped [18:22:02]accept exits with 7 [18:22:02]New connection [18:22:02]New thread 3067014500 created [18:22:02]Thread 3066871140 joined [18:22:02]Waiting for new connection... [18:22:02] Sock 7.Parse request [18:22:02]Sock 7.Check first char [18:22:02]Sock 7.First char is OK [18:22:02]request: POST /json_proto HTTP/1.0 [18:22:02]Method: POST [18:22:02]URL: /json_proto [18:22:02]Method is POST - this is cgi request [18:22:02]url: /json_proto [18:22:02]query_string will be loaded in cgi processing [18:22:02]execute_cgi json_proto POST (null) [18:22:02]execute_cgi path=json_proto method=POST [18:22:02]POST find Content-Length [18:22:02]Host: 172.17.39.4:8080 [18:22:02]Content-Length: 758 [18:22:02]Content-Type: application/json [18:22:02] [18:22:02]POST finish read [18:22:02]Found Content-Length = 758 [18:22:02]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129649", "tax_sys" : 0, "items" : [ { "code": "42203100", "name": "\u0416\u0435\u0432 Orbit \u0431\u0430\u043D\u0430\u043D-\u043A\u043B\u0443\u0431\u043D\u0438\u043A\u0430", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 45.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [18:22:02]execute_script... [18:22: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)129649", "tax_sys" : 0, "items" : [ { "code": "42203100", "name": "\u0416\u0435\u0432 Orbit \u0431\u0430\u043D\u0430\u043D-\u043A\u043B\u0443\u0431\u043D\u0438\u043A\u0430", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 45.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [18:22:02]POST & json_proto [18:22:02]process_json_proto [18:22:02]json parsed OK: [18:22:02]protocol is kg_v1.0 [18:22:02]action value=close_receipt [18:22:02]process_action close_receipt [18:22:02]cmd_close_receipt [18:22:02]MH_GetDate [18:22:02]Write to MH i2c: F0 00 00 2E 03 20 [18:22:02]Write i2c OK [18:22:02]MH_I2C_Read... [18:22:02]Read from MH i2c: F0 [18:22:02]MH_I2C_Read... [18:22:02]Read from MH i2c: F0 09 00 [18:22:02]MH_I2C_Read... [18:22:02]Read from MH i2c: F0 09 00 2E 03 00 CB 68 95 66 2D 25 5D 64 6A [18:22:02]GetLastDocTimeStamp 1721067716 [18:22:02]current date 1721067723 [18:22:02]FM_GetShiftState [18:22:02]SAM_PROTO_GetShiftState [18:22:02]wFMCommunicate request_size=4 [18:22:02]MH_SAM_APDU [18:22:02]CAPDU: 80 13 01 00 [18:22:02]Write to MH i2c: E2 08 00 2F 03 80 13 01 00 00 00 00 00 AF [18:22:02]Write i2c OK [18:22:02]MH_I2C_Read... [18:22:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:22:02]Read from MH i2c: E2 [18:22:02]MH_I2C_Read... [18:22:02]Read from MH i2c: E2 0E 00 [18:22:02]MH_I2C_Read... [18:22:02]Read from MH i2c: E2 0E 00 2F 03 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 28 [18:22:02]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [18:22:02]wFMCommunicate OK [18:22:02]SAM_PROTO_GetShiftState done [18:22:02]FM_GetShiftState done [18:22:02]opened in 1721003525 [18:22:02]opened+sec_in_day 1721089925 [18:22:02]quantity*price = 4500 [18:22:02]sum+1 = 4501 [18:22:02]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 45.00 НСП 1% : 0.40 НДС 12% : 4.78 Наличными: 45.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 98 15.07.2024 18:22 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57203 ФПД: 213833941792237 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T182203&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57203&fm=213833941792237&tin=02508201610067®Number=0000000000091208&sum=4500 0 [18:22:04]StoreToDocumentArchive [18:22:04]shift 497 fd 57203 [18:22:04]save to /storage/0497/doc_00057203 [18:22:04]save last doc name /storage/0497/doc_00057203 to /storage/kkm_last_doc_name [18:22:04]save OK [18:22:04]Clear old archive folders... [18:22:04]ProcessDocumentItem done err = 0, tmpTLVsize=277 [18:22:04]tlvbuf is 008A4060 [18:22:04]SAM_PROTO_ClearQueue [18:22:04]wFMCommunicate request_size=4 [18:22:04]MH_SAM_APDU [18:22:04]CAPDU: 80 09 00 00 [18:22:04]Write to MH i2c: E2 08 00 3C 03 80 09 00 00 00 00 00 00 B1 [18:22:04]Write i2c OK [18:22:04]MH_I2C_Read... [18:22:04]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:22:04]Read from MH i2c: E2 [18:22:04]MH_I2C_Read... [18:22:04]Read from MH i2c: E2 03 00 [18:22:04]MH_I2C_Read... [18:22:04]Read from MH i2c: E2 03 00 3C 03 00 90 00 B3 [18:22:04]RAPDU: 90 00 [18:22:04]wFMCommunicate OK [18:22:04]SAM_PROTO_ClearQueue done [18:22:04]KKMCreateOFDPacket [18:22:04]OFDProtocolAddRootSTLVToBuf [18:22:04]FM_MakeSignedData [18:22:04]FM_MakeSignedData [18:22:04]SAM_PROTO_SignData [18:22:04]wFMCommunicate request_size=4 [18:22:04]MH_SAM_APDU [18:22:04]CAPDU: 80 0D 01 02 [18:22:04]Write to MH i2c: E2 08 00 3D 03 80 0D 01 02 00 00 00 00 B9 [18:22:04]Write i2c OK [18:22:04]MH_I2C_Read... [18:22:04]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:22:04]Read from MH i2c: E2 [18:22:04]MH_I2C_Read... [18:22:04]Read from MH i2c: E2 03 00 [18:22:04]MH_I2C_Read... [18:22:04]Read from MH i2c: E2 03 00 3D 03 00 90 00 B4 [18:22:04]RAPDU: 90 00 [18:22:04]wFMCommunicate OK [18:22:04]wFMCommunicate request_size=255 [18:22:04]MH_SAM_APDU [18:22:04]CAPDU: 80 0D 02 02 FA 03 00 15 01 1E 04 01 00 01 23 04 67 00 8A 04 08 00 34 32 32 30 33 31 30 30 06 04 28 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D0 B1 D0 B0 D0 BD D0 B0 D0 BD 2D D0 BA D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 94 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 62 00 00 00 F4 03 04 00 CB 68 95 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 [18:22:04]Write to MH i2c: E2 02 01 3E 03 80 0D 02 02 FA 00 03 00 15 01 1E 04 01 00 01 23 04 67 00 8A 04 08 00 34 32 32 30 33 31 30 30 06 04 28 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D0 B1 D0 B0 D0 BD D0 B0 D0 BD 2D D0 BA D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 94 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 62 00 00 00 F4 03 04 00 CB 68 95 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 00 00 CA [18:22:04]Write i2c OK [18:22:04]MH_I2C_Read... [18:22:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:22:04]Read from MH i2c: E2 [18:22:04]MH_I2C_Read... [18:22:04]Read from MH i2c: E2 03 00 [18:22:04]MH_I2C_Read... [18:22:04]Read from MH i2c: E2 03 00 3E 03 00 90 00 B5 [18:22:05]RAPDU: 90 00 [18:22:05]wFMCommunicate OK [18:22:05]wFMCommunicate request_size=36 [18:22:05]MH_SAM_APDU [18:22:05]CAPDU: 80 0D 02 02 1F 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 73 DF 00 00 35 04 06 00 C2 7B 18 24 35 ED [18:22:05]Write to MH i2c: E2 27 00 3F 03 80 0D 02 02 1F 00 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 73 DF 00 00 35 04 06 00 C2 7B 18 24 35 ED 00 00 D5 [18:22:05]Write i2c OK [18:22:05]MH_I2C_Read... [18:22:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:22:05]Read from MH i2c: E2 [18:22:05]MH_I2C_Read... [18:22:05]Read from MH i2c: E2 03 00 [18:22:05]MH_I2C_Read... [18:22:05]Read from MH i2c: E2 03 00 3F 03 00 90 00 B6 [18:22:05]RAPDU: 90 00 [18:22:05]wFMCommunicate OK [18:22:05]wFMCommunicate request_size=4 [18:22:05]MH_SAM_APDU [18:22:05]CAPDU: 80 0D 03 02 [18:22:05]Write to MH i2c: E2 08 00 40 03 80 0D 03 02 00 00 00 00 BE [18:22:05]Write i2c OK [18:22:05]MH_I2C_Read... [18:22:05]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:22:05]Read from MH i2c: E2 [18:22:05]MH_I2C_Read... [18:22:05]Read from MH i2c: E2 0B 00 [18:22:05]MH_I2C_Read... [18:22:05]Read from MH i2c: E2 0B 00 40 03 00 AD 5F A5 D2 18 BF 2C 04 90 00 49 [18:22:05]RAPDU: AD 5F A5 D2 18 BF 2C 04 90 00 [18:22:05]wFMCommunicate OK [18:22:05]SAM_PROTO_SignData done [18:22:05]FM_MakeSignedData done [18:22:05]CreateOFDProtocolMessage [18:22:05]wFMCommunicate request_size=4 [18:22:05]MH_SAM_APDU [18:22:05]CAPDU: 80 11 00 00 [18:22:05]Write to MH i2c: E2 08 00 41 03 80 11 00 00 00 00 00 00 BE [18:22:05]Write i2c OK [18:22:05]MH_I2C_Read... [18:22:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:22:05]Read from MH i2c: E2 [18:22:05]MH_I2C_Read... [18:22:05]Read from MH i2c: E2 17 00 [18:22:05]MH_I2C_Read... [18:22:05]Read from MH i2c: E2 17 00 41 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 18 [18:22:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [18:22:05]wFMCommunicate OK [18:22:05]CreateOFDProtocolMessage done [18:22:05]OFDSenderStorePacket 57203 [18:22:05]StoreOFDPacket docnum=57203 [18:22: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 29 01 00 00 B9 A7 21 01 2A 15 5A 03 01 00 03 00 15 01 1E 04 01 00 01 23 04 67 00 8A 04 08 00 34 32 32 30 33 31 30 30 06 04 28 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D0 B1 D0 B0 D0 BD D0 B0 D0 BD 2D D0 BA D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 94 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 62 00 00 00 F4 03 04 00 CB 68 95 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 73 DF 00 00 35 04 06 00 C2 7B 18 24 35 ED AD 5F A5 D2 18 BF 2C 04 [18:22:05]CheckFolder [18:22:05]dirname=/storage/ofd_packets [18:22:05]CheckFolder done [18:22:05]ProducePacketName [18:22:05]name=ofd_packets/00057203 [18:22:05]NVStorageSaveData ofd_packets/00057203 [18:22:05]File name is /storage/ofd_packets/00057203 [18:22:05]Write 327 bytes [18:22:05]NVStorageSaveData done [18:22:05]OFDSenderStorePacket done [18:22:05]KKMCreateOFDPacket done [18:22:05]NVStorageSaveData kkm_last_timestamp [18:22:05]File name is /storage/kkm_last_timestamp [18:22:05]Write 4 bytes [18:22:05]NVStorageSaveData done [18:22:05]ExternCall_PrintAddStr [18:22:05]wPrintStart [18:22:05]Write to MH i2c: 01 00 00 42 03 45 [18:22:05]Write i2c OK [18:22:05]MH_I2C_Read... [18:22:05]Read from MH i2c: 01 [18:22:05]MH_I2C_Read... [18:22:05]OFD Sender: Processing packet 57203 [packets to send 38, broken 37] [18:22:05]Read from MH i2c: ProducePacketName [18:22:05]01 name=ofd_packets/00057203 [18:22:05]07 OFD Sender: To server: pG, [18:22:05]00 CommunicateWithHost lk.salyk.kg:30040 [18:22:05] [18:22:05]ConnectInit lk.salyk.kg [18:22:05]MH_I2C_Read... [18:22:05]Read from MH i2c: 01 07 00 42 03 00 00 00 00 00 FF 0F 5A [18:22:05]RasterBufferAndPrint [18:22:05]line Счет N : (3)129649 [18:22:05]line ИНН: 02508201610067 [18:22:05]line Контрольно-Кассовый Чек [18:22:05]line ПРОДАЖА [18:22:05]line Товар: 42203100 [18:22:05]line Жев Orbit банан-клубника [18:22:05]line 1.000 * 45.00 [18:22:05]line = 45.00 [18:22:05]line НДС 12% НСП 1% [18:22:05]line > о реализуемом товаре [18:22:05]line ИТОГО: 45.00 [18:22:05]line НСП 1% : 0.40 [18:22:05]line НДС 12% : 4.78 [18:22:05]line Наличными: 45.00 [18:22:05]line Безнал.: 0.00 [18:22:05]line Место: АЗС № 132 "Партнер Нефть" [18:22:05]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [18:22:05]line СНО: Общий режим [18:22:05]line Чек 98 15.07.2024 18:22 [18:22:05]line Смена: 497 ФФД: 1.0 [18:22:05]line ЗНМ: 0300000132 [18:22:05]line РНМ: 0000000000091208 [18:22:05]line Версия ККМ: 001 [18:22:05]line ФМ: 0000000000874857 [18:22:05]line ФД: 57203 [18:22:05]line ФПД: 213833941792237 [18:22:05]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T182203&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57203&fm=213833941792237&tin=02508201610067®Number=0000000000091208&sum=4500 [18:22:05]line 0 [18:22:05]written 0, free lines is 4095 [18:22:05]Connected sock=10 [18:22: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 29 01 00 00 B9 A7 21 01 2A 15 5A 03 01 00 03 00 15 01 1E 04 01 00 01 23 04 67 00 8A 04 08 00 34 32 32 30 33 31 30 30 06 04 28 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D0 B1 D0 B0 D0 BD D0 B0 D0 BD 2D D0 BA D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 94 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 62 00 00 00 F4 03 04 00 CB 68 95 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 73 DF 00 00 35 04 06 00 C2 7B 18 24 35 ED AD 5F A5 D2 18 BF 2C 04 [18:22:05]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 DA 3A 47 00 63 C5 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 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 73 DF 00 00 F4 03 04 00 19 0F 95 66 B6 04 01 00 00 DD 10 9A A4 28 82 1C 7C [18:22:05]CommunicateWithHost err = 0 [18:22:05]CheckOFDResponse [18:22:05]1017 (14) - 77093643461234 [18:22:05]1041 (16) - 0000000000874857 [18:22:05]1040 (4) - 57203 [18:22:05]1012 (4) - 15.07.2024 11:59 [18:22:05]1206 (1) - 0 [18:22:05]OFD Sender: Remove packet 57203 [18:22:05]ProducePacketName [18:22:05]name=ofd_packets/00057203 [18:22:05]NVStorageDeleteData [18:22:05]Write to MH i2c: 01 00 00 6A 03 6D [18:22:05]Write i2c OK [18:22:05]MH_I2C_Read... [18:22:05]Read from MH i2c: 01 [18:22:05]MH_I2C_Read... [18:22:05]Read from MH i2c: 01 07 00 [18:22:05]MH_I2C_Read... [18:22:05]Read from MH i2c: 01 07 00 6A 03 00 00 00 00 00 19 0D 9A [18:22:05]RasterBufferAndPrint [18:22:05]line [18:22:05]line [18:22:05]line [18:22:05]line [18:22:05]line [18:22:05]written 0, free lines is 3371 [18:22:05]MH_Cut [18:22:05]Write to MH i2c: D1 01 00 71 03 01 46 [18:22:05]Write i2c OK [18:22:05]MH_I2C_Read... [18:22:05]Read from MH i2c: D1 [18:22:05]MH_I2C_Read... [18:22:05]Read from MH i2c: D1 01 00 [18:22:05]MH_I2C_Read... [18:22:05]Read from MH i2c: D1 01 00 71 03 00 45 [18:22:05]Write to MH i2c: 01 00 00 72 03 75 [18:22:05]Write i2c OK [18:22:05]MH_I2C_Read... [18:22:06]OFD Sender: No OFD packet to send [18:22:06]*** Cut start [18:22:06]*** Partial cut [18:22:06]*** CUTSNS_PIN = 1 [18:22:06]*** CUTSNS_PIN = 0 [18:22:06]*** Brake cut motor [18:22:07]Read from MH i2c: 01 [18:22:07]MH_I2C_Read... [18:22:07]*** Stop cut motor [18:22:07]*** Cut end [18:22:07]Read from MH i2c: 01 07 00 [18:22:07]MH_I2C_Read... [18:22:07]Read from MH i2c: 01 07 00 72 03 00 00 00 00 00 FF 0F 8A [18:22:07]process_action close_receipt done [18:22:07]requested_data is exist [18:22:07]produce_requested_data [18:22:07]requested_item fm.sn is exist - process it [18:22:07]wFMCommunicate request_size=4 [18:22:07]MH_SAM_APDU [18:22:07]CAPDU: 80 11 00 00 [18:22:07]Write to MH i2c: E2 08 00 73 03 80 11 00 00 00 00 00 00 F0 [18:22:07]Write i2c OK [18:22:07]MH_I2C_Read... [18:22:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:22:07]Read from MH i2c: E2 [18:22:07]MH_I2C_Read... [18:22:07]Read from MH i2c: E2 17 00 [18:22:07]MH_I2C_Read... [18:22:07]Read from MH i2c: E2 17 00 73 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 4A [18:22:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [18:22:07]wFMCommunicate OK [18:22:07]requested_item fd.num is exist - process it [18:22:07]SAM_PROTO_GetFieldsCounters [18:22:07]wFMCommunicate request_size=4 [18:22:07]MH_SAM_APDU [18:22:07]CAPDU: 80 13 00 00 [18:22:07]Write to MH i2c: E2 08 00 74 03 80 13 00 00 00 00 00 00 F3 [18:22:07]Write i2c OK [18:22:07]MH_I2C_Read... [18:22:07]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:22:07]Read from MH i2c: E2 [18:22:07]MH_I2C_Read... [18:22:07]Read from MH i2c: E2 62 00 [18:22:07]MH_I2C_Read... [18:22:07]Read from MH i2c: E2 62 00 74 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 73 DF 00 00 0E 04 04 00 F1 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 80 [18:22: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 73 DF 00 00 0E 04 04 00 F1 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 [18:22:07]wFMCommunicate OK [18:22:07]SAM_PROTO_GetFieldsCounters done [18:22:07]requested_item shift.num is exist - process it [18:22:07]requested_item shift.opened is exist - process it [18:22:07]req_shift_opened [18:22:07]FM_GetShiftState [18:22:07]SAM_PROTO_GetShiftState [18:22:07]wFMCommunicate request_size=4 [18:22:07]MH_SAM_APDU [18:22:07]CAPDU: 80 13 01 00 [18:22:07]Write to MH i2c: E2 08 00 75 03 80 13 01 00 00 00 00 00 F5 [18:22:07]Write i2c OK [18:22:07]MH_I2C_Read... [18:22:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:22:07]Read from MH i2c: E2 [18:22:07]MH_I2C_Read... [18:22:07]Read from MH i2c: E2 0E 00 [18:22:07]MH_I2C_Read... [18:22:07]Read from MH i2c: E2 0E 00 75 03 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 6E [18:22:07]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [18:22:07]wFMCommunicate OK [18:22:07]SAM_PROTO_GetShiftState done [18:22:07]FM_GetShiftState done [18:22:07]req_shift_opened done [18:22:07]requested_item shift.open_date is exist - process it [18:22:07]req_shift_open_date [18:22:07]req_shift_open_date done [18:22:07]requested_item shift.sale.total is exist - process it [18:22:07]SAM_PROTO_GetShiftData [18:22:07]wFMCommunicate request_size=4 [18:22:07]MH_SAM_APDU [18:22:07]CAPDU: 80 13 02 00 [18:22:07]Write to MH i2c: E2 08 00 76 03 80 13 02 00 00 00 00 00 F7 [18:22:07]Write i2c OK [18:22:07]MH_I2C_Read... [18:22:07]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [18:22:07]Read from MH i2c: E2 [18:22:07]MH_I2C_Read... [18:22:07]Read from MH i2c: E2 FD 00 [18:22:07]MH_I2C_Read... [18:22:07]Read from MH i2c: E2 FD 00 76 03 00 B6 04 AA 04 B2 04 6E 04 04 00 62 00 00 00 69 04 9B 00 6F 04 04 00 61 00 00 00 B1 04 03 00 45 86 26 70 04 03 00 C8 9E 20 72 04 03 00 7D E7 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 66 17 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 43 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 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 17 [18:22:07]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 62 00 00 00 69 04 9B 00 6F 04 04 00 61 00 00 00 B1 04 03 00 45 86 26 70 04 03 00 C8 9E 20 72 04 03 00 7D E7 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 66 17 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 43 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 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 [18:22:07]wFMCommunicate OK [18:22:07]wFMCommunicate request_size=4 [18:22:07]MH_SAM_APDU [18:22:07]CAPDU: 80 17 00 00 [18:22:07]Write to MH i2c: E2 08 00 77 03 80 17 00 00 00 00 00 00 FA [18:22:07]Write i2c OK [18:22:07]MH_I2C_Read... [18:22:08]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [18:22:08]Read from MH i2c: E2 [18:22:08]MH_I2C_Read... [18:22:08]Read from MH i2c: E2 FD 00 [18:22:08]MH_I2C_Read... [18:22:08]Read from MH i2c: E2 FD 00 77 03 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 2F [18:22:08]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 [18:22:08]wFMCommunicate OK [18:22:08]wFMCommunicate request_size=4 [18:22:08]MH_SAM_APDU [18:22:08]CAPDU: 80 17 00 00 [18:22:08]Write to MH i2c: E2 08 00 78 03 80 17 00 00 00 00 00 00 FB [18:22:08]Write i2c OK [18:22:08]MH_I2C_Read... [18:22:08]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [18:22:08]Read from MH i2c: E2 [18:22:08]MH_I2C_Read... [18:22:08]Read from MH i2c: E2 FD 00 [18:22:08]MH_I2C_Read... [18:22:08]Read from MH i2c: E2 FD 00 78 03 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 BB [18:22:08]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 [18:22:08]wFMCommunicate OK [18:22:08]wFMCommunicate request_size=4 [18:22:08]MH_SAM_APDU [18:22:08]CAPDU: 80 17 00 00 [18:22:08]Write to MH i2c: E2 08 00 79 03 80 17 00 00 00 00 00 00 FC [18:22:08]Write i2c OK [18:22:08]MH_I2C_Read... [18:22:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [18:22:09]Read from MH i2c: E2 [18:22:09]MH_I2C_Read... [18:22:09]Read from MH i2c: E2 FD 00 [18:22:09]MH_I2C_Read... [18:22:09]Read from MH i2c: E2 FD 00 79 03 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 6B [18:22:09]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 [18:22:09]wFMCommunicate OK [18:22:09]wFMCommunicate request_size=4 [18:22:09]MH_SAM_APDU [18:22:09]CAPDU: 80 17 00 00 [18:22:09]Write to MH i2c: E2 08 00 7A 03 80 17 00 00 00 00 00 00 FD [18:22:09]Write i2c OK [18:22:09]MH_I2C_Read... [18:22:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [18:22:09]Read from MH i2c: E2 [18:22:09]MH_I2C_Read... [18:22:09]Read from MH i2c: E2 D3 00 [18:22:09]MH_I2C_Read... [18:22:09]Read from MH i2c: E2 D3 00 7A 03 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 EA [18:22:09]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 [18:22:09]wFMCommunicate OK [18:22:09]SAM_PROTO_GetShiftData done [18:22:09]requested_item shift.sale.total_cash is exist - process it [18:22:09]requested_item shift.sale_refund.total is exist - process it [18:22:09]requested_item shift.sale_refund.total_cash is exist - process it [18:22:09]produce_requested_data done [18:22:09]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57203,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":25247.41,"shift.sale.total_cash":21378.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [18:22:09]process_action_free close_receipt [18:22:09]json_value_free [18:22:09]json_value_free done [18:22:09]process_json_proto returns [18:22:09]Send response to host [18:22:09]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57203,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":25247.41,"shift.sale.total_cash":21378.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [18:22:09]free response buf [18:22:09]execute_script done [18:22:09]execute_script returns [18:22:09]free content buf [18:22:09]Sock 7.Close socket [18:22:09]Sock 7.Thread stoped [18:22:11]OFD Sender: No OFD packet to send [18:22:16]OFD Sender: No OFD packet to send [18:22:21]OFD Sender: No OFD packet to send [18:22:26]OFD Sender: No OFD packet to send [18:22:31]OFD Sender: No OFD packet to send [18:22:36]OFD Sender: No OFD packet to send [18:22:41]OFD Sender: No OFD packet to send [18:22:46]OFD Sender: No OFD packet to send [18:22:51]OFD Sender: No OFD packet to send [18:22:56]OFD Sender: No OFD packet to send [18:23:01]OFD Sender: No OFD packet to send [18:23:06]OFD Sender: No OFD packet to send [18:23:11]OFD Sender: No OFD packet to send [18:23:16]OFD Sender: No OFD packet to send [18:23:21]OFD Sender: No OFD packet to send [18:23:26]OFD Sender: No OFD packet to send [18:23:31]OFD Sender: No OFD packet to send [18:23:36]OFD Sender: No OFD packet to send [18:23:41]OFD Sender: No OFD packet to send [18:23:46]OFD Sender: No OFD packet to send [18:23:51]OFD Sender: No OFD packet to send [18:23:56]OFD Sender: No OFD packet to send [18:24:01]OFD Sender: No OFD packet to send [18:24:06]OFD Sender: No OFD packet to send [18:24:11]OFD Sender: No OFD packet to send [18:24:16]OFD Sender: No OFD packet to send [18:24:21]OFD Sender: No OFD packet to send [18:24:26]OFD Sender: No OFD packet to send [18:24:31]OFD Sender: No OFD packet to send [18:24:36]OFD Sender: No OFD packet to send [18:24:41]OFD Sender: No OFD packet to send [18:24:46]OFD Sender: No OFD packet to send [18:24:51]OFD Sender: No OFD packet to send [18:24:56]OFD Sender: No OFD packet to send [18:25:01]OFD Sender: No OFD packet to send [18:25:06]OFD Sender: No OFD packet to send [18:25:11]OFD Sender: No OFD packet to send [18:25:16]OFD Sender: No OFD packet to send [18:25:21]OFD Sender: No OFD packet to send [18:25:26]OFD Sender: No OFD packet to send [18:25:31]OFD Sender: No OFD packet to send [18:25:36]OFD Sender: No OFD packet to send [18:25:41]OFD Sender: No OFD packet to send [18:25:46]OFD Sender: No OFD packet to send [18:25:51]OFD Sender: No OFD packet to send [18:25:56]OFD Sender: No OFD packet to send [18:26:01]OFD Sender: No OFD packet to send [18:26:06]OFD Sender: No OFD packet to send [18:26:11]OFD Sender: No OFD packet to send [18:26:16]OFD Sender: No OFD packet to send [18:26:21]OFD Sender: No OFD packet to send [18:26:26]OFD Sender: No OFD packet to send [18:26:31]OFD Sender: No OFD packet to send [18:26:36]OFD Sender: No OFD packet to send [18:26:41]OFD Sender: No OFD packet to send [18:26:46]OFD Sender: No OFD packet to send [18:26:51]OFD Sender: No OFD packet to send [18:26:56]OFD Sender: No OFD packet to send [18:27:01]OFD Sender: No OFD packet to send [18:27:06]OFD Sender: No OFD packet to send [18:27:11]OFD Sender: No OFD packet to send [18:27:16]OFD Sender: No OFD packet to send [18:27:21]OFD Sender: No OFD packet to send [18:27:26]OFD Sender: No OFD packet to send [18:27:31]OFD Sender: No OFD packet to send [18:27:36]OFD Sender: No OFD packet to send [18:27:41]OFD Sender: No OFD packet to send [18:27:46]OFD Sender: No OFD packet to send [18:27:51]OFD Sender: No OFD packet to send [18:27:56]OFD Sender: No OFD packet to send [18:28:01]OFD Sender: No OFD packet to send [18:28:06]OFD Sender: No OFD packet to send [18:28:11]OFD Sender: No OFD packet to send [18:28:16]OFD Sender: No OFD packet to send [18:28:21]OFD Sender: No OFD packet to send [18:28:26]OFD Sender: No OFD packet to send [18:28:31]OFD Sender: No OFD packet to send [18:28:36]OFD Sender: No OFD packet to send [18:28:41]OFD Sender: No OFD packet to send [18:28:46]OFD Sender: No OFD packet to send [18:28:51]OFD Sender: No OFD packet to send [18:28:56]OFD Sender: No OFD packet to send [18:29:01]OFD Sender: No OFD packet to send [18:29:06]OFD Sender: No OFD packet to send [18:29:11]OFD Sender: No OFD packet to send [18:29:16]OFD Sender: No OFD packet to send [18:29:21]OFD Sender: No OFD packet to send [18:29:26]OFD Sender: No OFD packet to send [18:29:31]OFD Sender: No OFD packet to send [18:29:36]OFD Sender: No OFD packet to send [18:29:41]OFD Sender: No OFD packet to send [18:29:46]OFD Sender: No OFD packet to send [18:29:51]OFD Sender: No OFD packet to send [18:29:56]OFD Sender: No OFD packet to send [18:30:01]OFD Sender: No OFD packet to send [18:30:06]OFD Sender: No OFD packet to send [18:30:11]OFD Sender: No OFD packet to send [18:30:16]OFD Sender: No OFD packet to send [18:30:21]OFD Sender: No OFD packet to send [18:30:26]OFD Sender: No OFD packet to send [18:30:31]OFD Sender: No OFD packet to send [18:30:36]OFD Sender: No OFD packet to send [18:30:41]OFD Sender: No OFD packet to send [18:30:46]OFD Sender: No OFD packet to send [18:30:51]OFD Sender: No OFD packet to send [18:30:56]OFD Sender: No OFD packet to send [18:31:01]OFD Sender: No OFD packet to send [18:31:06]OFD Sender: No OFD packet to send [18:31:11]OFD Sender: No OFD packet to send [18:31:16]OFD Sender: No OFD packet to send [18:31:21]OFD Sender: No OFD packet to send [18:31:26]OFD Sender: No OFD packet to send [18:31:31]OFD Sender: No OFD packet to send [18:31:36]OFD Sender: No OFD packet to send [18:31:41]OFD Sender: No OFD packet to send [18:31:46]OFD Sender: No OFD packet to send [18:31:51]OFD Sender: No OFD packet to send [18:31:56]OFD Sender: No OFD packet to send [18:32:01]OFD Sender: No OFD packet to send [18:32:06]OFD Sender: No OFD packet to send [18:32:11]OFD Sender: No OFD packet to send [18:32:16]OFD Sender: No OFD packet to send [18:32:21]OFD Sender: No OFD packet to send [18:32:26]OFD Sender: No OFD packet to send [18:32:31]OFD Sender: No OFD packet to send [18:32:36]OFD Sender: No OFD packet to send [18:32:41]OFD Sender: No OFD packet to send [18:32:46]OFD Sender: No OFD packet to send [18:32:51]OFD Sender: No OFD packet to send [18:32:56]OFD Sender: No OFD packet to send [18:33:01]OFD Sender: No OFD packet to send [18:33:06]OFD Sender: No OFD packet to send [18:33:11]OFD Sender: No OFD packet to send [18:33:16]OFD Sender: No OFD packet to send [18:33:21]OFD Sender: No OFD packet to send [18:33:26]OFD Sender: No OFD packet to send [18:33:31]OFD Sender: No OFD packet to send [18:33:36]OFD Sender: No OFD packet to send [18:33:41]OFD Sender: No OFD packet to send [18:33:46]OFD Sender: No OFD packet to send [18:33:51]OFD Sender: No OFD packet to send [18:33:56]OFD Sender: No OFD packet to send [18:34:01]OFD Sender: No OFD packet to send [18:34:06]OFD Sender: No OFD packet to send [18:34:11]OFD Sender: No OFD packet to send [18:34:16]OFD Sender: No OFD packet to send [18:34:21]OFD Sender: No OFD packet to send [18:34:26]OFD Sender: No OFD packet to send [18:34:31]OFD Sender: No OFD packet to send [18:34:36]OFD Sender: No OFD packet to send [18:34:41]OFD Sender: No OFD packet to send [18:34:46]OFD Sender: No OFD packet to send [18:34:51]OFD Sender: No OFD packet to send [18:34:56]OFD Sender: No OFD packet to send [18:35:01]OFD Sender: No OFD packet to send [18:35:06]OFD Sender: No OFD packet to send [18:35:11]OFD Sender: No OFD packet to send [18:35:16]OFD Sender: No OFD packet to send [18:35:21]OFD Sender: No OFD packet to send [18:35:26]OFD Sender: No OFD packet to send [18:35:31]OFD Sender: No OFD packet to send [18:35:36]OFD Sender: No OFD packet to send [18:35:41]OFD Sender: No OFD packet to send [18:35:46]OFD Sender: No OFD packet to send [18:35:51]OFD Sender: No OFD packet to send [18:35:56]OFD Sender: No OFD packet to send [18:36:01]OFD Sender: No OFD packet to send [18:36:06]OFD Sender: No OFD packet to send [18:36:11]OFD Sender: No OFD packet to send [18:36:16]OFD Sender: No OFD packet to send [18:36:21]OFD Sender: No OFD packet to send [18:36:26]OFD Sender: No OFD packet to send [18:36:31]OFD Sender: No OFD packet to send [18:36:35]accept exits with 9 [18:36:35]New connection [18:36:35]New thread 3066871140 created [18:36:35]Thread 3067014500 joined [18:36:35]Waiting for new connection... [18:36:35] Sock 9.Parse request [18:36:35]Sock 9.Check first char [18:36:35]Sock 9.First char is OK [18:36:35]request: POST /json_proto HTTP/1.0 [18:36:35]Method: POST [18:36:35]URL: /json_proto [18:36:35]Method is POST - this is cgi request [18:36:35]url: /json_proto [18:36:35]query_string will be loaded in cgi processing [18:36:35]execute_cgi json_proto POST (null) [18:36:35]execute_cgi path=json_proto method=POST [18:36:35]POST find Content-Length [18:36:35]Host: 172.17.39.4:8080 [18:36:35]Content-Length: 720 [18:36:35]Content-Type: application/json [18:36:35] [18:36:35]POST finish read [18:36:35]Found Content-Length = 720 [18:36:35]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129650", "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" ] } } [18:36:35]execute_script... [18:36: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)129650", "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" ] } } [18:36:35]POST & json_proto [18:36:35]process_json_proto [18:36:35]json parsed OK: [18:36:35]protocol is kg_v1.0 [18:36:35]action value=close_receipt [18:36:35]process_action close_receipt [18:36:35]cmd_close_receipt [18:36:35]MH_GetDate [18:36:35]Write to MH i2c: F0 00 00 7B 03 6D [18:36:35]Write i2c OK [18:36:35]MH_I2C_Read... [18:36:35]Read from MH i2c: F0 [18:36:35]MH_I2C_Read... [18:36:35]Read from MH i2c: F0 09 00 [18:36:35]MH_I2C_Read... [18:36:35]Read from MH i2c: F0 09 00 7B 03 00 34 6C 95 66 2D 25 5D 64 24 [18:36:35]GetLastDocTimeStamp 1721067723 [18:36:35]current date 1721068596 [18:36:35]FM_GetShiftState [18:36:35]SAM_PROTO_GetShiftState [18:36:35]wFMCommunicate request_size=4 [18:36:35]MH_SAM_APDU [18:36:35]CAPDU: 80 13 01 00 [18:36:35]Write to MH i2c: E2 08 00 7C 03 80 13 01 00 00 00 00 00 FC [18:36:35]Write i2c OK [18:36:35]MH_I2C_Read... [18:36:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:36:36]Read from MH i2c: E2 [18:36:36]MH_I2C_Read... [18:36:36]Read from MH i2c: E2 0E 00 [18:36:36]MH_I2C_Read... [18:36:36]Read from MH i2c: E2 0E 00 7C 03 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 75 [18:36:36]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [18:36:36]wFMCommunicate OK [18:36:36]SAM_PROTO_GetShiftState done [18:36:36]FM_GetShiftState done [18:36:36]opened in 1721003525 [18:36:36]opened+sec_in_day 1721089925 [18:36:36]quantity*price = 14300 [18:36:36]sum+1 = 14301 [18:36:36]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 СНО: Общий режим Чек 99 15.07.2024 18:36 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57204 ФПД: 169734355878972 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T183636&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57204&fm=169734355878972&tin=02508201610067®Number=0000000000091208&sum=14300 0 [18:36:37]StoreToDocumentArchive [18:36:37]shift 497 fd 57204 [18:36:37]save to /storage/0497/doc_00057204 [18:36:37]save last doc name /storage/0497/doc_00057204 to /storage/kkm_last_doc_name [18:36:37]save OK [18:36:37]Clear old archive folders... [18:36:37]ProcessDocumentItem done err = 0, tmpTLVsize=268 [18:36:37]tlvbuf is 0086FCF0 [18:36:37]SAM_PROTO_ClearQueue [18:36:37]wFMCommunicate request_size=4 [18:36:37]MH_SAM_APDU [18:36:37]CAPDU: 80 09 00 00 [18:36:37]Write to MH i2c: E2 08 00 89 03 80 09 00 00 00 00 00 00 FE [18:36:37]Write i2c OK [18:36:37]MH_I2C_Read... [18:36:37]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:36:37]Read from MH i2c: E2 [18:36:37]MH_I2C_Read... [18:36:37]Read from MH i2c: E2 03 00 [18:36:37]MH_I2C_Read... [18:36:37]Read from MH i2c: E2 03 00 89 03 00 90 00 00 [18:36:37]RAPDU: 90 00 [18:36:37]wFMCommunicate OK [18:36:37]SAM_PROTO_ClearQueue done [18:36:37]KKMCreateOFDPacket [18:36:37]OFDProtocolAddRootSTLVToBuf [18:36:37]FM_MakeSignedData [18:36:37]FM_MakeSignedData [18:36:37]SAM_PROTO_SignData [18:36:37]wFMCommunicate request_size=4 [18:36:37]MH_SAM_APDU [18:36:37]CAPDU: 80 0D 01 02 [18:36:37]Write to MH i2c: E2 08 00 8A 03 80 0D 01 02 00 00 00 00 06 [18:36:37]Write i2c OK [18:36:37]MH_I2C_Read... [18:36:37]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:36:37]Read from MH i2c: E2 [18:36:37]MH_I2C_Read... [18:36:37]Read from MH i2c: E2 03 00 [18:36:37]MH_I2C_Read... [18:36:37]Read from MH i2c: E2 03 00 8A 03 00 90 00 01 [18:36:37]RAPDU: 90 00 [18:36:37]wFMCommunicate OK [18:36:37]wFMCommunicate request_size=255 [18:36:37]MH_SAM_APDU [18:36:37]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 63 00 00 00 F4 03 04 00 34 6C 95 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 [18:36:37]Write to MH i2c: E2 02 01 8B 03 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 63 00 00 00 F4 03 04 00 34 6C 95 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 00 00 B5 [18:36:37]Write i2c OK [18:36:37]MH_I2C_Read... [18:36:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:36:37]Read from MH i2c: E2 [18:36:37]MH_I2C_Read... [18:36:37]Read from MH i2c: E2 03 00 [18:36:37]MH_I2C_Read... [18:36:37]Read from MH i2c: E2 03 00 8B 03 00 90 00 02 [18:36:37]RAPDU: 90 00 [18:36:37]wFMCommunicate OK [18:36:37]wFMCommunicate request_size=27 [18:36:37]MH_SAM_APDU [18:36:37]CAPDU: 80 0D 02 02 16 34 38 35 37 10 04 04 00 74 DF 00 00 35 04 06 00 9A 5F 5B FD 04 3C [18:36:37]Write to MH i2c: E2 1E 00 8C 03 80 0D 02 02 16 00 34 38 35 37 10 04 04 00 74 DF 00 00 35 04 06 00 9A 5F 5B FD 04 3C 00 00 48 [18:36:37]Write i2c OK [18:36:37]MH_I2C_Read... [18:36:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:36:37]Read from MH i2c: E2 [18:36:37]MH_I2C_Read... [18:36:37]Read from MH i2c: E2 03 00 [18:36:37]MH_I2C_Read... [18:36:37]Read from MH i2c: E2 03 00 8C 03 00 90 00 03 [18:36:37]RAPDU: 90 00 [18:36:37]wFMCommunicate OK [18:36:37]wFMCommunicate request_size=4 [18:36:37]MH_SAM_APDU [18:36:37]CAPDU: 80 0D 03 02 [18:36:37]Write to MH i2c: E2 08 00 8D 03 80 0D 03 02 00 00 00 00 0B [18:36:37]Write i2c OK [18:36:37]MH_I2C_Read... [18:36:37]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:36:37]Read from MH i2c: E2 [18:36:37]MH_I2C_Read... [18:36:37]Read from MH i2c: E2 0B 00 [18:36:37]MH_I2C_Read... [18:36:37]Read from MH i2c: E2 0B 00 8D 03 00 61 3C 6D BD CE 33 17 2A 90 00 15 [18:36:37]RAPDU: 61 3C 6D BD CE 33 17 2A 90 00 [18:36:37]wFMCommunicate OK [18:36:37]SAM_PROTO_SignData done [18:36:37]FM_MakeSignedData done [18:36:37]CreateOFDProtocolMessage [18:36:37]wFMCommunicate request_size=4 [18:36:37]MH_SAM_APDU [18:36:37]CAPDU: 80 11 00 00 [18:36:37]Write to MH i2c: E2 08 00 8E 03 80 11 00 00 00 00 00 00 0B [18:36:37]Write i2c OK [18:36:37]MH_I2C_Read... [18:36:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:36:37]Read from MH i2c: E2 [18:36:37]MH_I2C_Read... [18:36:37]Read from MH i2c: E2 17 00 [18:36:37]MH_I2C_Read... [18:36:37]Read from MH i2c: E2 17 00 8E 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 65 [18:36:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [18:36:37]wFMCommunicate OK [18:36:37]CreateOFDProtocolMessage done [18:36:37]OFDSenderStorePacket 57204 [18:36:37]StoreOFDPacket docnum=57204 [18:36: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 20 01 00 00 B9 19 18 01 04 52 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 63 00 00 00 F4 03 04 00 34 6C 95 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 74 DF 00 00 35 04 06 00 9A 5F 5B FD 04 3C 61 3C 6D BD CE 33 17 2A [18:36:37]CheckFolder [18:36:37]dirname=/storage/ofd_packets [18:36:37]CheckFolder done [18:36:37]ProducePacketName [18:36:37]name=ofd_packets/00057204 [18:36:37]NVStorageSaveData ofd_packets/00057204 [18:36:37]File name is /storage/ofd_packets/00057204 [18:36:37]Write 318 bytes [18:36:37]NVStorageSaveData done [18:36:37]OFDSenderStorePacket done [18:36:37]KKMCreateOFDPacket done [18:36:37]NVStorageSaveData kkm_last_timestamp [18:36:37]File name is /storage/kkm_last_timestamp [18:36:37]Write 4 bytes [18:36:37]NVStorageSaveData done [18:36:37]ExternCall_PrintAddStr [18:36:37]wPrintStart [18:36:37]Write to MH i2c: 01 00 00 8F 03 92 [18:36:37]Write i2c OK [18:36:37]MH_I2C_Read... [18:36:37]Read from MH i2c: 01 [18:36:37]MH_I2C_Read... [18:36:37]Read from MH i2c: 01 07 00 [18:36:37]MH_I2C_Read... [18:36:37]Read from MH i2c: 01 07 00 8F 03 00 00 00 00 00 FF 0F A7 [18:36:37]RasterBufferAndPrint [18:36:37]line Счет N : (3)129650 [18:36:37]line ИНН: 02508201610067 [18:36:37]line Контрольно-Кассовый Чек [18:36:37]line ПРОДАЖА [18:36:37]line Товар: 4640030091584 [18:36:37]line Сигареты Esse Gold [18:36:37]line 1.000 * 143.00 [18:36:37]line = 143.00 [18:36:37]line НДС 12% НСП 1% [18:36:37]line > о реализуемом товаре [18:36:37]line ИТОГО: 143.00 [18:36:37]line НСП 1% : 1.26 [18:36:37]line НДС 12% : 15.19 [18:36:37]line Наличными: 143.00 [18:36:37]line Безнал.: 0.00 [18:36:37]line Место: АЗС № 132 "Партнер Нефть" [18:36:37]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [18:36:37]line СНО: Общий режим [18:36:37]line Чек 99 15.07.2024 18:36 [18:36:37]line Смена: 497 ФФД: 1.0 [18:36:37]line ЗНМ: 0300000132 [18:36:37]line РНМ: 0000000000091208 [18:36:37]line Версия ККМ: 001 [18:36:37]line ФМ: 0000000000874857 [18:36:37]line ФД: 57204 [18:36:37]line ФПД: 169734355878972 [18:36:37]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T183636&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57204&fm=169734355878972&tin=02508201610067®Number=0000000000091208&sum=14300 [18:36:38]OFD Sender: Processing packet 57204 [packets to send 38, broken 37] [18:36:38]ProducePacketName [18:36:38]name=ofd_packets/00057204 [18:36:38]OFD Sender: To server: pG, [18:36:38]CommunicateWithHost lk.salyk.kg:30040 [18:36:38]ConnectInit lk.salyk.kg [18:36:38]line 0 [18:36:38]written 0, free lines is 4095 [18:36:38]Connected sock=10 [18:36: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 20 01 00 00 B9 19 18 01 04 52 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 63 00 00 00 F4 03 04 00 34 6C 95 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 74 DF 00 00 35 04 06 00 9A 5F 5B FD 04 3C 61 3C 6D BD CE 33 17 2A [18:36: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 80 11 47 00 B1 41 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 74 DF 00 00 F4 03 04 00 82 12 95 66 B6 04 01 00 00 59 EB 1D DD CD FE A8 C1 [18:36:38]CommunicateWithHost err = 0 [18:36:38]CheckOFDResponse [18:36:38]1017 (14) - 77093643461234 [18:36:38]1041 (16) - 0000000000874857 [18:36:38]1040 (4) - 57204 [18:36:38]1012 (4) - 15.07.2024 12:13 [18:36:38]1206 (1) - 0 [18:36:38]OFD Sender: Remove packet 57204 [18:36:38]ProducePacketName [18:36:38]name=ofd_packets/00057204 [18:36:38]NVStorageDeleteData [18:36:38]Write to MH i2c: 01 00 00 B7 03 BA [18:36:38]Write i2c OK [18:36:38]MH_I2C_Read... [18:36:38]Read from MH i2c: 01 [18:36:38]MH_I2C_Read... [18:36:38]Read from MH i2c: 01 07 00 [18:36:38]MH_I2C_Read... [18:36:38]Read from MH i2c: 01 07 00 B7 03 00 00 00 00 00 05 0D D3 [18:36:38]RasterBufferAndPrint [18:36:38]line [18:36:38]line [18:36:38]line [18:36:38]line [18:36:38]line [18:36:38]written 0, free lines is 3340 [18:36:38]MH_Cut [18:36:38]Write to MH i2c: D1 01 00 BE 03 01 93 [18:36:38]Write i2c OK [18:36:38]MH_I2C_Read... [18:36:38]Read from MH i2c: D1 [18:36:38]MH_I2C_Read... [18:36:38]Read from MH i2c: D1 01 00 [18:36:38]MH_I2C_Read... [18:36:38]Read from MH i2c: D1 01 00 BE 03 00 92 [18:36:38]Write to MH i2c: 01 00 00 BF 03 C2 [18:36:38]Write i2c OK [18:36:38]MH_I2C_Read... [18:36:38]OFD Sender: No OFD packet to send [18:36:39]*** Cut start [18:36:39]*** Partial cut [18:36:39]*** CUTSNS_PIN = 1 [18:36:39]*** CUTSNS_PIN = 0 [18:36:39]*** Brake cut motor [18:36:39]Read from MH i2c: 01 [18:36:39]MH_I2C_Read... [18:36:39]*** Stop cut motor [18:36:39]*** Cut end [18:36:39]Read from MH i2c: 01 07 00 [18:36:39]MH_I2C_Read... [18:36:39]Read from MH i2c: 01 07 00 BF 03 00 00 00 00 00 FF 0F D7 [18:36:39]process_action close_receipt done [18:36:39]requested_data is exist [18:36:39]produce_requested_data [18:36:39]requested_item fm.sn is exist - process it [18:36:39]wFMCommunicate request_size=4 [18:36:39]MH_SAM_APDU [18:36:39]CAPDU: 80 11 00 00 [18:36:39]Write to MH i2c: E2 08 00 C0 03 80 11 00 00 00 00 00 00 3D [18:36:39]Write i2c OK [18:36:39]MH_I2C_Read... [18:36:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:36:39]Read from MH i2c: E2 [18:36:39]MH_I2C_Read... [18:36:39]Read from MH i2c: E2 17 00 [18:36:39]MH_I2C_Read... [18:36:39]Read from MH i2c: E2 17 00 C0 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 97 [18:36:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [18:36:39]wFMCommunicate OK [18:36:39]requested_item fd.num is exist - process it [18:36:39]SAM_PROTO_GetFieldsCounters [18:36:39]wFMCommunicate request_size=4 [18:36:39]MH_SAM_APDU [18:36:39]CAPDU: 80 13 00 00 [18:36:39]Write to MH i2c: E2 08 00 C1 03 80 13 00 00 00 00 00 00 40 [18:36:39]Write i2c OK [18:36:39]MH_I2C_Read... [18:36:39]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:36:39]Read from MH i2c: E2 [18:36:39]MH_I2C_Read... [18:36:39]Read from MH i2c: E2 62 00 [18:36:39]MH_I2C_Read... [18:36:39]Read from MH i2c: E2 62 00 C1 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 74 DF 00 00 0E 04 04 00 F1 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 D1 [18:36: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 74 DF 00 00 0E 04 04 00 F1 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 [18:36:39]wFMCommunicate OK [18:36:39]SAM_PROTO_GetFieldsCounters done [18:36:39]requested_item shift.num is exist - process it [18:36:39]requested_item shift.opened is exist - process it [18:36:39]req_shift_opened [18:36:39]FM_GetShiftState [18:36:39]SAM_PROTO_GetShiftState [18:36:39]wFMCommunicate request_size=4 [18:36:39]MH_SAM_APDU [18:36:39]CAPDU: 80 13 01 00 [18:36:39]Write to MH i2c: E2 08 00 C2 03 80 13 01 00 00 00 00 00 42 [18:36:39]Write i2c OK [18:36:39]MH_I2C_Read... [18:36:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:36:40]Read from MH i2c: E2 [18:36:40]MH_I2C_Read... [18:36:40]Read from MH i2c: E2 0E 00 [18:36:40]MH_I2C_Read... [18:36:40]Read from MH i2c: E2 0E 00 C2 03 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 BB [18:36:40]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [18:36:40]wFMCommunicate OK [18:36:40]SAM_PROTO_GetShiftState done [18:36:40]FM_GetShiftState done [18:36:40]req_shift_opened done [18:36:40]requested_item shift.open_date is exist - process it [18:36:40]req_shift_open_date [18:36:40]req_shift_open_date done [18:36:40]requested_item shift.sale.total is exist - process it [18:36:40]SAM_PROTO_GetShiftData [18:36:40]wFMCommunicate request_size=4 [18:36:40]MH_SAM_APDU [18:36:40]CAPDU: 80 13 02 00 [18:36:40]Write to MH i2c: E2 08 00 C3 03 80 13 02 00 00 00 00 00 44 [18:36:40]Write i2c OK [18:36:40]MH_I2C_Read... [18:36:40]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [18:36:40]Read from MH i2c: E2 [18:36:40]MH_I2C_Read... [18:36:40]Read from MH i2c: E2 FD 00 [18:36:40]MH_I2C_Read... [18:36:40]Read from MH i2c: E2 FD 00 C3 03 00 B6 04 AA 04 B2 04 6E 04 04 00 63 00 00 00 69 04 9B 00 6F 04 04 00 62 00 00 00 B1 04 03 00 21 BE 26 70 04 03 00 A4 D6 20 72 04 03 00 7D E7 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 55 1D 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 C1 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 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 01 [18:36:40]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 63 00 00 00 69 04 9B 00 6F 04 04 00 62 00 00 00 B1 04 03 00 21 BE 26 70 04 03 00 A4 D6 20 72 04 03 00 7D E7 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 55 1D 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 C1 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 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 [18:36:40]wFMCommunicate OK [18:36:40]wFMCommunicate request_size=4 [18:36:40]MH_SAM_APDU [18:36:40]CAPDU: 80 17 00 00 [18:36:40]Write to MH i2c: E2 08 00 C4 03 80 17 00 00 00 00 00 00 47 [18:36:40]Write i2c OK [18:36:40]MH_I2C_Read... [18:36:40]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [18:36:40]Read from MH i2c: E2 [18:36:40]MH_I2C_Read... [18:36:40]Read from MH i2c: E2 FD 00 [18:36:40]MH_I2C_Read... [18:36:40]Read from MH i2c: E2 FD 00 C4 03 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 7C [18:36:40]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 [18:36:40]wFMCommunicate OK [18:36:40]wFMCommunicate request_size=4 [18:36:40]MH_SAM_APDU [18:36:40]CAPDU: 80 17 00 00 [18:36:40]Write to MH i2c: E2 08 00 C5 03 80 17 00 00 00 00 00 00 48 [18:36:40]Write i2c OK [18:36:40]MH_I2C_Read... [18:36:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [18:36:41]Read from MH i2c: E2 [18:36:41]MH_I2C_Read... [18:36:41]Read from MH i2c: E2 FD 00 [18:36:41]MH_I2C_Read... [18:36:41]Read from MH i2c: E2 FD 00 C5 03 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 08 [18:36:41]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 [18:36:41]wFMCommunicate OK [18:36:41]wFMCommunicate request_size=4 [18:36:41]MH_SAM_APDU [18:36:41]CAPDU: 80 17 00 00 [18:36:41]Write to MH i2c: E2 08 00 C6 03 80 17 00 00 00 00 00 00 49 [18:36:41]Write i2c OK [18:36:41]MH_I2C_Read... [18:36:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [18:36:41]Read from MH i2c: E2 [18:36:41]MH_I2C_Read... [18:36:41]Read from MH i2c: E2 FD 00 [18:36:41]MH_I2C_Read... [18:36:41]Read from MH i2c: E2 FD 00 C6 03 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 B8 [18:36:41]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 [18:36:41]wFMCommunicate OK [18:36:41]wFMCommunicate request_size=4 [18:36:41]MH_SAM_APDU [18:36:41]CAPDU: 80 17 00 00 [18:36:41]Write to MH i2c: E2 08 00 C7 03 80 17 00 00 00 00 00 00 4A [18:36:41]Write i2c OK [18:36:41]MH_I2C_Read... [18:36:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [18:36:41]Read from MH i2c: E2 [18:36:41]MH_I2C_Read... [18:36:41]Read from MH i2c: E2 D3 00 [18:36:41]MH_I2C_Read... [18:36:41]Read from MH i2c: E2 D3 00 C7 03 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 37 [18:36:41]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 [18:36:41]wFMCommunicate OK [18:36:41]SAM_PROTO_GetShiftData done [18:36:41]requested_item shift.sale.total_cash is exist - process it [18:36:41]requested_item shift.sale_refund.total is exist - process it [18:36:41]requested_item shift.sale_refund.total_cash is exist - process it [18:36:41]produce_requested_data done [18:36:41]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57204,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":25390.41,"shift.sale.total_cash":21521.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [18:36:41]process_action_free close_receipt [18:36:41]json_value_free [18:36:41]json_value_free done [18:36:41]process_json_proto returns [18:36:41]Send response to host [18:36:41]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57204,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":25390.41,"shift.sale.total_cash":21521.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [18:36:41]free response buf [18:36:41]execute_script done [18:36:41]execute_script returns [18:36:41]free content buf [18:36:41]Sock 9.Close socket [18:36:41]Sock 9.Thread stoped [18:36:43]OFD Sender: No OFD packet to send [18:36:48]OFD Sender: No OFD packet to send [18:36:53]OFD Sender: No OFD packet to send [18:36:58]OFD Sender: No OFD packet to send [18:37:03]OFD Sender: No OFD packet to send [18:37:08]OFD Sender: No OFD packet to send [18:37:13]OFD Sender: No OFD packet to send [18:37:18]OFD Sender: No OFD packet to send [18:37:23]OFD Sender: No OFD packet to send [18:37:28]OFD Sender: No OFD packet to send [18:37:33]OFD Sender: No OFD packet to send [18:37:38]OFD Sender: No OFD packet to send [18:37:43]OFD Sender: No OFD packet to send [18:37:48]OFD Sender: No OFD packet to send [18:37:53]OFD Sender: No OFD packet to send [18:37:58]OFD Sender: No OFD packet to send [18:38:03]OFD Sender: No OFD packet to send [18:38:08]OFD Sender: No OFD packet to send [18:38:13]OFD Sender: No OFD packet to send [18:38:18]OFD Sender: No OFD packet to send [18:38:23]OFD Sender: No OFD packet to send [18:38:28]OFD Sender: No OFD packet to send [18:38:34]OFD Sender: No OFD packet to send [18:38:39]OFD Sender: No OFD packet to send [18:38:44]OFD Sender: No OFD packet to send [18:38:49]OFD Sender: No OFD packet to send [18:38:54]OFD Sender: No OFD packet to send [18:38:59]OFD Sender: No OFD packet to send [18:39:04]OFD Sender: No OFD packet to send [18:39:09]OFD Sender: No OFD packet to send [18:39:14]OFD Sender: No OFD packet to send [18:39:19]OFD Sender: No OFD packet to send [18:39:24]OFD Sender: No OFD packet to send [18:39:29]OFD Sender: No OFD packet to send [18:39:34]OFD Sender: No OFD packet to send [18:39:39]OFD Sender: No OFD packet to send [18:39:44]OFD Sender: No OFD packet to send [18:39:49]OFD Sender: No OFD packet to send [18:39:54]OFD Sender: No OFD packet to send [18:39:59]OFD Sender: No OFD packet to send [18:40:04]OFD Sender: No OFD packet to send [18:40:09]OFD Sender: No OFD packet to send [18:40:14]OFD Sender: No OFD packet to send [18:40:19]OFD Sender: No OFD packet to send [18:40:24]OFD Sender: No OFD packet to send [18:40:29]OFD Sender: No OFD packet to send [18:40:34]OFD Sender: No OFD packet to send [18:40:39]OFD Sender: No OFD packet to send [18:40:44]OFD Sender: No OFD packet to send [18:40:49]OFD Sender: No OFD packet to send [18:40:54]OFD Sender: No OFD packet to send [18:40:59]OFD Sender: No OFD packet to send [18:41:04]OFD Sender: No OFD packet to send [18:41:09]OFD Sender: No OFD packet to send [18:41:14]OFD Sender: No OFD packet to send [18:41:19]OFD Sender: No OFD packet to send [18:41:24]OFD Sender: No OFD packet to send [18:41:29]OFD Sender: No OFD packet to send [18:41:34]OFD Sender: No OFD packet to send [18:41:39]OFD Sender: No OFD packet to send [18:41:44]OFD Sender: No OFD packet to send [18:41:49]OFD Sender: No OFD packet to send [18:41:54]OFD Sender: No OFD packet to send [18:41:59]OFD Sender: No OFD packet to send [18:42:04]OFD Sender: No OFD packet to send [18:42:09]OFD Sender: No OFD packet to send [18:42:14]OFD Sender: No OFD packet to send [18:42:19]OFD Sender: No OFD packet to send [18:42:24]OFD Sender: No OFD packet to send [18:42:29]OFD Sender: No OFD packet to send [18:42:34]OFD Sender: No OFD packet to send [18:42:39]OFD Sender: No OFD packet to send [18:42:44]OFD Sender: No OFD packet to send [18:42:49]OFD Sender: No OFD packet to send [18:42:54]OFD Sender: No OFD packet to send [18:42:59]OFD Sender: No OFD packet to send [18:43:04]OFD Sender: No OFD packet to send [18:43:09]OFD Sender: No OFD packet to send [18:43:14]OFD Sender: No OFD packet to send [18:43:19]OFD Sender: No OFD packet to send [18:43:24]OFD Sender: No OFD packet to send [18:43:29]OFD Sender: No OFD packet to send [18:43:34]OFD Sender: No OFD packet to send [18:43:39]OFD Sender: No OFD packet to send [18:43:44]OFD Sender: No OFD packet to send [18:43:49]OFD Sender: No OFD packet to send [18:43:54]OFD Sender: No OFD packet to send [18:43:59]OFD Sender: No OFD packet to send [18:44:04]OFD Sender: No OFD packet to send [18:44:09]OFD Sender: No OFD packet to send [18:44:14]OFD Sender: No OFD packet to send [18:44:19]OFD Sender: No OFD packet to send [18:44:24]OFD Sender: No OFD packet to send [18:44:29]OFD Sender: No OFD packet to send [18:44:34]OFD Sender: No OFD packet to send [18:44:39]OFD Sender: No OFD packet to send [18:44:44]OFD Sender: No OFD packet to send [18:44:49]OFD Sender: No OFD packet to send [18:44:54]OFD Sender: No OFD packet to send [18:44:59]OFD Sender: No OFD packet to send [18:45:04]OFD Sender: No OFD packet to send [18:45:09]OFD Sender: No OFD packet to send [18:45:14]OFD Sender: No OFD packet to send [18:45:19]OFD Sender: No OFD packet to send [18:45:24]OFD Sender: No OFD packet to send [18:45:29]OFD Sender: No OFD packet to send [18:45:34]OFD Sender: No OFD packet to send [18:45:39]OFD Sender: No OFD packet to send [18:45:44]OFD Sender: No OFD packet to send [18:45:49]OFD Sender: No OFD packet to send [18:45:54]OFD Sender: No OFD packet to send [18:45:59]OFD Sender: No OFD packet to send [18:46:04]OFD Sender: No OFD packet to send [18:46:09]OFD Sender: No OFD packet to send [18:46:14]OFD Sender: No OFD packet to send [18:46:19]OFD Sender: No OFD packet to send [18:46:24]OFD Sender: No OFD packet to send [18:46:29]OFD Sender: No OFD packet to send [18:46:34]OFD Sender: No OFD packet to send [18:46:39]OFD Sender: No OFD packet to send [18:46:44]OFD Sender: No OFD packet to send [18:46:49]OFD Sender: No OFD packet to send [18:46:54]OFD Sender: No OFD packet to send [18:46:59]OFD Sender: No OFD packet to send [18:47:04]OFD Sender: No OFD packet to send [18:47:09]OFD Sender: No OFD packet to send [18:47:14]OFD Sender: No OFD packet to send [18:47:19]OFD Sender: No OFD packet to send [18:47:24]OFD Sender: No OFD packet to send [18:47:29]OFD Sender: No OFD packet to send [18:47:34]OFD Sender: No OFD packet to send [18:47:39]OFD Sender: No OFD packet to send [18:47:44]OFD Sender: No OFD packet to send [18:47:49]OFD Sender: No OFD packet to send [18:47:54]OFD Sender: No OFD packet to send [18:47:59]OFD Sender: No OFD packet to send [18:48:04]OFD Sender: No OFD packet to send [18:48:09]OFD Sender: No OFD packet to send [18:48:14]OFD Sender: No OFD packet to send [18:48:19]OFD Sender: No OFD packet to send [18:48:24]OFD Sender: No OFD packet to send [18:48:29]OFD Sender: No OFD packet to send [18:48:34]OFD Sender: No OFD packet to send [18:48:39]OFD Sender: No OFD packet to send [18:48:44]OFD Sender: No OFD packet to send [18:48:49]OFD Sender: No OFD packet to send [18:48:54]OFD Sender: No OFD packet to send [18:48:59]OFD Sender: No OFD packet to send [18:49:04]OFD Sender: No OFD packet to send [18:49:09]OFD Sender: No OFD packet to send [18:49:14]OFD Sender: No OFD packet to send [18:49:19]OFD Sender: No OFD packet to send [18:49:24]OFD Sender: No OFD packet to send [18:49:29]OFD Sender: No OFD packet to send [18:49:34]OFD Sender: No OFD packet to send [18:49:39]OFD Sender: No OFD packet to send [18:49:44]OFD Sender: No OFD packet to send [18:49:49]OFD Sender: No OFD packet to send [18:49:54]OFD Sender: No OFD packet to send [18:49:59]OFD Sender: No OFD packet to send [18:50:04]OFD Sender: No OFD packet to send [18:50:09]OFD Sender: No OFD packet to send [18:50:14]OFD Sender: No OFD packet to send [18:50:19]OFD Sender: No OFD packet to send [18:50:24]OFD Sender: No OFD packet to send [18:50:29]OFD Sender: No OFD packet to send [18:50:34]OFD Sender: No OFD packet to send [18:50:39]OFD Sender: No OFD packet to send [18:50:44]OFD Sender: No OFD packet to send [18:50:49]OFD Sender: No OFD packet to send [18:50:54]OFD Sender: No OFD packet to send [18:50:59]OFD Sender: No OFD packet to send [18:51:04]OFD Sender: No OFD packet to send [18:51:09]OFD Sender: No OFD packet to send [18:51:14]OFD Sender: No OFD packet to send [18:51:19]OFD Sender: No OFD packet to send [18:51:24]OFD Sender: No OFD packet to send [18:51:29]OFD Sender: No OFD packet to send [18:51:34]OFD Sender: No OFD packet to send [18:51:39]OFD Sender: No OFD packet to send [18:51:44]OFD Sender: No OFD packet to send [18:51:49]OFD Sender: No OFD packet to send [18:51:54]OFD Sender: No OFD packet to send [18:51:59]OFD Sender: No OFD packet to send [18:52:04]OFD Sender: No OFD packet to send [18:52:09]OFD Sender: No OFD packet to send [18:52:14]OFD Sender: No OFD packet to send [18:52:19]OFD Sender: No OFD packet to send [18:52:24]OFD Sender: No OFD packet to send [18:52:29]OFD Sender: No OFD packet to send [18:52:34]OFD Sender: No OFD packet to send [18:52:39]OFD Sender: No OFD packet to send [18:52:44]OFD Sender: No OFD packet to send [18:52:49]OFD Sender: No OFD packet to send [18:52:54]OFD Sender: No OFD packet to send [18:52:59]OFD Sender: No OFD packet to send [18:53:04]OFD Sender: No OFD packet to send [18:53:09]OFD Sender: No OFD packet to send [18:53:14]OFD Sender: No OFD packet to send [18:53:19]OFD Sender: No OFD packet to send [18:53:24]OFD Sender: No OFD packet to send [18:53:29]OFD Sender: No OFD packet to send [18:53:34]OFD Sender: No OFD packet to send [18:53:39]OFD Sender: No OFD packet to send [18:53:44]OFD Sender: No OFD packet to send [18:53:49]OFD Sender: No OFD packet to send [18:53:54]OFD Sender: No OFD packet to send [18:53:59]OFD Sender: No OFD packet to send [18:54:04]OFD Sender: No OFD packet to send [18:54:09]OFD Sender: No OFD packet to send [18:54:14]OFD Sender: No OFD packet to send [18:54:19]OFD Sender: No OFD packet to send [18:54:24]OFD Sender: No OFD packet to send [18:54:29]OFD Sender: No OFD packet to send [18:54:34]OFD Sender: No OFD packet to send [18:54:39]OFD Sender: No OFD packet to send [18:54:44]OFD Sender: No OFD packet to send [18:54:49]OFD Sender: No OFD packet to send [18:54:54]OFD Sender: No OFD packet to send [18:54:59]OFD Sender: No OFD packet to send [18:55:04]OFD Sender: No OFD packet to send [18:55:09]OFD Sender: No OFD packet to send [18:55:14]OFD Sender: No OFD packet to send [18:55:19]OFD Sender: No OFD packet to send [18:55:24]OFD Sender: No OFD packet to send [18:55:29]OFD Sender: No OFD packet to send [18:55:34]OFD Sender: No OFD packet to send [18:55:39]OFD Sender: No OFD packet to send [18:55:44]OFD Sender: No OFD packet to send [18:55:49]OFD Sender: No OFD packet to send [18:55:54]OFD Sender: No OFD packet to send [18:55:59]OFD Sender: No OFD packet to send [18:56:04]OFD Sender: No OFD packet to send [18:56:09]OFD Sender: No OFD packet to send [18:56:14]OFD Sender: No OFD packet to send [18:56:19]OFD Sender: No OFD packet to send [18:56:24]OFD Sender: No OFD packet to send [18:56:29]OFD Sender: No OFD packet to send [18:56:34]OFD Sender: No OFD packet to send [18:56:39]OFD Sender: No OFD packet to send [18:56:44]OFD Sender: No OFD packet to send [18:56:49]OFD Sender: No OFD packet to send [18:56:54]OFD Sender: No OFD packet to send [18:56:58]accept exits with 7 [18:56:58]New connection [18:56:58]New thread 3067014500 created [18:56:58]Thread 3066871140 joined [18:56:58]Waiting for new connection... [18:56:58] Sock 7.Parse request [18:56:58]Sock 7.Check first char [18:56:58]Sock 7.First char is OK [18:56:58]request: POST /json_proto HTTP/1.0 [18:56:58]Method: POST [18:56:58]URL: /json_proto [18:56:58]Method is POST - this is cgi request [18:56:58]url: /json_proto [18:56:58]query_string will be loaded in cgi processing [18:56:58]execute_cgi json_proto POST (null) [18:56:58]execute_cgi path=json_proto method=POST [18:56:58]POST find Content-Length [18:56:58]Host: 172.17.39.4:8080 [18:56:58]Content-Length: 758 [18:56:58]Content-Type: application/json [18:56:58] [18:56:58]POST finish read [18:56:58]Found Content-Length = 758 [18:56:58]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129651", "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" ] } } [18:56:58]execute_script... [18:56: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)129651", "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" ] } } [18:56:58]POST & json_proto [18:56:58]process_json_proto [18:56:58]json parsed OK: [18:56:58]protocol is kg_v1.0 [18:56:58]action value=close_receipt [18:56:58]process_action close_receipt [18:56:58]cmd_close_receipt [18:56:58]MH_GetDate [18:56:58]Write to MH i2c: F0 00 00 C8 03 BA [18:56:58]Write i2c OK [18:56:58]MH_I2C_Read... [18:56:58]Read from MH i2c: F0 [18:56:58]MH_I2C_Read... [18:56:58]Read from MH i2c: F0 09 00 [18:56:58]MH_I2C_Read... [18:56:58]Read from MH i2c: F0 09 00 C8 03 00 FB 70 95 66 2D 25 5D 64 3C [18:56:58]GetLastDocTimeStamp 1721068596 [18:56:58]current date 1721069819 [18:56:58]FM_GetShiftState [18:56:58]SAM_PROTO_GetShiftState [18:56:58]wFMCommunicate request_size=4 [18:56:58]MH_SAM_APDU [18:56:58]CAPDU: 80 13 01 00 [18:56:58]Write to MH i2c: E2 08 00 C9 03 80 13 01 00 00 00 00 00 49 [18:56:58]Write i2c OK [18:56:58]MH_I2C_Read... [18:56:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:56:58]Read from MH i2c: E2 [18:56:58]MH_I2C_Read... [18:56:58]Read from MH i2c: E2 0E 00 [18:56:58]MH_I2C_Read... [18:56:58]Read from MH i2c: E2 0E 00 C9 03 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 C2 [18:56:58]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [18:56:58]wFMCommunicate OK [18:56:58]SAM_PROTO_GetShiftState done [18:56:58]FM_GetShiftState done [18:56:58]opened in 1721003525 [18:56:58]opened+sec_in_day 1721089925 [18:56:58]quantity*price = 9500 [18:56:58]sum+1 = 9501 [18:56:58]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 СНО: Общий режим Чек 100 15.07.2024 18:56 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57205 ФПД: 63046437945781 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T185659&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57205&fm=63046437945781&tin=02508201610067®Number=0000000000091208&sum=9500 0 [18:56:59]StoreToDocumentArchive [18:56:59]shift 497 fd 57205 [18:56:59]save to /storage/0497/doc_00057205 [18:56:59]save last doc name /storage/0497/doc_00057205 to /storage/kkm_last_doc_name [18:56:59]save OK [18:56:59]Clear old archive folders... [18:56:59]ProcessDocumentItem done err = 0, tmpTLVsize=293 [18:56:59]tlvbuf is 0086F900 [18:56:59]SAM_PROTO_ClearQueue [18:56:59]wFMCommunicate request_size=4 [18:56:59]MH_SAM_APDU [18:56:59]CAPDU: 80 09 00 00 [18:56:59]Write to MH i2c: E2 08 00 D6 03 80 09 00 00 00 00 00 00 4B [18:56:59]Write i2c OK [18:56:59]MH_I2C_Read... [18:56:59]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:56:59]Read from MH i2c: E2 [18:56:59]MH_I2C_Read... [18:56:59]Read from MH i2c: E2 03 00 [18:56:59]MH_I2C_Read... [18:56:59]Read from MH i2c: E2 03 00 D6 03 00 90 00 4D [18:56:59]RAPDU: 90 00 [18:56:59]wFMCommunicate OK [18:56:59]SAM_PROTO_ClearQueue done [18:56:59]KKMCreateOFDPacket [18:56:59]OFDProtocolAddRootSTLVToBuf [18:56:59]FM_MakeSignedData [18:56:59]FM_MakeSignedData [18:56:59]SAM_PROTO_SignData [18:56:59]wFMCommunicate request_size=4 [18:56:59]MH_SAM_APDU [18:56:59]CAPDU: 80 0D 01 02 [18:56:59]Write to MH i2c: E2 08 00 D7 03 80 0D 01 02 00 00 00 00 53 [18:56:59]Write i2c OK [18:56:59]MH_I2C_Read... [18:56:59]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:56:59]Read from MH i2c: E2 [18:56:59]MH_I2C_Read... [18:56:59]Read from MH i2c: E2 03 00 [18:56:59]MH_I2C_Read... [18:56:59]Read from MH i2c: E2 03 00 D7 03 00 90 00 4E [18:56:59]RAPDU: 90 00 [18:56:59]wFMCommunicate OK [18:56:59]wFMCommunicate request_size=255 [18:56:59]MH_SAM_APDU [18:56:59]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 64 00 00 00 F4 03 04 00 FB 70 95 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 [18:56:59]Write to MH i2c: E2 02 01 D8 03 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 64 00 00 00 F4 03 04 00 FB 70 95 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 AF [18:56:59]Write i2c OK [18:56:59]MH_I2C_Read... [18:56:59]OFD Sender: No OFD packet to send [18:56:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:57:00]Read from MH i2c: E2 [18:57:00]MH_I2C_Read... [18:57:00]Read from MH i2c: E2 03 00 [18:57:00]MH_I2C_Read... [18:57:00]Read from MH i2c: E2 03 00 D8 03 00 90 00 4F [18:57:00]RAPDU: 90 00 [18:57:00]wFMCommunicate OK [18:57:00]wFMCommunicate request_size=52 [18:57:00]MH_SAM_APDU [18:57:00]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 75 DF 00 00 35 04 06 00 39 57 24 89 C1 B5 [18:57:00]Write to MH i2c: E2 37 00 D9 03 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 75 DF 00 00 35 04 06 00 39 57 24 89 C1 B5 00 00 22 [18:57:00]Write i2c OK [18:57:00]MH_I2C_Read... [18:57:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:57:00]Read from MH i2c: E2 [18:57:00]MH_I2C_Read... [18:57:00]Read from MH i2c: E2 03 00 [18:57:00]MH_I2C_Read... [18:57:00]Read from MH i2c: E2 03 00 D9 03 00 90 00 50 [18:57:00]RAPDU: 90 00 [18:57:00]wFMCommunicate OK [18:57:00]wFMCommunicate request_size=4 [18:57:00]MH_SAM_APDU [18:57:00]CAPDU: 80 0D 03 02 [18:57:00]Write to MH i2c: E2 08 00 DA 03 80 0D 03 02 00 00 00 00 58 [18:57:00]Write i2c OK [18:57:00]MH_I2C_Read... [18:57:00]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:57:00]Read from MH i2c: E2 [18:57:00]MH_I2C_Read... [18:57:00]Read from MH i2c: E2 0B 00 [18:57:00]MH_I2C_Read... [18:57:00]Read from MH i2c: E2 0B 00 DA 03 00 BB 7A 8A 9B 01 FB DF 2F 90 00 BD [18:57:00]RAPDU: BB 7A 8A 9B 01 FB DF 2F 90 00 [18:57:00]wFMCommunicate OK [18:57:00]SAM_PROTO_SignData done [18:57:00]FM_MakeSignedData done [18:57:00]CreateOFDProtocolMessage [18:57:00]wFMCommunicate request_size=4 [18:57:00]MH_SAM_APDU [18:57:00]CAPDU: 80 11 00 00 [18:57:00]Write to MH i2c: E2 08 00 DB 03 80 11 00 00 00 00 00 00 58 [18:57:00]Write i2c OK [18:57:00]MH_I2C_Read... [18:57:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:57:00]Read from MH i2c: E2 [18:57:00]MH_I2C_Read... [18:57:00]Read from MH i2c: E2 17 00 [18:57:00]MH_I2C_Read... [18:57:00]Read from MH i2c: E2 17 00 DB 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 B2 [18:57:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [18:57:00]wFMCommunicate OK [18:57:00]CreateOFDProtocolMessage done [18:57:00]OFDSenderStorePacket 57205 [18:57:00]StoreOFDPacket docnum=57205 [18:57: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 39 01 00 00 59 A7 31 01 8B B9 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 64 00 00 00 F4 03 04 00 FB 70 95 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 75 DF 00 00 35 04 06 00 39 57 24 89 C1 B5 BB 7A 8A 9B 01 FB DF 2F [18:57:00]CheckFolder [18:57:00]dirname=/storage/ofd_packets [18:57:00]CheckFolder done [18:57:00]ProducePacketName [18:57:00]name=ofd_packets/00057205 [18:57:00]NVStorageSaveData ofd_packets/00057205 [18:57:00]File name is /storage/ofd_packets/00057205 [18:57:00]Write 343 bytes [18:57:00]NVStorageSaveData done [18:57:00]OFDSenderStorePacket done [18:57:00]KKMCreateOFDPacket done [18:57:00]NVStorageSaveData kkm_last_timestamp [18:57:00]File name is /storage/kkm_last_timestamp [18:57:00]Write 4 bytes [18:57:00]NVStorageSaveData done [18:57:00]ExternCall_PrintAddStr [18:57:00]wPrintStart [18:57:00]Write to MH i2c: 01 00 00 DC 03 DF [18:57:00]Write i2c OK [18:57:00]MH_I2C_Read... [18:57:00]Read from MH i2c: 01 [18:57:00]MH_I2C_Read... [18:57:00]Read from MH i2c: 01 07 00 [18:57:00]MH_I2C_Read... [18:57:00]Read from MH i2c: 01 07 00 DC 03 00 00 00 00 00 FF 0F F4 [18:57:00]RasterBufferAndPrint [18:57:00]line Счет N : (3)129651 [18:57:00]line ИНН: 02508201610067 [18:57:00]line Контрольно-Кассовый Чек [18:57:00]line ПРОДАЖА [18:57:00]line Товар: 4700000480050 [18:57:00]line Напиток Nitro Energy эн green ж/б 0,45л [18:57:00]line 1.000 * 95.00 [18:57:00]line = 95.00 [18:57:00]line НДС 12% НСП 1% [18:57:00]line > о реализуемом товаре [18:57:00]line ИТОГО: 95.00 [18:57:00]line НСП 1% : 0.84 [18:57:00]line НДС 12% : 10.09 [18:57:00]line Наличными: 95.00 [18:57:00]line Безнал.: 0.00 [18:57:00]line Место: АЗС № 132 "Партнер Нефть" [18:57:00]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [18:57:00]line СНО: Общий режим [18:57:00]line Чек 100 15.07.2024 18:56 [18:57:00]line Смена: 497 ФФД: 1.0 [18:57:00]line ЗНМ: 0300000132 [18:57:00]line РНМ: 0000000000091208 [18:57:00]line Версия ККМ: 001 [18:57:00]line ФМ: 0000000000874857 [18:57:00]line ФД: 57205 [18:57:00]line ФПД: 63046437945781 [18:57:00]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T185659&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57205&fm=63046437945781&tin=02508201610067®Number=0000000000091208&sum=9500 [18:57:00]line 0 [18:57:00]written 0, free lines is 4095 [18:57:00]OFD Sender: Processing packet 57205 [packets to send 38, broken 37] [18:57:00]ProducePacketName [18:57:00]name=ofd_packets/00057205 [18:57:00]OFD Sender: To server: pG, [18:57:00]CommunicateWithHost lk.salyk.kg:30040 [18:57:00]ConnectInit lk.salyk.kg [18:57:00]Connected sock=11 [18:57: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 39 01 00 00 59 A7 31 01 8B B9 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 64 00 00 00 F4 03 04 00 FB 70 95 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 75 DF 00 00 35 04 06 00 39 57 24 89 C1 B5 BB 7A 8A 9B 01 FB DF 2F [18:57: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 21 D3 47 00 66 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 75 DF 00 00 F4 03 04 00 48 17 95 66 B6 04 01 00 00 66 BD 2F AE 62 FD B6 AA [18:57:00]CommunicateWithHost err = 0 [18:57:00]CheckOFDResponse [18:57:00]1017 (14) - 77093643461234 [18:57:00]1041 (16) - 0000000000874857 [18:57:00]1040 (4) - 57205 [18:57:00]1012 (4) - 15.07.2024 12:34 [18:57:00]1206 (1) - 0 [18:57:00]OFD Sender: Remove packet 57205 [18:57:00]ProducePacketName [18:57:00]name=ofd_packets/00057205 [18:57:00]NVStorageDeleteData [18:57:00]Write to MH i2c: 01 00 00 05 04 09 [18:57:00]Write i2c OK [18:57:00]MH_I2C_Read... [18:57:00]Read from MH i2c: 01 [18:57:00]MH_I2C_Read... [18:57:00]Read from MH i2c: 01 07 00 [18:57:00]MH_I2C_Read... [18:57:00]Read from MH i2c: 01 07 00 05 04 00 00 00 00 00 FD 0C 19 [18:57:00]RasterBufferAndPrint [18:57:00]line [18:57:00]line [18:57:00]line [18:57:00]line [18:57:00]line [18:57:00]written 0, free lines is 3332 [18:57:00]MH_Cut [18:57:00]Write to MH i2c: D1 01 00 0C 04 01 E2 [18:57:00]Write i2c OK [18:57:00]MH_I2C_Read... [18:57:00]Read from MH i2c: D1 [18:57:00]MH_I2C_Read... [18:57:00]Read from MH i2c: D1 01 00 [18:57:00]MH_I2C_Read... [18:57:00]Read from MH i2c: D1 01 00 0C 04 00 E1 [18:57:00]Write to MH i2c: 01 00 00 0D 04 11 [18:57:00]Write i2c OK [18:57:00]MH_I2C_Read... [18:57:01]OFD Sender: No OFD packet to send [18:57:01]*** Cut start [18:57:01]*** Partial cut [18:57:01]*** CUTSNS_PIN = 1 [18:57:01]*** CUTSNS_PIN = 0 [18:57:01]*** Brake cut motor [18:57:01]Read from MH i2c: 01 [18:57:01]MH_I2C_Read... [18:57:01]*** Stop cut motor [18:57:02]*** Cut end [18:57:02]Read from MH i2c: 01 07 00 [18:57:02]MH_I2C_Read... [18:57:02]Read from MH i2c: 01 07 00 0D 04 00 00 00 00 00 FF 0F 26 [18:57:02]process_action close_receipt done [18:57:02]requested_data is exist [18:57:02]produce_requested_data [18:57:02]requested_item fm.sn is exist - process it [18:57:02]wFMCommunicate request_size=4 [18:57:02]MH_SAM_APDU [18:57:02]CAPDU: 80 11 00 00 [18:57:02]Write to MH i2c: E2 08 00 0E 04 80 11 00 00 00 00 00 00 8C [18:57:02]Write i2c OK [18:57:02]MH_I2C_Read... [18:57:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:57:02]Read from MH i2c: E2 [18:57:02]MH_I2C_Read... [18:57:02]Read from MH i2c: E2 17 00 [18:57:02]MH_I2C_Read... [18:57:02]Read from MH i2c: E2 17 00 0E 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 E6 [18:57:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [18:57:02]wFMCommunicate OK [18:57:02]requested_item fd.num is exist - process it [18:57:02]SAM_PROTO_GetFieldsCounters [18:57:02]wFMCommunicate request_size=4 [18:57:02]MH_SAM_APDU [18:57:02]CAPDU: 80 13 00 00 [18:57:02]Write to MH i2c: E2 08 00 0F 04 80 13 00 00 00 00 00 00 8F [18:57:02]Write i2c OK [18:57:02]MH_I2C_Read... [18:57:02]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:57:02]Read from MH i2c: E2 [18:57:02]MH_I2C_Read... [18:57:02]Read from MH i2c: E2 62 00 [18:57:02]MH_I2C_Read... [18:57:02]Read from MH i2c: E2 62 00 0F 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 75 DF 00 00 0E 04 04 00 F1 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 24 [18:57: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 75 DF 00 00 0E 04 04 00 F1 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 [18:57:02]wFMCommunicate OK [18:57:02]SAM_PROTO_GetFieldsCounters done [18:57:02]requested_item shift.num is exist - process it [18:57:02]requested_item shift.opened is exist - process it [18:57:02]req_shift_opened [18:57:02]FM_GetShiftState [18:57:02]SAM_PROTO_GetShiftState [18:57:02]wFMCommunicate request_size=4 [18:57:02]MH_SAM_APDU [18:57:02]CAPDU: 80 13 01 00 [18:57:02]Write to MH i2c: E2 08 00 10 04 80 13 01 00 00 00 00 00 91 [18:57:02]Write i2c OK [18:57:02]MH_I2C_Read... [18:57:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:57:02]Read from MH i2c: E2 [18:57:02]MH_I2C_Read... [18:57:02]Read from MH i2c: E2 0E 00 [18:57:02]MH_I2C_Read... [18:57:02]Read from MH i2c: E2 0E 00 10 04 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 0A [18:57:02]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [18:57:02]wFMCommunicate OK [18:57:02]SAM_PROTO_GetShiftState done [18:57:02]FM_GetShiftState done [18:57:02]req_shift_opened done [18:57:02]requested_item shift.open_date is exist - process it [18:57:02]req_shift_open_date [18:57:02]req_shift_open_date done [18:57:02]requested_item shift.sale.total is exist - process it [18:57:02]SAM_PROTO_GetShiftData [18:57:02]wFMCommunicate request_size=4 [18:57:02]MH_SAM_APDU [18:57:02]CAPDU: 80 13 02 00 [18:57:02]Write to MH i2c: E2 08 00 11 04 80 13 02 00 00 00 00 00 93 [18:57:02]Write i2c OK [18:57:02]MH_I2C_Read... [18:57:02]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [18:57:02]Read from MH i2c: E2 [18:57:02]MH_I2C_Read... [18:57:02]Read from MH i2c: E2 FD 00 [18:57:02]MH_I2C_Read... [18:57:02]Read from MH i2c: E2 FD 00 11 04 00 B6 04 AA 04 B2 04 6E 04 04 00 64 00 00 00 69 04 9B 00 6F 04 04 00 63 00 00 00 B1 04 03 00 3D E3 26 70 04 03 00 C0 FB 20 72 04 03 00 7D E7 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 46 21 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 15 58 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 1E [18:57:02]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 64 00 00 00 69 04 9B 00 6F 04 04 00 63 00 00 00 B1 04 03 00 3D E3 26 70 04 03 00 C0 FB 20 72 04 03 00 7D E7 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 46 21 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 15 58 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 [18:57:02]wFMCommunicate OK [18:57:02]wFMCommunicate request_size=4 [18:57:02]MH_SAM_APDU [18:57:02]CAPDU: 80 17 00 00 [18:57:02]Write to MH i2c: E2 08 00 12 04 80 17 00 00 00 00 00 00 96 [18:57:02]Write i2c OK [18:57:02]MH_I2C_Read... [18:57:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [18:57:02]Read from MH i2c: E2 [18:57:02]MH_I2C_Read... [18:57:02]Read from MH i2c: E2 FD 00 [18:57:02]MH_I2C_Read... [18:57:02]Read from MH i2c: E2 FD 00 12 04 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 CB [18:57:03]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 [18:57:03]wFMCommunicate OK [18:57:03]wFMCommunicate request_size=4 [18:57:03]MH_SAM_APDU [18:57:03]CAPDU: 80 17 00 00 [18:57:03]Write to MH i2c: E2 08 00 13 04 80 17 00 00 00 00 00 00 97 [18:57:03]Write i2c OK [18:57:03]MH_I2C_Read... [18:57:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [18:57:03]Read from MH i2c: E2 [18:57:03]MH_I2C_Read... [18:57:03]Read from MH i2c: E2 FD 00 [18:57:03]MH_I2C_Read... [18:57:03]Read from MH i2c: E2 FD 00 13 04 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 57 [18:57:03]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 [18:57:03]wFMCommunicate OK [18:57:03]wFMCommunicate request_size=4 [18:57:03]MH_SAM_APDU [18:57:03]CAPDU: 80 17 00 00 [18:57:03]Write to MH i2c: E2 08 00 14 04 80 17 00 00 00 00 00 00 98 [18:57:03]Write i2c OK [18:57:03]MH_I2C_Read... [18:57:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [18:57:03]Read from MH i2c: E2 [18:57:03]MH_I2C_Read... [18:57:03]Read from MH i2c: E2 FD 00 [18:57:03]MH_I2C_Read... [18:57:03]Read from MH i2c: E2 FD 00 14 04 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 07 [18:57:03]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 [18:57:03]wFMCommunicate OK [18:57:03]wFMCommunicate request_size=4 [18:57:03]MH_SAM_APDU [18:57:03]CAPDU: 80 17 00 00 [18:57:03]Write to MH i2c: E2 08 00 15 04 80 17 00 00 00 00 00 00 99 [18:57:03]Write i2c OK [18:57:03]MH_I2C_Read... [18:57:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [18:57:03]Read from MH i2c: E2 [18:57:03]MH_I2C_Read... [18:57:03]Read from MH i2c: E2 D3 00 [18:57:03]MH_I2C_Read... [18:57:03]Read from MH i2c: E2 D3 00 15 04 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 86 [18:57:03]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 [18:57:03]wFMCommunicate OK [18:57:03]SAM_PROTO_GetShiftData done [18:57:03]requested_item shift.sale.total_cash is exist - process it [18:57:03]requested_item shift.sale_refund.total is exist - process it [18:57:03]requested_item shift.sale_refund.total_cash is exist - process it [18:57:03]produce_requested_data done [18:57:03]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57205,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":25485.41,"shift.sale.total_cash":21616.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [18:57:03]process_action_free close_receipt [18:57:03]json_value_free [18:57:03]json_value_free done [18:57:03]process_json_proto returns [18:57:03]Send response to host [18:57:03]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57205,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":25485.41,"shift.sale.total_cash":21616.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [18:57:03]free response buf [18:57:03]execute_script done [18:57:03]execute_script returns [18:57:03]free content buf [18:57:03]Sock 7.Close socket [18:57:03]Sock 7.Thread stoped [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:02:56]accept exits with 9 [19:02:56]New connection [19:02:56]New thread 3066871140 created [19:02:56]Thread 3067014500 joined [19:02:56]Waiting for new connection... [19:02:56] Sock 9.Parse request [19:02:56]Sock 9.Check first char [19:02:56]Sock 9.First char is OK [19:02:56]request: POST /json_proto HTTP/1.0 [19:02:56]Method: POST [19:02:56]URL: /json_proto [19:02:56]Method is POST - this is cgi request [19:02:56]url: /json_proto [19:02:56]query_string will be loaded in cgi processing [19:02:56]execute_cgi json_proto POST (null) [19:02:56]execute_cgi path=json_proto method=POST [19:02:56]POST find Content-Length [19:02:56]Host: 172.17.39.4:8080 [19:02:56]Content-Length: 744 [19:02:56]Content-Type: application/json [19:02:56] [19:02:56]POST finish read [19:02:56]Found Content-Length = 744 [19:02:56]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129652", "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 }]} ], "payments": [ { "type": 0, "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" ] } } [19:02:56]execute_script... [19:02: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)129652", "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 }]} ], "payments": [ { "type": 0, "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" ] } } [19:02:56]POST & json_proto [19:02:56]process_json_proto [19:02:56]json parsed OK: [19:02:56]protocol is kg_v1.0 [19:02:56]action value=close_receipt [19:02:56]process_action close_receipt [19:02:56]cmd_close_receipt [19:02:56]MH_GetDate [19:02:56]Write to MH i2c: F0 00 00 16 04 09 [19:02:56]Write i2c OK [19:02:56]MH_I2C_Read... [19:02:56]Read from MH i2c: F0 [19:02:56]MH_I2C_Read... [19:02:56]Read from MH i2c: F0 09 00 [19:02:56]MH_I2C_Read... [19:02:56]Read from MH i2c: F0 09 00 16 04 00 61 72 95 66 2D 25 5D 64 F3 [19:02:56]GetLastDocTimeStamp 1721069819 [19:02:56]current date 1721070177 [19:02:56]FM_GetShiftState [19:02:56]SAM_PROTO_GetShiftState [19:02:56]wFMCommunicate request_size=4 [19:02:56]MH_SAM_APDU [19:02:56]CAPDU: 80 13 01 00 [19:02:56]Write to MH i2c: E2 08 00 17 04 80 13 01 00 00 00 00 00 98 [19:02:56]Write i2c OK [19:02:56]MH_I2C_Read... [19:02:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:02:56]Read from MH i2c: E2 [19:02:56]MH_I2C_Read... [19:02:56]Read from MH i2c: E2 0E 00 [19:02:56]MH_I2C_Read... [19:02:56]Read from MH i2c: E2 0E 00 17 04 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 11 [19:02:56]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [19:02:56]wFMCommunicate OK [19:02:56]SAM_PROTO_GetShiftState done [19:02:56]FM_GetShiftState done [19:02:56]opened in 1721003525 [19:02:56]opened+sec_in_day 1721089925 [19:02:56]quantity*price = 18000 [19:02:56]sum+1 = 18001 [19:02:56]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 180.00 НСП 1% : 1.59 НДС 12% : 19.11 Наличными: 180.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 101 15.07.2024 19:02 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57206 ФПД: 243207075585744 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T190257&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57206&fm=243207075585744&tin=02508201610067®Number=0000000000091208&sum=18000 0 [19:02:58]StoreToDocumentArchive [19:02:58]shift 497 fd 57206 [19:02:58]save to /storage/0497/doc_00057206 [19:02:58]save last doc name /storage/0497/doc_00057206 to /storage/kkm_last_doc_name [19:02:58]save OK [19:02:58]Clear old archive folders... [19:02:58]ProcessDocumentItem done err = 0, tmpTLVsize=272 [19:02:58]tlvbuf is 008682A0 [19:02:58]SAM_PROTO_ClearQueue [19:02:58]wFMCommunicate request_size=4 [19:02:58]MH_SAM_APDU [19:02:58]CAPDU: 80 09 00 00 [19:02:58]Write to MH i2c: E2 08 00 24 04 80 09 00 00 00 00 00 00 9A [19:02:58]Write i2c OK [19:02:58]MH_I2C_Read... [19:02:58]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:02:58]Read from MH i2c: E2 [19:02:58]MH_I2C_Read... [19:02:58]Read from MH i2c: E2 03 00 [19:02:58]MH_I2C_Read... [19:02:58]Read from MH i2c: E2 03 00 24 04 00 90 00 9C [19:02:58]RAPDU: 90 00 [19:02:58]wFMCommunicate OK [19:02:58]SAM_PROTO_ClearQueue done [19:02:58]KKMCreateOFDPacket [19:02:58]OFDProtocolAddRootSTLVToBuf [19:02:58]FM_MakeSignedData [19:02:58]FM_MakeSignedData [19:02:58]SAM_PROTO_SignData [19:02:58]wFMCommunicate request_size=4 [19:02:58]MH_SAM_APDU [19:02:58]CAPDU: 80 0D 01 02 [19:02:58]Write to MH i2c: E2 08 00 25 04 80 0D 01 02 00 00 00 00 A2 [19:02:58]Write i2c OK [19:02:58]MH_I2C_Read... [19:02:58]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:02:58]Read from MH i2c: E2 [19:02:58]MH_I2C_Read... [19:02:58]Read from MH i2c: E2 03 00 [19:02:58]MH_I2C_Read... [19:02:58]Read from MH i2c: E2 03 00 25 04 00 90 00 9D [19:02:58]RAPDU: 90 00 [19:02:58]wFMCommunicate OK [19:02:58]wFMCommunicate request_size=255 [19:02:58]MH_SAM_APDU [19:02:58]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 50 46 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 65 00 00 00 F4 03 04 00 61 72 95 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 [19:02:58]Write to MH i2c: E2 02 01 26 04 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 50 46 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 65 00 00 00 F4 03 04 00 61 72 95 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 9F [19:02:58]Write i2c OK [19:02:58]MH_I2C_Read... [19:02:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:02:58]Read from MH i2c: E2 [19:02:58]MH_I2C_Read... [19:02:58]Read from MH i2c: E2 03 00 [19:02:58]MH_I2C_Read... [19:02:58]Read from MH i2c: E2 03 00 26 04 00 90 00 9E [19:02:58]RAPDU: 90 00 [19:02:58]wFMCommunicate OK [19:02:58]wFMCommunicate request_size=31 [19:02:58]MH_SAM_APDU [19:02:58]CAPDU: 80 0D 02 02 1A 30 30 38 37 34 38 35 37 10 04 04 00 76 DF 00 00 35 04 06 00 DD 32 0F 58 DE D0 [19:02:58]Write to MH i2c: E2 22 00 27 04 80 0D 02 02 1A 00 30 30 38 37 34 38 35 37 10 04 04 00 76 DF 00 00 35 04 06 00 DD 32 0F 58 DE D0 00 00 50 [19:02:58]Write i2c OK [19:02:58]MH_I2C_Read... [19:02:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:02:58]Read from MH i2c: E2 [19:02:58]MH_I2C_Read... [19:02:58]Read from MH i2c: E2 03 00 [19:02:58]MH_I2C_Read... [19:02:58]Read from MH i2c: E2 03 00 27 04 00 90 00 9F [19:02:58]RAPDU: 90 00 [19:02:58]wFMCommunicate OK [19:02:58]wFMCommunicate request_size=4 [19:02:58]MH_SAM_APDU [19:02:58]CAPDU: 80 0D 03 02 [19:02:58]Write to MH i2c: E2 08 00 28 04 80 0D 03 02 00 00 00 00 A7 [19:02:58]Write i2c OK [19:02:58]MH_I2C_Read... [19:02:58]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:02:58]Read from MH i2c: E2 [19:02:58]MH_I2C_Read... [19:02:58]Read from MH i2c: E2 0B 00 [19:02:58]MH_I2C_Read... [19:02:58]Read from MH i2c: E2 0B 00 28 04 00 A3 62 8E AA 39 E8 BE 68 90 00 2C [19:02:58]RAPDU: A3 62 8E AA 39 E8 BE 68 90 00 [19:02:58]wFMCommunicate OK [19:02:58]SAM_PROTO_SignData done [19:02:58]FM_MakeSignedData done [19:02:58]CreateOFDProtocolMessage [19:02:58]wFMCommunicate request_size=4 [19:02:58]MH_SAM_APDU [19:02:58]CAPDU: 80 11 00 00 [19:02:58]Write to MH i2c: E2 08 00 29 04 80 11 00 00 00 00 00 00 A7 [19:02:58]Write i2c OK [19:02:58]MH_I2C_Read... [19:02:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:02:58]Read from MH i2c: E2 [19:02:58]MH_I2C_Read... [19:02:58]Read from MH i2c: E2 17 00 [19:02:58]MH_I2C_Read... [19:02:58]Read from MH i2c: E2 17 00 29 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 01 [19:02:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [19:02:58]wFMCommunicate OK [19:02:58]CreateOFDProtocolMessage done [19:02:58]OFDSenderStorePacket 57206 [19:02:58]StoreOFDPacket docnum=57206 [19:02: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 24 01 00 00 0D 48 1C 01 5E 22 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 50 46 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 65 00 00 00 F4 03 04 00 61 72 95 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 76 DF 00 00 35 04 06 00 DD 32 0F 58 DE D0 A3 62 8E AA 39 E8 BE 68 [19:02:58]CheckFolder [19:02:58]dirname=/storage/ofd_packets [19:02:58]CheckFolder done [19:02:58]ProducePacketName [19:02:58]name=ofd_packets/00057206 [19:02:58]NVStorageSaveData ofd_packets/00057206 [19:02:58]File name is /storage/ofd_packets/00057206 [19:02:58]Write 322 bytes [19:02:58]NVStorageSaveData done [19:02:58]OFDSenderStorePacket done [19:02:58]KKMCreateOFDPacket done [19:02:58]NVStorageSaveData kkm_last_timestamp [19:02:58]File name is /storage/kkm_last_timestamp [19:02:58]Write 4 bytes [19:02:58]NVStorageSaveData done [19:02:58]ExternCall_PrintAddStr [19:02:58]wPrintStart [19:02:58]Write to MH i2c: 01 00 00 2A 04 2E [19:02:58]Write i2c OK [19:02:58]MH_I2C_Read... [19:02:58]Read from MH i2c: 01 [19:02:58]MH_I2C_Read... [19:02:58]Read from MH i2c: 01 07 00 [19:02:58]MH_I2C_Read... [19:02:58]Read from MH i2c: 01 07 00 2A 04 00 00 00 00 00 FF 0F 43 [19:02:58]RasterBufferAndPrint [19:02:58]line Счет N : (3)129652 [19:02:58]line ИНН: 02508201610067 [19:02:58]line Контрольно-Кассовый Чек [19:02:58]line ПРОДАЖА [19:02:58]line Товар: 4700000480517 [19:02:58]line Пиво Живое 1л ПЭТ [19:02:58]line 1.000 * 180.00 [19:02:58]line = 180.00 [19:02:58]line НДС 12% НСП 1% [19:02:58]line > о реализуемом товаре [19:02:58]line ИТОГО: 180.00 [19:02:58]line НСП 1% : 1.59 [19:02:58]line НДС 12% : 19.11 [19:02:58]line Наличными: 180.00 [19:02:58]line Безнал.: 0.00 [19:02:58]line Место: АЗС № 132 "Партнер Нефть" [19:02:58]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [19:02:58]line СНО: Общий режим [19:02:58]line Чек 101 15.07.2024 19:02 [19:02:58]line Смена: 497 ФФД: 1.0 [19:02:58]line ЗНМ: 0300000132 [19:02:58]line РНМ: 0000000000091208 [19:02:58]line Версия ККМ: 001 [19:02:58]line ФМ: 0000000000874857 [19:02:58]line ФД: 57206 [19:02:58]line ФПД: 243207075585744 [19:02:58]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T190257&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57206&fm=243207075585744&tin=02508201610067®Number=0000000000091208&sum=18000 [19:02:58]line 0 [19:02:58]written 0, free lines is 4095 [19:02:58]OFD Sender: Processing packet 57206 [packets to send 38, broken 37] [19:02:58]ProducePacketName [19:02:58]name=ofd_packets/00057206 [19:02:58]OFD Sender: To server: pG, [19:02:58]CommunicateWithHost lk.salyk.kg:30040 [19:02:58]ConnectInit lk.salyk.kg [19:02:58]Connected sock=10 [19:02: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 24 01 00 00 0D 48 1C 01 5E 22 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 50 46 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 65 00 00 00 F4 03 04 00 61 72 95 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 76 DF 00 00 35 04 06 00 DD 32 0F 58 DE D0 A3 62 8E AA 39 E8 BE 68 [19:02: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 33 52 47 00 06 FC A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 76 DF 00 00 F4 03 04 00 AF 18 95 66 B6 04 01 00 00 56 C3 CA A1 B4 AC 86 EC [19:02:59]CommunicateWithHost err = 0 [19:02:59]CheckOFDResponse [19:02:59]1017 (14) - 77093643461234 [19:02:59]1041 (16) - 0000000000874857 [19:02:59]1040 (4) - 57206 [19:02:59]1012 (4) - 15.07.2024 12:40 [19:02:59]1206 (1) - 0 [19:02:59]OFD Sender: Remove packet 57206 [19:02:59]ProducePacketName [19:02:59]name=ofd_packets/00057206 [19:02:59]NVStorageDeleteData [19:02:59]Write to MH i2c: 01 00 00 52 04 56 [19:02:59]Write i2c OK [19:02:59]MH_I2C_Read... [19:02:59]Read from MH i2c: 01 [19:02:59]MH_I2C_Read... [19:02:59]Read from MH i2c: 01 07 00 [19:02:59]MH_I2C_Read... [19:02:59]Read from MH i2c: 01 07 00 52 04 00 00 00 00 00 00 0D 6A [19:02:59]RasterBufferAndPrint [19:02:59]line [19:02:59]line [19:02:59]line [19:02:59]line [19:02:59]line [19:02:59]written 0, free lines is 3334 [19:02:59]MH_Cut [19:02:59]Write to MH i2c: D1 01 00 59 04 01 2F [19:02:59]Write i2c OK [19:02:59]MH_I2C_Read... [19:02:59]Read from MH i2c: D1 [19:02:59]MH_I2C_Read... [19:02:59]Read from MH i2c: D1 01 00 [19:02:59]MH_I2C_Read... [19:02:59]Read from MH i2c: D1 01 00 59 04 00 2E [19:02:59]Write to MH i2c: 01 00 00 5A 04 5E [19:02:59]Write i2c OK [19:02:59]MH_I2C_Read... [19:02:59]OFD Sender: No OFD packet to send [19:02:59]*** Cut start [19:02:59]*** Partial cut [19:02:59]*** CUTSNS_PIN = 1 [19:02:59]*** CUTSNS_PIN = 0 [19:03:00]*** Brake cut motor [19:03:00]Read from MH i2c: 01 [19:03:00]MH_I2C_Read... [19:03:00]*** Stop cut motor [19:03:00]*** Cut end [19:03:00]Read from MH i2c: 01 07 00 [19:03:00]MH_I2C_Read... [19:03:00]Read from MH i2c: 01 07 00 5A 04 00 00 00 00 00 FF 0F 73 [19:03:00]process_action close_receipt done [19:03:00]requested_data is exist [19:03:00]produce_requested_data [19:03:00]requested_item fm.sn is exist - process it [19:03:00]wFMCommunicate request_size=4 [19:03:00]MH_SAM_APDU [19:03:00]CAPDU: 80 11 00 00 [19:03:00]Write to MH i2c: E2 08 00 5B 04 80 11 00 00 00 00 00 00 D9 [19:03:00]Write i2c OK [19:03:00]MH_I2C_Read... [19:03:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:03:00]Read from MH i2c: E2 [19:03:00]MH_I2C_Read... [19:03:00]Read from MH i2c: E2 17 00 [19:03:00]MH_I2C_Read... [19:03:00]Read from MH i2c: E2 17 00 5B 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 33 [19:03:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [19:03:00]wFMCommunicate OK [19:03:00]requested_item fd.num is exist - process it [19:03:00]SAM_PROTO_GetFieldsCounters [19:03:00]wFMCommunicate request_size=4 [19:03:00]MH_SAM_APDU [19:03:00]CAPDU: 80 13 00 00 [19:03:00]Write to MH i2c: E2 08 00 5C 04 80 13 00 00 00 00 00 00 DC [19:03:00]Write i2c OK [19:03:00]MH_I2C_Read... [19:03:00]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:03:00]Read from MH i2c: E2 [19:03:00]MH_I2C_Read... [19:03:00]Read from MH i2c: E2 62 00 [19:03:00]MH_I2C_Read... [19:03:00]Read from MH i2c: E2 62 00 5C 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 76 DF 00 00 0E 04 04 00 F1 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 75 [19:03: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 76 DF 00 00 0E 04 04 00 F1 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 [19:03:00]wFMCommunicate OK [19:03:00]SAM_PROTO_GetFieldsCounters done [19:03:00]requested_item shift.num is exist - process it [19:03:00]requested_item shift.opened is exist - process it [19:03:00]req_shift_opened [19:03:00]FM_GetShiftState [19:03:00]SAM_PROTO_GetShiftState [19:03:00]wFMCommunicate request_size=4 [19:03:00]MH_SAM_APDU [19:03:00]CAPDU: 80 13 01 00 [19:03:00]Write to MH i2c: E2 08 00 5D 04 80 13 01 00 00 00 00 00 DE [19:03:00]Write i2c OK [19:03:00]MH_I2C_Read... [19:03:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:03:00]Read from MH i2c: E2 [19:03:00]MH_I2C_Read... [19:03:00]Read from MH i2c: E2 0E 00 [19:03:00]MH_I2C_Read... [19:03:00]Read from MH i2c: E2 0E 00 5D 04 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 57 [19:03:00]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [19:03:00]wFMCommunicate OK [19:03:00]SAM_PROTO_GetShiftState done [19:03:00]FM_GetShiftState done [19:03:00]req_shift_opened done [19:03:00]requested_item shift.open_date is exist - process it [19:03:00]req_shift_open_date [19:03:00]req_shift_open_date done [19:03:00]requested_item shift.sale.total is exist - process it [19:03:00]SAM_PROTO_GetShiftData [19:03:00]wFMCommunicate request_size=4 [19:03:00]MH_SAM_APDU [19:03:00]CAPDU: 80 13 02 00 [19:03:00]Write to MH i2c: E2 08 00 5E 04 80 13 02 00 00 00 00 00 E0 [19:03:00]Write i2c OK [19:03:00]MH_I2C_Read... [19:03:01]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [19:03:01]Read from MH i2c: E2 [19:03:01]MH_I2C_Read... [19:03:01]Read from MH i2c: E2 FD 00 [19:03:01]MH_I2C_Read... [19:03:01]Read from MH i2c: E2 FD 00 5E 04 00 B6 04 AA 04 B2 04 6E 04 04 00 65 00 00 00 69 04 9B 00 6F 04 04 00 64 00 00 00 B1 04 03 00 8D 29 27 70 04 03 00 10 42 21 72 04 03 00 7D E7 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 BD 28 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 B4 58 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 B9 [19:03:01]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 65 00 00 00 69 04 9B 00 6F 04 04 00 64 00 00 00 B1 04 03 00 8D 29 27 70 04 03 00 10 42 21 72 04 03 00 7D E7 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 BD 28 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 B4 58 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 [19:03:01]wFMCommunicate OK [19:03:01]wFMCommunicate request_size=4 [19:03:01]MH_SAM_APDU [19:03:01]CAPDU: 80 17 00 00 [19:03:01]Write to MH i2c: E2 08 00 5F 04 80 17 00 00 00 00 00 00 E3 [19:03:01]Write i2c OK [19:03:01]MH_I2C_Read... [19:03:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [19:03:01]Read from MH i2c: E2 [19:03:01]MH_I2C_Read... [19:03:01]Read from MH i2c: E2 FD 00 [19:03:01]MH_I2C_Read... [19:03:01]Read from MH i2c: E2 FD 00 5F 04 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 18 [19:03:01]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 [19:03:01]wFMCommunicate OK [19:03:01]wFMCommunicate request_size=4 [19:03:01]MH_SAM_APDU [19:03:01]CAPDU: 80 17 00 00 [19:03:01]Write to MH i2c: E2 08 00 60 04 80 17 00 00 00 00 00 00 E4 [19:03:01]Write i2c OK [19:03:01]MH_I2C_Read... [19:03:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [19:03:01]Read from MH i2c: E2 [19:03:01]MH_I2C_Read... [19:03:01]Read from MH i2c: E2 FD 00 [19:03:01]MH_I2C_Read... [19:03:01]Read from MH i2c: E2 FD 00 60 04 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 A4 [19:03:01]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 [19:03:01]wFMCommunicate OK [19:03:01]wFMCommunicate request_size=4 [19:03:01]MH_SAM_APDU [19:03:01]CAPDU: 80 17 00 00 [19:03:01]Write to MH i2c: E2 08 00 61 04 80 17 00 00 00 00 00 00 E5 [19:03:01]Write i2c OK [19:03:01]MH_I2C_Read... [19:03:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [19:03:01]Read from MH i2c: E2 [19:03:01]MH_I2C_Read... [19:03:01]Read from MH i2c: E2 FD 00 [19:03:01]MH_I2C_Read... [19:03:01]Read from MH i2c: E2 FD 00 61 04 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 54 [19:03:02]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 [19:03:02]wFMCommunicate OK [19:03:02]wFMCommunicate request_size=4 [19:03:02]MH_SAM_APDU [19:03:02]CAPDU: 80 17 00 00 [19:03:02]Write to MH i2c: E2 08 00 62 04 80 17 00 00 00 00 00 00 E6 [19:03:02]Write i2c OK [19:03:02]MH_I2C_Read... [19:03:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [19:03:02]Read from MH i2c: E2 [19:03:02]MH_I2C_Read... [19:03:02]Read from MH i2c: E2 D3 00 [19:03:02]MH_I2C_Read... [19:03:02]Read from MH i2c: E2 D3 00 62 04 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 D3 [19:03:02]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 [19:03:02]wFMCommunicate OK [19:03:02]SAM_PROTO_GetShiftData done [19:03:02]requested_item shift.sale.total_cash is exist - process it [19:03:02]requested_item shift.sale_refund.total is exist - process it [19:03:02]requested_item shift.sale_refund.total_cash is exist - process it [19:03:02]produce_requested_data done [19:03:02]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57206,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":25665.41,"shift.sale.total_cash":21796.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [19:03:02]process_action_free close_receipt [19:03:02]json_value_free [19:03:02]json_value_free done [19:03:02]process_json_proto returns [19:03:02]Send response to host [19:03:02]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57206,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":25665.41,"shift.sale.total_cash":21796.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [19:03:02]free response buf [19:03:02]execute_script done [19:03:02]execute_script returns [19:03:02]free content buf [19:03:02]Sock 9.Close socket [19:03:02]Sock 9.Thread stoped [19:03:04]OFD Sender: No OFD packet to send [19:03:09]OFD Sender: No OFD packet to send [19:03:14]OFD Sender: No OFD packet to send [19:03:19]OFD Sender: No OFD packet to send [19:03:24]OFD Sender: No OFD packet to send [19:03:29]OFD Sender: No OFD packet to send [19:03:34]OFD Sender: No OFD packet to send [19:03:39]OFD Sender: No OFD packet to send [19:03:44]OFD Sender: No OFD packet to send [19:03:49]OFD Sender: No OFD packet to send [19:03:54]OFD Sender: No OFD packet to send [19:03:59]OFD Sender: No OFD packet to send [19:04:04]OFD Sender: No OFD packet to send [19:04:09]OFD Sender: No OFD packet to send [19:04:14]OFD Sender: No OFD packet to send [19:04:19]OFD Sender: No OFD packet to send [19:04:24]OFD Sender: No OFD packet to send [19:04:29]OFD Sender: No OFD packet to send [19:04:34]OFD Sender: No OFD packet to send [19:04:39]OFD Sender: No OFD packet to send [19:04:44]OFD Sender: No OFD packet to send [19:04:49]OFD Sender: No OFD packet to send [19:04:54]OFD Sender: No OFD packet to send [19:04:59]OFD Sender: No OFD packet to send [19:05:04]OFD Sender: No OFD packet to send [19:05:09]OFD Sender: No OFD packet to send [19:05:14]OFD Sender: No OFD packet to send [19:05:19]OFD Sender: No OFD packet to send [19:05:24]OFD Sender: No OFD packet to send [19:05:29]OFD Sender: No OFD packet to send [19:05:34]OFD Sender: No OFD packet to send [19:05:39]OFD Sender: No OFD packet to send [19:05:44]OFD Sender: No OFD packet to send [19:05:49]OFD Sender: No OFD packet to send [19:05:54]OFD Sender: No OFD packet to send [19:05:59]OFD Sender: No OFD packet to send [19:06:04]OFD Sender: No OFD packet to send [19:06:09]OFD Sender: No OFD packet to send [19:06:14]OFD Sender: No OFD packet to send [19:06:19]OFD Sender: No OFD packet to send [19:06:24]OFD Sender: No OFD packet to send [19:06:29]OFD Sender: No OFD packet to send [19:06:34]OFD Sender: No OFD packet to send [19:06:39]OFD Sender: No OFD packet to send [19:06:44]OFD Sender: No OFD packet to send [19:06:49]OFD Sender: No OFD packet to send [19:06:54]OFD Sender: No OFD packet to send [19:06:59]OFD Sender: No OFD packet to send [19:07:04]OFD Sender: No OFD packet to send [19:07:09]OFD Sender: No OFD packet to send [19:07:14]OFD Sender: No OFD packet to send [19:07:19]OFD Sender: No OFD packet to send [19:07:24]OFD Sender: No OFD packet to send [19:07:29]OFD Sender: No OFD packet to send [19:07:34]OFD Sender: No OFD packet to send [19:07:39]OFD Sender: No OFD packet to send [19:07:44]OFD Sender: No OFD packet to send [19:07:49]OFD Sender: No OFD packet to send [19:07:54]OFD Sender: No OFD packet to send [19:07:59]OFD Sender: No OFD packet to send [19:08:04]OFD Sender: No OFD packet to send [19:08:09]OFD Sender: No OFD packet to send [19:08:14]OFD Sender: No OFD packet to send [19:08:19]OFD Sender: No OFD packet to send [19:08:24]OFD Sender: No OFD packet to send [19:08:29]OFD Sender: No OFD packet to send [19:08:34]OFD Sender: No OFD packet to send [19:08:39]OFD Sender: No OFD packet to send [19:08:44]OFD Sender: No OFD packet to send [19:08:49]OFD Sender: No OFD packet to send [19:08:54]OFD Sender: No OFD packet to send [19:08:59]OFD Sender: No OFD packet to send [19:09:04]OFD Sender: No OFD packet to send [19:09:09]OFD Sender: No OFD packet to send [19:09:14]OFD Sender: No OFD packet to send [19:09:19]OFD Sender: No OFD packet to send [19:09:21]accept exits with 7 [19:09:21]New connection [19:09:21]New thread 3067014500 created [19:09:21]Thread 3066871140 joined [19:09:21]Waiting for new connection... [19:09:21] Sock 7.Parse request [19:09:21]Sock 7.Check first char [19:09:21]Sock 7.First char is OK [19:09:21]request: POST /json_proto HTTP/1.0 [19:09:21]Method: POST [19:09:21]URL: /json_proto [19:09:21]Method is POST - this is cgi request [19:09:21]url: /json_proto [19:09:21]query_string will be loaded in cgi processing [19:09:21]execute_cgi json_proto POST (null) [19:09:21]execute_cgi path=json_proto method=POST [19:09:21]POST find Content-Length [19:09:21]Host: 172.17.39.4:8080 [19:09:21]Content-Length: 884 [19:09:21]Content-Type: application/json [19:09:21] [19:09:21]POST finish read [19:09:21]Found Content-Length = 884 [19:09:21]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129653", "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 }]} ], "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" : 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" ] } } [19:09:21]execute_script... [19:09: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)129653", "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 }]} ], "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" : 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" ] } } [19:09:21]POST & json_proto [19:09:21]process_json_proto [19:09:21]json parsed OK: [19:09:21]protocol is kg_v1.0 [19:09:21]action value=close_receipt [19:09:21]process_action close_receipt [19:09:21]cmd_close_receipt [19:09:21]MH_GetDate [19:09:21]Write to MH i2c: F0 00 00 63 04 56 [19:09:21]Write i2c OK [19:09:21]MH_I2C_Read... [19:09:21]Read from MH i2c: F0 [19:09:21]MH_I2C_Read... [19:09:21]Read from MH i2c: F0 09 00 [19:09:21]MH_I2C_Read... [19:09:21]Read from MH i2c: F0 09 00 63 04 00 E2 73 95 66 2D 25 5D 64 C2 [19:09:21]GetLastDocTimeStamp 1721070177 [19:09:21]current date 1721070562 [19:09:21]FM_GetShiftState [19:09:21]SAM_PROTO_GetShiftState [19:09:21]wFMCommunicate request_size=4 [19:09:21]MH_SAM_APDU [19:09:21]CAPDU: 80 13 01 00 [19:09:21]Write to MH i2c: E2 08 00 64 04 80 13 01 00 00 00 00 00 E5 [19:09:21]Write i2c OK [19:09:21]MH_I2C_Read... [19:09:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:09:21]Read from MH i2c: E2 [19:09:21]MH_I2C_Read... [19:09:21]Read from MH i2c: E2 0E 00 [19:09:21]MH_I2C_Read... [19:09:21]Read from MH i2c: E2 0E 00 64 04 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 5E [19:09:21]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [19:09:21]wFMCommunicate OK [19:09:21]SAM_PROTO_GetShiftState done [19:09:21]FM_GetShiftState done [19:09:21]opened in 1721003525 [19:09:21]opened+sec_in_day 1721089925 [19:09:21]quantity*price = 21000 [19:09:21]sum+1 = 21001 [19:09:21]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 210.00 НСП 1% : 1.86 НДС 12% : 22.30 Наличными: 0.00 Безнал.: 210.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 102 15.07.2024 19:09 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 Платежная система: О! деньги ФМ: 0000000000874857 ФД: 57207 ФПД: 177198402234974 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T190922&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57207&fm=177198402234974&tin=02508201610067®Number=0000000000091208&sum=21000 0 [19:09:22]StoreToDocumentArchive [19:09:22]shift 497 fd 57207 [19:09:22]save to /storage/0497/doc_00057207 [19:09:22]save last doc name /storage/0497/doc_00057207 to /storage/kkm_last_doc_name [19:09:22]save OK [19:09:22]Clear old archive folders... [19:09:22]ProcessDocumentItem done err = 0, tmpTLVsize=266 [19:09:22]tlvbuf is 00867BE0 [19:09:22]SAM_PROTO_ClearQueue [19:09:22]wFMCommunicate request_size=4 [19:09:22]MH_SAM_APDU [19:09:22]CAPDU: 80 09 00 00 [19:09:22]Write to MH i2c: E2 08 00 71 04 80 09 00 00 00 00 00 00 E7 [19:09:22]Write i2c OK [19:09:22]MH_I2C_Read... [19:09:23]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:09:23]Read from MH i2c: E2 [19:09:23]MH_I2C_Read... [19:09:23]Read from MH i2c: E2 03 00 [19:09:23]MH_I2C_Read... [19:09:23]Read from MH i2c: E2 03 00 71 04 00 90 00 E9 [19:09:23]RAPDU: 90 00 [19:09:23]wFMCommunicate OK [19:09:23]SAM_PROTO_ClearQueue done [19:09:23]KKMCreateOFDPacket [19:09:23]OFDProtocolAddRootSTLVToBuf [19:09:23]FM_MakeSignedData [19:09:23]FM_MakeSignedData [19:09:23]SAM_PROTO_SignData [19:09:23]wFMCommunicate request_size=4 [19:09:23]MH_SAM_APDU [19:09:23]CAPDU: 80 0D 01 02 [19:09:23]Write to MH i2c: E2 08 00 72 04 80 0D 01 02 00 00 00 00 EF [19:09:23]Write i2c OK [19:09:23]MH_I2C_Read... [19:09:23]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:09:23]Read from MH i2c: E2 [19:09:23]MH_I2C_Read... [19:09:23]Read from MH i2c: E2 03 00 [19:09:23]MH_I2C_Read... [19:09:23]Read from MH i2c: E2 03 00 72 04 00 90 00 EA [19:09:23]RAPDU: 90 00 [19:09:23]wFMCommunicate OK [19:09:23]wFMCommunicate request_size=255 [19:09:23]MH_SAM_APDU [19:09:23]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 00 00 00 00 00 00 39 04 06 00 08 52 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 66 00 00 00 F4 03 04 00 E2 73 95 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 [19:09:23]Write to MH i2c: E2 02 01 73 04 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 00 00 00 00 00 00 39 04 06 00 08 52 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 66 00 00 00 F4 03 04 00 E2 73 95 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 76 [19:09:23]Write i2c OK [19:09:23]MH_I2C_Read... [19:09:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:09:23]Read from MH i2c: E2 [19:09:23]MH_I2C_Read... [19:09:23]Read from MH i2c: E2 03 00 [19:09:23]MH_I2C_Read... [19:09:23]Read from MH i2c: E2 03 00 73 04 00 90 00 EB [19:09:23]RAPDU: 90 00 [19:09:23]wFMCommunicate OK [19:09:23]wFMCommunicate request_size=25 [19:09:23]MH_SAM_APDU [19:09:23]CAPDU: 80 0D 02 02 14 35 37 10 04 04 00 77 DF 00 00 35 04 06 00 A1 29 37 D1 EA 5E [19:09:23]Write to MH i2c: E2 1C 00 74 04 80 0D 02 02 14 00 35 37 10 04 04 00 77 DF 00 00 35 04 06 00 A1 29 37 D1 EA 5E 00 00 4D [19:09:23]Write i2c OK [19:09:23]MH_I2C_Read... [19:09:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:09:23]Read from MH i2c: E2 [19:09:23]MH_I2C_Read... [19:09:23]Read from MH i2c: E2 03 00 [19:09:23]MH_I2C_Read... [19:09:23]Read from MH i2c: E2 03 00 74 04 00 90 00 EC [19:09:23]RAPDU: 90 00 [19:09:23]wFMCommunicate OK [19:09:23]wFMCommunicate request_size=4 [19:09:23]MH_SAM_APDU [19:09:23]CAPDU: 80 0D 03 02 [19:09:23]Write to MH i2c: E2 08 00 75 04 80 0D 03 02 00 00 00 00 F4 [19:09:23]Write i2c OK [19:09:23]MH_I2C_Read... [19:09:23]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:09:23]Read from MH i2c: E2 [19:09:23]MH_I2C_Read... [19:09:23]Read from MH i2c: E2 0B 00 [19:09:23]MH_I2C_Read... [19:09:23]Read from MH i2c: E2 0B 00 75 04 00 BC 63 27 26 77 31 71 B6 90 00 30 [19:09:23]RAPDU: BC 63 27 26 77 31 71 B6 90 00 [19:09:23]wFMCommunicate OK [19:09:23]SAM_PROTO_SignData done [19:09:23]FM_MakeSignedData done [19:09:23]CreateOFDProtocolMessage [19:09:23]wFMCommunicate request_size=4 [19:09:23]MH_SAM_APDU [19:09:23]CAPDU: 80 11 00 00 [19:09:23]Write to MH i2c: E2 08 00 76 04 80 11 00 00 00 00 00 00 F4 [19:09:23]Write i2c OK [19:09:23]MH_I2C_Read... [19:09:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:09:23]Read from MH i2c: E2 [19:09:23]MH_I2C_Read... [19:09:23]Read from MH i2c: E2 17 00 [19:09:23]MH_I2C_Read... [19:09:23]Read from MH i2c: E2 17 00 76 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 4E [19:09:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [19:09:23]wFMCommunicate OK [19:09:23]CreateOFDProtocolMessage done [19:09:23]OFDSenderStorePacket 57207 [19:09:23]StoreOFDPacket docnum=57207 [19:09: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 1E 01 00 00 B6 60 16 01 75 47 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 00 00 00 00 00 00 39 04 06 00 08 52 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 66 00 00 00 F4 03 04 00 E2 73 95 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 77 DF 00 00 35 04 06 00 A1 29 37 D1 EA 5E BC 63 27 26 77 31 71 B6 [19:09:23]CheckFolder [19:09:23]dirname=/storage/ofd_packets [19:09:23]CheckFolder done [19:09:23]ProducePacketName [19:09:23]name=ofd_packets/00057207 [19:09:23]NVStorageSaveData ofd_packets/00057207 [19:09:23]File name is /storage/ofd_packets/00057207 [19:09:23]Write 316 bytes [19:09:23]NVStorageSaveData done [19:09:23]OFDSenderStorePacket done [19:09:23]KKMCreateOFDPacket done [19:09:23]NVStorageSaveData kkm_last_timestamp [19:09:23]File name is /storage/kkm_last_timestamp [19:09:23]Write 4 bytes [19:09:23]NVStorageSaveData done [19:09:23]ExternCall_PrintAddStr [19:09:23]wPrintStart [19:09:23]Write to MH i2c: 01 00 00 77 04 7B [19:09:23]Write i2c OK [19:09:23]MH_I2C_Read... [19:09:23]Read from MH i2c: 01 [19:09:23]MH_I2C_Read... [19:09:23]Read from MH i2c: 01 07 00 [19:09:23]MH_I2C_Read... [19:09:23]Read from MH i2c: 01 07 00 77 04 00 00 00 00 00 FF 0F 90 [19:09:23]RasterBufferAndPrint [19:09:23]line Счет N : (3)129653 [19:09:23]line ИНН: 02508201610067 [19:09:23]line Контрольно-Кассовый Чек [19:09:23]line ПРОДАЖА [19:09:23]line Товар: 4870001570095 [19:09:23]line Напиток Pepsi 2л [19:09:23]line 1.000 * 210.00 [19:09:23]line = 210.00 [19:09:23]line НДС 12% НСП 1% [19:09:23]line > о реализуемом товаре [19:09:23]line ИТОГО: 210.00 [19:09:23]line НСП 1% : 1.86 [19:09:23]line НДС 12% : 22.30 [19:09:23]line Наличными: 0.00 [19:09:23]line Безнал.: 210.00 [19:09:23]line Место: АЗС № 132 "Партнер Нефть" [19:09:23]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [19:09:23]line СНО: Общий режим [19:09:23]line Чек 102 15.07.2024 19:09 [19:09:23]line Смена: 497 ФФД: 1.0 [19:09:23]line ЗНМ: 0300000132 [19:09:23]line РНМ: 0000000000091208 [19:09:23]line Версия ККМ: 001 [19:09:23]line Платежная система: О! деньги [19:09:23]line ФМ: 0000000000874857 [19:09:23]line ФД: 57207 [19:09:23]line ФПД: 177198402234974 [19:09:23]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T190922&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57207&fm=177198402234974&tin=02508201610067®Number=0000000000091208&sum=21000 [19:09:23]line 0 [19:09:23]OFD Sender: Processing packet 57207 [packets to send 38, broken 37] [19:09:23]ProducePacketName [19:09:23]name=ofd_packets/00057207 [19:09:23]OFD Sender: To server: pG, [19:09:23]CommunicateWithHost lk.salyk.kg:30040 [19:09:23]ConnectInit lk.salyk.kg [19:09:23]written 0, free lines is 4095 [19:09:23]Connected sock=10 [19:09:23]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 B6 60 16 01 75 47 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 00 00 00 00 00 00 39 04 06 00 08 52 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 66 00 00 00 F4 03 04 00 E2 73 95 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 77 DF 00 00 35 04 06 00 A1 29 37 D1 EA 5E BC 63 27 26 77 31 71 B6 [19:09: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 C5 C8 47 00 F9 53 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 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 77 DF 00 00 F4 03 04 00 30 1A 95 66 B6 04 01 00 00 50 94 E2 2A 61 23 8D 3E [19:09:24]CommunicateWithHost err = 0 [19:09:24]CheckOFDResponse [19:09:24]1017 (14) - 77093643461234 [19:09:24]1041 (16) - 0000000000874857 [19:09:24]1040 (4) - 57207 [19:09:24]1012 (4) - 15.07.2024 12:46 [19:09:24]1206 (1) - 0 [19:09:24]OFD Sender: Remove packet 57207 [19:09:24]ProducePacketName [19:09:24]name=ofd_packets/00057207 [19:09:24]NVStorageDeleteData [19:09:24]Write to MH i2c: 01 00 00 A1 04 A5 [19:09:24]Write i2c OK [19:09:24]MH_I2C_Read... [19:09:24]Read from MH i2c: 01 [19:09:24]MH_I2C_Read... [19:09:24]Read from MH i2c: 01 07 00 [19:09:24]MH_I2C_Read... [19:09:24]Read from MH i2c: 01 07 00 A1 04 00 00 00 00 00 ED 0C A5 [19:09:24]RasterBufferAndPrint [19:09:24]line [19:09:24]line [19:09:24]line [19:09:24]line [19:09:24]line [19:09:24]written 0, free lines is 3315 [19:09:24]MH_Cut [19:09:24]Write to MH i2c: D1 01 00 A8 04 01 7E [19:09:24]Write i2c OK [19:09:24]MH_I2C_Read... [19:09:24]Read from MH i2c: D1 [19:09:24]MH_I2C_Read... [19:09:24]Read from MH i2c: D1 01 00 [19:09:24]MH_I2C_Read... [19:09:24]Read from MH i2c: D1 01 00 A8 04 00 7D [19:09:24]Write to MH i2c: 01 00 00 A9 04 AD [19:09:24]Write i2c OK [19:09:24]MH_I2C_Read... [19:09:24]OFD Sender: No OFD packet to send [19:09:25]*** Cut start [19:09:25]*** Partial cut [19:09:25]*** CUTSNS_PIN = 1 [19:09:25]*** CUTSNS_PIN = 0 [19:09:25]*** Brake cut motor [19:09:25]Read from MH i2c: 01 [19:09:25]MH_I2C_Read... [19:09:25]*** Stop cut motor [19:09:25]*** Cut end [19:09:25]Read from MH i2c: 01 07 00 [19:09:25]MH_I2C_Read... [19:09:25]Read from MH i2c: 01 07 00 A9 04 00 00 00 00 00 FF 0F C2 [19:09:25]process_action close_receipt done [19:09:25]requested_data is exist [19:09:25]produce_requested_data [19:09:25]requested_item fm.sn is exist - process it [19:09:25]wFMCommunicate request_size=4 [19:09:25]MH_SAM_APDU [19:09:25]CAPDU: 80 11 00 00 [19:09:25]Write to MH i2c: E2 08 00 AA 04 80 11 00 00 00 00 00 00 28 [19:09:25]Write i2c OK [19:09:25]MH_I2C_Read... [19:09:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:09:25]Read from MH i2c: E2 [19:09:25]MH_I2C_Read... [19:09:25]Read from MH i2c: E2 17 00 [19:09:25]MH_I2C_Read... [19:09:25]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 [19:09:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [19:09:25]wFMCommunicate OK [19:09:25]requested_item fd.num is exist - process it [19:09:25]SAM_PROTO_GetFieldsCounters [19:09:25]wFMCommunicate request_size=4 [19:09:25]MH_SAM_APDU [19:09:25]CAPDU: 80 13 00 00 [19:09:25]Write to MH i2c: E2 08 00 AB 04 80 13 00 00 00 00 00 00 2B [19:09:25]Write i2c OK [19:09:25]MH_I2C_Read... [19:09:25]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:09:25]Read from MH i2c: E2 [19:09:25]MH_I2C_Read... [19:09:25]Read from MH i2c: E2 62 00 [19:09:25]MH_I2C_Read... [19:09:25]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 77 DF 00 00 0E 04 04 00 F1 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 C8 [19:09:25]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 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 77 DF 00 00 0E 04 04 00 F1 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 [19:09:25]wFMCommunicate OK [19:09:25]SAM_PROTO_GetFieldsCounters done [19:09:25]requested_item shift.num is exist - process it [19:09:25]requested_item shift.opened is exist - process it [19:09:25]req_shift_opened [19:09:25]FM_GetShiftState [19:09:25]SAM_PROTO_GetShiftState [19:09:25]wFMCommunicate request_size=4 [19:09:25]MH_SAM_APDU [19:09:25]CAPDU: 80 13 01 00 [19:09:25]Write to MH i2c: E2 08 00 AC 04 80 13 01 00 00 00 00 00 2D [19:09:25]Write i2c OK [19:09:25]MH_I2C_Read... [19:09:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:09:25]Read from MH i2c: E2 [19:09:25]MH_I2C_Read... [19:09:25]Read from MH i2c: E2 0E 00 [19:09:25]MH_I2C_Read... [19:09:25]Read from MH i2c: E2 0E 00 AC 04 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 A6 [19:09:25]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [19:09:25]wFMCommunicate OK [19:09:25]SAM_PROTO_GetShiftState done [19:09:25]FM_GetShiftState done [19:09:25]req_shift_opened done [19:09:25]requested_item shift.open_date is exist - process it [19:09:25]req_shift_open_date [19:09:25]req_shift_open_date done [19:09:25]requested_item shift.sale.total is exist - process it [19:09:25]SAM_PROTO_GetShiftData [19:09:25]wFMCommunicate request_size=4 [19:09:25]MH_SAM_APDU [19:09:25]CAPDU: 80 13 02 00 [19:09:25]Write to MH i2c: E2 08 00 AD 04 80 13 02 00 00 00 00 00 2F [19:09:25]Write i2c OK [19:09:25]MH_I2C_Read... [19:09:26]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [19:09:26]Read from MH i2c: E2 [19:09:26]MH_I2C_Read... [19:09:26]Read from MH i2c: E2 FD 00 [19:09:26]MH_I2C_Read... [19:09:26]Read from MH i2c: E2 FD 00 AD 04 00 B6 04 AA 04 B2 04 6E 04 04 00 66 00 00 00 69 04 9B 00 6F 04 04 00 65 00 00 00 B1 04 03 00 95 7B 27 70 04 03 00 10 42 21 72 04 03 00 85 39 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 73 31 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 6E 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 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 39 [19:09:26]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 66 00 00 00 69 04 9B 00 6F 04 04 00 65 00 00 00 B1 04 03 00 95 7B 27 70 04 03 00 10 42 21 72 04 03 00 85 39 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 73 31 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 6E 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 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 [19:09:26]wFMCommunicate OK [19:09:26]wFMCommunicate request_size=4 [19:09:26]MH_SAM_APDU [19:09:26]CAPDU: 80 17 00 00 [19:09:26]Write to MH i2c: E2 08 00 AE 04 80 17 00 00 00 00 00 00 32 [19:09:26]Write i2c OK [19:09:26]MH_I2C_Read... [19:09:26]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [19:09:26]Read from MH i2c: E2 [19:09:26]MH_I2C_Read... [19:09:26]Read from MH i2c: E2 FD 00 [19:09:26]MH_I2C_Read... [19:09:26]Read from MH i2c: E2 FD 00 AE 04 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 67 [19:09:26]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 [19:09:26]wFMCommunicate OK [19:09:26]wFMCommunicate request_size=4 [19:09:26]MH_SAM_APDU [19:09:26]CAPDU: 80 17 00 00 [19:09:26]Write to MH i2c: E2 08 00 AF 04 80 17 00 00 00 00 00 00 33 [19:09:26]Write i2c OK [19:09:26]MH_I2C_Read... [19:09:26]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [19:09:26]Read from MH i2c: E2 [19:09:26]MH_I2C_Read... [19:09:26]Read from MH i2c: E2 FD 00 [19:09:26]MH_I2C_Read... [19:09:26]Read from MH i2c: E2 FD 00 AF 04 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 F3 [19:09:26]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 [19:09:26]wFMCommunicate OK [19:09:26]wFMCommunicate request_size=4 [19:09:26]MH_SAM_APDU [19:09:26]CAPDU: 80 17 00 00 [19:09:26]Write to MH i2c: E2 08 00 B0 04 80 17 00 00 00 00 00 00 34 [19:09:26]Write i2c OK [19:09:26]MH_I2C_Read... [19:09:27]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [19:09:27]Read from MH i2c: E2 [19:09:27]MH_I2C_Read... [19:09:27]Read from MH i2c: E2 FD 00 [19:09:27]MH_I2C_Read... [19:09:27]Read from MH i2c: E2 FD 00 B0 04 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 A3 [19:09:27]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 [19:09:27]wFMCommunicate OK [19:09:27]wFMCommunicate request_size=4 [19:09:27]MH_SAM_APDU [19:09:27]CAPDU: 80 17 00 00 [19:09:27]Write to MH i2c: E2 08 00 B1 04 80 17 00 00 00 00 00 00 35 [19:09:27]Write i2c OK [19:09:27]MH_I2C_Read... [19:09:27]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [19:09:27]Read from MH i2c: E2 [19:09:27]MH_I2C_Read... [19:09:27]Read from MH i2c: E2 D3 00 [19:09:27]MH_I2C_Read... [19:09:27]Read from MH i2c: E2 D3 00 B1 04 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 22 [19:09:27]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 [19:09:27]wFMCommunicate OK [19:09:27]SAM_PROTO_GetShiftData done [19:09:27]requested_item shift.sale.total_cash is exist - process it [19:09:27]requested_item shift.sale_refund.total is exist - process it [19:09:27]requested_item shift.sale_refund.total_cash is exist - process it [19:09:27]produce_requested_data done [19:09:27]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57207,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":25875.41,"shift.sale.total_cash":21796.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [19:09:27]process_action_free close_receipt [19:09:27]json_value_free [19:09:27]json_value_free done [19:09:27]process_json_proto returns [19:09:27]Send response to host [19:09:27]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57207,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":25875.41,"shift.sale.total_cash":21796.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [19:09:27]free response buf [19:09:27]execute_script done [19:09:27]execute_script returns [19:09:27]free content buf [19:09:27]Sock 7.Close socket [19:09:27]Sock 7.Thread stoped [19:09:29]OFD Sender: No OFD packet to send [19:09:34]OFD Sender: No OFD packet to send [19:09:39]OFD Sender: No OFD packet to send [19:09:44]OFD Sender: No OFD packet to send [19:09:49]OFD Sender: No OFD packet to send [19:09:54]OFD Sender: No OFD packet to send [19:09:59]OFD Sender: No OFD packet to send [19:10:04]OFD Sender: No OFD packet to send [19:10:09]OFD Sender: No OFD packet to send [19:10:14]OFD Sender: No OFD packet to send [19:10:19]OFD Sender: No OFD packet to send [19:10:24]OFD Sender: No OFD packet to send [19:10:29]OFD Sender: No OFD packet to send [19:10:34]OFD Sender: No OFD packet to send [19:10:39]OFD Sender: No OFD packet to send [19:10:44]OFD Sender: No OFD packet to send [19:10:49]OFD Sender: No OFD packet to send [19:10:54]OFD Sender: No OFD packet to send [19:10:59]OFD Sender: No OFD packet to send [19:11:04]OFD Sender: No OFD packet to send [19:11:09]OFD Sender: No OFD packet to send [19:11:14]OFD Sender: No OFD packet to send [19:11:19]OFD Sender: No OFD packet to send [19:11:24]OFD Sender: No OFD packet to send [19:11:29]OFD Sender: No OFD packet to send [19:11:34]OFD Sender: No OFD packet to send [19:11:39]OFD Sender: No OFD packet to send [19:11:44]OFD Sender: No OFD packet to send [19:11:49]OFD Sender: No OFD packet to send [19:11:54]OFD Sender: No OFD packet to send [19:11:59]OFD Sender: No OFD packet to send [19:12:04]OFD Sender: No OFD packet to send [19:12:09]OFD Sender: No OFD packet to send [19:12:14]OFD Sender: No OFD packet to send [19:12:19]OFD Sender: No OFD packet to send [19:12:24]OFD Sender: No OFD packet to send [19:12:29]OFD Sender: No OFD packet to send [19:12:34]OFD Sender: No OFD packet to send [19:12:39]OFD Sender: No OFD packet to send [19:12:44]OFD Sender: No OFD packet to send [19:12:49]OFD Sender: No OFD packet to send [19:12:54]OFD Sender: No OFD packet to send [19:12:59]OFD Sender: No OFD packet to send [19:13:04]OFD Sender: No OFD packet to send [19:13:09]OFD Sender: No OFD packet to send [19:13:14]OFD Sender: No OFD packet to send [19:13:19]OFD Sender: No OFD packet to send [19:13:24]OFD Sender: No OFD packet to send [19:13:29]OFD Sender: No OFD packet to send [19:13:34]OFD Sender: No OFD packet to send [19:13:39]OFD Sender: No OFD packet to send [19:13:44]OFD Sender: No OFD packet to send [19:13:49]OFD Sender: No OFD packet to send [19:13:54]OFD Sender: No OFD packet to send [19:13:59]OFD Sender: No OFD packet to send [19:14:04]OFD Sender: No OFD packet to send [19:14:09]OFD Sender: No OFD packet to send [19:14:14]OFD Sender: No OFD packet to send [19:14:19]OFD Sender: No OFD packet to send [19:14:24]OFD Sender: No OFD packet to send [19:14:29]OFD Sender: No OFD packet to send [19:14:34]OFD Sender: No OFD packet to send [19:14:39]OFD Sender: No OFD packet to send [19:14:45]OFD Sender: No OFD packet to send [19:14:50]OFD Sender: No OFD packet to send [19:14:55]OFD Sender: No OFD packet to send [19:15:00]OFD Sender: No OFD packet to send [19:15:05]OFD Sender: No OFD packet to send [19:15:10]OFD Sender: No OFD packet to send [19:15:15]OFD Sender: No OFD packet to send [19:15:20]OFD Sender: No OFD packet to send [19:15:25]OFD Sender: No OFD packet to send [19:15:30]OFD Sender: No OFD packet to send [19:15:35]OFD Sender: No OFD packet to send [19:15:40]OFD Sender: No OFD packet to send [19:15:45]OFD Sender: No OFD packet to send [19:15:50]OFD Sender: No OFD packet to send [19:15:55]OFD Sender: No OFD packet to send [19:16:00]OFD Sender: No OFD packet to send [19:16:05]OFD Sender: No OFD packet to send [19:16:10]OFD Sender: No OFD packet to send [19:16:15]OFD Sender: No OFD packet to send [19:16:20]OFD Sender: No OFD packet to send [19:16:25]OFD Sender: No OFD packet to send [19:16:30]OFD Sender: No OFD packet to send [19:16:35]OFD Sender: No OFD packet to send [19:16:40]OFD Sender: No OFD packet to send [19:16:45]OFD Sender: No OFD packet to send [19:16:50]OFD Sender: No OFD packet to send [19:16:55]OFD Sender: No OFD packet to send [19:17:00]OFD Sender: No OFD packet to send [19:17:05]OFD Sender: No OFD packet to send [19:17:10]OFD Sender: No OFD packet to send [19:17:15]OFD Sender: No OFD packet to send [19:17:20]OFD Sender: No OFD packet to send [19:17:25]OFD Sender: No OFD packet to send [19:17:30]OFD Sender: No OFD packet to send [19:17:35]OFD Sender: No OFD packet to send [19:17:40]OFD Sender: No OFD packet to send [19:17:41]accept exits with 9 [19:17:41]New connection [19:17:41]New thread 3066871140 created [19:17:41]Thread 3067014500 joined [19:17:41]Waiting for new connection... [19:17:41] Sock 9.Parse request [19:17:41]Sock 9.Check first char [19:17:42]Sock 9.First char is OK [19:17:42]request: POST /json_proto HTTP/1.0 [19:17:42]Method: POST [19:17:42]URL: /json_proto [19:17:42]Method is POST - this is cgi request [19:17:42]url: /json_proto [19:17:42]query_string will be loaded in cgi processing [19:17:42]execute_cgi json_proto POST (null) [19:17:42]execute_cgi path=json_proto method=POST [19:17:42]POST find Content-Length [19:17:42]Host: 172.17.39.4:8080 [19:17:42]Content-Length: 1152 [19:17:42]Content-Type: application/json [19:17:42] [19:17:42]POST finish read [19:17:42]Found Content-Length = 1152 [19:17:42]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129654", "tax_sys" : 0, "items" : [ { "code": "4640030091645", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange M", "price" : 138.00, "quantity" : 2.000, "sum" : 276.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48741156", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B LD Blue", "price" : 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" : 406.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:17:42]execute_script... [19:17: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)129654", "tax_sys" : 0, "items" : [ { "code": "4640030091645", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange M", "price" : 138.00, "quantity" : 2.000, "sum" : 276.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48741156", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B LD Blue", "price" : 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" : 406.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:17:42]POST & json_proto [19:17:42]process_json_proto [19:17:42]json parsed OK: [19:17:42]protocol is kg_v1.0 [19:17:42]action value=close_receipt [19:17:42]process_action close_receipt [19:17:42]cmd_close_receipt [19:17:42]MH_GetDate [19:17:42]Write to MH i2c: F0 00 00 B2 04 A5 [19:17:42]Write i2c OK [19:17:42]MH_I2C_Read... [19:17:42]Read from MH i2c: F0 [19:17:42]MH_I2C_Read... [19:17:42]Read from MH i2c: F0 09 00 [19:17:42]MH_I2C_Read... [19:17:42]Read from MH i2c: F0 09 00 B2 04 00 D7 75 95 66 2D 25 5D 64 08 [19:17:42]GetLastDocTimeStamp 1721070562 [19:17:42]current date 1721071063 [19:17:42]FM_GetShiftState [19:17:42]SAM_PROTO_GetShiftState [19:17:42]wFMCommunicate request_size=4 [19:17:42]MH_SAM_APDU [19:17:42]CAPDU: 80 13 01 00 [19:17:42]Write to MH i2c: E2 08 00 B3 04 80 13 01 00 00 00 00 00 34 [19:17:42]Write i2c OK [19:17:42]MH_I2C_Read... [19:17:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:17:42]Read from MH i2c: E2 [19:17:42]MH_I2C_Read... [19:17:42]Read from MH i2c: E2 0E 00 [19:17:42]MH_I2C_Read... [19:17:42]Read from MH i2c: E2 0E 00 B3 04 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 AD [19:17:42]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [19:17:42]wFMCommunicate OK [19:17:42]SAM_PROTO_GetShiftState done [19:17:42]FM_GetShiftState done [19:17:42]opened in 1721003525 [19:17:42]opened+sec_in_day 1721089925 [19:17:42]quantity*price = 27600 [19:17:42]sum+1 = 27601 [19:17:42]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 48741156 Сигареты LD Blue 1.000 * 130.00 = 130.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 406.00 НСП 1% : 3.59 НДС 12% : 43.11 Наличными: 0.00 Безнал.: 406.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 103 15.07.2024 19:17 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000874857 ФД: 57208 ФПД: 88593664264694 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T191743&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57208&fm=88593664264694&tin=02508201610067®Number=0000000000091208&sum=40600 0 [19:17:43]StoreToDocumentArchive [19:17:43]shift 497 fd 57208 [19:17:43]save to /storage/0497/doc_00057208 [19:17:43]save last doc name /storage/0497/doc_00057208 to /storage/kkm_last_doc_name [19:17:43]save OK [19:17:43]Clear old archive folders... [19:17:43]ProcessDocumentItem done err = 0, tmpTLVsize=365 [19:17:43]tlvbuf is 0084A060 [19:17:43]SAM_PROTO_ClearQueue [19:17:43]wFMCommunicate request_size=4 [19:17:43]MH_SAM_APDU [19:17:43]CAPDU: 80 09 00 00 [19:17:43]Write to MH i2c: E2 08 00 C0 04 80 09 00 00 00 00 00 00 36 [19:17:43]Write i2c OK [19:17:43]MH_I2C_Read... [19:17:43]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:17:43]Read from MH i2c: E2 [19:17:43]MH_I2C_Read... [19:17:43]Read from MH i2c: E2 03 00 [19:17:43]MH_I2C_Read... [19:17:43]Read from MH i2c: E2 03 00 C0 04 00 90 00 38 [19:17:43]RAPDU: 90 00 [19:17:43]wFMCommunicate OK [19:17:43]SAM_PROTO_ClearQueue done [19:17:43]KKMCreateOFDPacket [19:17:43]OFDProtocolAddRootSTLVToBuf [19:17:43]FM_MakeSignedData [19:17:43]FM_MakeSignedData [19:17:43]SAM_PROTO_SignData [19:17:43]wFMCommunicate request_size=4 [19:17:43]MH_SAM_APDU [19:17:43]CAPDU: 80 0D 01 02 [19:17:43]Write to MH i2c: E2 08 00 C1 04 80 0D 01 02 00 00 00 00 3E [19:17:43]Write i2c OK [19:17:43]MH_I2C_Read... [19:17:43]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:17:43]Read from MH i2c: E2 [19:17:43]MH_I2C_Read... [19:17:43]Read from MH i2c: E2 03 00 [19:17:43]MH_I2C_Read... [19:17:43]Read from MH i2c: E2 03 00 C1 04 00 90 00 39 [19:17:43]RAPDU: 90 00 [19:17:43]wFMCommunicate OK [19:17:43]wFMCommunicate request_size=255 [19:17:43]MH_SAM_APDU [19:17:43]CAPDU: 80 0D 02 02 FA 03 00 6D 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 D0 07 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 D0 6B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 57 00 8A 04 08 00 34 38 37 34 31 31 35 36 06 04 18 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 98 9E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 67 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 [19:17:43]Write to MH i2c: E2 02 01 C2 04 80 0D 02 02 FA 00 03 00 6D 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 D0 07 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 D0 6B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 57 00 8A 04 08 00 34 38 37 34 31 31 35 36 06 04 18 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 98 9E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 67 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 00 00 DA [19:17:43]Write i2c OK [19:17:43]MH_I2C_Read... [19:17:43]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:17:43]Read from MH i2c: E2 [19:17:43]MH_I2C_Read... [19:17:43]Read from MH i2c: E2 03 00 [19:17:43]MH_I2C_Read... [19:17:43]Read from MH i2c: E2 03 00 C2 04 00 90 00 3A [19:17:43]RAPDU: 90 00 [19:17:43]wFMCommunicate OK [19:17:43]wFMCommunicate request_size=124 [19:17:43]MH_SAM_APDU [19:17:43]CAPDU: 80 0D 02 02 77 D7 10 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 98 9E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 67 00 00 00 F4 03 04 00 D7 75 95 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 78 DF 00 00 35 04 06 00 50 93 51 E3 49 F6 [19:17:43]Write to MH i2c: E2 7F 00 C3 04 80 0D 02 02 77 00 D7 10 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 98 9E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 67 00 00 00 F4 03 04 00 D7 75 95 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 78 DF 00 00 35 04 06 00 50 93 51 E3 49 F6 00 00 D5 [19:17:43]Write i2c OK [19:17:43]MH_I2C_Read... [19:17:43]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:17:43]Read from MH i2c: E2 [19:17:43]MH_I2C_Read... [19:17:43]Read from MH i2c: E2 03 00 [19:17:43]MH_I2C_Read... [19:17:43]Read from MH i2c: E2 03 00 C3 04 00 90 00 3B [19:17:43]RAPDU: 90 00 [19:17:43]wFMCommunicate OK [19:17:43]wFMCommunicate request_size=4 [19:17:43]MH_SAM_APDU [19:17:43]CAPDU: 80 0D 03 02 [19:17:43]Write to MH i2c: E2 08 00 C4 04 80 0D 03 02 00 00 00 00 43 [19:17:43]Write i2c OK [19:17:43]MH_I2C_Read... [19:17:43]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:17:43]Read from MH i2c: E2 [19:17:43]MH_I2C_Read... [19:17:43]Read from MH i2c: E2 0B 00 [19:17:43]MH_I2C_Read... [19:17:43]Read from MH i2c: E2 0B 00 C4 04 00 CD 99 DF C9 F4 A9 60 10 90 00 5F [19:17:43]RAPDU: CD 99 DF C9 F4 A9 60 10 90 00 [19:17:43]wFMCommunicate OK [19:17:43]SAM_PROTO_SignData done [19:17:43]FM_MakeSignedData done [19:17:43]CreateOFDProtocolMessage [19:17:43]wFMCommunicate request_size=4 [19:17:43]MH_SAM_APDU [19:17:43]CAPDU: 80 11 00 00 [19:17:43]Write to MH i2c: E2 08 00 C5 04 80 11 00 00 00 00 00 00 43 [19:17:43]Write i2c OK [19:17:43]MH_I2C_Read... [19:17:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:17:43]Read from MH i2c: E2 [19:17:43]MH_I2C_Read... [19:17:43]Read from MH i2c: E2 17 00 [19:17:43]MH_I2C_Read... [19:17:43]Read from MH i2c: E2 17 00 C5 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 9D [19:17:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [19:17:43]wFMCommunicate OK [19:17:43]CreateOFDProtocolMessage done [19:17:43]OFDSenderStorePacket 57208 [19:17:43]StoreOFDPacket docnum=57208 [19:17: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 81 01 00 00 0F C1 79 01 D0 47 5A 03 01 00 03 00 6D 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 D0 07 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 D0 6B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 57 00 8A 04 08 00 34 38 37 34 31 31 35 36 06 04 18 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 98 9E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 67 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D7 10 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 98 9E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 67 00 00 00 F4 03 04 00 D7 75 95 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 78 DF 00 00 35 04 06 00 50 93 51 E3 49 F6 CD 99 DF C9 F4 A9 60 10 [19:17:43]CheckFolder [19:17:43]dirname=/storage/ofd_packets [19:17:43]CheckFolder done [19:17:43]ProducePacketName [19:17:43]name=ofd_packets/00057208 [19:17:43]NVStorageSaveData ofd_packets/00057208 [19:17:43]File name is /storage/ofd_packets/00057208 [19:17:43]Write 415 bytes [19:17:43]NVStorageSaveData done [19:17:43]OFDSenderStorePacket done [19:17:43]KKMCreateOFDPacket done [19:17:43]NVStorageSaveData kkm_last_timestamp [19:17:44]File name is /storage/kkm_last_timestamp [19:17:44]Write 4 bytes [19:17:44]NVStorageSaveData done [19:17:44]ExternCall_PrintAddStr [19:17:44]wPrintStart [19:17:44]Write to MH i2c: 01 00 00 C6 04 CA [19:17:44]OFD Sender: Processing packet 57208 [packets to send 38, broken 37] [19:17:44]ProducePacketName [19:17:44]name=ofd_packets/00057208 [19:17:44]OFD Sender: To server: pG, [19:17:44]CommunicateWithHost lk.salyk.kg:30040 [19:17:44]ConnectInit lk.salyk.kg [19:17:44]Write i2c OK [19:17:44]MH_I2C_Read... [19:17:44]Read from MH i2c: 01 [19:17:44]MH_I2C_Read... [19:17:44]Read from MH i2c: 01 07 00 [19:17:44]MH_I2C_Read... [19:17:44]Read from MH i2c: 01 07 00 C6 04 00 00 00 00 00 FF 0F DF [19:17:44]RasterBufferAndPrint [19:17:44]line Счет N : (3)129654 [19:17:44]line ИНН: 02508201610067 [19:17:44]line Контрольно-Кассовый Чек [19:17:44]line ПРОДАЖА [19:17:44]line Товар: 4640030091645 [19:17:44]line Сигареты ESSE Exchange M [19:17:44]line 2.000 * 138.00 [19:17:44]line = 276.00 [19:17:44]line НДС 12% НСП 1% [19:17:44]line > о реализуемом товаре [19:17:44]line Товар: 48741156 [19:17:44]line Сигареты LD Blue [19:17:44]line 1.000 * 130.00 [19:17:44]line = 130.00 [19:17:44]line НДС 12% НСП 1% [19:17:44]line > о реализуемом товаре [19:17:44]line ИТОГО: 406.00 [19:17:44]line НСП 1% : 3.59 [19:17:44]line НДС 12% : 43.11 [19:17:44]line Наличными: 0.00 [19:17:44]line Безнал.: 406.00 [19:17:44]line Место: АЗС № 132 "Партнер Нефть" [19:17:44]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [19:17:44]line СНО: Общий режим [19:17:44]line Чек 103 15.07.2024 19:17 [19:17:44]line Смена: 497 ФФД: 1.0 [19:17:44]line ЗНМ: 0300000132 [19:17:44]line РНМ: 0000000000091208 [19:17:44]line Версия ККМ: 001 [19:17:44]line Платежная система: АКБ Кыргызстан [19:17:44]line ФМ: 0000000000874857 [19:17:44]line ФД: 57208 [19:17:44]line ФПД: 88593664264694 [19:17:44]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T191743&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57208&fm=88593664264694&tin=02508201610067®Number=0000000000091208&sum=40600 [19:17:44]line 0 [19:17:44]written 0, free lines is 4095 [19:17:44]Connected sock=10 [19:17: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 81 01 00 00 0F C1 79 01 D0 47 5A 03 01 00 03 00 6D 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 D0 07 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 D0 6B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 57 00 8A 04 08 00 34 38 37 34 31 31 35 36 06 04 18 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 98 9E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 67 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D7 10 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 98 9E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 67 00 00 00 F4 03 04 00 D7 75 95 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 78 DF 00 00 35 04 06 00 50 93 51 E3 49 F6 CD 99 DF C9 F4 A9 60 10 [19:17:44]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 D5 A9 47 00 E0 96 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 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 78 DF 00 00 F4 03 04 00 24 1C 95 66 B6 04 01 00 00 B1 85 F6 47 A9 13 B2 03 [19:17:44]CommunicateWithHost err = 0 [19:17:44]CheckOFDResponse [19:17:44]1017 (14) - 77093643461234 [19:17:44]1041 (16) - 0000000000874857 [19:17:44]1040 (4) - 57208 [19:17:44]1012 (4) - 15.07.2024 12:55 [19:17:44]1206 (1) - 0 [19:17:44]OFD Sender: Remove packet 57208 [19:17:44]ProducePacketName [19:17:44]name=ofd_packets/00057208 [19:17:44]NVStorageDeleteData [19:17:44]Write to MH i2c: 01 00 00 F6 04 FA [19:17:44]Write i2c OK [19:17:44]MH_I2C_Read... [19:17:44]Read from MH i2c: 01 [19:17:44]MH_I2C_Read... [19:17:44]Read from MH i2c: 01 07 00 [19:17:44]MH_I2C_Read... [19:17:44]Read from MH i2c: 01 07 00 F6 04 00 00 00 00 00 93 0C A0 [19:17:44]RasterBufferAndPrint [19:17:44]line [19:17:44]line [19:17:44]line [19:17:44]line [19:17:44]line [19:17:44]written 0, free lines is 3225 [19:17:44]MH_Cut [19:17:44]Write to MH i2c: D1 01 00 FD 04 01 D3 [19:17:44]Write i2c OK [19:17:44]MH_I2C_Read... [19:17:44]Read from MH i2c: D1 [19:17:44]MH_I2C_Read... [19:17:44]Read from MH i2c: D1 01 00 [19:17:44]MH_I2C_Read... [19:17:44]Read from MH i2c: D1 01 00 FD 04 00 D2 [19:17:44]Write to MH i2c: 01 00 00 FE 04 02 [19:17:44]Write i2c OK [19:17:44]MH_I2C_Read... [19:17:44]OFD Sender: No OFD packet to send [19:17:45]*** Cut start [19:17:45]*** Partial cut [19:17:45]*** CUTSNS_PIN = 1 [19:17:45]*** CUTSNS_PIN = 0 [19:17:45]*** Brake cut motor [19:17:46]Read from MH i2c: 01 [19:17:46]MH_I2C_Read... [19:17:46]*** Stop cut motor [19:17:46]*** Cut end [19:17:46]Read from MH i2c: 01 07 00 [19:17:46]MH_I2C_Read... [19:17:46]Read from MH i2c: 01 07 00 FE 04 00 00 00 00 00 FF 0F 17 [19:17:46]process_action close_receipt done [19:17:46]requested_data is exist [19:17:46]produce_requested_data [19:17:46]requested_item fm.sn is exist - process it [19:17:46]wFMCommunicate request_size=4 [19:17:46]MH_SAM_APDU [19:17:46]CAPDU: 80 11 00 00 [19:17:46]Write to MH i2c: E2 08 00 FF 04 80 11 00 00 00 00 00 00 7D [19:17:46]Write i2c OK [19:17:46]MH_I2C_Read... [19:17:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:17:46]Read from MH i2c: E2 [19:17:46]MH_I2C_Read... [19:17:46]Read from MH i2c: E2 17 00 [19:17:46]MH_I2C_Read... [19:17:46]Read from MH i2c: E2 17 00 FF 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 D7 [19: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 [19:17:46]wFMCommunicate OK [19:17:46]requested_item fd.num is exist - process it [19:17:46]SAM_PROTO_GetFieldsCounters [19:17:46]wFMCommunicate request_size=4 [19:17:46]MH_SAM_APDU [19:17:46]CAPDU: 80 13 00 00 [19:17:46]Write to MH i2c: E2 08 00 00 05 80 13 00 00 00 00 00 00 81 [19:17:46]Write i2c OK [19:17:46]MH_I2C_Read... [19:17:46]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:17:46]Read from MH i2c: E2 [19:17:46]MH_I2C_Read... [19:17:46]Read from MH i2c: E2 62 00 [19:17:46]MH_I2C_Read... [19:17:46]Read from MH i2c: E2 62 00 00 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 78 DF 00 00 0E 04 04 00 F1 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 22 [19:17: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 78 DF 00 00 0E 04 04 00 F1 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 [19:17:46]wFMCommunicate OK [19:17:46]SAM_PROTO_GetFieldsCounters done [19:17:46]requested_item shift.num is exist - process it [19:17:46]requested_item shift.opened is exist - process it [19:17:46]req_shift_opened [19:17:46]FM_GetShiftState [19:17:46]SAM_PROTO_GetShiftState [19:17:46]wFMCommunicate request_size=4 [19:17:46]MH_SAM_APDU [19:17:46]CAPDU: 80 13 01 00 [19:17:46]Write to MH i2c: E2 08 00 01 05 80 13 01 00 00 00 00 00 83 [19:17:46]Write i2c OK [19:17:46]MH_I2C_Read... [19:17:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:17:46]Read from MH i2c: E2 [19:17:46]MH_I2C_Read... [19:17:46]Read from MH i2c: E2 0E 00 [19:17:46]MH_I2C_Read... [19:17:46]Read from MH i2c: E2 0E 00 01 05 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 FC [19:17:46]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [19:17:46]wFMCommunicate OK [19:17:46]SAM_PROTO_GetShiftState done [19:17:46]FM_GetShiftState done [19:17:46]req_shift_opened done [19:17:46]requested_item shift.open_date is exist - process it [19:17:46]req_shift_open_date [19:17:46]req_shift_open_date done [19:17:46]requested_item shift.sale.total is exist - process it [19:17:46]SAM_PROTO_GetShiftData [19:17:46]wFMCommunicate request_size=4 [19:17:46]MH_SAM_APDU [19:17:46]CAPDU: 80 13 02 00 [19:17:46]Write to MH i2c: E2 08 00 02 05 80 13 02 00 00 00 00 00 85 [19:17:46]Write i2c OK [19:17:46]MH_I2C_Read... [19:17:46]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [19:17:46]Read from MH i2c: E2 [19:17:46]MH_I2C_Read... [19:17:46]Read from MH i2c: E2 FD 00 [19:17:46]MH_I2C_Read... [19:17:46]Read from MH i2c: E2 FD 00 02 05 00 B6 04 AA 04 B2 04 6E 04 04 00 67 00 00 00 69 04 9B 00 6F 04 04 00 66 00 00 00 B1 04 03 00 2D 1A 28 70 04 03 00 10 42 21 72 04 03 00 1D D8 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 42 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 D5 5A EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 50 [19:17:46]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 67 00 00 00 69 04 9B 00 6F 04 04 00 66 00 00 00 B1 04 03 00 2D 1A 28 70 04 03 00 10 42 21 72 04 03 00 1D D8 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 42 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 D5 5A EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 [19:17:46]wFMCommunicate OK [19:17:46]wFMCommunicate request_size=4 [19:17:46]MH_SAM_APDU [19:17:46]CAPDU: 80 17 00 00 [19:17:46]Write to MH i2c: E2 08 00 03 05 80 17 00 00 00 00 00 00 88 [19:17:46]Write i2c OK [19:17:46]MH_I2C_Read... [19:17:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [19:17:47]Read from MH i2c: E2 [19:17:47]MH_I2C_Read... [19:17:47]Read from MH i2c: E2 FD 00 [19:17:47]MH_I2C_Read... [19:17:47]Read from MH i2c: E2 FD 00 03 05 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 BD [19:17:47]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 [19:17:47]wFMCommunicate OK [19:17:47]wFMCommunicate request_size=4 [19:17:47]MH_SAM_APDU [19:17:47]CAPDU: 80 17 00 00 [19:17:47]Write to MH i2c: E2 08 00 04 05 80 17 00 00 00 00 00 00 89 [19:17:47]Write i2c OK [19:17:47]MH_I2C_Read... [19:17:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [19:17:47]Read from MH i2c: E2 [19:17:47]MH_I2C_Read... [19:17:47]Read from MH i2c: E2 FD 00 [19:17:47]MH_I2C_Read... [19:17:47]Read from MH i2c: E2 FD 00 04 05 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 49 [19:17:47]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 [19:17:47]wFMCommunicate OK [19:17:47]wFMCommunicate request_size=4 [19:17:47]MH_SAM_APDU [19:17:47]CAPDU: 80 17 00 00 [19:17:47]Write to MH i2c: E2 08 00 05 05 80 17 00 00 00 00 00 00 8A [19:17:47]Write i2c OK [19:17:47]MH_I2C_Read... [19:17:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [19:17:47]Read from MH i2c: E2 [19:17:47]MH_I2C_Read... [19:17:47]Read from MH i2c: E2 FD 00 [19:17:47]MH_I2C_Read... [19:17:47]Read from MH i2c: E2 FD 00 05 05 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 F9 [19:17:47]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 [19:17:47]wFMCommunicate OK [19:17:47]wFMCommunicate request_size=4 [19:17:47]MH_SAM_APDU [19:17:47]CAPDU: 80 17 00 00 [19:17:47]Write to MH i2c: E2 08 00 06 05 80 17 00 00 00 00 00 00 8B [19:17:47]Write i2c OK [19:17:47]MH_I2C_Read... [19:17:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [19:17:47]Read from MH i2c: E2 [19:17:47]MH_I2C_Read... [19:17:47]Read from MH i2c: E2 D3 00 [19:17:47]MH_I2C_Read... [19:17:47]Read from MH i2c: E2 D3 00 06 05 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 78 [19:17:47]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 [19:17:48]wFMCommunicate OK [19:17:48]SAM_PROTO_GetShiftData done [19:17:48]requested_item shift.sale.total_cash is exist - process it [19:17:48]requested_item shift.sale_refund.total is exist - process it [19:17:48]requested_item shift.sale_refund.total_cash is exist - process it [19:17:48]produce_requested_data done [19:17:48]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57208,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":26281.41,"shift.sale.total_cash":21796.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [19:17:48]process_action_free close_receipt [19:17:48]json_value_free [19:17:48]json_value_free done [19:17:48]process_json_proto returns [19:17:48]Send response to host [19:17:48]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57208,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":26281.41,"shift.sale.total_cash":21796.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [19:17:48]free response buf [19:17:48]execute_script done [19:17:48]execute_script returns [19:17:48]free content buf [19:17:48]Sock 9.Close socket [19:17:48]Sock 9.Thread stoped [19:17:49]OFD Sender: No OFD packet to send [19:17:55]OFD Sender: No OFD packet to send [19:18:00]OFD Sender: No OFD packet to send [19:18:01]accept exits with 7 [19:18:01]New connection [19:18:01]New thread 3067014500 created [19:18:01]Thread 3066871140 joined [19:18:01]Waiting for new connection... [19:18:01] Sock 7.Parse request [19:18:01]Sock 7.Check first char [19:18:01]Sock 7.First char is OK [19:18:01]request: POST /json_proto HTTP/1.0 [19:18:01]Method: POST [19:18:01]URL: /json_proto [19:18:01]Method is POST - this is cgi request [19:18:01]url: /json_proto [19:18:01]query_string will be loaded in cgi processing [19:18:01]execute_cgi json_proto POST (null) [19:18:01]execute_cgi path=json_proto method=POST [19:18:01]POST find Content-Length [19:18:01]Host: 172.17.39.4:8080 [19:18:01]Content-Length: 725 [19:18:01]Content-Type: application/json [19:18:01] [19:18:01]POST finish read [19:18:01]Found Content-Length = 725 [19:18:01]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129655", "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 }]} ], "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" ] } } [19:18:01]execute_script... [19:18:01]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129655", "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 }]} ], "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" ] } } [19:18:01]POST & json_proto [19:18:01]process_json_proto [19:18:01]json parsed OK: [19:18:01]protocol is kg_v1.0 [19:18:01]action value=close_receipt [19:18:01]process_action close_receipt [19:18:01]cmd_close_receipt [19:18:01]MH_GetDate [19:18:01]Write to MH i2c: F0 00 00 07 05 FB [19:18:01]Write i2c OK [19:18:01]MH_I2C_Read... [19:18:01]Read from MH i2c: F0 [19:18:01]MH_I2C_Read... [19:18:01]Read from MH i2c: F0 09 00 [19:18:01]MH_I2C_Read... [19:18:01]Read from MH i2c: F0 09 00 07 05 00 EB 75 95 66 2D 25 5D 64 72 [19:18:01]GetLastDocTimeStamp 1721071063 [19:18:01]current date 1721071083 [19:18:01]FM_GetShiftState [19:18:01]SAM_PROTO_GetShiftState [19:18:01]wFMCommunicate request_size=4 [19:18:01]MH_SAM_APDU [19:18:01]CAPDU: 80 13 01 00 [19:18:01]Write to MH i2c: E2 08 00 08 05 80 13 01 00 00 00 00 00 8A [19:18:01]Write i2c OK [19:18:01]MH_I2C_Read... [19:18:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:18:01]Read from MH i2c: E2 [19:18:01]MH_I2C_Read... [19:18:01]Read from MH i2c: E2 0E 00 [19:18:01]MH_I2C_Read... [19:18:01]Read from MH i2c: E2 0E 00 08 05 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 03 [19:18:01]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [19:18:01]wFMCommunicate OK [19:18:01]SAM_PROTO_GetShiftState done [19:18:01]FM_GetShiftState done [19:18:01]opened in 1721003525 [19:18:01]opened+sec_in_day 1721089925 [19:18:01]quantity*price = 14000 [19:18:01]sum+1 = 14001 [19:18:01]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 СНО: Общий режим Чек 104 15.07.2024 19:18 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57209 ФПД: 243619116463470 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T191803&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57209&fm=243619116463470&tin=02508201610067®Number=0000000000091208&sum=14000 0 [19:18:03]StoreToDocumentArchive [19:18:03]shift 497 fd 57209 [19:18:03]save to /storage/0497/doc_00057209 [19:18:03]save last doc name /storage/0497/doc_00057209 to /storage/kkm_last_doc_name [19:18:03]save OK [19:18:03]Clear old archive folders... [19:18:03]ProcessDocumentItem done err = 0, tmpTLVsize=273 [19:18:03]tlvbuf is 00852590 [19:18:03]SAM_PROTO_ClearQueue [19:18:03]wFMCommunicate request_size=4 [19:18:03]MH_SAM_APDU [19:18:03]CAPDU: 80 09 00 00 [19:18:03]Write to MH i2c: E2 08 00 15 05 80 09 00 00 00 00 00 00 8C [19:18:03]Write i2c OK [19:18:03]MH_I2C_Read... [19:18:03]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:18:03]Read from MH i2c: E2 [19:18:03]MH_I2C_Read... [19:18:03]Read from MH i2c: E2 03 00 [19:18:03]MH_I2C_Read... [19:18:03]Read from MH i2c: E2 03 00 15 05 00 90 00 8E [19:18:03]RAPDU: 90 00 [19:18:03]wFMCommunicate OK [19:18:03]SAM_PROTO_ClearQueue done [19:18:03]KKMCreateOFDPacket [19:18:03]OFDProtocolAddRootSTLVToBuf [19:18:03]FM_MakeSignedData [19:18:03]FM_MakeSignedData [19:18:03]SAM_PROTO_SignData [19:18:03]wFMCommunicate request_size=4 [19:18:03]MH_SAM_APDU [19:18:03]CAPDU: 80 0D 01 02 [19:18:03]Write to MH i2c: E2 08 00 16 05 80 0D 01 02 00 00 00 00 94 [19:18:03]Write i2c OK [19:18:03]MH_I2C_Read... [19:18:03]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:18:03]Read from MH i2c: E2 [19:18:03]MH_I2C_Read... [19:18:03]Read from MH i2c: E2 03 00 [19:18:03]MH_I2C_Read... [19:18:03]Read from MH i2c: E2 03 00 16 05 00 90 00 8F [19:18:03]RAPDU: 90 00 [19:18:03]wFMCommunicate OK [19:18:03]wFMCommunicate request_size=255 [19:18:03]MH_SAM_APDU [19:18:03]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 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 68 00 00 00 F4 03 04 00 EB 75 95 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 [19:18:03]Write to MH i2c: E2 02 01 17 05 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 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 68 00 00 00 F4 03 04 00 EB 75 95 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 25 [19:18:03]Write i2c OK [19:18:03]MH_I2C_Read... [19:18:03]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:18:03]Read from MH i2c: E2 [19:18:03]MH_I2C_Read... [19:18:03]Read from MH i2c: E2 03 00 [19:18:03]MH_I2C_Read... [19:18:03]Read from MH i2c: E2 03 00 17 05 00 90 00 90 [19:18:03]RAPDU: 90 00 [19:18:03]wFMCommunicate OK [19:18:03]wFMCommunicate request_size=32 [19:18:03]MH_SAM_APDU [19:18:03]CAPDU: 80 0D 02 02 1B 30 30 30 38 37 34 38 35 37 10 04 04 00 79 DF 00 00 35 04 06 00 DD 91 FE E5 B5 6E [19:18:03]Write to MH i2c: E2 23 00 18 05 80 0D 02 02 1B 00 30 30 30 38 37 34 38 35 37 10 04 04 00 79 DF 00 00 35 04 06 00 DD 91 FE E5 B5 6E 00 00 C7 [19:18:03]Write i2c OK [19:18:03]MH_I2C_Read... [19:18:03]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:18:03]Read from MH i2c: E2 [19:18:03]MH_I2C_Read... [19:18:03]Read from MH i2c: E2 03 00 [19:18:03]MH_I2C_Read... [19:18:03]Read from MH i2c: E2 03 00 18 05 00 90 00 91 [19:18:03]RAPDU: 90 00 [19:18:03]wFMCommunicate OK [19:18:03]wFMCommunicate request_size=4 [19:18:03]MH_SAM_APDU [19:18:03]CAPDU: 80 0D 03 02 [19:18:03]Write to MH i2c: E2 08 00 19 05 80 0D 03 02 00 00 00 00 99 [19:18:03]Write i2c OK [19:18:03]MH_I2C_Read... [19:18:03]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:18:03]Read from MH i2c: E2 [19:18:03]MH_I2C_Read... [19:18:03]Read from MH i2c: E2 0B 00 [19:18:03]MH_I2C_Read... [19:18:03]Read from MH i2c: E2 0B 00 19 05 00 F4 51 B8 FA 72 6C EF 62 90 00 C0 [19:18:03]RAPDU: F4 51 B8 FA 72 6C EF 62 90 00 [19:18:03]wFMCommunicate OK [19:18:03]SAM_PROTO_SignData done [19:18:03]FM_MakeSignedData done [19:18:03]CreateOFDProtocolMessage [19:18:03]wFMCommunicate request_size=4 [19:18:03]MH_SAM_APDU [19:18:03]CAPDU: 80 11 00 00 [19:18:03]Write to MH i2c: E2 08 00 1A 05 80 11 00 00 00 00 00 00 99 [19:18:03]Write i2c OK [19:18:03]MH_I2C_Read... [19:18:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:18:03]Read from MH i2c: E2 [19:18:03]MH_I2C_Read... [19:18:03]Read from MH i2c: E2 17 00 [19:18:03]MH_I2C_Read... [19:18:03]Read from MH i2c: E2 17 00 1A 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 F3 [19:18:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [19:18:03]wFMCommunicate OK [19:18:03]CreateOFDProtocolMessage done [19:18:03]OFDSenderStorePacket 57209 [19:18:03]StoreOFDPacket docnum=57209 [19:18: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 25 01 00 00 D9 76 1D 01 C0 E8 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 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 68 00 00 00 F4 03 04 00 EB 75 95 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 79 DF 00 00 35 04 06 00 DD 91 FE E5 B5 6E F4 51 B8 FA 72 6C EF 62 [19:18:03]CheckFolder [19:18:03]dirname=/storage/ofd_packets [19:18:03]CheckFolder done [19:18:03]ProducePacketName [19:18:03]name=ofd_packets/00057209 [19:18:03]NVStorageSaveData ofd_packets/00057209 [19:18:03]File name is /storage/ofd_packets/00057209 [19:18:03]Write 323 bytes [19:18:03]NVStorageSaveData done [19:18:03]OFDSenderStorePacket done [19:18:03]KKMCreateOFDPacket done [19:18:03]NVStorageSaveData kkm_last_timestamp [19:18:03]File name is /storage/kkm_last_timestamp [19:18:03]Write 4 bytes [19:18:03]NVStorageSaveData done [19:18:03]ExternCall_PrintAddStr [19:18:03]wPrintStart [19:18:03]Write to MH i2c: 01 00 00 1B 05 20 [19:18:03]Write i2c OK [19:18:03]MH_I2C_Read... [19:18:03]Read from MH i2c: 01 [19:18:03]MH_I2C_Read... [19:18:03]Read from MH i2c: 01 07 00 [19:18:03]MH_I2C_Read... [19:18:03]Read from MH i2c: 01 07 00 1B 05 00 00 00 00 00 FF 0F 35 [19:18:03]RasterBufferAndPrint [19:18:03]line Счет N : (3)129655 [19:18:03]line ИНН: 02508201610067 [19:18:03]line Контрольно-Кассовый Чек [19:18:03]line ПРОДАЖА [19:18:03]line Товар: 48747059 [19:18:03]line Сигареты Winston Legend Blue [19:18:03]line 1.000 * 140.00 [19:18:03]line = 140.00 [19:18:03]line НДС 12% НСП 1% [19:18:03]line > о реализуемом товаре [19:18:03]line ИТОГО: 140.00 [19:18:03]line НСП 1% : 1.24 [19:18:03]line НДС 12% : 14.87 [19:18:03]line Наличными: 140.00 [19:18:03]line Безнал.: 0.00 [19:18:03]line Место: АЗС № 132 "Партнер Нефть" [19:18:03]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [19:18:03]line СНО: Общий режим [19:18:03]line Чек 104 15.07.2024 19:18 [19:18:03]line Смена: 497 ФФД: 1.0 [19:18:03]line ЗНМ: 0300000132 [19:18:03]line РНМ: 0000000000091208 [19:18:03]line Версия ККМ: 001 [19:18:03]line ФМ: 0000000000874857 [19:18:03]line ФД: 57209 [19:18:03]line ФПД: 243619116463470 [19:18:03]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T191803&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57209&fm=243619116463470&tin=02508201610067®Number=0000000000091208&sum=14000 [19:18:03]line 0 [19:18:03]written 0, free lines is 4095 [19:18:03]OFD Sender: Processing packet 57209 [packets to send 38, broken 37] [19:18:03]ProducePacketName [19:18:03]name=ofd_packets/00057209 [19:18:03]OFD Sender: To server: pG, [19:18:03]CommunicateWithHost lk.salyk.kg:30040 [19:18:03]ConnectInit lk.salyk.kg [19:18:03]Connected sock=10 [19:18: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 25 01 00 00 D9 76 1D 01 C0 E8 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 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 68 00 00 00 F4 03 04 00 EB 75 95 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 79 DF 00 00 35 04 06 00 DD 91 FE E5 B5 6E F4 51 B8 FA 72 6C EF 62 [19:18: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 ED AD 47 00 CC A1 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 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 79 DF 00 00 F4 03 04 00 38 1C 95 66 B6 04 01 00 00 EB 3F 13 6E 15 80 DB A3 [19:18:04]CommunicateWithHost err = 0 [19:18:04]CheckOFDResponse [19:18:04]1017 (14) - 77093643461234 [19:18:04]1041 (16) - 0000000000874857 [19:18:04]1040 (4) - 57209 [19:18:04]1012 (4) - 15.07.2024 12:55 [19:18:04]1206 (1) - 0 [19:18:04]OFD Sender: Remove packet 57209 [19:18:04]ProducePacketName [19:18:04]name=ofd_packets/00057209 [19:18:04]NVStorageDeleteData [19:18:04]Write to MH i2c: 01 00 00 44 05 49 [19:18:04]Write i2c OK [19:18:04]MH_I2C_Read... [19:18:04]Read from MH i2c: 01 [19:18:04]MH_I2C_Read... [19:18:04]Read from MH i2c: 01 07 00 [19:18:04]MH_I2C_Read... [19:18:04]Read from MH i2c: 01 07 00 44 05 00 00 00 00 00 EF 0C 4B [19:18:04]RasterBufferAndPrint [19:18:04]line [19:18:04]line [19:18:04]line [19:18:04]line [19:18:04]line [19:18:04]written 0, free lines is 3320 [19:18:04]MH_Cut [19:18:04]Write to MH i2c: D1 01 00 4B 05 01 22 [19:18:04]Write i2c OK [19:18:04]MH_I2C_Read... [19:18:04]Read from MH i2c: D1 [19:18:04]MH_I2C_Read... [19:18:04]Read from MH i2c: D1 01 00 [19:18:04]MH_I2C_Read... [19:18:04]Read from MH i2c: D1 01 00 4B 05 00 21 [19:18:04]Write to MH i2c: 01 00 00 4C 05 51 [19:18:04]Write i2c OK [19:18:04]MH_I2C_Read... [19:18:04]OFD Sender: No OFD packet to send [19:18:04]*** Cut start [19:18:04]*** Partial cut [19:18:04]*** CUTSNS_PIN = 1 [19:18:04]*** CUTSNS_PIN = 0 [19:18:05]*** Brake cut motor [19:18:05]Read from MH i2c: 01 [19:18:05]MH_I2C_Read... [19:18:05]*** Stop cut motor [19:18:05]*** Cut end [19:18:05]Read from MH i2c: 01 07 00 [19:18:05]MH_I2C_Read... [19:18:05]Read from MH i2c: 01 07 00 4C 05 00 00 00 00 00 FF 0F 66 [19:18:05]process_action close_receipt done [19:18:05]requested_data is exist [19:18:05]produce_requested_data [19:18:05]requested_item fm.sn is exist - process it [19:18:05]wFMCommunicate request_size=4 [19:18:05]MH_SAM_APDU [19:18:05]CAPDU: 80 11 00 00 [19:18:05]Write to MH i2c: E2 08 00 4D 05 80 11 00 00 00 00 00 00 CC [19:18:05]Write i2c OK [19:18:05]MH_I2C_Read... [19:18:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:18:05]Read from MH i2c: E2 [19:18:05]MH_I2C_Read... [19:18:05]Read from MH i2c: E2 17 00 [19:18:05]MH_I2C_Read... [19:18:05]Read from MH i2c: E2 17 00 4D 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 26 [19:18:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [19:18:05]wFMCommunicate OK [19:18:05]requested_item fd.num is exist - process it [19:18:05]SAM_PROTO_GetFieldsCounters [19:18:05]wFMCommunicate request_size=4 [19:18:05]MH_SAM_APDU [19:18:05]CAPDU: 80 13 00 00 [19:18:05]Write to MH i2c: E2 08 00 4E 05 80 13 00 00 00 00 00 00 CF [19:18:05]Write i2c OK [19:18:05]MH_I2C_Read... [19:18:05]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:18:05]Read from MH i2c: E2 [19:18:05]MH_I2C_Read... [19:18:05]Read from MH i2c: E2 62 00 [19:18:05]MH_I2C_Read... [19:18:05]Read from MH i2c: E2 62 00 4E 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 79 DF 00 00 0E 04 04 00 F1 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 74 [19:18: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 79 DF 00 00 0E 04 04 00 F1 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 [19:18:05]wFMCommunicate OK [19:18:05]SAM_PROTO_GetFieldsCounters done [19:18:05]requested_item shift.num is exist - process it [19:18:05]requested_item shift.opened is exist - process it [19:18:05]req_shift_opened [19:18:05]FM_GetShiftState [19:18:05]SAM_PROTO_GetShiftState [19:18:05]wFMCommunicate request_size=4 [19:18:05]MH_SAM_APDU [19:18:05]CAPDU: 80 13 01 00 [19:18:05]Write to MH i2c: E2 08 00 4F 05 80 13 01 00 00 00 00 00 D1 [19:18:05]Write i2c OK [19:18:05]MH_I2C_Read... [19:18:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:18:05]Read from MH i2c: E2 [19:18:05]MH_I2C_Read... [19:18:05]Read from MH i2c: E2 0E 00 [19:18:05]MH_I2C_Read... [19:18:05]Read from MH i2c: E2 0E 00 4F 05 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 4A [19:18:05]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [19:18:05]wFMCommunicate OK [19:18:05]SAM_PROTO_GetShiftState done [19:18:05]FM_GetShiftState done [19:18:05]req_shift_opened done [19:18:05]requested_item shift.open_date is exist - process it [19:18:05]req_shift_open_date [19:18:05]req_shift_open_date done [19:18:05]requested_item shift.sale.total is exist - process it [19:18:05]SAM_PROTO_GetShiftData [19:18:05]wFMCommunicate request_size=4 [19:18:05]MH_SAM_APDU [19:18:05]CAPDU: 80 13 02 00 [19:18:05]Write to MH i2c: E2 08 00 50 05 80 13 02 00 00 00 00 00 D3 [19:18:05]Write i2c OK [19:18:05]MH_I2C_Read... [19:18:06]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [19:18:06]Read from MH i2c: E2 [19:18:06]MH_I2C_Read... [19:18:06]Read from MH i2c: E2 FD 00 [19:18:06]MH_I2C_Read... [19:18:06]Read from MH i2c: E2 FD 00 50 05 00 B6 04 AA 04 B2 04 6E 04 04 00 68 00 00 00 69 04 9B 00 6F 04 04 00 67 00 00 00 B1 04 03 00 DD 50 28 70 04 03 00 C0 78 21 72 04 03 00 1D D8 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 19 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 51 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 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 BE [19:18:06]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 68 00 00 00 69 04 9B 00 6F 04 04 00 67 00 00 00 B1 04 03 00 DD 50 28 70 04 03 00 C0 78 21 72 04 03 00 1D D8 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 19 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 51 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 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 [19:18:06]wFMCommunicate OK [19:18:06]wFMCommunicate request_size=4 [19:18:06]MH_SAM_APDU [19:18:06]CAPDU: 80 17 00 00 [19:18:06]Write to MH i2c: E2 08 00 51 05 80 17 00 00 00 00 00 00 D6 [19:18:06]Write i2c OK [19:18:06]MH_I2C_Read... [19:18:06]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [19:18:06]Read from MH i2c: E2 [19:18:06]MH_I2C_Read... [19:18:06]Read from MH i2c: E2 FD 00 [19:18:06]MH_I2C_Read... [19:18:06]Read from MH i2c: E2 FD 00 51 05 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 0B [19:18:06]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 [19:18:06]wFMCommunicate OK [19:18:06]wFMCommunicate request_size=4 [19:18:06]MH_SAM_APDU [19:18:06]CAPDU: 80 17 00 00 [19:18:06]Write to MH i2c: E2 08 00 52 05 80 17 00 00 00 00 00 00 D7 [19:18:06]Write i2c OK [19:18:06]MH_I2C_Read... [19:18:06]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [19:18:06]Read from MH i2c: E2 [19:18:06]MH_I2C_Read... [19:18:06]Read from MH i2c: E2 FD 00 [19:18:06]MH_I2C_Read... [19:18:06]Read from MH i2c: E2 FD 00 52 05 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 97 [19:18:06]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 [19:18:06]wFMCommunicate OK [19:18:06]wFMCommunicate request_size=4 [19:18:06]MH_SAM_APDU [19:18:06]CAPDU: 80 17 00 00 [19:18:06]Write to MH i2c: E2 08 00 53 05 80 17 00 00 00 00 00 00 D8 [19:18:06]Write i2c OK [19:18:06]MH_I2C_Read... [19:18:07]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [19:18:07]Read from MH i2c: E2 [19:18:07]MH_I2C_Read... [19:18:07]Read from MH i2c: E2 FD 00 [19:18:07]MH_I2C_Read... [19:18:07]Read from MH i2c: E2 FD 00 53 05 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 47 [19:18:07]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 [19:18:07]wFMCommunicate OK [19:18:07]wFMCommunicate request_size=4 [19:18:07]MH_SAM_APDU [19:18:07]CAPDU: 80 17 00 00 [19:18:07]Write to MH i2c: E2 08 00 54 05 80 17 00 00 00 00 00 00 D9 [19:18:07]Write i2c OK [19:18:07]MH_I2C_Read... [19:18:07]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [19:18:07]Read from MH i2c: E2 [19:18:07]MH_I2C_Read... [19:18:07]Read from MH i2c: E2 D3 00 [19:18:07]MH_I2C_Read... [19:18:07]Read from MH i2c: E2 D3 00 54 05 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 C6 [19:18:07]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 [19:18:07]wFMCommunicate OK [19:18:07]SAM_PROTO_GetShiftData done [19:18:07]requested_item shift.sale.total_cash is exist - process it [19:18:07]requested_item shift.sale_refund.total is exist - process it [19:18:07]requested_item shift.sale_refund.total_cash is exist - process it [19:18:07]produce_requested_data done [19:18:07]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57209,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":26421.41,"shift.sale.total_cash":21936.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [19:18:07]process_action_free close_receipt [19:18:07]json_value_free [19:18:07]json_value_free done [19:18:07]process_json_proto returns [19:18:07]Send response to host [19:18:07]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57209,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":26421.41,"shift.sale.total_cash":21936.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [19:18:07]free response buf [19:18:07]execute_script done [19:18:07]execute_script returns [19:18:07]free content buf [19:18:07]Sock 7.Close socket [19:18:07]Sock 7.Thread stoped [19:18:09]OFD Sender: No OFD packet to send [19:18:14]OFD Sender: No OFD packet to send [19:18:19]OFD Sender: No OFD packet to send [19:18:24]OFD Sender: No OFD packet to send [19:18:29]OFD Sender: No OFD packet to send [19:18:34]OFD Sender: No OFD packet to send [19:18:39]OFD Sender: No OFD packet to send [19:18:44]OFD Sender: No OFD packet to send [19:18:49]OFD Sender: No OFD packet to send [19:18:54]OFD Sender: No OFD packet to send [19:18:59]OFD Sender: No OFD packet to send [19:19:04]OFD Sender: No OFD packet to send [19:19:09]OFD Sender: No OFD packet to send [19:19:14]OFD Sender: No OFD packet to send [19:19:19]OFD Sender: No OFD packet to send [19:19:24]OFD Sender: No OFD packet to send [19:19:29]OFD Sender: No OFD packet to send [19:19:34]OFD Sender: No OFD packet to send [19:19:39]OFD Sender: No OFD packet to send [19:19:44]OFD Sender: No OFD packet to send [19:19:49]OFD Sender: No OFD packet to send [19:19:54]OFD Sender: No OFD packet to send [19:19:59]OFD Sender: No OFD packet to send [19:20:04]OFD Sender: No OFD packet to send [19:20:09]OFD Sender: No OFD packet to send [19:20:14]OFD Sender: No OFD packet to send [19:20:19]OFD Sender: No OFD packet to send [19:20:24]OFD Sender: No OFD packet to send [19:20:29]OFD Sender: No OFD packet to send [19:20:34]OFD Sender: No OFD packet to send [19:20:39]OFD Sender: No OFD packet to send [19:20:44]OFD Sender: No OFD packet to send [19:20:49]OFD Sender: No OFD packet to send [19:20:54]OFD Sender: No OFD packet to send [19:20:59]OFD Sender: No OFD packet to send [19:21:04]OFD Sender: No OFD packet to send [19:21:09]OFD Sender: No OFD packet to send [19:21:14]OFD Sender: No OFD packet to send [19:21:19]OFD Sender: No OFD packet to send [19:21:24]OFD Sender: No OFD packet to send [19:21:29]OFD Sender: No OFD packet to send [19:21:34]OFD Sender: No OFD packet to send [19:21:39]OFD Sender: No OFD packet to send [19:21:44]OFD Sender: No OFD packet to send [19:21:49]OFD Sender: No OFD packet to send [19:21:54]OFD Sender: No OFD packet to send [19:21:59]OFD Sender: No OFD packet to send [19:22:04]OFD Sender: No OFD packet to send [19:22:09]OFD Sender: No OFD packet to send [19:22:14]OFD Sender: No OFD packet to send [19:22:19]OFD Sender: No OFD packet to send [19:22:24]OFD Sender: No OFD packet to send [19:22:29]OFD Sender: No OFD packet to send [19:22:34]OFD Sender: No OFD packet to send [19:22:39]OFD Sender: No OFD packet to send [19:22:44]OFD Sender: No OFD packet to send [19:22:49]OFD Sender: No OFD packet to send [19:22:54]OFD Sender: No OFD packet to send [19:22:59]OFD Sender: No OFD packet to send [19:23:04]OFD Sender: No OFD packet to send [19:23:09]OFD Sender: No OFD packet to send [19:23:14]OFD Sender: No OFD packet to send [19:23:19]OFD Sender: No OFD packet to send [19:23:24]OFD Sender: No OFD packet to send [19:23:29]OFD Sender: No OFD packet to send [19:23:34]OFD Sender: No OFD packet to send [19:23:39]OFD Sender: No OFD packet to send [19:23:44]OFD Sender: No OFD packet to send [19:23:49]OFD Sender: No OFD packet to send [19:23:54]OFD Sender: No OFD packet to send [19:23:59]OFD Sender: No OFD packet to send [19:24:04]OFD Sender: No OFD packet to send [19:24:09]OFD Sender: No OFD packet to send [19:24:14]OFD Sender: No OFD packet to send [19:24:19]OFD Sender: No OFD packet to send [19:24:24]OFD Sender: No OFD packet to send [19:24:29]OFD Sender: No OFD packet to send [19:24:34]OFD Sender: No OFD packet to send [19:24:39]OFD Sender: No OFD packet to send [19:24:44]OFD Sender: No OFD packet to send [19:24:49]OFD Sender: No OFD packet to send [19:24:54]OFD Sender: No OFD packet to send [19:24:59]OFD Sender: No OFD packet to send [19:25:04]OFD Sender: No OFD packet to send [19:25:09]OFD Sender: No OFD packet to send [19:25:14]OFD Sender: No OFD packet to send [19:25:19]OFD Sender: No OFD packet to send [19:25:24]OFD Sender: No OFD packet to send [19:25:29]OFD Sender: No OFD packet to send [19:25:35]OFD Sender: No OFD packet to send [19:25:40]OFD Sender: No OFD packet to send [19:25:45]OFD Sender: No OFD packet to send [19:25:50]OFD Sender: No OFD packet to send [19:25:55]OFD Sender: No OFD packet to send [19:26:00]OFD Sender: No OFD packet to send [19:26:05]OFD Sender: No OFD packet to send [19:26:10]OFD Sender: No OFD packet to send [19:26:15]OFD Sender: No OFD packet to send [19:26:20]OFD Sender: No OFD packet to send [19:26:25]OFD Sender: No OFD packet to send [19:26:30]OFD Sender: No OFD packet to send [19:26:35]OFD Sender: No OFD packet to send [19:26:40]OFD Sender: No OFD packet to send [19:26:45]OFD Sender: No OFD packet to send [19:26:50]OFD Sender: No OFD packet to send [19:26:55]OFD Sender: No OFD packet to send [19:27:00]OFD Sender: No OFD packet to send [19:27:05]OFD Sender: No OFD packet to send [19:27:10]OFD Sender: No OFD packet to send [19:27:15]OFD Sender: No OFD packet to send [19:27:20]OFD Sender: No OFD packet to send [19:27:25]OFD Sender: No OFD packet to send [19:27:30]OFD Sender: No OFD packet to send [19:27:35]OFD Sender: No OFD packet to send [19:27:40]OFD Sender: No OFD packet to send [19:27:45]OFD Sender: No OFD packet to send [19:27:50]OFD Sender: No OFD packet to send [19:27:55]OFD Sender: No OFD packet to send [19:28:00]OFD Sender: No OFD packet to send [19:28:05]OFD Sender: No OFD packet to send [19:28:10]OFD Sender: No OFD packet to send [19:28:15]OFD Sender: No OFD packet to send [19:28:20]OFD Sender: No OFD packet to send [19:28:25]OFD Sender: No OFD packet to send [19:28:30]OFD Sender: No OFD packet to send [19:28:35]OFD Sender: No OFD packet to send [19:28:40]OFD Sender: No OFD packet to send [19:28:45]OFD Sender: No OFD packet to send [19:28:50]OFD Sender: No OFD packet to send [19:28:55]OFD Sender: No OFD packet to send [19:29:00]OFD Sender: No OFD packet to send [19:29:05]OFD Sender: No OFD packet to send [19:29:10]OFD Sender: No OFD packet to send [19:29:15]OFD Sender: No OFD packet to send [19:29:20]OFD Sender: No OFD packet to send [19:29:25]OFD Sender: No OFD packet to send [19:29:30]OFD Sender: No OFD packet to send [19:29:35]OFD Sender: No OFD packet to send [19:29:40]OFD Sender: No OFD packet to send [19:29:45]OFD Sender: No OFD packet to send [19:29:50]OFD Sender: No OFD packet to send [19:29:55]OFD Sender: No OFD packet to send [19:30:00]OFD Sender: No OFD packet to send [19:30:05]OFD Sender: No OFD packet to send [19:30:10]OFD Sender: No OFD packet to send [19:30:15]OFD Sender: No OFD packet to send [19:30:20]OFD Sender: No OFD packet to send [19:30:25]OFD Sender: No OFD packet to send [19:30:30]OFD Sender: No OFD packet to send [19:30:35]OFD Sender: No OFD packet to send [19:30:40]OFD Sender: No OFD packet to send [19:30:45]OFD Sender: No OFD packet to send [19:30:50]OFD Sender: No OFD packet to send [19:30:55]OFD Sender: No OFD packet to send [19:31:00]OFD Sender: No OFD packet to send [19:31:05]OFD Sender: No OFD packet to send [19:31:10]OFD Sender: No OFD packet to send [19:31:15]OFD Sender: No OFD packet to send [19:31:20]OFD Sender: No OFD packet to send [19:31:25]OFD Sender: No OFD packet to send [19:31:30]OFD Sender: No OFD packet to send [19:31:35]OFD Sender: No OFD packet to send [19:31:40]OFD Sender: No OFD packet to send [19:31:45]OFD Sender: No OFD packet to send [19:31:50]OFD Sender: No OFD packet to send [19:31:55]OFD Sender: No OFD packet to send [19:32:00]OFD Sender: No OFD packet to send [19:32:05]OFD Sender: No OFD packet to send [19:32:10]OFD Sender: No OFD packet to send [19:32:15]OFD Sender: No OFD packet to send [19:32:20]OFD Sender: No OFD packet to send [19:32:25]OFD Sender: No OFD packet to send [19:32:30]OFD Sender: No OFD packet to send [19:32:35]OFD Sender: No OFD packet to send [19:32:40]OFD Sender: No OFD packet to send [19:32:45]OFD Sender: No OFD packet to send [19:32:50]OFD Sender: No OFD packet to send [19:32:55]OFD Sender: No OFD packet to send [19:33:00]OFD Sender: No OFD packet to send [19:33:05]OFD Sender: No OFD packet to send [19:33:10]OFD Sender: No OFD packet to send [19:33:15]OFD Sender: No OFD packet to send [19:33:20]OFD Sender: No OFD packet to send [19:33:25]OFD Sender: No OFD packet to send [19:33:30]OFD Sender: No OFD packet to send [19:33:35]OFD Sender: No OFD packet to send [19:33:40]OFD Sender: No OFD packet to send [19:33:45]OFD Sender: No OFD packet to send [19:33:50]OFD Sender: No OFD packet to send [19:33:55]OFD Sender: No OFD packet to send [19:34:00]OFD Sender: No OFD packet to send [19:34:05]OFD Sender: No OFD packet to send [19:34:10]OFD Sender: No OFD packet to send [19:34:15]OFD Sender: No OFD packet to send [19:34:20]OFD Sender: No OFD packet to send [19:34:25]OFD Sender: No OFD packet to send [19:34:30]OFD Sender: No OFD packet to send [19:34:35]OFD Sender: No OFD packet to send [19:34:40]OFD Sender: No OFD packet to send [19:34:45]OFD Sender: No OFD packet to send [19:34:50]OFD Sender: No OFD packet to send [19:34:55]OFD Sender: No OFD packet to send [19:35:00]OFD Sender: No OFD packet to send [19:35:05]OFD Sender: No OFD packet to send [19:35:10]OFD Sender: No OFD packet to send [19:35:15]OFD Sender: No OFD packet to send [19:35:20]OFD Sender: No OFD packet to send [19:35:25]OFD Sender: No OFD packet to send [19:35:30]OFD Sender: No OFD packet to send [19:35:35]OFD Sender: No OFD packet to send [19:35:40]OFD Sender: No OFD packet to send [19:35:43]accept exits with 9 [19:35:43]New connection [19:35:43]New thread 3066871140 created [19:35:43]Thread 3067014500 joined [19:35:43]Waiting for new connection... [19:35:43] Sock 9.Parse request [19:35:43]Sock 9.Check first char [19:35:43]Sock 9.First char is OK [19:35:43]request: POST /json_proto HTTP/1.0 [19:35:43]Method: POST [19:35:43]URL: /json_proto [19:35:43]Method is POST - this is cgi request [19:35:43]url: /json_proto [19:35:43]query_string will be loaded in cgi processing [19:35:43]execute_cgi json_proto POST (null) [19:35:43]execute_cgi path=json_proto method=POST [19:35:43]POST find Content-Length [19:35:43]Host: 172.17.39.4:8080 [19:35:43]Content-Length: 725 [19:35:43]Content-Type: application/json [19:35:43] [19:35:43]POST finish read [19:35:43]Found Content-Length = 725 [19:35:43]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129656", "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 }]} ], "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" ] } } [19:35:43]execute_script... [19:35:43]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129656", "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 }]} ], "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" ] } } [19:35:43]POST & json_proto [19:35:43]process_json_proto [19:35:43]json parsed OK: [19:35:43]protocol is kg_v1.0 [19:35:43]action value=close_receipt [19:35:43]process_action close_receipt [19:35:43]cmd_close_receipt [19:35:43]MH_GetDate [19:35:43]Write to MH i2c: F0 00 00 55 05 49 [19:35:43]Write i2c OK [19:35:43]MH_I2C_Read... [19:35:43]Read from MH i2c: F0 [19:35:43]MH_I2C_Read... [19:35:43]Read from MH i2c: F0 09 00 [19:35:43]MH_I2C_Read... [19:35:43]Read from MH i2c: F0 09 00 55 05 00 10 7A 95 66 2D 25 5D 64 EA [19:35:43]GetLastDocTimeStamp 1721071083 [19:35:43]current date 1721072144 [19:35:43]FM_GetShiftState [19:35:43]SAM_PROTO_GetShiftState [19:35:43]wFMCommunicate request_size=4 [19:35:43]MH_SAM_APDU [19:35:43]CAPDU: 80 13 01 00 [19:35:43]Write to MH i2c: E2 08 00 56 05 80 13 01 00 00 00 00 00 D8 [19:35:43]Write i2c OK [19:35:43]MH_I2C_Read... [19:35:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:35:43]Read from MH i2c: E2 [19:35:43]MH_I2C_Read... [19:35:43]Read from MH i2c: E2 0E 00 [19:35:43]MH_I2C_Read... [19:35:43]Read from MH i2c: E2 0E 00 56 05 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 51 [19:35:43]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [19:35:43]wFMCommunicate OK [19:35:43]SAM_PROTO_GetShiftState done [19:35:43]FM_GetShiftState done [19:35:43]opened in 1721003525 [19:35:43]opened+sec_in_day 1721089925 [19:35:43]quantity*price = 14000 [19:35:43]sum+1 = 14001 [19:35:43]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 СНО: Общий режим Чек 105 15.07.2024 19:35 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57210 ФПД: 185927713054103 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T193544&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57210&fm=185927713054103&tin=02508201610067®Number=0000000000091208&sum=14000 0 [19:35:44]StoreToDocumentArchive [19:35:44]shift 497 fd 57210 [19:35:44]save to /storage/0497/doc_00057210 [19:35:44]save last doc name /storage/0497/doc_00057210 to /storage/kkm_last_doc_name [19:35:44]save OK [19:35:44]Clear old archive folders... [19:35:45]ProcessDocumentItem done err = 0, tmpTLVsize=273 [19:35:45]tlvbuf is 0083F450 [19:35:45]SAM_PROTO_ClearQueue [19:35:45]wFMCommunicate request_size=4 [19:35:45]MH_SAM_APDU [19:35:45]CAPDU: 80 09 00 00 [19:35:45]Write to MH i2c: E2 08 00 63 05 80 09 00 00 00 00 00 00 DA [19:35:45]Write i2c OK [19:35:45]MH_I2C_Read... [19:35:45]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:35:45]Read from MH i2c: E2 [19:35:45]MH_I2C_Read... [19:35:45]Read from MH i2c: E2 03 00 [19:35:45]MH_I2C_Read... [19:35:45]Read from MH i2c: E2 03 00 63 05 00 90 00 DC [19:35:45]RAPDU: 90 00 [19:35:45]wFMCommunicate OK [19:35:45]SAM_PROTO_ClearQueue done [19:35:45]KKMCreateOFDPacket [19:35:45]OFDProtocolAddRootSTLVToBuf [19:35:45]FM_MakeSignedData [19:35:45]FM_MakeSignedData [19:35:45]SAM_PROTO_SignData [19:35:45]wFMCommunicate request_size=4 [19:35:45]MH_SAM_APDU [19:35:45]CAPDU: 80 0D 01 02 [19:35:45]Write to MH i2c: E2 08 00 64 05 80 0D 01 02 00 00 00 00 E2 [19:35:45]Write i2c OK [19:35:45]MH_I2C_Read... [19:35:45]Read from MH i2c: E2 [19:35:45]MH_I2C_Read... [19:35:45]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:35:45]Read from MH i2c: E2 03 00 [19:35:45]MH_I2C_Read... [19:35:45]Read from MH i2c: E2 03 00 64 05 00 90 00 DD [19:35:45]RAPDU: 90 00 [19:35:45]wFMCommunicate OK [19:35:45]wFMCommunicate request_size=255 [19:35:45]MH_SAM_APDU [19:35:45]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 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 69 00 00 00 F4 03 04 00 10 7A 95 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 [19:35:45]Write to MH i2c: E2 02 01 65 05 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 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 69 00 00 00 F4 03 04 00 10 7A 95 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 9E [19:35:45]Write i2c OK [19:35:45]MH_I2C_Read... [19:35:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:35:45]Read from MH i2c: E2 [19:35:45]MH_I2C_Read... [19:35:45]Read from MH i2c: E2 03 00 [19:35:45]MH_I2C_Read... [19:35:45]Read from MH i2c: E2 03 00 65 05 00 90 00 DE [19:35:45]RAPDU: 90 00 [19:35:45]wFMCommunicate OK [19:35:45]wFMCommunicate request_size=32 [19:35:45]MH_SAM_APDU [19:35:45]CAPDU: 80 0D 02 02 1B 30 30 30 38 37 34 38 35 37 10 04 04 00 7A DF 00 00 35 04 06 00 A9 19 AB 4A 5D 97 [19:35:45]Write to MH i2c: E2 23 00 66 05 80 0D 02 02 1B 00 30 30 30 38 37 34 38 35 37 10 04 04 00 7A DF 00 00 35 04 06 00 A9 19 AB 4A 5D 97 00 00 4D [19:35:45]Write i2c OK [19:35:45]MH_I2C_Read... [19:35:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:35:45]Read from MH i2c: E2 [19:35:45]MH_I2C_Read... [19:35:45]Read from MH i2c: E2 03 00 [19:35:45]MH_I2C_Read... [19:35:45]Read from MH i2c: E2 03 00 66 05 00 90 00 DF [19:35:45]RAPDU: 90 00 [19:35:45]wFMCommunicate OK [19:35:45]wFMCommunicate request_size=4 [19:35:45]MH_SAM_APDU [19:35:45]CAPDU: 80 0D 03 02 [19:35:45]Write to MH i2c: E2 08 00 67 05 80 0D 03 02 00 00 00 00 E7 [19:35:45]Write i2c OK [19:35:45]MH_I2C_Read... [19:35:45]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:35:45]Read from MH i2c: E2 [19:35:45]MH_I2C_Read... [19:35:45]Read from MH i2c: E2 0B 00 [19:35:45]MH_I2C_Read... [19:35:45]Read from MH i2c: E2 0B 00 67 05 00 FC 9B 5D DE 4F 5A BB F1 90 00 0F [19:35:45]RAPDU: FC 9B 5D DE 4F 5A BB F1 90 00 [19:35:45]wFMCommunicate OK [19:35:45]SAM_PROTO_SignData done [19:35:45]FM_MakeSignedData done [19:35:45]CreateOFDProtocolMessage [19:35:45]wFMCommunicate request_size=4 [19:35:45]MH_SAM_APDU [19:35:45]CAPDU: 80 11 00 00 [19:35:45]Write to MH i2c: E2 08 00 68 05 80 11 00 00 00 00 00 00 E7 [19:35:45]Write i2c OK [19:35:45]MH_I2C_Read... [19:35:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:35:45]Read from MH i2c: E2 [19:35:45]MH_I2C_Read... [19:35:45]Read from MH i2c: E2 17 00 [19:35:45]MH_I2C_Read... [19:35:45]Read from MH i2c: E2 17 00 68 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 41 [19:35:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [19:35:45]wFMCommunicate OK [19:35:45]CreateOFDProtocolMessage done [19:35:45]OFDSenderStorePacket 57210 [19:35:45]StoreOFDPacket docnum=57210 [19:35:45]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 42 17 1D 01 47 FF 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 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 69 00 00 00 F4 03 04 00 10 7A 95 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 7A DF 00 00 35 04 06 00 A9 19 AB 4A 5D 97 FC 9B 5D DE 4F 5A BB F1 [19:35:45]CheckFolder [19:35:45]dirname=/storage/ofd_packets [19:35:45]CheckFolder done [19:35:45]ProducePacketName [19:35:45]name=ofd_packets/00057210 [19:35:45]NVStorageSaveData ofd_packets/00057210 [19:35:45]File name is /storage/ofd_packets/00057210 [19:35:45]Write 323 bytes [19:35:45]NVStorageSaveData done [19:35:45]OFDSenderStorePacket done [19:35:45]KKMCreateOFDPacket done [19:35:45]NVStorageSaveData kkm_last_timestamp [19:35:45]File name is /storage/kkm_last_timestamp [19:35:45]Write 4 bytes [19:35:45]NVStorageSaveData done [19:35:45]ExternCall_PrintAddStr [19:35:45]wPrintStart [19:35:45]Write to MH i2c: 01 00 00 69 05 6E [19:35:45]Write i2c OK [19:35:45]MH_I2C_Read... [19:35:45]Read from MH i2c: 01 [19:35:45]MH_I2C_Read... [19:35:45]Read from MH i2c: 01 07 00 [19:35:45]MH_I2C_Read... [19:35:45]Read from MH i2c: 01 07 00 69 05 00 00 00 00 00 FF 0F 83 [19:35:45]RasterBufferAndPrint [19:35:45]line Счет N : (3)129656 [19:35:45]line ИНН: 02508201610067 [19:35:45]line Контрольно-Кассовый Чек [19:35:45]line ПРОДАЖА [19:35:45]line Товар: 48747059 [19:35:45]line Сигареты Winston Legend Blue [19:35:45]line 1.000 * 140.00 [19:35:45]line = 140.00 [19:35:45]line НДС 12% НСП 1% [19:35:45]line > о реализуемом товаре [19:35:45]line ИТОГО: 140.00 [19:35:45]line НСП 1% : 1.24 [19:35:45]line НДС 12% : 14.87 [19:35:45]line Наличными: 140.00 [19:35:45]line Безнал.: 0.00 [19:35:45]line Место: АЗС № 132 "Партнер Нефть" [19:35:45]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [19:35:45]line СНО: Общий режим [19:35:45]line Чек 105 15.07.2024 19:35 [19:35:45]line Смена: 497 ФФД: 1.0 [19:35:45]line ЗНМ: 0300000132 [19:35:45]line РНМ: 0000000000091208 [19:35:45]line Версия ККМ: 001 [19:35:45]line ФМ: 0000000000874857 [19:35:45]line ФД: 57210 [19:35:45]line ФПД: 185927713054103 [19:35:45]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T193544&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57210&fm=185927713054103&tin=02508201610067®Number=0000000000091208&sum=14000 [19:35:45]line 0 [19:35:45]OFD Sender: Processing packet 57210 [packets to send 38, broken 37] [19:35:45]ProducePacketName [19:35:45]name=ofd_packets/00057210 [19:35:45]OFD Sender: To server: pG, [19:35:45]CommunicateWithHost lk.salyk.kg:30040 [19:35:45]ConnectInit lk.salyk.kg [19:35:45]written 0, free lines is 4095 [19:35:45]Connected sock=10 [19:35:45]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 42 17 1D 01 47 FF 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 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 69 00 00 00 F4 03 04 00 10 7A 95 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 7A DF 00 00 35 04 06 00 A9 19 AB 4A 5D 97 FC 9B 5D DE 4F 5A BB F1 [19:35: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 B4 89 47 00 30 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 7A DF 00 00 F4 03 04 00 5E 20 95 66 B6 04 01 00 00 22 0D AF 18 C1 08 DE A6 [19:35:46]CommunicateWithHost err = 0 [19:35:46]CheckOFDResponse [19:35:46]1017 (14) - 77093643461234 [19:35:46]1041 (16) - 0000000000874857 [19:35:46]1040 (4) - 57210 [19:35:46]1012 (4) - 15.07.2024 13:13 [19:35:46]1206 (1) - 0 [19:35:46]OFD Sender: Remove packet 57210 [19:35:46]ProducePacketName [19:35:46]name=ofd_packets/00057210 [19:35:46]NVStorageDeleteData [19:35:46]Write to MH i2c: 01 00 00 92 05 97 [19:35:46]Write i2c OK [19:35:46]MH_I2C_Read... [19:35:46]Read from MH i2c: 01 [19:35:46]MH_I2C_Read... [19:35:46]Read from MH i2c: 01 07 00 [19:35:46]MH_I2C_Read... [19:35:46]Read from MH i2c: 01 07 00 92 05 00 00 00 00 00 DF 0C 89 [19:35:46]RasterBufferAndPrint [19:35:46]line [19:35:46]line [19:35:46]line [19:35:46]line [19:35:46]line [19:35:46]written 0, free lines is 3301 [19:35:46]MH_Cut [19:35:46]Write to MH i2c: D1 01 00 99 05 01 70 [19:35:46]Write i2c OK [19:35:46]MH_I2C_Read... [19:35:46]Read from MH i2c: D1 [19:35:46]MH_I2C_Read... [19:35:46]Read from MH i2c: D1 01 00 [19:35:46]MH_I2C_Read... [19:35:46]Read from MH i2c: D1 01 00 99 05 00 6F [19:35:46]Write to MH i2c: 01 00 00 9A 05 9F [19:35:46]Write i2c OK [19:35:46]MH_I2C_Read... [19:35:46]OFD Sender: No OFD packet to send [19:35:47]*** Cut start [19:35:47]*** Partial cut [19:35:47]*** CUTSNS_PIN = 1 [19:35:47]*** CUTSNS_PIN = 0 [19:35:47]*** Brake cut motor [19:35:47]Read from MH i2c: 01 [19:35:47]MH_I2C_Read... [19:35:47]*** Stop cut motor [19:35:47]*** Cut end [19:35:47]Read from MH i2c: 01 07 00 [19:35:47]MH_I2C_Read... [19:35:47]Read from MH i2c: 01 07 00 9A 05 00 00 00 00 00 FF 0F B4 [19:35:47]process_action close_receipt done [19:35:47]requested_data is exist [19:35:47]produce_requested_data [19:35:47]requested_item fm.sn is exist - process it [19:35:47]wFMCommunicate request_size=4 [19:35:47]MH_SAM_APDU [19:35:47]CAPDU: 80 11 00 00 [19:35:47]Write to MH i2c: E2 08 00 9B 05 80 11 00 00 00 00 00 00 1A [19:35:47]Write i2c OK [19:35:47]MH_I2C_Read... [19:35:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:35:47]Read from MH i2c: E2 [19:35:47]MH_I2C_Read... [19:35:47]Read from MH i2c: E2 17 00 [19:35:47]MH_I2C_Read... [19:35:47]Read from MH i2c: E2 17 00 9B 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 74 [19:35:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [19:35:47]wFMCommunicate OK [19:35:47]requested_item fd.num is exist - process it [19:35:47]SAM_PROTO_GetFieldsCounters [19:35:47]wFMCommunicate request_size=4 [19:35:47]MH_SAM_APDU [19:35:47]CAPDU: 80 13 00 00 [19:35:47]Write to MH i2c: E2 08 00 9C 05 80 13 00 00 00 00 00 00 1D [19:35:47]Write i2c OK [19:35:47]MH_I2C_Read... [19:35:47]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:35:47]Read from MH i2c: E2 [19:35:47]MH_I2C_Read... [19:35:47]Read from MH i2c: E2 62 00 [19:35:47]MH_I2C_Read... [19:35:47]Read from MH i2c: E2 62 00 9C 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 7A DF 00 00 0E 04 04 00 F1 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 C6 [19:35:47]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 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 7A DF 00 00 0E 04 04 00 F1 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 [19:35:47]wFMCommunicate OK [19:35:47]SAM_PROTO_GetFieldsCounters done [19:35:47]requested_item shift.num is exist - process it [19:35:47]requested_item shift.opened is exist - process it [19:35:47]req_shift_opened [19:35:47]FM_GetShiftState [19:35:47]SAM_PROTO_GetShiftState [19:35:47]wFMCommunicate request_size=4 [19:35:47]MH_SAM_APDU [19:35:47]CAPDU: 80 13 01 00 [19:35:47]Write to MH i2c: E2 08 00 9D 05 80 13 01 00 00 00 00 00 1F [19:35:47]Write i2c OK [19:35:47]MH_I2C_Read... [19:35:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:35:47]Read from MH i2c: E2 [19:35:47]MH_I2C_Read... [19:35:47]Read from MH i2c: E2 0E 00 [19:35:47]MH_I2C_Read... [19:35:47]Read from MH i2c: E2 0E 00 9D 05 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 98 [19:35:47]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [19:35:47]wFMCommunicate OK [19:35:47]SAM_PROTO_GetShiftState done [19:35:47]FM_GetShiftState done [19:35:47]req_shift_opened done [19:35:47]requested_item shift.open_date is exist - process it [19:35:47]req_shift_open_date [19:35:47]req_shift_open_date done [19:35:47]requested_item shift.sale.total is exist - process it [19:35:47]SAM_PROTO_GetShiftData [19:35:47]wFMCommunicate request_size=4 [19:35:47]MH_SAM_APDU [19:35:47]CAPDU: 80 13 02 00 [19:35:47]Write to MH i2c: E2 08 00 9E 05 80 13 02 00 00 00 00 00 21 [19:35:47]Write i2c OK [19:35:47]MH_I2C_Read... [19:35:48]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [19:35:48]Read from MH i2c: E2 [19:35:48]MH_I2C_Read... [19:35:48]Read from MH i2c: E2 FD 00 [19:35:48]MH_I2C_Read... [19:35:48]Read from MH i2c: E2 FD 00 9E 05 00 B6 04 AA 04 B2 04 6E 04 04 00 69 00 00 00 69 04 9B 00 6F 04 04 00 68 00 00 00 B1 04 03 00 8D 87 28 70 04 03 00 70 AF 21 72 04 03 00 1D D8 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 E8 4D 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 CD 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 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 2C [19:35:48]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 69 00 00 00 69 04 9B 00 6F 04 04 00 68 00 00 00 B1 04 03 00 8D 87 28 70 04 03 00 70 AF 21 72 04 03 00 1D D8 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 E8 4D 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 CD 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 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 [19:35:48]wFMCommunicate OK [19:35:48]wFMCommunicate request_size=4 [19:35:48]MH_SAM_APDU [19:35:48]CAPDU: 80 17 00 00 [19:35:48]Write to MH i2c: E2 08 00 9F 05 80 17 00 00 00 00 00 00 24 [19:35:48]Write i2c OK [19:35:48]MH_I2C_Read... [19:35:48]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [19:35:48]Read from MH i2c: E2 [19:35:48]MH_I2C_Read... [19:35:48]Read from MH i2c: E2 FD 00 [19:35:48]MH_I2C_Read... [19:35:48]Read from MH i2c: E2 FD 00 9F 05 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 59 [19:35:48]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 [19:35:48]wFMCommunicate OK [19:35:48]wFMCommunicate request_size=4 [19:35:48]MH_SAM_APDU [19:35:48]CAPDU: 80 17 00 00 [19:35:48]Write to MH i2c: E2 08 00 A0 05 80 17 00 00 00 00 00 00 25 [19:35:48]Write i2c OK [19:35:48]MH_I2C_Read... [19:35:48]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [19:35:48]Read from MH i2c: E2 [19:35:48]MH_I2C_Read... [19:35:48]Read from MH i2c: E2 FD 00 [19:35:48]MH_I2C_Read... [19:35:48]Read from MH i2c: E2 FD 00 A0 05 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 E5 [19:35:48]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 [19:35:48]wFMCommunicate OK [19:35:48]wFMCommunicate request_size=4 [19:35:48]MH_SAM_APDU [19:35:48]CAPDU: 80 17 00 00 [19:35:48]Write to MH i2c: E2 08 00 A1 05 80 17 00 00 00 00 00 00 26 [19:35:48]Write i2c OK [19:35:48]MH_I2C_Read... [19:35:49]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [19:35:49]Read from MH i2c: E2 [19:35:49]MH_I2C_Read... [19:35:49]Read from MH i2c: E2 FD 00 [19:35:49]MH_I2C_Read... [19:35:49]Read from MH i2c: E2 FD 00 A1 05 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 95 [19:35:49]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 [19:35:49]wFMCommunicate OK [19:35:49]wFMCommunicate request_size=4 [19:35:49]MH_SAM_APDU [19:35:49]CAPDU: 80 17 00 00 [19:35:49]Write to MH i2c: E2 08 00 A2 05 80 17 00 00 00 00 00 00 27 [19:35:49]Write i2c OK [19:35:49]MH_I2C_Read... [19:35:49]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [19:35:49]Read from MH i2c: E2 [19:35:49]MH_I2C_Read... [19:35:49]Read from MH i2c: E2 D3 00 [19:35:49]MH_I2C_Read... [19:35:49]Read from MH i2c: E2 D3 00 A2 05 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 14 [19:35:49]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 [19:35:49]wFMCommunicate OK [19:35:49]SAM_PROTO_GetShiftData done [19:35:49]requested_item shift.sale.total_cash is exist - process it [19:35:49]requested_item shift.sale_refund.total is exist - process it [19:35:49]requested_item shift.sale_refund.total_cash is exist - process it [19:35:49]produce_requested_data done [19:35:49]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57210,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":26561.41,"shift.sale.total_cash":22076.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [19:35:49]process_action_free close_receipt [19:35:49]json_value_free [19:35:49]json_value_free done [19:35:49]process_json_proto returns [19:35:49]Send response to host [19:35:49]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57210,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":26561.41,"shift.sale.total_cash":22076.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [19:35:49]free response buf [19:35:49]execute_script done [19:35:49]execute_script returns [19:35:49]free content buf [19:35:49]Sock 9.Close socket [19:35:49]Sock 9.Thread stoped [19:35:51]OFD Sender: No OFD packet to send [19:35:56]OFD Sender: No OFD packet to send [19:36:01]OFD Sender: No OFD packet to send [19:36:06]OFD Sender: No OFD packet to send [19:36:11]OFD Sender: No OFD packet to send [19:36:16]OFD Sender: No OFD packet to send [19:36:21]OFD Sender: No OFD packet to send [19:36:26]OFD Sender: No OFD packet to send [19:36:31]OFD Sender: No OFD packet to send [19:36:36]OFD Sender: No OFD packet to send [19:36:41]OFD Sender: No OFD packet to send [19:36:45]accept exits with 7 [19:36:45]New connection [19:36:45]New thread 3067014500 created [19:36:45]Thread 3066871140 joined [19:36:45]Waiting for new connection... [19:36:45] Sock 7.Parse request [19:36:45]Sock 7.Check first char [19:36:45]Sock 7.First char is OK [19:36:45]request: POST /json_proto HTTP/1.0 [19:36:45]Method: POST [19:36:45]URL: /json_proto [19:36:45]Method is POST - this is cgi request [19:36:45]url: /json_proto [19:36:45]query_string will be loaded in cgi processing [19:36:45]execute_cgi json_proto POST (null) [19:36:45]execute_cgi path=json_proto method=POST [19:36:45]POST find Content-Length [19:36:45]Host: 172.17.39.4:8080 [19:36:45]Content-Length: 786 [19:36:45]Content-Type: application/json [19:36:45] [19:36:45]POST finish read [19:36:45]Found Content-Length = 786 [19:36:45]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)856086", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 64", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-5", "price" : 74.40, "quantity" : 40.320, "sum" : 2999.81, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 5000.00, "total" : 2999.00, "payments": [ { "type": 0, "sum" : 2999.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" ] } } [19:36:45]execute_script... [19:36:45]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)856086", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 64", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-5", "price" : 74.40, "quantity" : 40.320, "sum" : 2999.81, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 5000.00, "total" : 2999.00, "payments": [ { "type": 0, "sum" : 2999.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" ] } } [19:36:45]POST & json_proto [19:36:45]process_json_proto [19:36:45]json parsed OK: [19:36:45]protocol is kg_v1.0 [19:36:45]action value=close_receipt [19:36:45]process_action close_receipt [19:36:45]cmd_close_receipt [19:36:45]MH_GetDate [19:36:45]Write to MH i2c: F0 00 00 A3 05 97 [19:36:45]Write i2c OK [19:36:45]MH_I2C_Read... [19:36:45]Read from MH i2c: F0 [19:36:45]MH_I2C_Read... [19:36:45]Read from MH i2c: F0 09 00 [19:36:45]MH_I2C_Read... [19:36:45]Read from MH i2c: F0 09 00 A3 05 00 4E 7A 95 66 2D 25 5D 64 76 [19:36:45]GetLastDocTimeStamp 1721072144 [19:36:45]current date 1721072206 [19:36:45]FM_GetShiftState [19:36:45]SAM_PROTO_GetShiftState [19:36:45]wFMCommunicate request_size=4 [19:36:45]MH_SAM_APDU [19:36:45]CAPDU: 80 13 01 00 [19:36:45]Write to MH i2c: E2 08 00 A4 05 80 13 01 00 00 00 00 00 26 [19:36:45]Write i2c OK [19:36:45]MH_I2C_Read... [19:36:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:36:45]Read from MH i2c: E2 [19:36:45]MH_I2C_Read... [19:36:45]Read from MH i2c: E2 0E 00 [19:36:45]MH_I2C_Read... [19:36:45]Read from MH i2c: E2 0E 00 A4 05 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 9F [19:36:45]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [19:36:45]wFMCommunicate OK [19:36:45]SAM_PROTO_GetShiftState done [19:36:45]FM_GetShiftState done [19:36:45]opened in 1721003525 [19:36:45]opened+sec_in_day 1721089925 [19:36:45]quantity*price = 299980 [19:36:45]sum+1 = 299982 [19:36:45]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.81 ИТОГО: 2999.00 Внесено: 5000.00 СДАЧА: 2001.00 НСП 1% : 26.55 НДС 12% : 318.56 Наличными: 2999.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 106 15.07.2024 19:36 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57211 ФПД: 48901893744731 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T193646&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57211&fm=48901893744731&tin=02508201610067®Number=0000000000091208&sum=299900 [19:36:46]StoreToDocumentArchive [19:36:46]shift 497 fd 57211 [19:36:46]save to /storage/0497/doc_00057211 [19:36:46]save last doc name /storage/0497/doc_00057211 to /storage/kkm_last_doc_name [19:36:46]save OK [19:36:46]Clear old archive folders... [19:36:46]ProcessDocumentItem done err = 0, tmpTLVsize=251 [19:36:46]tlvbuf is 0083D700 [19:36:46]SAM_PROTO_ClearQueue [19:36:46]wFMCommunicate request_size=4 [19:36:46]MH_SAM_APDU [19:36:46]CAPDU: 80 09 00 00 [19:36:46]Write to MH i2c: E2 08 00 B1 05 80 09 00 00 00 00 00 00 28 [19:36:46]Write i2c OK [19:36:46]MH_I2C_Read... [19:36:46]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:36:46]Read from MH i2c: E2 [19:36:46]MH_I2C_Read... [19:36:46]Read from MH i2c: E2 03 00 [19:36:46]MH_I2C_Read... [19:36:46]Read from MH i2c: E2 03 00 B1 05 00 90 00 2A [19:36:46]RAPDU: 90 00 [19:36:46]wFMCommunicate OK [19:36:46]SAM_PROTO_ClearQueue done [19:36:46]KKMCreateOFDPacket [19:36:46]OFDProtocolAddRootSTLVToBuf [19:36:46]FM_MakeSignedData [19:36:46]FM_MakeSignedData [19:36:46]SAM_PROTO_SignData [19:36:46]wFMCommunicate request_size=4 [19:36:46]MH_SAM_APDU [19:36:46]CAPDU: 80 0D 01 02 [19:36:46]Write to MH i2c: E2 08 00 B2 05 80 0D 01 02 00 00 00 00 30 [19:36:46]Write i2c OK [19:36:46]MH_I2C_Read... [19:36:47]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:36:47]Read from MH i2c: E2 [19:36:47]MH_I2C_Read... [19:36:47]Read from MH i2c: E2 03 00 [19:36:47]MH_I2C_Read... [19:36:47]Read from MH i2c: E2 03 00 B2 05 00 90 00 2B [19:36:47]RAPDU: 90 00 [19:36:47]wFMCommunicate OK [19:36:47]wFMCommunicate request_size=255 [19:36:47]MH_SAM_APDU [19:36:47]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 80 9D 00 00 00 00 00 37 04 06 00 10 1D 00 00 00 00 13 04 06 00 CD 93 04 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7C 93 04 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5F 0A 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 70 7C 00 00 00 00 07 04 06 00 7C 93 04 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 4E 7A 95 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 7B DF 00 00 35 04 06 00 2C [19:36:47]Write to MH i2c: E2 02 01 B3 05 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 80 9D 00 00 00 00 00 37 04 06 00 10 1D 00 00 00 00 13 04 06 00 CD 93 04 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7C 93 04 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5F 0A 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 70 7C 00 00 00 00 07 04 06 00 7C 93 04 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 4E 7A 95 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 7B DF 00 00 35 04 06 00 2C 00 00 0E [19:36:47]Write i2c OK [19:36:47]MH_I2C_Read... [19:36:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:36:47]Read from MH i2c: E2 [19:36:47]MH_I2C_Read... [19:36:47]Read from MH i2c: E2 03 00 [19:36:47]MH_I2C_Read... [19:36:47]Read from MH i2c: E2 03 00 B3 05 00 90 00 2C [19:36:47]RAPDU: 90 00 [19:36:47]wFMCommunicate OK [19:36:47]wFMCommunicate request_size=10 [19:36:47]MH_SAM_APDU [19:36:47]CAPDU: 80 0D 02 02 05 79 DC 01 68 5B [19:36:47]Write to MH i2c: E2 0D 00 B4 05 80 0D 02 02 05 00 79 DC 01 68 5B 00 00 56 [19:36:47]Write i2c OK [19:36:47]MH_I2C_Read... [19:36:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:36:47]Read from MH i2c: E2 [19:36:47]MH_I2C_Read... [19:36:47]Read from MH i2c: E2 03 00 [19:36:47]MH_I2C_Read... [19:36:47]Read from MH i2c: E2 03 00 B4 05 00 90 00 2D [19:36:47]RAPDU: 90 00 [19:36:47]wFMCommunicate OK [19:36:47]wFMCommunicate request_size=4 [19:36:47]MH_SAM_APDU [19:36:47]CAPDU: 80 0D 03 02 [19:36:47]Write to MH i2c: E2 08 00 B5 05 80 0D 03 02 00 00 00 00 35 [19:36:47]Write i2c OK [19:36:47]MH_I2C_Read... [19:36:47]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:36:47]Read from MH i2c: E2 [19:36:47]MH_I2C_Read... [19:36:47]Read from MH i2c: E2 0B 00 [19:36:47]MH_I2C_Read... [19:36:47]Read from MH i2c: E2 0B 00 B5 05 00 C5 B9 5F F2 4C F6 B9 39 90 00 39 [19:36:47]RAPDU: C5 B9 5F F2 4C F6 B9 39 90 00 [19:36:47]wFMCommunicate OK [19:36:47]SAM_PROTO_SignData done [19:36:47]FM_MakeSignedData done [19:36:47]CreateOFDProtocolMessage [19:36:47]wFMCommunicate request_size=4 [19:36:47]MH_SAM_APDU [19:36:47]CAPDU: 80 11 00 00 [19:36:47]Write to MH i2c: E2 08 00 B6 05 80 11 00 00 00 00 00 00 35 [19:36:47]Write i2c OK [19:36:47]MH_I2C_Read... [19:36:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:36:47]Read from MH i2c: E2 [19:36:47]MH_I2C_Read... [19:36:47]Read from MH i2c: E2 17 00 [19:36:47]MH_I2C_Read... [19:36:47]Read from MH i2c: E2 17 00 B6 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 8F [19:36:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [19:36:47]wFMCommunicate OK [19:36:47]CreateOFDProtocolMessage done [19:36:47]OFDSenderStorePacket 57211 [19:36:47]StoreOFDPacket docnum=57211 [19:36: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 0F 01 00 00 A2 BB 07 01 46 C0 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 80 9D 00 00 00 00 00 37 04 06 00 10 1D 00 00 00 00 13 04 06 00 CD 93 04 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7C 93 04 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5F 0A 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 70 7C 00 00 00 00 07 04 06 00 7C 93 04 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 4E 7A 95 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 7B DF 00 00 35 04 06 00 2C 79 DC 01 68 5B C5 B9 5F F2 4C F6 B9 39 [19:36:47]CheckFolder [19:36:47]dirname=/storage/ofd_packets [19:36:47]CheckFolder done [19:36:47]ProducePacketName [19:36:47]name=ofd_packets/00057211 [19:36:47]NVStorageSaveData ofd_packets/00057211 [19:36:47]File name is /storage/ofd_packets/00057211 [19:36:47]Write 301 bytes [19:36:47]NVStorageSaveData done [19:36:47]OFDSenderStorePacket done [19:36:47]KKMCreateOFDPacket done [19:36:47]NVStorageSaveData kkm_last_timestamp [19:36:47]File name is /storage/kkm_last_timestamp [19:36:47]Write 4 bytes [19:36:47]NVStorageSaveData done [19:36:47]ExternCall_PrintAddStr [19:36:47]wPrintStart [19:36:47]Write to MH i2c: 01 00 00 B7 05 BC [19:36:47]Write i2c OK [19:36:47]MH_I2C_Read... [19:36:47]Read from MH i2c: 01 [19:36:47]MH_I2C_Read... [19:36:47]Read from MH i2c: 01 07 00 [19:36:47]MH_I2C_Read... [19:36:47]Read from MH i2c: 01 07 00 B7 05 00 00 00 00 00 FF 0F D1 [19:36:47]RasterBufferAndPrint [19:36:47]line Счет N : (1)856086 [19:36:47]line ИНН: 02508201610067 [19:36:47]line Контрольно-Кассовый Чек [19:36:47]line ПРОДАЖА [19:36:47]line ТРК (МРК, ГНК) : 64 [19:36:47]line Товар: 2710124500 [19:36:47]line Аи-95-К-5 [19:36:47]line 40.320 * 74.40 [19:36:47]line = 2999.81 [19:36:47]line НДС 12% НСП 1% [19:36:47]line > о реализуемом товаре [19:36:47]line ОКРУГЛЕНИЕ: -0.81 [19:36:47]line ИТОГО: 2999.00 [19:36:47]line Внесено: 5000.00 [19:36:47]line СДАЧА: 2001.00 [19:36:47]line НСП 1% : 26.55 [19:36:47]line НДС 12% : 318.56 [19:36:47]line Наличными: 2999.00 [19:36:47]line Безнал.: 0.00 [19:36:47]line Место: АЗС № 132 "Партнер Нефть" [19:36:47]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [19:36:47]line СНО: Общий режим [19:36:47]line Чек 106 15.07.2024 19:36 [19:36:47]line Смена: 497 ФФД: 1.0 [19:36:47]line ЗНМ: 0300000132 [19:36:47]line РНМ: 0000000000091208 [19:36:47]line Версия ККМ: 001 [19:36:47]line ФМ: 0000000000874857 [19:36:47]line ФД: 57211 [19:36:47]line ФПД: 48901893744731 [19:36:47]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T193646&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57211&fm=48901893744731&tin=02508201610067®Number=0000000000091208&sum=299900 [19:36:47]OFD Sender: Processing packet 57211 [packets to send 38, broken 37] [19:36:47]ProducePacketName [19:36:47]name=ofd_packets/00057211 [19:36:47]OFD Sender: To server: pG, [19:36:47]CommunicateWithHost lk.salyk.kg:30040 [19:36:47]ConnectInit lk.salyk.kg [19:36:47]written 0, free lines is 4095 [19:36:47]Connected sock=10 [19:36: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 0F 01 00 00 A2 BB 07 01 46 C0 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 80 9D 00 00 00 00 00 37 04 06 00 10 1D 00 00 00 00 13 04 06 00 CD 93 04 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7C 93 04 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5F 0A 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 70 7C 00 00 00 00 07 04 06 00 7C 93 04 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 4E 7A 95 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 7B DF 00 00 35 04 06 00 2C 79 DC 01 68 5B C5 B9 5F F2 4C F6 B9 39 [19:36: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 C1 65 47 00 56 07 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 7B DF 00 00 F4 03 04 00 9C 20 95 66 B6 04 01 00 00 73 D4 0F 83 B3 48 F5 9B [19:36:48]CommunicateWithHost err = 0 [19:36:48]CheckOFDResponse [19:36:48]1017 (14) - 77093643461234 [19:36:48]1041 (16) - 0000000000874857 [19:36:48]1040 (4) - 57211 [19:36:48]1012 (4) - 15.07.2024 13:14 [19:36:48]1206 (1) - 0 [19:36:48]OFD Sender: Remove packet 57211 [19:36:48]ProducePacketName [19:36:48]name=ofd_packets/00057211 [19:36:48]NVStorageDeleteData [19:36:48]Write to MH i2c: 01 00 00 E2 05 E7 [19:36:48]Write i2c OK [19:36:48]MH_I2C_Read... [19:36:48]Read from MH i2c: 01 [19:36:48]MH_I2C_Read... [19:36:48]Read from MH i2c: 01 07 00 [19:36:48]MH_I2C_Read... [19:36:48]Read from MH i2c: 01 07 00 E2 05 00 00 00 00 00 EF 0C E9 [19:36:48]RasterBufferAndPrint [19:36:48]line [19:36:48]line [19:36:48]line [19:36:48]line [19:36:48]line [19:36:48]written 0, free lines is 3318 [19:36:48]MH_Cut [19:36:48]Write to MH i2c: D1 01 00 E9 05 01 C0 [19:36:48]Write i2c OK [19:36:48]MH_I2C_Read... [19:36:48]Read from MH i2c: D1 [19:36:48]MH_I2C_Read... [19:36:48]Read from MH i2c: D1 01 00 [19:36:48]MH_I2C_Read... [19:36:48]Read from MH i2c: D1 01 00 E9 05 00 BF [19:36:48]Write to MH i2c: 01 00 00 EA 05 EF [19:36:48]Write i2c OK [19:36:48]MH_I2C_Read... [19:36:48]OFD Sender: No OFD packet to send [19:36:48]*** Cut start [19:36:48]*** Partial cut [19:36:48]*** CUTSNS_PIN = 1 [19:36:49]*** CUTSNS_PIN = 0 [19:36:49]*** Brake cut motor [19:36:49]Read from MH i2c: 01 [19:36:49]MH_I2C_Read... [19:36:49]*** Stop cut motor [19:36:49]*** Cut end [19:36:49]Read from MH i2c: 01 07 00 [19:36:49]MH_I2C_Read... [19:36:49]Read from MH i2c: 01 07 00 EA 05 00 00 00 00 00 FF 0F 04 [19:36:49]process_action close_receipt done [19:36:49]requested_data is exist [19:36:49]produce_requested_data [19:36:49]requested_item fm.sn is exist - process it [19:36:49]wFMCommunicate request_size=4 [19:36:49]MH_SAM_APDU [19:36:49]CAPDU: 80 11 00 00 [19:36:49]Write to MH i2c: E2 08 00 EB 05 80 11 00 00 00 00 00 00 6A [19:36:49]Write i2c OK [19:36:49]MH_I2C_Read... [19:36:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:36:49]Read from MH i2c: E2 [19:36:49]MH_I2C_Read... [19:36:49]Read from MH i2c: E2 17 00 [19:36:49]MH_I2C_Read... [19:36:49]Read from MH i2c: E2 17 00 EB 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 C4 [19:36:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [19:36:49]wFMCommunicate OK [19:36:49]requested_item fd.num is exist - process it [19:36:49]SAM_PROTO_GetFieldsCounters [19:36:49]wFMCommunicate request_size=4 [19:36:49]MH_SAM_APDU [19:36:49]CAPDU: 80 13 00 00 [19:36:49]Write to MH i2c: E2 08 00 EC 05 80 13 00 00 00 00 00 00 6D [19:36:49]Write i2c OK [19:36:49]MH_I2C_Read... [19:36:49]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:36:49]Read from MH i2c: E2 [19:36:49]MH_I2C_Read... [19:36:49]Read from MH i2c: E2 62 00 [19:36:49]MH_I2C_Read... [19:36:49]Read from MH i2c: E2 62 00 EC 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 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 7B DF 00 00 0E 04 04 00 F1 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 1A [19:36: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 7B DF 00 00 0E 04 04 00 F1 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 [19:36:49]wFMCommunicate OK [19:36:49]SAM_PROTO_GetFieldsCounters done [19:36:49]requested_item shift.num is exist - process it [19:36:49]requested_item shift.opened is exist - process it [19:36:49]req_shift_opened [19:36:49]FM_GetShiftState [19:36:49]SAM_PROTO_GetShiftState [19:36:49]wFMCommunicate request_size=4 [19:36:49]MH_SAM_APDU [19:36:49]CAPDU: 80 13 01 00 [19:36:49]Write to MH i2c: E2 08 00 ED 05 80 13 01 00 00 00 00 00 6F [19:36:49]Write i2c OK [19:36:49]MH_I2C_Read... [19:36:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:36:49]Read from MH i2c: E2 [19:36:49]MH_I2C_Read... [19:36:49]Read from MH i2c: E2 0E 00 [19:36:49]MH_I2C_Read... [19:36:49]Read from MH i2c: E2 0E 00 ED 05 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 E8 [19:36:49]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [19:36:49]wFMCommunicate OK [19:36:49]SAM_PROTO_GetShiftState done [19:36:49]FM_GetShiftState done [19:36:49]req_shift_opened done [19:36:49]requested_item shift.open_date is exist - process it [19:36:49]req_shift_open_date [19:36:49]req_shift_open_date done [19:36:49]requested_item shift.sale.total is exist - process it [19:36:49]SAM_PROTO_GetShiftData [19:36:49]wFMCommunicate request_size=4 [19:36:49]MH_SAM_APDU [19:36:49]CAPDU: 80 13 02 00 [19:36:49]Write to MH i2c: E2 08 00 EE 05 80 13 02 00 00 00 00 00 71 [19:36:49]Write i2c OK [19:36:49]MH_I2C_Read... [19:36:50]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [19:36:50]Read from MH i2c: E2 [19:36:50]MH_I2C_Read... [19:36:50]Read from MH i2c: E2 FD 00 [19:36:50]MH_I2C_Read... [19:36:50]Read from MH i2c: E2 FD 00 EE 05 00 B6 04 AA 04 B2 04 6E 04 04 00 6A 00 00 00 69 04 9B 00 6F 04 04 00 69 00 00 00 B1 04 03 00 09 1B 2D 70 04 03 00 EC 42 26 72 04 03 00 1D D8 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 58 CA 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 2C 66 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 FE [19:36:50]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 6A 00 00 00 69 04 9B 00 6F 04 04 00 69 00 00 00 B1 04 03 00 09 1B 2D 70 04 03 00 EC 42 26 72 04 03 00 1D D8 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 58 CA 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 2C 66 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 [19:36:50]wFMCommunicate OK [19:36:50]wFMCommunicate request_size=4 [19:36:50]MH_SAM_APDU [19:36:50]CAPDU: 80 17 00 00 [19:36:50]Write to MH i2c: E2 08 00 EF 05 80 17 00 00 00 00 00 00 74 [19:36:50]Write i2c OK [19:36:50]MH_I2C_Read... [19:36:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [19:36:50]Read from MH i2c: E2 [19:36:50]MH_I2C_Read... [19:36:50]Read from MH i2c: E2 FD 00 [19:36:50]MH_I2C_Read... [19:36:50]Read from MH i2c: E2 FD 00 EF 05 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 A9 [19:36:50]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 [19:36:50]wFMCommunicate OK [19:36:50]wFMCommunicate request_size=4 [19:36:50]MH_SAM_APDU [19:36:50]CAPDU: 80 17 00 00 [19:36:50]Write to MH i2c: E2 08 00 F0 05 80 17 00 00 00 00 00 00 75 [19:36:50]Write i2c OK [19:36:50]MH_I2C_Read... [19:36:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [19:36:50]Read from MH i2c: E2 [19:36:50]MH_I2C_Read... [19:36:50]Read from MH i2c: E2 FD 00 [19:36:50]MH_I2C_Read... [19:36:50]Read from MH i2c: E2 FD 00 F0 05 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 35 [19:36:50]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 [19:36:50]wFMCommunicate OK [19:36:50]wFMCommunicate request_size=4 [19:36:50]MH_SAM_APDU [19:36:50]CAPDU: 80 17 00 00 [19:36:50]Write to MH i2c: E2 08 00 F1 05 80 17 00 00 00 00 00 00 76 [19:36:50]Write i2c OK [19:36:50]MH_I2C_Read... [19:36:51]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [19:36:51]Read from MH i2c: E2 [19:36:51]MH_I2C_Read... [19:36:51]Read from MH i2c: E2 FD 00 [19:36:51]MH_I2C_Read... [19:36:51]Read from MH i2c: E2 FD 00 F1 05 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 E5 [19:36:51]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 [19:36:51]wFMCommunicate OK [19:36:51]wFMCommunicate request_size=4 [19:36:51]MH_SAM_APDU [19:36:51]CAPDU: 80 17 00 00 [19:36:51]Write to MH i2c: E2 08 00 F2 05 80 17 00 00 00 00 00 00 77 [19:36:51]Write i2c OK [19:36:51]MH_I2C_Read... [19:36:51]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [19:36:51]Read from MH i2c: E2 [19:36:51]MH_I2C_Read... [19:36:51]Read from MH i2c: E2 D3 00 [19:36:51]MH_I2C_Read... [19:36:51]Read from MH i2c: E2 D3 00 F2 05 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 64 [19:36:51]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 [19:36:51]wFMCommunicate OK [19:36:51]SAM_PROTO_GetShiftData done [19:36:51]requested_item shift.sale.total_cash is exist - process it [19:36:51]requested_item shift.sale_refund.total is exist - process it [19:36:51]requested_item shift.sale_refund.total_cash is exist - process it [19:36:51]produce_requested_data done [19:36:51]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57211,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":29560.41,"shift.sale.total_cash":25075.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [19:36:51]process_action_free close_receipt [19:36:51]json_value_free [19:36:51]json_value_free done [19:36:51]process_json_proto returns [19:36:51]Send response to host [19:36:51]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57211,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":29560.41,"shift.sale.total_cash":25075.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [19:36:51]free response buf [19:36:51]execute_script done [19:36:51]execute_script returns [19:36:51]free content buf [19:36:51]Sock 7.Close socket [19:36:51]Sock 7.Thread stoped [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:42]accept exits with 9 [19:37:42]New connection [19:37:42]New thread 3066871140 created [19:37:42]Thread 3067014500 joined [19:37:42]Waiting for new connection... [19:37:42] Sock 9.Parse request [19:37:42]Sock 9.Check first char [19:37:42]Sock 9.First char is OK [19:37:42]request: POST /json_proto HTTP/1.0 [19:37:42]Method: POST [19:37:42]URL: /json_proto [19:37:42]Method is POST - this is cgi request [19:37:42]url: /json_proto [19:37:42]query_string will be loaded in cgi processing [19:37:42]execute_cgi json_proto POST (null) [19:37:42]execute_cgi path=json_proto method=POST [19:37:42]POST find Content-Length [19:37:42]Host: 172.17.39.4:8080 [19:37:42]Content-Length: 783 [19:37:42]Content-Type: application/json [19:37:42] [19:37:42]POST finish read [19:37:42]Found Content-Length = 783 [19:37:42]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)856089", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 72.60, "quantity" : 36.640, "sum" : 2660.06, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 2660.00, "total" : 2660.00, "payments": [ { "type": 0, "sum" : 2660.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" ] } } [19:37:42]execute_script... [19:37:42]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)856089", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 72.60, "quantity" : 36.640, "sum" : 2660.06, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 2660.00, "total" : 2660.00, "payments": [ { "type": 0, "sum" : 2660.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" ] } } [19:37:42]POST & json_proto [19:37:42]process_json_proto [19:37:42]json parsed OK: [19:37:42]protocol is kg_v1.0 [19:37:42]action value=close_receipt [19:37:42]process_action close_receipt [19:37:42]cmd_close_receipt [19:37:42]MH_GetDate [19:37:42]Write to MH i2c: F0 00 00 F3 05 E7 [19:37:42]Write i2c OK [19:37:42]MH_I2C_Read... [19:37:42]Read from MH i2c: F0 [19:37:42]MH_I2C_Read... [19:37:42]Read from MH i2c: F0 09 00 [19:37:42]MH_I2C_Read... [19:37:42]Read from MH i2c: F0 09 00 F3 05 00 88 7A 95 66 2D 25 5D 64 00 [19:37:42]GetLastDocTimeStamp 1721072206 [19:37:42]current date 1721072264 [19:37:42]FM_GetShiftState [19:37:42]SAM_PROTO_GetShiftState [19:37:42]wFMCommunicate request_size=4 [19:37:42]MH_SAM_APDU [19:37:42]CAPDU: 80 13 01 00 [19:37:42]Write to MH i2c: E2 08 00 F4 05 80 13 01 00 00 00 00 00 76 [19:37:42]Write i2c OK [19:37:42]MH_I2C_Read... [19:37:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:37:42]Read from MH i2c: E2 [19:37:42]MH_I2C_Read... [19:37:42]Read from MH i2c: E2 0E 00 [19:37:42]MH_I2C_Read... [19:37:42]Read from MH i2c: E2 0E 00 F4 05 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 EF [19:37:42]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [19:37:42]wFMCommunicate OK [19:37:42]SAM_PROTO_GetShiftState done [19:37:42]FM_GetShiftState done [19:37:42]opened in 1721003525 [19:37:42]opened+sec_in_day 1721089925 [19:37:42]quantity*price = 266006 [19:37:42]sum+1 = 266007 [19:37:42]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.06 ИТОГО: 2660.00 Внесено: 2660.00 СДАЧА: 0.00 НСП 1% : 23.54 НДС 12% : 282.48 Наличными: 2660.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 107 15.07.2024 19:37 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57212 ФПД: 98675999021084 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T193744&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57212&fm=98675999021084&tin=02508201610067®Number=0000000000091208&sum=266000 [19:37:44]StoreToDocumentArchive [19:37:44]shift 497 fd 57212 [19:37:44]save to /storage/0497/doc_00057212 [19:37:44]save last doc name /storage/0497/doc_00057212 to /storage/kkm_last_doc_name [19:37:44]save OK [19:37:44]Clear old archive folders... [19:37:44]ProcessDocumentItem done err = 0, tmpTLVsize=248 [19:37:44]tlvbuf is 0086F170 [19:37:44]SAM_PROTO_ClearQueue [19:37:44]wFMCommunicate request_size=4 [19:37:44]MH_SAM_APDU [19:37:44]CAPDU: 80 09 00 00 [19:37:44]Write to MH i2c: E2 08 00 01 06 80 09 00 00 00 00 00 00 79 [19:37:44]Write i2c OK [19:37:44]MH_I2C_Read... [19:37:44]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:37:44]Read from MH i2c: E2 [19:37:44]MH_I2C_Read... [19:37:44]Read from MH i2c: E2 03 00 [19:37:44]MH_I2C_Read... [19:37:44]Read from MH i2c: E2 03 00 01 06 00 90 00 7B [19:37:44]RAPDU: 90 00 [19:37:44]wFMCommunicate OK [19:37:44]SAM_PROTO_ClearQueue done [19:37:44]KKMCreateOFDPacket [19:37:44]OFDProtocolAddRootSTLVToBuf [19:37:44]FM_MakeSignedData [19:37:44]FM_MakeSignedData [19:37:44]SAM_PROTO_SignData [19:37:44]wFMCommunicate request_size=4 [19:37:44]MH_SAM_APDU [19:37:44]CAPDU: 80 0D 01 02 [19:37:44]Write to MH i2c: E2 08 00 02 06 80 0D 01 02 00 00 00 00 81 [19:37:44]Write i2c OK [19:37:44]MH_I2C_Read... [19:37:44]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:37:44]Read from MH i2c: E2 [19:37:44]MH_I2C_Read... [19:37:44]Read from MH i2c: E2 03 00 [19:37:44]MH_I2C_Read... [19:37:44]Read from MH i2c: E2 03 00 02 06 00 90 00 7C [19:37:44]RAPDU: 90 00 [19:37:44]wFMCommunicate OK [19:37:44]wFMCommunicate request_size=255 [19:37:44]MH_SAM_APDU [19:37:44]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 20 8F 00 00 00 00 00 37 04 06 00 5C 1C 00 00 00 00 13 04 06 00 16 0F 04 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 0F 04 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 32 09 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 58 6E 00 00 00 00 07 04 06 00 10 0F 04 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 6B 00 00 00 F4 03 04 00 88 7A 95 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 7C DF 00 00 35 04 06 00 59 BE CB DE [19:37:44]Write to MH i2c: E2 02 01 03 06 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 20 8F 00 00 00 00 00 37 04 06 00 5C 1C 00 00 00 00 13 04 06 00 16 0F 04 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 0F 04 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 32 09 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 58 6E 00 00 00 00 07 04 06 00 10 0F 04 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 6B 00 00 00 F4 03 04 00 88 7A 95 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 7C DF 00 00 35 04 06 00 59 BE CB DE 00 00 EC [19:37:44]Write i2c OK [19:37:44]MH_I2C_Read... [19:37:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:37:44]Read from MH i2c: E2 [19:37:44]MH_I2C_Read... [19:37:44]Read from MH i2c: E2 03 00 [19:37:44]MH_I2C_Read... [19:37:44]Read from MH i2c: E2 03 00 03 06 00 90 00 7D [19:37:44]RAPDU: 90 00 [19:37:44]wFMCommunicate OK [19:37:44]wFMCommunicate request_size=7 [19:37:44]MH_SAM_APDU [19:37:44]CAPDU: 80 0D 02 02 02 98 1C [19:37:44]Write to MH i2c: E2 0A 00 04 06 80 0D 02 02 02 00 98 1C 00 00 3C [19:37:44]Write i2c OK [19:37:44]MH_I2C_Read... [19:37:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:37:44]Read from MH i2c: E2 [19:37:44]MH_I2C_Read... [19:37:44]Read from MH i2c: E2 03 00 [19:37:44]MH_I2C_Read... [19:37:44]Read from MH i2c: E2 03 00 04 06 00 90 00 7E [19:37:44]RAPDU: 90 00 [19:37:44]wFMCommunicate OK [19:37:44]wFMCommunicate request_size=4 [19:37:44]MH_SAM_APDU [19:37:44]CAPDU: 80 0D 03 02 [19:37:44]Write to MH i2c: E2 08 00 05 06 80 0D 03 02 00 00 00 00 86 [19:37:44]Write i2c OK [19:37:44]MH_I2C_Read... [19:37:44]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:37:44]Read from MH i2c: E2 [19:37:44]MH_I2C_Read... [19:37:44]Read from MH i2c: E2 0B 00 [19:37:44]MH_I2C_Read... [19:37:44]Read from MH i2c: E2 0B 00 05 06 00 41 BA 36 AB A0 66 01 66 90 00 D0 [19:37:44]RAPDU: 41 BA 36 AB A0 66 01 66 90 00 [19:37:44]wFMCommunicate OK [19:37:44]SAM_PROTO_SignData done [19:37:44]FM_MakeSignedData done [19:37:44]CreateOFDProtocolMessage [19:37:44]wFMCommunicate request_size=4 [19:37:44]MH_SAM_APDU [19:37:44]CAPDU: 80 11 00 00 [19:37:44]Write to MH i2c: E2 08 00 06 06 80 11 00 00 00 00 00 00 86 [19:37:44]Write i2c OK [19:37:44]MH_I2C_Read... [19:37:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:37:44]Read from MH i2c: E2 [19:37:44]MH_I2C_Read... [19:37:44]Read from MH i2c: E2 17 00 [19:37:44]MH_I2C_Read... [19:37:44]Read from MH i2c: E2 17 00 06 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 E0 [19:37:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [19:37:44]wFMCommunicate OK [19:37:44]CreateOFDProtocolMessage done [19:37:44]OFDSenderStorePacket 57212 [19:37:44]StoreOFDPacket docnum=57212 [19:37: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 0C 01 00 00 02 3F 04 01 82 74 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 20 8F 00 00 00 00 00 37 04 06 00 5C 1C 00 00 00 00 13 04 06 00 16 0F 04 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 0F 04 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 32 09 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 58 6E 00 00 00 00 07 04 06 00 10 0F 04 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 6B 00 00 00 F4 03 04 00 88 7A 95 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 7C DF 00 00 35 04 06 00 59 BE CB DE 98 1C 41 BA 36 AB A0 66 01 66 [19:37:44]CheckFolder [19:37:44]dirname=/storage/ofd_packets [19:37:44]CheckFolder done [19:37:44]ProducePacketName [19:37:44]name=ofd_packets/00057212 [19:37:44]NVStorageSaveData ofd_packets/00057212 [19:37:44]File name is /storage/ofd_packets/00057212 [19:37:44]Write 298 bytes [19:37:44]NVStorageSaveData done [19:37:44]OFDSenderStorePacket done [19:37:44]KKMCreateOFDPacket done [19:37:44]NVStorageSaveData kkm_last_timestamp [19:37:44]File name is /storage/kkm_last_timestamp [19:37:44]Write 4 bytes [19:37:44]NVStorageSaveData done [19:37:44]ExternCall_PrintAddStr [19:37:44]wPrintStart [19:37:44]Write to MH i2c: 01 00 00 07 06 0D [19:37:44]Write i2c OK [19:37:44]MH_I2C_Read... [19:37:44]Read from MH i2c: 01 [19:37:44]MH_I2C_Read... [19:37:44]Read from MH i2c: 01 07 00 [19:37:44]MH_I2C_Read... [19:37:44]Read from MH i2c: 01 07 00 07 06 00 00 00 00 00 FF 0F 22 [19:37:44]RasterBufferAndPrint [19:37:44]line Счет N : (1)856089 [19:37:44]line ИНН: 02508201610067 [19:37:44]line Контрольно-Кассовый Чек [19:37:44]line ПРОДАЖА [19:37:44]line ТРК (МРК, ГНК) : 21 [19:37:44]line Товар: 2710194210 [19:37:44]line ДТ-К-5 [19:37:44]line 36.640 * 72.60 [19:37:44]line = 2660.06 [19:37:44]line НДС 12% НСП 1% [19:37:44]line > о реализуемом товаре [19:37:44]line ОКРУГЛЕНИЕ: -0.06 [19:37:44]line ИТОГО: 2660.00 [19:37:44]line Внесено: 2660.00 [19:37:44]line СДАЧА: 0.00 [19:37:44]line НСП 1% : 23.54 [19:37:44]line НДС 12% : 282.48 [19:37:44]line Наличными: 2660.00 [19:37:44]line Безнал.: 0.00 [19:37:44]line Место: АЗС № 132 "Партнер Нефть" [19:37:44]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [19:37:44]line СНО: Общий режим [19:37:44]line Чек 107 15.07.2024 19:37 [19:37:44]line Смена: 497 ФФД: 1.0 [19:37:44]line ЗНМ: 0300000132 [19:37:44]line РНМ: 0000000000091208 [19:37:44]line Версия ККМ: 001 [19:37:44]line ФМ: 0000000000874857 [19:37:44]line ФД: 57212 [19:37:44]line ФПД: 98675999021084 [19:37:44]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T193744&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57212&fm=98675999021084&tin=02508201610067®Number=0000000000091208&sum=266000 [19:37:44]OFD Sender: Processing packet 57212 [packets to send 38, broken 37] [19:37:44]ProducePacketName [19:37:44]name=ofd_packets/00057212 [19:37:44]OFD Sender: To server: pG, [19:37:44]CommunicateWithHost lk.salyk.kg:30040 [19:37:44]ConnectInit lk.salyk.kg [19:37:44]written 0, free lines is 4095 [19:37:45]Connected sock=10 [19:37:45]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 02 3F 04 01 82 74 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 20 8F 00 00 00 00 00 37 04 06 00 5C 1C 00 00 00 00 13 04 06 00 16 0F 04 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 0F 04 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 32 09 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 58 6E 00 00 00 00 07 04 06 00 10 0F 04 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 6B 00 00 00 F4 03 04 00 88 7A 95 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 7C DF 00 00 35 04 06 00 59 BE CB DE 98 1C 41 BA 36 AB A0 66 01 66 [19:37: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 A3 A8 47 00 F7 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 7C DF 00 00 F4 03 04 00 D5 20 95 66 B6 04 01 00 00 B8 DB EA CD 58 03 32 A6 [19:37:45]CommunicateWithHost err = 0 [19:37:45]CheckOFDResponse [19:37:45]1017 (14) - 77093643461234 [19:37:45]1041 (16) - 0000000000874857 [19:37:45]1040 (4) - 57212 [19:37:45]1012 (4) - 15.07.2024 13:15 [19:37:45]1206 (1) - 0 [19:37:45]OFD Sender: Remove packet 57212 [19:37:45]ProducePacketName [19:37:45]name=ofd_packets/00057212 [19:37:45]NVStorageDeleteData [19:37:45]Write to MH i2c: 01 00 00 32 06 38 [19:37:45]Write i2c OK [19:37:45]MH_I2C_Read... [19:37:45]Read from MH i2c: 01 [19:37:45]MH_I2C_Read... [19:37:45]Read from MH i2c: 01 07 00 [19:37:45]MH_I2C_Read... [19:37:45]Read from MH i2c: 01 07 00 32 06 00 00 00 00 00 EC 0C 37 [19:37:45]RasterBufferAndPrint [19:37:45]line [19:37:45]line [19:37:45]line [19:37:45]line [19:37:45]line [19:37:45]written 0, free lines is 3314 [19:37:45]MH_Cut [19:37:45]Write to MH i2c: D1 01 00 39 06 01 11 [19:37:45]Write i2c OK [19:37:45]MH_I2C_Read... [19:37:45]Read from MH i2c: D1 [19:37:45]MH_I2C_Read... [19:37:45]Read from MH i2c: D1 01 00 [19:37:45]MH_I2C_Read... [19:37:45]Read from MH i2c: D1 01 00 39 06 00 10 [19:37:45]Write to MH i2c: 01 00 00 3A 06 40 [19:37:45]Write i2c OK [19:37:45]MH_I2C_Read... [19:37:45]OFD Sender: No OFD packet to send [19:37:46]*** Cut start [19:37:46]*** Partial cut [19:37:46]*** CUTSNS_PIN = 1 [19:37:46]*** CUTSNS_PIN = 0 [19:37:46]*** Brake cut motor [19:37:46]Read from MH i2c: 01 [19:37:46]MH_I2C_Read... [19:37:46]*** Stop cut motor [19:37:46]*** Cut end [19:37:46]Read from MH i2c: 01 07 00 [19:37:46]MH_I2C_Read... [19:37:46]Read from MH i2c: 01 07 00 3A 06 00 00 00 00 00 FF 0F 55 [19:37:46]process_action close_receipt done [19:37:46]requested_data is exist [19:37:46]produce_requested_data [19:37:46]requested_item fm.sn is exist - process it [19:37:46]wFMCommunicate request_size=4 [19:37:46]MH_SAM_APDU [19:37:46]CAPDU: 80 11 00 00 [19:37:46]Write to MH i2c: E2 08 00 3B 06 80 11 00 00 00 00 00 00 BB [19:37:46]Write i2c OK [19:37:46]MH_I2C_Read... [19:37:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:37:46]Read from MH i2c: E2 [19:37:46]MH_I2C_Read... [19:37:46]Read from MH i2c: E2 17 00 [19:37:46]MH_I2C_Read... [19:37:46]Read from MH i2c: E2 17 00 3B 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 15 [19:37:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [19:37:46]wFMCommunicate OK [19:37:46]requested_item fd.num is exist - process it [19:37:46]SAM_PROTO_GetFieldsCounters [19:37:46]wFMCommunicate request_size=4 [19:37:46]MH_SAM_APDU [19:37:46]CAPDU: 80 13 00 00 [19:37:46]Write to MH i2c: E2 08 00 3C 06 80 13 00 00 00 00 00 00 BE [19:37:46]Write i2c OK [19:37:46]MH_I2C_Read... [19:37:46]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:37:46]Read from MH i2c: E2 [19:37:46]MH_I2C_Read... [19:37:46]Read from MH i2c: E2 62 00 [19:37:46]MH_I2C_Read... [19:37:46]Read from MH i2c: E2 62 00 3C 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 7C DF 00 00 0E 04 04 00 F1 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 6F [19:37: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 7C DF 00 00 0E 04 04 00 F1 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 [19:37:46]wFMCommunicate OK [19:37:46]SAM_PROTO_GetFieldsCounters done [19:37:46]requested_item shift.num is exist - process it [19:37:46]requested_item shift.opened is exist - process it [19:37:46]req_shift_opened [19:37:46]FM_GetShiftState [19:37:46]SAM_PROTO_GetShiftState [19:37:46]wFMCommunicate request_size=4 [19:37:46]MH_SAM_APDU [19:37:46]CAPDU: 80 13 01 00 [19:37:46]Write to MH i2c: E2 08 00 3D 06 80 13 01 00 00 00 00 00 C0 [19:37:46]Write i2c OK [19:37:46]MH_I2C_Read... [19:37:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:37:46]Read from MH i2c: E2 [19:37:46]MH_I2C_Read... [19:37:46]Read from MH i2c: E2 0E 00 [19:37:46]MH_I2C_Read... [19:37:46]Read from MH i2c: E2 0E 00 3D 06 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 39 [19:37:46]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [19:37:46]wFMCommunicate OK [19:37:46]SAM_PROTO_GetShiftState done [19:37:46]FM_GetShiftState done [19:37:46]req_shift_opened done [19:37:46]requested_item shift.open_date is exist - process it [19:37:46]req_shift_open_date [19:37:46]req_shift_open_date done [19:37:46]requested_item shift.sale.total is exist - process it [19:37:46]SAM_PROTO_GetShiftData [19:37:46]wFMCommunicate request_size=4 [19:37:46]MH_SAM_APDU [19:37:46]CAPDU: 80 13 02 00 [19:37:46]Write to MH i2c: E2 08 00 3E 06 80 13 02 00 00 00 00 00 C2 [19:37:47]Write i2c OK [19:37:47]MH_I2C_Read... [19:37:47]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [19:37:47]Read from MH i2c: E2 [19:37:47]MH_I2C_Read... [19:37:47]Read from MH i2c: E2 FD 00 [19:37:47]MH_I2C_Read... [19:37:47]Read from MH i2c: E2 FD 00 3E 06 00 B6 04 AA 04 B2 04 6E 04 04 00 6B 00 00 00 69 04 9B 00 6F 04 04 00 6A 00 00 00 B1 04 03 00 19 2A 31 70 04 03 00 FC 51 2A 72 04 03 00 1D D8 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 B0 38 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 5E 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 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 99 [19:37:47]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 6B 00 00 00 69 04 9B 00 6F 04 04 00 6A 00 00 00 B1 04 03 00 19 2A 31 70 04 03 00 FC 51 2A 72 04 03 00 1D D8 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 B0 38 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 5E 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 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 [19:37:47]wFMCommunicate OK [19:37:47]wFMCommunicate request_size=4 [19:37:47]MH_SAM_APDU [19:37:47]CAPDU: 80 17 00 00 [19:37:47]Write to MH i2c: E2 08 00 3F 06 80 17 00 00 00 00 00 00 C5 [19:37:47]Write i2c OK [19:37:47]MH_I2C_Read... [19:37:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [19:37:47]Read from MH i2c: E2 [19:37:47]MH_I2C_Read... [19:37:47]Read from MH i2c: E2 FD 00 [19:37:47]MH_I2C_Read... [19:37:47]Read from MH i2c: E2 FD 00 3F 06 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 FA [19:37:47]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 [19:37:47]wFMCommunicate OK [19:37:47]wFMCommunicate request_size=4 [19:37:47]MH_SAM_APDU [19:37:47]CAPDU: 80 17 00 00 [19:37:47]Write to MH i2c: E2 08 00 40 06 80 17 00 00 00 00 00 00 C6 [19:37:47]Write i2c OK [19:37:47]MH_I2C_Read... [19:37:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [19:37:48]Read from MH i2c: E2 [19:37:48]MH_I2C_Read... [19:37:48]Read from MH i2c: E2 FD 00 [19:37:48]MH_I2C_Read... [19:37:48]Read from MH i2c: E2 FD 00 40 06 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 86 [19:37:48]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 [19:37:48]wFMCommunicate OK [19:37:48]wFMCommunicate request_size=4 [19:37:48]MH_SAM_APDU [19:37:48]CAPDU: 80 17 00 00 [19:37:48]Write to MH i2c: E2 08 00 41 06 80 17 00 00 00 00 00 00 C7 [19:37:48]Write i2c OK [19:37:48]MH_I2C_Read... [19:37:48]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [19:37:48]Read from MH i2c: E2 [19:37:48]MH_I2C_Read... [19:37:48]Read from MH i2c: E2 FD 00 [19:37:48]MH_I2C_Read... [19:37:48]Read from MH i2c: E2 FD 00 41 06 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 36 [19:37:48]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 [19:37:48]wFMCommunicate OK [19:37:48]wFMCommunicate request_size=4 [19:37:48]MH_SAM_APDU [19:37:48]CAPDU: 80 17 00 00 [19:37:48]Write to MH i2c: E2 08 00 42 06 80 17 00 00 00 00 00 00 C8 [19:37:48]Write i2c OK [19:37:48]MH_I2C_Read... [19:37:48]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [19:37:48]Read from MH i2c: E2 [19:37:48]MH_I2C_Read... [19:37:48]Read from MH i2c: E2 D3 00 [19:37:48]MH_I2C_Read... [19:37:48]Read from MH i2c: E2 D3 00 42 06 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 B5 [19:37:48]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 [19:37:48]wFMCommunicate OK [19:37:48]SAM_PROTO_GetShiftData done [19:37:48]requested_item shift.sale.total_cash is exist - process it [19:37:48]requested_item shift.sale_refund.total is exist - process it [19:37:48]requested_item shift.sale_refund.total_cash is exist - process it [19:37:48]produce_requested_data done [19:37:48]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57212,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":32220.41,"shift.sale.total_cash":27735.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [19:37:48]process_action_free close_receipt [19:37:48]json_value_free [19:37:48]json_value_free done [19:37:48]process_json_proto returns [19:37:48]Send response to host [19:37:48]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57212,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":32220.41,"shift.sale.total_cash":27735.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [19:37:48]free response buf [19:37:48]execute_script done [19:37:48]execute_script returns [19:37:48]free content buf [19:37:48]Sock 9.Close socket [19:37:48]Sock 9.Thread stoped [19:37:50]OFD Sender: No OFD packet to send [19:37:55]OFD Sender: No OFD packet to send [19:38:00]OFD Sender: No OFD packet to send [19:38:05]OFD Sender: No OFD packet to send [19:38:10]OFD Sender: No OFD packet to send [19:38:15]OFD Sender: No OFD packet to send [19:38:20]OFD Sender: No OFD packet to send [19:38:25]OFD Sender: No OFD packet to send [19:38:30]OFD Sender: No OFD packet to send [19:38:35]OFD Sender: No OFD packet to send [19:38:40]OFD Sender: No OFD packet to send [19:38:45]OFD Sender: No OFD packet to send [19:38:50]OFD Sender: No OFD packet to send [19:38:55]OFD Sender: No OFD packet to send [19:39:00]OFD Sender: No OFD packet to send [19:39:05]OFD Sender: No OFD packet to send [19:39:10]OFD Sender: No OFD packet to send [19:39:15]OFD Sender: No OFD packet to send [19:39:20]OFD Sender: No OFD packet to send [19:39:25]OFD Sender: No OFD packet to send [19:39:30]OFD Sender: No OFD packet to send [19:39:35]OFD Sender: No OFD packet to send [19:39:40]OFD Sender: No OFD packet to send [19:39:45]OFD Sender: No OFD packet to send [19:39:50]OFD Sender: No OFD packet to send [19:39:55]OFD Sender: No OFD packet to send [19:40:00]OFD Sender: No OFD packet to send [19:40:05]OFD Sender: No OFD packet to send [19:40:10]OFD Sender: No OFD packet to send [19:40:15]OFD Sender: No OFD packet to send [19:40:20]OFD Sender: No OFD packet to send [19:40:25]OFD Sender: No OFD packet to send [19:40:30]OFD Sender: No OFD packet to send [19:40:35]OFD Sender: No OFD packet to send [19:40:40]OFD Sender: No OFD packet to send [19:40:45]OFD Sender: No OFD packet to send [19:40:50]OFD Sender: No OFD packet to send [19:40:55]OFD Sender: No OFD packet to send [19:41:00]OFD Sender: No OFD packet to send [19:41:05]OFD Sender: No OFD packet to send [19:41:10]OFD Sender: No OFD packet to send [19:41:15]OFD Sender: No OFD packet to send [19:41:20]OFD Sender: No OFD packet to send [19:41:25]OFD Sender: No OFD packet to send [19:41:30]OFD Sender: No OFD packet to send [19:41:36]OFD Sender: No OFD packet to send [19:41:41]OFD Sender: No OFD packet to send [19:41:46]OFD Sender: No OFD packet to send [19:41:47]accept exits with 7 [19:41:47]New connection [19:41:47]New thread 3067014500 created [19:41:47]Thread 3066871140 joined [19:41:47]Waiting for new connection... [19:41:47] Sock 7.Parse request [19:41:47]Sock 7.Check first char [19:41:47]Sock 7.First char is OK [19:41:47]request: POST /json_proto HTTP/1.0 [19:41:47]Method: POST [19:41:47]URL: /json_proto [19:41:47]Method is POST - this is cgi request [19:41:47]url: /json_proto [19:41:47]query_string will be loaded in cgi processing [19:41:47]execute_cgi json_proto POST (null) [19:41:47]execute_cgi path=json_proto method=POST [19:41:47]POST find Content-Length [19:41:47]Host: 172.17.39.4:8080 [19:41:47]Content-Length: 781 [19:41:47]Content-Type: application/json [19:41:47] [19:41:47]POST finish read [19:41:47]Found Content-Length = 781 [19:41:47]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)856093", "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" : 7.550, "sum" : 500.57, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 500.00, "total" : 500.00, "payments": [ { "type": 0, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [19:41:47]execute_script... [19:41: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 : (1)856093", "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" : 7.550, "sum" : 500.57, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 500.00, "total" : 500.00, "payments": [ { "type": 0, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [19:41:47]POST & json_proto [19:41:47]process_json_proto [19:41:47]json parsed OK: [19:41:47]protocol is kg_v1.0 [19:41:47]action value=close_receipt [19:41:47]process_action close_receipt [19:41:47]cmd_close_receipt [19:41:47]MH_GetDate [19:41:47]Write to MH i2c: F0 00 00 43 06 38 [19:41:47]Write i2c OK [19:41:47]MH_I2C_Read... [19:41:47]Read from MH i2c: F0 [19:41:47]MH_I2C_Read... [19:41:47]Read from MH i2c: F0 09 00 [19:41:47]MH_I2C_Read... [19:41:47]Read from MH i2c: F0 09 00 43 06 00 7D 7B 95 66 2D 25 5D 64 47 [19:41:47]GetLastDocTimeStamp 1721072264 [19:41:47]current date 1721072509 [19:41:47]FM_GetShiftState [19:41:47]SAM_PROTO_GetShiftState [19:41:47]wFMCommunicate request_size=4 [19:41:47]MH_SAM_APDU [19:41:47]CAPDU: 80 13 01 00 [19:41:47]Write to MH i2c: E2 08 00 44 06 80 13 01 00 00 00 00 00 C7 [19:41:47]Write i2c OK [19:41:47]MH_I2C_Read... [19:41:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:41:47]Read from MH i2c: E2 [19:41:47]MH_I2C_Read... [19:41:47]Read from MH i2c: E2 0E 00 [19:41:47]MH_I2C_Read... [19:41:47]Read from MH i2c: E2 0E 00 44 06 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 40 [19:41:47]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [19:41:47]wFMCommunicate OK [19:41:47]SAM_PROTO_GetShiftState done [19:41:47]FM_GetShiftState done [19:41:47]opened in 1721003525 [19:41:47]opened+sec_in_day 1721089925 [19:41:47]quantity*price = 50056 [19:41:47]sum+1 = 50058 [19:41:47]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.57 ИТОГО: 500.00 Внесено: 500.00 СДАЧА: 0.00 НСП 1% : 4.43 НДС 12% : 53.16 Наличными: 500.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 108 15.07.2024 19:41 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57213 ФПД: 25568839662171 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T194149&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57213&fm=25568839662171&tin=02508201610067®Number=0000000000091208&sum=50000 [19:41:49]StoreToDocumentArchive [19:41:49]shift 497 fd 57213 [19:41:49]save to /storage/0497/doc_00057213 [19:41:49]save last doc name /storage/0497/doc_00057213 to /storage/kkm_last_doc_name [19:41:49]save OK [19:41:49]Clear old archive folders... [19:41:49]ProcessDocumentItem done err = 0, tmpTLVsize=251 [19:41:49]tlvbuf is 00869120 [19:41:49]SAM_PROTO_ClearQueue [19:41:49]wFMCommunicate request_size=4 [19:41:49]MH_SAM_APDU [19:41:49]CAPDU: 80 09 00 00 [19:41:49]Write to MH i2c: E2 08 00 51 06 80 09 00 00 00 00 00 00 C9 [19:41:49]Write i2c OK [19:41:49]MH_I2C_Read... [19:41:49]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:41:49]Read from MH i2c: E2 [19:41:49]MH_I2C_Read... [19:41:49]Read from MH i2c: E2 03 00 [19:41:49]MH_I2C_Read... [19:41:49]Read from MH i2c: E2 03 00 51 06 00 90 00 CB [19:41:49]RAPDU: 90 00 [19:41:49]wFMCommunicate OK [19:41:49]SAM_PROTO_ClearQueue done [19:41:49]KKMCreateOFDPacket [19:41:49]OFDProtocolAddRootSTLVToBuf [19:41:49]FM_MakeSignedData [19:41:49]FM_MakeSignedData [19:41:49]SAM_PROTO_SignData [19:41:49]wFMCommunicate request_size=4 [19:41:49]MH_SAM_APDU [19:41:49]CAPDU: 80 0D 01 02 [19:41:49]Write to MH i2c: E2 08 00 52 06 80 0D 01 02 00 00 00 00 D1 [19:41:49]Write i2c OK [19:41:49]MH_I2C_Read... [19:41:49]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:41:49]Read from MH i2c: E2 [19:41:49]MH_I2C_Read... [19:41:49]Read from MH i2c: E2 03 00 [19:41:49]MH_I2C_Read... [19:41:49]Read from MH i2c: E2 03 00 52 06 00 90 00 CC [19:41:49]RAPDU: 90 00 [19:41:49]wFMCommunicate OK [19:41:49]wFMCommunicate request_size=255 [19:41:49]MH_SAM_APDU [19:41:49]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 7E 1D 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 89 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 6C 00 00 00 F4 03 04 00 7D 7B 95 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 7D DF 00 00 35 04 06 00 17 [19:41:49]Write to MH i2c: E2 02 01 53 06 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 7E 1D 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 89 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 6C 00 00 00 F4 03 04 00 7D 7B 95 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 7D DF 00 00 35 04 06 00 17 00 00 41 [19:41:49]Write i2c OK [19:41:49]MH_I2C_Read... [19:41:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:41:49]Read from MH i2c: E2 [19:41:49]MH_I2C_Read... [19:41:49]Read from MH i2c: E2 03 00 [19:41:49]MH_I2C_Read... [19:41:49]Read from MH i2c: E2 03 00 53 06 00 90 00 CD [19:41:49]RAPDU: 90 00 [19:41:49]wFMCommunicate OK [19:41:49]wFMCommunicate request_size=10 [19:41:49]MH_SAM_APDU [19:41:49]CAPDU: 80 0D 02 02 05 41 35 9A FA 5B [19:41:49]Write to MH i2c: E2 0D 00 54 06 80 0D 02 02 05 00 41 35 9A FA 5B 00 00 43 [19:41:49]Write i2c OK [19:41:49]MH_I2C_Read... [19:41:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:41:49]Read from MH i2c: E2 [19:41:49]MH_I2C_Read... [19:41:49]Read from MH i2c: E2 03 00 [19:41:49]MH_I2C_Read... [19:41:49]Read from MH i2c: E2 03 00 54 06 00 90 00 CE [19:41:49]RAPDU: 90 00 [19:41:49]wFMCommunicate OK [19:41:49]wFMCommunicate request_size=4 [19:41:49]MH_SAM_APDU [19:41:49]CAPDU: 80 0D 03 02 [19:41:49]Write to MH i2c: E2 08 00 55 06 80 0D 03 02 00 00 00 00 D6 [19:41:49]Write i2c OK [19:41:49]MH_I2C_Read... [19:41:49]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:41:49]Read from MH i2c: E2 [19:41:49]MH_I2C_Read... [19:41:49]Read from MH i2c: E2 0B 00 [19:41:49]MH_I2C_Read... [19:41:49]Read from MH i2c: E2 0B 00 55 06 00 78 9D B7 52 49 B0 AB 3A 90 00 D3 [19:41:49]RAPDU: 78 9D B7 52 49 B0 AB 3A 90 00 [19:41:49]wFMCommunicate OK [19:41:49]SAM_PROTO_SignData done [19:41:49]FM_MakeSignedData done [19:41:49]CreateOFDProtocolMessage [19:41:49]wFMCommunicate request_size=4 [19:41:49]MH_SAM_APDU [19:41:49]CAPDU: 80 11 00 00 [19:41:49]Write to MH i2c: E2 08 00 56 06 80 11 00 00 00 00 00 00 D6 [19:41:49]Write i2c OK [19:41:49]MH_I2C_Read... [19:41:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:41:49]Read from MH i2c: E2 [19:41:49]MH_I2C_Read... [19:41:49]Read from MH i2c: E2 17 00 [19:41:49]MH_I2C_Read... [19:41:49]Read from MH i2c: E2 17 00 56 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 30 [19:41:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [19:41:49]wFMCommunicate OK [19:41:49]CreateOFDProtocolMessage done [19:41:49]OFDSenderStorePacket 57213 [19:41:49]StoreOFDPacket docnum=57213 [19:41: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 0F 01 00 00 08 22 07 01 45 61 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 7E 1D 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 89 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 6C 00 00 00 F4 03 04 00 7D 7B 95 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 7D DF 00 00 35 04 06 00 17 41 35 9A FA 5B 78 9D B7 52 49 B0 AB 3A [19:41:49]CheckFolder [19:41:49]dirname=/storage/ofd_packets [19:41:49]CheckFolder done [19:41:49]ProducePacketName [19:41:49]name=ofd_packets/00057213 [19:41:49]NVStorageSaveData ofd_packets/00057213 [19:41:49]File name is /storage/ofd_packets/00057213 [19:41:49]Write 301 bytes [19:41:49]NVStorageSaveData done [19:41:49]OFDSenderStorePacket done [19:41:49]KKMCreateOFDPacket done [19:41:49]NVStorageSaveData kkm_last_timestamp [19:41:49]File name is /storage/kkm_last_timestamp [19:41:49]Write 4 bytes [19:41:49]NVStorageSaveData done [19:41:49]ExternCall_PrintAddStr [19:41:49]wPrintStart [19:41:49]Write to MH i2c: 01 00 00 57 06 5D [19:41:49]Write i2c OK [19:41:49]MH_I2C_Read... [19:41:49]Read from MH i2c: 01 [19:41:49]MH_I2C_Read... [19:41:49]Read from MH i2c: 01 07 00 [19:41:49]MH_I2C_Read... [19:41:49]Read from MH i2c: 01 07 00 57 06 00 00 00 00 00 FF 0F 72 [19:41:49]RasterBufferAndPrint [19:41:49]line Счет N : (1)856093 [19:41:49]line ИНН: 02508201610067 [19:41:49]line Контрольно-Кассовый Чек [19:41:49]line ПРОДАЖА [19:41:49]line ТРК (МРК, ГНК) : 53 [19:41:49]line Товар: 2710124130 [19:41:49]line Аи-92-К-5 [19:41:49]line 7.550 * 66.30 [19:41:49]line = 500.57 [19:41:49]line НДС 12% НСП 1% [19:41:49]line > о реализуемом товаре [19:41:49]line ОКРУГЛЕНИЕ: -0.57 [19:41:49]line ИТОГО: 500.00 [19:41:49]line Внесено: 500.00 [19:41:49]line СДАЧА: 0.00 [19:41:49]line НСП 1% : 4.43 [19:41:49]line НДС 12% : 53.16 [19:41:49]line Наличными: 500.00 [19:41:49]line Безнал.: 0.00 [19:41:49]line Место: АЗС № 132 "Партнер Нефть" [19:41:49]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [19:41:49]line СНО: Общий режим [19:41:49]line Чек 108 15.07.2024 19:41 [19:41:49]line Смена: 497 ФФД: 1.0 [19:41:49]line ЗНМ: 0300000132 [19:41:49]line РНМ: 0000000000091208 [19:41:49]line Версия ККМ: 001 [19:41:49]line ФМ: 0000000000874857 [19:41:49]line ФД: 57213 [19:41:49]line ФПД: 25568839662171 [19:41:49]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T194149&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57213&fm=25568839662171&tin=02508201610067®Number=0000000000091208&sum=50000 [19:41:49]written 0, free lines is 4095 [19:41:49]OFD Sender: Processing packet 57213 [packets to send 38, broken 37] [19:41:49]ProducePacketName [19:41:49]name=ofd_packets/00057213 [19:41:49]OFD Sender: To server: pG, [19:41:49]CommunicateWithHost lk.salyk.kg:30040 [19:41:49]ConnectInit lk.salyk.kg [19:41:50]Connected sock=11 [19:41:50]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 08 22 07 01 45 61 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 7E 1D 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 89 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 6C 00 00 00 F4 03 04 00 7D 7B 95 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 7D DF 00 00 35 04 06 00 17 41 35 9A FA 5B 78 9D B7 52 49 B0 AB 3A [19:41:50]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 33 47 00 E2 D6 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 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 7D DF 00 00 F4 03 04 00 CA 21 95 66 B6 04 01 00 00 4B C9 17 BA 59 FA B8 1E [19:41:50]CommunicateWithHost err = 0 [19:41:50]CheckOFDResponse [19:41:50]1017 (14) - 77093643461234 [19:41:50]1041 (16) - 0000000000874857 [19:41:50]1040 (4) - 57213 [19:41:50]1012 (4) - 15.07.2024 13:19 [19:41:50]1206 (1) - 0 [19:41:50]OFD Sender: Remove packet 57213 [19:41:50]ProducePacketName [19:41:50]name=ofd_packets/00057213 [19:41:50]NVStorageDeleteData [19:41:50]Write to MH i2c: 01 00 00 82 06 88 [19:41:50]Write i2c OK [19:41:50]MH_I2C_Read... [19:41:50]Read from MH i2c: 01 [19:41:50]MH_I2C_Read... [19:41:50]Read from MH i2c: 01 07 00 [19:41:50]MH_I2C_Read... [19:41:50]Read from MH i2c: 01 07 00 82 06 00 00 00 00 00 D9 0C 74 [19:41:50]RasterBufferAndPrint [19:41:50]line [19:41:50]line [19:41:50]line [19:41:50]line [19:41:50]line [19:41:50]written 0, free lines is 3296 [19:41:50]MH_Cut [19:41:50]Write to MH i2c: D1 01 00 89 06 01 61 [19:41:50]Write i2c OK [19:41:50]MH_I2C_Read... [19:41:50]Read from MH i2c: D1 [19:41:50]MH_I2C_Read... [19:41:50]Read from MH i2c: D1 01 00 [19:41:50]MH_I2C_Read... [19:41:50]Read from MH i2c: D1 01 00 89 06 00 60 [19:41:50]Write to MH i2c: 01 00 00 8A 06 90 [19:41:50]Write i2c OK [19:41:50]MH_I2C_Read... [19:41:50]OFD Sender: No OFD packet to send [19:41:51]*** Cut start [19:41:51]*** Partial cut [19:41:51]*** CUTSNS_PIN = 1 [19:41:51]*** CUTSNS_PIN = 0 [19:41:51]*** Brake cut motor [19:41:51]Read from MH i2c: 01 [19:41:51]MH_I2C_Read... [19:41:51]*** Stop cut motor [19:41:51]*** Cut end [19:41:51]Read from MH i2c: 01 07 00 [19:41:51]MH_I2C_Read... [19:41:51]Read from MH i2c: 01 07 00 8A 06 00 00 00 00 00 FF 0F A5 [19:41:51]process_action close_receipt done [19:41:51]requested_data is exist [19:41:51]produce_requested_data [19:41:51]requested_item fm.sn is exist - process it [19:41:51]wFMCommunicate request_size=4 [19:41:51]MH_SAM_APDU [19:41:51]CAPDU: 80 11 00 00 [19:41:51]Write to MH i2c: E2 08 00 8B 06 80 11 00 00 00 00 00 00 0B [19:41:51]Write i2c OK [19:41:51]MH_I2C_Read... [19:41:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:41:51]Read from MH i2c: E2 [19:41:51]MH_I2C_Read... [19:41:51]Read from MH i2c: E2 17 00 [19:41:51]MH_I2C_Read... [19:41:51]Read from MH i2c: E2 17 00 8B 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 65 [19:41:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [19:41:51]wFMCommunicate OK [19:41:51]requested_item fd.num is exist - process it [19:41:51]SAM_PROTO_GetFieldsCounters [19:41:51]wFMCommunicate request_size=4 [19:41:51]MH_SAM_APDU [19:41:51]CAPDU: 80 13 00 00 [19:41:51]Write to MH i2c: E2 08 00 8C 06 80 13 00 00 00 00 00 00 0E [19:41:51]Write i2c OK [19:41:51]MH_I2C_Read... [19:41:51]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:41:51]Read from MH i2c: E2 [19:41:51]MH_I2C_Read... [19:41:52]Read from MH i2c: E2 62 00 [19:41:52]MH_I2C_Read... [19:41:52]Read from MH i2c: E2 62 00 8C 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 7D DF 00 00 0E 04 04 00 F1 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 C3 [19:41:52]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 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 7D DF 00 00 0E 04 04 00 F1 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 [19:41:52]wFMCommunicate OK [19:41:52]SAM_PROTO_GetFieldsCounters done [19:41:52]requested_item shift.num is exist - process it [19:41:52]requested_item shift.opened is exist - process it [19:41:52]req_shift_opened [19:41:52]FM_GetShiftState [19:41:52]SAM_PROTO_GetShiftState [19:41:52]wFMCommunicate request_size=4 [19:41:52]MH_SAM_APDU [19:41:52]CAPDU: 80 13 01 00 [19:41:52]Write to MH i2c: E2 08 00 8D 06 80 13 01 00 00 00 00 00 10 [19:41:52]Write i2c OK [19:41:52]MH_I2C_Read... [19:41:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:41:52]Read from MH i2c: E2 [19:41:52]MH_I2C_Read... [19:41:52]Read from MH i2c: E2 0E 00 [19:41:52]MH_I2C_Read... [19:41:52]Read from MH i2c: E2 0E 00 8D 06 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 89 [19:41:52]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [19:41:52]wFMCommunicate OK [19:41:52]SAM_PROTO_GetShiftState done [19:41:52]FM_GetShiftState done [19:41:52]req_shift_opened done [19:41:52]requested_item shift.open_date is exist - process it [19:41:52]req_shift_open_date [19:41:52]req_shift_open_date done [19:41:52]requested_item shift.sale.total is exist - process it [19:41:52]SAM_PROTO_GetShiftData [19:41:52]wFMCommunicate request_size=4 [19:41:52]MH_SAM_APDU [19:41:52]CAPDU: 80 13 02 00 [19:41:52]Write to MH i2c: E2 08 00 8E 06 80 13 02 00 00 00 00 00 12 [19:41:52]Write i2c OK [19:41:52]MH_I2C_Read... [19:41:52]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [19:41:52]Read from MH i2c: E2 [19:41:52]MH_I2C_Read... [19:41:52]Read from MH i2c: E2 FD 00 [19:41:52]MH_I2C_Read... [19:41:52]Read from MH i2c: E2 FD 00 8E 06 00 B6 04 AA 04 B2 04 6E 04 04 00 6C 00 00 00 69 04 9B 00 6F 04 04 00 6B 00 00 00 B1 04 03 00 69 ED 31 70 04 03 00 4C 15 2B 72 04 03 00 1D D8 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 74 4D 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 19 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 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 A9 [19:41:52]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 6C 00 00 00 69 04 9B 00 6F 04 04 00 6B 00 00 00 B1 04 03 00 69 ED 31 70 04 03 00 4C 15 2B 72 04 03 00 1D D8 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 74 4D 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 19 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 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 [19:41:52]wFMCommunicate OK [19:41:52]wFMCommunicate request_size=4 [19:41:52]MH_SAM_APDU [19:41:52]CAPDU: 80 17 00 00 [19:41:52]Write to MH i2c: E2 08 00 8F 06 80 17 00 00 00 00 00 00 15 [19:41:52]Write i2c OK [19:41:52]MH_I2C_Read... [19:41:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [19:41:52]Read from MH i2c: E2 [19:41:52]MH_I2C_Read... [19:41:52]Read from MH i2c: E2 FD 00 [19:41:52]MH_I2C_Read... [19:41:52]Read from MH i2c: E2 FD 00 8F 06 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 4A [19:41:52]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 [19:41:52]wFMCommunicate OK [19:41:52]wFMCommunicate request_size=4 [19:41:52]MH_SAM_APDU [19:41:52]CAPDU: 80 17 00 00 [19:41:52]Write to MH i2c: E2 08 00 90 06 80 17 00 00 00 00 00 00 16 [19:41:52]Write i2c OK [19:41:52]MH_I2C_Read... [19:41:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [19:41:53]Read from MH i2c: E2 [19:41:53]MH_I2C_Read... [19:41:53]Read from MH i2c: E2 FD 00 [19:41:53]MH_I2C_Read... [19:41:53]Read from MH i2c: E2 FD 00 90 06 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 D6 [19:41:53]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 [19:41:53]wFMCommunicate OK [19:41:53]wFMCommunicate request_size=4 [19:41:53]MH_SAM_APDU [19:41:53]CAPDU: 80 17 00 00 [19:41:53]Write to MH i2c: E2 08 00 91 06 80 17 00 00 00 00 00 00 17 [19:41:53]Write i2c OK [19:41:53]MH_I2C_Read... [19:41:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [19:41:53]Read from MH i2c: E2 [19:41:53]MH_I2C_Read... [19:41:53]Read from MH i2c: E2 FD 00 [19:41:53]MH_I2C_Read... [19:41:53]Read from MH i2c: E2 FD 00 91 06 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 86 [19:41:53]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 [19:41:53]wFMCommunicate OK [19:41:53]wFMCommunicate request_size=4 [19:41:53]MH_SAM_APDU [19:41:53]CAPDU: 80 17 00 00 [19:41:53]Write to MH i2c: E2 08 00 92 06 80 17 00 00 00 00 00 00 18 [19:41:53]Write i2c OK [19:41:53]MH_I2C_Read... [19:41:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [19:41:53]Read from MH i2c: E2 [19:41:53]MH_I2C_Read... [19:41:53]Read from MH i2c: E2 D3 00 [19:41:53]MH_I2C_Read... [19:41:53]Read from MH i2c: E2 D3 00 92 06 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 05 [19:41:53]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 [19:41:53]wFMCommunicate OK [19:41:53]SAM_PROTO_GetShiftData done [19:41:53]requested_item shift.sale.total_cash is exist - process it [19:41:53]requested_item shift.sale_refund.total is exist - process it [19:41:53]requested_item shift.sale_refund.total_cash is exist - process it [19:41:53]produce_requested_data done [19:41:53]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57213,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":32720.41,"shift.sale.total_cash":28235.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [19:41:53]process_action_free close_receipt [19:41:53]json_value_free [19:41:53]json_value_free done [19:41:53]process_json_proto returns [19:41:53]Send response to host [19:41:53]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57213,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":32720.41,"shift.sale.total_cash":28235.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [19:41:53]free response buf [19:41:53]execute_script done [19:41:53]execute_script returns [19:41:53]free content buf [19:41:53]Sock 7.Close socket [19:41:53]Sock 7.Thread stoped [19:41:55]OFD Sender: No OFD packet to send [19:42:00]OFD Sender: No OFD packet to send [19:42:05]OFD Sender: No OFD packet to send [19:42:10]OFD Sender: No OFD packet to send [19:42:15]OFD Sender: No OFD packet to send [19:42:20]OFD Sender: No OFD packet to send [19:42:25]OFD Sender: No OFD packet to send [19:42:30]OFD Sender: No OFD packet to send [19:42:35]OFD Sender: No OFD packet to send [19:42:40]OFD Sender: No OFD packet to send [19:42:45]OFD Sender: No OFD packet to send [19:42:50]OFD Sender: No OFD packet to send [19:42:55]OFD Sender: No OFD packet to send [19:43:00]OFD Sender: No OFD packet to send [19:43:05]OFD Sender: No OFD packet to send [19:43:10]OFD Sender: No OFD packet to send [19:43:15]OFD Sender: No OFD packet to send [19:43:20]OFD Sender: No OFD packet to send [19:43:25]OFD Sender: No OFD packet to send [19:43:30]OFD Sender: No OFD packet to send [19:43:35]OFD Sender: No OFD packet to send [19:43:40]OFD Sender: No OFD packet to send [19:43:45]OFD Sender: No OFD packet to send [19:43:50]OFD Sender: No OFD packet to send [19:43:55]OFD Sender: No OFD packet to send [19:44:00]OFD Sender: No OFD packet to send [19:44:05]OFD Sender: No OFD packet to send [19:44:10]OFD Sender: No OFD packet to send [19:44:16]OFD Sender: No OFD packet to send [19:44:21]OFD Sender: No OFD packet to send [19:44:26]OFD Sender: No OFD packet to send [19:44:31]OFD Sender: No OFD packet to send [19:44:36]OFD Sender: No OFD packet to send [19:44:41]OFD Sender: No OFD packet to send [19:44:46]OFD Sender: No OFD packet to send [19:44:51]OFD Sender: No OFD packet to send [19:44:56]OFD Sender: No OFD packet to send [19:45:01]OFD Sender: No OFD packet to send [19:45:06]OFD Sender: No OFD packet to send [19:45:11]OFD Sender: No OFD packet to send [19:45:16]OFD Sender: No OFD packet to send [19:45:21]OFD Sender: No OFD packet to send [19:45:26]OFD Sender: No OFD packet to send [19:45:31]OFD Sender: No OFD packet to send [19:45:36]OFD Sender: No OFD packet to send [19:45:41]OFD Sender: No OFD packet to send [19:45:46]OFD Sender: No OFD packet to send [19:45:51]OFD Sender: No OFD packet to send [19:45:56]OFD Sender: No OFD packet to send [19:46:01]OFD Sender: No OFD packet to send [19:46:06]OFD Sender: No OFD packet to send [19:46:11]OFD Sender: No OFD packet to send [19:46:16]OFD Sender: No OFD packet to send [19:46:21]OFD Sender: No OFD packet to send [19:46:26]OFD Sender: No OFD packet to send [19:46:31]OFD Sender: No OFD packet to send [19:46:36]OFD Sender: No OFD packet to send [19:46:41]OFD Sender: No OFD packet to send [19:46:46]OFD Sender: No OFD packet to send [19:46:51]OFD Sender: No OFD packet to send [19:46:56]OFD Sender: No OFD packet to send [19:47:01]OFD Sender: No OFD packet to send [19:47:06]OFD Sender: No OFD packet to send [19:47:11]OFD Sender: No OFD packet to send [19:47:16]OFD Sender: No OFD packet to send [19:47:21]OFD Sender: No OFD packet to send [19:47:26]OFD Sender: No OFD packet to send [19:47:31]OFD Sender: No OFD packet to send [19:47:36]OFD Sender: No OFD packet to send [19:47:41]OFD Sender: No OFD packet to send [19:47:46]OFD Sender: No OFD packet to send [19:47:51]OFD Sender: No OFD packet to send [19:47:56]OFD Sender: No OFD packet to send [19:48:01]OFD Sender: No OFD packet to send [19:48:06]OFD Sender: No OFD packet to send [19:48:11]OFD Sender: No OFD packet to send [19:48:16]OFD Sender: No OFD packet to send [19:48:21]OFD Sender: No OFD packet to send [19:48:26]OFD Sender: No OFD packet to send [19:48:31]OFD Sender: No OFD packet to send [19:48:36]OFD Sender: No OFD packet to send [19:48:41]OFD Sender: No OFD packet to send [19:48:46]OFD Sender: No OFD packet to send [19:48:51]OFD Sender: No OFD packet to send [19:48:56]OFD Sender: No OFD packet to send [19:49:01]OFD Sender: No OFD packet to send [19:49:06]OFD Sender: No OFD packet to send [19:49:11]OFD Sender: No OFD packet to send [19:49:16]OFD Sender: No OFD packet to send [19:49:21]OFD Sender: No OFD packet to send [19:49:26]OFD Sender: No OFD packet to send [19:49:31]OFD Sender: No OFD packet to send [19:49:36]OFD Sender: No OFD packet to send [19:49:41]OFD Sender: No OFD packet to send [19:49:46]OFD Sender: No OFD packet to send [19:49:51]OFD Sender: No OFD packet to send [19:49:56]OFD Sender: No OFD packet to send [19:50:01]OFD Sender: No OFD packet to send [19:50:06]OFD Sender: No OFD packet to send [19:50:11]OFD Sender: No OFD packet to send [19:50:16]OFD Sender: No OFD packet to send [19:50:21]OFD Sender: No OFD packet to send [19:50:26]OFD Sender: No OFD packet to send [19:50:31]OFD Sender: No OFD packet to send [19:50:36]OFD Sender: No OFD packet to send [19:50:41]OFD Sender: No OFD packet to send [19:50:46]OFD Sender: No OFD packet to send [19:50:51]OFD Sender: No OFD packet to send [19:50:56]OFD Sender: No OFD packet to send [19:51:01]OFD Sender: No OFD packet to send [19:51:06]OFD Sender: No OFD packet to send [19:51:11]OFD Sender: No OFD packet to send [19:51:16]OFD Sender: No OFD packet to send [19:51:21]OFD Sender: No OFD packet to send [19:51:26]OFD Sender: No OFD packet to send [19:51:31]OFD Sender: No OFD packet to send [19:51:36]OFD Sender: No OFD packet to send [19:51:41]OFD Sender: No OFD packet to send [19:51:46]OFD Sender: No OFD packet to send [19:51:51]OFD Sender: No OFD packet to send [19:51:56]OFD Sender: No OFD packet to send [19:52:01]OFD Sender: No OFD packet to send [19:52:06]OFD Sender: No OFD packet to send [19:52:11]OFD Sender: No OFD packet to send [19:52:16]OFD Sender: No OFD packet to send [19:52:21]OFD Sender: No OFD packet to send [19:52:26]OFD Sender: No OFD packet to send [19:52:31]OFD Sender: No OFD packet to send [19:52:36]OFD Sender: No OFD packet to send [19:52:41]OFD Sender: No OFD packet to send [19:52:46]OFD Sender: No OFD packet to send [19:52:51]OFD Sender: No OFD packet to send [19:52:56]OFD Sender: No OFD packet to send [19:53:01]OFD Sender: No OFD packet to send [19:53:06]OFD Sender: No OFD packet to send [19:53:11]OFD Sender: No OFD packet to send [19:53:16]OFD Sender: No OFD packet to send [19:53:21]OFD Sender: No OFD packet to send [19:53:26]OFD Sender: No OFD packet to send [19:53:31]OFD Sender: No OFD packet to send [19:53:36]OFD Sender: No OFD packet to send [19:53:41]OFD Sender: No OFD packet to send [19:53:46]OFD Sender: No OFD packet to send [19:53:51]OFD Sender: No OFD packet to send [19:53:56]OFD Sender: No OFD packet to send [19:54:01]OFD Sender: No OFD packet to send [19:54:06]OFD Sender: No OFD packet to send [19:54:11]OFD Sender: No OFD packet to send [19:54:16]OFD Sender: No OFD packet to send [19:54:21]OFD Sender: No OFD packet to send [19:54:26]OFD Sender: No OFD packet to send [19:54:31]OFD Sender: No OFD packet to send [19:54:36]OFD Sender: No OFD packet to send [19:54:41]OFD Sender: No OFD packet to send [19:54:46]OFD Sender: No OFD packet to send [19:54:51]OFD Sender: No OFD packet to send [19:54:56]OFD Sender: No OFD packet to send [19:55:01]OFD Sender: No OFD packet to send [19:55:06]OFD Sender: No OFD packet to send [19:55:11]OFD Sender: No OFD packet to send [19:55:16]OFD Sender: No OFD packet to send [19:55:21]OFD Sender: No OFD packet to send [19:55:26]OFD Sender: No OFD packet to send [19:55:31]OFD Sender: No OFD packet to send [19:55:36]OFD Sender: No OFD packet to send [19:55:41]OFD Sender: No OFD packet to send [19:55:46]OFD Sender: No OFD packet to send [19:55:51]OFD Sender: No OFD packet to send [19:55:56]OFD Sender: No OFD packet to send [19:56:01]OFD Sender: No OFD packet to send [19:56:06]OFD Sender: No OFD packet to send [19:56:11]OFD Sender: No OFD packet to send [19:56:16]OFD Sender: No OFD packet to send [19:56:21]OFD Sender: No OFD packet to send [19:56:26]OFD Sender: No OFD packet to send [19:56:31]OFD Sender: No OFD packet to send [19:56:36]OFD Sender: No OFD packet to send [19:56:41]OFD Sender: No OFD packet to send [19:56:46]OFD Sender: No OFD packet to send [19:56:51]OFD Sender: No OFD packet to send [19:56:56]OFD Sender: No OFD packet to send [19:57:01]OFD Sender: No OFD packet to send [19:57:06]OFD Sender: No OFD packet to send [19:57:11]OFD Sender: No OFD packet to send [19:57:16]OFD Sender: No OFD packet to send [19:57:21]OFD Sender: No OFD packet to send [19:57:26]OFD Sender: No OFD packet to send [19:57:31]OFD Sender: No OFD packet to send [19:57:36]OFD Sender: No OFD packet to send [19:57:41]OFD Sender: No OFD packet to send [19:57:46]OFD Sender: No OFD packet to send [19:57:51]OFD Sender: No OFD packet to send [19:57:56]OFD Sender: No OFD packet to send [19:58:01]OFD Sender: No OFD packet to send [19:58:06]OFD Sender: No OFD packet to send [19:58:11]OFD Sender: No OFD packet to send [19:58:16]OFD Sender: No OFD packet to send [19:58:21]OFD Sender: No OFD packet to send [19:58:26]OFD Sender: No OFD packet to send [19:58:31]OFD Sender: No OFD packet to send [19:58:36]OFD Sender: No OFD packet to send [19:58:41]OFD Sender: No OFD packet to send [19:58:46]OFD Sender: No OFD packet to send [19:58:51]OFD Sender: No OFD packet to send [19:58:56]OFD Sender: No OFD packet to send [19:59:01]OFD Sender: No OFD packet to send [19:59:06]OFD Sender: No OFD packet to send [19:59:11]OFD Sender: No OFD packet to send [19:59:16]OFD Sender: No OFD packet to send [19:59:21]OFD Sender: No OFD packet to send [19:59:26]OFD Sender: No OFD packet to send [19:59:31]OFD Sender: No OFD packet to send [19:59:36]OFD Sender: No OFD packet to send [19:59:41]OFD Sender: No OFD packet to send [19:59:46]OFD Sender: No OFD packet to send [19:59:51]OFD Sender: No OFD packet to send [19:59:56]OFD Sender: No OFD packet to send [20:00:01]OFD Sender: No OFD packet to send [20:00:06]OFD Sender: No OFD packet to send [20:00:11]OFD Sender: No OFD packet to send [20:00:16]OFD Sender: No OFD packet to send [20:00:21]OFD Sender: No OFD packet to send [20:00:26]OFD Sender: No OFD packet to send [20:00:31]OFD Sender: No OFD packet to send [20:00:36]OFD Sender: No OFD packet to send [20:00:41]OFD Sender: No OFD packet to send [20:00:46]OFD Sender: No OFD packet to send [20:00:51]OFD Sender: No OFD packet to send [20:00:56]OFD Sender: No OFD packet to send [20:01:01]OFD Sender: No OFD packet to send [20:01:06]OFD Sender: No OFD packet to send [20:01:11]OFD Sender: No OFD packet to send [20:01:16]OFD Sender: No OFD packet to send [20:01:21]OFD Sender: No OFD packet to send [20:01:26]OFD Sender: No OFD packet to send [20:01:31]OFD Sender: No OFD packet to send [20:01:36]OFD Sender: No OFD packet to send [20:01:41]OFD Sender: No OFD packet to send [20:01:46]OFD Sender: No OFD packet to send [20:01:51]OFD Sender: No OFD packet to send [20:01:56]OFD Sender: No OFD packet to send [20:02:01]OFD Sender: No OFD packet to send [20:02:06]OFD Sender: No OFD packet to send [20:02:11]OFD Sender: No OFD packet to send [20:02:16]OFD Sender: No OFD packet to send [20:02:21]OFD Sender: No OFD packet to send [20:02:26]OFD Sender: No OFD packet to send [20:02:31]OFD Sender: No OFD packet to send [20:02:36]OFD Sender: No OFD packet to send [20:02:41]OFD Sender: No OFD packet to send [20:02:46]OFD Sender: No OFD packet to send [20:02:51]OFD Sender: No OFD packet to send [20:02:56]OFD Sender: No OFD packet to send [20:03:01]OFD Sender: No OFD packet to send [20:03:06]OFD Sender: No OFD packet to send [20:03:07]accept exits with 9 [20:03:07]New connection [20:03:07]New thread 3066871140 created [20:03:07]Thread 3067014500 joined [20:03:07]Waiting for new connection... [20:03:07] Sock 9.Parse request [20:03:07]Sock 9.Check first char [20:03:07]Sock 9.First char is OK [20:03:07]request: POST /json_proto HTTP/1.0 [20:03:07]Method: POST [20:03:07]URL: /json_proto [20:03:07]Method is POST - this is cgi request [20:03:07]url: /json_proto [20:03:07]query_string will be loaded in cgi processing [20:03:07]execute_cgi json_proto POST (null) [20:03:07]execute_cgi path=json_proto method=POST [20:03:07]POST find Content-Length [20:03:07]Host: 172.17.39.4:8080 [20:03:07]Content-Length: 957 [20:03:07]Content-Type: application/json [20:03:07] [20:03:07]POST finish read [20:03:07]Found Content-Length = 957 [20:03:07]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129657", "tax_sys" : 0, "items" : [ { "code": "2000036190018", "name": "\u041A\u043E\u0444\u0435 \u0410\u043C\u0435\u0440\u0438\u043A\u0430\u043D\u043E XL(GABB TRADE)", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "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" : 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" ] } } [20:03:07]execute_script... [20:03: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)129657", "tax_sys" : 0, "items" : [ { "code": "2000036190018", "name": "\u041A\u043E\u0444\u0435 \u0410\u043C\u0435\u0440\u0438\u043A\u0430\u043D\u043E XL(GABB TRADE)", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "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" : 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" ] } } [20:03:07]POST & json_proto [20:03:07]process_json_proto [20:03:07]json parsed OK: [20:03:07]protocol is kg_v1.0 [20:03:07]action value=close_receipt [20:03:07]process_action close_receipt [20:03:07]cmd_close_receipt [20:03:07]MH_GetDate [20:03:07]Write to MH i2c: F0 00 00 93 06 88 [20:03:07]Write i2c OK [20:03:07]MH_I2C_Read... [20:03:07]Read from MH i2c: F0 [20:03:07]MH_I2C_Read... [20:03:07]Read from MH i2c: F0 09 00 [20:03:07]MH_I2C_Read... [20:03:07]Read from MH i2c: F0 09 00 93 06 00 7C 80 95 66 2D 25 5D 64 9B [20:03:07]GetLastDocTimeStamp 1721072509 [20:03:07]current date 1721073788 [20:03:07]FM_GetShiftState [20:03:07]SAM_PROTO_GetShiftState [20:03:07]wFMCommunicate request_size=4 [20:03:07]MH_SAM_APDU [20:03:07]CAPDU: 80 13 01 00 [20:03:07]Write to MH i2c: E2 08 00 94 06 80 13 01 00 00 00 00 00 17 [20:03:07]Write i2c OK [20:03:07]MH_I2C_Read... [20:03:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:03:07]Read from MH i2c: E2 [20:03:07]MH_I2C_Read... [20:03:07]Read from MH i2c: E2 0E 00 [20:03:07]MH_I2C_Read... [20:03:07]Read from MH i2c: E2 0E 00 94 06 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 90 [20:03:07]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [20:03:07]wFMCommunicate OK [20:03:07]SAM_PROTO_GetShiftState done [20:03:07]FM_GetShiftState done [20:03:07]opened in 1721003525 [20:03:07]opened+sec_in_day 1721089925 [20:03:07]quantity*price = 12500 [20:03:07]sum+1 = 12501 [20:03:07]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 125.00 НСП 1% : 1.11 НДС 12% : 13.27 Наличными: 0.00 Безнал.: 125.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 109 15.07.2024 20:03 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000874857 ФД: 57214 ФПД: 147956069359015 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T200309&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57214&fm=147956069359015&tin=02508201610067®Number=0000000000091208&sum=12500 0 [20:03:08]StoreToDocumentArchive [20:03:08]shift 497 fd 57214 [20:03:08]save to /storage/0497/doc_00057214 [20:03:08]save last doc name /storage/0497/doc_00057214 to /storage/kkm_last_doc_name [20:03:08]save OK [20:03:08]Clear old archive folders... [20:03:08]ProcessDocumentItem done err = 0, tmpTLVsize=284 [20:03:08]tlvbuf is 00851ED0 [20:03:08]SAM_PROTO_ClearQueue [20:03:08]wFMCommunicate request_size=4 [20:03:08]MH_SAM_APDU [20:03:08]CAPDU: 80 09 00 00 [20:03:08]Write to MH i2c: E2 08 00 A1 06 80 09 00 00 00 00 00 00 19 [20:03:08]Write i2c OK [20:03:08]MH_I2C_Read... [20:03:08]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:03:08]Read from MH i2c: E2 [20:03:08]MH_I2C_Read... [20:03:08]Read from MH i2c: E2 03 00 [20:03:08]MH_I2C_Read... [20:03:08]Read from MH i2c: E2 03 00 A1 06 00 90 00 1B [20:03:08]RAPDU: 90 00 [20:03:08]wFMCommunicate OK [20:03:08]SAM_PROTO_ClearQueue done [20:03:08]KKMCreateOFDPacket [20:03:08]OFDProtocolAddRootSTLVToBuf [20:03:08]FM_MakeSignedData [20:03:08]FM_MakeSignedData [20:03:08]SAM_PROTO_SignData [20:03:08]wFMCommunicate request_size=4 [20:03:08]MH_SAM_APDU [20:03:08]CAPDU: 80 0D 01 02 [20:03:08]Write to MH i2c: E2 08 00 A2 06 80 0D 01 02 00 00 00 00 21 [20:03:08]Write i2c OK [20:03:08]MH_I2C_Read... [20:03:09]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:03:09]Read from MH i2c: E2 [20:03:09]MH_I2C_Read... [20:03:09]Read from MH i2c: E2 03 00 [20:03:09]MH_I2C_Read... [20:03:09]Read from MH i2c: E2 03 00 A2 06 00 90 00 1C [20:03:09]RAPDU: 90 00 [20:03:09]wFMCommunicate OK [20:03:09]wFMCommunicate request_size=255 [20:03:09]MH_SAM_APDU [20:03:09]CAPDU: 80 0D 02 02 FA 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D4 30 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 6D 00 00 00 F4 03 04 00 7D 80 95 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 [20:03:09]Write to MH i2c: E2 02 01 A3 06 80 0D 02 02 FA 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D4 30 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 6D 00 00 00 F4 03 04 00 7D 80 95 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 15 [20:03:09]Write i2c OK [20:03:09]MH_I2C_Read... [20:03:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:03:09]Read from MH i2c: E2 [20:03:09]MH_I2C_Read... [20:03:09]Read from MH i2c: E2 03 00 [20:03:09]MH_I2C_Read... [20:03:09]Read from MH i2c: E2 03 00 A3 06 00 90 00 1D [20:03:09]RAPDU: 90 00 [20:03:09]wFMCommunicate OK [20:03:09]wFMCommunicate request_size=43 [20:03:09]MH_SAM_APDU [20:03:09]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 7E DF 00 00 35 04 06 00 86 90 B4 F4 DD A7 [20:03:09]Write to MH i2c: E2 2E 00 A4 06 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 7E DF 00 00 35 04 06 00 86 90 B4 F4 DD A7 00 00 B2 [20:03:09]Write i2c OK [20:03:09]MH_I2C_Read... [20:03:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:03:09]Read from MH i2c: E2 [20:03:09]MH_I2C_Read... [20:03:09]Read from MH i2c: E2 03 00 [20:03:09]MH_I2C_Read... [20:03:09]Read from MH i2c: E2 03 00 A4 06 00 90 00 1E [20:03:09]RAPDU: 90 00 [20:03:09]wFMCommunicate OK [20:03:09]wFMCommunicate request_size=4 [20:03:09]MH_SAM_APDU [20:03:09]CAPDU: 80 0D 03 02 [20:03:09]Write to MH i2c: E2 08 00 A5 06 80 0D 03 02 00 00 00 00 26 [20:03:09]Write i2c OK [20:03:09]MH_I2C_Read... [20:03:09]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:03:09]Read from MH i2c: E2 [20:03:09]MH_I2C_Read... [20:03:09]Read from MH i2c: E2 0B 00 [20:03:09]MH_I2C_Read... [20:03:09]Read from MH i2c: E2 0B 00 A5 06 00 78 08 7C DE D6 84 38 50 90 00 E3 [20:03:09]RAPDU: 78 08 7C DE D6 84 38 50 90 00 [20:03:09]wFMCommunicate OK [20:03:09]SAM_PROTO_SignData done [20:03:09]FM_MakeSignedData done [20:03:09]CreateOFDProtocolMessage [20:03:09]wFMCommunicate request_size=4 [20:03:09]MH_SAM_APDU [20:03:09]CAPDU: 80 11 00 00 [20:03:09]Write to MH i2c: E2 08 00 A6 06 80 11 00 00 00 00 00 00 26 [20:03:09]Write i2c OK [20:03:09]MH_I2C_Read... [20:03:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:03:09]Read from MH i2c: E2 [20:03:09]MH_I2C_Read... [20:03:09]Read from MH i2c: E2 17 00 [20:03:09]MH_I2C_Read... [20:03:09]Read from MH i2c: E2 17 00 A6 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 80 [20:03:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [20:03:09]wFMCommunicate OK [20:03:09]CreateOFDProtocolMessage done [20:03:09]OFDSenderStorePacket 57214 [20:03:09]StoreOFDPacket docnum=57214 [20:03: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 30 01 00 00 BC 8D 28 01 C7 8E 5A 03 01 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D4 30 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 6D 00 00 00 F4 03 04 00 7D 80 95 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 7E DF 00 00 35 04 06 00 86 90 B4 F4 DD A7 78 08 7C DE D6 84 38 50 [20:03:09]CheckFolder [20:03:09]dirname=/storage/ofd_packets [20:03:09]CheckFolder done [20:03:09]ProducePacketName [20:03:09]name=ofd_packets/00057214 [20:03:09]NVStorageSaveData ofd_packets/00057214 [20:03:09]File name is /storage/ofd_packets/00057214 [20:03:09]Write 334 bytes [20:03:09]NVStorageSaveData done [20:03:09]OFDSenderStorePacket done [20:03:09]KKMCreateOFDPacket done [20:03:09]NVStorageSaveData kkm_last_timestamp [20:03:09]File name is /storage/kkm_last_timestamp [20:03:09]Write 4 bytes [20:03:09]NVStorageSaveData done [20:03:09]ExternCall_PrintAddStr [20:03:09]wPrintStart [20:03:09]Write to MH i2c: 01 00 00 A7 06 AD [20:03:09]Write i2c OK [20:03:09]MH_I2C_Read... [20:03:09]Read from MH i2c: 01 [20:03:09]MH_I2C_Read... [20:03:09]Read from MH i2c: 01 07 00 [20:03:09]MH_I2C_Read... [20:03:09]Read from MH i2c: 01 07 00 A7 06 00 00 00 00 00 FF 0F C2 [20:03:09]RasterBufferAndPrint [20:03:09]line Счет N : (3)129657 [20:03:09]line ИНН: 02508201610067 [20:03:09]line Контрольно-Кассовый Чек [20:03:09]line ПРОДАЖА [20:03:09]line Товар: 2000036190018 [20:03:09]line Кофе Американо XL(GABB TRADE) [20:03:09]line 1.000 * 125.00 [20:03:09]line = 125.00 [20:03:09]line НДС 12% НСП 1% [20:03:09]line > о реализуемом товаре [20:03:09]line ИТОГО: 125.00 [20:03:09]line НСП 1% : 1.11 [20:03:09]line НДС 12% : 13.27 [20:03:09]line Наличными: 0.00 [20:03:09]line Безнал.: 125.00 [20:03:09]line Место: АЗС № 132 "Партнер Нефть" [20:03:09]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [20:03:09]line СНО: Общий режим [20:03:09]line Чек 109 15.07.2024 20:03 [20:03:09]line Смена: 497 ФФД: 1.0 [20:03:09]line ЗНМ: 0300000132 [20:03:09]line РНМ: 0000000000091208 [20:03:09]line Версия ККМ: 001 [20:03:09]line Платежная система: АКБ Кыргызстан [20:03:09]line ФМ: 0000000000874857 [20:03:09]line ФД: 57214 [20:03:09]line ФПД: 147956069359015 [20:03:09]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T200309&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57214&fm=147956069359015&tin=02508201610067®Number=0000000000091208&sum=12500 [20:03:09]line 0 [20:03:09]OFD Sender: Processing packet 57214 [packets to send 38, broken 37] [20:03:09]ProducePacketName [20:03:09]name=ofd_packets/00057214 [20:03:09]OFD Sender: To server: pG, [20:03:09]CommunicateWithHost lk.salyk.kg:30040 [20:03:09]ConnectInit lk.salyk.kg [20:03:09]written 0, free lines is 4095 [20:03:09]Connected sock=10 [20:03:09]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 BC 8D 28 01 C7 8E 5A 03 01 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D4 30 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 6D 00 00 00 F4 03 04 00 7D 80 95 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 7E DF 00 00 35 04 06 00 86 90 B4 F4 DD A7 78 08 7C DE D6 84 38 50 [20:03: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 2D FD 47 00 66 34 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 7E DF 00 00 F4 03 04 00 CA 26 95 66 B6 04 01 00 00 FF 60 82 A0 A4 0E C0 56 [20:03:10]CommunicateWithHost err = 0 [20:03:10]CheckOFDResponse [20:03:10]1017 (14) - 77093643461234 [20:03:10]1041 (16) - 0000000000874857 [20:03:10]1040 (4) - 57214 [20:03:10]1012 (4) - 15.07.2024 13:40 [20:03:10]1206 (1) - 0 [20:03:10]OFD Sender: Remove packet 57214 [20:03:10]ProducePacketName [20:03:10]name=ofd_packets/00057214 [20:03:10]NVStorageDeleteData [20:03:10]Write to MH i2c: 01 00 00 D2 06 D8 [20:03:10]Write i2c OK [20:03:10]MH_I2C_Read... [20:03:10]Read from MH i2c: 01 [20:03:10]MH_I2C_Read... [20:03:10]Read from MH i2c: 01 07 00 [20:03:10]MH_I2C_Read... [20:03:10]Read from MH i2c: 01 07 00 D2 06 00 00 00 00 00 DB 0C C6 [20:03:10]RasterBufferAndPrint [20:03:10]line [20:03:10]line [20:03:10]line [20:03:10]line [20:03:10]line [20:03:10]written 0, free lines is 3299 [20:03:10]MH_Cut [20:03:10]Write to MH i2c: D1 01 00 D9 06 01 B1 [20:03:10]Write i2c OK [20:03:10]MH_I2C_Read... [20:03:10]Read from MH i2c: D1 [20:03:10]MH_I2C_Read... [20:03:10]Read from MH i2c: D1 01 00 [20:03:10]MH_I2C_Read... [20:03:10]Read from MH i2c: D1 01 00 D9 06 00 B0 [20:03:10]Write to MH i2c: 01 00 00 DA 06 E0 [20:03:10]Write i2c OK [20:03:10]MH_I2C_Read... [20:03:10]OFD Sender: No OFD packet to send [20:03:11]*** Cut start [20:03:11]*** Partial cut [20:03:11]*** CUTSNS_PIN = 1 [20:03:11]*** CUTSNS_PIN = 0 [20:03:11]*** Brake cut motor [20:03:11]Read from MH i2c: 01 [20:03:11]MH_I2C_Read... [20:03:11]*** Stop cut motor [20:03:11]*** Cut end [20:03:11]Read from MH i2c: 01 07 00 [20:03:11]MH_I2C_Read... [20:03:11]Read from MH i2c: 01 07 00 DA 06 00 00 00 00 00 FF 0F F5 [20:03:11]process_action close_receipt done [20:03:11]requested_data is exist [20:03:11]produce_requested_data [20:03:11]requested_item fm.sn is exist - process it [20:03:11]wFMCommunicate request_size=4 [20:03:11]MH_SAM_APDU [20:03:11]CAPDU: 80 11 00 00 [20:03:11]Write to MH i2c: E2 08 00 DB 06 80 11 00 00 00 00 00 00 5B [20:03:11]Write i2c OK [20:03:11]MH_I2C_Read... [20:03:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:03:11]Read from MH i2c: E2 [20:03:11]MH_I2C_Read... [20:03:11]Read from MH i2c: E2 17 00 [20:03:11]MH_I2C_Read... [20:03:11]Read from MH i2c: E2 17 00 DB 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 B5 [20:03:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [20:03:11]wFMCommunicate OK [20:03:11]requested_item fd.num is exist - process it [20:03:11]SAM_PROTO_GetFieldsCounters [20:03:11]wFMCommunicate request_size=4 [20:03:11]MH_SAM_APDU [20:03:11]CAPDU: 80 13 00 00 [20:03:11]Write to MH i2c: E2 08 00 DC 06 80 13 00 00 00 00 00 00 5E [20:03:11]Write i2c OK [20:03:11]MH_I2C_Read... [20:03:11]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:03:11]Read from MH i2c: E2 [20:03:11]MH_I2C_Read... [20:03:11]Read from MH i2c: E2 62 00 [20:03:11]MH_I2C_Read... [20:03:11]Read from MH i2c: E2 62 00 DC 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 7E DF 00 00 0E 04 04 00 F1 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 17 [20:03: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 7E DF 00 00 0E 04 04 00 F1 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 [20:03:11]wFMCommunicate OK [20:03:11]SAM_PROTO_GetFieldsCounters done [20:03:11]requested_item shift.num is exist - process it [20:03:11]requested_item shift.opened is exist - process it [20:03:11]req_shift_opened [20:03:11]FM_GetShiftState [20:03:11]SAM_PROTO_GetShiftState [20:03:11]wFMCommunicate request_size=4 [20:03:11]MH_SAM_APDU [20:03:11]CAPDU: 80 13 01 00 [20:03:11]Write to MH i2c: E2 08 00 DD 06 80 13 01 00 00 00 00 00 60 [20:03:11]Write i2c OK [20:03:11]MH_I2C_Read... [20:03:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:03:11]Read from MH i2c: E2 [20:03:11]MH_I2C_Read... [20:03:11]Read from MH i2c: E2 0E 00 [20:03:11]MH_I2C_Read... [20:03:11]Read from MH i2c: E2 0E 00 DD 06 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 D9 [20:03:11]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [20:03:11]wFMCommunicate OK [20:03:11]SAM_PROTO_GetShiftState done [20:03:11]FM_GetShiftState done [20:03:11]req_shift_opened done [20:03:11]requested_item shift.open_date is exist - process it [20:03:11]req_shift_open_date [20:03:11]req_shift_open_date done [20:03:11]requested_item shift.sale.total is exist - process it [20:03:11]SAM_PROTO_GetShiftData [20:03:11]wFMCommunicate request_size=4 [20:03:11]MH_SAM_APDU [20:03:11]CAPDU: 80 13 02 00 [20:03:11]Write to MH i2c: E2 08 00 DE 06 80 13 02 00 00 00 00 00 62 [20:03:11]Write i2c OK [20:03:11]MH_I2C_Read... [20:03:12]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [20:03:12]Read from MH i2c: E2 [20:03:12]MH_I2C_Read... [20:03:12]Read from MH i2c: E2 FD 00 [20:03:12]MH_I2C_Read... [20:03:12]Read from MH i2c: E2 FD 00 DE 06 00 B6 04 AA 04 B2 04 6E 04 04 00 6D 00 00 00 69 04 9B 00 6F 04 04 00 6C 00 00 00 B1 04 03 00 3D 1E 32 70 04 03 00 4C 15 2B 72 04 03 00 F1 08 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 A3 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 88 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 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 A9 [20:03:12]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 6D 00 00 00 69 04 9B 00 6F 04 04 00 6C 00 00 00 B1 04 03 00 3D 1E 32 70 04 03 00 4C 15 2B 72 04 03 00 F1 08 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 A3 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 88 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 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 [20:03:12]wFMCommunicate OK [20:03:12]wFMCommunicate request_size=4 [20:03:12]MH_SAM_APDU [20:03:12]CAPDU: 80 17 00 00 [20:03:12]Write to MH i2c: E2 08 00 DF 06 80 17 00 00 00 00 00 00 65 [20:03:12]Write i2c OK [20:03:12]MH_I2C_Read... [20:03:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:03:12]Read from MH i2c: E2 [20:03:12]MH_I2C_Read... [20:03:12]Read from MH i2c: E2 FD 00 [20:03:12]MH_I2C_Read... [20:03:12]Read from MH i2c: E2 FD 00 DF 06 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 9A [20:03:12]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 [20:03:12]wFMCommunicate OK [20:03:12]wFMCommunicate request_size=4 [20:03:12]MH_SAM_APDU [20:03:12]CAPDU: 80 17 00 00 [20:03:12]Write to MH i2c: E2 08 00 E0 06 80 17 00 00 00 00 00 00 66 [20:03:12]Write i2c OK [20:03:12]MH_I2C_Read... [20:03:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:03:12]Read from MH i2c: E2 [20:03:12]MH_I2C_Read... [20:03:12]Read from MH i2c: E2 FD 00 [20:03:12]MH_I2C_Read... [20:03:12]Read from MH i2c: E2 FD 00 E0 06 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 26 [20:03:12]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 [20:03:12]wFMCommunicate OK [20:03:12]wFMCommunicate request_size=4 [20:03:12]MH_SAM_APDU [20:03:12]CAPDU: 80 17 00 00 [20:03:12]Write to MH i2c: E2 08 00 E1 06 80 17 00 00 00 00 00 00 67 [20:03:12]Write i2c OK [20:03:12]MH_I2C_Read... [20:03:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:03:13]Read from MH i2c: E2 [20:03:13]MH_I2C_Read... [20:03:13]Read from MH i2c: E2 FD 00 [20:03:13]MH_I2C_Read... [20:03:13]Read from MH i2c: E2 FD 00 E1 06 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 D6 [20:03:13]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 [20:03:13]wFMCommunicate OK [20:03:13]wFMCommunicate request_size=4 [20:03:13]MH_SAM_APDU [20:03:13]CAPDU: 80 17 00 00 [20:03:13]Write to MH i2c: E2 08 00 E2 06 80 17 00 00 00 00 00 00 68 [20:03:13]Write i2c OK [20:03:13]MH_I2C_Read... [20:03:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [20:03:13]Read from MH i2c: E2 [20:03:13]MH_I2C_Read... [20:03:13]Read from MH i2c: E2 D3 00 [20:03:13]MH_I2C_Read... [20:03:13]Read from MH i2c: E2 D3 00 E2 06 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 55 [20:03:13]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 [20:03:13]wFMCommunicate OK [20:03:13]SAM_PROTO_GetShiftData done [20:03:13]requested_item shift.sale.total_cash is exist - process it [20:03:13]requested_item shift.sale_refund.total is exist - process it [20:03:13]requested_item shift.sale_refund.total_cash is exist - process it [20:03:13]produce_requested_data done [20:03:13]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57214,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":32845.41,"shift.sale.total_cash":28235.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [20:03:13]process_action_free close_receipt [20:03:13]json_value_free [20:03:13]json_value_free done [20:03:13]process_json_proto returns [20:03:13]Send response to host [20:03:13]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57214,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":32845.41,"shift.sale.total_cash":28235.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [20:03:13]free response buf [20:03:13]execute_script done [20:03:13]execute_script returns [20:03:13]free content buf [20:03:13]Sock 9.Close socket [20:03:13]Sock 9.Thread stoped [20:03:15]OFD Sender: No OFD packet to send [20:03:20]OFD Sender: No OFD packet to send [20:03:25]OFD Sender: No OFD packet to send [20:03:30]OFD Sender: No OFD packet to send [20:03:35]OFD Sender: No OFD packet to send [20:03:40]OFD Sender: No OFD packet to send [20:03:45]OFD Sender: No OFD packet to send [20:03:50]OFD Sender: No OFD packet to send [20:03:55]OFD Sender: No OFD packet to send [20:04:00]OFD Sender: No OFD packet to send [20:04:05]OFD Sender: No OFD packet to send [20:04:10]OFD Sender: No OFD packet to send [20:04:15]OFD Sender: No OFD packet to send [20:04:20]OFD Sender: No OFD packet to send [20:04:25]OFD Sender: No OFD packet to send [20:04:30]OFD Sender: No OFD packet to send [20:04:35]OFD Sender: No OFD packet to send [20:04:40]OFD Sender: No OFD packet to send [20:04:45]OFD Sender: No OFD packet to send [20:04:50]OFD Sender: No OFD packet to send [20:04:55]OFD Sender: No OFD packet to send [20:05:00]OFD Sender: No OFD packet to send [20:05:05]OFD Sender: No OFD packet to send [20:05:10]OFD Sender: No OFD packet to send [20:05:15]OFD Sender: No OFD packet to send [20:05:20]OFD Sender: No OFD packet to send [20:05:25]OFD Sender: No OFD packet to send [20:05:30]OFD Sender: No OFD packet to send [20:05:35]OFD Sender: No OFD packet to send [20:05:40]OFD Sender: No OFD packet to send [20:05:45]OFD Sender: No OFD packet to send [20:05:50]OFD Sender: No OFD packet to send [20:05:55]OFD Sender: No OFD packet to send [20:06:00]OFD Sender: No OFD packet to send [20:06:05]OFD Sender: No OFD packet to send [20:06:10]OFD Sender: No OFD packet to send [20:06:15]OFD Sender: No OFD packet to send [20:06:20]OFD Sender: No OFD packet to send [20:06:25]OFD Sender: No OFD packet to send [20:06:30]OFD Sender: No OFD packet to send [20:06:35]OFD Sender: No OFD packet to send [20:06:40]OFD Sender: No OFD packet to send [20:06:45]OFD Sender: No OFD packet to send [20:06:50]OFD Sender: No OFD packet to send [20:06:55]OFD Sender: No OFD packet to send [20:07:00]OFD Sender: No OFD packet to send [20:07:05]OFD Sender: No OFD packet to send [20:07:10]OFD Sender: No OFD packet to send [20:07:15]OFD Sender: No OFD packet to send [20:07:20]OFD Sender: No OFD packet to send [20:07:25]OFD Sender: No OFD packet to send [20:07:30]OFD Sender: No OFD packet to send [20:07:35]OFD Sender: No OFD packet to send [20:07:40]OFD Sender: No OFD packet to send [20:07:45]OFD Sender: No OFD packet to send [20:07:50]OFD Sender: No OFD packet to send [20:07:55]OFD Sender: No OFD packet to send [20:08:00]OFD Sender: No OFD packet to send [20:08:05]OFD Sender: No OFD packet to send [20:08:10]OFD Sender: No OFD packet to send [20:08:15]OFD Sender: No OFD packet to send [20:08:20]OFD Sender: No OFD packet to send [20:08:25]OFD Sender: No OFD packet to send [20:08:30]OFD Sender: No OFD packet to send [20:08:35]OFD Sender: No OFD packet to send [20:08:40]OFD Sender: No OFD packet to send [20:08:45]OFD Sender: No OFD packet to send [20:08:50]OFD Sender: No OFD packet to send [20:08:55]OFD Sender: No OFD packet to send [20:09:00]OFD Sender: No OFD packet to send [20:09:05]OFD Sender: No OFD packet to send [20:09:10]OFD Sender: No OFD packet to send [20:09:15]OFD Sender: No OFD packet to send [20:09:20]OFD Sender: No OFD packet to send [20:09:25]OFD Sender: No OFD packet to send [20:09:30]OFD Sender: No OFD packet to send [20:09:35]OFD Sender: No OFD packet to send [20:09:40]OFD Sender: No OFD packet to send [20:09:45]OFD Sender: No OFD packet to send [20:09:51]OFD Sender: No OFD packet to send [20:09:56]OFD Sender: No OFD packet to send [20:10:01]OFD Sender: No OFD packet to send [20:10:06]OFD Sender: No OFD packet to send [20:10:06]accept exits with 7 [20:10:06]New connection [20:10:06]New thread 3067014500 created [20:10:06]Thread 3066871140 joined [20:10:06]Waiting for new connection... [20:10:06] Sock 7.Parse request [20:10:06]Sock 7.Check first char [20:10:06]Sock 7.First char is OK [20:10:06]request: POST /json_proto HTTP/1.0 [20:10:06]Method: POST [20:10:06]URL: /json_proto [20:10:06]Method is POST - this is cgi request [20:10:06]url: /json_proto [20:10:06]query_string will be loaded in cgi processing [20:10:06]execute_cgi json_proto POST (null) [20:10:06]execute_cgi path=json_proto method=POST [20:10:06]POST find Content-Length [20:10:06]Host: 172.17.39.4:8080 [20:10:06]Content-Length: 966 [20:10:06]Content-Type: application/json [20:10:06] [20:10:06]POST finish read [20:10:06]Found Content-Length = 966 [20:10:06]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129658", "tax_sys" : 0, "items" : [ { "code": "6931280300549", "name": "\u0417\u0430\u0436\u0438\u0433\u0430\u043B\u043A\u0430 Cricket \u041F\u041D \u043F\u044C\u0435\u0437\u043E", "price" : 67.00, "quantity" : 1.000, "sum" : 67.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" : 67.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:10:06]execute_script... [20:10:06]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129658", "tax_sys" : 0, "items" : [ { "code": "6931280300549", "name": "\u0417\u0430\u0436\u0438\u0433\u0430\u043B\u043A\u0430 Cricket \u041F\u041D \u043F\u044C\u0435\u0437\u043E", "price" : 67.00, "quantity" : 1.000, "sum" : 67.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" : 67.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:10:06]POST & json_proto [20:10:06]process_json_proto [20:10:06]json parsed OK: [20:10:06]protocol is kg_v1.0 [20:10:06]action value=close_receipt [20:10:06]process_action close_receipt [20:10:06]cmd_close_receipt [20:10:06]MH_GetDate [20:10:06]Write to MH i2c: F0 00 00 E3 06 D8 [20:10:06]Write i2c OK [20:10:06]MH_I2C_Read... [20:10:06]Read from MH i2c: F0 [20:10:06]MH_I2C_Read... [20:10:06]Read from MH i2c: F0 09 00 [20:10:06]MH_I2C_Read... [20:10:06]Read from MH i2c: F0 09 00 E3 06 00 1F 82 95 66 2D 25 5D 64 90 [20:10:06]GetLastDocTimeStamp 1721073789 [20:10:06]current date 1721074207 [20:10:06]FM_GetShiftState [20:10:06]SAM_PROTO_GetShiftState [20:10:06]wFMCommunicate request_size=4 [20:10:06]MH_SAM_APDU [20:10:06]CAPDU: 80 13 01 00 [20:10:06]Write to MH i2c: E2 08 00 E4 06 80 13 01 00 00 00 00 00 67 [20:10:06]Write i2c OK [20:10:06]MH_I2C_Read... [20:10:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:10:06]Read from MH i2c: E2 [20:10:06]MH_I2C_Read... [20:10:06]Read from MH i2c: E2 0E 00 [20:10:06]MH_I2C_Read... [20:10:06]Read from MH i2c: E2 0E 00 E4 06 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 E0 [20:10:06]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [20:10:06]wFMCommunicate OK [20:10:06]SAM_PROTO_GetShiftState done [20:10:06]FM_GetShiftState done [20:10:06]opened in 1721003525 [20:10:06]opened+sec_in_day 1721089925 [20:10:06]quantity*price = 6700 [20:10:06]sum+1 = 6701 [20:10:06]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 67.00 НСП 1% : 0.59 НДС 12% : 7.11 Наличными: 0.00 Безнал.: 67.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 110 15.07.2024 20:10 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000874857 ФД: 57215 ФПД: 135820782834758 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T201007&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57215&fm=135820782834758&tin=02508201610067®Number=0000000000091208&sum=6700 0 [20:10:07]StoreToDocumentArchive [20:10:07]shift 497 fd 57215 [20:10:07]save to /storage/0497/doc_00057215 [20:10:07]save last doc name /storage/0497/doc_00057215 to /storage/kkm_last_doc_name [20:10:07]save OK [20:10:07]Clear old archive folders... [20:10:07]ProcessDocumentItem done err = 0, tmpTLVsize=284 [20:10:07]tlvbuf is 00846A10 [20:10:07]SAM_PROTO_ClearQueue [20:10:07]wFMCommunicate request_size=4 [20:10:07]MH_SAM_APDU [20:10:07]CAPDU: 80 09 00 00 [20:10:07]Write to MH i2c: E2 08 00 F1 06 80 09 00 00 00 00 00 00 69 [20:10:07]Write i2c OK [20:10:07]MH_I2C_Read... [20:10:07]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:10:07]Read from MH i2c: E2 [20:10:07]MH_I2C_Read... [20:10:07]Read from MH i2c: E2 03 00 [20:10:07]MH_I2C_Read... [20:10:07]Read from MH i2c: E2 03 00 F1 06 00 90 00 6B [20:10:07]RAPDU: 90 00 [20:10:07]wFMCommunicate OK [20:10:07]SAM_PROTO_ClearQueue done [20:10:07]KKMCreateOFDPacket [20:10:07]OFDProtocolAddRootSTLVToBuf [20:10:07]FM_MakeSignedData [20:10:07]FM_MakeSignedData [20:10:07]SAM_PROTO_SignData [20:10:07]wFMCommunicate request_size=4 [20:10:07]MH_SAM_APDU [20:10:07]CAPDU: 80 0D 01 02 [20:10:07]Write to MH i2c: E2 08 00 F2 06 80 0D 01 02 00 00 00 00 71 [20:10:07]Write i2c OK [20:10:07]MH_I2C_Read... [20:10:07]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:10:07]Read from MH i2c: E2 [20:10:07]MH_I2C_Read... [20:10:07]Read from MH i2c: E2 03 00 [20:10:07]MH_I2C_Read... [20:10:07]Read from MH i2c: E2 03 00 F2 06 00 90 00 6C [20:10:07]RAPDU: 90 00 [20:10:07]wFMCommunicate OK [20:10:07]wFMCommunicate request_size=255 [20:10:07]MH_SAM_APDU [20:10:07]CAPDU: 80 0D 02 02 FA 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 36 39 33 31 32 38 30 33 30 30 35 34 39 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2C 1A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C7 02 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 2C 1A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 6E 00 00 00 F4 03 04 00 1F 82 95 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 [20:10:07]Write to MH i2c: E2 02 01 F3 06 80 0D 02 02 FA 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 36 39 33 31 32 38 30 33 30 30 35 34 39 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2C 1A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C7 02 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 2C 1A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 6E 00 00 00 F4 03 04 00 1F 82 95 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 89 [20:10:08]Write i2c OK [20:10:08]MH_I2C_Read... [20:10:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:10:08]Read from MH i2c: E2 [20:10:08]MH_I2C_Read... [20:10:08]Read from MH i2c: E2 03 00 [20:10:08]MH_I2C_Read... [20:10:08]Read from MH i2c: E2 03 00 F3 06 00 90 00 6D [20:10:08]RAPDU: 90 00 [20:10:08]wFMCommunicate OK [20:10:08]wFMCommunicate request_size=43 [20:10:08]MH_SAM_APDU [20:10:08]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 7F DF 00 00 35 04 06 00 7B 87 3D 83 94 46 [20:10:08]Write to MH i2c: E2 2E 00 F4 06 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 7F DF 00 00 35 04 06 00 7B 87 3D 83 94 46 00 00 5D [20:10:08]Write i2c OK [20:10:08]MH_I2C_Read... [20:10:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:10:08]Read from MH i2c: E2 [20:10:08]MH_I2C_Read... [20:10:08]Read from MH i2c: E2 03 00 [20:10:08]MH_I2C_Read... [20:10:08]Read from MH i2c: E2 03 00 F4 06 00 90 00 6E [20:10:08]RAPDU: 90 00 [20:10:08]wFMCommunicate OK [20:10:08]wFMCommunicate request_size=4 [20:10:08]MH_SAM_APDU [20:10:08]CAPDU: 80 0D 03 02 [20:10:08]Write to MH i2c: E2 08 00 F5 06 80 0D 03 02 00 00 00 00 76 [20:10:08]Write i2c OK [20:10:08]MH_I2C_Read... [20:10:08]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:10:08]Read from MH i2c: E2 [20:10:08]MH_I2C_Read... [20:10:08]Read from MH i2c: E2 0B 00 [20:10:08]MH_I2C_Read... [20:10:08]Read from MH i2c: E2 0B 00 F5 06 00 7D 36 5B C4 1F 34 2C 24 90 00 EC [20:10:08]RAPDU: 7D 36 5B C4 1F 34 2C 24 90 00 [20:10:08]wFMCommunicate OK [20:10:08]SAM_PROTO_SignData done [20:10:08]FM_MakeSignedData done [20:10:08]CreateOFDProtocolMessage [20:10:08]wFMCommunicate request_size=4 [20:10:08]MH_SAM_APDU [20:10:08]CAPDU: 80 11 00 00 [20:10:08]Write to MH i2c: E2 08 00 F6 06 80 11 00 00 00 00 00 00 76 [20:10:08]Write i2c OK [20:10:08]MH_I2C_Read... [20:10:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:10:08]Read from MH i2c: E2 [20:10:08]MH_I2C_Read... [20:10:08]Read from MH i2c: E2 17 00 [20:10:08]MH_I2C_Read... [20:10:08]Read from MH i2c: E2 17 00 F6 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 D0 [20:10:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [20:10:08]wFMCommunicate OK [20:10:08]CreateOFDProtocolMessage done [20:10:08]OFDSenderStorePacket 57215 [20:10:08]StoreOFDPacket docnum=57215 [20:10:08]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 07 99 28 01 F2 1D 5A 03 01 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 36 39 33 31 32 38 30 33 30 30 35 34 39 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2C 1A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C7 02 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 2C 1A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 6E 00 00 00 F4 03 04 00 1F 82 95 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 7F DF 00 00 35 04 06 00 7B 87 3D 83 94 46 7D 36 5B C4 1F 34 2C 24 [20:10:08]CheckFolder [20:10:08]dirname=/storage/ofd_packets [20:10:08]CheckFolder done [20:10:08]ProducePacketName [20:10:08]name=ofd_packets/00057215 [20:10:08]NVStorageSaveData ofd_packets/00057215 [20:10:08]File name is /storage/ofd_packets/00057215 [20:10:08]Write 334 bytes [20:10:08]NVStorageSaveData done [20:10:08]OFDSenderStorePacket done [20:10:08]KKMCreateOFDPacket done [20:10:08]NVStorageSaveData kkm_last_timestamp [20:10:08]File name is /storage/kkm_last_timestamp [20:10:08]Write 4 bytes [20:10:08]NVStorageSaveData done [20:10:08]ExternCall_PrintAddStr [20:10:08]wPrintStart [20:10:08]Write to MH i2c: 01 00 00 F7 06 FD [20:10:08]Write i2c OK [20:10:08]MH_I2C_Read... [20:10:08]Read from MH i2c: 01 [20:10:08]MH_I2C_Read... [20:10:08]Read from MH i2c: 01 07 00 [20:10:08]MH_I2C_Read... [20:10:08]Read from MH i2c: 01 07 00 F7 06 00 00 00 00 00 FF 0F 12 [20:10:08]RasterBufferAndPrint [20:10:08]line Счет N : (3)129658 [20:10:08]line ИНН: 02508201610067 [20:10:08]line Контрольно-Кассовый Чек [20:10:08]line ПРОДАЖА [20:10:08]line Товар: 6931280300549 [20:10:08]line Зажигалка Cricket ПН пьезо [20:10:08]line 1.000 * 67.00 [20:10:08]line = 67.00 [20:10:08]line НДС 12% НСП 1% [20:10:08]line > о реализуемом товаре [20:10:08]line ИТОГО: 67.00 [20:10:08]line НСП 1% : 0.59 [20:10:08]line НДС 12% : 7.11 [20:10:08]line Наличными: 0.00 [20:10:08]line Безнал.: 67.00 [20:10:08]line Место: АЗС № 132 "Партнер Нефть" [20:10:08]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [20:10:08]line СНО: Общий режим [20:10:08]line Чек 110 15.07.2024 20:10 [20:10:08]line Смена: 497 ФФД: 1.0 [20:10:08]line ЗНМ: 0300000132 [20:10:08]line РНМ: 0000000000091208 [20:10:08]line Версия ККМ: 001 [20:10:08]line Платежная система: АКБ Кыргызстан [20:10:08]line ФМ: 0000000000874857 [20:10:08]line ФД: 57215 [20:10:08]line ФПД: 135820782834758 [20:10:08]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T201007&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57215&fm=135820782834758&tin=02508201610067®Number=0000000000091208&sum=6700 [20:10:08]line 0 [20:10:08]OFD Sender: Processing packet 57215 [packets to send 38, broken 37] [20:10:08]ProducePacketName [20:10:08]name=ofd_packets/00057215 [20:10:08]OFD Sender: To server: pG, [20:10:08]CommunicateWithHost lk.salyk.kg:30040 [20:10:08]ConnectInit lk.salyk.kg [20:10:08]written 0, free lines is 4095 [20:10:08]Connected sock=10 [20:10:08]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 07 99 28 01 F2 1D 5A 03 01 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 36 39 33 31 32 38 30 33 30 30 35 34 39 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2C 1A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C7 02 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 2C 1A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 6E 00 00 00 F4 03 04 00 1F 82 95 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 7F DF 00 00 35 04 06 00 7B 87 3D 83 94 46 7D 36 5B C4 1F 34 2C 24 [20:10:09]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 C8 84 47 00 80 D2 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 7F DF 00 00 F4 03 04 00 6D 28 95 66 B6 04 01 00 00 41 74 B2 25 6B 65 EB 6B [20:10:09]CommunicateWithHost err = 0 [20:10:09]CheckOFDResponse [20:10:09]1017 (14) - 77093643461234 [20:10:09]1041 (16) - 0000000000874857 [20:10:09]1040 (4) - 57215 [20:10:09]1012 (4) - 15.07.2024 13:47 [20:10:09]1206 (1) - 0 [20:10:09]OFD Sender: Remove packet 57215 [20:10:09]ProducePacketName [20:10:09]name=ofd_packets/00057215 [20:10:09]NVStorageDeleteData [20:10:09]Write to MH i2c: 01 00 00 21 07 28 [20:10:09]Write i2c OK [20:10:09]MH_I2C_Read... [20:10:09]Read from MH i2c: 01 [20:10:09]MH_I2C_Read... [20:10:09]Read from MH i2c: 01 07 00 [20:10:09]MH_I2C_Read... [20:10:09]Read from MH i2c: 01 07 00 21 07 00 00 00 00 00 E6 0C 21 [20:10:09]RasterBufferAndPrint [20:10:09]line [20:10:09]line [20:10:09]line [20:10:09]line [20:10:09]line [20:10:09]written 0, free lines is 3309 [20:10:09]MH_Cut [20:10:09]Write to MH i2c: D1 01 00 28 07 01 01 [20:10:09]Write i2c OK [20:10:09]MH_I2C_Read... [20:10:09]Read from MH i2c: D1 [20:10:09]MH_I2C_Read... [20:10:09]Read from MH i2c: D1 01 00 [20:10:09]MH_I2C_Read... [20:10:09]Read from MH i2c: D1 01 00 28 07 00 00 [20:10:09]Write to MH i2c: 01 00 00 29 07 30 [20:10:09]Write i2c OK [20:10:09]MH_I2C_Read... [20:10:09]OFD Sender: No OFD packet to send [20:10:09]*** Cut start [20:10:09]*** Partial cut [20:10:09]*** CUTSNS_PIN = 1 [20:10:10]*** CUTSNS_PIN = 0 [20:10:10]*** Brake cut motor [20:10:10]Read from MH i2c: 01 [20:10:10]MH_I2C_Read... [20:10:10]*** Stop cut motor [20:10:10]*** Cut end [20:10:10]Read from MH i2c: 01 07 00 [20:10:10]MH_I2C_Read... [20:10:10]Read from MH i2c: 01 07 00 29 07 00 00 00 00 00 FF 0F 45 [20:10:10]process_action close_receipt done [20:10:10]requested_data is exist [20:10:10]produce_requested_data [20:10:10]requested_item fm.sn is exist - process it [20:10:10]wFMCommunicate request_size=4 [20:10:10]MH_SAM_APDU [20:10:10]CAPDU: 80 11 00 00 [20:10:10]Write to MH i2c: E2 08 00 2A 07 80 11 00 00 00 00 00 00 AB [20:10:10]Write i2c OK [20:10:10]MH_I2C_Read... [20:10:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:10:10]Read from MH i2c: E2 [20:10:10]MH_I2C_Read... [20:10:10]Read from MH i2c: E2 17 00 [20:10:10]MH_I2C_Read... [20:10:10]Read from MH i2c: E2 17 00 2A 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 05 [20:10:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [20:10:10]wFMCommunicate OK [20:10:10]requested_item fd.num is exist - process it [20:10:10]SAM_PROTO_GetFieldsCounters [20:10:10]wFMCommunicate request_size=4 [20:10:10]MH_SAM_APDU [20:10:10]CAPDU: 80 13 00 00 [20:10:10]Write to MH i2c: E2 08 00 2B 07 80 13 00 00 00 00 00 00 AE [20:10:10]Write i2c OK [20:10:10]MH_I2C_Read... [20:10:10]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:10:10]Read from MH i2c: E2 [20:10:10]MH_I2C_Read... [20:10:10]Read from MH i2c: E2 62 00 [20:10:10]MH_I2C_Read... [20:10:10]Read from MH i2c: E2 62 00 2B 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 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 7F DF 00 00 0E 04 04 00 F1 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 6B [20:10: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 7F DF 00 00 0E 04 04 00 F1 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 [20:10:10]wFMCommunicate OK [20:10:10]SAM_PROTO_GetFieldsCounters done [20:10:10]requested_item shift.num is exist - process it [20:10:10]requested_item shift.opened is exist - process it [20:10:10]req_shift_opened [20:10:10]FM_GetShiftState [20:10:10]SAM_PROTO_GetShiftState [20:10:10]wFMCommunicate request_size=4 [20:10:10]MH_SAM_APDU [20:10:10]CAPDU: 80 13 01 00 [20:10:10]Write to MH i2c: E2 08 00 2C 07 80 13 01 00 00 00 00 00 B0 [20:10:10]Write i2c OK [20:10:10]MH_I2C_Read... [20:10:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:10:10]Read from MH i2c: E2 [20:10:10]MH_I2C_Read... [20:10:10]Read from MH i2c: E2 0E 00 [20:10:10]MH_I2C_Read... [20:10:10]Read from MH i2c: E2 0E 00 2C 07 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 29 [20:10:10]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [20:10:10]wFMCommunicate OK [20:10:10]SAM_PROTO_GetShiftState done [20:10:10]FM_GetShiftState done [20:10:10]req_shift_opened done [20:10:10]requested_item shift.open_date is exist - process it [20:10:10]req_shift_open_date [20:10:10]req_shift_open_date done [20:10:10]requested_item shift.sale.total is exist - process it [20:10:10]SAM_PROTO_GetShiftData [20:10:10]wFMCommunicate request_size=4 [20:10:10]MH_SAM_APDU [20:10:10]CAPDU: 80 13 02 00 [20:10:10]Write to MH i2c: E2 08 00 2D 07 80 13 02 00 00 00 00 00 B2 [20:10:10]Write i2c OK [20:10:10]MH_I2C_Read... [20:10:11]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [20:10:11]Read from MH i2c: E2 [20:10:11]MH_I2C_Read... [20:10:11]Read from MH i2c: E2 FD 00 [20:10:11]MH_I2C_Read... [20:10:11]Read from MH i2c: E2 FD 00 2D 07 00 B6 04 AA 04 B2 04 6E 04 04 00 6E 00 00 00 69 04 9B 00 6F 04 04 00 6D 00 00 00 B1 04 03 00 69 38 32 70 04 03 00 4C 15 2B 72 04 03 00 1D 23 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 6A 55 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 C3 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 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 8D [20:10:11]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 6E 00 00 00 69 04 9B 00 6F 04 04 00 6D 00 00 00 B1 04 03 00 69 38 32 70 04 03 00 4C 15 2B 72 04 03 00 1D 23 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 6A 55 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 C3 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 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 [20:10:11]wFMCommunicate OK [20:10:11]wFMCommunicate request_size=4 [20:10:11]MH_SAM_APDU [20:10:11]CAPDU: 80 17 00 00 [20:10:11]Write to MH i2c: E2 08 00 2E 07 80 17 00 00 00 00 00 00 B5 [20:10:11]Write i2c OK [20:10:11]MH_I2C_Read... [20:10:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:10:11]Read from MH i2c: E2 [20:10:11]MH_I2C_Read... [20:10:11]Read from MH i2c: E2 FD 00 [20:10:11]MH_I2C_Read... [20:10:11]Read from MH i2c: E2 FD 00 2E 07 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 EA [20:10:11]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 [20:10:11]wFMCommunicate OK [20:10:11]wFMCommunicate request_size=4 [20:10:11]MH_SAM_APDU [20:10:11]CAPDU: 80 17 00 00 [20:10:11]Write to MH i2c: E2 08 00 2F 07 80 17 00 00 00 00 00 00 B6 [20:10:11]Write i2c OK [20:10:11]MH_I2C_Read... [20:10:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:10:11]Read from MH i2c: E2 [20:10:11]MH_I2C_Read... [20:10:11]Read from MH i2c: E2 FD 00 [20:10:11]MH_I2C_Read... [20:10:11]Read from MH i2c: E2 FD 00 2F 07 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 76 [20:10:11]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 [20:10:11]wFMCommunicate OK [20:10:11]wFMCommunicate request_size=4 [20:10:11]MH_SAM_APDU [20:10:11]CAPDU: 80 17 00 00 [20:10:11]Write to MH i2c: E2 08 00 30 07 80 17 00 00 00 00 00 00 B7 [20:10:11]Write i2c OK [20:10:11]MH_I2C_Read... [20:10:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:10:12]Read from MH i2c: E2 [20:10:12]MH_I2C_Read... [20:10:12]Read from MH i2c: E2 FD 00 [20:10:12]MH_I2C_Read... [20:10:12]Read from MH i2c: E2 FD 00 30 07 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 26 [20:10:12]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 [20:10:12]wFMCommunicate OK [20:10:12]wFMCommunicate request_size=4 [20:10:12]MH_SAM_APDU [20:10:12]CAPDU: 80 17 00 00 [20:10:12]Write to MH i2c: E2 08 00 31 07 80 17 00 00 00 00 00 00 B8 [20:10:12]Write i2c OK [20:10:12]MH_I2C_Read... [20:10:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [20:10:12]Read from MH i2c: E2 [20:10:12]MH_I2C_Read... [20:10:12]Read from MH i2c: E2 D3 00 [20:10:12]MH_I2C_Read... [20:10:12]Read from MH i2c: E2 D3 00 31 07 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 A5 [20:10:12]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 [20:10:12]wFMCommunicate OK [20:10:12]SAM_PROTO_GetShiftData done [20:10:12]requested_item shift.sale.total_cash is exist - process it [20:10:12]requested_item shift.sale_refund.total is exist - process it [20:10:12]requested_item shift.sale_refund.total_cash is exist - process it [20:10:12]produce_requested_data done [20:10:12]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57215,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":32912.41,"shift.sale.total_cash":28235.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [20:10:12]process_action_free close_receipt [20:10:12]json_value_free [20:10:12]json_value_free done [20:10:12]process_json_proto returns [20:10:12]Send response to host [20:10:12]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57215,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":32912.41,"shift.sale.total_cash":28235.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [20:10:12]free response buf [20:10:12]execute_script done [20:10:12]execute_script returns [20:10:12]free content buf [20:10:12]Sock 7.Close socket [20:10:12]Sock 7.Thread stoped [20:10:14]OFD Sender: No OFD packet to send [20:10:19]OFD Sender: No OFD packet to send [20:10:24]OFD Sender: No OFD packet to send [20:10:29]OFD Sender: No OFD packet to send [20:10:34]OFD Sender: No OFD packet to send [20:10:39]OFD Sender: No OFD packet to send [20:10:44]OFD Sender: No OFD packet to send [20:10:49]OFD Sender: No OFD packet to send [20:10:54]OFD Sender: No OFD packet to send [20:10:59]OFD Sender: No OFD packet to send [20:11:04]OFD Sender: No OFD packet to send [20:11:09]OFD Sender: No OFD packet to send [20:11:14]OFD Sender: No OFD packet to send [20:11:19]OFD Sender: No OFD packet to send [20:11:24]OFD Sender: No OFD packet to send [20:11:29]OFD Sender: No OFD packet to send [20:11:34]OFD Sender: No OFD packet to send [20:11:39]OFD Sender: No OFD packet to send [20:11:44]OFD Sender: No OFD packet to send [20:11:49]OFD Sender: No OFD packet to send [20:11:54]OFD Sender: No OFD packet to send [20:11:59]OFD Sender: No OFD packet to send [20:12:04]OFD Sender: No OFD packet to send [20:12:09]OFD Sender: No OFD packet to send [20:12:14]OFD Sender: No OFD packet to send [20:12:19]OFD Sender: No OFD packet to send [20:12:24]OFD Sender: No OFD packet to send [20:12:29]OFD Sender: No OFD packet to send [20:12:34]OFD Sender: No OFD packet to send [20:12:39]OFD Sender: No OFD packet to send [20:12:44]OFD Sender: No OFD packet to send [20:12:49]OFD Sender: No OFD packet to send [20:12:54]OFD Sender: No OFD packet to send [20:12:59]OFD Sender: No OFD packet to send [20:13:04]OFD Sender: No OFD packet to send [20:13:09]OFD Sender: No OFD packet to send [20:13:14]OFD Sender: No OFD packet to send [20:13:19]OFD Sender: No OFD packet to send [20:13:24]OFD Sender: No OFD packet to send [20:13:29]OFD Sender: No OFD packet to send [20:13:34]OFD Sender: No OFD packet to send [20:13:39]OFD Sender: No OFD packet to send [20:13:44]OFD Sender: No OFD packet to send [20:13:49]OFD Sender: No OFD packet to send [20:13:54]OFD Sender: No OFD packet to send [20:13:59]OFD Sender: No OFD packet to send [20:14:04]OFD Sender: No OFD packet to send [20:14:09]OFD Sender: No OFD packet to send [20:14:14]OFD Sender: No OFD packet to send [20:14:19]OFD Sender: No OFD packet to send [20:14:24]OFD Sender: No OFD packet to send [20:14:29]OFD Sender: No OFD packet to send [20:14:34]OFD Sender: No OFD packet to send [20:14:39]OFD Sender: No OFD packet to send [20:14:44]OFD Sender: No OFD packet to send [20:14:49]OFD Sender: No OFD packet to send [20:14:54]OFD Sender: No OFD packet to send [20:14:59]OFD Sender: No OFD packet to send [20:15:04]OFD Sender: No OFD packet to send [20:15:09]OFD Sender: No OFD packet to send [20:15:14]OFD Sender: No OFD packet to send [20:15:19]OFD Sender: No OFD packet to send [20:15:24]OFD Sender: No OFD packet to send [20:15:29]OFD Sender: No OFD packet to send [20:15:34]OFD Sender: No OFD packet to send [20:15:39]OFD Sender: No OFD packet to send [20:15:44]OFD Sender: No OFD packet to send [20:15:49]OFD Sender: No OFD packet to send [20:15:54]OFD Sender: No OFD packet to send [20:15:59]OFD Sender: No OFD packet to send [20:16:04]OFD Sender: No OFD packet to send [20:16:09]OFD Sender: No OFD packet to send [20:16:14]OFD Sender: No OFD packet to send [20:16:19]OFD Sender: No OFD packet to send [20:16:24]OFD Sender: No OFD packet to send [20:16:29]OFD Sender: No OFD packet to send [20:16:34]OFD Sender: No OFD packet to send [20:16:39]OFD Sender: No OFD packet to send [20:16:44]OFD Sender: No OFD packet to send [20:16:49]OFD Sender: No OFD packet to send [20:16:54]OFD Sender: No OFD packet to send [20:16:59]OFD Sender: No OFD packet to send [20:17:04]OFD Sender: No OFD packet to send [20:17:09]OFD Sender: No OFD packet to send [20:17:14]OFD Sender: No OFD packet to send [20:17:19]OFD Sender: No OFD packet to send [20:17:24]OFD Sender: No OFD packet to send [20:17:29]OFD Sender: No OFD packet to send [20:17:34]OFD Sender: No OFD packet to send [20:17:40]OFD Sender: No OFD packet to send [20:17:45]OFD Sender: No OFD packet to send [20:17:50]OFD Sender: No OFD packet to send [20:17:55]OFD Sender: No OFD packet to send [20:18:00]OFD Sender: No OFD packet to send [20:18:05]OFD Sender: No OFD packet to send [20:18:10]OFD Sender: No OFD packet to send [20:18:15]OFD Sender: No OFD packet to send [20:18:20]OFD Sender: No OFD packet to send [20:18:25]OFD Sender: No OFD packet to send [20:18:30]OFD Sender: No OFD packet to send [20:18:35]OFD Sender: No OFD packet to send [20:18:40]OFD Sender: No OFD packet to send [20:18:45]OFD Sender: No OFD packet to send [20:18:50]OFD Sender: No OFD packet to send [20:18:55]OFD Sender: No OFD packet to send [20:19:00]OFD Sender: No OFD packet to send [20:19:05]OFD Sender: No OFD packet to send [20:19:10]OFD Sender: No OFD packet to send [20:19:15]OFD Sender: No OFD packet to send [20:19:20]OFD Sender: No OFD packet to send [20:19:25]OFD Sender: No OFD packet to send [20:19:30]OFD Sender: No OFD packet to send [20:19:35]OFD Sender: No OFD packet to send [20:19:40]OFD Sender: No OFD packet to send [20:19:45]OFD Sender: No OFD packet to send [20:19:50]OFD Sender: No OFD packet to send [20:19:55]OFD Sender: No OFD packet to send [20:20:00]OFD Sender: No OFD packet to send [20:20:05]OFD Sender: No OFD packet to send [20:20:10]OFD Sender: No OFD packet to send [20:20:15]OFD Sender: No OFD packet to send [20:20:20]OFD Sender: No OFD packet to send [20:20:25]OFD Sender: No OFD packet to send [20:20:30]OFD Sender: No OFD packet to send [20:20:35]OFD Sender: No OFD packet to send [20:20:40]OFD Sender: No OFD packet to send [20:20:45]OFD Sender: No OFD packet to send [20:20:50]OFD Sender: No OFD packet to send [20:20:55]OFD Sender: No OFD packet to send [20:21:00]OFD Sender: No OFD packet to send [20:21:05]OFD Sender: No OFD packet to send [20:21:10]OFD Sender: No OFD packet to send [20:21:15]OFD Sender: No OFD packet to send [20:21:15]accept exits with 9 [20:21:15]New connection [20:21:15]New thread 3066871140 created [20:21:15]Thread 3067014500 joined [20:21:15]Waiting for new connection... [20:21:15] Sock 9.Parse request [20:21:15]Sock 9.Check first char [20:21:15]Sock 9.First char is OK [20:21:15]request: POST /json_proto HTTP/1.0 [20:21:15]Method: POST [20:21:15]URL: /json_proto [20:21:15]Method is POST - this is cgi request [20:21:15]url: /json_proto [20:21:15]query_string will be loaded in cgi processing [20:21:15]execute_cgi json_proto POST (null) [20:21:15]execute_cgi path=json_proto method=POST [20:21:15]POST find Content-Length [20:21:15]Host: 172.17.39.4:8080 [20:21:15]Content-Length: 756 [20:21:15]Content-Type: application/json [20:21:15] [20:21:15]POST finish read [20:21:15]Found Content-Length = 756 [20:21:15]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129659", "tax_sys" : 0, "items" : [ { "code": "54491472", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 0,5\u043B", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 75.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:21:15]execute_script... [20:21: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)129659", "tax_sys" : 0, "items" : [ { "code": "54491472", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 0,5\u043B", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 75.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:21:15]POST & json_proto [20:21:15]process_json_proto [20:21:15]json parsed OK: [20:21:15]protocol is kg_v1.0 [20:21:15]action value=close_receipt [20:21:15]process_action close_receipt [20:21:15]cmd_close_receipt [20:21:15]MH_GetDate [20:21:15]Write to MH i2c: F0 00 00 32 07 28 [20:21:15]Write i2c OK [20:21:15]MH_I2C_Read... [20:21:15]Read from MH i2c: F0 [20:21:15]MH_I2C_Read... [20:21:15]Read from MH i2c: F0 09 00 [20:21:15]MH_I2C_Read... [20:21:15]Read from MH i2c: F0 09 00 32 07 00 BC 84 95 66 2D 25 5D 64 7F [20:21:15]GetLastDocTimeStamp 1721074207 [20:21:15]current date 1721074876 [20:21:15]FM_GetShiftState [20:21:15]SAM_PROTO_GetShiftState [20:21:15]wFMCommunicate request_size=4 [20:21:15]MH_SAM_APDU [20:21:15]CAPDU: 80 13 01 00 [20:21:15]Write to MH i2c: E2 08 00 33 07 80 13 01 00 00 00 00 00 B7 [20:21:15]Write i2c OK [20:21:15]MH_I2C_Read... [20:21:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:21:15]Read from MH i2c: E2 [20:21:15]MH_I2C_Read... [20:21:15]Read from MH i2c: E2 0E 00 [20:21:15]MH_I2C_Read... [20:21:15]Read from MH i2c: E2 0E 00 33 07 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 30 [20:21:15]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [20:21:15]wFMCommunicate OK [20:21:15]SAM_PROTO_GetShiftState done [20:21:15]FM_GetShiftState done [20:21:15]opened in 1721003525 [20:21:15]opened+sec_in_day 1721089925 [20:21:15]quantity*price = 7500 [20:21:15]sum+1 = 7501 [20:21:15]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 75.00 НСП 1% : 0.66 НДС 12% : 7.96 Наличными: 75.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 111 15.07.2024 20:21 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57216 ФПД: 267012042596233 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T202117&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57216&fm=267012042596233&tin=02508201610067®Number=0000000000091208&sum=7500 0 [20:21:16]StoreToDocumentArchive [20:21:16]shift 497 fd 57216 [20:21:16]save to /storage/0497/doc_00057216 [20:21:16]save last doc name /storage/0497/doc_00057216 to /storage/kkm_last_doc_name [20:21:16]save OK [20:21:16]Clear old archive folders... [20:21:16]ProcessDocumentItem done err = 0, tmpTLVsize=275 [20:21:16]tlvbuf is 00851880 [20:21:16]SAM_PROTO_ClearQueue [20:21:16]wFMCommunicate request_size=4 [20:21:16]MH_SAM_APDU [20:21:16]CAPDU: 80 09 00 00 [20:21:16]Write to MH i2c: E2 08 00 40 07 80 09 00 00 00 00 00 00 B9 [20:21:16]Write i2c OK [20:21:16]MH_I2C_Read... [20:21:16]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:21:16]Read from MH i2c: E2 [20:21:16]MH_I2C_Read... [20:21:16]Read from MH i2c: E2 03 00 [20:21:16]MH_I2C_Read... [20:21:16]Read from MH i2c: E2 03 00 40 07 00 90 00 BB [20:21:16]RAPDU: 90 00 [20:21:16]wFMCommunicate OK [20:21:16]SAM_PROTO_ClearQueue done [20:21:16]KKMCreateOFDPacket [20:21:16]OFDProtocolAddRootSTLVToBuf [20:21:16]FM_MakeSignedData [20:21:16]FM_MakeSignedData [20:21:16]SAM_PROTO_SignData [20:21:16]wFMCommunicate request_size=4 [20:21:16]MH_SAM_APDU [20:21:16]CAPDU: 80 0D 01 02 [20:21:16]Write to MH i2c: E2 08 00 41 07 80 0D 01 02 00 00 00 00 C1 [20:21:16]Write i2c OK [20:21:16]MH_I2C_Read... [20:21:16]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:21:16]Read from MH i2c: E2 [20:21:16]MH_I2C_Read... [20:21:16]Read from MH i2c: E2 03 00 [20:21:16]MH_I2C_Read... [20:21:16]Read from MH i2c: E2 03 00 41 07 00 90 00 BC [20:21:16]RAPDU: 90 00 [20:21:16]wFMCommunicate OK [20:21:16]wFMCommunicate request_size=255 [20:21:16]MH_SAM_APDU [20:21:16]CAPDU: 80 0D 02 02 FA 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 35 34 34 39 31 34 37 32 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 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 1D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 42 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1C 03 00 00 00 00 07 04 06 00 4C 1D 00 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 BD 84 95 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 [20:21:16]Write to MH i2c: E2 02 01 42 07 80 0D 02 02 FA 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 35 34 34 39 31 34 37 32 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 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 1D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 42 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1C 03 00 00 00 00 07 04 06 00 4C 1D 00 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 BD 84 95 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 00 00 48 [20:21:16]Write i2c OK [20:21:16]MH_I2C_Read... [20:21:17]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:21:17]Read from MH i2c: E2 [20:21:17]MH_I2C_Read... [20:21:17]Read from MH i2c: E2 03 00 [20:21:17]MH_I2C_Read... [20:21:17]Read from MH i2c: E2 03 00 42 07 00 90 00 BD [20:21:17]RAPDU: 90 00 [20:21:17]wFMCommunicate OK [20:21:17]wFMCommunicate request_size=34 [20:21:17]MH_SAM_APDU [20:21:17]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 80 DF 00 00 35 04 06 00 F2 D8 95 F3 1F 89 [20:21:17]Write to MH i2c: E2 25 00 43 07 80 0D 02 02 1D 00 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 80 DF 00 00 35 04 06 00 F2 D8 95 F3 1F 89 00 00 E5 [20:21:17]Write i2c OK [20:21:17]MH_I2C_Read... [20:21:17]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:21:17]Read from MH i2c: E2 [20:21:17]MH_I2C_Read... [20:21:17]Read from MH i2c: E2 03 00 [20:21:17]MH_I2C_Read... [20:21:17]Read from MH i2c: E2 03 00 43 07 00 90 00 BE [20:21:17]RAPDU: 90 00 [20:21:17]wFMCommunicate OK [20:21:17]wFMCommunicate request_size=4 [20:21:17]MH_SAM_APDU [20:21:17]CAPDU: 80 0D 03 02 [20:21:17]Write to MH i2c: E2 08 00 44 07 80 0D 03 02 00 00 00 00 C6 [20:21:17]Write i2c OK [20:21:17]MH_I2C_Read... [20:21:17]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:21:17]Read from MH i2c: E2 [20:21:17]MH_I2C_Read... [20:21:17]Read from MH i2c: E2 0B 00 [20:21:17]MH_I2C_Read... [20:21:17]Read from MH i2c: E2 0B 00 44 07 00 A5 41 94 99 8C 18 89 F1 90 00 F8 [20:21:17]RAPDU: A5 41 94 99 8C 18 89 F1 90 00 [20:21:17]wFMCommunicate OK [20:21:17]SAM_PROTO_SignData done [20:21:17]FM_MakeSignedData done [20:21:17]CreateOFDProtocolMessage [20:21:17]wFMCommunicate request_size=4 [20:21:17]MH_SAM_APDU [20:21:17]CAPDU: 80 11 00 00 [20:21:17]Write to MH i2c: E2 08 00 45 07 80 11 00 00 00 00 00 00 C6 [20:21:17]Write i2c OK [20:21:17]MH_I2C_Read... [20:21:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:21:17]Read from MH i2c: E2 [20:21:17]MH_I2C_Read... [20:21:17]Read from MH i2c: E2 17 00 [20:21:17]MH_I2C_Read... [20:21:17]Read from MH i2c: E2 17 00 45 07 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:21:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [20:21:17]wFMCommunicate OK [20:21:17]CreateOFDProtocolMessage done [20:21:17]OFDSenderStorePacket 57216 [20:21:17]StoreOFDPacket docnum=57216 [20:21: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 27 01 00 00 A9 7A 1F 01 EF 53 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 35 34 34 39 31 34 37 32 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 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 1D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 42 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1C 03 00 00 00 00 07 04 06 00 4C 1D 00 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 BD 84 95 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 80 DF 00 00 35 04 06 00 F2 D8 95 F3 1F 89 A5 41 94 99 8C 18 89 F1 [20:21:17]CheckFolder [20:21:17]dirname=/storage/ofd_packets [20:21:17]CheckFolder done [20:21:17]ProducePacketName [20:21:17]name=ofd_packets/00057216 [20:21:17]NVStorageSaveData ofd_packets/00057216 [20:21:17]File name is /storage/ofd_packets/00057216 [20:21:17]Write 325 bytes [20:21:17]NVStorageSaveData done [20:21:17]OFDSenderStorePacket done [20:21:17]KKMCreateOFDPacket done [20:21:17]NVStorageSaveData kkm_last_timestamp [20:21:17]File name is /storage/kkm_last_timestamp [20:21:17]Write 4 bytes [20:21:17]NVStorageSaveData done [20:21:17]ExternCall_PrintAddStr [20:21:17]wPrintStart [20:21:17]Write to MH i2c: 01 00 00 46 07 4D [20:21:17]Write i2c OK [20:21:17]MH_I2C_Read... [20:21:17]Read from MH i2c: 01 [20:21:17]MH_I2C_Read... [20:21:17]Read from MH i2c: 01 07 00 [20:21:17]MH_I2C_Read... [20:21:17]Read from MH i2c: 01 07 00 46 07 00 00 00 00 00 FF 0F 62 [20:21:17]RasterBufferAndPrint [20:21:17]line Счет N : (3)129659 [20:21:17]line ИНН: 02508201610067 [20:21:17]line Контрольно-Кассовый Чек [20:21:17]line ПРОДАЖА [20:21:17]line Товар: 54491472 [20:21:17]line Напиток Кока-Кола 0,5л [20:21:17]line 1.000 * 75.00 [20:21:17]line = 75.00 [20:21:17]line НДС 12% НСП 1% [20:21:17]line > о реализуемом товаре [20:21:17]line ИТОГО: 75.00 [20:21:17]line НСП 1% : 0.66 [20:21:17]line НДС 12% : 7.96 [20:21:17]line Наличными: 75.00 [20:21:17]line Безнал.: 0.00 [20:21:17]line Место: АЗС № 132 "Партнер Нефть" [20:21:17]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [20:21:17]line СНО: Общий режим [20:21:17]line Чек 111 15.07.2024 20:21 [20:21:17]line Смена: 497 ФФД: 1.0 [20:21:17]line ЗНМ: 0300000132 [20:21:17]line РНМ: 0000000000091208 [20:21:17]line Версия ККМ: 001 [20:21:17]line ФМ: 0000000000874857 [20:21:17]line ФД: 57216 [20:21:17]line ФПД: 267012042596233 [20:21:17]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T202117&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57216&fm=267012042596233&tin=02508201610067®Number=0000000000091208&sum=7500 [20:21:17]line 0 [20:21:17]OFD Sender: Processing packet 57216 [packets to send 38, broken 37] [20:21:17]ProducePacketName [20:21:17]name=ofd_packets/00057216 [20:21:17]OFD Sender: To server: pG, [20:21:17]CommunicateWithHost lk.salyk.kg:30040 [20:21:17]ConnectInit lk.salyk.kg [20:21:17]written 0, free lines is 4095 [20:21:17]Connected sock=10 [20:21: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 27 01 00 00 A9 7A 1F 01 EF 53 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 35 34 34 39 31 34 37 32 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 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 1D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 42 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1C 03 00 00 00 00 07 04 06 00 4C 1D 00 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 BD 84 95 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 80 DF 00 00 35 04 06 00 F2 D8 95 F3 1F 89 A5 41 94 99 8C 18 89 F1 [20:21: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 C9 AE 47 00 3D 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 80 DF 00 00 F4 03 04 00 0A 2B 95 66 B6 04 01 00 00 E0 33 74 3D 76 52 88 96 [20:21:18]CommunicateWithHost err = 0 [20:21:18]CheckOFDResponse [20:21:18]1017 (14) - 77093643461234 [20:21:18]1041 (16) - 0000000000874857 [20:21:18]1040 (4) - 57216 [20:21:18]1012 (4) - 15.07.2024 13:58 [20:21:18]1206 (1) - 0 [20:21:18]OFD Sender: Remove packet 57216 [20:21:18]ProducePacketName [20:21:18]name=ofd_packets/00057216 [20:21:18]NVStorageDeleteData [20:21:18]Write to MH i2c: 01 00 00 6E 07 75 [20:21:18]Write i2c OK [20:21:18]MH_I2C_Read... [20:21:18]Read from MH i2c: 01 [20:21:18]MH_I2C_Read... [20:21:18]Read from MH i2c: 01 07 00 [20:21:18]MH_I2C_Read... [20:21:18]Read from MH i2c: 01 07 00 6E 07 00 00 00 00 00 01 0D 8A [20:21:18]RasterBufferAndPrint [20:21:18]line [20:21:18]line [20:21:18]line [20:21:18]line [20:21:18]line [20:21:18]written 0, free lines is 3336 [20:21:18]MH_Cut [20:21:18]Write to MH i2c: D1 01 00 75 07 01 4E [20:21:18]Write i2c OK [20:21:18]MH_I2C_Read... [20:21:18]Read from MH i2c: D1 [20:21:18]MH_I2C_Read... [20:21:18]Read from MH i2c: D1 01 00 [20:21:18]MH_I2C_Read... [20:21:18]Read from MH i2c: D1 01 00 75 07 00 4D [20:21:18]Write to MH i2c: 01 00 00 76 07 7D [20:21:18]Write i2c OK [20:21:18]MH_I2C_Read... [20:21:18]OFD Sender: No OFD packet to send [20:21:18]*** Cut start [20:21:18]*** Partial cut [20:21:18]*** CUTSNS_PIN = 1 [20:21:18]*** CUTSNS_PIN = 0 [20:21:19]*** Brake cut motor [20:21:19]Read from MH i2c: 01 [20:21:19]MH_I2C_Read... [20:21:19]*** Stop cut motor [20:21:19]*** Cut end [20:21:19]Read from MH i2c: 01 07 00 [20:21:19]MH_I2C_Read... [20:21:19]Read from MH i2c: 01 07 00 76 07 00 00 00 00 00 FF 0F 92 [20:21:19]process_action close_receipt done [20:21:19]requested_data is exist [20:21:19]produce_requested_data [20:21:19]requested_item fm.sn is exist - process it [20:21:19]wFMCommunicate request_size=4 [20:21:19]MH_SAM_APDU [20:21:19]CAPDU: 80 11 00 00 [20:21:19]Write to MH i2c: E2 08 00 77 07 80 11 00 00 00 00 00 00 F8 [20:21:19]Write i2c OK [20:21:19]MH_I2C_Read... [20:21:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:21:19]Read from MH i2c: E2 [20:21:19]MH_I2C_Read... [20:21:19]Read from MH i2c: E2 17 00 [20:21:19]MH_I2C_Read... [20:21:19]Read from MH i2c: E2 17 00 77 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 52 [20:21:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [20:21:19]wFMCommunicate OK [20:21:19]requested_item fd.num is exist - process it [20:21:19]SAM_PROTO_GetFieldsCounters [20:21:19]wFMCommunicate request_size=4 [20:21:19]MH_SAM_APDU [20:21:19]CAPDU: 80 13 00 00 [20:21:19]Write to MH i2c: E2 08 00 78 07 80 13 00 00 00 00 00 00 FB [20:21:19]Write i2c OK [20:21:19]MH_I2C_Read... [20:21:19]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:21:19]Read from MH i2c: E2 [20:21:19]MH_I2C_Read... [20:21:19]Read from MH i2c: E2 62 00 [20:21:19]MH_I2C_Read... [20:21:19]Read from MH i2c: E2 62 00 78 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 80 DF 00 00 0E 04 04 00 F1 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 BC [20:21: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 80 DF 00 00 0E 04 04 00 F1 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 [20:21:19]wFMCommunicate OK [20:21:19]SAM_PROTO_GetFieldsCounters done [20:21:19]requested_item shift.num is exist - process it [20:21:19]requested_item shift.opened is exist - process it [20:21:19]req_shift_opened [20:21:19]FM_GetShiftState [20:21:19]SAM_PROTO_GetShiftState [20:21:19]wFMCommunicate request_size=4 [20:21:19]MH_SAM_APDU [20:21:19]CAPDU: 80 13 01 00 [20:21:19]Write to MH i2c: E2 08 00 79 07 80 13 01 00 00 00 00 00 FD [20:21:19]Write i2c OK [20:21:19]MH_I2C_Read... [20:21:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:21:19]Read from MH i2c: E2 [20:21:19]MH_I2C_Read... [20:21:19]Read from MH i2c: E2 0E 00 [20:21:19]MH_I2C_Read... [20:21:19]Read from MH i2c: E2 0E 00 79 07 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 76 [20:21:19]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [20:21:19]wFMCommunicate OK [20:21:19]SAM_PROTO_GetShiftState done [20:21:19]FM_GetShiftState done [20:21:19]req_shift_opened done [20:21:19]requested_item shift.open_date is exist - process it [20:21:19]req_shift_open_date [20:21:19]req_shift_open_date done [20:21:19]requested_item shift.sale.total is exist - process it [20:21:19]SAM_PROTO_GetShiftData [20:21:19]wFMCommunicate request_size=4 [20:21:19]MH_SAM_APDU [20:21:19]CAPDU: 80 13 02 00 [20:21:19]Write to MH i2c: E2 08 00 7A 07 80 13 02 00 00 00 00 00 FF [20:21:19]Write i2c OK [20:21:19]MH_I2C_Read... [20:21:20]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [20:21:20]Read from MH i2c: E2 [20:21:20]MH_I2C_Read... [20:21:20]Read from MH i2c: E2 FD 00 [20:21:20]MH_I2C_Read... [20:21:20]Read from MH i2c: E2 FD 00 7A 07 00 B6 04 AA 04 B2 04 6E 04 04 00 6F 00 00 00 69 04 9B 00 6F 04 04 00 6E 00 00 00 B1 04 03 00 B5 55 32 70 04 03 00 98 32 2B 72 04 03 00 1D 23 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 58 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 05 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 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 10 [20:21:20]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 6F 00 00 00 69 04 9B 00 6F 04 04 00 6E 00 00 00 B1 04 03 00 B5 55 32 70 04 03 00 98 32 2B 72 04 03 00 1D 23 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 58 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 05 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 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 [20:21:20]wFMCommunicate OK [20:21:20]wFMCommunicate request_size=4 [20:21:20]MH_SAM_APDU [20:21:20]CAPDU: 80 17 00 00 [20:21:20]Write to MH i2c: E2 08 00 7B 07 80 17 00 00 00 00 00 00 02 [20:21:20]Write i2c OK [20:21:20]MH_I2C_Read... [20:21:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:21:20]Read from MH i2c: E2 [20:21:20]MH_I2C_Read... [20:21:20]Read from MH i2c: E2 FD 00 [20:21:20]MH_I2C_Read... [20:21:20]Read from MH i2c: E2 FD 00 7B 07 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 37 [20:21:20]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 [20:21:20]wFMCommunicate OK [20:21:20]wFMCommunicate request_size=4 [20:21:20]MH_SAM_APDU [20:21:20]CAPDU: 80 17 00 00 [20:21:20]Write to MH i2c: E2 08 00 7C 07 80 17 00 00 00 00 00 00 03 [20:21:20]Write i2c OK [20:21:20]MH_I2C_Read... [20:21:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:21:20]Read from MH i2c: E2 [20:21:20]MH_I2C_Read... [20:21:20]Read from MH i2c: E2 FD 00 [20:21:20]MH_I2C_Read... [20:21:20]Read from MH i2c: E2 FD 00 7C 07 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 C3 [20:21:20]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 [20:21:20]wFMCommunicate OK [20:21:20]wFMCommunicate request_size=4 [20:21:20]MH_SAM_APDU [20:21:20]CAPDU: 80 17 00 00 [20:21:20]Write to MH i2c: E2 08 00 7D 07 80 17 00 00 00 00 00 00 04 [20:21:20]Write i2c OK [20:21:20]MH_I2C_Read... [20:21:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:21:21]Read from MH i2c: E2 [20:21:21]MH_I2C_Read... [20:21:21]Read from MH i2c: E2 FD 00 [20:21:21]MH_I2C_Read... [20:21:21]Read from MH i2c: E2 FD 00 7D 07 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 73 [20:21:21]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 [20:21:21]wFMCommunicate OK [20:21:21]wFMCommunicate request_size=4 [20:21:21]MH_SAM_APDU [20:21:21]CAPDU: 80 17 00 00 [20:21:21]Write to MH i2c: E2 08 00 7E 07 80 17 00 00 00 00 00 00 05 [20:21:21]Write i2c OK [20:21:21]MH_I2C_Read... [20:21:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [20:21:21]Read from MH i2c: E2 [20:21:21]MH_I2C_Read... [20:21:21]Read from MH i2c: E2 D3 00 [20:21:21]MH_I2C_Read... [20:21:21]Read from MH i2c: E2 D3 00 7E 07 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 F2 [20:21:21]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 [20:21:21]wFMCommunicate OK [20:21:21]SAM_PROTO_GetShiftData done [20:21:21]requested_item shift.sale.total_cash is exist - process it [20:21:21]requested_item shift.sale_refund.total is exist - process it [20:21:21]requested_item shift.sale_refund.total_cash is exist - process it [20:21:21]produce_requested_data done [20:21:21]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57216,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":32987.41,"shift.sale.total_cash":28310.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [20:21:21]process_action_free close_receipt [20:21:21]json_value_free [20:21:21]json_value_free done [20:21:21]process_json_proto returns [20:21:21]Send response to host [20:21:21]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57216,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":32987.41,"shift.sale.total_cash":28310.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [20:21:21]free response buf [20:21:21]execute_script done [20:21:21]execute_script returns [20:21:21]free content buf [20:21:21]Sock 9.Close socket [20:21:21]Sock 9.Thread stoped [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:57]accept exits with 7 [20:22:57]New connection [20:22:57]New thread 3067014500 created [20:22:57]Thread 3066871140 joined [20:22:57]Waiting for new connection... [20:22:57] Sock 7.Parse request [20:22:57]Sock 7.Check first char [20:22:57]Sock 7.First char is OK [20:22:57]request: POST /json_proto HTTP/1.0 [20:22:57]Method: POST [20:22:57]URL: /json_proto [20:22:57]Method is POST - this is cgi request [20:22:57]url: /json_proto [20:22:57]query_string will be loaded in cgi processing [20:22:57]execute_cgi json_proto POST (null) [20:22:57]execute_cgi path=json_proto method=POST [20:22:57]POST find Content-Length [20:22:57]Host: 172.17.39.4:8080 [20:22:57]Content-Length: 827 [20:22:57]Content-Type: application/json [20:22:57] [20:22:57]POST finish read [20:22:57]Found Content-Length = 827 [20:22:57]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129660", "tax_sys" : 0, "items" : [ { "code": "4870202521193", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041CAXI \u0447\u0435\u0440 \u0447\u0430\u0439 \u043B\u0435\u0441\u043D\u044B\u0435 \u044F\u0433\u043E\u0434\u044B 0,4\u043B", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 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" ] } } [20:22:57]execute_script... [20:22: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)129660", "tax_sys" : 0, "items" : [ { "code": "4870202521193", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041CAXI \u0447\u0435\u0440 \u0447\u0430\u0439 \u043B\u0435\u0441\u043D\u044B\u0435 \u044F\u0433\u043E\u0434\u044B 0,4\u043B", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 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" ] } } [20:22:57]POST & json_proto [20:22:57]process_json_proto [20:22:57]json parsed OK: [20:22:57]protocol is kg_v1.0 [20:22:57]action value=close_receipt [20:22:57]process_action close_receipt [20:22:57]cmd_close_receipt [20:22:57]MH_GetDate [20:22:57]Write to MH i2c: F0 00 00 7F 07 75 [20:22:57]Write i2c OK [20:22:57]MH_I2C_Read... [20:22:57]Read from MH i2c: F0 [20:22:57]MH_I2C_Read... [20:22:57]Read from MH i2c: F0 09 00 [20:22:57]MH_I2C_Read... [20:22:57]Read from MH i2c: F0 09 00 7F 07 00 23 85 95 66 2D 25 5D 64 34 [20:22:57]GetLastDocTimeStamp 1721074877 [20:22:57]current date 1721074979 [20:22:57]FM_GetShiftState [20:22:57]SAM_PROTO_GetShiftState [20:22:57]wFMCommunicate request_size=4 [20:22:57]MH_SAM_APDU [20:22:57]CAPDU: 80 13 01 00 [20:22:57]Write to MH i2c: E2 08 00 80 07 80 13 01 00 00 00 00 00 04 [20:22:57]Write i2c OK [20:22:57]MH_I2C_Read... [20:22:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:22:57]Read from MH i2c: E2 [20:22:57]MH_I2C_Read... [20:22:57]Read from MH i2c: E2 0E 00 [20:22:57]MH_I2C_Read... [20:22:57]Read from MH i2c: E2 0E 00 80 07 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 7D [20:22:57]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [20:22:57]wFMCommunicate OK [20:22:57]SAM_PROTO_GetShiftState done [20:22:57]FM_GetShiftState done [20:22:57]opened in 1721003525 [20:22:57]opened+sec_in_day 1721089925 [20:22:57]quantity*price = 7000 [20:22:57]sum+1 = 7001 [20:22:57]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 СНО: Общий режим Чек 112 15.07.2024 20:22 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57217 ФПД: 48375638870211 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T202259&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57217&fm=48375638870211&tin=02508201610067®Number=0000000000091208&sum=7000 0 [20:22:58]StoreToDocumentArchive [20:22:58]shift 497 fd 57217 [20:22:58]save to /storage/0497/doc_00057217 [20:22:58]save last doc name /storage/0497/doc_00057217 to /storage/kkm_last_doc_name [20:22:58]save OK [20:22:58]Clear old archive folders... [20:22:58]ProcessDocumentItem done err = 0, tmpTLVsize=306 [20:22:58]tlvbuf is 00868F80 [20:22:58]SAM_PROTO_ClearQueue [20:22:58]wFMCommunicate request_size=4 [20:22:58]MH_SAM_APDU [20:22:58]CAPDU: 80 09 00 00 [20:22:58]Write to MH i2c: E2 08 00 8D 07 80 09 00 00 00 00 00 00 06 [20:22:58]Write i2c OK [20:22:58]MH_I2C_Read... [20:22:58]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:22:58]Read from MH i2c: E2 [20:22:58]MH_I2C_Read... [20:22:58]Read from MH i2c: E2 03 00 [20:22:58]MH_I2C_Read... [20:22:58]Read from MH i2c: E2 03 00 8D 07 00 90 00 08 [20:22:58]RAPDU: 90 00 [20:22:58]wFMCommunicate OK [20:22:58]SAM_PROTO_ClearQueue done [20:22:58]KKMCreateOFDPacket [20:22:58]OFDProtocolAddRootSTLVToBuf [20:22:58]FM_MakeSignedData [20:22:58]FM_MakeSignedData [20:22:58]SAM_PROTO_SignData [20:22:58]wFMCommunicate request_size=4 [20:22:58]MH_SAM_APDU [20:22:58]CAPDU: 80 0D 01 02 [20:22:58]Write to MH i2c: E2 08 00 8E 07 80 0D 01 02 00 00 00 00 0E [20:22:58]Write i2c OK [20:22:58]MH_I2C_Read... [20:22:58]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:22:59]Read from MH i2c: E2 [20:22:59]MH_I2C_Read... [20:22:59]Read from MH i2c: E2 03 00 [20:22:59]MH_I2C_Read... [20:22:59]Read from MH i2c: E2 03 00 8E 07 00 90 00 09 [20:22:59]RAPDU: 90 00 [20:22:59]wFMCommunicate OK [20:22:59]wFMCommunicate request_size=255 [20:22:59]MH_SAM_APDU [20:22:59]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 32 30 32 35 32 31 31 39 33 06 04 40 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9C 41 58 49 20 D1 87 D0 B5 D1 80 20 D1 87 D0 B0 D0 B9 20 D0 BB D0 B5 D1 81 D0 BD D1 8B D0 B5 20 D1 8F D0 B3 D0 BE D0 B4 D1 8B 20 30 2C 34 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 70 00 00 00 F4 03 04 00 23 85 95 66 0E 04 04 00 F1 01 00 00 B9 04 01 [20:22:59]Write to MH i2c: E2 02 01 8F 07 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 32 30 32 35 32 31 31 39 33 06 04 40 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9C 41 58 49 20 D1 87 D0 B5 D1 80 20 D1 87 D0 B0 D0 B9 20 D0 BB D0 B5 D1 81 D0 BD D1 8B D0 B5 20 D1 8F D0 B3 D0 BE D0 B4 D1 8B 20 30 2C 34 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 70 00 00 00 F4 03 04 00 23 85 95 66 0E 04 04 00 F1 01 00 00 B9 04 01 00 00 40 [20:22:59]Write i2c OK [20:22:59]MH_I2C_Read... [20:22:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:22:59]Read from MH i2c: E2 [20:22:59]MH_I2C_Read... [20:22:59]Read from MH i2c: E2 03 00 [20:22:59]MH_I2C_Read... [20:22:59]Read from MH i2c: E2 03 00 8F 07 00 90 00 0A [20:22:59]RAPDU: 90 00 [20:22:59]wFMCommunicate OK [20:22:59]wFMCommunicate request_size=65 [20:22:59]MH_SAM_APDU [20:22:59]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 81 DF 00 00 35 04 06 00 2B FF 54 C5 48 C3 [20:22:59]Write to MH i2c: E2 44 00 90 07 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 81 DF 00 00 35 04 06 00 2B FF 54 C5 48 C3 00 00 10 [20:22:59]Write i2c OK [20:22:59]MH_I2C_Read... [20:22:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:22:59]Read from MH i2c: E2 [20:22:59]MH_I2C_Read... [20:22:59]Read from MH i2c: E2 03 00 [20:22:59]MH_I2C_Read... [20:22:59]Read from MH i2c: E2 03 00 90 07 00 90 00 0B [20:22:59]RAPDU: 90 00 [20:22:59]wFMCommunicate OK [20:22:59]wFMCommunicate request_size=4 [20:22:59]MH_SAM_APDU [20:22:59]CAPDU: 80 0D 03 02 [20:22:59]Write to MH i2c: E2 08 00 91 07 80 0D 03 02 00 00 00 00 13 [20:22:59]Write i2c OK [20:22:59]MH_I2C_Read... [20:22:59]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:22:59]Read from MH i2c: E2 [20:22:59]MH_I2C_Read... [20:22:59]Read from MH i2c: E2 0B 00 [20:22:59]MH_I2C_Read... [20:22:59]Read from MH i2c: E2 0B 00 91 07 00 86 B4 74 FD 34 6F 4A 60 90 00 0C [20:22:59]RAPDU: 86 B4 74 FD 34 6F 4A 60 90 00 [20:22:59]wFMCommunicate OK [20:22:59]SAM_PROTO_SignData done [20:22:59]FM_MakeSignedData done [20:22:59]CreateOFDProtocolMessage [20:22:59]wFMCommunicate request_size=4 [20:22:59]MH_SAM_APDU [20:22:59]CAPDU: 80 11 00 00 [20:22:59]Write to MH i2c: E2 08 00 92 07 80 11 00 00 00 00 00 00 13 [20:22:59]Write i2c OK [20:22:59]MH_I2C_Read... [20:22:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:22:59]Read from MH i2c: E2 [20:22:59]MH_I2C_Read... [20:22:59]Read from MH i2c: E2 17 00 [20:22:59]MH_I2C_Read... [20:22:59]Read from MH i2c: E2 17 00 92 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 6D [20:22:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [20:22:59]wFMCommunicate OK [20:22:59]CreateOFDProtocolMessage done [20:22:59]OFDSenderStorePacket 57217 [20:22:59]StoreOFDPacket docnum=57217 [20:22: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 46 01 00 00 8E 4B 3E 01 34 D2 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 32 30 32 35 32 31 31 39 33 06 04 40 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9C 41 58 49 20 D1 87 D0 B5 D1 80 20 D1 87 D0 B0 D0 B9 20 D0 BB D0 B5 D1 81 D0 BD D1 8B D0 B5 20 D1 8F D0 B3 D0 BE D0 B4 D1 8B 20 30 2C 34 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 70 00 00 00 F4 03 04 00 23 85 95 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 81 DF 00 00 35 04 06 00 2B FF 54 C5 48 C3 86 B4 74 FD 34 6F 4A 60 [20:22:59]CheckFolder [20:22:59]dirname=/storage/ofd_packets [20:22:59]CheckFolder done [20:22:59]ProducePacketName [20:22:59]name=ofd_packets/00057217 [20:22:59]NVStorageSaveData ofd_packets/00057217 [20:22:59]File name is /storage/ofd_packets/00057217 [20:22:59]Write 356 bytes [20:22:59]NVStorageSaveData done [20:22:59]OFDSenderStorePacket done [20:22:59]KKMCreateOFDPacket done [20:22:59]NVStorageSaveData kkm_last_timestamp [20:22:59]File name is /storage/kkm_last_timestamp [20:22:59]Write 4 bytes [20:22:59]NVStorageSaveData done [20:22:59]ExternCall_PrintAddStr [20:22:59]wPrintStart [20:22:59]Write to MH i2c: 01 00 00 93 07 9A [20:22:59]Write i2c OK [20:22:59]MH_I2C_Read... [20:22:59]Read from MH i2c: 01 [20:22:59]MH_I2C_Read... [20:22:59]Read from MH i2c: 01 07 00 [20:22:59]MH_I2C_Read... [20:22:59]Read from MH i2c: 01 07 00 93 07 00 00 00 00 00 FF 0F AF [20:22:59]RasterBufferAndPrint [20:22:59]line Счет N : (3)129660 [20:22:59]line ИНН: 02508201610067 [20:22:59]line Контрольно-Кассовый Чек [20:22:59]line ПРОДАЖА [20:22:59]line Товар: 4870202521193 [20:22:59]line Напиток МAXI чер чай лесные ягоды 0,4л [20:22:59]line 1.000 * 70.00 [20:22:59]line = 70.00 [20:22:59]line НДС 12% НСП 1% [20:22:59]line > о реализуемом товаре [20:22:59]line ИТОГО: 70.00 [20:22:59]line НСП 1% : 0.62 [20:22:59]line НДС 12% : 7.43 [20:22:59]line Наличными: 70.00 [20:22:59]line Безнал.: 0.00 [20:22:59]line Место: АЗС № 132 "Партнер Нефть" [20:22:59]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [20:22:59]line СНО: Общий режим [20:22:59]line Чек 112 15.07.2024 20:22 [20:22:59]line Смена: 497 ФФД: 1.0 [20:22:59]line ЗНМ: 0300000132 [20:22:59]line РНМ: 0000000000091208 [20:22:59]line Версия ККМ: 001 [20:22:59]line ФМ: 0000000000874857 [20:22:59]line ФД: 57217 [20:22:59]line ФПД: 48375638870211 [20:22:59]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T202259&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57217&fm=48375638870211&tin=02508201610067®Number=0000000000091208&sum=7000 [20:22:59]line 0 [20:22:59]OFD Sender: Processing packet 57217 [packets to send 38, broken 37] [20:22:59]ProducePacketName [20:22:59]name=ofd_packets/00057217 [20:22:59]OFD Sender: To server: pG, [20:22:59]CommunicateWithHost lk.salyk.kg:30040 [20:22:59]ConnectInit lk.salyk.kg [20:22:59]written 0, free lines is 4095 [20:22:59]Connected sock=10 [20:22: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 46 01 00 00 8E 4B 3E 01 34 D2 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 32 30 32 35 32 31 31 39 33 06 04 40 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9C 41 58 49 20 D1 87 D0 B5 D1 80 20 D1 87 D0 B0 D0 B9 20 D0 BB D0 B5 D1 81 D0 BD D1 8B D0 B5 20 D1 8F D0 B3 D0 BE D0 B4 D1 8B 20 30 2C 34 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 70 00 00 00 F4 03 04 00 23 85 95 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 81 DF 00 00 35 04 06 00 2B FF 54 C5 48 C3 86 B4 74 FD 34 6F 4A 60 [20:23: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 E1 EF 47 00 6A 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 81 DF 00 00 F4 03 04 00 70 2B 95 66 B6 04 01 00 00 1A E7 38 9B BF 4D 04 77 [20:23:00]CommunicateWithHost err = 0 [20:23:00]CheckOFDResponse [20:23:00]1017 (14) - 77093643461234 [20:23:00]1041 (16) - 0000000000874857 [20:23:00]1040 (4) - 57217 [20:23:00]1012 (4) - 15.07.2024 14:00 [20:23:00]1206 (1) - 0 [20:23:00]OFD Sender: Remove packet 57217 [20:23:00]ProducePacketName [20:23:00]name=ofd_packets/00057217 [20:23:00]NVStorageDeleteData [20:23:00]Write to MH i2c: 01 00 00 BC 07 C3 [20:23:00]Write i2c OK [20:23:00]MH_I2C_Read... [20:23:00]Read from MH i2c: 01 [20:23:00]MH_I2C_Read... [20:23:00]Read from MH i2c: 01 07 00 [20:23:00]MH_I2C_Read... [20:23:00]Read from MH i2c: 01 07 00 BC 07 00 00 00 00 00 E7 0C BD [20:23:00]RasterBufferAndPrint [20:23:00]line [20:23:00]line [20:23:00]line [20:23:00]line [20:23:00]line [20:23:00]written 0, free lines is 3310 [20:23:00]MH_Cut [20:23:00]Write to MH i2c: D1 01 00 C3 07 01 9C [20:23:00]Write i2c OK [20:23:00]MH_I2C_Read... [20:23:00]Read from MH i2c: D1 [20:23:00]MH_I2C_Read... [20:23:00]Read from MH i2c: D1 01 00 [20:23:00]MH_I2C_Read... [20:23:00]Read from MH i2c: D1 01 00 C3 07 00 9B [20:23:00]Write to MH i2c: 01 00 00 C4 07 CB [20:23:00]Write i2c OK [20:23:00]MH_I2C_Read... [20:23:00]OFD Sender: No OFD packet to send [20:23:00]*** Cut start [20:23:00]*** Partial cut [20:23:00]*** CUTSNS_PIN = 1 [20:23:01]*** CUTSNS_PIN = 0 [20:23:01]*** Brake cut motor [20:23:01]Read from MH i2c: 01 [20:23:01]MH_I2C_Read... [20:23:01]*** Stop cut motor [20:23:01]*** Cut end [20:23:01]Read from MH i2c: 01 07 00 [20:23:01]MH_I2C_Read... [20:23:01]Read from MH i2c: 01 07 00 C4 07 00 00 00 00 00 FF 0F E0 [20:23:01]process_action close_receipt done [20:23:01]requested_data is exist [20:23:01]produce_requested_data [20:23:01]requested_item fm.sn is exist - process it [20:23:01]wFMCommunicate request_size=4 [20:23:01]MH_SAM_APDU [20:23:01]CAPDU: 80 11 00 00 [20:23:01]Write to MH i2c: E2 08 00 C5 07 80 11 00 00 00 00 00 00 46 [20:23:01]Write i2c OK [20:23:01]MH_I2C_Read... [20:23:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:23:01]Read from MH i2c: E2 [20:23:01]MH_I2C_Read... [20:23:01]Read from MH i2c: E2 17 00 [20:23:01]MH_I2C_Read... [20:23:01]Read from MH i2c: E2 17 00 C5 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 A0 [20:23:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [20:23:01]wFMCommunicate OK [20:23:01]requested_item fd.num is exist - process it [20:23:01]SAM_PROTO_GetFieldsCounters [20:23:01]wFMCommunicate request_size=4 [20:23:01]MH_SAM_APDU [20:23:01]CAPDU: 80 13 00 00 [20:23:01]Write to MH i2c: E2 08 00 C6 07 80 13 00 00 00 00 00 00 49 [20:23:01]Write i2c OK [20:23:01]MH_I2C_Read... [20:23:01]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:23:01]Read from MH i2c: E2 [20:23:01]MH_I2C_Read... [20:23:01]Read from MH i2c: E2 62 00 [20:23:01]MH_I2C_Read... [20:23:01]Read from MH i2c: E2 62 00 C6 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 81 DF 00 00 0E 04 04 00 F1 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 0E [20:23: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 81 DF 00 00 0E 04 04 00 F1 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 [20:23:01]wFMCommunicate OK [20:23:01]SAM_PROTO_GetFieldsCounters done [20:23:01]requested_item shift.num is exist - process it [20:23:01]requested_item shift.opened is exist - process it [20:23:01]req_shift_opened [20:23:01]FM_GetShiftState [20:23:01]SAM_PROTO_GetShiftState [20:23:01]wFMCommunicate request_size=4 [20:23:01]MH_SAM_APDU [20:23:01]CAPDU: 80 13 01 00 [20:23:01]Write to MH i2c: E2 08 00 C7 07 80 13 01 00 00 00 00 00 4B [20:23:01]Write i2c OK [20:23:01]MH_I2C_Read... [20:23:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:23:01]Read from MH i2c: E2 [20:23:01]MH_I2C_Read... [20:23:01]Read from MH i2c: E2 0E 00 [20:23:01]MH_I2C_Read... [20:23:01]Read from MH i2c: E2 0E 00 C7 07 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 C4 [20:23:01]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [20:23:01]wFMCommunicate OK [20:23:01]SAM_PROTO_GetShiftState done [20:23:01]FM_GetShiftState done [20:23:01]req_shift_opened done [20:23:01]requested_item shift.open_date is exist - process it [20:23:01]req_shift_open_date [20:23:01]req_shift_open_date done [20:23:01]requested_item shift.sale.total is exist - process it [20:23:01]SAM_PROTO_GetShiftData [20:23:01]wFMCommunicate request_size=4 [20:23:01]MH_SAM_APDU [20:23:01]CAPDU: 80 13 02 00 [20:23:01]Write to MH i2c: E2 08 00 C8 07 80 13 02 00 00 00 00 00 4D [20:23:01]Write i2c OK [20:23:01]MH_I2C_Read... [20:23:02]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [20:23:02]Read from MH i2c: E2 [20:23:02]MH_I2C_Read... [20:23:02]Read from MH i2c: E2 FD 00 [20:23:02]MH_I2C_Read... [20:23:02]Read from MH i2c: E2 FD 00 C8 07 00 B6 04 AA 04 B2 04 6E 04 04 00 70 00 00 00 69 04 9B 00 6F 04 04 00 6F 00 00 00 B1 04 03 00 0D 71 32 70 04 03 00 F0 4D 2B 72 04 03 00 1D 23 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 6D 5B 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 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 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 6F [20:23:02]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 70 00 00 00 69 04 9B 00 6F 04 04 00 6F 00 00 00 B1 04 03 00 0D 71 32 70 04 03 00 F0 4D 2B 72 04 03 00 1D 23 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 6D 5B 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 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 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 [20:23:02]wFMCommunicate OK [20:23:02]wFMCommunicate request_size=4 [20:23:02]MH_SAM_APDU [20:23:02]CAPDU: 80 17 00 00 [20:23:02]Write to MH i2c: E2 08 00 C9 07 80 17 00 00 00 00 00 00 50 [20:23:02]Write i2c OK [20:23:02]MH_I2C_Read... [20:23:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:23:02]Read from MH i2c: E2 [20:23:02]MH_I2C_Read... [20:23:02]Read from MH i2c: E2 FD 00 [20:23:02]MH_I2C_Read... [20:23:02]Read from MH i2c: E2 FD 00 C9 07 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 85 [20:23:02]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 [20:23:02]wFMCommunicate OK [20:23:02]wFMCommunicate request_size=4 [20:23:02]MH_SAM_APDU [20:23:02]CAPDU: 80 17 00 00 [20:23:02]Write to MH i2c: E2 08 00 CA 07 80 17 00 00 00 00 00 00 51 [20:23:02]Write i2c OK [20:23:02]MH_I2C_Read... [20:23:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:23:02]Read from MH i2c: E2 [20:23:02]MH_I2C_Read... [20:23:02]Read from MH i2c: E2 FD 00 [20:23:02]MH_I2C_Read... [20:23:02]Read from MH i2c: E2 FD 00 CA 07 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 11 [20:23:02]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 [20:23:02]wFMCommunicate OK [20:23:02]wFMCommunicate request_size=4 [20:23:02]MH_SAM_APDU [20:23:02]CAPDU: 80 17 00 00 [20:23:02]Write to MH i2c: E2 08 00 CB 07 80 17 00 00 00 00 00 00 52 [20:23:02]Write i2c OK [20:23:02]MH_I2C_Read... [20:23:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:23:03]Read from MH i2c: E2 [20:23:03]MH_I2C_Read... [20:23:03]Read from MH i2c: E2 FD 00 [20:23:03]MH_I2C_Read... [20:23:03]Read from MH i2c: E2 FD 00 CB 07 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 C1 [20:23:03]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 [20:23:03]wFMCommunicate OK [20:23:03]wFMCommunicate request_size=4 [20:23:03]MH_SAM_APDU [20:23:03]CAPDU: 80 17 00 00 [20:23:03]Write to MH i2c: E2 08 00 CC 07 80 17 00 00 00 00 00 00 53 [20:23:03]Write i2c OK [20:23:03]MH_I2C_Read... [20:23:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [20:23:03]Read from MH i2c: E2 [20:23:03]MH_I2C_Read... [20:23:03]Read from MH i2c: E2 D3 00 [20:23:03]MH_I2C_Read... [20:23:03]Read from MH i2c: E2 D3 00 CC 07 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 40 [20:23:03]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 [20:23:03]wFMCommunicate OK [20:23:03]SAM_PROTO_GetShiftData done [20:23:03]requested_item shift.sale.total_cash is exist - process it [20:23:03]requested_item shift.sale_refund.total is exist - process it [20:23:03]requested_item shift.sale_refund.total_cash is exist - process it [20:23:03]produce_requested_data done [20:23:03]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57217,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":33057.41,"shift.sale.total_cash":28380.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [20:23:03]process_action_free close_receipt [20:23:03]json_value_free [20:23:03]json_value_free done [20:23:03]process_json_proto returns [20:23:03]Send response to host [20:23:03]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57217,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":33057.41,"shift.sale.total_cash":28380.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [20:23:03]free response buf [20:23:03]execute_script done [20:23:03]execute_script returns [20:23:03]free content buf [20:23:03]Sock 7.Close socket [20:23:03]Sock 7.Thread stoped [20:23:05]OFD Sender: No OFD packet to send [20:23:10]OFD Sender: No OFD packet to send [20:23:15]OFD Sender: No OFD packet to send [20:23:20]OFD Sender: No OFD packet to send [20:23:25]OFD Sender: No OFD packet to send [20:23:30]OFD Sender: No OFD packet to send [20:23:35]OFD Sender: No OFD packet to send [20:23:40]OFD Sender: No OFD packet to send [20:23:45]OFD Sender: No OFD packet to send [20:23:50]OFD Sender: No OFD packet to send [20:23:55]OFD Sender: No OFD packet to send [20:24:00]OFD Sender: No OFD packet to send [20:24:05]OFD Sender: No OFD packet to send [20:24:10]OFD Sender: No OFD packet to send [20:24:15]OFD Sender: No OFD packet to send [20:24:20]OFD Sender: No OFD packet to send [20:24:25]OFD Sender: No OFD packet to send [20:24:30]OFD Sender: No OFD packet to send [20:24:35]OFD Sender: No OFD packet to send [20:24:40]OFD Sender: No OFD packet to send [20:24:45]OFD Sender: No OFD packet to send [20:24:50]OFD Sender: No OFD packet to send [20:24:55]OFD Sender: No OFD packet to send [20:25:00]OFD Sender: No OFD packet to send [20:25:05]OFD Sender: No OFD packet to send [20:25:10]OFD Sender: No OFD packet to send [20:25:15]OFD Sender: No OFD packet to send [20:25:20]OFD Sender: No OFD packet to send [20:25:25]OFD Sender: No OFD packet to send [20:25:30]OFD Sender: No OFD packet to send [20:25:35]OFD Sender: No OFD packet to send [20:25:40]OFD Sender: No OFD packet to send [20:25:45]OFD Sender: No OFD packet to send [20:25:50]OFD Sender: No OFD packet to send [20:25:55]OFD Sender: No OFD packet to send [20:26:00]OFD Sender: No OFD packet to send [20:26:05]OFD Sender: No OFD packet to send [20:26:10]OFD Sender: No OFD packet to send [20:26:15]OFD Sender: No OFD packet to send [20:26:20]OFD Sender: No OFD packet to send [20:26:25]OFD Sender: No OFD packet to send [20:26:30]OFD Sender: No OFD packet to send [20:26:35]OFD Sender: No OFD packet to send [20:26:40]OFD Sender: No OFD packet to send [20:26:45]OFD Sender: No OFD packet to send [20:26:50]OFD Sender: No OFD packet to send [20:26:55]OFD Sender: No OFD packet to send [20:27:00]OFD Sender: No OFD packet to send [20:27:05]OFD Sender: No OFD packet to send [20:27:10]OFD Sender: No OFD packet to send [20:27:15]OFD Sender: No OFD packet to send [20:27:20]OFD Sender: No OFD packet to send [20:27:25]OFD Sender: No OFD packet to send [20:27:30]OFD Sender: No OFD packet to send [20:27:35]OFD Sender: No OFD packet to send [20:27:40]OFD Sender: No OFD packet to send [20:27:45]OFD Sender: No OFD packet to send [20:27:50]OFD Sender: No OFD packet to send [20:27:55]OFD Sender: No OFD packet to send [20:28:00]OFD Sender: No OFD packet to send [20:28:05]OFD Sender: No OFD packet to send [20:28:10]OFD Sender: No OFD packet to send [20:28:15]OFD Sender: No OFD packet to send [20:28:20]OFD Sender: No OFD packet to send [20:28:25]OFD Sender: No OFD packet to send [20:28:30]OFD Sender: No OFD packet to send [20:28:35]OFD Sender: No OFD packet to send [20:28:40]OFD Sender: No OFD packet to send [20:28:46]OFD Sender: No OFD packet to send [20:28:51]OFD Sender: No OFD packet to send [20:28:56]OFD Sender: No OFD packet to send [20:29:01]OFD Sender: No OFD packet to send [20:29:06]OFD Sender: No OFD packet to send [20:29:11]OFD Sender: No OFD packet to send [20:29:16]OFD Sender: No OFD packet to send [20:29:21]OFD Sender: No OFD packet to send [20:29:26]OFD Sender: No OFD packet to send [20:29:31]OFD Sender: No OFD packet to send [20:29:36]OFD Sender: No OFD packet to send [20:29:41]OFD Sender: No OFD packet to send [20:29:46]OFD Sender: No OFD packet to send [20:29:51]OFD Sender: No OFD packet to send [20:29:56]OFD Sender: No OFD packet to send [20:30:01]OFD Sender: No OFD packet to send [20:30:06]OFD Sender: No OFD packet to send [20:30:11]OFD Sender: No OFD packet to send [20:30:16]OFD Sender: No OFD packet to send [20:30:21]OFD Sender: No OFD packet to send [20:30:26]OFD Sender: No OFD packet to send [20:30:31]OFD Sender: No OFD packet to send [20:30:36]OFD Sender: No OFD packet to send [20:30:41]OFD Sender: No OFD packet to send [20:30:46]OFD Sender: No OFD packet to send [20:30:51]OFD Sender: No OFD packet to send [20:30:56]OFD Sender: No OFD packet to send [20:31:01]OFD Sender: No OFD packet to send [20:31:06]OFD Sender: No OFD packet to send [20:31:11]OFD Sender: No OFD packet to send [20:31:16]OFD Sender: No OFD packet to send [20:31:21]OFD Sender: No OFD packet to send [20:31:26]OFD Sender: No OFD packet to send [20:31:31]OFD Sender: No OFD packet to send [20:31:36]OFD Sender: No OFD packet to send [20:31:41]OFD Sender: No OFD packet to send [20:31:46]OFD Sender: No OFD packet to send [20:31:51]OFD Sender: No OFD packet to send [20:31:56]OFD Sender: No OFD packet to send [20:32:01]OFD Sender: No OFD packet to send [20:32:06]OFD Sender: No OFD packet to send [20:32:11]OFD Sender: No OFD packet to send [20:32:16]OFD Sender: No OFD packet to send [20:32:21]OFD Sender: No OFD packet to send [20:32:26]OFD Sender: No OFD packet to send [20:32:31]OFD Sender: No OFD packet to send [20:32:36]OFD Sender: No OFD packet to send [20:32:41]OFD Sender: No OFD packet to send [20:32:46]OFD Sender: No OFD packet to send [20:32:51]OFD Sender: No OFD packet to send [20:32:56]OFD Sender: No OFD packet to send [20:33:01]OFD Sender: No OFD packet to send [20:33:06]OFD Sender: No OFD packet to send [20:33:11]OFD Sender: No OFD packet to send [20:33:16]OFD Sender: No OFD packet to send [20:33:21]OFD Sender: No OFD packet to send [20:33:26]OFD Sender: No OFD packet to send [20:33:31]OFD Sender: No OFD packet to send [20:33:36]OFD Sender: No OFD packet to send [20:33:41]OFD Sender: No OFD packet to send [20:33:46]OFD Sender: No OFD packet to send [20:33:51]OFD Sender: No OFD packet to send [20:33:56]OFD Sender: No OFD packet to send [20:34:01]OFD Sender: No OFD packet to send [20:34:06]OFD Sender: No OFD packet to send [20:34:11]OFD Sender: No OFD packet to send [20:34:16]OFD Sender: No OFD packet to send [20:34:21]OFD Sender: No OFD packet to send [20:34:26]OFD Sender: No OFD packet to send [20:34:31]OFD Sender: No OFD packet to send [20:34:36]OFD Sender: No OFD packet to send [20:34:41]OFD Sender: No OFD packet to send [20:34:46]OFD Sender: No OFD packet to send [20:34:51]OFD Sender: No OFD packet to send [20:34:56]OFD Sender: No OFD packet to send [20:35:01]OFD Sender: No OFD packet to send [20:35:06]OFD Sender: No OFD packet to send [20:35:11]OFD Sender: No OFD packet to send [20:35:16]OFD Sender: No OFD packet to send [20:35:21]OFD Sender: No OFD packet to send [20:35:26]OFD Sender: No OFD packet to send [20:35:31]OFD Sender: No OFD packet to send [20:35:36]OFD Sender: No OFD packet to send [20:35:41]OFD Sender: No OFD packet to send [20:35:46]OFD Sender: No OFD packet to send [20:35:51]OFD Sender: No OFD packet to send [20:35:56]OFD Sender: No OFD packet to send [20:36:01]OFD Sender: No OFD packet to send [20:36:06]OFD Sender: No OFD packet to send [20:36:11]OFD Sender: No OFD packet to send [20:36:12]accept exits with 9 [20:36:12]New connection [20:36:12]New thread 3066871140 created [20:36:12]Thread 3067014500 joined [20:36:12]Waiting for new connection... [20:36:12] Sock 9.Parse request [20:36:12]Sock 9.Check first char [20:36:12]Sock 9.First char is OK [20:36:12]request: POST /json_proto HTTP/1.0 [20:36:12]Method: POST [20:36:12]URL: /json_proto [20:36:12]Method is POST - this is cgi request [20:36:12]url: /json_proto [20:36:12]query_string will be loaded in cgi processing [20:36:12]execute_cgi json_proto POST (null) [20:36:12]execute_cgi path=json_proto method=POST [20:36:12]POST find Content-Length [20:36:12]Host: 172.17.39.4:8080 [20:36:12]Content-Length: 781 [20:36:12]Content-Type: application/json [20:36:12] [20:36:12]POST finish read [20:36:12]Found Content-Length = 781 [20:36:12]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)856118", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 43", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.30, "quantity" : 7.550, "sum" : 500.57, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 500.00, "total" : 500.00, "payments": [ { "type": 0, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [20:36:12]execute_script... [20:36: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 : (1)856118", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 43", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.30, "quantity" : 7.550, "sum" : 500.57, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 500.00, "total" : 500.00, "payments": [ { "type": 0, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [20:36:12]POST & json_proto [20:36:12]process_json_proto [20:36:12]json parsed OK: [20:36:12]protocol is kg_v1.0 [20:36:12]action value=close_receipt [20:36:12]process_action close_receipt [20:36:12]cmd_close_receipt [20:36:12]MH_GetDate [20:36:12]Write to MH i2c: F0 00 00 CD 07 C3 [20:36:12]Write i2c OK [20:36:12]MH_I2C_Read... [20:36:12]Read from MH i2c: F0 [20:36:12]MH_I2C_Read... [20:36:12]Read from MH i2c: F0 09 00 [20:36:12]MH_I2C_Read... [20:36:12]Read from MH i2c: F0 09 00 CD 07 00 3D 88 95 66 2D 25 5D 64 9F [20:36:12]GetLastDocTimeStamp 1721074979 [20:36:12]current date 1721075773 [20:36:12]FM_GetShiftState [20:36:12]SAM_PROTO_GetShiftState [20:36:12]wFMCommunicate request_size=4 [20:36:12]MH_SAM_APDU [20:36:12]CAPDU: 80 13 01 00 [20:36:12]Write to MH i2c: E2 08 00 CE 07 80 13 01 00 00 00 00 00 52 [20:36:12]Write i2c OK [20:36:12]MH_I2C_Read... [20:36:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:36:12]Read from MH i2c: E2 [20:36:12]MH_I2C_Read... [20:36:12]Read from MH i2c: E2 0E 00 [20:36:12]MH_I2C_Read... [20:36:12]Read from MH i2c: E2 0E 00 CE 07 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 CB [20:36:12]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [20:36:12]wFMCommunicate OK [20:36:12]SAM_PROTO_GetShiftState done [20:36:12]FM_GetShiftState done [20:36:12]opened in 1721003525 [20:36:12]opened+sec_in_day 1721089925 [20:36:12]quantity*price = 50056 [20:36:12]sum+1 = 50058 [20:36:12]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.57 ИТОГО: 500.00 Внесено: 500.00 СДАЧА: 0.00 НСП 1% : 4.43 НДС 12% : 53.16 Наличными: 500.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 113 15.07.2024 20:36 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57218 ФПД: 81803013508889 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T203613&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57218&fm=81803013508889&tin=02508201610067®Number=0000000000091208&sum=50000 [20:36:13]StoreToDocumentArchive [20:36:13]shift 497 fd 57218 [20:36:13]save to /storage/0497/doc_00057218 [20:36:13]save last doc name /storage/0497/doc_00057218 to /storage/kkm_last_doc_name [20:36:13]save OK [20:36:13]Clear old archive folders... [20:36:13]ProcessDocumentItem done err = 0, tmpTLVsize=251 [20:36:13]tlvbuf is 00868E70 [20:36:13]SAM_PROTO_ClearQueue [20:36:13]wFMCommunicate request_size=4 [20:36:13]MH_SAM_APDU [20:36:13]CAPDU: 80 09 00 00 [20:36:13]Write to MH i2c: E2 08 00 DB 07 80 09 00 00 00 00 00 00 54 [20:36:13]Write i2c OK [20:36:13]MH_I2C_Read... [20:36:13]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:36:13]Read from MH i2c: E2 [20:36:13]MH_I2C_Read... [20:36:13]Read from MH i2c: E2 03 00 [20:36:13]MH_I2C_Read... [20:36:13]Read from MH i2c: E2 03 00 DB 07 00 90 00 56 [20:36:13]RAPDU: 90 00 [20:36:13]wFMCommunicate OK [20:36:13]SAM_PROTO_ClearQueue done [20:36:13]KKMCreateOFDPacket [20:36:13]OFDProtocolAddRootSTLVToBuf [20:36:13]FM_MakeSignedData [20:36:13]FM_MakeSignedData [20:36:13]SAM_PROTO_SignData [20:36:13]wFMCommunicate request_size=4 [20:36:13]MH_SAM_APDU [20:36:13]CAPDU: 80 0D 01 02 [20:36:13]Write to MH i2c: E2 08 00 DC 07 80 0D 01 02 00 00 00 00 5C [20:36:13]Write i2c OK [20:36:13]MH_I2C_Read... [20:36:13]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:36:13]Read from MH i2c: E2 [20:36:13]MH_I2C_Read... [20:36:13]Read from MH i2c: E2 03 00 [20:36:13]MH_I2C_Read... [20:36:13]Read from MH i2c: E2 03 00 DC 07 00 90 00 57 [20:36:13]RAPDU: 90 00 [20:36:13]wFMCommunicate OK [20:36:13]wFMCommunicate request_size=255 [20:36:13]MH_SAM_APDU [20:36:13]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 7E 1D 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 89 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 71 00 00 00 F4 03 04 00 3D 88 95 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 82 DF 00 00 35 04 06 00 4A [20:36:13]Write to MH i2c: E2 02 01 DD 07 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 7E 1D 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 89 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 71 00 00 00 F4 03 04 00 3D 88 95 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 82 DF 00 00 35 04 06 00 4A 00 00 D6 [20:36:13]Write i2c OK [20:36:13]MH_I2C_Read... [20:36:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:36:13]Read from MH i2c: E2 [20:36:13]MH_I2C_Read... [20:36:13]Read from MH i2c: E2 03 00 [20:36:13]MH_I2C_Read... [20:36:13]Read from MH i2c: E2 03 00 DD 07 00 90 00 58 [20:36:13]RAPDU: 90 00 [20:36:13]wFMCommunicate OK [20:36:13]wFMCommunicate request_size=10 [20:36:13]MH_SAM_APDU [20:36:13]CAPDU: 80 0D 02 02 05 66 3F 8F CF 19 [20:36:13]Write to MH i2c: E2 0D 00 DE 07 80 0D 02 02 05 00 66 3F 8F CF 19 00 00 85 [20:36:13]Write i2c OK [20:36:13]MH_I2C_Read... [20:36:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:36:13]Read from MH i2c: E2 [20:36:13]MH_I2C_Read... [20:36:13]Read from MH i2c: E2 03 00 [20:36:13]MH_I2C_Read... [20:36:13]Read from MH i2c: E2 03 00 DE 07 00 90 00 59 [20:36:13]RAPDU: 90 00 [20:36:13]wFMCommunicate OK [20:36:13]wFMCommunicate request_size=4 [20:36:13]MH_SAM_APDU [20:36:13]CAPDU: 80 0D 03 02 [20:36:13]Write to MH i2c: E2 08 00 DF 07 80 0D 03 02 00 00 00 00 61 [20:36:13]Write i2c OK [20:36:13]MH_I2C_Read... [20:36:13]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:36:13]Read from MH i2c: E2 [20:36:13]MH_I2C_Read... [20:36:13]Read from MH i2c: E2 0B 00 [20:36:13]MH_I2C_Read... [20:36:13]Read from MH i2c: E2 0B 00 DF 07 00 25 AA 91 D2 99 26 48 13 90 00 AE [20:36:13]RAPDU: 25 AA 91 D2 99 26 48 13 90 00 [20:36:13]wFMCommunicate OK [20:36:13]SAM_PROTO_SignData done [20:36:13]FM_MakeSignedData done [20:36:13]CreateOFDProtocolMessage [20:36:13]wFMCommunicate request_size=4 [20:36:13]MH_SAM_APDU [20:36:13]CAPDU: 80 11 00 00 [20:36:13]Write to MH i2c: E2 08 00 E0 07 80 11 00 00 00 00 00 00 61 [20:36:13]Write i2c OK [20:36:13]MH_I2C_Read... [20:36:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:36:13]Read from MH i2c: E2 [20:36:13]MH_I2C_Read... [20:36:13]Read from MH i2c: E2 17 00 [20:36:13]MH_I2C_Read... [20:36:13]Read from MH i2c: E2 17 00 E0 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 BB [20:36: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:36:13]wFMCommunicate OK [20:36:13]CreateOFDProtocolMessage done [20:36:13]OFDSenderStorePacket 57218 [20:36:13]StoreOFDPacket docnum=57218 [20:36: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 0F 01 00 00 73 11 07 01 09 74 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 7E 1D 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 89 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 71 00 00 00 F4 03 04 00 3D 88 95 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 82 DF 00 00 35 04 06 00 4A 66 3F 8F CF 19 25 AA 91 D2 99 26 48 13 [20:36:13]CheckFolder [20:36:13]dirname=/storage/ofd_packets [20:36:13]CheckFolder done [20:36:13]ProducePacketName [20:36:13]name=ofd_packets/00057218 [20:36:13]NVStorageSaveData ofd_packets/00057218 [20:36:13]File name is /storage/ofd_packets/00057218 [20:36:13]Write 301 bytes [20:36:13]NVStorageSaveData done [20:36:13]OFDSenderStorePacket done [20:36:13]KKMCreateOFDPacket done [20:36:13]NVStorageSaveData kkm_last_timestamp [20:36:13]File name is /storage/kkm_last_timestamp [20:36:13]Write 4 bytes [20:36:13]NVStorageSaveData done [20:36:13]ExternCall_PrintAddStr [20:36:13]wPrintStart [20:36:13]Write to MH i2c: 01 00 00 E1 07 E8 [20:36:13]Write i2c OK [20:36:13]MH_I2C_Read... [20:36:13]Read from MH i2c: 01 [20:36:13]MH_I2C_Read... [20:36:13]Read from MH i2c: 01 07 00 [20:36:13]MH_I2C_Read... [20:36:13]Read from MH i2c: 01 07 00 E1 07 00 00 00 00 00 FF 0F FD [20:36:13]RasterBufferAndPrint [20:36:13]line Счет N : (1)856118 [20:36:13]line ИНН: 02508201610067 [20:36:13]line Контрольно-Кассовый Чек [20:36:13]line ПРОДАЖА [20:36:13]line ТРК (МРК, ГНК) : 43 [20:36:13]line Товар: 2710124130 [20:36:13]line Аи-92-К-5 [20:36:13]line 7.550 * 66.30 [20:36:13]line = 500.57 [20:36:13]line НДС 12% НСП 1% [20:36:13]line > о реализуемом товаре [20:36:13]line ОКРУГЛЕНИЕ: -0.57 [20:36:13]line ИТОГО: 500.00 [20:36:13]line Внесено: 500.00 [20:36:13]line СДАЧА: 0.00 [20:36:13]line НСП 1% : 4.43 [20:36:13]line НДС 12% : 53.16 [20:36:13]line Наличными: 500.00 [20:36:13]line Безнал.: 0.00 [20:36:13]line Место: АЗС № 132 "Партнер Нефть" [20:36:13]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [20:36:13]line СНО: Общий режим [20:36:13]line Чек 113 15.07.2024 20:36 [20:36:13]line Смена: 497 ФФД: 1.0 [20:36:13]line ЗНМ: 0300000132 [20:36:13]line РНМ: 0000000000091208 [20:36:13]line Версия ККМ: 001 [20:36:13]line ФМ: 0000000000874857 [20:36:13]line ФД: 57218 [20:36:13]line ФПД: 81803013508889 [20:36:13]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T203613&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57218&fm=81803013508889&tin=02508201610067®Number=0000000000091208&sum=50000 [20:36:13]written 0, free lines is 4095 [20:36:13]OFD Sender: Processing packet 57218 [packets to send 38, broken 37] [20:36:13]ProducePacketName [20:36:13]name=ofd_packets/00057218 [20:36:13]OFD Sender: To server: pG, [20:36:13]CommunicateWithHost lk.salyk.kg:30040 [20:36:13]ConnectInit lk.salyk.kg [20:36:13]Connected sock=10 [20:36:13]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 11 07 01 09 74 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 7E 1D 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 89 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 71 00 00 00 F4 03 04 00 3D 88 95 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 82 DF 00 00 35 04 06 00 4A 66 3F 8F CF 19 25 AA 91 D2 99 26 48 13 [20:36: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 54 18 47 00 96 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 82 DF 00 00 F4 03 04 00 8A 2E 95 66 B6 04 01 00 00 1C 13 9D C7 4B AC 18 1A [20:36:14]CommunicateWithHost err = 0 [20:36:14]CheckOFDResponse [20:36:14]1017 (14) - 77093643461234 [20:36:14]1041 (16) - 0000000000874857 [20:36:14]1040 (4) - 57218 [20:36:14]1012 (4) - 15.07.2024 14:13 [20:36:14]1206 (1) - 0 [20:36:14]OFD Sender: Remove packet 57218 [20:36:14]ProducePacketName [20:36:14]name=ofd_packets/00057218 [20:36:14]NVStorageDeleteData [20:36:14]Write to MH i2c: 01 00 00 0C 08 14 [20:36:14]Write i2c OK [20:36:14]MH_I2C_Read... [20:36:14]Read from MH i2c: 01 [20:36:14]MH_I2C_Read... [20:36:14]Read from MH i2c: 01 07 00 [20:36:14]MH_I2C_Read... [20:36:14]Read from MH i2c: 01 07 00 0C 08 00 00 00 00 00 E1 0C 08 [20:36:14]RasterBufferAndPrint [20:36:14]line [20:36:14]line [20:36:14]line [20:36:14]line [20:36:14]line [20:36:14]written 0, free lines is 3303 [20:36:14]MH_Cut [20:36:14]Write to MH i2c: D1 01 00 13 08 01 ED [20:36:14]Write i2c OK [20:36:14]MH_I2C_Read... [20:36:14]Read from MH i2c: D1 [20:36:14]MH_I2C_Read... [20:36:14]Read from MH i2c: D1 01 00 [20:36:14]MH_I2C_Read... [20:36:14]Read from MH i2c: D1 01 00 13 08 00 EC [20:36:14]Write to MH i2c: 01 00 00 14 08 1C [20:36:14]Write i2c OK [20:36:14]MH_I2C_Read... [20:36:14]OFD Sender: No OFD packet to send [20:36:14]*** Cut start [20:36:14]*** Partial cut [20:36:14]*** CUTSNS_PIN = 1 [20:36:15]*** CUTSNS_PIN = 0 [20:36:15]*** Brake cut motor [20:36:15]Read from MH i2c: 01 [20:36:15]MH_I2C_Read... [20:36:15]*** Stop cut motor [20:36:15]*** Cut end [20:36:15]Read from MH i2c: 01 07 00 [20:36:15]MH_I2C_Read... [20:36:15]Read from MH i2c: 01 07 00 14 08 00 00 00 00 00 FF 0F 31 [20:36:15]process_action close_receipt done [20:36:15]requested_data is exist [20:36:15]produce_requested_data [20:36:15]requested_item fm.sn is exist - process it [20:36:15]wFMCommunicate request_size=4 [20:36:15]MH_SAM_APDU [20:36:15]CAPDU: 80 11 00 00 [20:36:15]Write to MH i2c: E2 08 00 15 08 80 11 00 00 00 00 00 00 97 [20:36:15]Write i2c OK [20:36:15]MH_I2C_Read... [20:36:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:36:15]Read from MH i2c: E2 [20:36:15]MH_I2C_Read... [20:36:15]Read from MH i2c: E2 17 00 [20:36:15]MH_I2C_Read... [20:36:15]Read from MH i2c: E2 17 00 15 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 F1 [20:36: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:36:15]wFMCommunicate OK [20:36:15]requested_item fd.num is exist - process it [20:36:15]SAM_PROTO_GetFieldsCounters [20:36:15]wFMCommunicate request_size=4 [20:36:15]MH_SAM_APDU [20:36:15]CAPDU: 80 13 00 00 [20:36:15]Write to MH i2c: E2 08 00 16 08 80 13 00 00 00 00 00 00 9A [20:36:15]Write i2c OK [20:36:15]MH_I2C_Read... [20:36:15]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:36:15]Read from MH i2c: E2 [20:36:15]MH_I2C_Read... [20:36:15]Read from MH i2c: E2 62 00 [20:36:15]MH_I2C_Read... [20:36:15]Read from MH i2c: E2 62 00 16 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 82 DF 00 00 0E 04 04 00 F1 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 63 [20:36: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 82 DF 00 00 0E 04 04 00 F1 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 [20:36:15]wFMCommunicate OK [20:36:15]SAM_PROTO_GetFieldsCounters done [20:36:15]requested_item shift.num is exist - process it [20:36:15]requested_item shift.opened is exist - process it [20:36:15]req_shift_opened [20:36:15]FM_GetShiftState [20:36:15]SAM_PROTO_GetShiftState [20:36:15]wFMCommunicate request_size=4 [20:36:15]MH_SAM_APDU [20:36:15]CAPDU: 80 13 01 00 [20:36:15]Write to MH i2c: E2 08 00 17 08 80 13 01 00 00 00 00 00 9C [20:36:15]Write i2c OK [20:36:15]MH_I2C_Read... [20:36:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:36:15]Read from MH i2c: E2 [20:36:15]MH_I2C_Read... [20:36:15]Read from MH i2c: E2 0E 00 [20:36:15]MH_I2C_Read... [20:36:15]Read from MH i2c: E2 0E 00 17 08 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 15 [20:36:15]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [20:36:15]wFMCommunicate OK [20:36:15]SAM_PROTO_GetShiftState done [20:36:15]FM_GetShiftState done [20:36:15]req_shift_opened done [20:36:15]requested_item shift.open_date is exist - process it [20:36:15]req_shift_open_date [20:36:15]req_shift_open_date done [20:36:15]requested_item shift.sale.total is exist - process it [20:36:15]SAM_PROTO_GetShiftData [20:36:15]wFMCommunicate request_size=4 [20:36:15]MH_SAM_APDU [20:36:15]CAPDU: 80 13 02 00 [20:36:15]Write to MH i2c: E2 08 00 18 08 80 13 02 00 00 00 00 00 9E [20:36:15]Write i2c OK [20:36:15]MH_I2C_Read... [20:36:16]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [20:36:16]Read from MH i2c: E2 [20:36:16]MH_I2C_Read... [20:36:16]Read from MH i2c: E2 FD 00 [20:36:16]MH_I2C_Read... [20:36:16]Read from MH i2c: E2 FD 00 18 08 00 B6 04 AA 04 B2 04 6E 04 04 00 71 00 00 00 69 04 9B 00 6F 04 04 00 70 00 00 00 B1 04 03 00 5D 34 33 70 04 03 00 40 11 2C 72 04 03 00 1D 23 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 31 70 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 FE 73 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 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 80 [20:36:16]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 71 00 00 00 69 04 9B 00 6F 04 04 00 70 00 00 00 B1 04 03 00 5D 34 33 70 04 03 00 40 11 2C 72 04 03 00 1D 23 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 31 70 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 FE 73 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 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 [20:36:16]wFMCommunicate OK [20:36:16]wFMCommunicate request_size=4 [20:36:16]MH_SAM_APDU [20:36:16]CAPDU: 80 17 00 00 [20:36:16]Write to MH i2c: E2 08 00 19 08 80 17 00 00 00 00 00 00 A1 [20:36:16]Write i2c OK [20:36:16]MH_I2C_Read... [20:36:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:36:16]Read from MH i2c: E2 [20:36:16]MH_I2C_Read... [20:36:16]Read from MH i2c: E2 FD 00 [20:36:16]MH_I2C_Read... [20:36:16]Read from MH i2c: E2 FD 00 19 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 D6 [20:36:16]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 [20:36:16]wFMCommunicate OK [20:36:16]wFMCommunicate request_size=4 [20:36:16]MH_SAM_APDU [20:36:16]CAPDU: 80 17 00 00 [20:36:16]Write to MH i2c: E2 08 00 1A 08 80 17 00 00 00 00 00 00 A2 [20:36:16]Write i2c OK [20:36:16]MH_I2C_Read... [20:36:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:36:16]Read from MH i2c: E2 [20:36:16]MH_I2C_Read... [20:36:16]Read from MH i2c: E2 FD 00 [20:36:16]MH_I2C_Read... [20:36:16]Read from MH i2c: E2 FD 00 1A 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 62 [20:36:16]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 [20:36:16]wFMCommunicate OK [20:36:16]wFMCommunicate request_size=4 [20:36:16]MH_SAM_APDU [20:36:16]CAPDU: 80 17 00 00 [20:36:16]Write to MH i2c: E2 08 00 1B 08 80 17 00 00 00 00 00 00 A3 [20:36:16]Write i2c OK [20:36:16]MH_I2C_Read... [20:36:17]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:36:17]Read from MH i2c: E2 [20:36:17]MH_I2C_Read... [20:36:17]Read from MH i2c: E2 FD 00 [20:36:17]MH_I2C_Read... [20:36:17]Read from MH i2c: E2 FD 00 1B 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 12 [20:36:17]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 [20:36:17]wFMCommunicate OK [20:36:17]wFMCommunicate request_size=4 [20:36:17]MH_SAM_APDU [20:36:17]CAPDU: 80 17 00 00 [20:36:17]Write to MH i2c: E2 08 00 1C 08 80 17 00 00 00 00 00 00 A4 [20:36:17]Write i2c OK [20:36:17]MH_I2C_Read... [20:36:17]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [20:36:17]Read from MH i2c: E2 [20:36:17]MH_I2C_Read... [20:36:17]Read from MH i2c: E2 D3 00 [20:36:17]MH_I2C_Read... [20:36:17]Read from MH i2c: E2 D3 00 1C 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 91 [20:36:17]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 [20:36:17]wFMCommunicate OK [20:36:17]SAM_PROTO_GetShiftData done [20:36:17]requested_item shift.sale.total_cash is exist - process it [20:36:17]requested_item shift.sale_refund.total is exist - process it [20:36:17]requested_item shift.sale_refund.total_cash is exist - process it [20:36:17]produce_requested_data done [20:36:17]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57218,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":33557.41,"shift.sale.total_cash":28880.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [20:36:17]process_action_free close_receipt [20:36:17]json_value_free [20:36:17]json_value_free done [20:36:17]process_json_proto returns [20:36:17]Send response to host [20:36:17]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57218,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":33557.41,"shift.sale.total_cash":28880.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [20:36:17]free response buf [20:36:17]execute_script done [20:36:17]execute_script returns [20:36:17]free content buf [20:36:17]Sock 9.Close socket [20:36:17]Sock 9.Thread stoped [20:36:19]OFD Sender: No OFD packet to send [20:36:24]OFD Sender: No OFD packet to send [20:36:29]OFD Sender: No OFD packet to send [20:36:34]OFD Sender: No OFD packet to send [20:36:39]OFD Sender: No OFD packet to send [20:36:44]OFD Sender: No OFD packet to send [20:36:49]OFD Sender: No OFD packet to send [20:36:54]OFD Sender: No OFD packet to send [20:36:59]OFD Sender: No OFD packet to send [20:37:04]OFD Sender: No OFD packet to send [20:37:09]OFD Sender: No OFD packet to send [20:37:14]OFD Sender: No OFD packet to send [20:37:19]OFD Sender: No OFD packet to send [20:37:24]OFD Sender: No OFD packet to send [20:37:29]OFD Sender: No OFD packet to send [20:37:34]OFD Sender: No OFD packet to send [20:37:39]OFD Sender: No OFD packet to send [20:37:44]OFD Sender: No OFD packet to send [20:37:49]OFD Sender: No OFD packet to send [20:37:54]OFD Sender: No OFD packet to send [20:37:59]OFD Sender: No OFD packet to send [20:38:04]OFD Sender: No OFD packet to send [20:38:09]OFD Sender: No OFD packet to send [20:38:14]OFD Sender: No OFD packet to send [20:38:19]OFD Sender: No OFD packet to send [20:38:24]OFD Sender: No OFD packet to send [20:38:29]OFD Sender: No OFD packet to send [20:38:34]OFD Sender: No OFD packet to send [20:38:39]OFD Sender: No OFD packet to send [20:38:44]OFD Sender: No OFD packet to send [20:38:49]OFD Sender: No OFD packet to send [20:38:54]OFD Sender: No OFD packet to send [20:38:59]OFD Sender: No OFD packet to send [20:39:04]OFD Sender: No OFD packet to send [20:39:09]OFD Sender: No OFD packet to send [20:39:14]OFD Sender: No OFD packet to send [20:39:19]OFD Sender: No OFD packet to send [20:39:24]OFD Sender: No OFD packet to send [20:39:29]OFD Sender: No OFD packet to send [20:39:34]OFD Sender: No OFD packet to send [20:39:39]OFD Sender: No OFD packet to send [20:39:44]OFD Sender: No OFD packet to send [20:39:49]OFD Sender: No OFD packet to send [20:39:54]OFD Sender: No OFD packet to send [20:39:59]OFD Sender: No OFD packet to send [20:40:04]OFD Sender: No OFD packet to send [20:40:09]OFD Sender: No OFD packet to send [20:40:14]OFD Sender: No OFD packet to send [20:40:19]OFD Sender: No OFD packet to send [20:40:24]OFD Sender: No OFD packet to send [20:40:29]OFD Sender: No OFD packet to send [20:40:34]OFD Sender: No OFD packet to send [20:40:39]OFD Sender: No OFD packet to send [20:40:44]OFD Sender: No OFD packet to send [20:40:49]OFD Sender: No OFD packet to send [20:40:54]OFD Sender: No OFD packet to send [20:40:59]OFD Sender: No OFD packet to send [20:41:04]OFD Sender: No OFD packet to send [20:41:09]OFD Sender: No OFD packet to send [20:41:14]OFD Sender: No OFD packet to send [20:41:19]OFD Sender: No OFD packet to send [20:41:24]OFD Sender: No OFD packet to send [20:41:29]OFD Sender: No OFD packet to send [20:41:34]OFD Sender: No OFD packet to send [20:41:39]OFD Sender: No OFD packet to send [20:41:44]OFD Sender: No OFD packet to send [20:41:49]OFD Sender: No OFD packet to send [20:41:54]OFD Sender: No OFD packet to send [20:41:59]OFD Sender: No OFD packet to send [20:42:04]OFD Sender: No OFD packet to send [20:42:09]OFD Sender: No OFD packet to send [20:42:14]OFD Sender: No OFD packet to send [20:42:19]OFD Sender: No OFD packet to send [20:42:24]OFD Sender: No OFD packet to send [20:42:29]OFD Sender: No OFD packet to send [20:42:34]OFD Sender: No OFD packet to send [20:42:39]OFD Sender: No OFD packet to send [20:42:44]OFD Sender: No OFD packet to send [20:42:49]OFD Sender: No OFD packet to send [20:42:54]OFD Sender: No OFD packet to send [20:42:57]accept exits with 7 [20:42:57]New connection [20:42:57]New thread 3067014500 created [20:42:57]Thread 3066871140 joined [20:42:57]Waiting for new connection... [20:42:57] Sock 7.Parse request [20:42:57]Sock 7.Check first char [20:42:57]Sock 7.First char is OK [20:42:57]request: POST /json_proto HTTP/1.0 [20:42:57]Method: POST [20:42:57]URL: /json_proto [20:42:57]Method is POST - this is cgi request [20:42:57]url: /json_proto [20:42:57]query_string will be loaded in cgi processing [20:42:57]execute_cgi json_proto POST (null) [20:42:57]execute_cgi path=json_proto method=POST [20:42:57]POST find Content-Length [20:42:57]Host: 172.17.39.4:8080 [20:42:57]Content-Length: 740 [20:42:57]Content-Type: application/json [20:42:57] [20:42:57]POST finish read [20:42:57]Found Content-Length = 740 [20:42:57]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129661", "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" ] } } [20:42:57]execute_script... [20:42: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)129661", "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" ] } } [20:42:57]POST & json_proto [20:42:57]process_json_proto [20:42:57]json parsed OK: [20:42:57]protocol is kg_v1.0 [20:42:57]action value=close_receipt [20:42:57]process_action close_receipt [20:42:57]cmd_close_receipt [20:42:57]MH_GetDate [20:42:57]Write to MH i2c: F0 00 00 1D 08 14 [20:42:57]Write i2c OK [20:42:57]MH_I2C_Read... [20:42:57]Read from MH i2c: F0 [20:42:57]MH_I2C_Read... [20:42:57]Read from MH i2c: F0 09 00 [20:42:57]MH_I2C_Read... [20:42:57]Read from MH i2c: F0 09 00 1D 08 00 D3 89 95 66 2D 25 5D 64 87 [20:42:57]GetLastDocTimeStamp 1721075773 [20:42:57]current date 1721076179 [20:42:57]FM_GetShiftState [20:42:57]SAM_PROTO_GetShiftState [20:42:57]wFMCommunicate request_size=4 [20:42:57]MH_SAM_APDU [20:42:57]CAPDU: 80 13 01 00 [20:42:57]Write to MH i2c: E2 08 00 1E 08 80 13 01 00 00 00 00 00 A3 [20:42:57]Write i2c OK [20:42:57]MH_I2C_Read... [20:42:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:42:57]Read from MH i2c: E2 [20:42:57]MH_I2C_Read... [20:42:57]Read from MH i2c: E2 0E 00 [20:42:57]MH_I2C_Read... [20:42:57]Read from MH i2c: E2 0E 00 1E 08 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 1C [20:42:57]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [20:42:57]wFMCommunicate OK [20:42:57]SAM_PROTO_GetShiftState done [20:42:57]FM_GetShiftState done [20:42:57]opened in 1721003525 [20:42:57]opened+sec_in_day 1721089925 [20:42:57]quantity*price = 32500 [20:42:57]sum+1 = 32501 [20:42:57]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 СНО: Общий режим Чек 114 15.07.2024 20:42 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57219 ФПД: 142940801298197 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T204259&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57219&fm=142940801298197&tin=02508201610067®Number=0000000000091208&sum=32500 0 [20:42:58]StoreToDocumentArchive [20:42:58]shift 497 fd 57219 [20:42:58]save to /storage/0497/doc_00057219 [20:42:58]save last doc name /storage/0497/doc_00057219 to /storage/kkm_last_doc_name [20:42:58]save OK [20:42:58]Clear old archive folders... [20:42:58]ProcessDocumentItem done err = 0, tmpTLVsize=272 [20:42:58]tlvbuf is 00874770 [20:42:58]SAM_PROTO_ClearQueue [20:42:58]wFMCommunicate request_size=4 [20:42:58]MH_SAM_APDU [20:42:58]CAPDU: 80 09 00 00 [20:42:58]Write to MH i2c: E2 08 00 2B 08 80 09 00 00 00 00 00 00 A5 [20:42:58]Write i2c OK [20:42:58]MH_I2C_Read... [20:42:58]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:42:58]Read from MH i2c: E2 [20:42:58]MH_I2C_Read... [20:42:58]Read from MH i2c: E2 03 00 [20:42:58]MH_I2C_Read... [20:42:58]Read from MH i2c: E2 03 00 2B 08 00 90 00 A7 [20:42:58]RAPDU: 90 00 [20:42:58]wFMCommunicate OK [20:42:58]SAM_PROTO_ClearQueue done [20:42:58]KKMCreateOFDPacket [20:42:58]OFDProtocolAddRootSTLVToBuf [20:42:58]FM_MakeSignedData [20:42:58]FM_MakeSignedData [20:42:58]SAM_PROTO_SignData [20:42:58]wFMCommunicate request_size=4 [20:42:58]MH_SAM_APDU [20:42:58]CAPDU: 80 0D 01 02 [20:42:58]Write to MH i2c: E2 08 00 2C 08 80 0D 01 02 00 00 00 00 AD [20:42:59]Write i2c OK [20:42:59]MH_I2C_Read... [20:42:59]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:42:59]Read from MH i2c: E2 [20:42:59]MH_I2C_Read... [20:42:59]Read from MH i2c: E2 03 00 [20:42:59]MH_I2C_Read... [20:42:59]Read from MH i2c: E2 03 00 2C 08 00 90 00 A8 [20:42:59]RAPDU: 90 00 [20:42:59]wFMCommunicate OK [20:42:59]wFMCommunicate request_size=255 [20:42:59]MH_SAM_APDU [20:42:59]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 72 00 00 00 F4 03 04 00 D3 89 95 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 [20:42:59]Write to MH i2c: E2 02 01 2D 08 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 72 00 00 00 F4 03 04 00 D3 89 95 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 D0 [20:42:59]Write i2c OK [20:42:59]MH_I2C_Read... [20:42:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:42:59]Read from MH i2c: E2 [20:42:59]MH_I2C_Read... [20:42:59]Read from MH i2c: E2 03 00 [20:42:59]MH_I2C_Read... [20:42:59]Read from MH i2c: E2 03 00 2D 08 00 90 00 A9 [20:42:59]RAPDU: 90 00 [20:42:59]wFMCommunicate OK [20:42:59]wFMCommunicate request_size=31 [20:42:59]MH_SAM_APDU [20:42:59]CAPDU: 80 0D 02 02 1A 30 30 38 37 34 38 35 37 10 04 04 00 83 DF 00 00 35 04 06 00 82 00 FF AF 6F 15 [20:42:59]Write to MH i2c: E2 22 00 2E 08 80 0D 02 02 1A 00 30 30 38 37 34 38 35 37 10 04 04 00 83 DF 00 00 35 04 06 00 82 00 FF AF 6F 15 00 00 F8 [20:42:59]Write i2c OK [20:42:59]MH_I2C_Read... [20:42:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:42:59]Read from MH i2c: E2 [20:42:59]MH_I2C_Read... [20:42:59]Read from MH i2c: E2 03 00 [20:42:59]MH_I2C_Read... [20:42:59]Read from MH i2c: E2 03 00 2E 08 00 90 00 AA [20:42:59]RAPDU: 90 00 [20:42:59]wFMCommunicate OK [20:42:59]wFMCommunicate request_size=4 [20:42:59]MH_SAM_APDU [20:42:59]CAPDU: 80 0D 03 02 [20:42:59]Write to MH i2c: E2 08 00 2F 08 80 0D 03 02 00 00 00 00 B2 [20:42:59]Write i2c OK [20:42:59]MH_I2C_Read... [20:42:59]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:42:59]Read from MH i2c: E2 [20:42:59]MH_I2C_Read... [20:42:59]Read from MH i2c: E2 0B 00 [20:42:59]MH_I2C_Read... [20:42:59]Read from MH i2c: E2 0B 00 2F 08 00 90 E8 51 C7 5D 36 24 3D 90 00 37 [20:42:59]RAPDU: 90 E8 51 C7 5D 36 24 3D 90 00 [20:42:59]wFMCommunicate OK [20:42:59]SAM_PROTO_SignData done [20:42:59]FM_MakeSignedData done [20:42:59]CreateOFDProtocolMessage [20:42:59]wFMCommunicate request_size=4 [20:42:59]MH_SAM_APDU [20:42:59]CAPDU: 80 11 00 00 [20:42:59]Write to MH i2c: E2 08 00 30 08 80 11 00 00 00 00 00 00 B2 [20:42:59]Write i2c OK [20:42:59]MH_I2C_Read... [20:42:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:42:59]Read from MH i2c: E2 [20:42:59]MH_I2C_Read... [20:42:59]Read from MH i2c: E2 17 00 [20:42:59]MH_I2C_Read... [20:42:59]Read from MH i2c: E2 17 00 30 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 0C [20:42:59]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:59]wFMCommunicate OK [20:42:59]CreateOFDProtocolMessage done [20:42:59]OFDSenderStorePacket 57219 [20:42:59]StoreOFDPacket docnum=57219 [20:42: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 24 01 00 00 7F 5A 1C 01 4F DF 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 72 00 00 00 F4 03 04 00 D3 89 95 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 83 DF 00 00 35 04 06 00 82 00 FF AF 6F 15 90 E8 51 C7 5D 36 24 3D [20:42:59]CheckFolder [20:42:59]dirname=/storage/ofd_packets [20:42:59]CheckFolder done [20:42:59]ProducePacketName [20:42:59]name=ofd_packets/00057219 [20:42:59]NVStorageSaveData ofd_packets/00057219 [20:42:59]File name is /storage/ofd_packets/00057219 [20:42:59]Write 322 bytes [20:42:59]NVStorageSaveData done [20:42:59]OFDSenderStorePacket done [20:42:59]KKMCreateOFDPacket done [20:42:59]NVStorageSaveData kkm_last_timestamp [20:42:59]File name is /storage/kkm_last_timestamp [20:42:59]Write 4 bytes [20:42:59]NVStorageSaveData done [20:42:59]ExternCall_PrintAddStr [20:42:59]wPrintStart [20:42:59]Write to MH i2c: 01 00 00 31 08 39 [20:42:59]Write i2c OK [20:42:59]MH_I2C_Read... [20:42:59]Read from MH i2c: 01 [20:42:59]MH_I2C_Read... [20:42:59]Read from MH i2c: 01 07 00 [20:42:59]MH_I2C_Read... [20:42:59]Read from MH i2c: 01 07 00 31 08 00 00 00 00 00 FF 0F 4E [20:42:59]RasterBufferAndPrint [20:42:59]line Счет N : (3)129661 [20:42:59]line ИНН: 02508201610067 [20:42:59]line Контрольно-Кассовый Чек [20:42:59]line ПРОДАЖА [20:42:59]line Товар: 4700001610043 [20:42:59]line Пиво Арпа 1,5л ПЭТ [20:42:59]line 1.000 * 325.00 [20:42:59]line = 325.00 [20:42:59]line НДС 12% НСП 1% [20:42:59]line > о реализуемом товаре [20:42:59]line ИТОГО: 325.00 [20:42:59]line НСП 1% : 2.88 [20:42:59]line НДС 12% : 34.51 [20:42:59]line Наличными: 325.00 [20:42:59]line Безнал.: 0.00 [20:42:59]line Место: АЗС № 132 "Партнер Нефть" [20:42:59]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [20:42:59]line СНО: Общий режим [20:42:59]line Чек 114 15.07.2024 20:42 [20:42:59]line Смена: 497 ФФД: 1.0 [20:42:59]line ЗНМ: 0300000132 [20:42:59]line РНМ: 0000000000091208 [20:42:59]line Версия ККМ: 001 [20:42:59]line ФМ: 0000000000874857 [20:42:59]line ФД: 57219 [20:42:59]line ФПД: 142940801298197 [20:42:59]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T204259&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57219&fm=142940801298197&tin=02508201610067®Number=0000000000091208&sum=32500 [20:42:59]line 0 [20:42:59]written 0, free lines is 4095 [20:42:59]OFD Sender: Processing packet 57219 [packets to send 38, broken 37] [20:42:59]ProducePacketName [20:42:59]name=ofd_packets/00057219 [20:42:59]OFD Sender: To server: pG, [20:42:59]CommunicateWithHost lk.salyk.kg:30040 [20:42:59]ConnectInit lk.salyk.kg [20:42:59]Write to MH i2c: 01 00 00 59 08 61 [20:42:59]Write i2c OK [20:42:59]MH_I2C_Read... [20:42:59]Read from MH i2c: 01 [20:42:59]MH_I2C_Read... [20:42:59]Read from MH i2c: 01 07 00 [20:42:59]MH_I2C_Read... [20:42:59]Read from MH i2c: 01 07 00 59 08 00 00 00 00 00 01 0D 76 [20:42:59]RasterBufferAndPrint [20:42:59]line [20:42:59]line [20:42:59]line [20:42:59]line [20:42:59]line [20:42:59]written 0, free lines is 3336 [20:42:59]MH_Cut [20:42:59]Write to MH i2c: D1 01 00 60 08 01 3A [20:42:59]Write i2c OK [20:42:59]MH_I2C_Read... [20:42:59]Read from MH i2c: D1 [20:42:59]MH_I2C_Read... [20:42:59]Read from MH i2c: D1 01 00 [20:42:59]MH_I2C_Read... [20:42:59]Read from MH i2c: D1 01 00 60 08 00 39 [20:42:59]Write to MH i2c: 01 00 00 61 08 69 [20:42:59]Write i2c OK [20:42:59]MH_I2C_Read... [20:42:59]Connected sock=10 [20:42: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 24 01 00 00 7F 5A 1C 01 4F DF 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 72 00 00 00 F4 03 04 00 D3 89 95 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 83 DF 00 00 35 04 06 00 82 00 FF AF 6F 15 90 E8 51 C7 5D 36 24 3D [20:43: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 BF 65 47 00 4A A3 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 83 DF 00 00 F4 03 04 00 20 30 95 66 B6 04 01 00 00 B8 81 8A BC F7 4F FE F9 [20:43:00]CommunicateWithHost err = 0 [20:43:00]CheckOFDResponse [20:43:00]1017 (14) - 77093643461234 [20:43:00]1041 (16) - 0000000000874857 [20:43:00]1040 (4) - 57219 [20:43:00]1012 (4) - 15.07.2024 14:20 [20:43:00]1206 (1) - 0 [20:43:00]OFD Sender: Remove packet 57219 [20:43:00]ProducePacketName [20:43:00]name=ofd_packets/00057219 [20:43:00]NVStorageDeleteData [20:43:00]*** Cut start [20:43:00]*** Partial cut [20:43:00]*** CUTSNS_PIN = 1 [20:43:00]OFD Sender: No OFD packet to send [20:43:00]*** CUTSNS_PIN = 0 [20:43:00]*** Brake cut motor [20:43:01]Read from MH i2c: 01 [20:43:01]MH_I2C_Read... [20:43:01]*** Stop cut motor [20:43:01]*** Cut end [20:43:01]Read from MH i2c: 01 07 00 [20:43:01]MH_I2C_Read... [20:43:01]Read from MH i2c: 01 07 00 61 08 00 00 00 00 00 FF 0F 7E [20:43:01]process_action close_receipt done [20:43:01]requested_data is exist [20:43:01]produce_requested_data [20:43:01]requested_item fm.sn is exist - process it [20:43:01]wFMCommunicate request_size=4 [20:43:01]MH_SAM_APDU [20:43:01]CAPDU: 80 11 00 00 [20:43:01]Write to MH i2c: E2 08 00 62 08 80 11 00 00 00 00 00 00 E4 [20:43:01]Write i2c OK [20:43:01]MH_I2C_Read... [20:43:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:43:01]Read from MH i2c: E2 [20:43:01]MH_I2C_Read... [20:43:01]Read from MH i2c: E2 17 00 [20:43:01]MH_I2C_Read... [20:43:01]Read from MH i2c: E2 17 00 62 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 3E [20:43:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [20:43:01]wFMCommunicate OK [20:43:01]requested_item fd.num is exist - process it [20:43:01]SAM_PROTO_GetFieldsCounters [20:43:01]wFMCommunicate request_size=4 [20:43:01]MH_SAM_APDU [20:43:01]CAPDU: 80 13 00 00 [20:43:01]Write to MH i2c: E2 08 00 63 08 80 13 00 00 00 00 00 00 E7 [20:43:01]Write i2c OK [20:43:01]MH_I2C_Read... [20:43:01]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:43:01]Read from MH i2c: E2 [20:43:01]MH_I2C_Read... [20:43:01]Read from MH i2c: E2 62 00 [20:43:01]MH_I2C_Read... [20:43:01]Read from MH i2c: E2 62 00 63 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 83 DF 00 00 0E 04 04 00 F1 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 B4 [20:43: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 83 DF 00 00 0E 04 04 00 F1 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 [20:43:01]wFMCommunicate OK [20:43:01]SAM_PROTO_GetFieldsCounters done [20:43:01]requested_item shift.num is exist - process it [20:43:01]requested_item shift.opened is exist - process it [20:43:01]req_shift_opened [20:43:01]FM_GetShiftState [20:43:01]SAM_PROTO_GetShiftState [20:43:01]wFMCommunicate request_size=4 [20:43:01]MH_SAM_APDU [20:43:01]CAPDU: 80 13 01 00 [20:43:01]Write to MH i2c: E2 08 00 64 08 80 13 01 00 00 00 00 00 E9 [20:43:01]Write i2c OK [20:43:01]MH_I2C_Read... [20:43:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:43:01]Read from MH i2c: E2 [20:43:01]MH_I2C_Read... [20:43:01]Read from MH i2c: E2 0E 00 [20:43:01]MH_I2C_Read... [20:43:01]Read from MH i2c: E2 0E 00 64 08 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 62 [20:43:01]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [20:43:01]wFMCommunicate OK [20:43:01]SAM_PROTO_GetShiftState done [20:43:01]FM_GetShiftState done [20:43:01]req_shift_opened done [20:43:01]requested_item shift.open_date is exist - process it [20:43:01]req_shift_open_date [20:43:01]req_shift_open_date done [20:43:01]requested_item shift.sale.total is exist - process it [20:43:01]SAM_PROTO_GetShiftData [20:43:01]wFMCommunicate request_size=4 [20:43:01]MH_SAM_APDU [20:43:01]CAPDU: 80 13 02 00 [20:43:01]Write to MH i2c: E2 08 00 65 08 80 13 02 00 00 00 00 00 EB [20:43:01]Write i2c OK [20:43:01]MH_I2C_Read... [20:43:01]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [20:43:01]Read from MH i2c: E2 [20:43:01]MH_I2C_Read... [20:43:01]Read from MH i2c: E2 FD 00 [20:43:01]MH_I2C_Read... [20:43:01]Read from MH i2c: E2 FD 00 65 08 00 B6 04 AA 04 B2 04 6E 04 04 00 72 00 00 00 69 04 9B 00 6F 04 04 00 71 00 00 00 B1 04 03 00 51 B3 33 70 04 03 00 34 90 2C 72 04 03 00 1D 23 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 AC 7D 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 1E 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 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 5F [20:43:01]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 72 00 00 00 69 04 9B 00 6F 04 04 00 71 00 00 00 B1 04 03 00 51 B3 33 70 04 03 00 34 90 2C 72 04 03 00 1D 23 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 AC 7D 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 1E 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 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 [20:43:01]wFMCommunicate OK [20:43:01]wFMCommunicate request_size=4 [20:43:01]MH_SAM_APDU [20:43:01]CAPDU: 80 17 00 00 [20:43:01]Write to MH i2c: E2 08 00 66 08 80 17 00 00 00 00 00 00 EE [20:43:01]Write i2c OK [20:43:01]MH_I2C_Read... [20:43:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:43:02]Read from MH i2c: E2 [20:43:02]MH_I2C_Read... [20:43:02]Read from MH i2c: E2 FD 00 [20:43:02]MH_I2C_Read... [20:43:02]Read from MH i2c: E2 FD 00 66 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 23 [20:43:02]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 [20:43:02]wFMCommunicate OK [20:43:02]wFMCommunicate request_size=4 [20:43:02]MH_SAM_APDU [20:43:02]CAPDU: 80 17 00 00 [20:43:02]Write to MH i2c: E2 08 00 67 08 80 17 00 00 00 00 00 00 EF [20:43:02]Write i2c OK [20:43:02]MH_I2C_Read... [20:43:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:43:02]Read from MH i2c: E2 [20:43:02]MH_I2C_Read... [20:43:02]Read from MH i2c: E2 FD 00 [20:43:02]MH_I2C_Read... [20:43:02]Read from MH i2c: E2 FD 00 67 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 AF [20:43:02]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 [20:43:02]wFMCommunicate OK [20:43:02]wFMCommunicate request_size=4 [20:43:02]MH_SAM_APDU [20:43:02]CAPDU: 80 17 00 00 [20:43:02]Write to MH i2c: E2 08 00 68 08 80 17 00 00 00 00 00 00 F0 [20:43:02]Write i2c OK [20:43:02]MH_I2C_Read... [20:43:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:43:02]Read from MH i2c: E2 [20:43:02]MH_I2C_Read... [20:43:02]Read from MH i2c: E2 FD 00 [20:43:02]MH_I2C_Read... [20:43:02]Read from MH i2c: E2 FD 00 68 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 5F [20:43:02]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 [20:43:02]wFMCommunicate OK [20:43:02]wFMCommunicate request_size=4 [20:43:02]MH_SAM_APDU [20:43:02]CAPDU: 80 17 00 00 [20:43:02]Write to MH i2c: E2 08 00 69 08 80 17 00 00 00 00 00 00 F1 [20:43:02]Write i2c OK [20:43:02]MH_I2C_Read... [20:43:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [20:43:03]Read from MH i2c: E2 [20:43:03]MH_I2C_Read... [20:43:03]Read from MH i2c: E2 D3 00 [20:43:03]MH_I2C_Read... [20:43:03]Read from MH i2c: E2 D3 00 69 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 DE [20:43:03]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 [20:43:03]wFMCommunicate OK [20:43:03]SAM_PROTO_GetShiftData done [20:43:03]requested_item shift.sale.total_cash is exist - process it [20:43:03]requested_item shift.sale_refund.total is exist - process it [20:43:03]requested_item shift.sale_refund.total_cash is exist - process it [20:43:03]produce_requested_data done [20:43:03]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57219,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":33882.41,"shift.sale.total_cash":29205.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [20:43:03]process_action_free close_receipt [20:43:03]json_value_free [20:43:03]json_value_free done [20:43:03]process_json_proto returns [20:43:03]Send response to host [20:43:03]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57219,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":33882.41,"shift.sale.total_cash":29205.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [20:43:03]free response buf [20:43:03]execute_script done [20:43:03]execute_script returns [20:43:03]free content buf [20:43:03]Sock 7.Close socket [20:43:03]Sock 7.Thread stoped [20:43:05]OFD Sender: No OFD packet to send [20:43:10]OFD Sender: No OFD packet to send [20:43:15]OFD Sender: No OFD packet to send [20:43:20]OFD Sender: No OFD packet to send [20:43:25]OFD Sender: No OFD packet to send [20:43:30]OFD Sender: No OFD packet to send [20:43:35]OFD Sender: No OFD packet to send [20:43:40]OFD Sender: No OFD packet to send [20:43:45]OFD Sender: No OFD packet to send [20:43:50]OFD Sender: No OFD packet to send [20:43:55]OFD Sender: No OFD packet to send [20:44:00]OFD Sender: No OFD packet to send [20:44:05]OFD Sender: No OFD packet to send [20:44:10]OFD Sender: No OFD packet to send [20:44:15]OFD Sender: No OFD packet to send [20:44:20]OFD Sender: No OFD packet to send [20:44:25]OFD Sender: No OFD packet to send [20:44:30]OFD Sender: No OFD packet to send [20:44:35]OFD Sender: No OFD packet to send [20:44:40]OFD Sender: No OFD packet to send [20:44:45]OFD Sender: No OFD packet to send [20:44:50]OFD Sender: No OFD packet to send [20:44:55]OFD Sender: No OFD packet to send [20:45:00]OFD Sender: No OFD packet to send [20:45:05]OFD Sender: No OFD packet to send [20:45:10]OFD Sender: No OFD packet to send [20:45:15]OFD Sender: No OFD packet to send [20:45:20]OFD Sender: No OFD packet to send [20:45:25]OFD Sender: No OFD packet to send [20:45:30]OFD Sender: No OFD packet to send [20:45:35]OFD Sender: No OFD packet to send [20:45:40]OFD Sender: No OFD packet to send [20:45:45]OFD Sender: No OFD packet to send [20:45:50]OFD Sender: No OFD packet to send [20:45:55]OFD Sender: No OFD packet to send [20:46:00]OFD Sender: No OFD packet to send [20:46:05]OFD Sender: No OFD packet to send [20:46:10]OFD Sender: No OFD packet to send [20:46:15]OFD Sender: No OFD packet to send [20:46:20]OFD Sender: No OFD packet to send [20:46:25]OFD Sender: No OFD packet to send [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:41]OFD Sender: No OFD packet to send [20:48:46]OFD Sender: No OFD packet to send [20:48:51]OFD Sender: No OFD packet to send [20:48:56]OFD Sender: No OFD packet to send [20:49:01]OFD Sender: No OFD packet to send [20:49:06]OFD Sender: No OFD packet to send [20:49:11]OFD Sender: No OFD packet to send [20:49:16]OFD Sender: No OFD packet to send [20:49:21]OFD Sender: No OFD packet to send [20:49:26]OFD Sender: No OFD packet to send [20:49:31]OFD Sender: No OFD packet to send [20:49:36]OFD Sender: No OFD packet to send [20:49:41]OFD Sender: No OFD packet to send [20:49:46]OFD Sender: No OFD packet to send [20:49:51]OFD Sender: No OFD packet to send [20:49:56]OFD Sender: No OFD packet to send [20:50:01]OFD Sender: No OFD packet to send [20:50:06]OFD Sender: No OFD packet to send [20:50:11]OFD Sender: No OFD packet to send [20:50:16]OFD Sender: No OFD packet to send [20:50:21]OFD Sender: No OFD packet to send [20:50:26]OFD Sender: No OFD packet to send [20:50:31]OFD Sender: No OFD packet to send [20:50:36]OFD Sender: No OFD packet to send [20:50:41]OFD Sender: No OFD packet to send [20:50:46]OFD Sender: No OFD packet to send [20:50:51]OFD Sender: No OFD packet to send [20:50:56]OFD Sender: No OFD packet to send [20:51:01]OFD Sender: No OFD packet to send [20:51:06]OFD Sender: No OFD packet to send [20:51:11]OFD Sender: No OFD packet to send [20:51:16]OFD Sender: No OFD packet to send [20:51:21]OFD Sender: No OFD packet to send [20:51:26]OFD Sender: No OFD packet to send [20:51:31]OFD Sender: No OFD packet to send [20:51:36]OFD Sender: No OFD packet to send [20:51:41]OFD Sender: No OFD packet to send [20:51:46]OFD Sender: No OFD packet to send [20:51:51]OFD Sender: No OFD packet to send [20:51:56]OFD Sender: No OFD packet to send [20:52:01]OFD Sender: No OFD packet to send [20:52:06]OFD Sender: No OFD packet to send [20:52:11]OFD Sender: No OFD packet to send [20:52:16]OFD Sender: No OFD packet to send [20:52:21]OFD Sender: No OFD packet to send [20:52:26]OFD Sender: No OFD packet to send [20:52:31]OFD Sender: No OFD packet to send [20:52:36]OFD Sender: No OFD packet to send [20:52:41]OFD Sender: No OFD packet to send [20:52:46]OFD Sender: No OFD packet to send [20:52:51]OFD Sender: No OFD packet to send [20:52:56]OFD Sender: No OFD packet to send [20:53:01]OFD Sender: No OFD packet to send [20:53:06]OFD Sender: No OFD packet to send [20:53:11]OFD Sender: No OFD packet to send [20:53:16]OFD Sender: No OFD packet to send [20:53:21]OFD Sender: No OFD packet to send [20:53:26]OFD Sender: No OFD packet to send [20:53:31]OFD Sender: No OFD packet to send [20:53:36]OFD Sender: No OFD packet to send [20:53:41]OFD Sender: No OFD packet to send [20:53:46]OFD Sender: No OFD packet to send [20:53:51]OFD Sender: No OFD packet to send [20:53:56]OFD Sender: No OFD packet to send [20:54:01]OFD Sender: No OFD packet to send [20:54:06]OFD Sender: No OFD packet to send [20:54:11]OFD Sender: No OFD packet to send [20:54:16]OFD Sender: No OFD packet to send [20:54:21]OFD Sender: No OFD packet to send [20:54:26]OFD Sender: No OFD packet to send [20:54:31]OFD Sender: No OFD packet to send [20:54:36]OFD Sender: No OFD packet to send [20:54:41]OFD Sender: No OFD packet to send [20:54:46]OFD Sender: No OFD packet to send [20:54:51]OFD Sender: No OFD packet to send [20:54:56]OFD Sender: No OFD packet to send [20:55:01]OFD Sender: No OFD packet to send [20:55:06]OFD Sender: No OFD packet to send [20:55:11]OFD Sender: No OFD packet to send [20:55:16]OFD Sender: No OFD packet to send [20:55:21]OFD Sender: No OFD packet to send [20:55:26]OFD Sender: No OFD packet to send [20:55:31]OFD Sender: No OFD packet to send [20:55:36]OFD Sender: No OFD packet to send [20:55:41]OFD Sender: No OFD packet to send [20:55:46]OFD Sender: No OFD packet to send [20:55:51]OFD Sender: No OFD packet to send [20:55:56]OFD Sender: No OFD packet to send [20:56:01]OFD Sender: No OFD packet to send [20:56:06]OFD Sender: No OFD packet to send [20:56:11]OFD Sender: No OFD packet to send [20:56:16]OFD Sender: No OFD packet to send [20:56:21]OFD Sender: No OFD packet to send [20:56:26]OFD Sender: No OFD packet to send [20:56:31]OFD Sender: No OFD packet to send [20:56:36]OFD Sender: No OFD packet to send [20:56:41]OFD Sender: No OFD packet to send [20:56:46]OFD Sender: No OFD packet to send [20:56:51]OFD Sender: No OFD packet to send [20:56:56]OFD Sender: No OFD packet to send [20:57:01]OFD Sender: No OFD packet to send [20:57:06]OFD Sender: No OFD packet to send [20:57:11]OFD Sender: No OFD packet to send [20:57:16]OFD Sender: No OFD packet to send [20:57:21]OFD Sender: No OFD packet to send [20:57:26]OFD Sender: No OFD packet to send [20:57:31]OFD Sender: No OFD packet to send [20:57:36]OFD Sender: No OFD packet to send [20:57:41]OFD Sender: No OFD packet to send [20:57:46]OFD Sender: No OFD packet to send [20:57:51]OFD Sender: No OFD packet to send [20:57:56]OFD Sender: No OFD packet to send [20:58:01]OFD Sender: No OFD packet to send [20:58:06]OFD Sender: No OFD packet to send [20:58:11]OFD Sender: No OFD packet to send [20:58:16]OFD Sender: No OFD packet to send [20:58:21]OFD Sender: No OFD packet to send [20:58:26]OFD Sender: No OFD packet to send [20:58:31]OFD Sender: No OFD packet to send [20:58:36]OFD Sender: No OFD packet to send [20:58:41]OFD Sender: No OFD packet to send [20:58:46]OFD Sender: No OFD packet to send [20:58:51]OFD Sender: No OFD packet to send [20:58:56]OFD Sender: No OFD packet to send [20:59:01]OFD Sender: No OFD packet to send [20:59:06]OFD Sender: No OFD packet to send [20:59:11]OFD Sender: No OFD packet to send [20:59:16]OFD Sender: No OFD packet to send [20:59:21]OFD Sender: No OFD packet to send [20:59:26]OFD Sender: No OFD packet to send [20:59:31]OFD Sender: No OFD packet to send [20:59:36]OFD Sender: No OFD packet to send [20:59:41]OFD Sender: No OFD packet to send [20:59:46]OFD Sender: No OFD packet to send [20:59:51]OFD Sender: No OFD packet to send [20:59:56]OFD Sender: No OFD packet to send [21:00:01]OFD Sender: No OFD packet to send [21:00:06]OFD Sender: No OFD packet to send [21:00:11]OFD Sender: No OFD packet to send [21:00:16]OFD Sender: No OFD packet to send [21:00:21]OFD Sender: No OFD packet to send [21:00:26]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:04:59]accept exits with 9 [21:04:59]New connection [21:04:59]New thread 3066871140 created [21:04:59]Thread 3067014500 joined [21:04:59]Waiting for new connection... [21:04:59] Sock 9.Parse request [21:04:59]Sock 9.Check first char [21:04:59]Sock 9.First char is OK [21:04:59]request: POST /json_proto HTTP/1.0 [21:04:59]Method: POST [21:04:59]URL: /json_proto [21:04:59]Method is POST - this is cgi request [21:04:59]url: /json_proto [21:04:59]query_string will be loaded in cgi processing [21:04:59]execute_cgi json_proto POST (null) [21:04:59]execute_cgi path=json_proto method=POST [21:04:59]POST find Content-Length [21:04:59]Host: 172.17.39.4:8080 [21:04:59]Content-Length: 727 [21:04:59]Content-Type: application/json [21:04:59] [21:04:59]POST finish read [21:04:59]Found Content-Length = 727 [21:04:59]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129662", "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 }]} ], "payments": [ { "type": 0, "sum" : 425.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:04:59]execute_script... [21:04: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)129662", "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 }]} ], "payments": [ { "type": 0, "sum" : 425.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:04:59]POST & json_proto [21:04:59]process_json_proto [21:04:59]json parsed OK: [21:04:59]protocol is kg_v1.0 [21:04:59]action value=close_receipt [21:04:59]process_action close_receipt [21:04:59]cmd_close_receipt [21:04:59]MH_GetDate [21:04:59]Write to MH i2c: F0 00 00 6A 08 61 [21:04:59]Write i2c OK [21:04:59]MH_I2C_Read... [21:04:59]Read from MH i2c: F0 [21:04:59]MH_I2C_Read... [21:04:59]Read from MH i2c: F0 09 00 [21:04:59]MH_I2C_Read... [21:04:59]Read from MH i2c: F0 09 00 6A 08 00 FD 8E 95 66 2D 25 5D 64 03 [21:04:59]GetLastDocTimeStamp 1721076179 [21:04:59]current date 1721077501 [21:04:59]FM_GetShiftState [21:04:59]SAM_PROTO_GetShiftState [21:04:59]wFMCommunicate request_size=4 [21:04:59]MH_SAM_APDU [21:04:59]CAPDU: 80 13 01 00 [21:04:59]Write to MH i2c: E2 08 00 6B 08 80 13 01 00 00 00 00 00 F0 [21:04:59]Write i2c OK [21:04:59]MH_I2C_Read... [21:04:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:04:59]Read from MH i2c: E2 [21:04:59]MH_I2C_Read... [21:04:59]Read from MH i2c: E2 0E 00 [21:04:59]MH_I2C_Read... [21:04:59]Read from MH i2c: E2 0E 00 6B 08 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 69 [21:04:59]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [21:04:59]wFMCommunicate OK [21:04:59]SAM_PROTO_GetShiftState done [21:04:59]FM_GetShiftState done [21:04:59]opened in 1721003525 [21:04:59]opened+sec_in_day 1721089925 [21:04:59]quantity*price = 42500 [21:04:59]sum+1 = 42501 [21:04:59]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 425.00 НСП 1% : 3.76 НДС 12% : 45.13 Наличными: 425.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 115 15.07.2024 21:05 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57220 ФПД: 159778555993319 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T210501&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57220&fm=159778555993319&tin=02508201610067®Number=0000000000091208&sum=42500 0 [21:05:00]StoreToDocumentArchive [21:05:00]shift 497 fd 57220 [21:05:00]save to /storage/0497/doc_00057220 [21:05:00]save last doc name /storage/0497/doc_00057220 to /storage/kkm_last_doc_name [21:05:00]save OK [21:05:00]Clear old archive folders... [21:05:00]ProcessDocumentItem done err = 0, tmpTLVsize=267 [21:05:00]tlvbuf is 0086E050 [21:05:00]SAM_PROTO_ClearQueue [21:05:00]wFMCommunicate request_size=4 [21:05:00]MH_SAM_APDU [21:05:00]CAPDU: 80 09 00 00 [21:05:00]Write to MH i2c: E2 08 00 78 08 80 09 00 00 00 00 00 00 F2 [21:05:00]Write i2c OK [21:05:00]MH_I2C_Read... [21:05:00]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:05:00]Read from MH i2c: E2 [21:05:00]MH_I2C_Read... [21:05:00]Read from MH i2c: E2 03 00 [21:05:00]MH_I2C_Read... [21:05:00]Read from MH i2c: E2 03 00 78 08 00 90 00 F4 [21:05:00]RAPDU: 90 00 [21:05:00]wFMCommunicate OK [21:05:00]SAM_PROTO_ClearQueue done [21:05:00]KKMCreateOFDPacket [21:05:00]OFDProtocolAddRootSTLVToBuf [21:05:00]FM_MakeSignedData [21:05:00]FM_MakeSignedData [21:05:00]SAM_PROTO_SignData [21:05:00]wFMCommunicate request_size=4 [21:05:00]MH_SAM_APDU [21:05:00]CAPDU: 80 0D 01 02 [21:05:00]Write to MH i2c: E2 08 00 79 08 80 0D 01 02 00 00 00 00 FA [21:05:00]Write i2c OK [21:05:00]MH_I2C_Read... [21:05:00]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:05:00]Read from MH i2c: E2 [21:05:00]MH_I2C_Read... [21:05:00]Read from MH i2c: E2 03 00 [21:05:00]MH_I2C_Read... [21:05:00]Read from MH i2c: E2 03 00 79 08 00 90 00 F5 [21:05:00]RAPDU: 90 00 [21:05:00]wFMCommunicate OK [21:05:00]wFMCommunicate request_size=255 [21:05:00]MH_SAM_APDU [21:05:00]CAPDU: 80 0D 02 02 FA 03 00 0B 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 FC 03 06 00 04 A6 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 78 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A1 11 00 00 00 00 07 04 06 00 04 A6 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 FD 8E 95 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 [21:05:00]Write to MH i2c: E2 02 01 7A 08 80 0D 02 02 FA 00 03 00 0B 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 FC 03 06 00 04 A6 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 78 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A1 11 00 00 00 00 07 04 06 00 04 A6 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 FD 8E 95 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 00 00 C4 [21:05:00]Write i2c OK [21:05:00]MH_I2C_Read... [21:05:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:05:01]Read from MH i2c: E2 [21:05:01]MH_I2C_Read... [21:05:01]Read from MH i2c: E2 03 00 [21:05:01]MH_I2C_Read... [21:05:01]Read from MH i2c: E2 03 00 7A 08 00 90 00 F6 [21:05:01]RAPDU: 90 00 [21:05:01]wFMCommunicate OK [21:05:01]wFMCommunicate request_size=26 [21:05:01]MH_SAM_APDU [21:05:01]CAPDU: 80 0D 02 02 15 38 35 37 10 04 04 00 84 DF 00 00 35 04 06 00 91 51 58 12 9C E7 [21:05:01]Write to MH i2c: E2 1D 00 7B 08 80 0D 02 02 15 00 38 35 37 10 04 04 00 84 DF 00 00 35 04 06 00 91 51 58 12 9C E7 00 00 54 [21:05:01]Write i2c OK [21:05:01]MH_I2C_Read... [21:05:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:05:01]Read from MH i2c: E2 [21:05:01]MH_I2C_Read... [21:05:01]Read from MH i2c: E2 03 00 [21:05:01]MH_I2C_Read... [21:05:01]Read from MH i2c: E2 03 00 7B 08 00 90 00 F7 [21:05:01]RAPDU: 90 00 [21:05:01]wFMCommunicate OK [21:05:01]wFMCommunicate request_size=4 [21:05:01]MH_SAM_APDU [21:05:01]CAPDU: 80 0D 03 02 [21:05:01]Write to MH i2c: E2 08 00 7C 08 80 0D 03 02 00 00 00 00 FF [21:05:01]Write i2c OK [21:05:01]MH_I2C_Read... [21:05:01]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:05:01]Read from MH i2c: E2 [21:05:01]MH_I2C_Read... [21:05:01]Read from MH i2c: E2 0B 00 [21:05:01]MH_I2C_Read... [21:05:01]Read from MH i2c: E2 0B 00 7C 08 00 94 07 8E 41 7D 8E F1 B9 90 00 1F [21:05:01]RAPDU: 94 07 8E 41 7D 8E F1 B9 90 00 [21:05:01]wFMCommunicate OK [21:05:01]SAM_PROTO_SignData done [21:05:01]FM_MakeSignedData done [21:05:01]CreateOFDProtocolMessage [21:05:01]wFMCommunicate request_size=4 [21:05:01]MH_SAM_APDU [21:05:01]CAPDU: 80 11 00 00 [21:05:01]Write to MH i2c: E2 08 00 7D 08 80 11 00 00 00 00 00 00 FF [21:05:01]Write i2c OK [21:05:01]MH_I2C_Read... [21:05:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:05:01]Read from MH i2c: E2 [21:05:01]MH_I2C_Read... [21:05:01]Read from MH i2c: E2 17 00 [21:05:01]MH_I2C_Read... [21:05:01]Read from MH i2c: E2 17 00 7D 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 59 [21:05:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [21:05:01]wFMCommunicate OK [21:05:01]CreateOFDProtocolMessage done [21:05:01]OFDSenderStorePacket 57220 [21:05:01]StoreOFDPacket docnum=57220 [21:05: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 1F 01 00 00 AD C7 17 01 20 52 5A 03 01 00 03 00 0B 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 FC 03 06 00 04 A6 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 78 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A1 11 00 00 00 00 07 04 06 00 04 A6 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 FD 8E 95 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 84 DF 00 00 35 04 06 00 91 51 58 12 9C E7 94 07 8E 41 7D 8E F1 B9 [21:05:01]CheckFolder [21:05:01]dirname=/storage/ofd_packets [21:05:01]CheckFolder done [21:05:01]ProducePacketName [21:05:01]name=ofd_packets/00057220 [21:05:01]NVStorageSaveData ofd_packets/00057220 [21:05:01]File name is /storage/ofd_packets/00057220 [21:05:01]Write 317 bytes [21:05:01]NVStorageSaveData done [21:05:01]OFDSenderStorePacket done [21:05:01]KKMCreateOFDPacket done [21:05:01]NVStorageSaveData kkm_last_timestamp [21:05:01]File name is /storage/kkm_last_timestamp [21:05:01]Write 4 bytes [21:05:01]NVStorageSaveData done [21:05:01]ExternCall_PrintAddStr [21:05:01]wPrintStart [21:05:01]Write to MH i2c: 01 00 00 7E 08 86 [21:05:01]Write i2c OK [21:05:01]MH_I2C_Read... [21:05:01]Read from MH i2c: 01 [21:05:01]MH_I2C_Read... [21:05:01]Read from MH i2c: 01 07 00 [21:05:01]MH_I2C_Read... [21:05:01]Read from MH i2c: 01 07 00 7E 08 00 00 00 00 00 FF 0F 9B [21:05:01]RasterBufferAndPrint [21:05:01]line Счет N : (3)129662 [21:05:01]line ИНН: 02508201610067 [21:05:01]line Контрольно-Кассовый Чек [21:05:01]line ПРОДАЖА [21:05:01]line Товар: 4700003150486 [21:05:01]line Водка Ороон 0,5 [21:05:01]line 1.000 * 425.00 [21:05:01]line = 425.00 [21:05:01]line НДС 12% НСП 1% [21:05:01]line > о реализуемом товаре [21:05:01]line ИТОГО: 425.00 [21:05:01]line НСП 1% : 3.76 [21:05:01]line НДС 12% : 45.13 [21:05:01]line Наличными: 425.00 [21:05:01]line Безнал.: 0.00 [21:05:01]line Место: АЗС № 132 "Партнер Нефть" [21:05:01]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [21:05:01]line СНО: Общий режим [21:05:01]line Чек 115 15.07.2024 21:05 [21:05:01]line Смена: 497 ФФД: 1.0 [21:05:01]line ЗНМ: 0300000132 [21:05:01]line РНМ: 0000000000091208 [21:05:01]line Версия ККМ: 001 [21:05:01]line ФМ: 0000000000874857 [21:05:01]line ФД: 57220 [21:05:01]line ФПД: 159778555993319 [21:05:01]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T210501&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57220&fm=159778555993319&tin=02508201610067®Number=0000000000091208&sum=42500 [21:05:01]line 0 [21:05:01]OFD Sender: Processing packet 57220 [packets to send 38, broken 37] [21:05:01]ProducePacketName [21:05:01]name=ofd_packets/00057220 [21:05:01]OFD Sender: To server: pG, [21:05:01]CommunicateWithHost lk.salyk.kg:30040 [21:05:01]ConnectInit lk.salyk.kg [21:05:01]written 0, free lines is 4095 [21:05:01]Connected sock=10 [21:05: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 1F 01 00 00 AD C7 17 01 20 52 5A 03 01 00 03 00 0B 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 FC 03 06 00 04 A6 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 78 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A1 11 00 00 00 00 07 04 06 00 04 A6 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 FD 8E 95 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 84 DF 00 00 35 04 06 00 91 51 58 12 9C E7 94 07 8E 41 7D 8E F1 B9 [21:05: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 82 1F 47 00 AF 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 84 DF 00 00 F4 03 04 00 4A 35 95 66 B6 04 01 00 00 42 43 9F A7 B4 90 4A FE [21:05:01]CommunicateWithHost err = 0 [21:05:01]CheckOFDResponse [21:05:01]1017 (14) - 77093643461234 [21:05:01]1041 (16) - 0000000000874857 [21:05:01]1040 (4) - 57220 [21:05:01]1012 (4) - 15.07.2024 14:42 [21:05:01]1206 (1) - 0 [21:05:01]OFD Sender: Remove packet 57220 [21:05:01]ProducePacketName [21:05:01]name=ofd_packets/00057220 [21:05:01]NVStorageDeleteData [21:05:02]Write to MH i2c: 01 00 00 A6 08 AE [21:05:02]Write i2c OK [21:05:02]MH_I2C_Read... [21:05:02]Read from MH i2c: 01 [21:05:02]MH_I2C_Read... [21:05:02]Read from MH i2c: 01 07 00 [21:05:02]MH_I2C_Read... [21:05:02]Read from MH i2c: 01 07 00 A6 08 00 00 00 00 00 00 0D C2 [21:05:02]RasterBufferAndPrint [21:05:02]line [21:05:02]line [21:05:02]line [21:05:02]line [21:05:02]line [21:05:02]written 0, free lines is 3334 [21:05:02]MH_Cut [21:05:02]Write to MH i2c: D1 01 00 AD 08 01 87 [21:05:02]Write i2c OK [21:05:02]MH_I2C_Read... [21:05:02]Read from MH i2c: D1 [21:05:02]MH_I2C_Read... [21:05:02]Read from MH i2c: D1 01 00 [21:05:02]MH_I2C_Read... [21:05:02]Read from MH i2c: D1 01 00 AD 08 00 86 [21:05:02]Write to MH i2c: 01 00 00 AE 08 B6 [21:05:02]Write i2c OK [21:05:02]MH_I2C_Read... [21:05:02]OFD Sender: No OFD packet to send [21:05:02]*** Cut start [21:05:02]*** Partial cut [21:05:02]*** CUTSNS_PIN = 1 [21:05:02]*** CUTSNS_PIN = 0 [21:05:03]*** Brake cut motor [21:05:03]Read from MH i2c: 01 [21:05:03]MH_I2C_Read... [21:05:03]*** Stop cut motor [21:05:03]*** Cut end [21:05:03]Read from MH i2c: 01 07 00 [21:05:03]MH_I2C_Read... [21:05:03]Read from MH i2c: 01 07 00 AE 08 00 00 00 00 00 FF 0F CB [21:05:03]process_action close_receipt done [21:05:03]requested_data is exist [21:05:03]produce_requested_data [21:05:03]requested_item fm.sn is exist - process it [21:05:03]wFMCommunicate request_size=4 [21:05:03]MH_SAM_APDU [21:05:03]CAPDU: 80 11 00 00 [21:05:03]Write to MH i2c: E2 08 00 AF 08 80 11 00 00 00 00 00 00 31 [21:05:03]Write i2c OK [21:05:03]MH_I2C_Read... [21:05:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:05:03]Read from MH i2c: E2 [21:05:03]MH_I2C_Read... [21:05:03]Read from MH i2c: E2 17 00 [21:05:03]MH_I2C_Read... [21:05:03]Read from MH i2c: E2 17 00 AF 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 8B [21:05:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [21:05:03]wFMCommunicate OK [21:05:03]requested_item fd.num is exist - process it [21:05:03]SAM_PROTO_GetFieldsCounters [21:05:03]wFMCommunicate request_size=4 [21:05:03]MH_SAM_APDU [21:05:03]CAPDU: 80 13 00 00 [21:05:03]Write to MH i2c: E2 08 00 B0 08 80 13 00 00 00 00 00 00 34 [21:05:03]Write i2c OK [21:05:03]MH_I2C_Read... [21:05:03]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:05:03]Read from MH i2c: E2 [21:05:03]MH_I2C_Read... [21:05:03]Read from MH i2c: E2 62 00 [21:05:03]MH_I2C_Read... [21:05:03]Read from MH i2c: E2 62 00 B0 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 84 DF 00 00 0E 04 04 00 F1 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 05 [21:05:03]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 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 84 DF 00 00 0E 04 04 00 F1 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 [21:05:03]wFMCommunicate OK [21:05:03]SAM_PROTO_GetFieldsCounters done [21:05:03]requested_item shift.num is exist - process it [21:05:03]requested_item shift.opened is exist - process it [21:05:03]req_shift_opened [21:05:03]FM_GetShiftState [21:05:03]SAM_PROTO_GetShiftState [21:05:03]wFMCommunicate request_size=4 [21:05:03]MH_SAM_APDU [21:05:03]CAPDU: 80 13 01 00 [21:05:03]Write to MH i2c: E2 08 00 B1 08 80 13 01 00 00 00 00 00 36 [21:05:03]Write i2c OK [21:05:03]MH_I2C_Read... [21:05:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:05:03]Read from MH i2c: E2 [21:05:03]MH_I2C_Read... [21:05:03]Read from MH i2c: E2 0E 00 [21:05:03]MH_I2C_Read... [21:05:03]Read from MH i2c: E2 0E 00 B1 08 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 AF [21:05:03]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [21:05:03]wFMCommunicate OK [21:05:03]SAM_PROTO_GetShiftState done [21:05:03]FM_GetShiftState done [21:05:03]req_shift_opened done [21:05:03]requested_item shift.open_date is exist - process it [21:05:03]req_shift_open_date [21:05:03]req_shift_open_date done [21:05:03]requested_item shift.sale.total is exist - process it [21:05:03]SAM_PROTO_GetShiftData [21:05:03]wFMCommunicate request_size=4 [21:05:03]MH_SAM_APDU [21:05:03]CAPDU: 80 13 02 00 [21:05:03]Write to MH i2c: E2 08 00 B2 08 80 13 02 00 00 00 00 00 38 [21:05:03]Write i2c OK [21:05:03]MH_I2C_Read... [21:05:04]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [21:05:04]Read from MH i2c: E2 [21:05:04]MH_I2C_Read... [21:05:04]Read from MH i2c: E2 FD 00 [21:05:04]MH_I2C_Read... [21:05:04]Read from MH i2c: E2 FD 00 B2 08 00 B6 04 AA 04 B2 04 6E 04 04 00 73 00 00 00 69 04 9B 00 6F 04 04 00 72 00 00 00 B1 04 03 00 55 59 34 70 04 03 00 38 36 2D 72 04 03 00 1D 23 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 4D 8F 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 96 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 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 30 [21:05:04]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 73 00 00 00 69 04 9B 00 6F 04 04 00 72 00 00 00 B1 04 03 00 55 59 34 70 04 03 00 38 36 2D 72 04 03 00 1D 23 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 4D 8F 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 96 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 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 [21:05:04]wFMCommunicate OK [21:05:04]wFMCommunicate request_size=4 [21:05:04]MH_SAM_APDU [21:05:04]CAPDU: 80 17 00 00 [21:05:04]Write to MH i2c: E2 08 00 B3 08 80 17 00 00 00 00 00 00 3B [21:05:04]Write i2c OK [21:05:04]MH_I2C_Read... [21:05:04]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:05:04]Read from MH i2c: E2 [21:05:04]MH_I2C_Read... [21:05:04]Read from MH i2c: E2 FD 00 [21:05:04]MH_I2C_Read... [21:05:04]Read from MH i2c: E2 FD 00 B3 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 70 [21:05:04]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 [21:05:04]wFMCommunicate OK [21:05:04]wFMCommunicate request_size=4 [21:05:04]MH_SAM_APDU [21:05:04]CAPDU: 80 17 00 00 [21:05:04]Write to MH i2c: E2 08 00 B4 08 80 17 00 00 00 00 00 00 3C [21:05:04]Write i2c OK [21:05:04]MH_I2C_Read... [21:05:04]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:05:04]Read from MH i2c: E2 [21:05:04]MH_I2C_Read... [21:05:04]Read from MH i2c: E2 FD 00 [21:05:04]MH_I2C_Read... [21:05:04]Read from MH i2c: E2 FD 00 B4 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 FC [21:05:04]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 [21:05:04]wFMCommunicate OK [21:05:04]wFMCommunicate request_size=4 [21:05:04]MH_SAM_APDU [21:05:04]CAPDU: 80 17 00 00 [21:05:04]Write to MH i2c: E2 08 00 B5 08 80 17 00 00 00 00 00 00 3D [21:05:04]Write i2c OK [21:05:04]MH_I2C_Read... [21:05:04]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:05:04]Read from MH i2c: E2 [21:05:04]MH_I2C_Read... [21:05:04]Read from MH i2c: E2 FD 00 [21:05:04]MH_I2C_Read... [21:05:04]Read from MH i2c: E2 FD 00 B5 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 AC [21:05:04]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 [21:05:05]wFMCommunicate OK [21:05:05]wFMCommunicate request_size=4 [21:05:05]MH_SAM_APDU [21:05:05]CAPDU: 80 17 00 00 [21:05:05]Write to MH i2c: E2 08 00 B6 08 80 17 00 00 00 00 00 00 3E [21:05:05]Write i2c OK [21:05:05]MH_I2C_Read... [21:05:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [21:05:05]Read from MH i2c: E2 [21:05:05]MH_I2C_Read... [21:05:05]Read from MH i2c: E2 D3 00 [21:05:05]MH_I2C_Read... [21:05:05]Read from MH i2c: E2 D3 00 B6 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 2B [21:05:05]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 [21:05:05]wFMCommunicate OK [21:05:05]SAM_PROTO_GetShiftData done [21:05:05]requested_item shift.sale.total_cash is exist - process it [21:05:05]requested_item shift.sale_refund.total is exist - process it [21:05:05]requested_item shift.sale_refund.total_cash is exist - process it [21:05:05]produce_requested_data done [21:05:05]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57220,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":34307.41,"shift.sale.total_cash":29630.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [21:05:05]process_action_free close_receipt [21:05:05]json_value_free [21:05:05]json_value_free done [21:05:05]process_json_proto returns [21:05:05]Send response to host [21:05:05]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57220,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":34307.41,"shift.sale.total_cash":29630.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [21:05:05]free response buf [21:05:05]execute_script done [21:05:05]execute_script returns [21:05:05]free content buf [21:05:05]Sock 9.Close socket [21:05:05]Sock 9.Thread stoped [21:05:07]OFD Sender: No OFD packet to send [21:05:12]OFD Sender: No OFD packet to send [21:05:17]OFD Sender: No OFD packet to send [21:05:22]OFD Sender: No OFD packet to send [21:05:27]OFD Sender: No OFD packet to send [21:05:32]OFD Sender: No OFD packet to send [21:05:37]OFD Sender: No OFD packet to send [21:05:42]OFD Sender: No OFD packet to send [21:05:47]OFD Sender: No OFD packet to send [21:05:52]OFD Sender: No OFD packet to send [21:05:57]OFD Sender: No OFD packet to send [21:06:02]OFD Sender: No OFD packet to send [21:06:07]OFD Sender: No OFD packet to send [21:06:12]OFD Sender: No OFD packet to send [21:06:17]OFD Sender: No OFD packet to send [21:06:22]OFD Sender: No OFD packet to send [21:06:27]OFD Sender: No OFD packet to send [21:06:32]OFD Sender: No OFD packet to send [21:06:37]OFD Sender: No OFD packet to send [21:06:42]OFD Sender: No OFD packet to send [21:06:47]OFD Sender: No OFD packet to send [21:06:52]OFD Sender: No OFD packet to send [21:06:57]OFD Sender: No OFD packet to send [21:07:02]OFD Sender: No OFD packet to send [21:07:07]OFD Sender: No OFD packet to send [21:07:12]OFD Sender: No OFD packet to send [21:07:17]OFD Sender: No OFD packet to send [21:07:22]OFD Sender: No OFD packet to send [21:07:27]OFD Sender: No OFD packet to send [21:07:32]OFD Sender: No OFD packet to send [21:07:37]OFD Sender: No OFD packet to send [21:07:42]OFD Sender: No OFD packet to send [21:07:47]OFD Sender: No OFD packet to send [21:07:52]OFD Sender: No OFD packet to send [21:07:57]OFD Sender: No OFD packet to send [21:08:02]OFD Sender: No OFD packet to send [21:08:07]OFD Sender: No OFD packet to send [21:08:12]OFD Sender: No OFD packet to send [21:08:17]OFD Sender: No OFD packet to send [21:08:22]OFD Sender: No OFD packet to send [21:08:27]OFD Sender: No OFD packet to send [21:08:32]OFD Sender: No OFD packet to send [21:08:37]OFD Sender: No OFD packet to send [21:08:42]OFD Sender: No OFD packet to send [21:08:47]OFD Sender: No OFD packet to send [21:08:52]OFD Sender: No OFD packet to send [21:08:57]OFD Sender: No OFD packet to send [21:09:02]OFD Sender: No OFD packet to send [21:09:07]OFD Sender: No OFD packet to send [21:09:12]OFD Sender: No OFD packet to send [21:09:17]OFD Sender: No OFD packet to send [21:09:22]OFD Sender: No OFD packet to send [21:09:27]OFD Sender: No OFD packet to send [21:09:32]OFD Sender: No OFD packet to send [21:09:37]OFD Sender: No OFD packet to send [21:09:42]OFD Sender: No OFD packet to send [21:09:47]OFD Sender: No OFD packet to send [21:09:52]OFD Sender: No OFD packet to send [21:09:57]OFD Sender: No OFD packet to send [21:10:02]OFD Sender: No OFD packet to send [21:10:07]OFD Sender: No OFD packet to send [21:10:12]OFD Sender: No OFD packet to send [21:10:17]OFD Sender: No OFD packet to send [21:10:22]OFD Sender: No OFD packet to send [21:10:27]OFD Sender: No OFD packet to send [21:10:32]OFD Sender: No OFD packet to send [21:10:37]OFD Sender: No OFD packet to send [21:10:42]OFD Sender: No OFD packet to send [21:10:47]OFD Sender: No OFD packet to send [21:10:52]OFD Sender: No OFD packet to send [21:10:57]OFD Sender: No OFD packet to send [21:11:02]OFD Sender: No OFD packet to send [21:11:07]OFD Sender: No OFD packet to send [21:11:12]OFD Sender: No OFD packet to send [21:11:17]OFD Sender: No OFD packet to send [21:11:22]OFD Sender: No OFD packet to send [21:11:27]OFD Sender: No OFD packet to send [21:11:32]OFD Sender: No OFD packet to send [21:11:37]OFD Sender: No OFD packet to send [21:11:42]OFD Sender: No OFD packet to send [21:11:47]OFD Sender: No OFD packet to send [21:11:52]OFD Sender: No OFD packet to send [21:11:57]OFD Sender: No OFD packet to send [21:12:02]OFD Sender: No OFD packet to send [21:12:07]OFD Sender: No OFD packet to send [21:12:12]OFD Sender: No OFD packet to send [21:12:17]OFD Sender: No OFD packet to send [21:12:22]OFD Sender: No OFD packet to send [21:12:27]OFD Sender: No OFD packet to send [21:12:32]OFD Sender: No OFD packet to send [21:12:37]OFD Sender: No OFD packet to send [21:12:42]OFD Sender: No OFD packet to send [21:12:47]OFD Sender: No OFD packet to send [21:12:52]OFD Sender: No OFD packet to send [21:12:57]OFD Sender: No OFD packet to send [21:13:02]OFD Sender: No OFD packet to send [21:13:07]OFD Sender: No OFD packet to send [21:13:12]OFD Sender: No OFD packet to send [21:13:17]OFD Sender: No OFD packet to send [21:13:22]OFD Sender: No OFD packet to send [21:13:27]OFD Sender: No OFD packet to send [21:13:32]OFD Sender: No OFD packet to send [21:13:37]OFD Sender: No OFD packet to send [21:13:42]OFD Sender: No OFD packet to send [21:13:47]OFD Sender: No OFD packet to send [21:13:52]OFD Sender: No OFD packet to send [21:13:57]OFD Sender: No OFD packet to send [21:14:02]OFD Sender: No OFD packet to send [21:14:07]OFD Sender: No OFD packet to send [21:14:12]OFD Sender: No OFD packet to send [21:14:17]OFD Sender: No OFD packet to send [21:14:22]OFD Sender: No OFD packet to send [21:14:27]OFD Sender: No OFD packet to send [21:14: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:33]OFD Sender: No OFD packet to send [21:15:38]OFD Sender: No OFD packet to send [21:15:43]OFD Sender: No OFD packet to send [21:15:48]OFD Sender: No OFD packet to send [21:15:53]OFD Sender: No OFD packet to send [21:15:58]OFD Sender: No OFD packet to send [21:16:03]OFD Sender: No OFD packet to send [21:16:08]OFD Sender: No OFD packet to send [21:16:13]OFD Sender: No OFD packet to send [21:16:18]OFD Sender: No OFD packet to send [21:16:23]OFD Sender: No OFD packet to send [21:16:28]OFD Sender: No OFD packet to send [21:16:33]OFD Sender: No OFD packet to send [21:16:38]OFD Sender: No OFD packet to send [21:16:43]OFD Sender: No OFD packet to send [21:16:48]OFD Sender: No OFD packet to send [21:16:53]OFD Sender: No OFD packet to send [21:16:58]OFD Sender: No OFD packet to send [21:17:03]OFD Sender: No OFD packet to send [21:17:08]OFD Sender: No OFD packet to send [21:17:13]OFD Sender: No OFD packet to send [21:17:18]OFD Sender: No OFD packet to send [21:17:23]OFD Sender: No OFD packet to send [21:17:28]OFD Sender: No OFD packet to send [21:17:33]OFD Sender: No OFD packet to send [21:17:38]OFD Sender: No OFD packet to send [21:17:43]OFD Sender: No OFD packet to send [21:17:48]OFD Sender: No OFD packet to send [21:17:53]OFD Sender: No OFD packet to send [21:17:58]OFD Sender: No OFD packet to send [21:18:03]OFD Sender: No OFD packet to send [21:18:08]OFD Sender: No OFD packet to send [21:18:13]OFD Sender: No OFD packet to send [21:18:18]OFD Sender: No OFD packet to send [21:18:23]OFD Sender: No OFD packet to send [21:18:28]OFD Sender: No OFD packet to send [21:18:33]OFD Sender: No OFD packet to send [21:18:38]OFD Sender: No OFD packet to send [21:18:43]OFD Sender: No OFD packet to send [21:18:48]OFD Sender: No OFD packet to send [21:18:53]OFD Sender: No OFD packet to send [21:18:58]OFD Sender: No OFD packet to send [21:19:03]OFD Sender: No OFD packet to send [21:19:08]OFD Sender: No OFD packet to send [21:19:13]OFD Sender: No OFD packet to send [21:19:18]OFD Sender: No OFD packet to send [21:19:23]OFD Sender: No OFD packet to send [21:19:28]OFD Sender: No OFD packet to send [21:19:33]OFD Sender: No OFD packet to send [21:19:38]OFD Sender: No OFD packet to send [21:19:43]OFD Sender: No OFD packet to send [21:19:48]OFD Sender: No OFD packet to send [21:19:53]OFD Sender: No OFD packet to send [21:19:57]accept exits with 7 [21:19:57]New connection [21:19:57]New thread 3067014500 created [21:19:57]Thread 3066871140 joined [21:19:57]Waiting for new connection... [21:19:57] Sock 7.Parse request [21:19:57]Sock 7.Check first char [21:19:57]Sock 7.First char is OK [21:19:57]request: POST /json_proto HTTP/1.0 [21:19:57]Method: POST [21:19:57]URL: /json_proto [21:19:57]Method is POST - this is cgi request [21:19:57]url: /json_proto [21:19:57]query_string will be loaded in cgi processing [21:19:57]execute_cgi json_proto POST (null) [21:19:57]execute_cgi path=json_proto method=POST [21:19:57]POST find Content-Length [21:19:57]Host: 172.17.39.4:8080 [21:19:57]Content-Length: 999 [21:19:57]Content-Type: application/json [21:19:57] [21:19:57]POST finish read [21:19:57]Found Content-Length = 999 [21:19:57]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129663", "tax_sys" : 0, "items" : [ { "code": "4640030091621", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange W", "price" : 138.00, "quantity" : 2.000, "sum" : 276.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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" : 2.000, "sum" : 170.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 446.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:19:57]execute_script... [21:19: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)129663", "tax_sys" : 0, "items" : [ { "code": "4640030091621", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange W", "price" : 138.00, "quantity" : 2.000, "sum" : 276.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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" : 2.000, "sum" : 170.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 446.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:19:57]POST & json_proto [21:19:57]process_json_proto [21:19:57]json parsed OK: [21:19:57]protocol is kg_v1.0 [21:19:57]action value=close_receipt [21:19:57]process_action close_receipt [21:19:57]cmd_close_receipt [21:19:57]MH_GetDate [21:19:57]Write to MH i2c: F0 00 00 B7 08 AE [21:19:57]Write i2c OK [21:19:57]MH_I2C_Read... [21:19:57]Read from MH i2c: F0 [21:19:57]MH_I2C_Read... [21:19:57]Read from MH i2c: F0 09 00 [21:19:57]MH_I2C_Read... [21:19:57]Read from MH i2c: F0 09 00 B7 08 00 7F 92 95 66 2D 25 5D 64 D6 [21:19:57]GetLastDocTimeStamp 1721077501 [21:19:57]current date 1721078399 [21:19:57]FM_GetShiftState [21:19:57]SAM_PROTO_GetShiftState [21:19:57]wFMCommunicate request_size=4 [21:19:57]MH_SAM_APDU [21:19:57]CAPDU: 80 13 01 00 [21:19:57]Write to MH i2c: E2 08 00 B8 08 80 13 01 00 00 00 00 00 3D [21:19:57]Write i2c OK [21:19:57]MH_I2C_Read... [21:19:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:19:57]Read from MH i2c: E2 [21:19:57]MH_I2C_Read... [21:19:57]Read from MH i2c: E2 0E 00 [21:19:57]MH_I2C_Read... [21:19:57]Read from MH i2c: E2 0E 00 B8 08 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 B6 [21:19:57]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [21:19:57]wFMCommunicate OK [21:19:57]SAM_PROTO_GetShiftState done [21:19:57]FM_GetShiftState done [21:19:57]opened in 1721003525 [21:19:57]opened+sec_in_day 1721089925 [21:19:57]quantity*price = 27600 [21:19:57]sum+1 = 27601 [21:19:57]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4600682557456 Напиток FLash up energy эн ж/б 0,5/0,45л 2.000 * 85.00 = 170.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 446.00 НСП 1% : 3.94 НДС 12% : 47.36 Наличными: 446.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 116 15.07.2024 21:19 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57221 ФПД: 141478817905310 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T211959&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57221&fm=141478817905310&tin=02508201610067®Number=0000000000091208&sum=44600 0 [21:19:59]StoreToDocumentArchive [21:19:59]shift 497 fd 57221 [21:19:59]save to /storage/0497/doc_00057221 [21:19:59]save last doc name /storage/0497/doc_00057221 to /storage/kkm_last_doc_name [21:19:59]save OK [21:19:59]Clear old archive folders... [21:19:59]ProcessDocumentItem done err = 0, tmpTLVsize=398 [21:19:59]tlvbuf is 0086F820 [21:19:59]SAM_PROTO_ClearQueue [21:19:59]wFMCommunicate request_size=4 [21:19:59]MH_SAM_APDU [21:19:59]CAPDU: 80 09 00 00 [21:19:59]Write to MH i2c: E2 08 00 C5 08 80 09 00 00 00 00 00 00 3F [21:19:59]Write i2c OK [21:19:59]MH_I2C_Read... [21:19:59]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:19:59]Read from MH i2c: E2 [21:19:59]MH_I2C_Read... [21:19:59]Read from MH i2c: E2 03 00 [21:19:59]MH_I2C_Read... [21:19:59]Read from MH i2c: E2 03 00 C5 08 00 90 00 41 [21:19:59]RAPDU: 90 00 [21:19:59]wFMCommunicate OK [21:19:59]SAM_PROTO_ClearQueue done [21:19:59]KKMCreateOFDPacket [21:19:59]OFDProtocolAddRootSTLVToBuf [21:19:59]FM_MakeSignedData [21:19:59]FM_MakeSignedData [21:19:59]SAM_PROTO_SignData [21:19:59]wFMCommunicate request_size=4 [21:19:59]MH_SAM_APDU [21:19:59]CAPDU: 80 0D 01 02 [21:19:59]Write to MH i2c: E2 08 00 C6 08 80 0D 01 02 00 00 00 00 47 [21:19:59]Write i2c OK [21:19:59]MH_I2C_Read... [21:19:59]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:19:59]Read from MH i2c: E2 [21:19:59]MH_I2C_Read... [21:19:59]Read from MH i2c: E2 03 00 [21:19:59]MH_I2C_Read... [21:19:59]Read from MH i2c: E2 03 00 C6 08 00 90 00 42 [21:19:59]RAPDU: 90 00 [21:19:59]wFMCommunicate OK [21:19:59]wFMCommunicate request_size=255 [21:19:59]MH_SAM_APDU [21:19:59]CAPDU: 80 0D 02 02 FA 03 00 8E 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 32 31 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 57 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 D0 6B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 34 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 D0 07 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 AE 00 00 00 00 EB 03 26 [21:19:59]Write to MH i2c: E2 02 01 C7 08 80 0D 02 02 FA 00 03 00 8E 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 32 31 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 57 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 D0 6B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 34 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 D0 07 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 AE 00 00 00 00 EB 03 26 00 00 64 [21:19:59]Write i2c OK [21:19:59]MH_I2C_Read... [21:19:59]Read from MH i2c: E2 [21:19:59]MH_I2C_Read... [21:19:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:19:59]Read from MH i2c: E2 03 00 [21:19:59]MH_I2C_Read... [21:19:59]Read from MH i2c: E2 03 00 C7 08 00 90 00 43 [21:19:59]RAPDU: 90 00 [21:19:59]wFMCommunicate OK [21:19:59]wFMCommunicate request_size=157 [21:19:59]MH_SAM_APDU [21:19:59]CAPDU: 80 0D 02 02 98 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 80 12 00 00 00 00 07 04 06 00 38 AE 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 7F 92 95 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 85 DF 00 00 35 04 06 00 80 AC 9A AF 3A 9E [21:19:59]Write to MH i2c: E2 A0 00 C8 08 80 0D 02 02 98 00 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 80 12 00 00 00 00 07 04 06 00 38 AE 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 7F 92 95 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 85 DF 00 00 35 04 06 00 80 AC 9A AF 3A 9E 00 00 CB [21:19:59]Write i2c OK [21:19:59]MH_I2C_Read... [21:19:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:19:59]Read from MH i2c: E2 [21:19:59]MH_I2C_Read... [21:19:59]Read from MH i2c: E2 03 00 [21:19:59]MH_I2C_Read... [21:19:59]Read from MH i2c: E2 03 00 C8 08 00 90 00 44 [21:19:59]RAPDU: 90 00 [21:19:59]wFMCommunicate OK [21:19:59]wFMCommunicate request_size=4 [21:19:59]MH_SAM_APDU [21:19:59]CAPDU: 80 0D 03 02 [21:19:59]Write to MH i2c: E2 08 00 C9 08 80 0D 03 02 00 00 00 00 4C [21:19:59]Write i2c OK [21:19:59]MH_I2C_Read... [21:19:59]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:19:59]Read from MH i2c: E2 [21:19:59]MH_I2C_Read... [21:19:59]Read from MH i2c: E2 0B 00 [21:19:59]MH_I2C_Read... [21:19:59]Read from MH i2c: E2 0B 00 C9 08 00 A0 95 2F ED 06 2C 96 CD 90 00 33 [21:19:59]RAPDU: A0 95 2F ED 06 2C 96 CD 90 00 [21:19:59]wFMCommunicate OK [21:19:59]SAM_PROTO_SignData done [21:19:59]FM_MakeSignedData done [21:19:59]CreateOFDProtocolMessage [21:19:59]wFMCommunicate request_size=4 [21:19:59]MH_SAM_APDU [21:19:59]CAPDU: 80 11 00 00 [21:19:59]Write to MH i2c: E2 08 00 CA 08 80 11 00 00 00 00 00 00 4C [21:19:59]Write i2c OK [21:19:59]MH_I2C_Read... [21:19:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:19:59]Read from MH i2c: E2 [21:19:59]MH_I2C_Read... [21:19:59]Read from MH i2c: E2 17 00 [21:19:59]MH_I2C_Read... [21:19:59]Read from MH i2c: E2 17 00 CA 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 A6 [21:19:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [21:19:59]wFMCommunicate OK [21:19:59]CreateOFDProtocolMessage done [21:19:59]OFDSenderStorePacket 57221 [21:19:59]StoreOFDPacket docnum=57221 [21:19: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 A2 01 00 00 42 0C 9A 01 27 FE 5A 03 01 00 03 00 8E 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 32 31 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 57 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 D0 6B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 34 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 D0 07 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 AE 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 80 12 00 00 00 00 07 04 06 00 38 AE 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 7F 92 95 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 85 DF 00 00 35 04 06 00 80 AC 9A AF 3A 9E A0 95 2F ED 06 2C 96 CD [21:19:59]CheckFolder [21:19:59]dirname=/storage/ofd_packets [21:19:59]CheckFolder done [21:19:59]ProducePacketName [21:19:59]name=ofd_packets/00057221 [21:19:59]NVStorageSaveData ofd_packets/00057221 [21:19:59]File name is /storage/ofd_packets/00057221 [21:19:59]Write 448 bytes [21:19:59]NVStorageSaveData done [21:19:59]OFDSenderStorePacket done [21:19:59]KKMCreateOFDPacket done [21:19:59]NVStorageSaveData kkm_last_timestamp [21:19:59]File name is /storage/kkm_last_timestamp [21:19:59]Write 4 bytes [21:19:59]NVStorageSaveData done [21:19:59]ExternCall_PrintAddStr [21:19:59]wPrintStart [21:19:59]Write to MH i2c: 01 00 00 CB 08 D3 [21:19:59]Write i2c OK [21:19:59]MH_I2C_Read... [21:19:59]Read from MH i2c: 01 [21:19:59]MH_I2C_Read... [21:19:59]Read from MH i2c: 01 07 00 [21:19:59]MH_I2C_Read... [21:19:59]Read from MH i2c: 01 07 00 CB 08 00 00 00 00 00 FF 0F E8 [21:20:00]RasterBufferAndPrint [21:20:00]line Счет N : (3)129663 [21:20:00]line ИНН: 02508201610067 [21:20:00]line Контрольно-Кассовый Чек [21:20:00]line ПРОДАЖА [21:20:00]line Товар: 4640030091621 [21:20:00]line Сигареты ESSE Exchange W [21:20:00]line 2.000 * 138.00 [21:20:00]line = 276.00 [21:20:00]line НДС 12% НСП 1% [21:20:00]line > о реализуемом товаре [21:20:00]line Товар: 4600682557456 [21:20:00]line Напиток FLash up energy эн ж/б 0,5/0,45л [21:20:00]line 2.000 * 85.00 [21:20:00]line = 170.00 [21:20:00]line НДС 12% НСП 1% [21:20:00]line > о реализуемом товаре [21:20:00]line ИТОГО: 446.00 [21:20:00]line НСП 1% : 3.94 [21:20:00]line НДС 12% : 47.36 [21:20:00]line Наличными: 446.00 [21:20:00]line Безнал.: 0.00 [21:20:00]line Место: АЗС № 132 "Партнер Нефть" [21:20:00]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [21:20:00]line СНО: Общий режим [21:20:00]line Чек 116 15.07.2024 21:19 [21:20:00]line Смена: 497 ФФД: 1.0 [21:20:00]line ЗНМ: 0300000132 [21:20:00]line РНМ: 0000000000091208 [21:20:00]line Версия ККМ: 001 [21:20:00]line ФМ: 0000000000874857 [21:20:00]line ФД: 57221 [21:20:00]line ФПД: 141478817905310 [21:20:00]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T211959&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57221&fm=141478817905310&tin=02508201610067®Number=0000000000091208&sum=44600 [21:20:00]line 0 [21:20:00]OFD Sender: Processing packet 57221 [packets to send 38, broken 37] [21:20:00]ProducePacketName [21:20:00]name=ofd_packets/00057221 [21:20:00]OFD Sender: To server: pG, [21:20:00]CommunicateWithHost lk.salyk.kg:30040 [21:20:00]ConnectInit lk.salyk.kg [21:20:00]written 0, free lines is 4095 [21:20:00]Connected sock=10 [21:20: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 A2 01 00 00 42 0C 9A 01 27 FE 5A 03 01 00 03 00 8E 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 32 31 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 57 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 D0 6B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 34 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 D0 07 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 AE 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 80 12 00 00 00 00 07 04 06 00 38 AE 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 7F 92 95 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 85 DF 00 00 35 04 06 00 80 AC 9A AF 3A 9E A0 95 2F ED 06 2C 96 CD [21:20: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 3C 08 47 00 57 D8 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 85 DF 00 00 F4 03 04 00 CC 38 95 66 B6 04 01 00 00 21 AD B1 CC 95 87 E1 2B [21:20:00]CommunicateWithHost err = 0 [21:20:00]CheckOFDResponse [21:20:00]1017 (14) - 77093643461234 [21:20:00]1041 (16) - 0000000000874857 [21:20:00]1040 (4) - 57221 [21:20:00]1012 (4) - 15.07.2024 14:57 [21:20:00]1206 (1) - 0 [21:20:00]OFD Sender: Remove packet 57221 [21:20:00]ProducePacketName [21:20:00]name=ofd_packets/00057221 [21:20:00]NVStorageDeleteData [21:20:00]Write to MH i2c: 01 00 00 FA 08 02 [21:20:00]Write i2c OK [21:20:00]MH_I2C_Read... [21:20:00]Read from MH i2c: 01 [21:20:00]MH_I2C_Read... [21:20:00]Read from MH i2c: 01 07 00 [21:20:00]MH_I2C_Read... [21:20:00]Read from MH i2c: 01 07 00 FA 08 00 00 00 00 00 91 0C A6 [21:20:00]RasterBufferAndPrint [21:20:00]line [21:20:00]line [21:20:00]line [21:20:00]line [21:20:00]line [21:20:00]written 0, free lines is 3223 [21:20:00]MH_Cut [21:20:00]Write to MH i2c: D1 01 00 01 09 01 DC [21:20:00]Write i2c OK [21:20:00]MH_I2C_Read... [21:20:00]Read from MH i2c: D1 [21:20:00]MH_I2C_Read... [21:20:00]Read from MH i2c: D1 01 00 [21:20:00]MH_I2C_Read... [21:20:00]Read from MH i2c: D1 01 00 01 09 00 DB [21:20:00]Write to MH i2c: 01 00 00 02 09 0B [21:20:00]Write i2c OK [21:20:00]MH_I2C_Read... [21:20:00]OFD Sender: No OFD packet to send [21:20:01]*** Cut start [21:20:01]*** Partial cut [21:20:01]*** CUTSNS_PIN = 1 [21:20:01]*** CUTSNS_PIN = 0 [21:20:01]*** Brake cut motor [21:20:02]Read from MH i2c: 01 [21:20:02]MH_I2C_Read... [21:20:02]*** Stop cut motor [21:20:02]*** Cut end [21:20:02]Read from MH i2c: 01 07 00 [21:20:02]MH_I2C_Read... [21:20:02]Read from MH i2c: 01 07 00 02 09 00 00 00 00 00 FF 0F 20 [21:20:02]process_action close_receipt done [21:20:02]requested_data is exist [21:20:02]produce_requested_data [21:20:02]requested_item fm.sn is exist - process it [21:20:02]wFMCommunicate request_size=4 [21:20:02]MH_SAM_APDU [21:20:02]CAPDU: 80 11 00 00 [21:20:02]Write to MH i2c: E2 08 00 03 09 80 11 00 00 00 00 00 00 86 [21:20:02]Write i2c OK [21:20:02]MH_I2C_Read... [21:20:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:20:02]Read from MH i2c: E2 [21:20:02]MH_I2C_Read... [21:20:02]Read from MH i2c: E2 17 00 [21:20:02]MH_I2C_Read... [21:20:02]Read from MH i2c: E2 17 00 03 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 E0 [21:20:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [21:20:02]wFMCommunicate OK [21:20:02]requested_item fd.num is exist - process it [21:20:02]SAM_PROTO_GetFieldsCounters [21:20:02]wFMCommunicate request_size=4 [21:20:02]MH_SAM_APDU [21:20:02]CAPDU: 80 13 00 00 [21:20:02]Write to MH i2c: E2 08 00 04 09 80 13 00 00 00 00 00 00 89 [21:20:02]Write i2c OK [21:20:02]MH_I2C_Read... [21:20:02]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:20:02]Read from MH i2c: E2 [21:20:02]MH_I2C_Read... [21:20:02]Read from MH i2c: E2 62 00 [21:20:02]MH_I2C_Read... [21:20:02]Read from MH i2c: E2 62 00 04 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 85 DF 00 00 0E 04 04 00 F1 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 5E [21:20: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 85 DF 00 00 0E 04 04 00 F1 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 [21:20:02]wFMCommunicate OK [21:20:02]SAM_PROTO_GetFieldsCounters done [21:20:02]requested_item shift.num is exist - process it [21:20:02]requested_item shift.opened is exist - process it [21:20:02]req_shift_opened [21:20:02]FM_GetShiftState [21:20:02]SAM_PROTO_GetShiftState [21:20:02]wFMCommunicate request_size=4 [21:20:02]MH_SAM_APDU [21:20:02]CAPDU: 80 13 01 00 [21:20:02]Write to MH i2c: E2 08 00 05 09 80 13 01 00 00 00 00 00 8B [21:20:02]Write i2c OK [21:20:02]MH_I2C_Read... [21:20:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:20:02]Read from MH i2c: E2 [21:20:02]MH_I2C_Read... [21:20:02]Read from MH i2c: E2 0E 00 [21:20:02]MH_I2C_Read... [21:20:02]Read from MH i2c: E2 0E 00 05 09 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 04 [21:20:02]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [21:20:02]wFMCommunicate OK [21:20:02]SAM_PROTO_GetShiftState done [21:20:02]FM_GetShiftState done [21:20:02]req_shift_opened done [21:20:02]requested_item shift.open_date is exist - process it [21:20:02]req_shift_open_date [21:20:02]req_shift_open_date done [21:20:02]requested_item shift.sale.total is exist - process it [21:20:02]SAM_PROTO_GetShiftData [21:20:02]wFMCommunicate request_size=4 [21:20:02]MH_SAM_APDU [21:20:02]CAPDU: 80 13 02 00 [21:20:02]Write to MH i2c: E2 08 00 06 09 80 13 02 00 00 00 00 00 8D [21:20:02]Write i2c OK [21:20:02]MH_I2C_Read... [21:20:02]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [21:20:02]Read from MH i2c: E2 [21:20:02]MH_I2C_Read... [21:20:02]Read from MH i2c: E2 FD 00 [21:20:02]MH_I2C_Read... [21:20:02]Read from MH i2c: E2 FD 00 06 09 00 B6 04 AA 04 B2 04 6E 04 04 00 74 00 00 00 69 04 9B 00 6F 04 04 00 73 00 00 00 B1 04 03 00 8D 07 35 70 04 03 00 70 E4 2D 72 04 03 00 1D 23 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 CD A1 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 20 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 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 72 [21:20:02]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 74 00 00 00 69 04 9B 00 6F 04 04 00 73 00 00 00 B1 04 03 00 8D 07 35 70 04 03 00 70 E4 2D 72 04 03 00 1D 23 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 CD A1 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 20 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 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 [21:20:02]wFMCommunicate OK [21:20:02]wFMCommunicate request_size=4 [21:20:02]MH_SAM_APDU [21:20:02]CAPDU: 80 17 00 00 [21:20:02]Write to MH i2c: E2 08 00 07 09 80 17 00 00 00 00 00 00 90 [21:20:02]Write i2c OK [21:20:02]MH_I2C_Read... [21:20:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:20:03]Read from MH i2c: E2 [21:20:03]MH_I2C_Read... [21:20:03]Read from MH i2c: E2 FD 00 [21:20:03]MH_I2C_Read... [21:20:03]Read from MH i2c: E2 FD 00 07 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 C5 [21:20:03]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 [21:20:03]wFMCommunicate OK [21:20:03]wFMCommunicate request_size=4 [21:20:03]MH_SAM_APDU [21:20:03]CAPDU: 80 17 00 00 [21:20:03]Write to MH i2c: E2 08 00 08 09 80 17 00 00 00 00 00 00 91 [21:20:03]Write i2c OK [21:20:03]MH_I2C_Read... [21:20:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:20:03]Read from MH i2c: E2 [21:20:03]MH_I2C_Read... [21:20:03]Read from MH i2c: E2 FD 00 [21:20:03]MH_I2C_Read... [21:20:03]Read from MH i2c: E2 FD 00 08 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 51 [21:20:03]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 [21:20:03]wFMCommunicate OK [21:20:03]wFMCommunicate request_size=4 [21:20:03]MH_SAM_APDU [21:20:03]CAPDU: 80 17 00 00 [21:20:03]Write to MH i2c: E2 08 00 09 09 80 17 00 00 00 00 00 00 92 [21:20:03]Write i2c OK [21:20:03]MH_I2C_Read... [21:20:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:20:03]Read from MH i2c: E2 [21:20:03]MH_I2C_Read... [21:20:03]Read from MH i2c: E2 FD 00 [21:20:03]MH_I2C_Read... [21:20:03]Read from MH i2c: E2 FD 00 09 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 01 [21:20:03]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 [21:20:03]wFMCommunicate OK [21:20:03]wFMCommunicate request_size=4 [21:20:03]MH_SAM_APDU [21:20:03]CAPDU: 80 17 00 00 [21:20:03]Write to MH i2c: E2 08 00 0A 09 80 17 00 00 00 00 00 00 93 [21:20:03]Write i2c OK [21:20:03]MH_I2C_Read... [21:20:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [21:20:03]Read from MH i2c: E2 [21:20:03]MH_I2C_Read... [21:20:03]Read from MH i2c: E2 D3 00 [21:20:03]MH_I2C_Read... [21:20:03]Read from MH i2c: E2 D3 00 0A 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 80 [21:20:03]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 [21:20:03]wFMCommunicate OK [21:20:03]SAM_PROTO_GetShiftData done [21:20:03]requested_item shift.sale.total_cash is exist - process it [21:20:03]requested_item shift.sale_refund.total is exist - process it [21:20:03]requested_item shift.sale_refund.total_cash is exist - process it [21:20:03]produce_requested_data done [21:20:03]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57221,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":34753.41,"shift.sale.total_cash":30076.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [21:20:03]process_action_free close_receipt [21:20:03]json_value_free [21:20:03]json_value_free done [21:20:03]process_json_proto returns [21:20:03]Send response to host [21:20:03]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57221,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":34753.41,"shift.sale.total_cash":30076.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [21:20:03]free response buf [21:20:03]execute_script done [21:20:03]execute_script returns [21:20:03]free content buf [21:20:03]Sock 7.Close socket [21:20:03]Sock 7.Thread stoped [21:20:05]OFD Sender: No OFD packet to send [21:20:10]OFD Sender: No OFD packet to send [21:20:15]OFD Sender: No OFD packet to send [21:20:20]OFD Sender: No OFD packet to send [21:20:25]OFD Sender: No OFD packet to send [21:20:30]OFD Sender: No OFD packet to send [21:20:35]OFD Sender: No OFD packet to send [21:20:40]OFD Sender: No OFD packet to send [21:20:45]OFD Sender: No OFD packet to send [21:20:50]OFD Sender: No OFD packet to send [21:20:55]OFD Sender: No OFD packet to send [21:21:00]OFD Sender: No OFD packet to send [21:21:06]OFD Sender: No OFD packet to send [21:21:11]OFD Sender: No OFD packet to send [21:21:16]OFD Sender: No OFD packet to send [21:21:21]OFD Sender: No OFD packet to send [21:21:26]OFD Sender: No OFD packet to send [21:21:31]OFD Sender: No OFD packet to send [21:21:36]OFD Sender: No OFD packet to send [21:21:41]OFD Sender: No OFD packet to send [21:21:46]OFD Sender: No OFD packet to send [21:21:51]OFD Sender: No OFD packet to send [21:21:56]OFD Sender: No OFD packet to send [21:22:01]OFD Sender: No OFD packet to send [21:22:06]OFD Sender: No OFD packet to send [21:22:11]OFD Sender: No OFD packet to send [21:22:16]OFD Sender: No OFD packet to send [21:22:21]OFD Sender: No OFD packet to send [21:22:26]OFD Sender: No OFD packet to send [21:22:31]OFD Sender: No OFD packet to send [21:22:36]OFD Sender: No OFD packet to send [21:22:41]OFD Sender: No OFD packet to send [21:22:46]OFD Sender: No OFD packet to send [21:22:51]OFD Sender: No OFD packet to send [21:22:56]OFD Sender: No OFD packet to send [21:23:01]OFD Sender: No OFD packet to send [21:23:06]OFD Sender: No OFD packet to send [21:23:11]OFD Sender: No OFD packet to send [21:23:16]OFD Sender: No OFD packet to send [21:23:21]OFD Sender: No OFD packet to send [21:23:26]OFD Sender: No OFD packet to send [21:23:31]OFD Sender: No OFD packet to send [21:23:36]OFD Sender: No OFD packet to send [21:23:41]OFD Sender: No OFD packet to send [21:23:46]OFD Sender: No OFD packet to send [21:23:51]OFD Sender: No OFD packet to send [21:23:56]OFD Sender: No OFD packet to send [21:24:01]OFD Sender: No OFD packet to send [21:24:06]OFD Sender: No OFD packet to send [21:24:11]OFD Sender: No OFD packet to send [21:24:16]OFD Sender: No OFD packet to send [21:24:21]OFD Sender: No OFD packet to send [21:24:26]OFD Sender: No OFD packet to send [21:24:31]OFD Sender: No OFD packet to send [21:24:36]OFD Sender: No OFD packet to send [21:24:41]OFD Sender: No OFD packet to send [21:24:46]OFD Sender: No OFD packet to send [21:24:51]OFD Sender: No OFD packet to send [21:24:56]OFD Sender: No OFD packet to send [21:25:01]OFD Sender: No OFD packet to send [21:25:06]OFD Sender: No OFD packet to send [21:25:11]OFD Sender: No OFD packet to send [21:25:16]OFD Sender: No OFD packet to send [21:25:21]OFD Sender: No OFD packet to send [21:25:26]OFD Sender: No OFD packet to send [21:25:31]OFD Sender: No OFD packet to send [21:25:36]OFD Sender: No OFD packet to send [21:25:41]OFD Sender: No OFD packet to send [21:25:46]OFD Sender: No OFD packet to send [21:25:51]OFD Sender: No OFD packet to send [21:25:56]OFD Sender: No OFD packet to send [21:26:01]OFD Sender: No OFD packet to send [21:26:06]OFD Sender: No OFD packet to send [21:26:11]OFD Sender: No OFD packet to send [21:26:16]OFD Sender: No OFD packet to send [21:26:21]OFD Sender: No OFD packet to send [21:26:26]OFD Sender: No OFD packet to send [21:26:31]OFD Sender: No OFD packet to send [21:26:36]OFD Sender: No OFD packet to send [21:26:41]OFD Sender: No OFD packet to send [21:26:46]OFD Sender: No OFD packet to send [21:26:51]OFD Sender: No OFD packet to send [21:26:56]OFD Sender: No OFD packet to send [21:27:01]OFD Sender: No OFD packet to send [21:27:06]OFD Sender: No OFD packet to send [21:27:11]OFD Sender: No OFD packet to send [21:27:16]OFD Sender: No OFD packet to send [21:27:21]OFD Sender: No OFD packet to send [21:27:26]OFD Sender: No OFD packet to send [21:27:31]OFD Sender: No OFD packet to send [21:27:36]OFD Sender: No OFD packet to send [21:27:41]OFD Sender: No OFD packet to send [21:27:46]OFD Sender: No OFD packet to send [21:27:51]OFD Sender: No OFD packet to send [21:27:56]OFD Sender: No OFD packet to send [21:28:01]OFD Sender: No OFD packet to send [21:28:06]OFD Sender: No OFD packet to send [21:28:11]OFD Sender: No OFD packet to send [21:28:16]OFD Sender: No OFD packet to send [21:28:21]OFD Sender: No OFD packet to send [21:28:26]OFD Sender: No OFD packet to send [21:28:31]OFD Sender: No OFD packet to send [21:28:36]OFD Sender: No OFD packet to send [21:28:41]OFD Sender: No OFD packet to send [21:28:46]OFD Sender: No OFD packet to send [21:28:51]OFD Sender: No OFD packet to send [21:28:56]OFD Sender: No OFD packet to send [21:29:01]OFD Sender: No OFD packet to send [21:29:06]OFD Sender: No OFD packet to send [21:29:11]OFD Sender: No OFD packet to send [21:29:16]OFD Sender: No OFD packet to send [21:29:21]OFD Sender: No OFD packet to send [21:29:26]OFD Sender: No OFD packet to send [21:29:31]OFD Sender: No OFD packet to send [21:29:36]OFD Sender: No OFD packet to send [21:29:41]OFD Sender: No OFD packet to send [21:29:46]OFD Sender: No OFD packet to send [21:29:51]OFD Sender: No OFD packet to send [21:29:56]OFD Sender: No OFD packet to send [21:30:01]OFD Sender: No OFD packet to send [21:30:06]OFD Sender: No OFD packet to send [21:30:11]OFD Sender: No OFD packet to send [21:30:16]OFD Sender: No OFD packet to send [21:30:21]OFD Sender: No OFD packet to send [21:30:26]OFD Sender: No OFD packet to send [21:30:31]OFD Sender: No OFD packet to send [21:30:36]OFD Sender: No OFD packet to send [21:30:41]OFD Sender: No OFD packet to send [21:30:46]OFD Sender: No OFD packet to send [21:30:51]OFD Sender: No OFD packet to send [21:30:56]OFD Sender: No OFD packet to send [21:31:01]OFD Sender: No OFD packet to send [21:31:06]OFD Sender: No OFD packet to send [21:31:11]OFD Sender: No OFD packet to send [21:31:16]OFD Sender: No OFD packet to send [21:31:21]OFD Sender: No OFD packet to send [21:31:26]OFD Sender: No OFD packet to send [21:31:31]OFD Sender: No OFD packet to send [21:31:36]OFD Sender: No OFD packet to send [21:31:41]OFD Sender: No OFD packet to send [21:31:46]OFD Sender: No OFD packet to send [21:31:51]OFD Sender: No OFD packet to send [21:31:56]OFD Sender: No OFD packet to send [21:32:01]OFD Sender: No OFD packet to send [21:32:06]OFD Sender: No OFD packet to send [21:32:11]OFD Sender: No OFD packet to send [21:32:16]OFD Sender: No OFD packet to send [21:32:21]OFD Sender: No OFD packet to send [21:32:26]OFD Sender: No OFD packet to send [21:32:31]OFD Sender: No OFD packet to send [21:32:36]OFD Sender: No OFD packet to send [21:32:41]OFD Sender: No OFD packet to send [21:32:46]OFD Sender: No OFD packet to send [21:32:51]OFD Sender: No OFD packet to send [21:32:56]OFD Sender: No OFD packet to send [21:33:01]OFD Sender: No OFD packet to send [21:33:06]OFD Sender: No OFD packet to send [21:33:11]OFD Sender: No OFD packet to send [21:33:16]OFD Sender: No OFD packet to send [21:33:21]OFD Sender: No OFD packet to send [21:33:26]OFD Sender: No OFD packet to send [21:33:31]OFD Sender: No OFD packet to send [21:33:36]OFD Sender: No OFD packet to send [21:33:41]OFD Sender: No OFD packet to send [21:33:46]OFD Sender: No OFD packet to send [21:33:51]OFD Sender: No OFD packet to send [21:33:56]OFD Sender: No OFD packet to send [21:34:01]OFD Sender: No OFD packet to send [21:34:06]OFD Sender: No OFD packet to send [21:34:11]OFD Sender: No OFD packet to send [21:34:16]OFD Sender: No OFD packet to send [21:34:21]OFD Sender: No OFD packet to send [21:34:26]OFD Sender: No OFD packet to send [21:34:31]OFD Sender: No OFD packet to send [21:34:36]OFD Sender: No OFD packet to send [21:34:41]OFD Sender: No OFD packet to send [21:34:46]OFD Sender: No OFD packet to send [21:34:51]OFD Sender: No OFD packet to send [21:34:56]OFD Sender: No OFD packet to send [21:35:01]OFD Sender: No OFD packet to send [21:35:06]OFD Sender: No OFD packet to send [21:35:11]OFD Sender: No OFD packet to send [21:35:16]OFD Sender: No OFD packet to send [21:35:21]OFD Sender: No OFD packet to send [21:35:26]OFD Sender: No OFD packet to send [21:35:31]OFD Sender: No OFD packet to send [21:35:36]OFD Sender: No OFD packet to send [21:35:41]OFD Sender: No OFD packet to send [21:35:46]OFD Sender: No OFD packet to send [21:35:51]OFD Sender: No OFD packet to send [21:35:56]OFD Sender: No OFD packet to send [21:36:01]OFD Sender: No OFD packet to send [21:36:06]OFD Sender: No OFD packet to send [21:36:11]OFD Sender: No OFD packet to send [21:36:16]OFD Sender: No OFD packet to send [21:36:21]OFD Sender: No OFD packet to send [21:36:26]OFD Sender: No OFD packet to send [21:36:31]OFD Sender: No OFD packet to send [21:36:36]OFD Sender: No OFD packet to send [21:36:41]OFD Sender: No OFD packet to send [21:36:46]OFD Sender: No OFD packet to send [21:36:51]OFD Sender: No OFD packet to send [21:36:56]OFD Sender: No OFD packet to send [21:37:01]OFD Sender: No OFD packet to send [21:37:06]OFD Sender: No OFD packet to send [21:37:11]OFD Sender: No OFD packet to send [21:37:16]OFD Sender: No OFD packet to send [21:37:21]OFD Sender: No OFD packet to send [21:37:26]OFD Sender: No OFD packet to send [21:37:31]OFD Sender: No OFD packet to send [21:37:36]OFD Sender: No OFD packet to send [21:37:41]OFD Sender: No OFD packet to send [21:37:46]OFD Sender: No OFD packet to send [21:37: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:22]OFD Sender: No OFD packet to send [21:40:27]OFD Sender: No OFD packet to send [21:40:32]OFD Sender: No OFD packet to send [21:40:37]OFD Sender: No OFD packet to send [21:40:42]OFD Sender: No OFD packet to send [21:40:47]OFD Sender: No OFD packet to send [21:40:52]OFD Sender: No OFD packet to send [21:40:57]OFD Sender: No OFD packet to send [21:41:02]OFD Sender: No OFD packet to send [21:41:07]OFD Sender: No OFD packet to send [21:41:12]OFD Sender: No OFD packet to send [21:41:17]OFD Sender: No OFD packet to send [21:41:22]OFD Sender: No OFD packet to send [21:41:27]OFD Sender: No OFD packet to send [21:41:32]OFD Sender: No OFD packet to send [21:41:37]OFD Sender: No OFD packet to send [21:41:42]OFD Sender: No OFD packet to send [21:41:47]OFD Sender: No OFD packet to send [21:41:52]OFD Sender: No OFD packet to send [21:41:57]OFD Sender: No OFD packet to send [21:42:02]OFD Sender: No OFD packet to send [21:42:07]OFD Sender: No OFD packet to send [21:42:12]OFD Sender: No OFD packet to send [21:42:17]OFD Sender: No OFD packet to send [21:42:22]OFD Sender: No OFD packet to send [21:42:27]OFD Sender: No OFD packet to send [21:42:32]OFD Sender: No OFD packet to send [21:42:37]OFD Sender: No OFD packet to send [21:42:42]OFD Sender: No OFD packet to send [21:42:47]OFD Sender: No OFD packet to send [21:42:52]OFD Sender: No OFD packet to send [21:42:57]OFD Sender: No OFD packet to send [21:43:02]OFD Sender: No OFD packet to send [21:43:07]OFD Sender: No OFD packet to send [21:43:12]OFD Sender: No OFD packet to send [21:43:17]OFD Sender: No OFD packet to send [21:43:22]OFD Sender: No OFD packet to send [21:43:27]OFD Sender: No OFD packet to send [21:43:32]OFD Sender: No OFD packet to send [21:43:37]OFD Sender: No OFD packet to send [21:43:42]OFD Sender: No OFD packet to send [21:43:47]OFD Sender: No OFD packet to send [21:43:52]OFD Sender: No OFD packet to send [21:43:57]OFD Sender: No OFD packet to send [21:44:02]OFD Sender: No OFD packet to send [21:44:07]OFD Sender: No OFD packet to send [21:44:12]OFD Sender: No OFD packet to send [21:44:17]OFD Sender: No OFD packet to send [21:44:22]OFD Sender: No OFD packet to send [21:44:27]OFD Sender: No OFD packet to send [21:44:32]OFD Sender: No OFD packet to send [21:44:37]OFD Sender: No OFD packet to send [21:44:42]OFD Sender: No OFD packet to send [21:44:47]OFD Sender: No OFD packet to send [21:44:52]OFD Sender: No OFD packet to send [21:44:57]OFD Sender: No OFD packet to send [21:45:02]OFD Sender: No OFD packet to send [21:45:07]OFD Sender: No OFD packet to send [21:45:12]OFD Sender: No OFD packet to send [21:45:17]OFD Sender: No OFD packet to send [21:45:22]OFD Sender: No OFD packet to send [21:45:27]OFD Sender: No OFD packet to send [21:45:32]OFD Sender: No OFD packet to send [21:45:37]OFD Sender: No OFD packet to send [21:45:42]OFD Sender: No OFD packet to send [21:45:47]OFD Sender: No OFD packet to send [21:45:52]OFD Sender: No OFD packet to send [21:45:57]OFD Sender: No OFD packet to send [21:46:02]OFD Sender: No OFD packet to send [21:46:07]OFD Sender: No OFD packet to send [21:46:12]OFD Sender: No OFD packet to send [21:46:17]OFD Sender: No OFD packet to send [21:46:22]OFD Sender: No OFD packet to send [21:46:27]OFD Sender: No OFD packet to send [21:46:32]OFD Sender: No OFD packet to send [21:46:37]OFD Sender: No OFD packet to send [21:46:42]OFD Sender: No OFD packet to send [21:46:47]OFD Sender: No OFD packet to send [21:46:52]OFD Sender: No OFD packet to send [21:46:57]OFD Sender: No OFD packet to send [21:47:02]OFD Sender: No OFD packet to send [21:47:07]OFD Sender: No OFD packet to send [21:47:12]OFD Sender: No OFD packet to send [21:47:17]OFD Sender: No OFD packet to send [21:47:22]OFD Sender: No OFD packet to send [21:47:27]OFD Sender: No OFD packet to send [21:47:32]OFD Sender: No OFD packet to send [21:47:37]OFD Sender: No OFD packet to send [21:47:40]accept exits with 9 [21:47:40]New connection [21:47:40]New thread 3066871140 created [21:47:40]Thread 3067014500 joined [21:47:40]Waiting for new connection... [21:47:40] Sock 9.Parse request [21:47:40]Sock 9.Check first char [21:47:40]Sock 9.First char is OK [21:47:40]request: POST /json_proto HTTP/1.0 [21:47:40]Method: POST [21:47:40]URL: /json_proto [21:47:40]Method is POST - this is cgi request [21:47:40]url: /json_proto [21:47:40]query_string will be loaded in cgi processing [21:47:40]execute_cgi json_proto POST (null) [21:47:40]execute_cgi path=json_proto method=POST [21:47:40]POST find Content-Length [21:47:40]Host: 172.17.39.4:8080 [21:47:40]Content-Length: 907 [21:47:40]Content-Type: application/json [21:47:40] [21:47:40]POST finish read [21:47:40]Found Content-Length = 907 [21:47:40]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129664", "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 }]} ], "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" : 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" ] } } [21:47:40]execute_script... [21:47: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)129664", "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 }]} ], "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" : 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" ] } } [21:47:40]POST & json_proto [21:47:40]process_json_proto [21:47:40]json parsed OK: [21:47:40]protocol is kg_v1.0 [21:47:40]action value=close_receipt [21:47:40]process_action close_receipt [21:47:40]cmd_close_receipt [21:47:40]MH_GetDate [21:47:40]Write to MH i2c: F0 00 00 0B 09 03 [21:47:40]Write i2c OK [21:47:40]MH_I2C_Read... [21:47:40]Read from MH i2c: F0 [21:47:40]MH_I2C_Read... [21:47:40]Read from MH i2c: F0 09 00 [21:47:40]MH_I2C_Read... [21:47:40]Read from MH i2c: F0 09 00 0B 09 00 FE 98 95 66 2D 25 5D 64 B0 [21:47:40]GetLastDocTimeStamp 1721078399 [21:47:40]current date 1721080062 [21:47:40]FM_GetShiftState [21:47:40]SAM_PROTO_GetShiftState [21:47:40]wFMCommunicate request_size=4 [21:47:40]MH_SAM_APDU [21:47:40]CAPDU: 80 13 01 00 [21:47:40]Write to MH i2c: E2 08 00 0C 09 80 13 01 00 00 00 00 00 92 [21:47:40]Write i2c OK [21:47:40]MH_I2C_Read... [21:47:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:47:40]Read from MH i2c: E2 [21:47:40]MH_I2C_Read... [21:47:40]Read from MH i2c: E2 0E 00 [21:47:40]MH_I2C_Read... [21:47:40]Read from MH i2c: E2 0E 00 0C 09 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 0B [21:47:40]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [21:47:40]wFMCommunicate OK [21:47:40]SAM_PROTO_GetShiftState done [21:47:40]FM_GetShiftState done [21:47:40]opened in 1721003525 [21:47:40]opened+sec_in_day 1721089925 [21:47:40]quantity*price = 7000 [21:47:40]sum+1 = 7001 [21:47:40]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 70.00 НСП 1% : 0.62 НДС 12% : 7.43 Наличными: 0.00 Безнал.: 70.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 117 15.07.2024 21:47 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 Платежная система: О! деньги ФМ: 0000000000874857 ФД: 57222 ФПД: 55056227400612 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T214742&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57222&fm=55056227400612&tin=02508201610067®Number=0000000000091208&sum=7000 0 [21:47:41]StoreToDocumentArchive [21:47:41]shift 497 fd 57222 [21:47:41]save to /storage/0497/doc_00057222 [21:47:41]save last doc name /storage/0497/doc_00057222 to /storage/kkm_last_doc_name [21:47:41]save OK [21:47:41]Clear old archive folders... [21:47:41]ProcessDocumentItem done err = 0, tmpTLVsize=272 [21:47:41]tlvbuf is 0086E460 [21:47:41]SAM_PROTO_ClearQueue [21:47:41]wFMCommunicate request_size=4 [21:47:41]MH_SAM_APDU [21:47:41]CAPDU: 80 09 00 00 [21:47:41]Write to MH i2c: E2 08 00 19 09 80 09 00 00 00 00 00 00 94 [21:47:41]Write i2c OK [21:47:41]MH_I2C_Read... [21:47:41]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:47:41]Read from MH i2c: E2 [21:47:41]MH_I2C_Read... [21:47:41]Read from MH i2c: E2 03 00 [21:47:41]MH_I2C_Read... [21:47:41]Read from MH i2c: E2 03 00 19 09 00 90 00 96 [21:47:41]RAPDU: 90 00 [21:47:41]wFMCommunicate OK [21:47:41]SAM_PROTO_ClearQueue done [21:47:41]KKMCreateOFDPacket [21:47:41]OFDProtocolAddRootSTLVToBuf [21:47:41]FM_MakeSignedData [21:47:41]FM_MakeSignedData [21:47:41]SAM_PROTO_SignData [21:47:41]wFMCommunicate request_size=4 [21:47:41]MH_SAM_APDU [21:47:41]CAPDU: 80 0D 01 02 [21:47:41]Write to MH i2c: E2 08 00 1A 09 80 0D 01 02 00 00 00 00 9C [21:47:41]Write i2c OK [21:47:41]MH_I2C_Read... [21:47:41]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:47:41]Read from MH i2c: E2 [21:47:41]MH_I2C_Read... [21:47:41]Read from MH i2c: E2 03 00 [21:47:41]MH_I2C_Read... [21:47:41]Read from MH i2c: E2 03 00 1A 09 00 90 00 97 [21:47:41]RAPDU: 90 00 [21:47:41]wFMCommunicate OK [21:47:41]wFMCommunicate request_size=255 [21:47:41]MH_SAM_APDU [21:47:41]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 00 00 00 00 00 00 39 04 06 00 58 1B 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 75 00 00 00 F4 03 04 00 FE 98 95 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 [21:47:41]Write to MH i2c: E2 02 01 1B 09 80 0D 02 02 FA 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 36 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 00 00 00 00 00 00 39 04 06 00 58 1B 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 75 00 00 00 F4 03 04 00 FE 98 95 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 91 [21:47:41]Write i2c OK [21:47:41]MH_I2C_Read... [21:47:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:47:42]Read from MH i2c: E2 [21:47:42]MH_I2C_Read... [21:47:42]Read from MH i2c: E2 03 00 [21:47:42]MH_I2C_Read... [21:47:42]Read from MH i2c: E2 03 00 1B 09 00 90 00 98 [21:47:42]RAPDU: 90 00 [21:47:42]wFMCommunicate OK [21:47:42]wFMCommunicate request_size=31 [21:47:42]MH_SAM_APDU [21:47:42]CAPDU: 80 0D 02 02 1A 30 30 38 37 34 38 35 37 10 04 04 00 86 DF 00 00 35 04 06 00 32 12 C6 E0 7B A4 [21:47:42]Write to MH i2c: E2 22 00 1C 09 80 0D 02 02 1A 00 30 30 38 37 34 38 35 37 10 04 04 00 86 DF 00 00 35 04 06 00 32 12 C6 E0 7B A4 00 00 3F [21:47:42]Write i2c OK [21:47:42]MH_I2C_Read... [21:47:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:47:42]Read from MH i2c: E2 [21:47:42]MH_I2C_Read... [21:47:42]Read from MH i2c: E2 03 00 [21:47:42]MH_I2C_Read... [21:47:42]Read from MH i2c: E2 03 00 1C 09 00 90 00 99 [21:47:42]RAPDU: 90 00 [21:47:42]wFMCommunicate OK [21:47:42]wFMCommunicate request_size=4 [21:47:42]MH_SAM_APDU [21:47:42]CAPDU: 80 0D 03 02 [21:47:42]Write to MH i2c: E2 08 00 1D 09 80 0D 03 02 00 00 00 00 A1 [21:47:42]Write i2c OK [21:47:42]MH_I2C_Read... [21:47:42]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:47:42]Read from MH i2c: E2 [21:47:42]MH_I2C_Read... [21:47:42]Read from MH i2c: E2 0B 00 [21:47:42]MH_I2C_Read... [21:47:42]Read from MH i2c: E2 0B 00 1D 09 00 10 54 E0 35 85 E4 22 37 90 00 DD [21:47:42]RAPDU: 10 54 E0 35 85 E4 22 37 90 00 [21:47:42]wFMCommunicate OK [21:47:42]SAM_PROTO_SignData done [21:47:42]FM_MakeSignedData done [21:47:42]CreateOFDProtocolMessage [21:47:42]wFMCommunicate request_size=4 [21:47:42]MH_SAM_APDU [21:47:42]CAPDU: 80 11 00 00 [21:47:42]Write to MH i2c: E2 08 00 1E 09 80 11 00 00 00 00 00 00 A1 [21:47:42]Write i2c OK [21:47:42]MH_I2C_Read... [21:47:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:47:42]Read from MH i2c: E2 [21:47:42]MH_I2C_Read... [21:47:42]Read from MH i2c: E2 17 00 [21:47:42]MH_I2C_Read... [21:47:42]Read from MH i2c: E2 17 00 1E 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 FB [21:47:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [21:47:42]wFMCommunicate OK [21:47:42]CreateOFDProtocolMessage done [21:47:42]OFDSenderStorePacket 57222 [21:47:42]StoreOFDPacket docnum=57222 [21:47: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 24 01 00 00 14 BC 1C 01 99 5C 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 00 00 00 00 00 00 39 04 06 00 58 1B 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 75 00 00 00 F4 03 04 00 FE 98 95 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 86 DF 00 00 35 04 06 00 32 12 C6 E0 7B A4 10 54 E0 35 85 E4 22 37 [21:47:42]CheckFolder [21:47:42]dirname=/storage/ofd_packets [21:47:42]CheckFolder done [21:47:42]ProducePacketName [21:47:42]name=ofd_packets/00057222 [21:47:42]NVStorageSaveData ofd_packets/00057222 [21:47:42]File name is /storage/ofd_packets/00057222 [21:47:42]Write 322 bytes [21:47:42]NVStorageSaveData done [21:47:42]OFDSenderStorePacket done [21:47:42]KKMCreateOFDPacket done [21:47:42]NVStorageSaveData kkm_last_timestamp [21:47:42]File name is /storage/kkm_last_timestamp [21:47:42]Write 4 bytes [21:47:42]NVStorageSaveData done [21:47:42]ExternCall_PrintAddStr [21:47:42]wPrintStart [21:47:42]Write to MH i2c: 01 00 00 1F 09 28 [21:47:42]Write i2c OK [21:47:42]MH_I2C_Read... [21:47:42]Read from MH i2c: 01 [21:47:42]MH_I2C_Read... [21:47:42]Read from MH i2c: 01 07 00 [21:47:42]MH_I2C_Read... [21:47:42]Read from MH i2c: 01 07 00 1F 09 00 00 00 00 00 FF 0F 3D [21:47:42]RasterBufferAndPrint [21:47:42]line Счет N : (3)129664 [21:47:42]line ИНН: 02508201610067 [21:47:42]line Контрольно-Кассовый Чек [21:47:42]line ПРОДАЖА [21:47:42]line Товар: 4630007400358 [21:47:42]line Семечки ДЖИНН 70г [21:47:42]line 1.000 * 70.00 [21:47:42]line = 70.00 [21:47:42]line НДС 12% НСП 1% [21:47:42]line > о реализуемом товаре [21:47:42]line ИТОГО: 70.00 [21:47:42]line НСП 1% : 0.62 [21:47:42]line НДС 12% : 7.43 [21:47:42]line Наличными: 0.00 [21:47:42]line Безнал.: 70.00 [21:47:42]line Место: АЗС № 132 "Партнер Нефть" [21:47:42]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [21:47:42]line СНО: Общий режим [21:47:42]line Чек 117 15.07.2024 21:47 [21:47:42]line Смена: 497 ФФД: 1.0 [21:47:42]line ЗНМ: 0300000132 [21:47:42]line РНМ: 0000000000091208 [21:47:42]line Версия ККМ: 001 [21:47:42]line Платежная система: О! деньги [21:47:42]line ФМ: 0000000000874857 [21:47:42]line ФД: 57222 [21:47:42]line ФПД: 55056227400612 [21:47:42]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T214742&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57222&fm=55056227400612&tin=02508201610067®Number=0000000000091208&sum=7000 [21:47:42]OFD Sender: Processing packet 57222 [packets to send 38, broken 37] [21:47:42]ProducePacketName [21:47:42]name=ofd_packets/00057222 [21:47:42]OFD Sender: To server: pG, [21:47:42]CommunicateWithHost lk.salyk.kg:30040 [21:47:42]ConnectInit lk.salyk.kg [21:47:42]line 0 [21:47:42]written 0, free lines is 4095 [21:47:42]Connected sock=10 [21:47: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 24 01 00 00 14 BC 1C 01 99 5C 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 00 00 00 00 00 00 39 04 06 00 58 1B 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 75 00 00 00 F4 03 04 00 FE 98 95 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 86 DF 00 00 35 04 06 00 32 12 C6 E0 7B A4 10 54 E0 35 85 E4 22 37 [21:47: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 F9 F4 47 00 07 97 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 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 86 DF 00 00 F4 03 04 00 4B 3F 95 66 B6 04 01 00 00 90 37 3D 51 CE 77 B2 BC [21:47:42]CommunicateWithHost err = 0 [21:47:42]CheckOFDResponse [21:47:42]1017 (14) - 77093643461234 [21:47:42]1041 (16) - 0000000000874857 [21:47:42]1040 (4) - 57222 [21:47:42]1012 (4) - 15.07.2024 15:24 [21:47:42]1206 (1) - 0 [21:47:42]OFD Sender: Remove packet 57222 [21:47:42]ProducePacketName [21:47:42]name=ofd_packets/00057222 [21:47:42]NVStorageDeleteData [21:47:43]Write to MH i2c: 01 00 00 49 09 52 [21:47:43]Write i2c OK [21:47:43]MH_I2C_Read... [21:47:43]Read from MH i2c: 01 [21:47:43]MH_I2C_Read... [21:47:43]Read from MH i2c: 01 07 00 [21:47:43]MH_I2C_Read... [21:47:43]Read from MH i2c: 01 07 00 49 09 00 00 00 00 00 F2 0C 57 [21:47:43]RasterBufferAndPrint [21:47:43]line [21:47:43]line [21:47:43]line [21:47:43]line [21:47:43]line [21:47:43]written 0, free lines is 3322 [21:47:43]MH_Cut [21:47:43]Write to MH i2c: D1 01 00 50 09 01 2B [21:47:43]Write i2c OK [21:47:43]MH_I2C_Read... [21:47:43]Read from MH i2c: D1 [21:47:43]MH_I2C_Read... [21:47:43]Read from MH i2c: D1 01 00 [21:47:43]MH_I2C_Read... [21:47:43]Read from MH i2c: D1 01 00 50 09 00 2A [21:47:43]Write to MH i2c: 01 00 00 51 09 5A [21:47:43]Write i2c OK [21:47:43]MH_I2C_Read... [21:47:43]OFD Sender: No OFD packet to send [21:47:43]*** Cut start [21:47:43]*** Partial cut [21:47:43]*** CUTSNS_PIN = 1 [21:47:43]*** CUTSNS_PIN = 0 [21:47:44]*** Brake cut motor [21:47:44]Read from MH i2c: 01 [21:47:44]MH_I2C_Read... [21:47:44]*** Stop cut motor [21:47:44]*** Cut end [21:47:44]Read from MH i2c: 01 07 00 [21:47:44]MH_I2C_Read... [21:47:44]Read from MH i2c: 01 07 00 51 09 00 00 00 00 00 FF 0F 6F [21:47:44]process_action close_receipt done [21:47:44]requested_data is exist [21:47:44]produce_requested_data [21:47:44]requested_item fm.sn is exist - process it [21:47:44]wFMCommunicate request_size=4 [21:47:44]MH_SAM_APDU [21:47:44]CAPDU: 80 11 00 00 [21:47:44]Write to MH i2c: E2 08 00 52 09 80 11 00 00 00 00 00 00 D5 [21:47:44]Write i2c OK [21:47:44]MH_I2C_Read... [21:47:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:47:44]Read from MH i2c: E2 [21:47:44]MH_I2C_Read... [21:47:44]Read from MH i2c: E2 17 00 [21:47:44]MH_I2C_Read... [21:47:44]Read from MH i2c: E2 17 00 52 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 2F [21:47:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [21:47:44]wFMCommunicate OK [21:47:44]requested_item fd.num is exist - process it [21:47:44]SAM_PROTO_GetFieldsCounters [21:47:44]wFMCommunicate request_size=4 [21:47:44]MH_SAM_APDU [21:47:44]CAPDU: 80 13 00 00 [21:47:44]Write to MH i2c: E2 08 00 53 09 80 13 00 00 00 00 00 00 D8 [21:47:44]Write i2c OK [21:47:44]MH_I2C_Read... [21:47:44]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:47:44]Read from MH i2c: E2 [21:47:44]MH_I2C_Read... [21:47:44]Read from MH i2c: E2 62 00 [21:47:44]MH_I2C_Read... [21:47:44]Read from MH i2c: E2 62 00 53 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 86 DF 00 00 0E 04 04 00 F1 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 B1 [21:47: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 86 DF 00 00 0E 04 04 00 F1 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 [21:47:44]wFMCommunicate OK [21:47:44]SAM_PROTO_GetFieldsCounters done [21:47:44]requested_item shift.num is exist - process it [21:47:44]requested_item shift.opened is exist - process it [21:47:44]req_shift_opened [21:47:44]FM_GetShiftState [21:47:44]SAM_PROTO_GetShiftState [21:47:44]wFMCommunicate request_size=4 [21:47:44]MH_SAM_APDU [21:47:44]CAPDU: 80 13 01 00 [21:47:44]Write to MH i2c: E2 08 00 54 09 80 13 01 00 00 00 00 00 DA [21:47:44]Write i2c OK [21:47:44]MH_I2C_Read... [21:47:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:47:44]Read from MH i2c: E2 [21:47:44]MH_I2C_Read... [21:47:44]Read from MH i2c: E2 0E 00 [21:47:44]MH_I2C_Read... [21:47:44]Read from MH i2c: E2 0E 00 54 09 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 53 [21:47:44]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [21:47:44]wFMCommunicate OK [21:47:44]SAM_PROTO_GetShiftState done [21:47:44]FM_GetShiftState done [21:47:44]req_shift_opened done [21:47:44]requested_item shift.open_date is exist - process it [21:47:44]req_shift_open_date [21:47:44]req_shift_open_date done [21:47:44]requested_item shift.sale.total is exist - process it [21:47:44]SAM_PROTO_GetShiftData [21:47:44]wFMCommunicate request_size=4 [21:47:44]MH_SAM_APDU [21:47:44]CAPDU: 80 13 02 00 [21:47:44]Write to MH i2c: E2 08 00 55 09 80 13 02 00 00 00 00 00 DC [21:47:44]Write i2c OK [21:47:44]MH_I2C_Read... [21:47:45]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [21:47:45]Read from MH i2c: E2 [21:47:45]MH_I2C_Read... [21:47:45]Read from MH i2c: E2 FD 00 [21:47:45]MH_I2C_Read... [21:47:45]Read from MH i2c: E2 FD 00 55 09 00 B6 04 AA 04 B2 04 6E 04 04 00 75 00 00 00 69 04 9B 00 6F 04 04 00 74 00 00 00 B1 04 03 00 E5 22 35 70 04 03 00 70 E4 2D 72 04 03 00 75 3E 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 B4 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 5E 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 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 D1 [21:47:45]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 75 00 00 00 69 04 9B 00 6F 04 04 00 74 00 00 00 B1 04 03 00 E5 22 35 70 04 03 00 70 E4 2D 72 04 03 00 75 3E 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 B4 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 5E 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 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 [21:47:45]wFMCommunicate OK [21:47:45]wFMCommunicate request_size=4 [21:47:45]MH_SAM_APDU [21:47:45]CAPDU: 80 17 00 00 [21:47:45]Write to MH i2c: E2 08 00 56 09 80 17 00 00 00 00 00 00 DF [21:47:45]Write i2c OK [21:47:45]MH_I2C_Read... [21:47:45]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:47:45]Read from MH i2c: E2 [21:47:45]MH_I2C_Read... [21:47:45]Read from MH i2c: E2 FD 00 [21:47:45]MH_I2C_Read... [21:47:45]Read from MH i2c: E2 FD 00 56 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 14 [21:47:45]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 [21:47:45]wFMCommunicate OK [21:47:45]wFMCommunicate request_size=4 [21:47:45]MH_SAM_APDU [21:47:45]CAPDU: 80 17 00 00 [21:47:45]Write to MH i2c: E2 08 00 57 09 80 17 00 00 00 00 00 00 E0 [21:47:45]Write i2c OK [21:47:45]MH_I2C_Read... [21:47:45]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:47:45]Read from MH i2c: E2 [21:47:45]MH_I2C_Read... [21:47:45]Read from MH i2c: E2 FD 00 [21:47:45]MH_I2C_Read... [21:47:45]Read from MH i2c: E2 FD 00 57 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 A0 [21:47:45]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 [21:47:45]wFMCommunicate OK [21:47:45]wFMCommunicate request_size=4 [21:47:45]MH_SAM_APDU [21:47:45]CAPDU: 80 17 00 00 [21:47:45]Write to MH i2c: E2 08 00 58 09 80 17 00 00 00 00 00 00 E1 [21:47:45]Write i2c OK [21:47:45]MH_I2C_Read... [21:47:45]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:47:46]Read from MH i2c: E2 [21:47:46]MH_I2C_Read... [21:47:46]Read from MH i2c: E2 FD 00 [21:47:46]MH_I2C_Read... [21:47:46]Read from MH i2c: E2 FD 00 58 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 50 [21:47:46]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 [21:47:46]wFMCommunicate OK [21:47:46]wFMCommunicate request_size=4 [21:47:46]MH_SAM_APDU [21:47:46]CAPDU: 80 17 00 00 [21:47:46]Write to MH i2c: E2 08 00 59 09 80 17 00 00 00 00 00 00 E2 [21:47:46]Write i2c OK [21:47:46]MH_I2C_Read... [21:47:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [21:47:46]Read from MH i2c: E2 [21:47:46]MH_I2C_Read... [21:47:46]Read from MH i2c: E2 D3 00 [21:47:46]MH_I2C_Read... [21:47:46]Read from MH i2c: E2 D3 00 59 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 CF [21:47:46]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 [21:47:46]wFMCommunicate OK [21:47:46]SAM_PROTO_GetShiftData done [21:47:46]requested_item shift.sale.total_cash is exist - process it [21:47:46]requested_item shift.sale_refund.total is exist - process it [21:47:46]requested_item shift.sale_refund.total_cash is exist - process it [21:47:46]produce_requested_data done [21:47:46]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57222,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":34823.41,"shift.sale.total_cash":30076.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [21:47:46]process_action_free close_receipt [21:47:46]json_value_free [21:47:46]json_value_free done [21:47:46]process_json_proto returns [21:47:46]Send response to host [21:47:46]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57222,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":34823.41,"shift.sale.total_cash":30076.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [21:47:46]free response buf [21:47:46]execute_script done [21:47:46]execute_script returns [21:47:46]free content buf [21:47:46]Sock 9.Close socket [21:47:46]Sock 9.Thread stoped [21:47:48]OFD Sender: No OFD packet to send [21:47:53]OFD Sender: No OFD packet to send [21:47:58]OFD Sender: No OFD packet to send [21:48:03]OFD Sender: No OFD packet to send [21:48:08]OFD Sender: No OFD packet to send [21:48:13]OFD Sender: No OFD packet to send [21:48:18]OFD Sender: No OFD packet to send [21:48:23]OFD Sender: No OFD packet to send [21:48:28]OFD Sender: No OFD packet to send [21:48:33]OFD Sender: No OFD packet to send [21:48:38]OFD Sender: No OFD packet to send [21:48:43]OFD Sender: No OFD packet to send [21:48:48]OFD Sender: No OFD packet to send [21:48:53]OFD Sender: No OFD packet to send [21:48:58]OFD Sender: No OFD packet to send [21:49:03]OFD Sender: No OFD packet to send [21:49:08]OFD Sender: No OFD packet to send [21:49:13]OFD Sender: No OFD packet to send [21:49:18]OFD Sender: No OFD packet to send [21:49:23]OFD Sender: No OFD packet to send [21:49:28]OFD Sender: No OFD packet to send [21:49:33]OFD Sender: No OFD packet to send [21:49:38]OFD Sender: No OFD packet to send [21:49:43]OFD Sender: No OFD packet to send [21:49:48]OFD Sender: No OFD packet to send [21:49:53]OFD Sender: No OFD packet to send [21:49:58]OFD Sender: No OFD packet to send [21:50:03]OFD Sender: No OFD packet to send [21:50:08]OFD Sender: No OFD packet to send [21:50:13]OFD Sender: No OFD packet to send [21:50:18]OFD Sender: No OFD packet to send [21:50:23]OFD Sender: No OFD packet to send [21:50:28]OFD Sender: No OFD packet to send [21:50:33]OFD Sender: No OFD packet to send [21:50:38]OFD Sender: No OFD packet to send [21:50:43]OFD Sender: No OFD packet to send [21:50:48]OFD Sender: No OFD packet to send [21:50:53]OFD Sender: No OFD packet to send [21:50:58]OFD Sender: No OFD packet to send [21:51:03]OFD Sender: No OFD packet to send [21:51:08]OFD Sender: No OFD packet to send [21:51:13]OFD Sender: No OFD packet to send [21:51:18]OFD Sender: No OFD packet to send [21:51:23]OFD Sender: No OFD packet to send [21:51:28]OFD Sender: No OFD packet to send [21:51:33]OFD Sender: No OFD packet to send [21:51:38]OFD Sender: No OFD packet to send [21:51:43]OFD Sender: No OFD packet to send [21:51:48]OFD Sender: No OFD packet to send [21:51:53]OFD Sender: No OFD packet to send [21:51:58]OFD Sender: No OFD packet to send [21:52:03]OFD Sender: No OFD packet to send [21:52:08]OFD Sender: No OFD packet to send [21:52:13]OFD Sender: No OFD packet to send [21:52:18]OFD Sender: No OFD packet to send [21:52:23]OFD Sender: No OFD packet to send [21:52:28]OFD Sender: No OFD packet to send [21:52:33]OFD Sender: No OFD packet to send [21:52:38]OFD Sender: No OFD packet to send [21:52:43]OFD Sender: No OFD packet to send [21:52:48]OFD Sender: No OFD packet to send [21:52:53]OFD Sender: No OFD packet to send [21:52:58]OFD Sender: No OFD packet to send [21:53:03]OFD Sender: No OFD packet to send [21:53:08]OFD Sender: No OFD packet to send [21:53:13]OFD Sender: No OFD packet to send [21:53:18]OFD Sender: No OFD packet to send [21:53:23]OFD Sender: No OFD packet to send [21:53:28]OFD Sender: No OFD packet to send [21:53:33]OFD Sender: No OFD packet to send [21:53:38]OFD Sender: No OFD packet to send [21:53:43]OFD Sender: No OFD packet to send [21:53:48]OFD Sender: No OFD packet to send [21:53:53]OFD Sender: No OFD packet to send [21:53:58]OFD Sender: No OFD packet to send [21:54:03]OFD Sender: No OFD packet to send [21:54:08]OFD Sender: No OFD packet to send [21:54:13]OFD Sender: No OFD packet to send [21:54:18]OFD Sender: No OFD packet to send [21:54:23]OFD Sender: No OFD packet to send [21:54:28]OFD Sender: No OFD packet to send [21:54:33]OFD Sender: No OFD packet to send [21:54:38]OFD Sender: No OFD packet to send [21:54:43]OFD Sender: No OFD packet to send [21:54:48]OFD Sender: No OFD packet to send [21:54:53]OFD Sender: No OFD packet to send [21:54:58]OFD Sender: No OFD packet to send [21:55:03]OFD Sender: No OFD packet to send [21:55:08]OFD Sender: No OFD packet to send [21:55:13]OFD Sender: No OFD packet to send [21:55:18]OFD Sender: No OFD packet to send [21:55:23]OFD Sender: No OFD packet to send [21:55:28]OFD Sender: No OFD packet to send [21:55:33]OFD Sender: No OFD packet to send [21:55:38]OFD Sender: No OFD packet to send [21:55:43]OFD Sender: No OFD packet to send [21:55:48]OFD Sender: No OFD packet to send [21:55:49]accept exits with 7 [21:55:49]New connection [21:55:49]New thread 3067014500 created [21:55:49]Thread 3066871140 joined [21:55:49]Waiting for new connection... [21:55:49] Sock 7.Parse request [21:55:49]Sock 7.Check first char [21:55:49]Sock 7.First char is OK [21:55:49]request: POST /json_proto HTTP/1.0 [21:55:49]Method: POST [21:55:49]URL: /json_proto [21:55:49]Method is POST - this is cgi request [21:55:49]url: /json_proto [21:55:49]query_string will be loaded in cgi processing [21:55:49]execute_cgi json_proto POST (null) [21:55:49]execute_cgi path=json_proto method=POST [21:55:49]POST find Content-Length [21:55:49]Host: 172.17.39.4:8080 [21:55:49]Content-Length: 725 [21:55:49]Content-Type: application/json [21:55:49] [21:55:49]POST finish read [21:55:49]Found Content-Length = 725 [21:55:49]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129665", "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" ] } } [21:55:49]execute_script... [21:55: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)129665", "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" ] } } [21:55:49]POST & json_proto [21:55:49]process_json_proto [21:55:49]json parsed OK: [21:55:49]protocol is kg_v1.0 [21:55:49]action value=close_receipt [21:55:49]process_action close_receipt [21:55:49]cmd_close_receipt [21:55:49]MH_GetDate [21:55:49]Write to MH i2c: F0 00 00 5A 09 52 [21:55:49]Write i2c OK [21:55:49]MH_I2C_Read... [21:55:49]Read from MH i2c: F0 [21:55:49]MH_I2C_Read... [21:55:49]Read from MH i2c: F0 09 00 [21:55:49]MH_I2C_Read... [21:55:49]Read from MH i2c: F0 09 00 5A 09 00 E7 9A 95 66 2D 25 5D 64 EA [21:55:49]GetLastDocTimeStamp 1721080062 [21:55:49]current date 1721080551 [21:55:49]FM_GetShiftState [21:55:49]SAM_PROTO_GetShiftState [21:55:49]wFMCommunicate request_size=4 [21:55:49]MH_SAM_APDU [21:55:49]CAPDU: 80 13 01 00 [21:55:49]Write to MH i2c: E2 08 00 5B 09 80 13 01 00 00 00 00 00 E1 [21:55:49]Write i2c OK [21:55:49]MH_I2C_Read... [21:55:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:55:49]Read from MH i2c: E2 [21:55:49]MH_I2C_Read... [21:55:49]Read from MH i2c: E2 0E 00 [21:55:49]MH_I2C_Read... [21:55:49]Read from MH i2c: E2 0E 00 5B 09 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 5A [21:55:49]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [21:55:49]wFMCommunicate OK [21:55:49]SAM_PROTO_GetShiftState done [21:55:49]FM_GetShiftState done [21:55:49]opened in 1721003525 [21:55:49]opened+sec_in_day 1721089925 [21:55:49]quantity*price = 14000 [21:55:49]sum+1 = 14001 [21:55:49]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 СНО: Общий режим Чек 118 15.07.2024 21:55 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57223 ФПД: 82703988327111 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T215551&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57223&fm=82703988327111&tin=02508201610067®Number=0000000000091208&sum=14000 0 [21:55:50]StoreToDocumentArchive [21:55:50]shift 497 fd 57223 [21:55:50]save to /storage/0497/doc_00057223 [21:55:50]save last doc name /storage/0497/doc_00057223 to /storage/kkm_last_doc_name [21:55:50]save OK [21:55:50]Clear old archive folders... [21:55:50]ProcessDocumentItem done err = 0, tmpTLVsize=273 [21:55:50]tlvbuf is 0086F4F0 [21:55:50]SAM_PROTO_ClearQueue [21:55:50]wFMCommunicate request_size=4 [21:55:50]MH_SAM_APDU [21:55:50]CAPDU: 80 09 00 00 [21:55:50]Write to MH i2c: E2 08 00 68 09 80 09 00 00 00 00 00 00 E3 [21:55:50]Write i2c OK [21:55:50]MH_I2C_Read... [21:55:50]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:55:50]Read from MH i2c: E2 [21:55:50]MH_I2C_Read... [21:55:50]Read from MH i2c: E2 03 00 [21:55:50]MH_I2C_Read... [21:55:50]Read from MH i2c: E2 03 00 68 09 00 90 00 E5 [21:55:50]RAPDU: 90 00 [21:55:50]wFMCommunicate OK [21:55:50]SAM_PROTO_ClearQueue done [21:55:50]KKMCreateOFDPacket [21:55:50]OFDProtocolAddRootSTLVToBuf [21:55:50]FM_MakeSignedData [21:55:50]FM_MakeSignedData [21:55:50]SAM_PROTO_SignData [21:55:50]wFMCommunicate request_size=4 [21:55:50]MH_SAM_APDU [21:55:50]CAPDU: 80 0D 01 02 [21:55:50]Write to MH i2c: E2 08 00 69 09 80 0D 01 02 00 00 00 00 EB [21:55:50]Write i2c OK [21:55:50]MH_I2C_Read... [21:55:50]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:55:50]Read from MH i2c: E2 [21:55:50]MH_I2C_Read... [21:55:50]Read from MH i2c: E2 03 00 [21:55:50]MH_I2C_Read... [21:55:50]Read from MH i2c: E2 03 00 69 09 00 90 00 E6 [21:55:50]RAPDU: 90 00 [21:55:50]wFMCommunicate OK [21:55:50]wFMCommunicate request_size=255 [21:55:50]MH_SAM_APDU [21:55:50]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 76 00 00 00 F4 03 04 00 E7 9A 95 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 [21:55:50]Write to MH i2c: E2 02 01 6A 09 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 76 00 00 00 F4 03 04 00 E7 9A 95 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 BF [21:55:50]Write i2c OK [21:55:50]MH_I2C_Read... [21:55:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:55:51]Read from MH i2c: E2 [21:55:51]MH_I2C_Read... [21:55:51]Read from MH i2c: E2 03 00 [21:55:51]MH_I2C_Read... [21:55:51]Read from MH i2c: E2 03 00 6A 09 00 90 00 E7 [21:55:51]RAPDU: 90 00 [21:55:51]wFMCommunicate OK [21:55:51]wFMCommunicate request_size=32 [21:55:51]MH_SAM_APDU [21:55:51]CAPDU: 80 0D 02 02 1B 30 30 30 38 37 34 38 35 37 10 04 04 00 87 DF 00 00 35 04 06 00 4B 38 05 D8 82 C7 [21:55:51]Write to MH i2c: E2 23 00 6B 09 80 0D 02 02 1B 00 30 30 30 38 37 34 38 35 37 10 04 04 00 87 DF 00 00 35 04 06 00 4B 38 05 D8 82 C7 00 00 61 [21:55:51]Write i2c OK [21:55:51]MH_I2C_Read... [21:55:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:55:51]Read from MH i2c: E2 [21:55:51]MH_I2C_Read... [21:55:51]Read from MH i2c: E2 03 00 [21:55:51]MH_I2C_Read... [21:55:51]Read from MH i2c: E2 03 00 6B 09 00 90 00 E8 [21:55:51]RAPDU: 90 00 [21:55:51]wFMCommunicate OK [21:55:51]wFMCommunicate request_size=4 [21:55:51]MH_SAM_APDU [21:55:51]CAPDU: 80 0D 03 02 [21:55:51]Write to MH i2c: E2 08 00 6C 09 80 0D 03 02 00 00 00 00 F0 [21:55:51]Write i2c OK [21:55:51]MH_I2C_Read... [21:55:51]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:55:51]Read from MH i2c: E2 [21:55:51]MH_I2C_Read... [21:55:51]Read from MH i2c: E2 0B 00 [21:55:51]MH_I2C_Read... [21:55:51]Read from MH i2c: E2 0B 00 6C 09 00 FE CD 40 4E 5A 09 2C 10 90 00 E9 [21:55:51]RAPDU: FE CD 40 4E 5A 09 2C 10 90 00 [21:55:51]wFMCommunicate OK [21:55:51]SAM_PROTO_SignData done [21:55:51]FM_MakeSignedData done [21:55:51]CreateOFDProtocolMessage [21:55:51]wFMCommunicate request_size=4 [21:55:51]MH_SAM_APDU [21:55:51]CAPDU: 80 11 00 00 [21:55:51]Write to MH i2c: E2 08 00 6D 09 80 11 00 00 00 00 00 00 F0 [21:55:51]Write i2c OK [21:55:51]MH_I2C_Read... [21:55:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:55:51]Read from MH i2c: E2 [21:55:51]MH_I2C_Read... [21:55:51]Read from MH i2c: E2 17 00 [21:55:51]MH_I2C_Read... [21:55:51]Read from MH i2c: E2 17 00 6D 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 4A [21:55:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [21:55:51]wFMCommunicate OK [21:55:51]CreateOFDProtocolMessage done [21:55:51]OFDSenderStorePacket 57223 [21:55:51]StoreOFDPacket docnum=57223 [21:55: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 25 01 00 00 9D A1 1D 01 01 FB 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 76 00 00 00 F4 03 04 00 E7 9A 95 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 87 DF 00 00 35 04 06 00 4B 38 05 D8 82 C7 FE CD 40 4E 5A 09 2C 10 [21:55:51]CheckFolder [21:55:51]dirname=/storage/ofd_packets [21:55:51]CheckFolder done [21:55:51]ProducePacketName [21:55:51]name=ofd_packets/00057223 [21:55:51]NVStorageSaveData ofd_packets/00057223 [21:55:51]File name is /storage/ofd_packets/00057223 [21:55:51]Write 323 bytes [21:55:51]NVStorageSaveData done [21:55:51]OFDSenderStorePacket done [21:55:51]KKMCreateOFDPacket done [21:55:51]NVStorageSaveData kkm_last_timestamp [21:55:51]File name is /storage/kkm_last_timestamp [21:55:51]Write 4 bytes [21:55:51]NVStorageSaveData done [21:55:51]ExternCall_PrintAddStr [21:55:51]wPrintStart [21:55:51]Write to MH i2c: 01 00 00 6E 09 77 [21:55:51]Write i2c OK [21:55:51]MH_I2C_Read... [21:55:51]Read from MH i2c: 01 [21:55:51]MH_I2C_Read... [21:55:51]Read from MH i2c: 01 07 00 [21:55:51]MH_I2C_Read... [21:55:51]Read from MH i2c: 01 07 00 6E 09 00 00 00 00 00 FF 0F 8C [21:55:51]RasterBufferAndPrint [21:55:51]line Счет N : (3)129665 [21:55:51]line ИНН: 02508201610067 [21:55:51]line Контрольно-Кассовый Чек [21:55:51]line ПРОДАЖА [21:55:51]line Товар: 48743570 [21:55:51]line Сигареты Winston XStyle Blue [21:55:51]line 1.000 * 140.00 [21:55:51]line = 140.00 [21:55:51]line НДС 12% НСП 1% [21:55:51]line > о реализуемом товаре [21:55:51]line ИТОГО: 140.00 [21:55:51]line НСП 1% : 1.24 [21:55:51]line НДС 12% : 14.87 [21:55:51]line Наличными: 140.00 [21:55:51]line Безнал.: 0.00 [21:55:51]line Место: АЗС № 132 "Партнер Нефть" [21:55:51]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [21:55:51]line СНО: Общий режим [21:55:51]line Чек 118 15.07.2024 21:55 [21:55:51]line Смена: 497 ФФД: 1.0 [21:55:51]line ЗНМ: 0300000132 [21:55:51]line РНМ: 0000000000091208 [21:55:51]line Версия ККМ: 001 [21:55:51]line ФМ: 0000000000874857 [21:55:51]line ФД: 57223 [21:55:51]line ФПД: 82703988327111 [21:55:51]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T215551&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57223&fm=82703988327111&tin=02508201610067®Number=0000000000091208&sum=14000 [21:55:51]line 0 [21:55:51]written 0, free lines is 4095 [21:55:51]OFD Sender: Processing packet 57223 [packets to send 38, broken 37] [21:55:51]ProducePacketName [21:55:51]name=ofd_packets/00057223 [21:55:51]OFD Sender: To server: pG, [21:55:51]CommunicateWithHost lk.salyk.kg:30040 [21:55:51]ConnectInit lk.salyk.kg [21:55:51]Connected sock=10 [21:55: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 25 01 00 00 9D A1 1D 01 01 FB 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 76 00 00 00 F4 03 04 00 E7 9A 95 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 87 DF 00 00 35 04 06 00 4B 38 05 D8 82 C7 FE CD 40 4E 5A 09 2C 10 [21:55: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 39 BC 47 00 9B 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 87 DF 00 00 F4 03 04 00 33 41 95 66 B6 04 01 00 00 A2 5C D0 CD B1 12 E1 3A [21:55:51]CommunicateWithHost err = 0 [21:55:51]CheckOFDResponse [21:55:51]1017 (14) - 77093643461234 [21:55:51]1041 (16) - 0000000000874857 [21:55:51]1040 (4) - 57223 [21:55:51]1012 (4) - 15.07.2024 15:33 [21:55:51]1206 (1) - 0 [21:55:51]OFD Sender: Remove packet 57223 [21:55:51]ProducePacketName [21:55:51]name=ofd_packets/00057223 [21:55:51]NVStorageDeleteData [21:55:51]Write to MH i2c: 01 00 00 96 09 9F [21:55:51]Write i2c OK [21:55:51]MH_I2C_Read... [21:55:51]Read from MH i2c: 01 [21:55:51]MH_I2C_Read... [21:55:51]Read from MH i2c: 01 07 00 [21:55:51]MH_I2C_Read... [21:55:51]Read from MH i2c: 01 07 00 96 09 00 00 00 00 00 F4 0C A6 [21:55:51]RasterBufferAndPrint [21:55:51]line [21:55:51]line [21:55:51]line [21:55:51]line [21:55:51]line [21:55:51]written 0, free lines is 3323 [21:55:51]MH_Cut [21:55:51]Write to MH i2c: D1 01 00 9D 09 01 78 [21:55:51]Write i2c OK [21:55:51]MH_I2C_Read... [21:55:51]Read from MH i2c: D1 [21:55:51]MH_I2C_Read... [21:55:51]Read from MH i2c: D1 01 00 [21:55:51]MH_I2C_Read... [21:55:51]Read from MH i2c: D1 01 00 9D 09 00 77 [21:55:51]Write to MH i2c: 01 00 00 9E 09 A7 [21:55:51]Write i2c OK [21:55:51]MH_I2C_Read... [21:55:52]OFD Sender: No OFD packet to send [21:55:52]*** Cut start [21:55:52]*** Partial cut [21:55:52]*** CUTSNS_PIN = 1 [21:55:52]*** CUTSNS_PIN = 0 [21:55:52]*** Brake cut motor [21:55:53]Read from MH i2c: 01 [21:55:53]MH_I2C_Read... [21:55:53]*** Stop cut motor [21:55:53]*** Cut end [21:55:53]Read from MH i2c: 01 07 00 [21:55:53]MH_I2C_Read... [21:55:53]Read from MH i2c: 01 07 00 9E 09 00 00 00 00 00 FF 0F BC [21:55:53]process_action close_receipt done [21:55:53]requested_data is exist [21:55:53]produce_requested_data [21:55:53]requested_item fm.sn is exist - process it [21:55:53]wFMCommunicate request_size=4 [21:55:53]MH_SAM_APDU [21:55:53]CAPDU: 80 11 00 00 [21:55:53]Write to MH i2c: E2 08 00 9F 09 80 11 00 00 00 00 00 00 22 [21:55:53]Write i2c OK [21:55:53]MH_I2C_Read... [21:55:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:55:53]Read from MH i2c: E2 [21:55:53]MH_I2C_Read... [21:55:53]Read from MH i2c: E2 17 00 [21:55:53]MH_I2C_Read... [21:55:53]Read from MH i2c: E2 17 00 9F 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 7C [21:55:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [21:55:53]wFMCommunicate OK [21:55:53]requested_item fd.num is exist - process it [21:55:53]SAM_PROTO_GetFieldsCounters [21:55:53]wFMCommunicate request_size=4 [21:55:53]MH_SAM_APDU [21:55:53]CAPDU: 80 13 00 00 [21:55:53]Write to MH i2c: E2 08 00 A0 09 80 13 00 00 00 00 00 00 25 [21:55:53]Write i2c OK [21:55:53]MH_I2C_Read... [21:55:53]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:55:53]Read from MH i2c: E2 [21:55:53]MH_I2C_Read... [21:55:53]Read from MH i2c: E2 62 00 [21:55:53]MH_I2C_Read... [21:55:53]Read from MH i2c: E2 62 00 A0 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 87 DF 00 00 0E 04 04 00 F1 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 02 [21:55: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 87 DF 00 00 0E 04 04 00 F1 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 [21:55:53]wFMCommunicate OK [21:55:53]SAM_PROTO_GetFieldsCounters done [21:55:53]requested_item shift.num is exist - process it [21:55:53]requested_item shift.opened is exist - process it [21:55:53]req_shift_opened [21:55:53]FM_GetShiftState [21:55:53]SAM_PROTO_GetShiftState [21:55:53]wFMCommunicate request_size=4 [21:55:53]MH_SAM_APDU [21:55:53]CAPDU: 80 13 01 00 [21:55:53]Write to MH i2c: E2 08 00 A1 09 80 13 01 00 00 00 00 00 27 [21:55:53]Write i2c OK [21:55:53]MH_I2C_Read... [21:55:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:55:53]Read from MH i2c: E2 [21:55:53]MH_I2C_Read... [21:55:53]Read from MH i2c: E2 0E 00 [21:55:53]MH_I2C_Read... [21:55:53]Read from MH i2c: E2 0E 00 A1 09 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 A0 [21:55:53]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [21:55:53]wFMCommunicate OK [21:55:53]SAM_PROTO_GetShiftState done [21:55:53]FM_GetShiftState done [21:55:53]req_shift_opened done [21:55:53]requested_item shift.open_date is exist - process it [21:55:53]req_shift_open_date [21:55:53]req_shift_open_date done [21:55:53]requested_item shift.sale.total is exist - process it [21:55:53]SAM_PROTO_GetShiftData [21:55:53]wFMCommunicate request_size=4 [21:55:53]MH_SAM_APDU [21:55:53]CAPDU: 80 13 02 00 [21:55:53]Write to MH i2c: E2 08 00 A2 09 80 13 02 00 00 00 00 00 29 [21:55:53]Write i2c OK [21:55:53]MH_I2C_Read... [21:55:53]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [21:55:53]Read from MH i2c: E2 [21:55:53]MH_I2C_Read... [21:55:53]Read from MH i2c: E2 FD 00 [21:55:53]MH_I2C_Read... [21:55:53]Read from MH i2c: E2 FD 00 A2 09 00 B6 04 AA 04 B2 04 6E 04 04 00 76 00 00 00 69 04 9B 00 6F 04 04 00 75 00 00 00 B1 04 03 00 95 59 35 70 04 03 00 20 1B 2E 72 04 03 00 75 3E 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 83 AA 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 DA 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 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 40 [21:55:53]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 76 00 00 00 69 04 9B 00 6F 04 04 00 75 00 00 00 B1 04 03 00 95 59 35 70 04 03 00 20 1B 2E 72 04 03 00 75 3E 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 83 AA 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 DA 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 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 [21:55:53]wFMCommunicate OK [21:55:53]wFMCommunicate request_size=4 [21:55:53]MH_SAM_APDU [21:55:53]CAPDU: 80 17 00 00 [21:55:53]Write to MH i2c: E2 08 00 A3 09 80 17 00 00 00 00 00 00 2C [21:55:53]Write i2c OK [21:55:53]MH_I2C_Read... [21:55:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:55:54]Read from MH i2c: E2 [21:55:54]MH_I2C_Read... [21:55:54]Read from MH i2c: E2 FD 00 [21:55:54]MH_I2C_Read... [21:55:54]Read from MH i2c: E2 FD 00 A3 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 61 [21:55:54]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 [21:55:54]wFMCommunicate OK [21:55:54]wFMCommunicate request_size=4 [21:55:54]MH_SAM_APDU [21:55:54]CAPDU: 80 17 00 00 [21:55:54]Write to MH i2c: E2 08 00 A4 09 80 17 00 00 00 00 00 00 2D [21:55:54]Write i2c OK [21:55:54]MH_I2C_Read... [21:55:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:55:54]Read from MH i2c: E2 [21:55:54]MH_I2C_Read... [21:55:54]Read from MH i2c: E2 FD 00 [21:55:54]MH_I2C_Read... [21:55:54]Read from MH i2c: E2 FD 00 A4 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 ED [21:55:54]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 [21:55:54]wFMCommunicate OK [21:55:54]wFMCommunicate request_size=4 [21:55:54]MH_SAM_APDU [21:55:54]CAPDU: 80 17 00 00 [21:55:54]Write to MH i2c: E2 08 00 A5 09 80 17 00 00 00 00 00 00 2E [21:55:54]Write i2c OK [21:55:54]MH_I2C_Read... [21:55:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:55:54]Read from MH i2c: E2 [21:55:54]MH_I2C_Read... [21:55:54]Read from MH i2c: E2 FD 00 [21:55:54]MH_I2C_Read... [21:55:54]Read from MH i2c: E2 FD 00 A5 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 9D [21:55:54]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 [21:55:54]wFMCommunicate OK [21:55:54]wFMCommunicate request_size=4 [21:55:54]MH_SAM_APDU [21:55:54]CAPDU: 80 17 00 00 [21:55:54]Write to MH i2c: E2 08 00 A6 09 80 17 00 00 00 00 00 00 2F [21:55:54]Write i2c OK [21:55:54]MH_I2C_Read... [21:55:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [21:55:54]Read from MH i2c: E2 [21:55:54]MH_I2C_Read... [21:55:54]Read from MH i2c: E2 D3 00 [21:55:54]MH_I2C_Read... [21:55:54]Read from MH i2c: E2 D3 00 A6 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 1C [21:55:54]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 [21:55:55]wFMCommunicate OK [21:55:55]SAM_PROTO_GetShiftData done [21:55:55]requested_item shift.sale.total_cash is exist - process it [21:55:55]requested_item shift.sale_refund.total is exist - process it [21:55:55]requested_item shift.sale_refund.total_cash is exist - process it [21:55:55]produce_requested_data done [21:55:55]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57223,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":34963.41,"shift.sale.total_cash":30216.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [21:55:55]process_action_free close_receipt [21:55:55]json_value_free [21:55:55]json_value_free done [21:55:55]process_json_proto returns [21:55:55]Send response to host [21:55:55]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57223,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":34963.41,"shift.sale.total_cash":30216.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [21:55:55]free response buf [21:55:55]execute_script done [21:55:55]execute_script returns [21:55:55]free content buf [21:55:55]Sock 7.Close socket [21:55:55]Sock 7.Thread stoped [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:32]accept exits with 9 [21:56:32]New connection [21:56:32]New thread 3066871140 created [21:56:32]Thread 3067014500 joined [21:56:32]Waiting for new connection... [21:56:32] Sock 9.Parse request [21:56:32]Sock 9.Check first char [21:56:32]Sock 9.First char is OK [21:56:32]request: POST /json_proto HTTP/1.0 [21:56:32]Method: POST [21:56:32]URL: /json_proto [21:56:32]Method is POST - this is cgi request [21:56:32]url: /json_proto [21:56:32]query_string will be loaded in cgi processing [21:56:32]execute_cgi json_proto POST (null) [21:56:32]execute_cgi path=json_proto method=POST [21:56:32]POST find Content-Length [21:56:32]Host: 172.17.39.4:8080 [21:56:32]Content-Length: 920 [21:56:32]Content-Type: application/json [21:56:32] [21:56:32]POST finish read [21:56:32]Found Content-Length = 920 [21:56:32]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)856153", "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" : 3.020, "sum" : 200.23, "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" : 200.23 } ] } , "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:56:32]execute_script... [21:56: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 : (1)856153", "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" : 3.020, "sum" : 200.23, "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" : 200.23 } ] } , "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:56:32]POST & json_proto [21:56:32]process_json_proto [21:56:32]json parsed OK: [21:56:32]protocol is kg_v1.0 [21:56:32]action value=close_receipt [21:56:32]process_action close_receipt [21:56:32]cmd_close_receipt [21:56:32]MH_GetDate [21:56:32]Write to MH i2c: F0 00 00 A7 09 9F [21:56:32]Write i2c OK [21:56:32]MH_I2C_Read... [21:56:32]Read from MH i2c: F0 [21:56:32]MH_I2C_Read... [21:56:32]Read from MH i2c: F0 09 00 [21:56:32]MH_I2C_Read... [21:56:32]Read from MH i2c: F0 09 00 A7 09 00 12 9B 95 66 2D 25 5D 64 63 [21:56:32]GetLastDocTimeStamp 1721080551 [21:56:32]current date 1721080594 [21:56:32]FM_GetShiftState [21:56:32]SAM_PROTO_GetShiftState [21:56:32]wFMCommunicate request_size=4 [21:56:32]MH_SAM_APDU [21:56:32]CAPDU: 80 13 01 00 [21:56:32]Write to MH i2c: E2 08 00 A8 09 80 13 01 00 00 00 00 00 2E [21:56:32]Write i2c OK [21:56:32]MH_I2C_Read... [21:56:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:56:32]Read from MH i2c: E2 [21:56:32]MH_I2C_Read... [21:56:32]Read from MH i2c: E2 0E 00 [21:56:32]MH_I2C_Read... [21:56:32]Read from MH i2c: E2 0E 00 A8 09 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 A7 [21:56:32]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [21:56:32]wFMCommunicate OK [21:56:32]SAM_PROTO_GetShiftState done [21:56:32]FM_GetShiftState done [21:56:32]opened in 1721003525 [21:56:32]opened+sec_in_day 1721089925 [21:56:32]quantity*price = 20022 [21:56:32]sum+1 = 20024 [21:56:32]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 200.23 НСП 1% : 1.77 НДС 12% : 21.26 Наличными: 0.00 Безнал.: 200.23 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 119 15.07.2024 21:56 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 Платежная система: Бакай Банк ФМ: 0000000000874857 ФД: 57224 ФПД: 28459624125696 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T215634&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57224&fm=28459624125696&tin=02508201610067®Number=0000000000091208&sum=20023 [21:56:33]StoreToDocumentArchive [21:56:33]shift 497 fd 57224 [21:56:33]save to /storage/0497/doc_00057224 [21:56:33]save last doc name /storage/0497/doc_00057224 to /storage/kkm_last_doc_name [21:56:33]save OK [21:56:33]Clear old archive folders... [21:56:33]ProcessDocumentItem done err = 0, tmpTLVsize=251 [21:56:33]tlvbuf is 0088EFF0 [21:56:33]SAM_PROTO_ClearQueue [21:56:33]wFMCommunicate request_size=4 [21:56:33]MH_SAM_APDU [21:56:33]CAPDU: 80 09 00 00 [21:56:33]Write to MH i2c: E2 08 00 B5 09 80 09 00 00 00 00 00 00 30 [21:56:33]Write i2c OK [21:56:33]MH_I2C_Read... [21:56:33]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:56:33]Read from MH i2c: E2 [21:56:33]MH_I2C_Read... [21:56:33]Read from MH i2c: E2 03 00 [21:56:33]MH_I2C_Read... [21:56:33]Read from MH i2c: E2 03 00 B5 09 00 90 00 32 [21:56:33]RAPDU: 90 00 [21:56:33]wFMCommunicate OK [21:56:33]SAM_PROTO_ClearQueue done [21:56:33]KKMCreateOFDPacket [21:56:33]OFDProtocolAddRootSTLVToBuf [21:56:33]FM_MakeSignedData [21:56:33]FM_MakeSignedData [21:56:33]SAM_PROTO_SignData [21:56:33]wFMCommunicate request_size=4 [21:56:33]MH_SAM_APDU [21:56:33]CAPDU: 80 0D 01 02 [21:56:33]Write to MH i2c: E2 08 00 B6 09 80 0D 01 02 00 00 00 00 38 [21:56:33]Write i2c OK [21:56:33]MH_I2C_Read... [21:56:33]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:56:33]Read from MH i2c: E2 [21:56:33]MH_I2C_Read... [21:56:33]Read from MH i2c: E2 03 00 [21:56:33]MH_I2C_Read... [21:56:33]Read from MH i2c: E2 03 00 B6 09 00 90 00 33 [21:56:33]RAPDU: 90 00 [21:56:33]wFMCommunicate OK [21:56:33]wFMCommunicate request_size=255 [21:56:33]MH_SAM_APDU [21:56:33]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 CC 0B 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 37 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 37 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 4E 08 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 37 4E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 77 00 00 00 F4 03 04 00 12 9B 95 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 88 DF 00 00 35 04 06 00 19 [21:56:33]Write to MH i2c: E2 02 01 B7 09 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 CC 0B 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 37 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 37 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 4E 08 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 37 4E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 77 00 00 00 F4 03 04 00 12 9B 95 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 88 DF 00 00 35 04 06 00 19 00 00 41 [21:56:33]Write i2c OK [21:56:33]MH_I2C_Read... [21:56:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:56:33]Read from MH i2c: E2 [21:56:33]MH_I2C_Read... [21:56:33]Read from MH i2c: E2 03 00 [21:56:33]MH_I2C_Read... [21:56:33]Read from MH i2c: E2 03 00 B7 09 00 90 00 34 [21:56:33]RAPDU: 90 00 [21:56:33]wFMCommunicate OK [21:56:33]wFMCommunicate request_size=10 [21:56:33]MH_SAM_APDU [21:56:33]CAPDU: 80 0D 02 02 05 E2 45 C9 55 00 [21:56:33]Write to MH i2c: E2 0D 00 B8 09 80 0D 02 02 05 00 E2 45 C9 55 00 00 00 8A [21:56:33]Write i2c OK [21:56:33]MH_I2C_Read... [21:56:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:56:34]Read from MH i2c: E2 [21:56:34]MH_I2C_Read... [21:56:34]Read from MH i2c: E2 03 00 [21:56:34]MH_I2C_Read... [21:56:34]Read from MH i2c: E2 03 00 B8 09 00 90 00 35 [21:56:34]RAPDU: 90 00 [21:56:34]wFMCommunicate OK [21:56:34]wFMCommunicate request_size=4 [21:56:34]MH_SAM_APDU [21:56:34]CAPDU: 80 0D 03 02 [21:56:34]Write to MH i2c: E2 08 00 B9 09 80 0D 03 02 00 00 00 00 3D [21:56:34]Write i2c OK [21:56:34]MH_I2C_Read... [21:56:34]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:56:34]Read from MH i2c: E2 [21:56:34]MH_I2C_Read... [21:56:34]Read from MH i2c: E2 0B 00 [21:56:34]MH_I2C_Read... [21:56:34]Read from MH i2c: E2 0B 00 B9 09 00 BB 55 E4 A6 A5 FE 18 40 90 00 D3 [21:56:34]RAPDU: BB 55 E4 A6 A5 FE 18 40 90 00 [21:56:34]wFMCommunicate OK [21:56:34]SAM_PROTO_SignData done [21:56:34]FM_MakeSignedData done [21:56:34]CreateOFDProtocolMessage [21:56:34]wFMCommunicate request_size=4 [21:56:34]MH_SAM_APDU [21:56:34]CAPDU: 80 11 00 00 [21:56:34]Write to MH i2c: E2 08 00 BA 09 80 11 00 00 00 00 00 00 3D [21:56:34]Write i2c OK [21:56:34]MH_I2C_Read... [21:56:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:56:34]Read from MH i2c: E2 [21:56:34]MH_I2C_Read... [21:56:34]Read from MH i2c: E2 17 00 [21:56:34]MH_I2C_Read... [21:56:34]Read from MH i2c: E2 17 00 BA 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 97 [21:56:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [21:56:34]wFMCommunicate OK [21:56:34]CreateOFDProtocolMessage done [21:56:34]OFDSenderStorePacket 57224 [21:56:34]StoreOFDPacket docnum=57224 [21:56: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 0F 01 00 00 DD 89 07 01 B4 20 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 CC 0B 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 37 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 37 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 4E 08 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 37 4E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 77 00 00 00 F4 03 04 00 12 9B 95 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 88 DF 00 00 35 04 06 00 19 E2 45 C9 55 00 BB 55 E4 A6 A5 FE 18 40 [21:56:34]CheckFolder [21:56:34]dirname=/storage/ofd_packets [21:56:34]CheckFolder done [21:56:34]ProducePacketName [21:56:34]name=ofd_packets/00057224 [21:56:34]NVStorageSaveData ofd_packets/00057224 [21:56:34]File name is /storage/ofd_packets/00057224 [21:56:34]Write 301 bytes [21:56:34]NVStorageSaveData done [21:56:34]OFDSenderStorePacket done [21:56:34]KKMCreateOFDPacket done [21:56:34]NVStorageSaveData kkm_last_timestamp [21:56:34]File name is /storage/kkm_last_timestamp [21:56:34]Write 4 bytes [21:56:34]NVStorageSaveData done [21:56:34]ExternCall_PrintAddStr [21:56:34]wPrintStart [21:56:34]Write to MH i2c: 01 00 00 BB 09 C4 [21:56:34]Write i2c OK [21:56:34]MH_I2C_Read... [21:56:34]Read from MH i2c: 01 [21:56:34]MH_I2C_Read... [21:56:34]Read from MH i2c: 01 07 00 [21:56:34]MH_I2C_Read... [21:56:34]Read from MH i2c: 01 07 00 BB 09 00 00 00 00 00 FF 0F D9 [21:56:34]RasterBufferAndPrint [21:56:34]line Счет N : (1)856153 [21:56:34]line ИНН: 02508201610067 [21:56:34]line Контрольно-Кассовый Чек [21:56:34]line ПРОДАЖА [21:56:34]line ТРК (МРК, ГНК) : 53 [21:56:34]line Товар: 2710124130 [21:56:34]line Аи-92-К-5 [21:56:34]line 3.020 * 66.30 [21:56:34]line = 200.23 [21:56:34]line НДС 12% НСП 1% [21:56:34]line > о реализуемом товаре [21:56:34]line ИТОГО: 200.23 [21:56:34]line НСП 1% : 1.77 [21:56:34]line НДС 12% : 21.26 [21:56:34]line Наличными: 0.00 [21:56:34]line Безнал.: 200.23 [21:56:34]line Место: АЗС № 132 "Партнер Нефть" [21:56:34]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [21:56:34]line СНО: Общий режим [21:56:34]line Чек 119 15.07.2024 21:56 [21:56:34]line Смена: 497 ФФД: 1.0 [21:56:34]line ЗНМ: 0300000132 [21:56:34]line РНМ: 0000000000091208 [21:56:34]line Версия ККМ: 001 [21:56:34]line Платежная система: Бакай Банк [21:56:34]line ФМ: 0000000000874857 [21:56:34]line ФД: 57224 [21:56:34]line ФПД: 28459624125696 [21:56:34]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T215634&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57224&fm=28459624125696&tin=02508201610067®Number=0000000000091208&sum=20023 [21:56:34]OFD Sender: Processing packet 57224 [packets to send 38, broken 37] [21:56:34]ProducePacketName [21:56:34]name=ofd_packets/00057224 [21:56:34]OFD Sender: To server: pG, [21:56:34]CommunicateWithHost lk.salyk.kg:30040 [21:56:34]ConnectInit lk.salyk.kg [21:56:34]written 0, free lines is 4095 [21:56:34]Connected sock=10 [21:56: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 0F 01 00 00 DD 89 07 01 B4 20 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 CC 0B 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 37 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 37 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 4E 08 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 37 4E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 77 00 00 00 F4 03 04 00 12 9B 95 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 88 DF 00 00 35 04 06 00 19 E2 45 C9 55 00 BB 55 E4 A6 A5 FE 18 40 [21:56: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 81 1F 47 00 4D 85 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 88 DF 00 00 F4 03 04 00 5F 41 95 66 B6 04 01 00 00 D6 02 08 44 26 CD 10 F2 [21:56:34]CommunicateWithHost err = 0 [21:56:34]CheckOFDResponse [21:56:34]1017 (14) - 77093643461234 [21:56:34]1041 (16) - 0000000000874857 [21:56:34]1040 (4) - 57224 [21:56:34]1012 (4) - 15.07.2024 15:33 [21:56:34]1206 (1) - 0 [21:56:34]OFD Sender: Remove packet 57224 [21:56:34]ProducePacketName [21:56:34]name=ofd_packets/00057224 [21:56:34]NVStorageDeleteData [21:56:34]Write to MH i2c: 01 00 00 E5 09 EE [21:56:34]Write i2c OK [21:56:34]MH_I2C_Read... [21:56:34]Read from MH i2c: 01 [21:56:34]MH_I2C_Read... [21:56:34]Read from MH i2c: 01 07 00 [21:56:34]MH_I2C_Read... [21:56:34]Read from MH i2c: 01 07 00 E5 09 00 00 00 00 00 E6 0C E7 [21:56:34]RasterBufferAndPrint [21:56:34]line [21:56:34]line [21:56:34]line [21:56:34]line [21:56:34]line [21:56:34]written 0, free lines is 3306 [21:56:34]MH_Cut [21:56:34]Write to MH i2c: D1 01 00 EC 09 01 C7 [21:56:34]Write i2c OK [21:56:34]MH_I2C_Read... [21:56:34]Read from MH i2c: D1 [21:56:34]MH_I2C_Read... [21:56:34]Read from MH i2c: D1 01 00 [21:56:34]MH_I2C_Read... [21:56:34]Read from MH i2c: D1 01 00 EC 09 00 C6 [21:56:34]Write to MH i2c: 01 00 00 ED 09 F6 [21:56:34]Write i2c OK [21:56:34]MH_I2C_Read... [21:56:35]OFD Sender: No OFD packet to send [21:56:35]*** Cut start [21:56:35]*** Partial cut [21:56:35]*** CUTSNS_PIN = 1 [21:56:35]*** CUTSNS_PIN = 0 [21:56:35]*** Brake cut motor [21:56:36]Read from MH i2c: 01 [21:56:36]MH_I2C_Read... [21:56:36]*** Stop cut motor [21:56:36]*** Cut end [21:56:36]Read from MH i2c: 01 07 00 [21:56:36]MH_I2C_Read... [21:56:36]Read from MH i2c: 01 07 00 ED 09 00 00 00 00 00 FF 0F 0B [21:56:36]process_action close_receipt done [21:56:36]requested_data is exist [21:56:36]produce_requested_data [21:56:36]requested_item fm.sn is exist - process it [21:56:36]wFMCommunicate request_size=4 [21:56:36]MH_SAM_APDU [21:56:36]CAPDU: 80 11 00 00 [21:56:36]Write to MH i2c: E2 08 00 EE 09 80 11 00 00 00 00 00 00 71 [21:56:36]Write i2c OK [21:56:36]MH_I2C_Read... [21:56:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:56:36]Read from MH i2c: E2 [21:56:36]MH_I2C_Read... [21:56:36]Read from MH i2c: E2 17 00 [21:56:36]MH_I2C_Read... [21:56:36]Read from MH i2c: E2 17 00 EE 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 CB [21:56:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [21:56:36]wFMCommunicate OK [21:56:36]requested_item fd.num is exist - process it [21:56:36]SAM_PROTO_GetFieldsCounters [21:56:36]wFMCommunicate request_size=4 [21:56:36]MH_SAM_APDU [21:56:36]CAPDU: 80 13 00 00 [21:56:36]Write to MH i2c: E2 08 00 EF 09 80 13 00 00 00 00 00 00 74 [21:56:36]Write i2c OK [21:56:36]MH_I2C_Read... [21:56:36]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:56:36]Read from MH i2c: E2 [21:56:36]MH_I2C_Read... [21:56:36]Read from MH i2c: E2 62 00 [21:56:36]MH_I2C_Read... [21:56:36]Read from MH i2c: E2 62 00 EF 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 88 DF 00 00 0E 04 04 00 F1 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 55 [21:56: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 88 DF 00 00 0E 04 04 00 F1 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 [21:56:36]wFMCommunicate OK [21:56:36]SAM_PROTO_GetFieldsCounters done [21:56:36]requested_item shift.num is exist - process it [21:56:36]requested_item shift.opened is exist - process it [21:56:36]req_shift_opened [21:56:36]FM_GetShiftState [21:56:36]SAM_PROTO_GetShiftState [21:56:36]wFMCommunicate request_size=4 [21:56:36]MH_SAM_APDU [21:56:36]CAPDU: 80 13 01 00 [21:56:36]Write to MH i2c: E2 08 00 F0 09 80 13 01 00 00 00 00 00 76 [21:56:36]Write i2c OK [21:56:36]MH_I2C_Read... [21:56:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:56:36]Read from MH i2c: E2 [21:56:36]MH_I2C_Read... [21:56:36]Read from MH i2c: E2 0E 00 [21:56:36]MH_I2C_Read... [21:56:36]Read from MH i2c: E2 0E 00 F0 09 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 EF [21:56:36]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [21:56:36]wFMCommunicate OK [21:56:36]SAM_PROTO_GetShiftState done [21:56:36]FM_GetShiftState done [21:56:36]req_shift_opened done [21:56:36]requested_item shift.open_date is exist - process it [21:56:36]req_shift_open_date [21:56:36]req_shift_open_date done [21:56:36]requested_item shift.sale.total is exist - process it [21:56:36]SAM_PROTO_GetShiftData [21:56:36]wFMCommunicate request_size=4 [21:56:36]MH_SAM_APDU [21:56:36]CAPDU: 80 13 02 00 [21:56:36]Write to MH i2c: E2 08 00 F1 09 80 13 02 00 00 00 00 00 78 [21:56:36]Write i2c OK [21:56:36]MH_I2C_Read... [21:56:36]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [21:56:36]Read from MH i2c: E2 [21:56:36]MH_I2C_Read... [21:56:36]Read from MH i2c: E2 FD 00 [21:56:36]MH_I2C_Read... [21:56:36]Read from MH i2c: E2 FD 00 F1 09 00 B6 04 AA 04 B2 04 6E 04 04 00 77 00 00 00 69 04 9B 00 6F 04 04 00 76 00 00 00 B1 04 03 00 CC A7 35 70 04 03 00 20 1B 2E 72 04 03 00 AC 8C 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 D1 B2 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 8B 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 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 A3 [21:56:36]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 77 00 00 00 69 04 9B 00 6F 04 04 00 76 00 00 00 B1 04 03 00 CC A7 35 70 04 03 00 20 1B 2E 72 04 03 00 AC 8C 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 D1 B2 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 8B 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 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 [21:56:36]wFMCommunicate OK [21:56:36]wFMCommunicate request_size=4 [21:56:36]MH_SAM_APDU [21:56:36]CAPDU: 80 17 00 00 [21:56:36]Write to MH i2c: E2 08 00 F2 09 80 17 00 00 00 00 00 00 7B [21:56:36]Write i2c OK [21:56:36]MH_I2C_Read... [21:56:37]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:56:37]Read from MH i2c: E2 [21:56:37]MH_I2C_Read... [21:56:37]Read from MH i2c: E2 FD 00 [21:56:37]MH_I2C_Read... [21:56:37]Read from MH i2c: E2 FD 00 F2 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 B0 [21:56:37]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 [21:56:37]wFMCommunicate OK [21:56:37]wFMCommunicate request_size=4 [21:56:37]MH_SAM_APDU [21:56:37]CAPDU: 80 17 00 00 [21:56:37]Write to MH i2c: E2 08 00 F3 09 80 17 00 00 00 00 00 00 7C [21:56:37]Write i2c OK [21:56:37]MH_I2C_Read... [21:56:37]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:56:37]Read from MH i2c: E2 [21:56:37]MH_I2C_Read... [21:56:37]Read from MH i2c: E2 FD 00 [21:56:37]MH_I2C_Read... [21:56:37]Read from MH i2c: E2 FD 00 F3 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 3C [21:56:37]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 [21:56:37]wFMCommunicate OK [21:56:37]wFMCommunicate request_size=4 [21:56:37]MH_SAM_APDU [21:56:37]CAPDU: 80 17 00 00 [21:56:37]Write to MH i2c: E2 08 00 F4 09 80 17 00 00 00 00 00 00 7D [21:56:37]Write i2c OK [21:56:37]MH_I2C_Read... [21:56:37]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:56:37]Read from MH i2c: E2 [21:56:37]MH_I2C_Read... [21:56:37]Read from MH i2c: E2 FD 00 [21:56:37]MH_I2C_Read... [21:56:37]Read from MH i2c: E2 FD 00 F4 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 EC [21:56:37]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 [21:56:37]wFMCommunicate OK [21:56:37]wFMCommunicate request_size=4 [21:56:37]MH_SAM_APDU [21:56:37]CAPDU: 80 17 00 00 [21:56:37]Write to MH i2c: E2 08 00 F5 09 80 17 00 00 00 00 00 00 7E [21:56:37]Write i2c OK [21:56:37]MH_I2C_Read... [21:56:38]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [21:56:38]Read from MH i2c: E2 [21:56:38]MH_I2C_Read... [21:56:38]Read from MH i2c: E2 D3 00 [21:56:38]MH_I2C_Read... [21:56:38]Read from MH i2c: E2 D3 00 F5 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 6B [21:56:38]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 [21:56:38]wFMCommunicate OK [21:56:38]SAM_PROTO_GetShiftData done [21:56:38]requested_item shift.sale.total_cash is exist - process it [21:56:38]requested_item shift.sale_refund.total is exist - process it [21:56:38]requested_item shift.sale_refund.total_cash is exist - process it [21:56:38]produce_requested_data done [21:56:38]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57224,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":35163.64,"shift.sale.total_cash":30216.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [21:56:38]process_action_free close_receipt [21:56:38]json_value_free [21:56:38]json_value_free done [21:56:38]process_json_proto returns [21:56:38]Send response to host [21:56:38]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57224,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":35163.64,"shift.sale.total_cash":30216.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [21:56:38]free response buf [21:56:38]execute_script done [21:56:38]execute_script returns [21:56:38]free content buf [21:56:38]Sock 9.Close socket [21:56:38]Sock 9.Thread stoped [21:56:40]OFD Sender: No OFD packet to send [21:56:45]OFD Sender: No OFD packet to send [21:56:50]OFD Sender: No OFD packet to send [21:56:55]OFD Sender: No OFD packet to send [21:56:59]accept exits with 7 [21:56:59]New connection [21:56:59]New thread 3067014500 created [21:56:59]Thread 3066871140 joined [21:56:59]Waiting for new connection... [21:56:59] Sock 7.Parse request [21:56:59]Sock 7.Check first char [21:56:59]Sock 7.First char is OK [21:56:59]request: POST /json_proto HTTP/1.0 [21:56:59]Method: POST [21:56:59]URL: /json_proto [21:56:59]Method is POST - this is cgi request [21:56:59]url: /json_proto [21:56:59]query_string will be loaded in cgi processing [21:56:59]execute_cgi json_proto POST (null) [21:56:59]execute_cgi path=json_proto method=POST [21:56:59]POST find Content-Length [21:56:59]Host: 172.17.39.4:8080 [21:56:59]Content-Length: 944 [21:56:59]Content-Type: application/json [21:56:59] [21:56:59]POST finish read [21:56:59]Found Content-Length = 944 [21:56:59]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)856154", "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" : 4.530, "sum" : 300.34, "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" : 300.34 } ] } , "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:56:59]execute_script... [21:56:59]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)856154", "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" : 4.530, "sum" : 300.34, "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" : 300.34 } ] } , "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:56:59]POST & json_proto [21:56:59]process_json_proto [21:56:59]json parsed OK: [21:56:59]protocol is kg_v1.0 [21:56:59]action value=close_receipt [21:56:59]process_action close_receipt [21:56:59]cmd_close_receipt [21:56:59]MH_GetDate [21:56:59]Write to MH i2c: F0 00 00 F6 09 EE [21:56:59]Write i2c OK [21:56:59]MH_I2C_Read... [21:56:59]Read from MH i2c: F0 [21:56:59]MH_I2C_Read... [21:56:59]Read from MH i2c: F0 09 00 [21:56:59]MH_I2C_Read... [21:56:59]Read from MH i2c: F0 09 00 F6 09 00 2D 9B 95 66 2D 25 5D 64 CD [21:56:59]GetLastDocTimeStamp 1721080594 [21:56:59]current date 1721080621 [21:56:59]FM_GetShiftState [21:56:59]SAM_PROTO_GetShiftState [21:56:59]wFMCommunicate request_size=4 [21:56:59]MH_SAM_APDU [21:56:59]CAPDU: 80 13 01 00 [21:56:59]Write to MH i2c: E2 08 00 F7 09 80 13 01 00 00 00 00 00 7D [21:56:59]Write i2c OK [21:56:59]MH_I2C_Read... [21:57:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:57:00]Read from MH i2c: E2 [21:57:00]MH_I2C_Read... [21:57:00]Read from MH i2c: E2 0E 00 [21:57:00]MH_I2C_Read... [21:57:00]Read from MH i2c: E2 0E 00 F7 09 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 F6 [21:57:00]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [21:57:00]wFMCommunicate OK [21:57:00]SAM_PROTO_GetShiftState done [21:57:00]FM_GetShiftState done [21:57:00]opened in 1721003525 [21:57:00]opened+sec_in_day 1721089925 [21:57:00]quantity*price = 30033 [21:57:00]sum+1 = 30035 [21:57:00]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 300.34 НСП 1% : 2.66 НДС 12% : 31.89 Наличными: 0.00 Безнал.: 300.34 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 120 15.07.2024 21:57 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000874857 ФД: 57225 ФПД: 173552199939963 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T215701&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57225&fm=173552199939963&tin=02508201610067®Number=0000000000091208&sum=30034 [21:57:01]StoreToDocumentArchive [21:57:01]shift 497 fd 57225 [21:57:01]save to /storage/0497/doc_00057225 [21:57:01]save last doc name /storage/0497/doc_00057225 to /storage/kkm_last_doc_name [21:57:01]save OK [21:57:01]Clear old archive folders... [21:57:01]ProcessDocumentItem done err = 0, tmpTLVsize=251 [21:57:01]tlvbuf is B6F64890 [21:57:01]SAM_PROTO_ClearQueue [21:57:01]wFMCommunicate request_size=4 [21:57:01]MH_SAM_APDU [21:57:01]CAPDU: 80 09 00 00 [21:57:01]Write to MH i2c: E2 08 00 04 0A 80 09 00 00 00 00 00 00 80 [21:57:01]Write i2c OK [21:57:01]MH_I2C_Read... [21:57:01]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:57:01]Read from MH i2c: E2 [21:57:01]MH_I2C_Read... [21:57:01]Read from MH i2c: E2 03 00 [21:57:01]MH_I2C_Read... [21:57:01]Read from MH i2c: E2 03 00 04 0A 00 90 00 82 [21:57:01]RAPDU: 90 00 [21:57:01]wFMCommunicate OK [21:57:01]SAM_PROTO_ClearQueue done [21:57:01]KKMCreateOFDPacket [21:57:01]OFDProtocolAddRootSTLVToBuf [21:57:01]FM_MakeSignedData [21:57:01]FM_MakeSignedData [21:57:01]SAM_PROTO_SignData [21:57:01]wFMCommunicate request_size=4 [21:57:01]MH_SAM_APDU [21:57:01]CAPDU: 80 0D 01 02 [21:57:01]Write to MH i2c: E2 08 00 05 0A 80 0D 01 02 00 00 00 00 88 [21:57:01]Write i2c OK [21:57:01]MH_I2C_Read... [21:57:01]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:57:01]Read from MH i2c: E2 [21:57:01]MH_I2C_Read... [21:57:01]Read from MH i2c: E2 03 00 [21:57:01]MH_I2C_Read... [21:57:01]Read from MH i2c: E2 03 00 05 0A 00 90 00 83 [21:57:01]RAPDU: 90 00 [21:57:01]wFMCommunicate OK [21:57:01]wFMCommunicate request_size=255 [21:57:01]MH_SAM_APDU [21:57:01]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 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 52 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 00 00 00 00 00 00 39 04 06 00 52 75 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 78 00 00 00 F4 03 04 00 2D 9B 95 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 89 DF 00 00 35 04 06 00 9D [21:57:01]Write to MH i2c: E2 02 01 06 0A 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 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 52 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 00 00 00 00 00 00 39 04 06 00 52 75 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 78 00 00 00 F4 03 04 00 2D 9B 95 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 89 DF 00 00 35 04 06 00 9D 00 00 69 [21:57:01]Write i2c OK [21:57:01]MH_I2C_Read... [21:57:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:57:01]Read from MH i2c: E2 [21:57:01]MH_I2C_Read... [21:57:01]Read from MH i2c: E2 03 00 [21:57:01]MH_I2C_Read... [21:57:01]Read from MH i2c: E2 03 00 06 0A 00 90 00 84 [21:57:01]RAPDU: 90 00 [21:57:01]wFMCommunicate OK [21:57:01]wFMCommunicate request_size=10 [21:57:01]MH_SAM_APDU [21:57:01]CAPDU: 80 0D 02 02 05 D8 45 3A 37 7B [21:57:01]Write to MH i2c: E2 0D 00 07 0A 80 0D 02 02 05 00 D8 45 3A 37 7B 00 00 9E [21:57:01]Write i2c OK [21:57:01]MH_I2C_Read... [21:57:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:57:01]Read from MH i2c: E2 [21:57:01]MH_I2C_Read... [21:57:01]Read from MH i2c: E2 03 00 [21:57:01]MH_I2C_Read... [21:57:01]Read from MH i2c: E2 03 00 07 0A 00 90 00 85 [21:57:01]RAPDU: 90 00 [21:57:01]wFMCommunicate OK [21:57:01]wFMCommunicate request_size=4 [21:57:01]MH_SAM_APDU [21:57:01]CAPDU: 80 0D 03 02 [21:57:01]Write to MH i2c: E2 08 00 08 0A 80 0D 03 02 00 00 00 00 8D [21:57:01]Write i2c OK [21:57:01]MH_I2C_Read... [21:57:01]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:57:01]Read from MH i2c: E2 [21:57:01]MH_I2C_Read... [21:57:01]Read from MH i2c: E2 0B 00 [21:57:01]MH_I2C_Read... [21:57:01]Read from MH i2c: E2 0B 00 08 0A 00 94 77 9C 99 BF 84 B9 74 90 00 3E [21:57:01]RAPDU: 94 77 9C 99 BF 84 B9 74 90 00 [21:57:01]wFMCommunicate OK [21:57:01]SAM_PROTO_SignData done [21:57:01]FM_MakeSignedData done [21:57:01]CreateOFDProtocolMessage [21:57:01]wFMCommunicate request_size=4 [21:57:01]MH_SAM_APDU [21:57:01]CAPDU: 80 11 00 00 [21:57:01]Write to MH i2c: E2 08 00 09 0A 80 11 00 00 00 00 00 00 8D [21:57:01]Write i2c OK [21:57:01]MH_I2C_Read... [21:57:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:57:01]Read from MH i2c: E2 [21:57:01]MH_I2C_Read... [21:57:01]Read from MH i2c: E2 17 00 [21:57:01]MH_I2C_Read... [21:57:01]Read from MH i2c: E2 17 00 09 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 E7 [21:57:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [21:57:01]wFMCommunicate OK [21:57:01]CreateOFDProtocolMessage done [21:57:01]OFDSenderStorePacket 57225 [21:57:01]StoreOFDPacket docnum=57225 [21:57: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 0F 01 00 00 C1 CC 07 01 39 A4 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 52 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 00 00 00 00 00 00 39 04 06 00 52 75 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 78 00 00 00 F4 03 04 00 2D 9B 95 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 89 DF 00 00 35 04 06 00 9D D8 45 3A 37 7B 94 77 9C 99 BF 84 B9 74 [21:57:01]CheckFolder [21:57:01]dirname=/storage/ofd_packets [21:57:01]CheckFolder done [21:57:01]ProducePacketName [21:57:01]name=ofd_packets/00057225 [21:57:01]NVStorageSaveData ofd_packets/00057225 [21:57:01]File name is /storage/ofd_packets/00057225 [21:57:01]Write 301 bytes [21:57:01]NVStorageSaveData done [21:57:01]OFDSenderStorePacket done [21:57:01]KKMCreateOFDPacket done [21:57:01]NVStorageSaveData kkm_last_timestamp [21:57:01]File name is /storage/kkm_last_timestamp [21:57:01]Write 4 bytes [21:57:01]NVStorageSaveData done [21:57:01]ExternCall_PrintAddStr [21:57:01]wPrintStart [21:57:01]Write to MH i2c: 01 00 00 0A 0A 14 [21:57:01]Write i2c OK [21:57:01]MH_I2C_Read... [21:57:01]Read from MH i2c: 01 [21:57:01]MH_I2C_Read... [21:57:01]Read from MH i2c: 01 07 00 [21:57:01]MH_I2C_Read... [21:57:01]Read from MH i2c: 01 07 00 0A 0A 00 00 00 00 00 FF 0F 29 [21:57:01]RasterBufferAndPrint [21:57:01]line Счет N : (1)856154 [21:57:01]line ИНН: 02508201610067 [21:57:01]line Контрольно-Кассовый Чек [21:57:01]line ПРОДАЖА [21:57:01]line ТРК (МРК, ГНК) : 63 [21:57:01]line Товар: 2710124130 [21:57:01]line Аи-92-К-5 [21:57:01]line 4.530 * 66.30 [21:57:01]line = 300.34 [21:57:01]line НДС 12% НСП 1% [21:57:01]line > о реализуемом товаре [21:57:01]line ИТОГО: 300.34 [21:57:01]line НСП 1% : 2.66 [21:57:01]line НДС 12% : 31.89 [21:57:01]line Наличными: 0.00 [21:57:01]line Безнал.: 300.34 [21:57:01]line Место: АЗС № 132 "Партнер Нефть" [21:57:01]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [21:57:01]line СНО: Общий режим [21:57:01]line Чек 120 15.07.2024 21:57 [21:57:01]line Смена: 497 ФФД: 1.0 [21:57:01]line ЗНМ: 0300000132 [21:57:01]line РНМ: 0000000000091208 [21:57:01]line Версия ККМ: 001 [21:57:01]line Платежная система: АКБ Кыргызстан [21:57:01]line ФМ: 0000000000874857 [21:57:01]line ФД: 57225 [21:57:01]line ФПД: 173552199939963 [21:57:01]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T215701&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57225&fm=173552199939963&tin=02508201610067®Number=0000000000091208&sum=30034 [21:57:02]OFD Sender: Processing packet 57225 [packets to send 38, broken 37] [21:57:02]ProducePacketName [21:57:02]name=ofd_packets/00057225 [21:57:02]OFD Sender: To server: pG, [21:57:02]CommunicateWithHost lk.salyk.kg:30040 [21:57:02]ConnectInit lk.salyk.kg [21:57:02]written 0, free lines is 4095 [21:57:02]Connected sock=10 [21:57: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 C1 CC 07 01 39 A4 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 52 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 00 00 00 00 00 00 39 04 06 00 52 75 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 78 00 00 00 F4 03 04 00 2D 9B 95 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 89 DF 00 00 35 04 06 00 9D D8 45 3A 37 7B 94 77 9C 99 BF 84 B9 74 [21:57: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 44 BC 47 00 23 3D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 89 DF 00 00 F4 03 04 00 7A 41 95 66 B6 04 01 00 00 38 52 65 E8 43 5E CF CF [21:57:02]CommunicateWithHost err = 0 [21:57:02]CheckOFDResponse [21:57:02]1017 (14) - 77093643461234 [21:57:02]1041 (16) - 0000000000874857 [21:57:02]1040 (4) - 57225 [21:57:02]1012 (4) - 15.07.2024 15:34 [21:57:02]1206 (1) - 0 [21:57:02]OFD Sender: Remove packet 57225 [21:57:02]ProducePacketName [21:57:02]name=ofd_packets/00057225 [21:57:02]NVStorageDeleteData [21:57:02]Write to MH i2c: 01 00 00 34 0A 3E [21:57:02]Write i2c OK [21:57:02]MH_I2C_Read... [21:57:02]Read from MH i2c: 01 [21:57:02]MH_I2C_Read... [21:57:02]Read from MH i2c: 01 07 00 [21:57:02]MH_I2C_Read... [21:57:02]Read from MH i2c: 01 07 00 34 0A 00 00 00 00 00 F2 0C 43 [21:57:02]RasterBufferAndPrint [21:57:02]line [21:57:02]line [21:57:02]line [21:57:02]line [21:57:02]line [21:57:02]written 0, free lines is 3320 [21:57:02]MH_Cut [21:57:02]Write to MH i2c: D1 01 00 3B 0A 01 17 [21:57:02]Write i2c OK [21:57:02]MH_I2C_Read... [21:57:02]Read from MH i2c: D1 [21:57:02]MH_I2C_Read... [21:57:02]Read from MH i2c: D1 01 00 [21:57:02]MH_I2C_Read... [21:57:02]Read from MH i2c: D1 01 00 3B 0A 00 16 [21:57:02]Write to MH i2c: 01 00 00 3C 0A 46 [21:57:02]Write i2c OK [21:57:02]MH_I2C_Read... [21:57:02]OFD Sender: No OFD packet to send [21:57:03]*** Cut start [21:57:03]*** Partial cut [21:57:03]*** CUTSNS_PIN = 1 [21:57:03]*** CUTSNS_PIN = 0 [21:57:03]*** Brake cut motor [21:57:03]Read from MH i2c: 01 [21:57:03]MH_I2C_Read... [21:57:03]*** Stop cut motor [21:57:03]*** Cut end [21:57:03]Read from MH i2c: 01 07 00 [21:57:03]MH_I2C_Read... [21:57:03]Read from MH i2c: 01 07 00 3C 0A 00 00 00 00 00 FF 0F 5B [21:57:03]process_action close_receipt done [21:57:03]requested_data is exist [21:57:03]produce_requested_data [21:57:03]requested_item fm.sn is exist - process it [21:57:03]wFMCommunicate request_size=4 [21:57:03]MH_SAM_APDU [21:57:03]CAPDU: 80 11 00 00 [21:57:03]Write to MH i2c: E2 08 00 3D 0A 80 11 00 00 00 00 00 00 C1 [21:57:03]Write i2c OK [21:57:03]MH_I2C_Read... [21:57:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:57:03]Read from MH i2c: E2 [21:57:03]MH_I2C_Read... [21:57:03]Read from MH i2c: E2 17 00 [21:57:03]MH_I2C_Read... [21:57:03]Read from MH i2c: E2 17 00 3D 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 1B [21:57:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [21:57:03]wFMCommunicate OK [21:57:03]requested_item fd.num is exist - process it [21:57:03]SAM_PROTO_GetFieldsCounters [21:57:03]wFMCommunicate request_size=4 [21:57:03]MH_SAM_APDU [21:57:03]CAPDU: 80 13 00 00 [21:57:03]Write to MH i2c: E2 08 00 3E 0A 80 13 00 00 00 00 00 00 C4 [21:57:03]Write i2c OK [21:57:03]MH_I2C_Read... [21:57:03]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:57:03]Read from MH i2c: E2 [21:57:03]MH_I2C_Read... [21:57:03]Read from MH i2c: E2 62 00 [21:57:03]MH_I2C_Read... [21:57:04]Read from MH i2c: E2 62 00 3E 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 89 DF 00 00 0E 04 04 00 F1 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 A9 [21:57: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 89 DF 00 00 0E 04 04 00 F1 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 [21:57:04]wFMCommunicate OK [21:57:04]SAM_PROTO_GetFieldsCounters done [21:57:04]requested_item shift.num is exist - process it [21:57:04]requested_item shift.opened is exist - process it [21:57:04]req_shift_opened [21:57:04]FM_GetShiftState [21:57:04]SAM_PROTO_GetShiftState [21:57:04]wFMCommunicate request_size=4 [21:57:04]MH_SAM_APDU [21:57:04]CAPDU: 80 13 01 00 [21:57:04]Write to MH i2c: E2 08 00 3F 0A 80 13 01 00 00 00 00 00 C6 [21:57:04]Write i2c OK [21:57:04]MH_I2C_Read... [21:57:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:57:04]Read from MH i2c: E2 [21:57:04]MH_I2C_Read... [21:57:04]Read from MH i2c: E2 0E 00 [21:57:04]MH_I2C_Read... [21:57:04]Read from MH i2c: E2 0E 00 3F 0A 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 3F [21:57:04]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [21:57:04]wFMCommunicate OK [21:57:04]SAM_PROTO_GetShiftState done [21:57:04]FM_GetShiftState done [21:57:04]req_shift_opened done [21:57:04]requested_item shift.open_date is exist - process it [21:57:04]req_shift_open_date [21:57:04]req_shift_open_date done [21:57:04]requested_item shift.sale.total is exist - process it [21:57:04]SAM_PROTO_GetShiftData [21:57:04]wFMCommunicate request_size=4 [21:57:04]MH_SAM_APDU [21:57:04]CAPDU: 80 13 02 00 [21:57:04]Write to MH i2c: E2 08 00 40 0A 80 13 02 00 00 00 00 00 C8 [21:57:04]Write i2c OK [21:57:04]MH_I2C_Read... [21:57:04]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [21:57:04]Read from MH i2c: E2 [21:57:04]MH_I2C_Read... [21:57:04]Read from MH i2c: E2 FD 00 [21:57:04]MH_I2C_Read... [21:57:04]Read from MH i2c: E2 FD 00 40 0A 00 B6 04 AA 04 B2 04 6E 04 04 00 78 00 00 00 69 04 9B 00 6F 04 04 00 77 00 00 00 B1 04 03 00 1E 1D 36 70 04 03 00 20 1B 2E 72 04 03 00 FE 01 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 46 BF 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 95 7A EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 13 [21:57:04]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 78 00 00 00 69 04 9B 00 6F 04 04 00 77 00 00 00 B1 04 03 00 1E 1D 36 70 04 03 00 20 1B 2E 72 04 03 00 FE 01 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 46 BF 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 95 7A EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 [21:57:04]wFMCommunicate OK [21:57:04]wFMCommunicate request_size=4 [21:57:04]MH_SAM_APDU [21:57:04]CAPDU: 80 17 00 00 [21:57:04]Write to MH i2c: E2 08 00 41 0A 80 17 00 00 00 00 00 00 CB [21:57:04]Write i2c OK [21:57:04]MH_I2C_Read... [21:57:04]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:57:04]Read from MH i2c: E2 [21:57:04]MH_I2C_Read... [21:57:04]Read from MH i2c: E2 FD 00 [21:57:04]MH_I2C_Read... [21:57:04]Read from MH i2c: E2 FD 00 41 0A 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 00 [21:57:04]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 [21:57:04]wFMCommunicate OK [21:57:04]wFMCommunicate request_size=4 [21:57:04]MH_SAM_APDU [21:57:04]CAPDU: 80 17 00 00 [21:57:04]Write to MH i2c: E2 08 00 42 0A 80 17 00 00 00 00 00 00 CC [21:57:04]Write i2c OK [21:57:04]MH_I2C_Read... [21:57:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:57:05]Read from MH i2c: E2 [21:57:05]MH_I2C_Read... [21:57:05]Read from MH i2c: E2 FD 00 [21:57:05]MH_I2C_Read... [21:57:05]Read from MH i2c: E2 FD 00 42 0A 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 8C [21:57:05]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 [21:57:05]wFMCommunicate OK [21:57:05]wFMCommunicate request_size=4 [21:57:05]MH_SAM_APDU [21:57:05]CAPDU: 80 17 00 00 [21:57:05]Write to MH i2c: E2 08 00 43 0A 80 17 00 00 00 00 00 00 CD [21:57:05]Write i2c OK [21:57:05]MH_I2C_Read... [21:57:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:57:05]Read from MH i2c: E2 [21:57:05]MH_I2C_Read... [21:57:05]Read from MH i2c: E2 FD 00 [21:57:05]MH_I2C_Read... [21:57:05]Read from MH i2c: E2 FD 00 43 0A 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 3C [21:57:05]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 [21:57:05]wFMCommunicate OK [21:57:05]wFMCommunicate request_size=4 [21:57:05]MH_SAM_APDU [21:57:05]CAPDU: 80 17 00 00 [21:57:05]Write to MH i2c: E2 08 00 44 0A 80 17 00 00 00 00 00 00 CE [21:57:05]Write i2c OK [21:57:05]MH_I2C_Read... [21:57:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [21:57:05]Read from MH i2c: E2 [21:57:05]MH_I2C_Read... [21:57:05]Read from MH i2c: E2 D3 00 [21:57:05]MH_I2C_Read... [21:57:05]Read from MH i2c: E2 D3 00 44 0A 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 BB [21:57:05]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 [21:57:05]wFMCommunicate OK [21:57:05]SAM_PROTO_GetShiftData done [21:57:05]requested_item shift.sale.total_cash is exist - process it [21:57:05]requested_item shift.sale_refund.total is exist - process it [21:57:05]requested_item shift.sale_refund.total_cash is exist - process it [21:57:05]produce_requested_data done [21:57:05]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57225,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":35463.98,"shift.sale.total_cash":30216.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [21:57:05]process_action_free close_receipt [21:57:05]json_value_free [21:57:05]json_value_free done [21:57:05]process_json_proto returns [21:57:05]Send response to host [21:57:05]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57225,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":35463.98,"shift.sale.total_cash":30216.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [21:57:05]free response buf [21:57:05]execute_script done [21:57:05]execute_script returns [21:57:05]free content buf [21:57:05]Sock 7.Close socket [21:57:05]Sock 7.Thread stoped [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:18]accept exits with 9 [21:57:18]New connection [21:57:18]New thread 3066871140 created [21:57:18]Thread 3067014500 joined [21:57:18]Waiting for new connection... [21:57:18] Sock 9.Parse request [21:57:18]Sock 9.Check first char [21:57:18]Sock 9.First char is OK [21:57:18]request: POST /json_proto HTTP/1.0 [21:57:18]Method: POST [21:57:18]URL: /json_proto [21:57:18]Method is POST - this is cgi request [21:57:18]url: /json_proto [21:57:18]query_string will be loaded in cgi processing [21:57:18]execute_cgi json_proto POST (null) [21:57:18]execute_cgi path=json_proto method=POST [21:57:18]POST find Content-Length [21:57:18]Host: 172.17.39.4:8080 [21:57:18]Content-Length: 778 [21:57:18]Content-Type: application/json [21:57:18] [21:57:18]POST finish read [21:57:18]Found Content-Length = 778 [21:57:18]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)856156", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 41", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 72.60, "quantity" : 6.890, "sum" : 500.21, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 500.00, "total" : 500.00, "payments": [ { "type": 0, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [21:57:18]execute_script... [21:57:18]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)856156", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 41", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 72.60, "quantity" : 6.890, "sum" : 500.21, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 500.00, "total" : 500.00, "payments": [ { "type": 0, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [21:57:18]POST & json_proto [21:57:18]process_json_proto [21:57:18]json parsed OK: [21:57:18]protocol is kg_v1.0 [21:57:18]action value=close_receipt [21:57:18]process_action close_receipt [21:57:18]cmd_close_receipt [21:57:18]MH_GetDate [21:57:18]Write to MH i2c: F0 00 00 45 0A 3E [21:57:18]Write i2c OK [21:57:18]MH_I2C_Read... [21:57:18]Read from MH i2c: F0 [21:57:18]MH_I2C_Read... [21:57:18]Read from MH i2c: F0 09 00 [21:57:18]MH_I2C_Read... [21:57:18]Read from MH i2c: F0 09 00 45 0A 00 40 9B 95 66 2D 25 5D 64 30 [21:57:18]GetLastDocTimeStamp 1721080621 [21:57:18]current date 1721080640 [21:57:18]FM_GetShiftState [21:57:18]SAM_PROTO_GetShiftState [21:57:18]wFMCommunicate request_size=4 [21:57:18]MH_SAM_APDU [21:57:18]CAPDU: 80 13 01 00 [21:57:18]Write to MH i2c: E2 08 00 46 0A 80 13 01 00 00 00 00 00 CD [21:57:18]Write i2c OK [21:57:18]MH_I2C_Read... [21:57:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:57:18]Read from MH i2c: E2 [21:57:18]MH_I2C_Read... [21:57:18]Read from MH i2c: E2 0E 00 [21:57:18]MH_I2C_Read... [21:57:18]Read from MH i2c: E2 0E 00 46 0A 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 46 [21:57:18]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [21:57:18]wFMCommunicate OK [21:57:18]SAM_PROTO_GetShiftState done [21:57:18]FM_GetShiftState done [21:57:18]opened in 1721003525 [21:57:18]opened+sec_in_day 1721089925 [21:57:18]quantity*price = 50021 [21:57:18]sum+1 = 50022 [21:57:18]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.21 ИТОГО: 500.00 Внесено: 500.00 СДАЧА: 0.00 НСП 1% : 4.43 НДС 12% : 53.12 Наличными: 500.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 121 15.07.2024 21:57 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57226 ФПД: 261041103743329 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T215720&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57226&fm=261041103743329&tin=02508201610067®Number=0000000000091208&sum=50000 [21:57:19]StoreToDocumentArchive [21:57:19]shift 497 fd 57226 [21:57:19]save to /storage/0497/doc_00057226 [21:57:19]save last doc name /storage/0497/doc_00057226 to /storage/kkm_last_doc_name [21:57:19]save OK [21:57:19]Clear old archive folders... [21:57:19]ProcessDocumentItem done err = 0, tmpTLVsize=248 [21:57:19]tlvbuf is 00876F00 [21:57:19]SAM_PROTO_ClearQueue [21:57:19]wFMCommunicate request_size=4 [21:57:19]MH_SAM_APDU [21:57:19]CAPDU: 80 09 00 00 [21:57:19]Write to MH i2c: E2 08 00 53 0A 80 09 00 00 00 00 00 00 CF [21:57:19]Write i2c OK [21:57:19]MH_I2C_Read... [21:57:19]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:57:19]Read from MH i2c: E2 [21:57:19]MH_I2C_Read... [21:57:19]Read from MH i2c: E2 03 00 [21:57:19]MH_I2C_Read... [21:57:19]Read from MH i2c: E2 03 00 53 0A 00 90 00 D1 [21:57:19]RAPDU: 90 00 [21:57:19]wFMCommunicate OK [21:57:19]SAM_PROTO_ClearQueue done [21:57:19]KKMCreateOFDPacket [21:57:19]OFDProtocolAddRootSTLVToBuf [21:57:19]FM_MakeSignedData [21:57:19]FM_MakeSignedData [21:57:19]SAM_PROTO_SignData [21:57:19]wFMCommunicate request_size=4 [21:57:19]MH_SAM_APDU [21:57:19]CAPDU: 80 0D 01 02 [21:57:19]Write to MH i2c: E2 08 00 54 0A 80 0D 01 02 00 00 00 00 D7 [21:57:19]Write i2c OK [21:57:19]MH_I2C_Read... [21:57:19]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:57:19]Read from MH i2c: E2 [21:57:19]MH_I2C_Read... [21:57:19]Read from MH i2c: E2 03 00 [21:57:19]MH_I2C_Read... [21:57:19]Read from MH i2c: E2 03 00 54 0A 00 90 00 D2 [21:57:19]RAPDU: 90 00 [21:57:19]wFMCommunicate OK [21:57:19]wFMCommunicate request_size=255 [21:57:19]MH_SAM_APDU [21:57:19]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 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C0 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 79 00 00 00 F4 03 04 00 40 9B 95 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 8A DF 00 00 35 04 06 00 ED 6A 5E 42 [21:57:19]Write to MH i2c: E2 02 01 55 0A 80 0D 02 02 FA 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 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 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C0 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 79 00 00 00 F4 03 04 00 40 9B 95 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 8A DF 00 00 35 04 06 00 ED 6A 5E 42 00 00 31 [21:57:19]Write i2c OK [21:57:19]MH_I2C_Read... [21:57:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:57:20]Read from MH i2c: E2 [21:57:20]MH_I2C_Read... [21:57:20]Read from MH i2c: E2 03 00 [21:57:20]MH_I2C_Read... [21:57:20]Read from MH i2c: E2 03 00 55 0A 00 90 00 D3 [21:57:20]RAPDU: 90 00 [21:57:20]wFMCommunicate OK [21:57:20]wFMCommunicate request_size=7 [21:57:20]MH_SAM_APDU [21:57:20]CAPDU: 80 0D 02 02 02 A9 61 [21:57:20]Write to MH i2c: E2 0A 00 56 0A 80 0D 02 02 02 00 A9 61 00 00 E8 [21:57:20]Write i2c OK [21:57:20]MH_I2C_Read... [21:57:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:57:20]Read from MH i2c: E2 [21:57:20]MH_I2C_Read... [21:57:20]Read from MH i2c: E2 03 00 [21:57:20]MH_I2C_Read... [21:57:20]Read from MH i2c: E2 03 00 56 0A 00 90 00 D4 [21:57:20]RAPDU: 90 00 [21:57:20]wFMCommunicate OK [21:57:20]wFMCommunicate request_size=4 [21:57:20]MH_SAM_APDU [21:57:20]CAPDU: 80 0D 03 02 [21:57:20]Write to MH i2c: E2 08 00 57 0A 80 0D 03 02 00 00 00 00 DC [21:57:20]Write i2c OK [21:57:20]MH_I2C_Read... [21:57:20]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:57:20]Read from MH i2c: E2 [21:57:20]MH_I2C_Read... [21:57:20]Read from MH i2c: E2 0B 00 [21:57:20]MH_I2C_Read... [21:57:20]Read from MH i2c: E2 0B 00 57 0A 00 D8 FA A0 7D F9 C4 85 E8 90 00 F6 [21:57:20]RAPDU: D8 FA A0 7D F9 C4 85 E8 90 00 [21:57:20]wFMCommunicate OK [21:57:20]SAM_PROTO_SignData done [21:57:20]FM_MakeSignedData done [21:57:20]CreateOFDProtocolMessage [21:57:20]wFMCommunicate request_size=4 [21:57:20]MH_SAM_APDU [21:57:20]CAPDU: 80 11 00 00 [21:57:20]Write to MH i2c: E2 08 00 58 0A 80 11 00 00 00 00 00 00 DC [21:57:20]Write i2c OK [21:57:20]MH_I2C_Read... [21:57:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:57:20]Read from MH i2c: E2 [21:57:20]MH_I2C_Read... [21:57:20]Read from MH i2c: E2 17 00 [21:57:20]MH_I2C_Read... [21:57:20]Read from MH i2c: E2 17 00 58 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 36 [21:57:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [21:57:20]wFMCommunicate OK [21:57:20]CreateOFDProtocolMessage done [21:57:20]OFDSenderStorePacket 57226 [21:57:20]StoreOFDPacket docnum=57226 [21:57:20]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 10 F0 04 01 3D FF 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 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C0 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 79 00 00 00 F4 03 04 00 40 9B 95 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 8A DF 00 00 35 04 06 00 ED 6A 5E 42 A9 61 D8 FA A0 7D F9 C4 85 E8 [21:57:20]CheckFolder [21:57:20]dirname=/storage/ofd_packets [21:57:20]CheckFolder done [21:57:20]ProducePacketName [21:57:20]name=ofd_packets/00057226 [21:57:20]NVStorageSaveData ofd_packets/00057226 [21:57:20]File name is /storage/ofd_packets/00057226 [21:57:20]Write 298 bytes [21:57:20]NVStorageSaveData done [21:57:20]OFDSenderStorePacket done [21:57:20]KKMCreateOFDPacket done [21:57:20]NVStorageSaveData kkm_last_timestamp [21:57:20]File name is /storage/kkm_last_timestamp [21:57:20]Write 4 bytes [21:57:20]NVStorageSaveData done [21:57:20]ExternCall_PrintAddStr [21:57:20]wPrintStart [21:57:20]Write to MH i2c: 01 00 00 59 0A 63 [21:57:20]Write i2c OK [21:57:20]MH_I2C_Read... [21:57:20]Read from MH i2c: 01 [21:57:20]MH_I2C_Read... [21:57:20]Read from MH i2c: 01 07 00 [21:57:20]MH_I2C_Read... [21:57:20]Read from MH i2c: 01 07 00 59 0A 00 00 00 00 00 FF 0F 78 [21:57:20]RasterBufferAndPrint [21:57:20]line Счет N : (1)856156 [21:57:20]line ИНН: 02508201610067 [21:57:20]line Контрольно-Кассовый Чек [21:57:20]line ПРОДАЖА [21:57:20]line ТРК (МРК, ГНК) : 41 [21:57:20]line Товар: 2710194210 [21:57:20]line ДТ-К-5 [21:57:20]line 6.890 * 72.60 [21:57:20]line = 500.21 [21:57:20]line НДС 12% НСП 1% [21:57:20]line > о реализуемом товаре [21:57:20]line ОКРУГЛЕНИЕ: -0.21 [21:57:20]line ИТОГО: 500.00 [21:57:20]line Внесено: 500.00 [21:57:20]line СДАЧА: 0.00 [21:57:20]line НСП 1% : 4.43 [21:57:20]line НДС 12% : 53.12 [21:57:20]line Наличными: 500.00 [21:57:20]line Безнал.: 0.00 [21:57:20]line Место: АЗС № 132 "Партнер Нефть" [21:57:20]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [21:57:20]line СНО: Общий режим [21:57:20]line Чек 121 15.07.2024 21:57 [21:57:20]line Смена: 497 ФФД: 1.0 [21:57:20]line ЗНМ: 0300000132 [21:57:20]line РНМ: 0000000000091208 [21:57:20]line Версия ККМ: 001 [21:57:20]line ФМ: 0000000000874857 [21:57:20]line ФД: 57226 [21:57:20]line ФПД: 261041103743329 [21:57:20]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T215720&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57226&fm=261041103743329&tin=02508201610067®Number=0000000000091208&sum=50000 [21:57:20]written 0, free lines is 4095 [21:57:20]OFD Sender: Processing packet 57226 [packets to send 38, broken 37] [21:57:20]ProducePacketName [21:57:20]name=ofd_packets/00057226 [21:57:20]OFD Sender: To server: pG, [21:57:20]CommunicateWithHost lk.salyk.kg:30040 [21:57:20]ConnectInit lk.salyk.kg [21:57:20]Connected sock=10 [21:57:20]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 10 F0 04 01 3D FF 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 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C0 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 79 00 00 00 F4 03 04 00 40 9B 95 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 8A DF 00 00 35 04 06 00 ED 6A 5E 42 A9 61 D8 FA A0 7D F9 C4 85 E8 [21:57:20]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 24 10 47 00 CE 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 8A DF 00 00 F4 03 04 00 8C 41 95 66 B6 04 01 00 00 53 89 73 94 9B 79 DA B4 [21:57:20]CommunicateWithHost err = 0 [21:57:20]CheckOFDResponse [21:57:20]1017 (14) - 77093643461234 [21:57:20]1041 (16) - 0000000000874857 [21:57:20]1040 (4) - 57226 [21:57:20]1012 (4) - 15.07.2024 15:34 [21:57:20]1206 (1) - 0 [21:57:20]OFD Sender: Remove packet 57226 [21:57:20]ProducePacketName [21:57:20]name=ofd_packets/00057226 [21:57:20]NVStorageDeleteData [21:57:20]Write to MH i2c: 01 00 00 84 0A 8E [21:57:20]Write i2c OK [21:57:20]MH_I2C_Read... [21:57:20]Read from MH i2c: 01 [21:57:20]MH_I2C_Read... [21:57:20]Read from MH i2c: 01 07 00 [21:57:20]MH_I2C_Read... [21:57:20]Read from MH i2c: 01 07 00 84 0A 00 00 00 00 00 F1 0C 92 [21:57:20]RasterBufferAndPrint [21:57:20]line [21:57:20]line [21:57:20]line [21:57:20]line [21:57:20]line [21:57:20]written 0, free lines is 3319 [21:57:20]MH_Cut [21:57:20]Write to MH i2c: D1 01 00 8B 0A 01 67 [21:57:20]Write i2c OK [21:57:20]MH_I2C_Read... [21:57:20]Read from MH i2c: D1 [21:57:20]MH_I2C_Read... [21:57:20]Read from MH i2c: D1 01 00 [21:57:20]MH_I2C_Read... [21:57:20]Read from MH i2c: D1 01 00 8B 0A 00 66 [21:57:20]Write to MH i2c: 01 00 00 8C 0A 96 [21:57:20]Write i2c OK [21:57:20]MH_I2C_Read... [21:57:21]OFD Sender: No OFD packet to send [21:57:21]*** Cut start [21:57:21]*** Partial cut [21:57:21]*** CUTSNS_PIN = 1 [21:57:21]*** CUTSNS_PIN = 0 [21:57:21]*** Brake cut motor [21:57:22]Read from MH i2c: 01 [21:57:22]MH_I2C_Read... [21:57:22]*** Stop cut motor [21:57:22]*** Cut end [21:57:22]Read from MH i2c: 01 07 00 [21:57:22]MH_I2C_Read... [21:57:22]Read from MH i2c: 01 07 00 8C 0A 00 00 00 00 00 FF 0F AB [21:57:22]process_action close_receipt done [21:57:22]requested_data is exist [21:57:22]produce_requested_data [21:57:22]requested_item fm.sn is exist - process it [21:57:22]wFMCommunicate request_size=4 [21:57:22]MH_SAM_APDU [21:57:22]CAPDU: 80 11 00 00 [21:57:22]Write to MH i2c: E2 08 00 8D 0A 80 11 00 00 00 00 00 00 11 [21:57:22]Write i2c OK [21:57:22]MH_I2C_Read... [21:57:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:57:22]Read from MH i2c: E2 [21:57:22]MH_I2C_Read... [21:57:22]Read from MH i2c: E2 17 00 [21:57:22]MH_I2C_Read... [21:57:22]Read from MH i2c: E2 17 00 8D 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 6B [21:57:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [21:57:22]wFMCommunicate OK [21:57:22]requested_item fd.num is exist - process it [21:57:22]SAM_PROTO_GetFieldsCounters [21:57:22]wFMCommunicate request_size=4 [21:57:22]MH_SAM_APDU [21:57:22]CAPDU: 80 13 00 00 [21:57:22]Write to MH i2c: E2 08 00 8E 0A 80 13 00 00 00 00 00 00 14 [21:57:22]Write i2c OK [21:57:22]MH_I2C_Read... [21:57:22]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:57:22]Read from MH i2c: E2 [21:57:22]MH_I2C_Read... [21:57:22]Read from MH i2c: E2 62 00 [21:57:22]MH_I2C_Read... [21:57:22]Read from MH i2c: E2 62 00 8E 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 8A DF 00 00 0E 04 04 00 F1 01 00 00 12 04 04 00 79 00 00 00 5E 04 04 00 79 00 00 00 57 04 04 00 7A 00 00 00 19 04 04 00 00 00 00 00 90 00 FD [21:57:22]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 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 8A DF 00 00 0E 04 04 00 F1 01 00 00 12 04 04 00 79 00 00 00 5E 04 04 00 79 00 00 00 57 04 04 00 7A 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:57:22]wFMCommunicate OK [21:57:22]SAM_PROTO_GetFieldsCounters done [21:57:22]requested_item shift.num is exist - process it [21:57:22]requested_item shift.opened is exist - process it [21:57:22]req_shift_opened [21:57:22]FM_GetShiftState [21:57:22]SAM_PROTO_GetShiftState [21:57:22]wFMCommunicate request_size=4 [21:57:22]MH_SAM_APDU [21:57:22]CAPDU: 80 13 01 00 [21:57:22]Write to MH i2c: E2 08 00 8F 0A 80 13 01 00 00 00 00 00 16 [21:57:22]Write i2c OK [21:57:22]MH_I2C_Read... [21:57:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:57:22]Read from MH i2c: E2 [21:57:22]MH_I2C_Read... [21:57:22]Read from MH i2c: E2 0E 00 [21:57:22]MH_I2C_Read... [21:57:22]Read from MH i2c: E2 0E 00 8F 0A 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 8F [21:57:22]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [21:57:22]wFMCommunicate OK [21:57:22]SAM_PROTO_GetShiftState done [21:57:22]FM_GetShiftState done [21:57:22]req_shift_opened done [21:57:22]requested_item shift.open_date is exist - process it [21:57:22]req_shift_open_date [21:57:22]req_shift_open_date done [21:57:22]requested_item shift.sale.total is exist - process it [21:57:22]SAM_PROTO_GetShiftData [21:57:22]wFMCommunicate request_size=4 [21:57:22]MH_SAM_APDU [21:57:22]CAPDU: 80 13 02 00 [21:57:22]Write to MH i2c: E2 08 00 90 0A 80 13 02 00 00 00 00 00 18 [21:57:22]Write i2c OK [21:57:22]MH_I2C_Read... [21:57:22]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [21:57:22]Read from MH i2c: E2 [21:57:22]MH_I2C_Read... [21:57:22]Read from MH i2c: E2 FD 00 [21:57:22]MH_I2C_Read... [21:57:22]Read from MH i2c: E2 FD 00 90 0A 00 B6 04 AA 04 B2 04 6E 04 04 00 79 00 00 00 69 04 9B 00 6F 04 04 00 78 00 00 00 B1 04 03 00 6E E0 36 70 04 03 00 70 DE 2E 72 04 03 00 FE 01 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 06 D4 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 50 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 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 1D [21:57:22]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 79 00 00 00 69 04 9B 00 6F 04 04 00 78 00 00 00 B1 04 03 00 6E E0 36 70 04 03 00 70 DE 2E 72 04 03 00 FE 01 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 06 D4 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 50 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 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 [21:57:22]wFMCommunicate OK [21:57:22]wFMCommunicate request_size=4 [21:57:22]MH_SAM_APDU [21:57:22]CAPDU: 80 17 00 00 [21:57:22]Write to MH i2c: E2 08 00 91 0A 80 17 00 00 00 00 00 00 1B [21:57:22]Write i2c OK [21:57:22]MH_I2C_Read... [21:57:23]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:57:23]Read from MH i2c: E2 [21:57:23]MH_I2C_Read... [21:57:23]Read from MH i2c: E2 FD 00 [21:57:23]MH_I2C_Read... [21:57:23]Read from MH i2c: E2 FD 00 91 0A 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 50 [21:57:23]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 [21:57:23]wFMCommunicate OK [21:57:23]wFMCommunicate request_size=4 [21:57:23]MH_SAM_APDU [21:57:23]CAPDU: 80 17 00 00 [21:57:23]Write to MH i2c: E2 08 00 92 0A 80 17 00 00 00 00 00 00 1C [21:57:23]Write i2c OK [21:57:23]MH_I2C_Read... [21:57:23]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:57:23]Read from MH i2c: E2 [21:57:23]MH_I2C_Read... [21:57:23]Read from MH i2c: E2 FD 00 [21:57:23]MH_I2C_Read... [21:57:23]Read from MH i2c: E2 FD 00 92 0A 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 DC [21:57:23]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 [21:57:23]wFMCommunicate OK [21:57:23]wFMCommunicate request_size=4 [21:57:23]MH_SAM_APDU [21:57:23]CAPDU: 80 17 00 00 [21:57:23]Write to MH i2c: E2 08 00 93 0A 80 17 00 00 00 00 00 00 1D [21:57:23]Write i2c OK [21:57:23]MH_I2C_Read... [21:57:23]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:57:23]Read from MH i2c: E2 [21:57:23]MH_I2C_Read... [21:57:23]Read from MH i2c: E2 FD 00 [21:57:23]MH_I2C_Read... [21:57:23]Read from MH i2c: E2 FD 00 93 0A 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 8C [21:57:23]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 [21:57:23]wFMCommunicate OK [21:57:23]wFMCommunicate request_size=4 [21:57:23]MH_SAM_APDU [21:57:23]CAPDU: 80 17 00 00 [21:57:23]Write to MH i2c: E2 08 00 94 0A 80 17 00 00 00 00 00 00 1E [21:57:23]Write i2c OK [21:57:23]MH_I2C_Read... [21:57:24]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [21:57:24]Read from MH i2c: E2 [21:57:24]MH_I2C_Read... [21:57:24]Read from MH i2c: E2 D3 00 [21:57:24]MH_I2C_Read... [21:57:24]Read from MH i2c: E2 D3 00 94 0A 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 0B [21:57:24]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 [21:57:24]wFMCommunicate OK [21:57:24]SAM_PROTO_GetShiftData done [21:57:24]requested_item shift.sale.total_cash is exist - process it [21:57:24]requested_item shift.sale_refund.total is exist - process it [21:57:24]requested_item shift.sale_refund.total_cash is exist - process it [21:57:24]produce_requested_data done [21:57:24]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57226,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":35963.98,"shift.sale.total_cash":30716.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [21:57:24]process_action_free close_receipt [21:57:24]json_value_free [21:57:24]json_value_free done [21:57:24]process_json_proto returns [21:57:24]Send response to host [21:57:24]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57226,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":35963.98,"shift.sale.total_cash":30716.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [21:57:24]free response buf [21:57:24]execute_script done [21:57:24]execute_script returns [21:57:24]free content buf [21:57:24]Sock 9.Close socket [21:57:24]Sock 9.Thread stoped [21:57:26]OFD Sender: No OFD packet to send [21:57:31]OFD Sender: No OFD packet to send [21:57:36]OFD Sender: No OFD packet to send [21:57:41]OFD Sender: No OFD packet to send [21:57:46]OFD Sender: No OFD packet to send [21:57:51]OFD Sender: No OFD packet to send [21:57:56]OFD Sender: No OFD packet to send [21:58:01]OFD Sender: No OFD packet to send [21:58:06]OFD Sender: No OFD packet to send [21:58:11]OFD Sender: No OFD packet to send [21:58:16]OFD Sender: No OFD packet to send [21:58:21]OFD Sender: No OFD packet to send [21:58:26]OFD Sender: No OFD packet to send [21:58:31]OFD Sender: No OFD packet to send [21:58:36]OFD Sender: No OFD packet to send [21:58:41]OFD Sender: No OFD packet to send [21:58:46]OFD Sender: No OFD packet to send [21:58:51]OFD Sender: No OFD packet to send [21:58:56]OFD Sender: No OFD packet to send [21:59:01]OFD Sender: No OFD packet to send [21:59:06]OFD Sender: No OFD packet to send [21:59:11]OFD Sender: No OFD packet to send [21:59:16]OFD Sender: No OFD packet to send [21:59:21]OFD Sender: No OFD packet to send [21:59:26]OFD Sender: No OFD packet to send [21:59:31]OFD Sender: No OFD packet to send [21:59:36]OFD Sender: No OFD packet to send [21:59:41]OFD Sender: No OFD packet to send [21:59:46]OFD Sender: No OFD packet to send [21:59:51]OFD Sender: No OFD packet to send [21:59:56]OFD Sender: No OFD packet to send [22:00:01]OFD Sender: No OFD packet to send [22:00:06]OFD Sender: No OFD packet to send [22:00:11]OFD Sender: No OFD packet to send [22:00:16]OFD Sender: No OFD packet to send [22:00:19]accept exits with 7 [22:00:19]New connection [22:00:19]New thread 3067014500 created [22:00:19]Thread 3066871140 joined [22:00:19]Waiting for new connection... [22:00:19] Sock 7.Parse request [22:00:19]Sock 7.Check first char [22:00:19]Sock 7.First char is OK [22:00:19]request: POST /json_proto HTTP/1.0 [22:00:19]Method: POST [22:00:19]URL: /json_proto [22:00:19]Method is POST - this is cgi request [22:00:19]url: /json_proto [22:00:19]query_string will be loaded in cgi processing [22:00:19]execute_cgi json_proto POST (null) [22:00:19]execute_cgi path=json_proto method=POST [22:00:19]POST find Content-Length [22:00:19]Host: 172.17.39.4:8080 [22:00:19]Content-Length: 905 [22:00:19]Content-Type: application/json [22:00:19] [22:00:19]POST finish read [22:00:19]Found Content-Length = 905 [22:00:19]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)856159", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 42", "code": "2710124130", "name": "SUPER 92-\u041A-5", "price" : 67.30, "quantity" : 37.150, "sum" : 2500.20, "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" : 2500.20 } ] } , "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:00:19]execute_script... [22:00:19]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)856159", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 42", "code": "2710124130", "name": "SUPER 92-\u041A-5", "price" : 67.30, "quantity" : 37.150, "sum" : 2500.20, "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" : 2500.20 } ] } , "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:00:19]POST & json_proto [22:00:19]process_json_proto [22:00:19]json parsed OK: [22:00:19]protocol is kg_v1.0 [22:00:19]action value=close_receipt [22:00:19]process_action close_receipt [22:00:19]cmd_close_receipt [22:00:19]MH_GetDate [22:00:19]Write to MH i2c: F0 00 00 95 0A 8E [22:00:19]Write i2c OK [22:00:19]MH_I2C_Read... [22:00:19]Read from MH i2c: F0 [22:00:19]MH_I2C_Read... [22:00:19]Read from MH i2c: F0 09 00 [22:00:19]MH_I2C_Read... [22:00:19]Read from MH i2c: F0 09 00 95 0A 00 F5 9B 95 66 2D 25 5D 64 35 [22:00:19]GetLastDocTimeStamp 1721080640 [22:00:19]current date 1721080821 [22:00:19]FM_GetShiftState [22:00:19]SAM_PROTO_GetShiftState [22:00:19]wFMCommunicate request_size=4 [22:00:19]MH_SAM_APDU [22:00:19]CAPDU: 80 13 01 00 [22:00:19]Write to MH i2c: E2 08 00 96 0A 80 13 01 00 00 00 00 00 1D [22:00:19]Write i2c OK [22:00:19]MH_I2C_Read... [22:00:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:00:19]Read from MH i2c: E2 [22:00:19]MH_I2C_Read... [22:00:19]Read from MH i2c: E2 0E 00 [22:00:19]MH_I2C_Read... [22:00:19]Read from MH i2c: E2 0E 00 96 0A 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 96 [22:00:19]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [22:00:19]wFMCommunicate OK [22:00:19]SAM_PROTO_GetShiftState done [22:00:19]FM_GetShiftState done [22:00:19]opened in 1721003525 [22:00:19]opened+sec_in_day 1721089925 [22:00:19]quantity*price = 250019 [22:00:19]sum+1 = 250021 [22:00:19]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 2500.20 НСП 1% : 22.13 НДС 12% : 265.51 Наличными: 0.00 Безнал.: 2500.20 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 122 15.07.2024 22:00 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 Платежная система: О! деньги ФМ: 0000000000874857 ФД: 57227 ФПД: 80113475723494 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T220021&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57227&fm=80113475723494&tin=02508201610067®Number=0000000000091208&sum=250020 [22:00:21]StoreToDocumentArchive [22:00:21]shift 497 fd 57227 [22:00:21]save to /storage/0497/doc_00057227 [22:00:21]save last doc name /storage/0497/doc_00057227 to /storage/kkm_last_doc_name [22:00:21]save OK [22:00:21]Clear old archive folders... [22:00:21]ProcessDocumentItem done err = 0, tmpTLVsize=252 [22:00:21]tlvbuf is 00852660 [22:00:21]SAM_PROTO_ClearQueue [22:00:21]wFMCommunicate request_size=4 [22:00:21]MH_SAM_APDU [22:00:21]CAPDU: 80 09 00 00 [22:00:21]Write to MH i2c: E2 08 00 A3 0A 80 09 00 00 00 00 00 00 1F [22:00:21]Write i2c OK [22:00:21]MH_I2C_Read... [22:00:21]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:00:21]Read from MH i2c: E2 [22:00:21]MH_I2C_Read... [22:00:21]Read from MH i2c: E2 03 00 [22:00:21]MH_I2C_Read... [22:00:21]Read from MH i2c: E2 03 00 A3 0A 00 90 00 21 [22:00:21]RAPDU: 90 00 [22:00:21]wFMCommunicate OK [22:00:21]SAM_PROTO_ClearQueue done [22:00:21]KKMCreateOFDPacket [22:00:21]OFDProtocolAddRootSTLVToBuf [22:00:21]FM_MakeSignedData [22:00:21]FM_MakeSignedData [22:00:21]SAM_PROTO_SignData [22:00:21]wFMCommunicate request_size=4 [22:00:21]MH_SAM_APDU [22:00:21]CAPDU: 80 0D 01 02 [22:00:21]Write to MH i2c: E2 08 00 A4 0A 80 0D 01 02 00 00 00 00 27 [22:00:21]Write i2c OK [22:00:21]MH_I2C_Read... [22:00:21]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:00:21]Read from MH i2c: E2 [22:00:21]MH_I2C_Read... [22:00:21]Read from MH i2c: E2 03 00 [22:00:21]MH_I2C_Read... [22:00:21]Read from MH i2c: E2 03 00 A4 0A 00 90 00 22 [22:00:21]RAPDU: 90 00 [22:00:21]wFMCommunicate OK [22:00:21]wFMCommunicate request_size=255 [22:00:21]MH_SAM_APDU [22:00:21]CAPDU: 80 0D 02 02 FA 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 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 1E 91 00 00 00 00 00 37 04 06 00 4A 1A 00 00 00 00 13 04 06 00 A4 D0 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A4 D0 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A5 08 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B7 67 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 A4 D0 03 00 00 00 1F 04 02 00 01 00 12 04 04 00 7A 00 00 00 F4 03 04 00 F5 9B 95 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 8B DF 00 00 35 04 06 00 [22:00:21]Write to MH i2c: E2 02 01 A5 0A 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 1E 91 00 00 00 00 00 37 04 06 00 4A 1A 00 00 00 00 13 04 06 00 A4 D0 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A4 D0 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A5 08 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B7 67 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 A4 D0 03 00 00 00 1F 04 02 00 01 00 12 04 04 00 7A 00 00 00 F4 03 04 00 F5 9B 95 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 8B DF 00 00 35 04 06 00 00 00 74 [22:00:21]Write i2c OK [22:00:21]MH_I2C_Read... [22:00:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:00:21]Read from MH i2c: E2 [22:00:21]MH_I2C_Read... [22:00:21]Read from MH i2c: E2 03 00 [22:00:21]MH_I2C_Read... [22:00:21]Read from MH i2c: E2 03 00 A5 0A 00 90 00 23 [22:00:21]RAPDU: 90 00 [22:00:21]wFMCommunicate OK [22:00:21]wFMCommunicate request_size=11 [22:00:21]MH_SAM_APDU [22:00:21]CAPDU: 80 0D 02 02 06 48 DC DF 43 20 E6 [22:00:21]Write to MH i2c: E2 0E 00 A6 0A 80 0D 02 02 06 00 48 DC DF 43 20 E6 00 00 82 [22:00:21]Write i2c OK [22:00:21]MH_I2C_Read... [22:00:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:00:21]Read from MH i2c: E2 [22:00:21]MH_I2C_Read... [22:00:21]Read from MH i2c: E2 03 00 [22:00:21]MH_I2C_Read... [22:00:21]Read from MH i2c: E2 03 00 A6 0A 00 90 00 24 [22:00:21]RAPDU: 90 00 [22:00:21]wFMCommunicate OK [22:00:21]wFMCommunicate request_size=4 [22:00:21]MH_SAM_APDU [22:00:21]CAPDU: 80 0D 03 02 [22:00:21]Write to MH i2c: E2 08 00 A7 0A 80 0D 03 02 00 00 00 00 2C [22:00:21]Write i2c OK [22:00:21]MH_I2C_Read... [22:00:21]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:00:21]OFD Sender: No OFD packet to send [22:00:21]Read from MH i2c: E2 [22:00:21]MH_I2C_Read... [22:00:21]Read from MH i2c: E2 0B 00 [22:00:21]MH_I2C_Read... [22:00:21]Read from MH i2c: E2 0B 00 A7 0A 00 35 FE 69 FD 6B 72 4F FD 90 00 EF [22:00:21]RAPDU: 35 FE 69 FD 6B 72 4F FD 90 00 [22:00:21]wFMCommunicate OK [22:00:21]SAM_PROTO_SignData done [22:00:21]FM_MakeSignedData done [22:00:21]CreateOFDProtocolMessage [22:00:21]wFMCommunicate request_size=4 [22:00:21]MH_SAM_APDU [22:00:21]CAPDU: 80 11 00 00 [22:00:21]Write to MH i2c: E2 08 00 A8 0A 80 11 00 00 00 00 00 00 2C [22:00:21]Write i2c OK [22:00:21]MH_I2C_Read... [22:00:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:00:21]Read from MH i2c: E2 [22:00:21]MH_I2C_Read... [22:00:21]Read from MH i2c: E2 17 00 [22:00:21]MH_I2C_Read... [22:00:21]Read from MH i2c: E2 17 00 A8 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 86 [22:00:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [22:00:21]wFMCommunicate OK [22:00:21]CreateOFDProtocolMessage done [22:00:21]OFDSenderStorePacket 57227 [22:00:21]StoreOFDPacket docnum=57227 [22:00: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 10 01 00 00 E2 A6 08 01 8D FD 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 1E 91 00 00 00 00 00 37 04 06 00 4A 1A 00 00 00 00 13 04 06 00 A4 D0 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A4 D0 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A5 08 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B7 67 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 A4 D0 03 00 00 00 1F 04 02 00 01 00 12 04 04 00 7A 00 00 00 F4 03 04 00 F5 9B 95 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 8B DF 00 00 35 04 06 00 48 DC DF 43 20 E6 35 FE 69 FD 6B 72 4F FD [22:00:21]CheckFolder [22:00:21]dirname=/storage/ofd_packets [22:00:21]CheckFolder done [22:00:21]ProducePacketName [22:00:21]name=ofd_packets/00057227 [22:00:21]NVStorageSaveData ofd_packets/00057227 [22:00:21]File name is /storage/ofd_packets/00057227 [22:00:21]Write 302 bytes [22:00:21]NVStorageSaveData done [22:00:21]OFDSenderStorePacket done [22:00:21]KKMCreateOFDPacket done [22:00:21]NVStorageSaveData kkm_last_timestamp [22:00:21]File name is /storage/kkm_last_timestamp [22:00:21]Write 4 bytes [22:00:21]NVStorageSaveData done [22:00:21]ExternCall_PrintAddStr [22:00:21]wPrintStart [22:00:21]Write to MH i2c: 01 00 00 A9 0A B3 [22:00:21]Write i2c OK [22:00:21]MH_I2C_Read... [22:00:21]Read from MH i2c: 01 [22:00:21]MH_I2C_Read... [22:00:21]Read from MH i2c: 01 07 00 [22:00:21]MH_I2C_Read... [22:00:21]Read from MH i2c: 01 07 00 A9 0A 00 00 00 00 00 FF 0F C8 [22:00:21]RasterBufferAndPrint [22:00:21]line Счет N : (1)856159 [22:00:21]line ИНН: 02508201610067 [22:00:21]line Контрольно-Кассовый Чек [22:00:21]line ПРОДАЖА [22:00:21]line ТРК (МРК, ГНК) : 42 [22:00:21]line Товар: 2710124130 [22:00:21]line SUPER 92-К-5 [22:00:21]line 37.150 * 67.30 [22:00:21]line = 2500.20 [22:00:21]line НДС 12% НСП 1% [22:00:21]line > о реализуемом товаре [22:00:21]line ИТОГО: 2500.20 [22:00:21]line НСП 1% : 22.13 [22:00:21]line НДС 12% : 265.51 [22:00:21]line Наличными: 0.00 [22:00:21]line Безнал.: 2500.20 [22:00:21]line Место: АЗС № 132 "Партнер Нефть" [22:00:21]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [22:00:21]line СНО: Общий режим [22:00:21]line Чек 122 15.07.2024 22:00 [22:00:21]line Смена: 497 ФФД: 1.0 [22:00:21]line ЗНМ: 0300000132 [22:00:21]line РНМ: 0000000000091208 [22:00:21]line Версия ККМ: 001 [22:00:21]line Платежная система: О! деньги [22:00:21]line ФМ: 0000000000874857 [22:00:21]line ФД: 57227 [22:00:21]line ФПД: 80113475723494 [22:00:21]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T220021&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57227&fm=80113475723494&tin=02508201610067®Number=0000000000091208&sum=250020 [22:00:21]OFD Sender: Processing packet 57227 [packets to send 38, broken 37] [22:00:21]ProducePacketName [22:00:21]name=ofd_packets/00057227 [22:00:21]OFD Sender: To server: pG, [22:00:21]CommunicateWithHost lk.salyk.kg:30040 [22:00:21]ConnectInit lk.salyk.kg [22:00:21]written 0, free lines is 4095 [22:00:21]Connected sock=10 [22:00: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 10 01 00 00 E2 A6 08 01 8D FD 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 1E 91 00 00 00 00 00 37 04 06 00 4A 1A 00 00 00 00 13 04 06 00 A4 D0 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A4 D0 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A5 08 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B7 67 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 A4 D0 03 00 00 00 1F 04 02 00 01 00 12 04 04 00 7A 00 00 00 F4 03 04 00 F5 9B 95 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 8B DF 00 00 35 04 06 00 48 DC DF 43 20 E6 35 FE 69 FD 6B 72 4F FD [22:00: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 CA 1F 47 00 86 77 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 8B DF 00 00 F4 03 04 00 42 42 95 66 B6 04 01 00 00 DF 24 5F F5 19 BB B9 FA [22:00:22]CommunicateWithHost err = 0 [22:00:22]CheckOFDResponse [22:00:22]1017 (14) - 77093643461234 [22:00:22]1041 (16) - 0000000000874857 [22:00:22]1040 (4) - 57227 [22:00:22]1012 (4) - 15.07.2024 15:37 [22:00:22]1206 (1) - 0 [22:00:22]OFD Sender: Remove packet 57227 [22:00:22]ProducePacketName [22:00:22]name=ofd_packets/00057227 [22:00:22]NVStorageDeleteData [22:00:22]Write to MH i2c: 01 00 00 D3 0A DD [22:00:22]Write i2c OK [22:00:22]MH_I2C_Read... [22:00:22]Read from MH i2c: 01 [22:00:22]MH_I2C_Read... [22:00:22]Read from MH i2c: 01 07 00 [22:00:22]MH_I2C_Read... [22:00:22]Read from MH i2c: 01 07 00 D3 0A 00 00 00 00 00 01 0D F2 [22:00:22]RasterBufferAndPrint [22:00:22]line [22:00:22]line [22:00:22]line [22:00:22]line [22:00:22]line [22:00:22]written 0, free lines is 3335 [22:00:22]MH_Cut [22:00:22]Write to MH i2c: D1 01 00 DA 0A 01 B6 [22:00:22]Write i2c OK [22:00:22]MH_I2C_Read... [22:00:22]Read from MH i2c: D1 [22:00:22]MH_I2C_Read... [22:00:22]Read from MH i2c: D1 01 00 [22:00:22]MH_I2C_Read... [22:00:22]Read from MH i2c: D1 01 00 DA 0A 00 B5 [22:00:22]Write to MH i2c: 01 00 00 DB 0A E5 [22:00:22]Write i2c OK [22:00:22]MH_I2C_Read... [22:00:22]OFD Sender: No OFD packet to send [22:00:23]*** Cut start [22:00:23]*** Partial cut [22:00:23]*** CUTSNS_PIN = 1 [22:00:23]*** CUTSNS_PIN = 0 [22:00:23]*** Brake cut motor [22:00:23]Read from MH i2c: 01 [22:00:23]MH_I2C_Read... [22:00:23]*** Stop cut motor [22:00:23]*** Cut end [22:00:23]Read from MH i2c: 01 07 00 [22:00:23]MH_I2C_Read... [22:00:23]Read from MH i2c: 01 07 00 DB 0A 00 00 00 00 00 FF 0F FA [22:00:23]process_action close_receipt done [22:00:23]requested_data is exist [22:00:23]produce_requested_data [22:00:23]requested_item fm.sn is exist - process it [22:00:23]wFMCommunicate request_size=4 [22:00:23]MH_SAM_APDU [22:00:23]CAPDU: 80 11 00 00 [22:00:23]Write to MH i2c: E2 08 00 DC 0A 80 11 00 00 00 00 00 00 60 [22:00:23]Write i2c OK [22:00:23]MH_I2C_Read... [22:00:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:00:23]Read from MH i2c: E2 [22:00:23]MH_I2C_Read... [22:00:23]Read from MH i2c: E2 17 00 [22:00:23]MH_I2C_Read... [22:00:23]Read from MH i2c: E2 17 00 DC 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 BA [22:00:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [22:00:23]wFMCommunicate OK [22:00:23]requested_item fd.num is exist - process it [22:00:23]SAM_PROTO_GetFieldsCounters [22:00:23]wFMCommunicate request_size=4 [22:00:23]MH_SAM_APDU [22:00:23]CAPDU: 80 13 00 00 [22:00:23]Write to MH i2c: E2 08 00 DD 0A 80 13 00 00 00 00 00 00 63 [22:00:23]Write i2c OK [22:00:23]MH_I2C_Read... [22:00:23]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:00:23]Read from MH i2c: E2 [22:00:23]MH_I2C_Read... [22:00:23]Read from MH i2c: E2 62 00 [22:00:23]MH_I2C_Read... [22:00:23]Read from MH i2c: E2 62 00 DD 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 8B DF 00 00 0E 04 04 00 F1 01 00 00 12 04 04 00 7A 00 00 00 5E 04 04 00 7A 00 00 00 57 04 04 00 7B 00 00 00 19 04 04 00 00 00 00 00 90 00 50 [22:00: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 8B DF 00 00 0E 04 04 00 F1 01 00 00 12 04 04 00 7A 00 00 00 5E 04 04 00 7A 00 00 00 57 04 04 00 7B 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:00:23]wFMCommunicate OK [22:00:23]SAM_PROTO_GetFieldsCounters done [22:00:23]requested_item shift.num is exist - process it [22:00:23]requested_item shift.opened is exist - process it [22:00:23]req_shift_opened [22:00:23]FM_GetShiftState [22:00:23]SAM_PROTO_GetShiftState [22:00:23]wFMCommunicate request_size=4 [22:00:23]MH_SAM_APDU [22:00:23]CAPDU: 80 13 01 00 [22:00:23]Write to MH i2c: E2 08 00 DE 0A 80 13 01 00 00 00 00 00 65 [22:00:23]Write i2c OK [22:00:23]MH_I2C_Read... [22:00:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:00:23]Read from MH i2c: E2 [22:00:23]MH_I2C_Read... [22:00:23]Read from MH i2c: E2 0E 00 [22:00:23]MH_I2C_Read... [22:00:23]Read from MH i2c: E2 0E 00 DE 0A 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 DE [22:00:23]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [22:00:23]wFMCommunicate OK [22:00:23]SAM_PROTO_GetShiftState done [22:00:23]FM_GetShiftState done [22:00:23]req_shift_opened done [22:00:23]requested_item shift.open_date is exist - process it [22:00:23]req_shift_open_date [22:00:23]req_shift_open_date done [22:00:23]requested_item shift.sale.total is exist - process it [22:00:23]SAM_PROTO_GetShiftData [22:00:23]wFMCommunicate request_size=4 [22:00:23]MH_SAM_APDU [22:00:23]CAPDU: 80 13 02 00 [22:00:23]Write to MH i2c: E2 08 00 DF 0A 80 13 02 00 00 00 00 00 67 [22:00:23]Write i2c OK [22:00:23]MH_I2C_Read... [22:00:24]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [22:00:24]Read from MH i2c: E2 [22:00:24]MH_I2C_Read... [22:00:24]Read from MH i2c: E2 FD 00 [22:00:24]MH_I2C_Read... [22:00:24]Read from MH i2c: E2 FD 00 DF 0A 00 B6 04 AA 04 B2 04 6E 04 04 00 7A 00 00 00 69 04 9B 00 6F 04 04 00 79 00 00 00 B1 04 03 00 12 B1 3A 70 04 03 00 70 DE 2E 72 04 03 00 A2 D2 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 BD 3B 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 F5 84 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 2B [22:00:24]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 7A 00 00 00 69 04 9B 00 6F 04 04 00 79 00 00 00 B1 04 03 00 12 B1 3A 70 04 03 00 70 DE 2E 72 04 03 00 A2 D2 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 BD 3B 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 F5 84 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 [22:00:24]wFMCommunicate OK [22:00:24]wFMCommunicate request_size=4 [22:00:24]MH_SAM_APDU [22:00:24]CAPDU: 80 17 00 00 [22:00:24]Write to MH i2c: E2 08 00 E0 0A 80 17 00 00 00 00 00 00 6A [22:00:24]Write i2c OK [22:00:24]MH_I2C_Read... [22:00:24]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [22:00:24]Read from MH i2c: E2 [22:00:24]MH_I2C_Read... [22:00:24]Read from MH i2c: E2 FD 00 [22:00:24]MH_I2C_Read... [22:00:24]Read from MH i2c: E2 FD 00 E0 0A 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 9F [22:00:24]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 [22:00:24]wFMCommunicate OK [22:00:24]wFMCommunicate request_size=4 [22:00:24]MH_SAM_APDU [22:00:24]CAPDU: 80 17 00 00 [22:00:24]Write to MH i2c: E2 08 00 E1 0A 80 17 00 00 00 00 00 00 6B [22:00:24]Write i2c OK [22:00:24]MH_I2C_Read... [22:00:24]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [22:00:24]Read from MH i2c: E2 [22:00:24]MH_I2C_Read... [22:00:24]Read from MH i2c: E2 FD 00 [22:00:24]MH_I2C_Read... [22:00:24]Read from MH i2c: E2 FD 00 E1 0A 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 2B [22:00:24]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 [22:00:25]wFMCommunicate OK [22:00:25]wFMCommunicate request_size=4 [22:00:25]MH_SAM_APDU [22:00:25]CAPDU: 80 17 00 00 [22:00:25]Write to MH i2c: E2 08 00 E2 0A 80 17 00 00 00 00 00 00 6C [22:00:25]Write i2c OK [22:00:25]MH_I2C_Read... [22:00:25]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [22:00:25]Read from MH i2c: E2 [22:00:25]MH_I2C_Read... [22:00:25]Read from MH i2c: E2 FD 00 [22:00:25]MH_I2C_Read... [22:00:25]Read from MH i2c: E2 FD 00 E2 0A 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 DB [22:00:25]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 [22:00:25]wFMCommunicate OK [22:00:25]wFMCommunicate request_size=4 [22:00:25]MH_SAM_APDU [22:00:25]CAPDU: 80 17 00 00 [22:00:25]Write to MH i2c: E2 08 00 E3 0A 80 17 00 00 00 00 00 00 6D [22:00:25]Write i2c OK [22:00:25]MH_I2C_Read... [22:00:25]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [22:00:25]Read from MH i2c: E2 [22:00:25]MH_I2C_Read... [22:00:25]Read from MH i2c: E2 D3 00 [22:00:25]MH_I2C_Read... [22:00:25]Read from MH i2c: E2 D3 00 E3 0A 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 5A [22:00:25]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 [22:00:25]wFMCommunicate OK [22:00:25]SAM_PROTO_GetShiftData done [22:00:25]requested_item shift.sale.total_cash is exist - process it [22:00:25]requested_item shift.sale_refund.total is exist - process it [22:00:25]requested_item shift.sale_refund.total_cash is exist - process it [22:00:25]produce_requested_data done [22:00:25]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57227,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":38464.18,"shift.sale.total_cash":30716.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [22:00:25]process_action_free close_receipt [22:00:25]json_value_free [22:00:25]json_value_free done [22:00:25]process_json_proto returns [22:00:25]Send response to host [22:00:25]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57227,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":38464.18,"shift.sale.total_cash":30716.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [22:00:25]free response buf [22:00:25]execute_script done [22:00:25]execute_script returns [22:00:25]free content buf [22:00:25]Sock 7.Close socket [22:00:25]Sock 7.Thread stoped [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:54]accept exits with 9 [22:00:54]New connection [22:00:54]New thread 3066871140 created [22:00:54]Thread 3067014500 joined [22:00:54]Waiting for new connection... [22:00:54] Sock 9.Parse request [22:00:54]Sock 9.Check first char [22:00:54]Sock 9.First char is OK [22:00:54]request: POST /json_proto HTTP/1.0 [22:00:54]Method: POST [22:00:54]URL: /json_proto [22:00:54]Method is POST - this is cgi request [22:00:54]url: /json_proto [22:00:54]query_string will be loaded in cgi processing [22:00:54]execute_cgi json_proto POST (null) [22:00:54]execute_cgi path=json_proto method=POST [22:00:54]POST find Content-Length [22:00:54]Host: 172.17.39.4:8080 [22:00:54]Content-Length: 892 [22:00:54]Content-Type: application/json [22:00:54] [22:00:54]POST finish read [22:00:54]Found Content-Length = 892 [22:00:54]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129666", "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: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "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:00:54]execute_script... [22:00: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)129666", "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: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "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:00:54]POST & json_proto [22:00:54]process_json_proto [22:00:54]json parsed OK: [22:00:54]protocol is kg_v1.0 [22:00:54]action value=close_receipt [22:00:54]process_action close_receipt [22:00:54]cmd_close_receipt [22:00:54]MH_GetDate [22:00:54]Write to MH i2c: F0 00 00 E4 0A DD [22:00:54]Write i2c OK [22:00:54]MH_I2C_Read... [22:00:54]Read from MH i2c: F0 [22:00:54]MH_I2C_Read... [22:00:54]Read from MH i2c: F0 09 00 [22:00:54]MH_I2C_Read... [22:00:54]Read from MH i2c: F0 09 00 E4 0A 00 18 9C 95 66 2D 25 5D 64 A8 [22:00:54]GetLastDocTimeStamp 1721080821 [22:00:54]current date 1721080856 [22:00:54]FM_GetShiftState [22:00:54]SAM_PROTO_GetShiftState [22:00:54]wFMCommunicate request_size=4 [22:00:54]MH_SAM_APDU [22:00:54]CAPDU: 80 13 01 00 [22:00:54]Write to MH i2c: E2 08 00 E5 0A 80 13 01 00 00 00 00 00 6C [22:00:54]Write i2c OK [22:00:54]MH_I2C_Read... [22:00:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:00:54]Read from MH i2c: E2 [22:00:54]MH_I2C_Read... [22:00:54]Read from MH i2c: E2 0E 00 [22:00:54]MH_I2C_Read... [22:00:54]Read from MH i2c: E2 0E 00 E5 0A 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 E5 [22:00:54]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [22:00:54]wFMCommunicate OK [22:00:54]SAM_PROTO_GetShiftState done [22:00:54]FM_GetShiftState done [22:00:54]opened in 1721003525 [22:00:54]opened+sec_in_day 1721089925 [22:00:54]quantity*price = 13800 [22:00:54]sum+1 = 13801 [22:00:54]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 СНО: Общий режим Чек 123 15.07.2024 22:00 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 Платежная система: О! деньги ФМ: 0000000000874857 ФД: 57228 ФПД: 15826829949258 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T220056&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57228&fm=15826829949258&tin=02508201610067®Number=0000000000091208&sum=13800 0 [22:00:55]StoreToDocumentArchive [22:00:55]shift 497 fd 57228 [22:00:55]save to /storage/0497/doc_00057228 [22:00:55]save last doc name /storage/0497/doc_00057228 to /storage/kkm_last_doc_name [22:00:55]save OK [22:00:55]Clear old archive folders... [22:00:55]ProcessDocumentItem done err = 0, tmpTLVsize=274 [22:00:55]tlvbuf is 00843E90 [22:00:55]SAM_PROTO_ClearQueue [22:00:55]wFMCommunicate request_size=4 [22:00:55]MH_SAM_APDU [22:00:55]CAPDU: 80 09 00 00 [22:00:55]Write to MH i2c: E2 08 00 F2 0A 80 09 00 00 00 00 00 00 6E [22:00:55]Write i2c OK [22:00:55]MH_I2C_Read... [22:00:55]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:00:55]Read from MH i2c: E2 [22:00:55]MH_I2C_Read... [22:00:55]Read from MH i2c: E2 03 00 [22:00:55]MH_I2C_Read... [22:00:55]Read from MH i2c: E2 03 00 F2 0A 00 90 00 70 [22:00:55]RAPDU: 90 00 [22:00:55]wFMCommunicate OK [22:00:55]SAM_PROTO_ClearQueue done [22:00:55]KKMCreateOFDPacket [22:00:55]OFDProtocolAddRootSTLVToBuf [22:00:55]FM_MakeSignedData [22:00:55]FM_MakeSignedData [22:00:55]SAM_PROTO_SignData [22:00:55]wFMCommunicate request_size=4 [22:00:55]MH_SAM_APDU [22:00:55]CAPDU: 80 0D 01 02 [22:00:55]Write to MH i2c: E2 08 00 F3 0A 80 0D 01 02 00 00 00 00 76 [22:00:55]Write i2c OK [22:00:55]MH_I2C_Read... [22:00:55]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:00:55]Read from MH i2c: E2 [22:00:55]MH_I2C_Read... [22:00:55]Read from MH i2c: E2 03 00 [22:00:55]MH_I2C_Read... [22:00:55]Read from MH i2c: E2 03 00 F3 0A 00 90 00 71 [22:00:55]RAPDU: 90 00 [22:00:55]wFMCommunicate OK [22:00:55]wFMCommunicate request_size=255 [22:00:55]MH_SAM_APDU [22:00:55]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 7B 00 00 00 F4 03 04 00 18 9C 95 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 [22:00:55]Write to MH i2c: E2 02 01 F4 0A 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 7B 00 00 00 F4 03 04 00 18 9C 95 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 00 00 D6 [22:00:55]Write i2c OK [22:00:55]MH_I2C_Read... [22:00:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:00:56]Read from MH i2c: E2 [22:00:56]MH_I2C_Read... [22:00:56]Read from MH i2c: E2 03 00 [22:00:56]MH_I2C_Read... [22:00:56]Read from MH i2c: E2 03 00 F4 0A 00 90 00 72 [22:00:56]RAPDU: 90 00 [22:00:56]wFMCommunicate OK [22:00:56]wFMCommunicate request_size=33 [22:00:56]MH_SAM_APDU [22:00:56]CAPDU: 80 0D 02 02 1C 30 30 30 30 38 37 34 38 35 37 10 04 04 00 8C DF 00 00 35 04 06 00 0E 64 F8 93 B9 4A [22:00:56]Write to MH i2c: E2 24 00 F5 0A 80 0D 02 02 1C 00 30 30 30 30 38 37 34 38 35 37 10 04 04 00 8C DF 00 00 35 04 06 00 0E 64 F8 93 B9 4A 00 00 7A [22:00:56]Write i2c OK [22:00:56]MH_I2C_Read... [22:00:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:00:56]Read from MH i2c: E2 [22:00:56]MH_I2C_Read... [22:00:56]Read from MH i2c: E2 03 00 [22:00:56]MH_I2C_Read... [22:00:56]Read from MH i2c: E2 03 00 F5 0A 00 90 00 73 [22:00:56]RAPDU: 90 00 [22:00:56]wFMCommunicate OK [22:00:56]wFMCommunicate request_size=4 [22:00:56]MH_SAM_APDU [22:00:56]CAPDU: 80 0D 03 02 [22:00:56]Write to MH i2c: E2 08 00 F6 0A 80 0D 03 02 00 00 00 00 7B [22:00:56]Write i2c OK [22:00:56]MH_I2C_Read... [22:00:56]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:00:56]Read from MH i2c: E2 [22:00:56]MH_I2C_Read... [22:00:56]Read from MH i2c: E2 0B 00 [22:00:56]MH_I2C_Read... [22:00:56]Read from MH i2c: E2 0B 00 F6 0A 00 32 D5 A6 9A 27 33 B2 47 90 00 16 [22:00:56]RAPDU: 32 D5 A6 9A 27 33 B2 47 90 00 [22:00:56]wFMCommunicate OK [22:00:56]SAM_PROTO_SignData done [22:00:56]FM_MakeSignedData done [22:00:56]CreateOFDProtocolMessage [22:00:56]wFMCommunicate request_size=4 [22:00:56]MH_SAM_APDU [22:00:56]CAPDU: 80 11 00 00 [22:00:56]Write to MH i2c: E2 08 00 F7 0A 80 11 00 00 00 00 00 00 7B [22:00:56]Write i2c OK [22:00:56]MH_I2C_Read... [22:00:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:00:56]Read from MH i2c: E2 [22:00:56]MH_I2C_Read... [22:00:56]Read from MH i2c: E2 17 00 [22:00:56]MH_I2C_Read... [22:00:56]Read from MH i2c: E2 17 00 F7 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 D5 [22:00:56]RAPDU: 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]wFMCommunicate OK [22:00:56]CreateOFDProtocolMessage done [22:00:56]OFDSenderStorePacket 57228 [22:00:56]StoreOFDPacket docnum=57228 [22:00: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 26 01 00 00 B7 ED 1E 01 C4 B2 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 7B 00 00 00 F4 03 04 00 18 9C 95 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 8C DF 00 00 35 04 06 00 0E 64 F8 93 B9 4A 32 D5 A6 9A 27 33 B2 47 [22:00:56]CheckFolder [22:00:56]dirname=/storage/ofd_packets [22:00:56]CheckFolder done [22:00:56]ProducePacketName [22:00:56]name=ofd_packets/00057228 [22:00:56]NVStorageSaveData ofd_packets/00057228 [22:00:56]File name is /storage/ofd_packets/00057228 [22:00:56]Write 324 bytes [22:00:56]NVStorageSaveData done [22:00:56]OFDSenderStorePacket done [22:00:56]KKMCreateOFDPacket done [22:00:56]NVStorageSaveData kkm_last_timestamp [22:00:56]File name is /storage/kkm_last_timestamp [22:00:56]Write 4 bytes [22:00:56]NVStorageSaveData done [22:00:56]OFD Sender: Processing packet 57228 [packets to send 38, broken 37] [22:00:56]ProducePacketName [22:00:56]name=ofd_packets/00057228 [22:00:56]OFD Sender: To server: pG, [22:00:56]CommunicateWithHost lk.salyk.kg:30040 [22:00:56]ConnectInit lk.salyk.kg [22:00:56]ExternCall_PrintAddStr [22:00:56]wPrintStart [22:00:56]Write to MH i2c: 01 00 00 F8 0A 02 [22:00:56]Write i2c OK [22:00:56]MH_I2C_Read... [22:00:56]Read from MH i2c: 01 [22:00:56]MH_I2C_Read... [22:00:56]Read from MH i2c: 01 07 00 [22:00:56]MH_I2C_Read... [22:00:56]Read from MH i2c: 01 07 00 F8 0A 00 00 00 00 00 FF 0F 17 [22:00:56]RasterBufferAndPrint [22:00:56]line Счет N : (3)129666 [22:00:56]line ИНН: 02508201610067 [22:00:56]line Контрольно-Кассовый Чек [22:00:56]line ПРОДАЖА [22:00:56]line Товар: 4640030091669 [22:00:56]line Сигареты ESSE Exchange S [22:00:56]line 1.000 * 138.00 [22:00:56]line = 138.00 [22:00:56]line НДС 12% НСП 1% [22:00:56]line > о реализуемом товаре [22:00:56]line ИТОГО: 138.00 [22:00:56]line НСП 1% : 1.22 [22:00:56]line НДС 12% : 14.65 [22:00:56]line Наличными: 0.00 [22:00:56]line Безнал.: 138.00 [22:00:56]line Место: АЗС № 132 "Партнер Нефть" [22:00:56]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [22:00:56]line СНО: Общий режим [22:00:56]line Чек 123 15.07.2024 22:00 [22:00:56]line Смена: 497 ФФД: 1.0 [22:00:56]line ЗНМ: 0300000132 [22:00:56]line РНМ: 0000000000091208 [22:00:56]line Версия ККМ: 001 [22:00:56]line Платежная система: О! деньги [22:00:56]line ФМ: 0000000000874857 [22:00:56]line ФД: 57228 [22:00:56]line ФПД: 15826829949258 [22:00:56]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T220056&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57228&fm=15826829949258&tin=02508201610067®Number=0000000000091208&sum=13800 [22:00:56]line 0 [22:00:56]Connected sock=10 [22:00: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 26 01 00 00 B7 ED 1E 01 C4 B2 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 7B 00 00 00 F4 03 04 00 18 9C 95 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 8C DF 00 00 35 04 06 00 0E 64 F8 93 B9 4A 32 D5 A6 9A 27 33 B2 47 [22:00:56]written 0, free lines is 4095 [22:00: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 5C 8F 47 00 37 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 8C DF 00 00 F4 03 04 00 65 42 95 66 B6 04 01 00 00 4F C5 38 1E 60 12 DE 82 [22:00:56]CommunicateWithHost err = 0 [22:00:56]CheckOFDResponse [22:00:56]1017 (14) - 77093643461234 [22:00:56]1041 (16) - 0000000000874857 [22:00:56]1040 (4) - 57228 [22:00:56]1012 (4) - 15.07.2024 15:38 [22:00:56]1206 (1) - 0 [22:00:56]OFD Sender: Remove packet 57228 [22:00:56]ProducePacketName [22:00:56]name=ofd_packets/00057228 [22:00:56]NVStorageDeleteData [22:00:57]Write to MH i2c: 01 00 00 22 0B 2D [22:00:57]Write i2c OK [22:00:57]MH_I2C_Read... [22:00:57]Read from MH i2c: 01 [22:00:57]MH_I2C_Read... [22:00:57]Read from MH i2c: 01 07 00 [22:00:57]MH_I2C_Read... [22:00:57]Read from MH i2c: 01 07 00 22 0B 00 00 00 00 00 E7 0C 27 [22:00:57]RasterBufferAndPrint [22:00:57]line [22:00:57]line [22:00:57]line [22:00:57]line [22:00:57]line [22:00:57]written 0, free lines is 3309 [22:00:57]MH_Cut [22:00:57]Write to MH i2c: D1 01 00 29 0B 01 06 [22:00:57]Write i2c OK [22:00:57]MH_I2C_Read... [22:00:57]Read from MH i2c: D1 [22:00:57]MH_I2C_Read... [22:00:57]Read from MH i2c: D1 01 00 [22:00:57]MH_I2C_Read... [22:00:57]Read from MH i2c: D1 01 00 29 0B 00 05 [22:00:57]Write to MH i2c: 01 00 00 2A 0B 35 [22:00:57]Write i2c OK [22:00:57]MH_I2C_Read... [22:00:57]OFD Sender: No OFD packet to send [22:00:57]*** Cut start [22:00:57]*** Partial cut [22:00:57]*** CUTSNS_PIN = 1 [22:00:57]*** CUTSNS_PIN = 0 [22:00:58]*** Brake cut motor [22:00:58]Read from MH i2c: 01 [22:00:58]MH_I2C_Read... [22:00:58]*** Stop cut motor [22:00:58]*** Cut end [22:00:58]Read from MH i2c: 01 07 00 [22:00:58]MH_I2C_Read... [22:00:58]Read from MH i2c: 01 07 00 2A 0B 00 00 00 00 00 FF 0F 4A [22:00:58]process_action close_receipt done [22:00:58]requested_data is exist [22:00:58]produce_requested_data [22:00:58]requested_item fm.sn is exist - process it [22:00:58]wFMCommunicate request_size=4 [22:00:58]MH_SAM_APDU [22:00:58]CAPDU: 80 11 00 00 [22:00:58]Write to MH i2c: E2 08 00 2B 0B 80 11 00 00 00 00 00 00 B0 [22:00:58]Write i2c OK [22:00:58]MH_I2C_Read... [22:00:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:00:58]Read from MH i2c: E2 [22:00:58]MH_I2C_Read... [22:00:58]Read from MH i2c: E2 17 00 [22:00:58]MH_I2C_Read... [22:00:58]Read from MH i2c: E2 17 00 2B 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 0A [22: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 [22:00:58]wFMCommunicate OK [22:00:58]requested_item fd.num is exist - process it [22:00:58]SAM_PROTO_GetFieldsCounters [22:00:58]wFMCommunicate request_size=4 [22:00:58]MH_SAM_APDU [22:00:58]CAPDU: 80 13 00 00 [22:00:58]Write to MH i2c: E2 08 00 2C 0B 80 13 00 00 00 00 00 00 B3 [22:00:58]Write i2c OK [22:00:58]MH_I2C_Read... [22:00:58]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:00:58]Read from MH i2c: E2 [22:00:58]MH_I2C_Read... [22:00:58]Read from MH i2c: E2 62 00 [22:00:58]MH_I2C_Read... [22:00:58]Read from MH i2c: E2 62 00 2C 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 8C DF 00 00 0E 04 04 00 F1 01 00 00 12 04 04 00 7B 00 00 00 5E 04 04 00 7B 00 00 00 57 04 04 00 7C 00 00 00 19 04 04 00 00 00 00 00 90 00 A4 [22:00: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 8C DF 00 00 0E 04 04 00 F1 01 00 00 12 04 04 00 7B 00 00 00 5E 04 04 00 7B 00 00 00 57 04 04 00 7C 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:00:58]wFMCommunicate OK [22:00:58]SAM_PROTO_GetFieldsCounters done [22:00:58]requested_item shift.num is exist - process it [22:00:58]requested_item shift.opened is exist - process it [22:00:58]req_shift_opened [22:00:58]FM_GetShiftState [22:00:58]SAM_PROTO_GetShiftState [22:00:58]wFMCommunicate request_size=4 [22:00:58]MH_SAM_APDU [22:00:58]CAPDU: 80 13 01 00 [22:00:58]Write to MH i2c: E2 08 00 2D 0B 80 13 01 00 00 00 00 00 B5 [22:00:58]Write i2c OK [22:00:58]MH_I2C_Read... [22:00:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:00:58]Read from MH i2c: E2 [22:00:58]MH_I2C_Read... [22:00:58]Read from MH i2c: E2 0E 00 [22:00:58]MH_I2C_Read... [22:00:58]Read from MH i2c: E2 0E 00 2D 0B 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 2E [22:00:58]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [22:00:58]wFMCommunicate OK [22:00:58]SAM_PROTO_GetShiftState done [22:00:58]FM_GetShiftState done [22:00:58]req_shift_opened done [22:00:58]requested_item shift.open_date is exist - process it [22:00:58]req_shift_open_date [22:00:58]req_shift_open_date done [22:00:58]requested_item shift.sale.total is exist - process it [22:00:58]SAM_PROTO_GetShiftData [22:00:58]wFMCommunicate request_size=4 [22:00:58]MH_SAM_APDU [22:00:58]CAPDU: 80 13 02 00 [22:00:58]Write to MH i2c: E2 08 00 2E 0B 80 13 02 00 00 00 00 00 B7 [22:00:58]Write i2c OK [22:00:58]MH_I2C_Read... [22:00:59]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [22:00:59]Read from MH i2c: E2 [22:00:59]MH_I2C_Read... [22:00:59]Read from MH i2c: E2 FD 00 [22:00:59]MH_I2C_Read... [22:00:59]Read from MH i2c: E2 FD 00 2E 0B 00 B6 04 AA 04 B2 04 6E 04 04 00 7B 00 00 00 69 04 9B 00 6F 04 04 00 7A 00 00 00 B1 04 03 00 FA E6 3A 70 04 03 00 70 DE 2E 72 04 03 00 8A 08 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 76 41 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 6F 85 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 F3 [22:00:59]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 7B 00 00 00 69 04 9B 00 6F 04 04 00 7A 00 00 00 B1 04 03 00 FA E6 3A 70 04 03 00 70 DE 2E 72 04 03 00 8A 08 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 76 41 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 6F 85 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 [22:00:59]wFMCommunicate OK [22:00:59]wFMCommunicate request_size=4 [22:00:59]MH_SAM_APDU [22:00:59]CAPDU: 80 17 00 00 [22:00:59]Write to MH i2c: E2 08 00 2F 0B 80 17 00 00 00 00 00 00 BA [22:00:59]Write i2c OK [22:00:59]MH_I2C_Read... [22:00:59]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [22:00:59]Read from MH i2c: E2 [22:00:59]MH_I2C_Read... [22:00:59]Read from MH i2c: E2 FD 00 [22:00:59]MH_I2C_Read... [22:00:59]Read from MH i2c: E2 FD 00 2F 0B 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 EF [22:00:59]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 [22:00:59]wFMCommunicate OK [22:00:59]wFMCommunicate request_size=4 [22:00:59]MH_SAM_APDU [22:00:59]CAPDU: 80 17 00 00 [22:00:59]Write to MH i2c: E2 08 00 30 0B 80 17 00 00 00 00 00 00 BB [22:00:59]Write i2c OK [22:00:59]MH_I2C_Read... [22:00:59]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [22:00:59]Read from MH i2c: E2 [22:00:59]MH_I2C_Read... [22:00:59]Read from MH i2c: E2 FD 00 [22:00:59]MH_I2C_Read... [22:00:59]Read from MH i2c: E2 FD 00 30 0B 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 7B [22:00:59]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 [22:00:59]wFMCommunicate OK [22:00:59]wFMCommunicate request_size=4 [22:00:59]MH_SAM_APDU [22:00:59]CAPDU: 80 17 00 00 [22:00:59]Write to MH i2c: E2 08 00 31 0B 80 17 00 00 00 00 00 00 BC [22:00:59]Write i2c OK [22:00:59]MH_I2C_Read... [22:00:59]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [22:00:59]Read from MH i2c: E2 [22:00:59]MH_I2C_Read... [22:00:59]Read from MH i2c: E2 FD 00 [22:00:59]MH_I2C_Read... [22:00:59]Read from MH i2c: E2 FD 00 31 0B 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 2B [22:00:59]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 [22:00:59]wFMCommunicate OK [22:00:59]wFMCommunicate request_size=4 [22:00:59]MH_SAM_APDU [22:00:59]CAPDU: 80 17 00 00 [22:00:59]Write to MH i2c: E2 08 00 32 0B 80 17 00 00 00 00 00 00 BD [22:00:59]Write i2c OK [22:00:59]MH_I2C_Read... [22:01:00]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [22:01:00]Read from MH i2c: E2 [22:01:00]MH_I2C_Read... [22:01:00]Read from MH i2c: E2 D3 00 [22:01:00]MH_I2C_Read... [22:01:00]Read from MH i2c: E2 D3 00 32 0B 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 AA [22:01:00]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 [22:01:00]wFMCommunicate OK [22:01:00]SAM_PROTO_GetShiftData done [22:01:00]requested_item shift.sale.total_cash is exist - process it [22:01:00]requested_item shift.sale_refund.total is exist - process it [22:01:00]requested_item shift.sale_refund.total_cash is exist - process it [22:01:00]produce_requested_data done [22:01:00]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57228,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":38602.18,"shift.sale.total_cash":30716.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [22:01:00]process_action_free close_receipt [22:01:00]json_value_free [22:01:00]json_value_free done [22:01:00]process_json_proto returns [22:01:00]Send response to host [22:01:00]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57228,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":38602.18,"shift.sale.total_cash":30716.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [22:01:00]free response buf [22:01:00]execute_script done [22:01:00]execute_script returns [22:01:00]free content buf [22:01:00]Sock 9.Close socket [22:01:00]Sock 9.Thread stoped [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:02]accept exits with 7 [22:03:02]New connection [22:03:02]New thread 3067014500 created [22:03:02]Thread 3066871140 joined [22:03:02]Waiting for new connection... [22:03:02] Sock 7.Parse request [22:03:02]Sock 7.Check first char [22:03:02]Sock 7.First char is OK [22:03:02]request: POST /json_proto HTTP/1.0 [22:03:02]Method: POST [22:03:02]URL: /json_proto [22:03:02]Method is POST - this is cgi request [22:03:02]url: /json_proto [22:03:02]query_string will be loaded in cgi processing [22:03:02]execute_cgi json_proto POST (null) [22:03:02]execute_cgi path=json_proto method=POST [22:03:02]POST find Content-Length [22:03:02]Host: 172.17.39.4:8080 [22:03:02]Content-Length: 863 [22:03:02]Content-Type: application/json [22:03:02] [22:03:02]POST finish read [22:03:02]Found Content-Length = 863 [22:03:02]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129667", "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" ] } } [22:03:02]execute_script... [22:03: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)129667", "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" ] } } [22:03:02]POST & json_proto [22:03:02]process_json_proto [22:03:02]json parsed OK: [22:03:02]protocol is kg_v1.0 [22:03:02]action value=close_receipt [22:03:02]process_action close_receipt [22:03:02]cmd_close_receipt [22:03:02]MH_GetDate [22:03:02]Write to MH i2c: F0 00 00 33 0B 2D [22:03:02]Write i2c OK [22:03:02]MH_I2C_Read... [22:03:02]Read from MH i2c: F0 [22:03:02]MH_I2C_Read... [22:03:02]Read from MH i2c: F0 09 00 [22:03:02]MH_I2C_Read... [22:03:02]Read from MH i2c: F0 09 00 33 0B 00 98 9C 95 66 2D 25 5D 64 78 [22:03:02]GetLastDocTimeStamp 1721080856 [22:03:02]current date 1721080984 [22:03:02]FM_GetShiftState [22:03:02]SAM_PROTO_GetShiftState [22:03:02]wFMCommunicate request_size=4 [22:03:02]MH_SAM_APDU [22:03:02]CAPDU: 80 13 01 00 [22:03:02]Write to MH i2c: E2 08 00 34 0B 80 13 01 00 00 00 00 00 BC [22:03:02]Write i2c OK [22:03:02]MH_I2C_Read... [22:03:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:03:02]Read from MH i2c: E2 [22:03:02]MH_I2C_Read... [22:03:02]Read from MH i2c: E2 0E 00 [22:03:02]MH_I2C_Read... [22:03:02]Read from MH i2c: E2 0E 00 34 0B 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 35 [22:03:02]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [22:03:02]wFMCommunicate OK [22:03:02]SAM_PROTO_GetShiftState done [22:03:02]FM_GetShiftState done [22:03:02]opened in 1721003525 [22:03:02]opened+sec_in_day 1721089925 [22:03:02]quantity*price = 2700 [22:03:02]sum+1 = 2701 [22:03:02]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 СНО: Общий режим Чек 124 15.07.2024 22:03 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57229 ФПД: 158284694902616 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T220304&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57229&fm=158284694902616&tin=02508201610067®Number=0000000000091208&sum=2700 0 [22:03:03]StoreToDocumentArchive [22:03:03]shift 497 fd 57229 [22:03:03]save to /storage/0497/doc_00057229 [22:03:03]save last doc name /storage/0497/doc_00057229 to /storage/kkm_last_doc_name [22:03:03]save OK [22:03:03]Clear old archive folders... [22:03:03]ProcessDocumentItem done err = 0, tmpTLVsize=314 [22:03:03]tlvbuf is 0083D380 [22:03:03]SAM_PROTO_ClearQueue [22:03:03]wFMCommunicate request_size=4 [22:03:03]MH_SAM_APDU [22:03:03]CAPDU: 80 09 00 00 [22:03:03]Write to MH i2c: E2 08 00 41 0B 80 09 00 00 00 00 00 00 BE [22:03:03]Write i2c OK [22:03:03]MH_I2C_Read... [22:03:03]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:03:03]Read from MH i2c: E2 [22:03:03]MH_I2C_Read... [22:03:03]Read from MH i2c: E2 03 00 [22:03:03]MH_I2C_Read... [22:03:03]Read from MH i2c: E2 03 00 41 0B 00 90 00 C0 [22:03:03]RAPDU: 90 00 [22:03:03]wFMCommunicate OK [22:03:03]SAM_PROTO_ClearQueue done [22:03:03]KKMCreateOFDPacket [22:03:03]OFDProtocolAddRootSTLVToBuf [22:03:03]FM_MakeSignedData [22:03:03]FM_MakeSignedData [22:03:03]SAM_PROTO_SignData [22:03:03]wFMCommunicate request_size=4 [22:03:03]MH_SAM_APDU [22:03:03]CAPDU: 80 0D 01 02 [22:03:03]Write to MH i2c: E2 08 00 42 0B 80 0D 01 02 00 00 00 00 C6 [22:03:03]Write i2c OK [22:03:03]MH_I2C_Read... [22:03:03]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:03:03]Read from MH i2c: E2 [22:03:03]MH_I2C_Read... [22:03:03]Read from MH i2c: E2 03 00 [22:03:03]MH_I2C_Read... [22:03:03]Read from MH i2c: E2 03 00 42 0B 00 90 00 C1 [22:03:03]RAPDU: 90 00 [22:03:03]wFMCommunicate OK [22:03:03]wFMCommunicate request_size=255 [22:03:03]MH_SAM_APDU [22:03:03]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 7C 00 00 00 F4 03 04 00 98 9C 95 66 0E 04 04 [22:03:03]Write to MH i2c: E2 02 01 43 0B 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 7C 00 00 00 F4 03 04 00 98 9C 95 66 0E 04 04 00 00 F2 [22:03:03]Write i2c OK [22:03:03]MH_I2C_Read... [22:03:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:03:04]Read from MH i2c: E2 [22:03:04]MH_I2C_Read... [22:03:04]Read from MH i2c: E2 03 00 [22:03:04]MH_I2C_Read... [22:03:04]Read from MH i2c: E2 03 00 43 0B 00 90 00 C2 [22:03:04]RAPDU: 90 00 [22:03:04]wFMCommunicate OK [22:03:04]wFMCommunicate request_size=73 [22:03:04]MH_SAM_APDU [22:03:04]CAPDU: 80 0D 02 02 44 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 8D DF 00 00 35 04 06 00 8F F5 87 03 57 58 [22:03:04]Write to MH i2c: E2 4C 00 44 0B 80 0D 02 02 44 00 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 8D DF 00 00 35 04 06 00 8F F5 87 03 57 58 00 00 03 [22:03:04]Write i2c OK [22:03:04]MH_I2C_Read... [22:03:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:03:04]Read from MH i2c: E2 [22:03:04]MH_I2C_Read... [22:03:04]Read from MH i2c: E2 03 00 [22:03:04]MH_I2C_Read... [22:03:04]Read from MH i2c: E2 03 00 44 0B 00 90 00 C3 [22:03:04]RAPDU: 90 00 [22:03:04]wFMCommunicate OK [22:03:04]wFMCommunicate request_size=4 [22:03:04]MH_SAM_APDU [22:03:04]CAPDU: 80 0D 03 02 [22:03:04]Write to MH i2c: E2 08 00 45 0B 80 0D 03 02 00 00 00 00 CB [22:03:04]Write i2c OK [22:03:04]MH_I2C_Read... [22:03:04]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:03:04]Read from MH i2c: E2 [22:03:04]MH_I2C_Read... [22:03:04]Read from MH i2c: E2 0B 00 [22:03:04]MH_I2C_Read... [22:03:04]Read from MH i2c: E2 0B 00 45 0B 00 19 43 B5 AA 04 99 05 97 90 00 C0 [22:03:04]RAPDU: 19 43 B5 AA 04 99 05 97 90 00 [22:03:04]wFMCommunicate OK [22:03:04]SAM_PROTO_SignData done [22:03:04]FM_MakeSignedData done [22:03:04]CreateOFDProtocolMessage [22:03:04]wFMCommunicate request_size=4 [22:03:04]MH_SAM_APDU [22:03:04]CAPDU: 80 11 00 00 [22:03:04]Write to MH i2c: E2 08 00 46 0B 80 11 00 00 00 00 00 00 CB [22:03:04]Write i2c OK [22:03:04]MH_I2C_Read... [22:03:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:03:04]Read from MH i2c: E2 [22:03:04]MH_I2C_Read... [22:03:04]Read from MH i2c: E2 17 00 [22:03:04]MH_I2C_Read... [22:03:04]Read from MH i2c: E2 17 00 46 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 25 [22:03: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:03:04]wFMCommunicate OK [22:03:04]CreateOFDProtocolMessage done [22:03:04]OFDSenderStorePacket 57229 [22:03:04]StoreOFDPacket docnum=57229 [22:03: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 4E 01 00 00 C6 6D 46 01 D8 F6 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 7C 00 00 00 F4 03 04 00 98 9C 95 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 8D DF 00 00 35 04 06 00 8F F5 87 03 57 58 19 43 B5 AA 04 99 05 97 [22:03:04]CheckFolder [22:03:04]dirname=/storage/ofd_packets [22:03:04]CheckFolder done [22:03:04]ProducePacketName [22:03:04]name=ofd_packets/00057229 [22:03:04]NVStorageSaveData ofd_packets/00057229 [22:03:04]File name is /storage/ofd_packets/00057229 [22:03:04]Write 364 bytes [22:03:04]NVStorageSaveData done [22:03:04]OFDSenderStorePacket done [22:03:04]KKMCreateOFDPacket done [22:03:04]NVStorageSaveData kkm_last_timestamp [22:03:04]File name is /storage/kkm_last_timestamp [22:03:04]Write 4 bytes [22:03:04]NVStorageSaveData done [22:03:04]ExternCall_PrintAddStr [22:03:04]wPrintStart [22:03:04]Write to MH i2c: 01 00 00 47 0B 52 [22:03:04]Write i2c OK [22:03:04]MH_I2C_Read... [22:03:04]Read from MH i2c: 01 [22:03:04]MH_I2C_Read... [22:03:04]Read from MH i2c: 01 07 00 [22:03:04]MH_I2C_Read... [22:03:04]Read from MH i2c: 01 07 00 47 0B 00 00 00 00 00 FF 0F 67 [22:03:04]RasterBufferAndPrint [22:03:04]line Счет N : (3)129667 [22:03:04]line ИНН: 02508201610067 [22:03:04]line Контрольно-Кассовый Чек [22:03:04]line ПРОДАЖА [22:03:04]line Товар: 4870066000476 [22:03:04]line Палочки Алматинский Продукт сладкие 50г [22:03:04]line 1.000 * 27.00 [22:03:04]line = 27.00 [22:03:04]line НДС 12% НСП 1% [22:03:04]line > о реализуемом товаре [22:03:04]line ИТОГО: 27.00 [22:03:04]line НСП 1% : 0.24 [22:03:04]line НДС 12% : 2.87 [22:03:04]line Наличными: 27.00 [22:03:04]line Безнал.: 0.00 [22:03:04]line Место: АЗС № 132 "Партнер Нефть" [22:03:04]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [22:03:04]line СНО: Общий режим [22:03:04]line Чек 124 15.07.2024 22:03 [22:03:04]line Смена: 497 ФФД: 1.0 [22:03:04]line ЗНМ: 0300000132 [22:03:04]line РНМ: 0000000000091208 [22:03:04]line Версия ККМ: 001 [22:03:04]line ФМ: 0000000000874857 [22:03:04]line ФД: 57229 [22:03:04]line ФПД: 158284694902616 [22:03:04]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T220304&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57229&fm=158284694902616&tin=02508201610067®Number=0000000000091208&sum=2700 [22:03:04]line 0 [22:03:04]OFD Sender: Processing packet 57229 [packets to send 38, broken 37] [22:03:04]ProducePacketName [22:03:04]name=ofd_packets/00057229 [22:03:04]OFD Sender: To server: pG, [22:03:04]CommunicateWithHost lk.salyk.kg:30040 [22:03:04]ConnectInit lk.salyk.kg [22:03:04]written 0, free lines is 4095 [22:03:04]Connected sock=10 [22:03: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 4E 01 00 00 C6 6D 46 01 D8 F6 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 7C 00 00 00 F4 03 04 00 98 9C 95 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 8D DF 00 00 35 04 06 00 8F F5 87 03 57 58 19 43 B5 AA 04 99 05 97 [22:03:05]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 77 47 00 D0 34 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 8D DF 00 00 F4 03 04 00 E5 42 95 66 B6 04 01 00 00 FA 8D 93 E9 53 E7 11 06 [22:03:05]CommunicateWithHost err = 0 [22:03:05]CheckOFDResponse [22:03:05]1017 (14) - 77093643461234 [22:03:05]1041 (16) - 0000000000874857 [22:03:05]1040 (4) - 57229 [22:03:05]1012 (4) - 15.07.2024 15:40 [22:03:05]1206 (1) - 0 [22:03:05]OFD Sender: Remove packet 57229 [22:03:05]ProducePacketName [22:03:05]name=ofd_packets/00057229 [22:03:05]NVStorageDeleteData [22:03:05]Write to MH i2c: 01 00 00 70 0B 7B [22:03:05]Write i2c OK [22:03:05]MH_I2C_Read... [22:03:05]Read from MH i2c: 01 [22:03:05]MH_I2C_Read... [22:03:05]Read from MH i2c: 01 07 00 [22:03:05]MH_I2C_Read... [22:03:05]Read from MH i2c: 01 07 00 70 0B 00 00 00 00 00 02 0D 91 [22:03:05]RasterBufferAndPrint [22:03:05]line [22:03:05]line [22:03:05]line [22:03:05]line [22:03:05]line [22:03:05]written 0, free lines is 3337 [22:03:05]MH_Cut [22:03:05]Write to MH i2c: D1 01 00 77 0B 01 54 [22:03:05]Write i2c OK [22:03:05]MH_I2C_Read... [22:03:05]Read from MH i2c: D1 [22:03:05]MH_I2C_Read... [22:03:05]Read from MH i2c: D1 01 00 [22:03:05]MH_I2C_Read... [22:03:05]Read from MH i2c: D1 01 00 77 0B 00 53 [22:03:05]Write to MH i2c: 01 00 00 78 0B 83 [22:03:05]Write i2c OK [22:03:05]MH_I2C_Read... [22:03:05]OFD Sender: No OFD packet to send [22:03:05]*** Cut start [22:03:05]*** Partial cut [22:03:05]*** CUTSNS_PIN = 1 [22:03:05]*** CUTSNS_PIN = 0 [22:03:06]*** Brake cut motor [22:03:06]Read from MH i2c: 01 [22:03:06]MH_I2C_Read... [22:03:06]*** Stop cut motor [22:03:06]*** Cut end [22:03:06]Read from MH i2c: 01 07 00 [22:03:06]MH_I2C_Read... [22:03:06]Read from MH i2c: 01 07 00 78 0B 00 00 00 00 00 FF 0F 98 [22:03:06]process_action close_receipt done [22:03:06]requested_data is exist [22:03:06]produce_requested_data [22:03:06]requested_item fm.sn is exist - process it [22:03:06]wFMCommunicate request_size=4 [22:03:06]MH_SAM_APDU [22:03:06]CAPDU: 80 11 00 00 [22:03:06]Write to MH i2c: E2 08 00 79 0B 80 11 00 00 00 00 00 00 FE [22:03:06]Write i2c OK [22:03:06]MH_I2C_Read... [22:03:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:03:06]Read from MH i2c: E2 [22:03:06]MH_I2C_Read... [22:03:06]Read from MH i2c: E2 17 00 [22:03:06]MH_I2C_Read... [22:03:06]Read from MH i2c: E2 17 00 79 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 58 [22:03:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [22:03:06]wFMCommunicate OK [22:03:06]requested_item fd.num is exist - process it [22:03:06]SAM_PROTO_GetFieldsCounters [22:03:06]wFMCommunicate request_size=4 [22:03:06]MH_SAM_APDU [22:03:06]CAPDU: 80 13 00 00 [22:03:06]Write to MH i2c: E2 08 00 7A 0B 80 13 00 00 00 00 00 00 01 [22:03:06]Write i2c OK [22:03:06]MH_I2C_Read... [22:03:06]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:03:06]Read from MH i2c: E2 [22:03:06]MH_I2C_Read... [22:03:06]Read from MH i2c: E2 62 00 [22:03:06]MH_I2C_Read... [22:03:06]Read from MH i2c: E2 62 00 7A 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 8D DF 00 00 0E 04 04 00 F1 01 00 00 12 04 04 00 7C 00 00 00 5E 04 04 00 7C 00 00 00 57 04 04 00 7D 00 00 00 19 04 04 00 00 00 00 00 90 00 F6 [22:03: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 8D DF 00 00 0E 04 04 00 F1 01 00 00 12 04 04 00 7C 00 00 00 5E 04 04 00 7C 00 00 00 57 04 04 00 7D 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:03:06]wFMCommunicate OK [22:03:06]SAM_PROTO_GetFieldsCounters done [22:03:06]requested_item shift.num is exist - process it [22:03:06]requested_item shift.opened is exist - process it [22:03:06]req_shift_opened [22:03:06]FM_GetShiftState [22:03:06]SAM_PROTO_GetShiftState [22:03:06]wFMCommunicate request_size=4 [22:03:06]MH_SAM_APDU [22:03:06]CAPDU: 80 13 01 00 [22:03:06]Write to MH i2c: E2 08 00 7B 0B 80 13 01 00 00 00 00 00 03 [22:03:06]Write i2c OK [22:03:06]MH_I2C_Read... [22:03:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:03:06]Read from MH i2c: E2 [22:03:06]MH_I2C_Read... [22:03:06]Read from MH i2c: E2 0E 00 [22:03:06]MH_I2C_Read... [22:03:06]Read from MH i2c: E2 0E 00 7B 0B 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 7C [22:03:06]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [22:03:06]wFMCommunicate OK [22:03:06]SAM_PROTO_GetShiftState done [22:03:06]FM_GetShiftState done [22:03:06]req_shift_opened done [22:03:06]requested_item shift.open_date is exist - process it [22:03:06]req_shift_open_date [22:03:06]req_shift_open_date done [22:03:06]requested_item shift.sale.total is exist - process it [22:03:06]SAM_PROTO_GetShiftData [22:03:06]wFMCommunicate request_size=4 [22:03:06]MH_SAM_APDU [22:03:06]CAPDU: 80 13 02 00 [22:03:06]Write to MH i2c: E2 08 00 7C 0B 80 13 02 00 00 00 00 00 05 [22:03:06]Write i2c OK [22:03:06]MH_I2C_Read... [22:03:07]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [22:03:07]Read from MH i2c: E2 [22:03:07]MH_I2C_Read... [22:03:07]Read from MH i2c: E2 FD 00 [22:03:07]MH_I2C_Read... [22:03:07]Read from MH i2c: E2 FD 00 7C 0B 00 B6 04 AA 04 B2 04 6E 04 04 00 7C 00 00 00 69 04 9B 00 6F 04 04 00 7B 00 00 00 B1 04 03 00 86 F1 3A 70 04 03 00 FC E8 2E 72 04 03 00 8A 08 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 95 42 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 87 85 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 A8 [22:03:07]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 7C 00 00 00 69 04 9B 00 6F 04 04 00 7B 00 00 00 B1 04 03 00 86 F1 3A 70 04 03 00 FC E8 2E 72 04 03 00 8A 08 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 95 42 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 87 85 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 [22:03:07]wFMCommunicate OK [22:03:07]wFMCommunicate request_size=4 [22:03:07]MH_SAM_APDU [22:03:07]CAPDU: 80 17 00 00 [22:03:07]Write to MH i2c: E2 08 00 7D 0B 80 17 00 00 00 00 00 00 08 [22:03:07]Write i2c OK [22:03:07]MH_I2C_Read... [22:03:07]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [22:03:07]Read from MH i2c: E2 [22:03:07]MH_I2C_Read... [22:03:07]Read from MH i2c: E2 FD 00 [22:03:07]MH_I2C_Read... [22:03:07]Read from MH i2c: E2 FD 00 7D 0B 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 3D [22:03:07]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 [22:03:07]wFMCommunicate OK [22:03:07]wFMCommunicate request_size=4 [22:03:07]MH_SAM_APDU [22:03:07]CAPDU: 80 17 00 00 [22:03:07]Write to MH i2c: E2 08 00 7E 0B 80 17 00 00 00 00 00 00 09 [22:03:07]Write i2c OK [22:03:07]MH_I2C_Read... [22:03:07]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [22:03:07]Read from MH i2c: E2 [22:03:07]MH_I2C_Read... [22:03:07]Read from MH i2c: E2 FD 00 [22:03:07]MH_I2C_Read... [22:03:07]Read from MH i2c: E2 FD 00 7E 0B 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 C9 [22:03:07]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 [22:03:07]wFMCommunicate OK [22:03:07]wFMCommunicate request_size=4 [22:03:07]MH_SAM_APDU [22:03:07]CAPDU: 80 17 00 00 [22:03:07]Write to MH i2c: E2 08 00 7F 0B 80 17 00 00 00 00 00 00 0A [22:03:07]Write i2c OK [22:03:07]MH_I2C_Read... [22:03:08]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [22:03:08]Read from MH i2c: E2 [22:03:08]MH_I2C_Read... [22:03:08]Read from MH i2c: E2 FD 00 [22:03:08]MH_I2C_Read... [22:03:08]Read from MH i2c: E2 FD 00 7F 0B 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 79 [22:03:08]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 [22:03:08]wFMCommunicate OK [22:03:08]wFMCommunicate request_size=4 [22:03:08]MH_SAM_APDU [22:03:08]CAPDU: 80 17 00 00 [22:03:08]Write to MH i2c: E2 08 00 80 0B 80 17 00 00 00 00 00 00 0B [22:03:08]Write i2c OK [22:03:08]MH_I2C_Read... [22:03:08]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [22:03:08]Read from MH i2c: E2 [22:03:08]MH_I2C_Read... [22:03:08]Read from MH i2c: E2 D3 00 [22:03:08]MH_I2C_Read... [22:03:08]Read from MH i2c: E2 D3 00 80 0B 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 F8 [22:03:08]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 [22:03:08]wFMCommunicate OK [22:03:08]SAM_PROTO_GetShiftData done [22:03:08]requested_item shift.sale.total_cash is exist - process it [22:03:08]requested_item shift.sale_refund.total is exist - process it [22:03:08]requested_item shift.sale_refund.total_cash is exist - process it [22:03:08]produce_requested_data done [22:03:08]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57229,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":38629.18,"shift.sale.total_cash":30743.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [22:03:08]process_action_free close_receipt [22:03:08]json_value_free [22:03:08]json_value_free done [22:03:08]process_json_proto returns [22:03:08]Send response to host [22:03:08]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57229,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":38629.18,"shift.sale.total_cash":30743.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [22:03:08]free response buf [22:03:08]execute_script done [22:03:08]execute_script returns [22:03:08]free content buf [22:03:08]Sock 7.Close socket [22:03:08]Sock 7.Thread stoped [22:03:10]OFD Sender: No OFD packet to send [22:03:15]OFD Sender: No OFD packet to send [22:03:20]OFD Sender: No OFD packet to send [22:03:25]OFD Sender: No OFD packet to send [22:03:30]OFD Sender: No OFD packet to send [22:03:35]OFD Sender: No OFD packet to send [22:03:40]OFD Sender: No OFD packet to send [22:03:45]OFD Sender: No OFD packet to send [22:03:50]OFD Sender: No OFD packet to send [22:03:55]OFD Sender: No OFD packet to send [22:04:00]OFD Sender: No OFD packet to send [22:04:05]OFD Sender: No OFD packet to send [22:04:10]OFD Sender: No OFD packet to send [22:04:15]OFD Sender: No OFD packet to send [22:04:20]OFD Sender: No OFD packet to send [22:04:25]OFD Sender: No OFD packet to send [22:04:30]OFD Sender: No OFD packet to send [22:04:35]OFD Sender: No OFD packet to send [22:04:40]OFD Sender: No OFD packet to send [22:04:45]OFD Sender: No OFD packet to send [22:04:50]OFD Sender: No OFD packet to send [22:04:55]OFD Sender: No OFD packet to send [22:05:00]OFD Sender: No OFD packet to send [22:05:05]OFD Sender: No OFD packet to send [22:05:10]OFD Sender: No OFD packet to send [22:05:15]OFD Sender: No OFD packet to send [22:05:20]OFD Sender: No OFD packet to send [22:05:25]OFD Sender: No OFD packet to send [22:05:30]OFD Sender: No OFD packet to send [22:05:35]OFD Sender: No OFD packet to send [22:05:40]OFD Sender: No OFD packet to send [22:05:45]OFD Sender: No OFD packet to send [22:05:50]OFD Sender: No OFD packet to send [22:05:55]OFD Sender: No OFD packet to send [22:06:00]OFD Sender: No OFD packet to send [22:06:05]OFD Sender: No OFD packet to send [22:06:10]OFD Sender: No OFD packet to send [22:06:15]OFD Sender: No OFD packet to send [22:06:20]OFD Sender: No OFD packet to send [22:06:25]OFD Sender: No OFD packet to send [22:06:30]OFD Sender: No OFD packet to send [22:06:35]OFD Sender: No OFD packet to send [22:06:40]OFD Sender: No OFD packet to send [22:06:45]OFD Sender: No OFD packet to send [22:06:50]OFD Sender: No OFD packet to send [22:06:55]OFD Sender: No OFD packet to send [22:07:00]OFD Sender: No OFD packet to send [22:07:05]OFD Sender: No OFD packet to send [22:07:10]OFD Sender: No OFD packet to send [22:07:15]OFD Sender: No OFD packet to send [22:07:20]OFD Sender: No OFD packet to send [22:07:25]OFD Sender: No OFD packet to send [22:07:30]OFD Sender: No OFD packet to send [22:07:35]OFD Sender: No OFD packet to send [22:07:40]OFD Sender: No OFD packet to send [22:07:45]OFD Sender: No OFD packet to send [22:07:50]OFD Sender: No OFD packet to send [22:07:55]OFD Sender: No OFD packet to send [22:08:00]OFD Sender: No OFD packet to send [22:08:05]OFD Sender: No OFD packet to send [22:08:10]OFD Sender: No OFD packet to send [22:08:15]OFD Sender: No OFD packet to send [22:08:20]OFD Sender: No OFD packet to send [22:08:25]OFD Sender: No OFD packet to send [22:08:30]OFD Sender: No OFD packet to send [22:08:35]OFD Sender: No OFD packet to send [22:08:40]OFD Sender: No OFD packet to send [22:08:45]OFD Sender: No OFD packet to send [22:08:50]OFD Sender: No OFD packet to send [22:08:55]OFD Sender: No OFD packet to send [22:09:00]OFD Sender: No OFD packet to send [22:09:05]OFD Sender: No OFD packet to send [22:09:10]OFD Sender: No OFD packet to send [22:09:15]OFD Sender: No OFD packet to send [22:09:20]OFD Sender: No OFD packet to send [22:09:25]OFD Sender: No OFD packet to send [22:09:30]OFD Sender: No OFD packet to send [22:09:35]OFD Sender: No OFD packet to send [22:09:40]OFD Sender: No OFD packet to send [22:09:45]OFD Sender: No OFD packet to send [22:09:50]OFD Sender: No OFD packet to send [22:09:55]OFD Sender: No OFD packet to send [22:10:00]OFD Sender: No OFD packet to send [22:10:05]OFD Sender: No OFD packet to send [22:10:10]OFD Sender: No OFD packet to send [22:10:15]OFD Sender: No OFD packet to send [22:10:20]OFD Sender: No OFD packet to send [22:10:25]OFD Sender: No OFD packet to send [22:10:30]OFD Sender: No OFD packet to send [22:10:35]OFD Sender: No OFD packet to send [22:10:40]OFD Sender: No OFD packet to send [22:10:45]OFD Sender: No OFD packet to send [22:10:50]OFD Sender: No OFD packet to send [22:10:55]OFD Sender: No OFD packet to send [22:11:00]OFD Sender: No OFD packet to send [22:11:05]OFD Sender: No OFD packet to send [22:11:11]OFD Sender: No OFD packet to send [22:11:16]OFD Sender: No OFD packet to send [22:11:21]OFD Sender: No OFD packet to send [22:11:26]OFD Sender: No OFD packet to send [22:11:31]OFD Sender: No OFD packet to send [22:11:36]OFD Sender: No OFD packet to send [22:11:41]OFD Sender: No OFD packet to send [22:11:46]OFD Sender: No OFD packet to send [22:11:51]OFD Sender: No OFD packet to send [22:11:56]OFD Sender: No OFD packet to send [22:12:01]OFD Sender: No OFD packet to send [22:12:06]OFD Sender: No OFD packet to send [22:12:11]OFD Sender: No OFD packet to send [22:12:16]OFD Sender: No OFD packet to send [22:12:21]OFD Sender: No OFD packet to send [22:12:26]OFD Sender: No OFD packet to send [22:12:31]OFD Sender: No OFD packet to send [22:12:36]OFD Sender: No OFD packet to send [22:12:41]OFD Sender: No OFD packet to send [22:12:46]OFD Sender: No OFD packet to send [22:12:51]OFD Sender: No OFD packet to send [22:12:56]OFD Sender: No OFD packet to send [22:13:01]OFD Sender: No OFD packet to send [22:13:06]OFD Sender: No OFD packet to send [22:13:11]OFD Sender: No OFD packet to send [22:13:16]OFD Sender: No OFD packet to send [22:13:21]OFD Sender: No OFD packet to send [22:13:26]OFD Sender: No OFD packet to send [22:13:31]OFD Sender: No OFD packet to send [22:13:36]OFD Sender: No OFD packet to send [22:13:41]OFD Sender: No OFD packet to send [22:13:46]OFD Sender: No OFD packet to send [22:13:51]OFD Sender: No OFD packet to send [22:13:56]OFD Sender: No OFD packet to send [22:14:01]OFD Sender: No OFD packet to send [22:14:06]OFD Sender: No OFD packet to send [22:14:11]OFD Sender: No OFD packet to send [22:14:16]OFD Sender: No OFD packet to send [22:14:21]OFD Sender: No OFD packet to send [22:14:26]OFD Sender: No OFD packet to send [22:14:31]OFD Sender: No OFD packet to send [22:14:36]OFD Sender: No OFD packet to send [22:14:41]OFD Sender: No OFD packet to send [22:14:46]OFD Sender: No OFD packet to send [22:14:51]OFD Sender: No OFD packet to send [22:14:56]OFD Sender: No OFD packet to send [22:15:01]OFD Sender: No OFD packet to send [22:15:06]OFD Sender: No OFD packet to send [22:15:11]OFD Sender: No OFD packet to send [22:15:16]OFD Sender: No OFD packet to send [22:15:21]OFD Sender: No OFD packet to send [22:15:26]OFD Sender: No OFD packet to send [22:15:31]OFD Sender: No OFD packet to send [22:15:36]OFD Sender: No OFD packet to send [22:15:41]OFD Sender: No OFD packet to send [22:15:46]OFD Sender: No OFD packet to send [22:15:51]OFD Sender: No OFD packet to send [22:15:56]OFD Sender: No OFD packet to send [22:16:01]OFD Sender: No OFD packet to send [22:16:06]OFD Sender: No OFD packet to send [22:16:11]OFD Sender: No OFD packet to send [22:16:16]OFD Sender: No OFD packet to send [22:16:21]OFD Sender: No OFD packet to send [22:16:26]OFD Sender: No OFD packet to send [22:16:31]OFD Sender: No OFD packet to send [22:16:36]OFD Sender: No OFD packet to send [22:16:41]OFD Sender: No OFD packet to send [22:16:46]OFD Sender: No OFD packet to send [22:16:51]OFD Sender: No OFD packet to send [22:16:56]OFD Sender: No OFD packet to send [22:17:01]OFD Sender: No OFD packet to send [22:17:06]OFD Sender: No OFD packet to send [22:17:11]OFD Sender: No OFD packet to send [22:17:16]OFD Sender: No OFD packet to send [22:17:21]OFD Sender: No OFD packet to send [22:17:26]OFD Sender: No OFD packet to send [22:17:31]OFD Sender: No OFD packet to send [22:17:36]OFD Sender: No OFD packet to send [22:17:41]OFD Sender: No OFD packet to send [22:17:46]OFD Sender: No OFD packet to send [22:17:51]OFD Sender: No OFD packet to send [22:17:56]OFD Sender: No OFD packet to send [22:18:01]OFD Sender: No OFD packet to send [22:18:06]OFD Sender: No OFD packet to send [22:18:11]OFD Sender: No OFD packet to send [22:18:16]OFD Sender: No OFD packet to send [22:18:21]OFD Sender: No OFD packet to send [22:18:26]OFD Sender: No OFD packet to send [22:18:31]OFD Sender: No OFD packet to send [22:18:36]OFD Sender: No OFD packet to send [22:18:41]OFD Sender: No OFD packet to send [22:18:46]OFD Sender: No OFD packet to send [22:18:51]OFD Sender: No OFD packet to send [22:18:56]OFD Sender: No OFD packet to send [22:19:01]OFD Sender: No OFD packet to send [22:19:06]OFD Sender: No OFD packet to send [22:19:11]OFD Sender: No OFD packet to send [22:19:16]OFD Sender: No OFD packet to send [22:19:21]OFD Sender: No OFD packet to send [22:19:26]OFD Sender: No OFD packet to send [22:19:31]OFD Sender: No OFD packet to send [22:19:36]OFD Sender: No OFD packet to send [22:19:41]OFD Sender: No OFD packet to send [22:19:46]OFD Sender: No OFD packet to send [22:19:51]OFD Sender: No OFD packet to send [22:19:56]OFD Sender: No OFD packet to send [22:20:01]OFD Sender: No OFD packet to send [22:20:06]OFD Sender: No OFD packet to send [22:20:11]OFD Sender: No OFD packet to send [22:20:16]OFD Sender: No OFD packet to send [22:20:21]OFD Sender: No OFD packet to send [22:20:26]OFD Sender: No OFD packet to send [22:20:31]OFD Sender: No OFD packet to send [22:20:36]OFD Sender: No OFD packet to send [22:20:41]OFD Sender: No OFD packet to send [22:20:46]OFD Sender: No OFD packet to send [22:20:51]OFD Sender: No OFD packet to send [22:20:56]OFD Sender: No OFD packet to send [22:21:01]OFD Sender: No OFD packet to send [22:21:06]OFD Sender: No OFD packet to send [22:21:11]OFD Sender: No OFD packet to send [22:21:16]OFD Sender: No OFD packet to send [22:21:21]OFD Sender: No OFD packet to send [22:21:26]OFD Sender: No OFD packet to send [22:21:31]OFD Sender: No OFD packet to send [22:21:36]OFD Sender: No OFD packet to send [22:21:41]OFD Sender: No OFD packet to send [22:21:46]OFD Sender: No OFD packet to send [22:21:51]OFD Sender: No OFD packet to send [22:21:56]OFD Sender: No OFD packet to send [22:22:01]OFD Sender: No OFD packet to send [22:22:06]OFD Sender: No OFD packet to send [22:22:11]OFD Sender: No OFD packet to send [22:22:16]OFD Sender: No OFD packet to send [22:22:21]OFD Sender: No OFD packet to send [22:22:26]OFD Sender: No OFD packet to send [22:22:31]OFD Sender: No OFD packet to send [22:22:36]OFD Sender: No OFD packet to send [22:22:41]OFD Sender: No OFD packet to send [22:22:46]OFD Sender: No OFD packet to send [22:22:51]OFD Sender: No OFD packet to send [22:22:56]OFD Sender: No OFD packet to send [22:23:01]OFD Sender: No OFD packet to send [22:23:06]OFD Sender: No OFD packet to send [22:23:11]OFD Sender: No OFD packet to send [22:23:16]OFD Sender: No OFD packet to send [22:23:21]OFD Sender: No OFD packet to send [22:23:26]OFD Sender: No OFD packet to send [22:23:31]OFD Sender: No OFD packet to send [22:23:36]OFD Sender: No OFD packet to send [22:23:41]OFD Sender: No OFD packet to send [22:23:46]OFD Sender: No OFD packet to send [22:23:51]OFD Sender: No OFD packet to send [22:23:56]OFD Sender: No OFD packet to send [22:24:01]OFD Sender: No OFD packet to send [22:24:06]OFD Sender: No OFD packet to send [22:24:11]OFD Sender: No OFD packet to send [22:24:16]OFD Sender: No OFD packet to send [22:24:21]OFD Sender: No OFD packet to send [22:24:26]OFD Sender: No OFD packet to send [22:24:31]OFD Sender: No OFD packet to send [22:24:36]OFD Sender: No OFD packet to send [22:24:41]OFD Sender: No OFD packet to send [22:24:46]OFD Sender: No OFD packet to send [22:24:51]OFD Sender: No OFD packet to send [22:24:56]OFD Sender: No OFD packet to send [22:25:01]OFD Sender: No OFD packet to send [22:25:06]OFD Sender: No OFD packet to send [22:25:11]OFD Sender: No OFD packet to send [22:25:16]OFD Sender: No OFD packet to send [22:25:21]OFD Sender: No OFD packet to send [22:25:26]OFD Sender: No OFD packet to send [22:25:31]OFD Sender: No OFD packet to send [22:25:36]OFD Sender: No OFD packet to send [22:25:41]OFD Sender: No OFD packet to send [22:25:46]OFD Sender: No OFD packet to send [22:25:51]OFD Sender: No OFD packet to send [22:25:56]OFD Sender: No OFD packet to send [22:26:01]OFD Sender: No OFD packet to send [22:26:06]OFD Sender: No OFD packet to send [22:26:11]OFD Sender: No OFD packet to send [22:26:16]OFD Sender: No OFD packet to send [22:26:21]OFD Sender: No OFD packet to send [22:26:26]OFD Sender: No OFD packet to send [22:26:31]OFD Sender: No OFD packet to send [22:26:36]OFD Sender: No OFD packet to send [22:26:41]OFD Sender: No OFD packet to send [22:26:46]OFD Sender: No OFD packet to send [22:26:51]OFD Sender: No OFD packet to send [22:26:56]OFD Sender: No OFD packet to send [22:27:01]OFD Sender: No OFD packet to send [22:27:06]OFD Sender: No OFD packet to send [22:27:11]OFD Sender: No OFD packet to send [22:27:16]OFD Sender: No OFD packet to send [22:27:21]OFD Sender: No OFD packet to send [22:27:26]OFD Sender: No OFD packet to send [22:27:31]OFD Sender: No OFD packet to send [22:27:36]OFD Sender: No OFD packet to send [22:27:41]OFD Sender: No OFD packet to send [22:27:46]OFD Sender: No OFD packet to send [22:27:51]OFD Sender: No OFD packet to send [22:27:56]OFD Sender: No OFD packet to send [22:28:01]OFD Sender: No OFD packet to send [22:28:06]OFD Sender: No OFD packet to send [22:28:11]OFD Sender: No OFD packet to send [22:28:16]OFD Sender: No OFD packet to send [22:28:21]OFD Sender: No OFD packet to send [22:28:26]OFD Sender: No OFD packet to send [22:28:31]OFD Sender: No OFD packet to send [22:28:36]OFD Sender: No OFD packet to send [22:28:41]OFD Sender: No OFD packet to send [22:28:46]OFD Sender: No OFD packet to send [22:28:51]OFD Sender: No OFD packet to send [22:28:56]OFD Sender: No OFD packet to send [22:29:01]OFD Sender: No OFD packet to send [22:29:06]OFD Sender: No OFD packet to send [22:29:11]OFD Sender: No OFD packet to send [22:29:16]OFD Sender: No OFD packet to send [22:29:21]OFD Sender: No OFD packet to send [22:29:26]OFD Sender: No OFD packet to send [22:29:31]OFD Sender: No OFD packet to send [22:29:36]OFD Sender: No OFD packet to send [22:29:41]OFD Sender: No OFD packet to send [22:29:46]OFD Sender: No OFD packet to send [22:29:51]OFD Sender: No OFD packet to send [22:29:56]OFD Sender: No OFD packet to send [22:30:01]OFD Sender: No OFD packet to send [22:30:07]OFD Sender: No OFD packet to send [22:30:12]OFD Sender: No OFD packet to send [22:30:17]OFD Sender: No OFD packet to send [22:30:22]OFD Sender: No OFD packet to send [22:30:24]accept exits with 9 [22:30:24]New connection [22:30:24]New thread 3066871140 created [22:30:24]Thread 3067014500 joined [22:30:24]Waiting for new connection... [22:30:24] Sock 9.Parse request [22:30:24]Sock 9.Check first char [22:30:24]Sock 9.First char is OK [22:30:24]request: POST /json_proto HTTP/1.0 [22:30:24]Method: POST [22:30:24]URL: /json_proto [22:30:24]Method is POST - this is cgi request [22:30:24]url: /json_proto [22:30:24]query_string will be loaded in cgi processing [22:30:24]execute_cgi json_proto POST (null) [22:30:24]execute_cgi path=json_proto method=POST [22:30:24]POST find Content-Length [22:30:24]Host: 172.17.39.4:8080 [22:30:24]Content-Length: 726 [22:30:24]Content-Type: application/json [22:30:24] [22:30:24]POST finish read [22:30:24]Found Content-Length = 726 [22:30:24]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129668", "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" ] } } [22:30:24]execute_script... [22:30: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)129668", "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" ] } } [22:30:24]POST & json_proto [22:30:24]process_json_proto [22:30:24]json parsed OK: [22:30:24]protocol is kg_v1.0 [22:30:24]action value=close_receipt [22:30:24]process_action close_receipt [22:30:24]cmd_close_receipt [22:30:24]MH_GetDate [22:30:24]Write to MH i2c: F0 00 00 81 0B 7B [22:30:24]Write i2c OK [22:30:24]MH_I2C_Read... [22:30:24]Read from MH i2c: F0 [22:30:24]MH_I2C_Read... [22:30:24]Read from MH i2c: F0 09 00 [22:30:24]MH_I2C_Read... [22:30:24]Read from MH i2c: F0 09 00 81 0B 00 02 A3 95 66 2D 25 5D 64 37 [22:30:24]GetLastDocTimeStamp 1721080984 [22:30:24]current date 1721082626 [22:30:24]FM_GetShiftState [22:30:24]SAM_PROTO_GetShiftState [22:30:24]wFMCommunicate request_size=4 [22:30:24]MH_SAM_APDU [22:30:24]CAPDU: 80 13 01 00 [22:30:24]Write to MH i2c: E2 08 00 82 0B 80 13 01 00 00 00 00 00 0A [22:30:24]Write i2c OK [22:30:24]MH_I2C_Read... [22:30:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:30:24]Read from MH i2c: E2 [22:30:24]MH_I2C_Read... [22:30:24]Read from MH i2c: E2 0E 00 [22:30:24]MH_I2C_Read... [22:30:24]Read from MH i2c: E2 0E 00 82 0B 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 83 [22:30:24]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [22:30:24]wFMCommunicate OK [22:30:24]SAM_PROTO_GetShiftState done [22:30:24]FM_GetShiftState done [22:30:24]opened in 1721003525 [22:30:24]opened+sec_in_day 1721089925 [22:30:24]quantity*price = 13800 [22:30:24]sum+1 = 13801 [22:30:24]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 СНО: Общий режим Чек 125 15.07.2024 22:30 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57230 ФПД: 21044123741257 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T223026&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57230&fm=21044123741257&tin=02508201610067®Number=0000000000091208&sum=13800 0 [22:30:25]StoreToDocumentArchive [22:30:25]shift 497 fd 57230 [22:30:25]save to /storage/0497/doc_00057230 [22:30:25]save last doc name /storage/0497/doc_00057230 to /storage/kkm_last_doc_name [22:30:25]save OK [22:30:25]Clear old archive folders... [22:30:25]ProcessDocumentItem done err = 0, tmpTLVsize=274 [22:30:25]tlvbuf is 008832B0 [22:30:25]SAM_PROTO_ClearQueue [22:30:25]wFMCommunicate request_size=4 [22:30:25]MH_SAM_APDU [22:30:25]CAPDU: 80 09 00 00 [22:30:25]Write to MH i2c: E2 08 00 8F 0B 80 09 00 00 00 00 00 00 0C [22:30:25]Write i2c OK [22:30:25]MH_I2C_Read... [22:30:25]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:30:25]Read from MH i2c: E2 [22:30:25]MH_I2C_Read... [22:30:25]Read from MH i2c: E2 03 00 [22:30:25]MH_I2C_Read... [22:30:25]Read from MH i2c: E2 03 00 8F 0B 00 90 00 0E [22:30:25]RAPDU: 90 00 [22:30:25]wFMCommunicate OK [22:30:25]SAM_PROTO_ClearQueue done [22:30:25]KKMCreateOFDPacket [22:30:25]OFDProtocolAddRootSTLVToBuf [22:30:25]FM_MakeSignedData [22:30:25]FM_MakeSignedData [22:30:25]SAM_PROTO_SignData [22:30:25]wFMCommunicate request_size=4 [22:30:25]MH_SAM_APDU [22:30:25]CAPDU: 80 0D 01 02 [22:30:25]Write to MH i2c: E2 08 00 90 0B 80 0D 01 02 00 00 00 00 14 [22:30:25]Write i2c OK [22:30:25]MH_I2C_Read... [22:30:25]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:30:25]Read from MH i2c: E2 [22:30:25]MH_I2C_Read... [22:30:25]Read from MH i2c: E2 03 00 [22:30:25]MH_I2C_Read... [22:30:25]Read from MH i2c: E2 03 00 90 0B 00 90 00 0F [22:30:25]RAPDU: 90 00 [22:30:25]wFMCommunicate OK [22:30:25]wFMCommunicate request_size=255 [22:30:25]MH_SAM_APDU [22:30:25]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 7D 00 00 00 F4 03 04 00 02 A3 95 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 [22:30:25]Write to MH i2c: E2 02 01 91 0B 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 7D 00 00 00 F4 03 04 00 02 A3 95 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 00 00 5B [22:30:25]Write i2c OK [22:30:25]MH_I2C_Read... [22:30:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:30:26]Read from MH i2c: E2 [22:30:26]MH_I2C_Read... [22:30:26]Read from MH i2c: E2 03 00 [22:30:26]MH_I2C_Read... [22:30:26]Read from MH i2c: E2 03 00 91 0B 00 90 00 10 [22:30:26]RAPDU: 90 00 [22:30:26]wFMCommunicate OK [22:30:26]wFMCommunicate request_size=33 [22:30:26]MH_SAM_APDU [22:30:26]CAPDU: 80 0D 02 02 1C 30 30 30 30 38 37 34 38 35 37 10 04 04 00 8E DF 00 00 35 04 06 00 13 23 B7 85 2C 49 [22:30:26]Write to MH i2c: E2 24 00 92 0B 80 0D 02 02 1C 00 30 30 30 30 38 37 34 38 35 37 10 04 04 00 8E DF 00 00 35 04 06 00 13 23 B7 85 2C 49 00 00 01 [22:30:26]Write i2c OK [22:30:26]MH_I2C_Read... [22:30:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:30:26]Read from MH i2c: E2 [22:30:26]MH_I2C_Read... [22:30:26]Read from MH i2c: E2 03 00 [22:30:26]MH_I2C_Read... [22:30:26]Read from MH i2c: E2 03 00 92 0B 00 90 00 11 [22:30:26]RAPDU: 90 00 [22:30:26]wFMCommunicate OK [22:30:26]wFMCommunicate request_size=4 [22:30:26]MH_SAM_APDU [22:30:26]CAPDU: 80 0D 03 02 [22:30:26]Write to MH i2c: E2 08 00 93 0B 80 0D 03 02 00 00 00 00 19 [22:30:26]Write i2c OK [22:30:26]MH_I2C_Read... [22:30:26]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:30:26]Read from MH i2c: E2 [22:30:26]MH_I2C_Read... [22:30:26]Read from MH i2c: E2 0B 00 [22:30:26]MH_I2C_Read... [22:30:26]Read from MH i2c: E2 0B 00 93 0B 00 8B 1B 97 4F D9 44 18 23 90 00 FE [22:30:26]RAPDU: 8B 1B 97 4F D9 44 18 23 90 00 [22:30:26]wFMCommunicate OK [22:30:26]SAM_PROTO_SignData done [22:30:26]FM_MakeSignedData done [22:30:26]CreateOFDProtocolMessage [22:30:26]wFMCommunicate request_size=4 [22:30:26]MH_SAM_APDU [22:30:26]CAPDU: 80 11 00 00 [22:30:26]Write to MH i2c: E2 08 00 94 0B 80 11 00 00 00 00 00 00 19 [22:30:26]Write i2c OK [22:30:26]MH_I2C_Read... [22:30:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:30:26]Read from MH i2c: E2 [22:30:26]MH_I2C_Read... [22:30:26]Read from MH i2c: E2 17 00 [22:30:26]MH_I2C_Read... [22:30:26]Read from MH i2c: E2 17 00 94 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 73 [22:30:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [22:30:26]wFMCommunicate OK [22:30:26]CreateOFDProtocolMessage done [22:30:26]OFDSenderStorePacket 57230 [22:30:26]StoreOFDPacket docnum=57230 [22:30: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 26 01 00 00 B1 AA 1E 01 9C 5F 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 7D 00 00 00 F4 03 04 00 02 A3 95 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 8E DF 00 00 35 04 06 00 13 23 B7 85 2C 49 8B 1B 97 4F D9 44 18 23 [22:30:26]CheckFolder [22:30:26]dirname=/storage/ofd_packets [22:30:26]CheckFolder done [22:30:26]ProducePacketName [22:30:26]name=ofd_packets/00057230 [22:30:26]NVStorageSaveData ofd_packets/00057230 [22:30:26]File name is /storage/ofd_packets/00057230 [22:30:26]Write 324 bytes [22:30:26]NVStorageSaveData done [22:30:26]OFDSenderStorePacket done [22:30:26]KKMCreateOFDPacket done [22:30:26]NVStorageSaveData kkm_last_timestamp [22:30:26]File name is /storage/kkm_last_timestamp [22:30:26]Write 4 bytes [22:30:26]NVStorageSaveData done [22:30:26]ExternCall_PrintAddStr [22:30:26]wPrintStart [22:30:26]Write to MH i2c: 01 00 00 95 0B A0 [22:30:26]Write i2c OK [22:30:26]MH_I2C_Read... [22:30:26]Read from MH i2c: 01 [22:30:26]MH_I2C_Read... [22:30:26]Read from MH i2c: 01 07 00 [22:30:26]MH_I2C_Read... [22:30:26]Read from MH i2c: 01 07 00 95 0B 00 00 00 00 00 FF 0F B5 [22:30:26]RasterBufferAndPrint [22:30:26]line Счет N : (3)129668 [22:30:26]line ИНН: 02508201610067 [22:30:26]line Контрольно-Кассовый Чек [22:30:26]line ПРОДАЖА [22:30:26]line Товар: 4640030091645 [22:30:26]line Сигареты ESSE Exchange M [22:30:26]line 1.000 * 138.00 [22:30:26]line = 138.00 [22:30:26]line НДС 12% НСП 1% [22:30:26]line > о реализуемом товаре [22:30:26]line ИТОГО: 138.00 [22:30:26]line НСП 1% : 1.22 [22:30:26]line НДС 12% : 14.65 [22:30:26]line Наличными: 138.00 [22:30:26]line Безнал.: 0.00 [22:30:26]line Место: АЗС № 132 "Партнер Нефть" [22:30:26]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [22:30:26]line СНО: Общий режим [22:30:26]line Чек 125 15.07.2024 22:30 [22:30:26]line Смена: 497 ФФД: 1.0 [22:30:26]line ЗНМ: 0300000132 [22:30:26]line РНМ: 0000000000091208 [22:30:26]line Версия ККМ: 001 [22:30:26]line ФМ: 0000000000874857 [22:30:26]line ФД: 57230 [22:30:26]line ФПД: 21044123741257 [22:30:26]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T223026&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57230&fm=21044123741257&tin=02508201610067®Number=0000000000091208&sum=13800 [22:30:26]line 0 [22:30:26]written 0, free lines is 4095 [22:30:26]OFD Sender: Processing packet 57230 [packets to send 38, broken 37] [22:30:26]ProducePacketName [22:30:26]name=ofd_packets/00057230 [22:30:26]OFD Sender: To server: pG, [22:30:26]CommunicateWithHost lk.salyk.kg:30040 [22:30:26]ConnectInit lk.salyk.kg [22:30:26]Connected sock=10 [22:30: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 26 01 00 00 B1 AA 1E 01 9C 5F 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 7D 00 00 00 F4 03 04 00 02 A3 95 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 8E DF 00 00 35 04 06 00 13 23 B7 85 2C 49 8B 1B 97 4F D9 44 18 23 [22:30: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 57 F6 47 00 76 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 8E DF 00 00 F4 03 04 00 4F 49 95 66 B6 04 01 00 00 E4 35 E0 AE 8F 38 E7 41 [22:30:26]CommunicateWithHost err = 0 [22:30:26]CheckOFDResponse [22:30:26]1017 (14) - 77093643461234 [22:30:26]1041 (16) - 0000000000874857 [22:30:26]1040 (4) - 57230 [22:30:26]1012 (4) - 15.07.2024 16:07 [22:30:26]1206 (1) - 0 [22:30:26]OFD Sender: Remove packet 57230 [22:30:26]ProducePacketName [22:30:26]name=ofd_packets/00057230 [22:30:26]NVStorageDeleteData [22:30:27]Write to MH i2c: 01 00 00 BD 0B C8 [22:30:27]Write i2c OK [22:30:27]MH_I2C_Read... [22:30:27]Read from MH i2c: 01 [22:30:27]MH_I2C_Read... [22:30:27]Read from MH i2c: 01 07 00 [22:30:27]MH_I2C_Read... [22:30:27]Read from MH i2c: 01 07 00 BD 0B 00 00 00 00 00 FE 0C D9 [22:30:27]RasterBufferAndPrint [22:30:27]line [22:30:27]line [22:30:27]line [22:30:27]line [22:30:27]line [22:30:27]written 0, free lines is 3332 [22:30:27]MH_Cut [22:30:27]Write to MH i2c: D1 01 00 C4 0B 01 A1 [22:30:27]Write i2c OK [22:30:27]MH_I2C_Read... [22:30:27]Read from MH i2c: D1 [22:30:27]MH_I2C_Read... [22:30:27]Read from MH i2c: D1 01 00 [22:30:27]MH_I2C_Read... [22:30:27]Read from MH i2c: D1 01 00 C4 0B 00 A0 [22:30:27]Write to MH i2c: 01 00 00 C5 0B D0 [22:30:27]Write i2c OK [22:30:27]MH_I2C_Read... [22:30:27]OFD Sender: No OFD packet to send [22:30:27]*** Cut start [22:30:27]*** Partial cut [22:30:27]*** CUTSNS_PIN = 1 [22:30:27]*** CUTSNS_PIN = 0 [22:30:28]*** Brake cut motor [22:30:28]Read from MH i2c: 01 [22:30:28]MH_I2C_Read... [22:30:28]*** Stop cut motor [22:30:28]*** Cut end [22:30:28]Read from MH i2c: 01 07 00 [22:30:28]MH_I2C_Read... [22:30:28]Read from MH i2c: 01 07 00 C5 0B 00 00 00 00 00 FF 0F E5 [22:30:28]process_action close_receipt done [22:30:28]requested_data is exist [22:30:28]produce_requested_data [22:30:28]requested_item fm.sn is exist - process it [22:30:28]wFMCommunicate request_size=4 [22:30:28]MH_SAM_APDU [22:30:28]CAPDU: 80 11 00 00 [22:30:28]Write to MH i2c: E2 08 00 C6 0B 80 11 00 00 00 00 00 00 4B [22:30:28]Write i2c OK [22:30:28]MH_I2C_Read... [22:30:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:30:28]Read from MH i2c: E2 [22:30:28]MH_I2C_Read... [22:30:28]Read from MH i2c: E2 17 00 [22:30:28]MH_I2C_Read... [22:30:28]Read from MH i2c: E2 17 00 C6 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 A5 [22:30:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [22:30:28]wFMCommunicate OK [22:30:28]requested_item fd.num is exist - process it [22:30:28]SAM_PROTO_GetFieldsCounters [22:30:28]wFMCommunicate request_size=4 [22:30:28]MH_SAM_APDU [22:30:28]CAPDU: 80 13 00 00 [22:30:28]Write to MH i2c: E2 08 00 C7 0B 80 13 00 00 00 00 00 00 4E [22:30:28]Write i2c OK [22:30:28]MH_I2C_Read... [22:30:28]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:30:28]Read from MH i2c: E2 [22:30:28]MH_I2C_Read... [22:30:28]Read from MH i2c: E2 62 00 [22:30:28]MH_I2C_Read... [22:30:28]Read from MH i2c: E2 62 00 C7 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 8E DF 00 00 0E 04 04 00 F1 01 00 00 12 04 04 00 7D 00 00 00 5E 04 04 00 7D 00 00 00 57 04 04 00 7E 00 00 00 19 04 04 00 00 00 00 00 90 00 47 [22:30: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 8E DF 00 00 0E 04 04 00 F1 01 00 00 12 04 04 00 7D 00 00 00 5E 04 04 00 7D 00 00 00 57 04 04 00 7E 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:30:28]wFMCommunicate OK [22:30:28]SAM_PROTO_GetFieldsCounters done [22:30:28]requested_item shift.num is exist - process it [22:30:28]requested_item shift.opened is exist - process it [22:30:28]req_shift_opened [22:30:28]FM_GetShiftState [22:30:28]SAM_PROTO_GetShiftState [22:30:28]wFMCommunicate request_size=4 [22:30:28]MH_SAM_APDU [22:30:28]CAPDU: 80 13 01 00 [22:30:28]Write to MH i2c: E2 08 00 C8 0B 80 13 01 00 00 00 00 00 50 [22:30:28]Write i2c OK [22:30:28]MH_I2C_Read... [22:30:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:30:28]Read from MH i2c: E2 [22:30:28]MH_I2C_Read... [22:30:28]Read from MH i2c: E2 0E 00 [22:30:28]MH_I2C_Read... [22:30:28]Read from MH i2c: E2 0E 00 C8 0B 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 C9 [22:30:28]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [22:30:28]wFMCommunicate OK [22:30:28]SAM_PROTO_GetShiftState done [22:30:28]FM_GetShiftState done [22:30:28]req_shift_opened done [22:30:28]requested_item shift.open_date is exist - process it [22:30:28]req_shift_open_date [22:30:28]req_shift_open_date done [22:30:28]requested_item shift.sale.total is exist - process it [22:30:28]SAM_PROTO_GetShiftData [22:30:28]wFMCommunicate request_size=4 [22:30:28]MH_SAM_APDU [22:30:28]CAPDU: 80 13 02 00 [22:30:28]Write to MH i2c: E2 08 00 C9 0B 80 13 02 00 00 00 00 00 52 [22:30:28]Write i2c OK [22:30:28]MH_I2C_Read... [22:30:29]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [22:30:29]Read from MH i2c: E2 [22:30:29]MH_I2C_Read... [22:30:29]Read from MH i2c: E2 FD 00 [22:30:29]MH_I2C_Read... [22:30:29]Read from MH i2c: E2 FD 00 C9 0B 00 B6 04 AA 04 B2 04 6E 04 04 00 7D 00 00 00 69 04 9B 00 6F 04 04 00 7C 00 00 00 B1 04 03 00 6E 27 3B 70 04 03 00 E4 1E 2F 72 04 03 00 8A 08 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 4E 48 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 01 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 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 6F [22:30:29]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 7D 00 00 00 69 04 9B 00 6F 04 04 00 7C 00 00 00 B1 04 03 00 6E 27 3B 70 04 03 00 E4 1E 2F 72 04 03 00 8A 08 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 4E 48 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 01 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 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 [22:30:29]wFMCommunicate OK [22:30:29]wFMCommunicate request_size=4 [22:30:29]MH_SAM_APDU [22:30:29]CAPDU: 80 17 00 00 [22:30:29]Write to MH i2c: E2 08 00 CA 0B 80 17 00 00 00 00 00 00 55 [22:30:29]Write i2c OK [22:30:29]MH_I2C_Read... [22:30:29]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [22:30:29]Read from MH i2c: E2 [22:30:29]MH_I2C_Read... [22:30:29]Read from MH i2c: E2 FD 00 [22:30:29]MH_I2C_Read... [22:30:29]Read from MH i2c: E2 FD 00 CA 0B 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 8A [22:30:29]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 [22:30:29]wFMCommunicate OK [22:30:29]wFMCommunicate request_size=4 [22:30:29]MH_SAM_APDU [22:30:29]CAPDU: 80 17 00 00 [22:30:29]Write to MH i2c: E2 08 00 CB 0B 80 17 00 00 00 00 00 00 56 [22:30:29]Write i2c OK [22:30:29]MH_I2C_Read... [22:30:29]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [22:30:29]Read from MH i2c: E2 [22:30:29]MH_I2C_Read... [22:30:29]Read from MH i2c: E2 FD 00 [22:30:29]MH_I2C_Read... [22:30:29]Read from MH i2c: E2 FD 00 CB 0B 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 16 [22:30:29]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 [22:30:29]wFMCommunicate OK [22:30:29]wFMCommunicate request_size=4 [22:30:29]MH_SAM_APDU [22:30:29]CAPDU: 80 17 00 00 [22:30:29]Write to MH i2c: E2 08 00 CC 0B 80 17 00 00 00 00 00 00 57 [22:30:29]Write i2c OK [22:30:29]MH_I2C_Read... [22:30:29]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [22:30:29]Read from MH i2c: E2 [22:30:29]MH_I2C_Read... [22:30:29]Read from MH i2c: E2 FD 00 [22:30:29]MH_I2C_Read... [22:30:29]Read from MH i2c: E2 FD 00 CC 0B 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 C6 [22:30:29]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 [22:30:30]wFMCommunicate OK [22:30:30]wFMCommunicate request_size=4 [22:30:30]MH_SAM_APDU [22:30:30]CAPDU: 80 17 00 00 [22:30:30]Write to MH i2c: E2 08 00 CD 0B 80 17 00 00 00 00 00 00 58 [22:30:30]Write i2c OK [22:30:30]MH_I2C_Read... [22:30:30]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [22:30:30]Read from MH i2c: E2 [22:30:30]MH_I2C_Read... [22:30:30]Read from MH i2c: E2 D3 00 [22:30:30]MH_I2C_Read... [22:30:30]Read from MH i2c: E2 D3 00 CD 0B 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 45 [22:30:30]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 [22:30:30]wFMCommunicate OK [22:30:30]SAM_PROTO_GetShiftData done [22:30:30]requested_item shift.sale.total_cash is exist - process it [22:30:30]requested_item shift.sale_refund.total is exist - process it [22:30:30]requested_item shift.sale_refund.total_cash is exist - process it [22:30:30]produce_requested_data done [22:30:30]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57230,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":38767.18,"shift.sale.total_cash":30881.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [22:30:30]process_action_free close_receipt [22:30:30]json_value_free [22:30:30]json_value_free done [22:30:30]process_json_proto returns [22:30:30]Send response to host [22:30:30]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57230,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":38767.18,"shift.sale.total_cash":30881.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [22:30:30]free response buf [22:30:30]execute_script done [22:30:30]execute_script returns [22:30:30]free content buf [22:30:30]Sock 9.Close socket [22:30:30]Sock 9.Thread stoped [22:30:32]OFD Sender: No OFD packet to send [22:30:37]OFD Sender: No OFD packet to send [22:30:42]OFD Sender: No OFD packet to send [22:30:47]OFD Sender: No OFD packet to send [22:30:52]OFD Sender: No OFD packet to send [22:30:57]OFD Sender: No OFD packet to send [22:31:02]OFD Sender: No OFD packet to send [22:31:07]OFD Sender: No OFD packet to send [22:31:12]OFD Sender: No OFD packet to send [22:31:17]OFD Sender: No OFD packet to send [22:31:22]OFD Sender: No OFD packet to send [22:31:27]OFD Sender: No OFD packet to send [22:31:32]OFD Sender: No OFD packet to send [22:31:37]OFD Sender: No OFD packet to send [22:31:42]OFD Sender: No OFD packet to send [22:31:47]OFD Sender: No OFD packet to send [22:31:52]OFD Sender: No OFD packet to send [22:31:57]OFD Sender: No OFD packet to send [22:32:02]OFD Sender: No OFD packet to send [22:32:07]OFD Sender: No OFD packet to send [22:32:12]OFD Sender: No OFD packet to send [22:32:17]OFD Sender: No OFD packet to send [22:32:22]OFD Sender: No OFD packet to send [22:32:27]OFD Sender: No OFD packet to send [22:32:32]OFD Sender: No OFD packet to send [22:32:37]OFD Sender: No OFD packet to send [22:32:42]OFD Sender: No OFD packet to send [22:32:47]OFD Sender: No OFD packet to send [22:32:52]OFD Sender: No OFD packet to send [22:32:57]OFD Sender: No OFD packet to send [22:33:02]OFD Sender: No OFD packet to send [22:33:07]OFD Sender: No OFD packet to send [22:33:12]OFD Sender: No OFD packet to send [22:33:17]OFD Sender: No OFD packet to send [22:33:22]OFD Sender: No OFD packet to send [22:33:27]OFD Sender: No OFD packet to send [22:33:32]OFD Sender: No OFD packet to send [22:33:37]OFD Sender: No OFD packet to send [22:33:42]OFD Sender: No OFD packet to send [22:33:47]OFD Sender: No OFD packet to send [22:33:52]OFD Sender: No OFD packet to send [22:33:57]OFD Sender: No OFD packet to send [22:34:02]OFD Sender: No OFD packet to send [22:34:07]OFD Sender: No OFD packet to send [22:34:12]OFD Sender: No OFD packet to send [22:34:17]OFD Sender: No OFD packet to send [22:34:22]OFD Sender: No OFD packet to send [22:34:27]OFD Sender: No OFD packet to send [22:34:32]OFD Sender: No OFD packet to send [22:34:37]OFD Sender: No OFD packet to send [22:34:42]OFD Sender: No OFD packet to send [22:34:47]OFD Sender: No OFD packet to send [22:34:52]OFD Sender: No OFD packet to send [22:34:57]OFD Sender: No OFD packet to send [22:35:02]OFD Sender: No OFD packet to send [22:35:07]OFD Sender: No OFD packet to send [22:35:12]OFD Sender: No OFD packet to send [22:35:17]OFD Sender: No OFD packet to send [22:35:22]OFD Sender: No OFD packet to send [22:35:27]OFD Sender: No OFD packet to send [22:35:32]OFD Sender: No OFD packet to send [22:35:37]OFD Sender: No OFD packet to send [22:35:42]OFD Sender: No OFD packet to send [22:35:47]OFD Sender: No OFD packet to send [22:35:52]OFD Sender: No OFD packet to send [22:35:57]OFD Sender: No OFD packet to send [22:36:02]OFD Sender: No OFD packet to send [22:36:07]OFD Sender: No OFD packet to send [22:36:12]OFD Sender: No OFD packet to send [22:36:17]OFD Sender: No OFD packet to send [22:36:22]OFD Sender: No OFD packet to send [22:36:27]OFD Sender: No OFD packet to send [22:36:32]OFD Sender: No OFD packet to send [22:36:37]OFD Sender: No OFD packet to send [22:36:42]OFD Sender: No OFD packet to send [22:36:47]OFD Sender: No OFD packet to send [22:36:52]OFD Sender: No OFD packet to send [22:36:57]OFD Sender: No OFD packet to send [22:37:02]OFD Sender: No OFD packet to send [22:37:07]OFD Sender: No OFD packet to send [22:37:12]OFD Sender: No OFD packet to send [22:37:17]OFD Sender: No OFD packet to send [22:37:22]OFD Sender: No OFD packet to send [22:37:27]OFD Sender: No OFD packet to send [22:37:32]OFD Sender: No OFD packet to send [22:37:35]accept exits with 7 [22:37:35]New connection [22:37:35]New thread 3067014500 created [22:37:35]Thread 3066871140 joined [22:37:35]Waiting for new connection... [22:37:35] Sock 7.Parse request [22:37:35]Sock 7.Check first char [22:37:35]Sock 7.First char is OK [22:37:35]request: POST /json_proto HTTP/1.0 [22:37:35]Method: POST [22:37:35]URL: /json_proto [22:37:35]Method is POST - this is cgi request [22:37:35]url: /json_proto [22:37:35]query_string will be loaded in cgi processing [22:37:35]execute_cgi json_proto POST (null) [22:37:35]execute_cgi path=json_proto method=POST [22:37:35]POST find Content-Length [22:37:35]Host: 172.17.39.4:8080 [22:37:35]Content-Length: 709 [22:37:35]Content-Type: application/json [22:37:35] [22:37:35]POST finish read [22:37:35]Found Content-Length = 709 [22:37:35]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129669", "tax_sys" : 0, "items" : [ { "code": "42113270", "name": "\u0416\u0435\u0432 Orbit \u0430\u0440\u0431\u0443\u0437", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 45.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [22:37:35]execute_script... [22:37: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)129669", "tax_sys" : 0, "items" : [ { "code": "42113270", "name": "\u0416\u0435\u0432 Orbit \u0430\u0440\u0431\u0443\u0437", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 45.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [22:37:35]POST & json_proto [22:37:35]process_json_proto [22:37:35]json parsed OK: [22:37:35]protocol is kg_v1.0 [22:37:35]action value=close_receipt [22:37:35]process_action close_receipt [22:37:35]cmd_close_receipt [22:37:35]MH_GetDate [22:37:35]Write to MH i2c: F0 00 00 CE 0B C8 [22:37:35]Write i2c OK [22:37:35]MH_I2C_Read... [22:37:35]Read from MH i2c: F0 [22:37:35]MH_I2C_Read... [22:37:35]Read from MH i2c: F0 09 00 [22:37:35]MH_I2C_Read... [22:37:35]Read from MH i2c: F0 09 00 CE 0B 00 B1 A4 95 66 2D 25 5D 64 34 [22:37:35]GetLastDocTimeStamp 1721082626 [22:37:35]current date 1721083057 [22:37:35]FM_GetShiftState [22:37:35]SAM_PROTO_GetShiftState [22:37:35]wFMCommunicate request_size=4 [22:37:35]MH_SAM_APDU [22:37:35]CAPDU: 80 13 01 00 [22:37:35]Write to MH i2c: E2 08 00 CF 0B 80 13 01 00 00 00 00 00 57 [22:37:35]Write i2c OK [22:37:35]MH_I2C_Read... [22:37:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:37:35]Read from MH i2c: E2 [22:37:35]MH_I2C_Read... [22:37:35]Read from MH i2c: E2 0E 00 [22:37:35]MH_I2C_Read... [22:37:35]Read from MH i2c: E2 0E 00 CF 0B 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 D0 [22:37:35]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [22:37:35]wFMCommunicate OK [22:37:35]SAM_PROTO_GetShiftState done [22:37:35]FM_GetShiftState done [22:37:35]opened in 1721003525 [22:37:35]opened+sec_in_day 1721089925 [22:37:35]quantity*price = 4500 [22:37:35]sum+1 = 4501 [22:37:35]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 45.00 НСП 1% : 0.40 НДС 12% : 4.78 Наличными: 45.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 126 15.07.2024 22:37 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57231 ФПД: 23392965454276 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T223737&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57231&fm=23392965454276&tin=02508201610067®Number=0000000000091208&sum=4500 0 [22:37:36]StoreToDocumentArchive [22:37:36]shift 497 fd 57231 [22:37:36]save to /storage/0497/doc_00057231 [22:37:36]save last doc name /storage/0497/doc_00057231 to /storage/kkm_last_doc_name [22:37:36]save OK [22:37:36]Clear old archive folders... [22:37:36]ProcessDocumentItem done err = 0, tmpTLVsize=260 [22:37:36]tlvbuf is 00824BD0 [22:37:36]SAM_PROTO_ClearQueue [22:37:36]wFMCommunicate request_size=4 [22:37:36]MH_SAM_APDU [22:37:36]CAPDU: 80 09 00 00 [22:37:36]Write to MH i2c: E2 08 00 DC 0B 80 09 00 00 00 00 00 00 59 [22:37:36]Write i2c OK [22:37:36]MH_I2C_Read... [22:37:36]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:37:36]Read from MH i2c: E2 [22:37:36]MH_I2C_Read... [22:37:36]Read from MH i2c: E2 03 00 [22:37:36]MH_I2C_Read... [22:37:36]Read from MH i2c: E2 03 00 DC 0B 00 90 00 5B [22:37:36]RAPDU: 90 00 [22:37:36]wFMCommunicate OK [22:37:36]SAM_PROTO_ClearQueue done [22:37:36]KKMCreateOFDPacket [22:37:36]OFDProtocolAddRootSTLVToBuf [22:37:36]FM_MakeSignedData [22:37:36]FM_MakeSignedData [22:37:36]SAM_PROTO_SignData [22:37:36]wFMCommunicate request_size=4 [22:37:36]MH_SAM_APDU [22:37:36]CAPDU: 80 0D 01 02 [22:37:36]Write to MH i2c: E2 08 00 DD 0B 80 0D 01 02 00 00 00 00 61 [22:37:36]Write i2c OK [22:37:36]MH_I2C_Read... [22:37:36]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:37:36]Read from MH i2c: E2 [22:37:36]MH_I2C_Read... [22:37:36]Read from MH i2c: E2 03 00 [22:37:36]MH_I2C_Read... [22:37:36]Read from MH i2c: E2 03 00 DD 0B 00 90 00 5C [22:37:36]RAPDU: 90 00 [22:37:36]wFMCommunicate OK [22:37:36]wFMCommunicate request_size=255 [22:37:36]MH_SAM_APDU [22:37:36]CAPDU: 80 0D 02 02 FA 03 00 04 01 1E 04 01 00 01 23 04 56 00 8A 04 08 00 34 32 31 31 33 32 37 30 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D0 B0 D1 80 D0 B1 D1 83 D0 B7 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 94 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 7E 00 00 00 F4 03 04 00 B1 A4 95 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:37:36]Write to MH i2c: E2 02 01 DE 0B 80 0D 02 02 FA 00 03 00 04 01 1E 04 01 00 01 23 04 56 00 8A 04 08 00 34 32 31 31 33 32 37 30 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D0 B0 D1 80 D0 B1 D1 83 D0 B7 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 94 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 7E 00 00 00 F4 03 04 00 B1 A4 95 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 00 00 90 [22:37:36]Write i2c OK [22:37:36]MH_I2C_Read... [22:37:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:37:37]Read from MH i2c: E2 [22:37:37]MH_I2C_Read... [22:37:37]Read from MH i2c: E2 03 00 [22:37:37]MH_I2C_Read... [22:37:37]Read from MH i2c: E2 03 00 DE 0B 00 90 00 5D [22:37:37]RAPDU: 90 00 [22:37:37]wFMCommunicate OK [22:37:37]wFMCommunicate request_size=19 [22:37:37]MH_SAM_APDU [22:37:37]CAPDU: 80 0D 02 02 0E 8F DF 00 00 35 04 06 00 15 46 99 65 69 C4 [22:37:37]Write to MH i2c: E2 16 00 DF 0B 80 0D 02 02 0E 00 8F DF 00 00 35 04 06 00 15 46 99 65 69 C4 00 00 B3 [22:37:37]Write i2c OK [22:37:37]MH_I2C_Read... [22:37:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:37:37]Read from MH i2c: E2 [22:37:37]MH_I2C_Read... [22:37:37]Read from MH i2c: E2 03 00 [22:37:37]MH_I2C_Read... [22:37:37]Read from MH i2c: E2 03 00 DF 0B 00 90 00 5E [22:37:37]RAPDU: 90 00 [22:37:37]wFMCommunicate OK [22:37:37]wFMCommunicate request_size=4 [22:37:37]MH_SAM_APDU [22:37:37]CAPDU: 80 0D 03 02 [22:37:37]Write to MH i2c: E2 08 00 E0 0B 80 0D 03 02 00 00 00 00 66 [22:37:37]Write i2c OK [22:37:37]MH_I2C_Read... [22:37:37]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:37:37]Read from MH i2c: E2 [22:37:37]MH_I2C_Read... [22:37:37]Read from MH i2c: E2 0B 00 [22:37:37]MH_I2C_Read... [22:37:37]Read from MH i2c: E2 0B 00 E0 0B 00 BF 13 55 DC D1 2E 7F 1C 90 00 04 [22:37:37]RAPDU: BF 13 55 DC D1 2E 7F 1C 90 00 [22:37:37]wFMCommunicate OK [22:37:37]SAM_PROTO_SignData done [22:37:37]FM_MakeSignedData done [22:37:37]CreateOFDProtocolMessage [22:37:37]wFMCommunicate request_size=4 [22:37:37]MH_SAM_APDU [22:37:37]CAPDU: 80 11 00 00 [22:37:37]Write to MH i2c: E2 08 00 E1 0B 80 11 00 00 00 00 00 00 66 [22:37:37]Write i2c OK [22:37:37]MH_I2C_Read... [22:37:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:37:37]Read from MH i2c: E2 [22:37:37]MH_I2C_Read... [22:37:37]Read from MH i2c: E2 17 00 [22:37:37]MH_I2C_Read... [22:37:37]Read from MH i2c: E2 17 00 E1 0B 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:37:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [22:37:37]wFMCommunicate OK [22:37:37]CreateOFDProtocolMessage done [22:37:37]OFDSenderStorePacket 57231 [22:37:37]StoreOFDPacket docnum=57231 [22:37: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 18 01 00 00 46 C3 10 01 16 1E 5A 03 01 00 03 00 04 01 1E 04 01 00 01 23 04 56 00 8A 04 08 00 34 32 31 31 33 32 37 30 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D0 B0 D1 80 D0 B1 D1 83 D0 B7 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 94 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 7E 00 00 00 F4 03 04 00 B1 A4 95 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 8F DF 00 00 35 04 06 00 15 46 99 65 69 C4 BF 13 55 DC D1 2E 7F 1C [22:37:37]CheckFolder [22:37:37]dirname=/storage/ofd_packets [22:37:37]CheckFolder done [22:37:37]ProducePacketName [22:37:37]name=ofd_packets/00057231 [22:37:37]NVStorageSaveData ofd_packets/00057231 [22:37:37]File name is /storage/ofd_packets/00057231 [22:37:37]Write 310 bytes [22:37:37]NVStorageSaveData done [22:37:37]OFDSenderStorePacket done [22:37:37]KKMCreateOFDPacket done [22:37:37]NVStorageSaveData kkm_last_timestamp [22:37:37]File name is /storage/kkm_last_timestamp [22:37:37]Write 4 bytes [22:37:37]NVStorageSaveData done [22:37:37]ExternCall_PrintAddStr [22:37:37]wPrintStart [22:37:37]Write to MH i2c: 01 00 00 E2 0B ED [22:37:37]Write i2c OK [22:37:37]MH_I2C_Read... [22:37:37]Read from MH i2c: 01 [22:37:37]MH_I2C_Read... [22:37:37]Read from MH i2c: 01 07 00 [22:37:37]MH_I2C_Read... [22:37:37]Read from MH i2c: 01 07 00 E2 0B 00 00 00 00 00 FF 0F 02 [22:37:37]RasterBufferAndPrint [22:37:37]line Счет N : (3)129669 [22:37:37]line ИНН: 02508201610067 [22:37:37]line Контрольно-Кассовый Чек [22:37:37]line ПРОДАЖА [22:37:37]line Товар: 42113270 [22:37:37]line Жев Orbit арбуз [22:37:37]line 1.000 * 45.00 [22:37:37]line = 45.00 [22:37:37]line НДС 12% НСП 1% [22:37:37]line > о реализуемом товаре [22:37:37]line ИТОГО: 45.00 [22:37:37]line НСП 1% : 0.40 [22:37:37]line НДС 12% : 4.78 [22:37:37]line Наличными: 45.00 [22:37:37]line Безнал.: 0.00 [22:37:37]line Место: АЗС № 132 "Партнер Нефть" [22:37:37]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [22:37:37]line СНО: Общий режим [22:37:37]line Чек 126 15.07.2024 22:37 [22:37:37]line Смена: 497 ФФД: 1.0 [22:37:37]line ЗНМ: 0300000132 [22:37:37]line РНМ: 0000000000091208 [22:37:37]line Версия ККМ: 001 [22:37:37]line ФМ: 0000000000874857 [22:37:37]line ФД: 57231 [22:37:37]line ФПД: 23392965454276 [22:37:37]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T223737&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57231&fm=23392965454276&tin=02508201610067®Number=0000000000091208&sum=4500 [22:37:37]line 0 [22:37:37]written 0, free lines is 4095 [22:37:37]OFD Sender: Processing packet 57231 [packets to send 38, broken 37] [22:37:37]ProducePacketName [22:37:37]name=ofd_packets/00057231 [22:37:37]OFD Sender: To server: pG, [22:37:37]CommunicateWithHost lk.salyk.kg:30040 [22:37:37]ConnectInit lk.salyk.kg [22:37:37]Connected sock=10 [22:37: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 18 01 00 00 46 C3 10 01 16 1E 5A 03 01 00 03 00 04 01 1E 04 01 00 01 23 04 56 00 8A 04 08 00 34 32 31 31 33 32 37 30 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D0 B0 D1 80 D0 B1 D1 83 D0 B7 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 94 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 7E 00 00 00 F4 03 04 00 B1 A4 95 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 8F DF 00 00 35 04 06 00 15 46 99 65 69 C4 BF 13 55 DC D1 2E 7F 1C [22:37: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 FF 54 47 00 61 9B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 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 8F DF 00 00 F4 03 04 00 FD 4A 95 66 B6 04 01 00 00 89 FA 9D 0E 62 A4 6C 2B [22:37:37]CommunicateWithHost err = 0 [22:37:37]CheckOFDResponse [22:37:37]1017 (14) - 77093643461234 [22:37:37]1041 (16) - 0000000000874857 [22:37:37]1040 (4) - 57231 [22:37:37]1012 (4) - 15.07.2024 16:14 [22:37:37]1206 (1) - 0 [22:37:37]OFD Sender: Remove packet 57231 [22:37:37]ProducePacketName [22:37:37]name=ofd_packets/00057231 [22:37:37]NVStorageDeleteData [22:37:37]Write to MH i2c: 01 00 00 0A 0C 16 [22:37:37]Write i2c OK [22:37:37]MH_I2C_Read... [22:37:37]Read from MH i2c: 01 [22:37:37]MH_I2C_Read... [22:37:37]Read from MH i2c: 01 07 00 [22:37:37]MH_I2C_Read... [22:37:37]Read from MH i2c: 01 07 00 0A 0C 00 00 00 00 00 10 0D 3A [22:37:37]RasterBufferAndPrint [22:37:37]line [22:37:37]line [22:37:37]line [22:37:37]line [22:37:37]line [22:37:37]written 0, free lines is 3351 [22:37:37]MH_Cut [22:37:37]Write to MH i2c: D1 01 00 11 0C 01 EF [22:37:37]Write i2c OK [22:37:37]MH_I2C_Read... [22:37:37]Read from MH i2c: D1 [22:37:37]MH_I2C_Read... [22:37:37]Read from MH i2c: D1 01 00 [22:37:37]MH_I2C_Read... [22:37:37]Read from MH i2c: D1 01 00 11 0C 00 EE [22:37:37]Write to MH i2c: 01 00 00 12 0C 1E [22:37:37]Write i2c OK [22:37:37]MH_I2C_Read... [22:37:38]OFD Sender: No OFD packet to send [22:37:38]*** Cut start [22:37:38]*** Partial cut [22:37:38]*** CUTSNS_PIN = 1 [22:37:38]*** CUTSNS_PIN = 0 [22:37:38]*** Brake cut motor [22:37:38]Read from MH i2c: 01 [22:37:38]MH_I2C_Read... [22:37:39]*** Stop cut motor [22:37:39]*** Cut end [22:37:39]Read from MH i2c: 01 07 00 [22:37:39]MH_I2C_Read... [22:37:39]Read from MH i2c: 01 07 00 12 0C 00 00 00 00 00 FF 0F 33 [22:37:39]process_action close_receipt done [22:37:39]requested_data is exist [22:37:39]produce_requested_data [22:37:39]requested_item fm.sn is exist - process it [22:37:39]wFMCommunicate request_size=4 [22:37:39]MH_SAM_APDU [22:37:39]CAPDU: 80 11 00 00 [22:37:39]Write to MH i2c: E2 08 00 13 0C 80 11 00 00 00 00 00 00 99 [22:37:39]Write i2c OK [22:37:39]MH_I2C_Read... [22:37:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:37:39]Read from MH i2c: E2 [22:37:39]MH_I2C_Read... [22:37:39]Read from MH i2c: E2 17 00 [22:37:39]MH_I2C_Read... [22:37:39]Read from MH i2c: E2 17 00 13 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 F3 [22:37:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [22:37:39]wFMCommunicate OK [22:37:39]requested_item fd.num is exist - process it [22:37:39]SAM_PROTO_GetFieldsCounters [22:37:39]wFMCommunicate request_size=4 [22:37:39]MH_SAM_APDU [22:37:39]CAPDU: 80 13 00 00 [22:37:39]Write to MH i2c: E2 08 00 14 0C 80 13 00 00 00 00 00 00 9C [22:37:39]Write i2c OK [22:37:39]MH_I2C_Read... [22:37:39]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:37:39]Read from MH i2c: E2 [22:37:39]MH_I2C_Read... [22:37:39]Read from MH i2c: E2 62 00 [22:37:39]MH_I2C_Read... [22:37:39]Read from MH i2c: E2 62 00 14 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 8F DF 00 00 0E 04 04 00 F1 01 00 00 12 04 04 00 7E 00 00 00 5E 04 04 00 7E 00 00 00 57 04 04 00 7F 00 00 00 19 04 04 00 00 00 00 00 90 00 99 [22:37: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 8F DF 00 00 0E 04 04 00 F1 01 00 00 12 04 04 00 7E 00 00 00 5E 04 04 00 7E 00 00 00 57 04 04 00 7F 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:37:39]wFMCommunicate OK [22:37:39]SAM_PROTO_GetFieldsCounters done [22:37:39]requested_item shift.num is exist - process it [22:37:39]requested_item shift.opened is exist - process it [22:37:39]req_shift_opened [22:37:39]FM_GetShiftState [22:37:39]SAM_PROTO_GetShiftState [22:37:39]wFMCommunicate request_size=4 [22:37:39]MH_SAM_APDU [22:37:39]CAPDU: 80 13 01 00 [22:37:39]Write to MH i2c: E2 08 00 15 0C 80 13 01 00 00 00 00 00 9E [22:37:39]Write i2c OK [22:37:39]MH_I2C_Read... [22:37:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:37:39]Read from MH i2c: E2 [22:37:39]MH_I2C_Read... [22:37:39]Read from MH i2c: E2 0E 00 [22:37:39]MH_I2C_Read... [22:37:39]Read from MH i2c: E2 0E 00 15 0C 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 17 [22:37:39]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [22:37:39]wFMCommunicate OK [22:37:39]SAM_PROTO_GetShiftState done [22:37:39]FM_GetShiftState done [22:37:39]req_shift_opened done [22:37:39]requested_item shift.open_date is exist - process it [22:37:39]req_shift_open_date [22:37:39]req_shift_open_date done [22:37:39]requested_item shift.sale.total is exist - process it [22:37:39]SAM_PROTO_GetShiftData [22:37:39]wFMCommunicate request_size=4 [22:37:39]MH_SAM_APDU [22:37:39]CAPDU: 80 13 02 00 [22:37:39]Write to MH i2c: E2 08 00 16 0C 80 13 02 00 00 00 00 00 A0 [22:37:39]Write i2c OK [22:37:39]MH_I2C_Read... [22:37:39]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [22:37:39]Read from MH i2c: E2 [22:37:39]MH_I2C_Read... [22:37:39]Read from MH i2c: E2 FD 00 [22:37:39]MH_I2C_Read... [22:37:39]Read from MH i2c: E2 FD 00 16 0C 00 B6 04 AA 04 B2 04 6E 04 04 00 7E 00 00 00 69 04 9B 00 6F 04 04 00 7D 00 00 00 B1 04 03 00 02 39 3B 70 04 03 00 78 30 2F 72 04 03 00 8A 08 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 2C 4A 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 29 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 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 13 [22:37:39]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 7E 00 00 00 69 04 9B 00 6F 04 04 00 7D 00 00 00 B1 04 03 00 02 39 3B 70 04 03 00 78 30 2F 72 04 03 00 8A 08 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 2C 4A 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 29 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 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 [22:37:39]wFMCommunicate OK [22:37:39]wFMCommunicate request_size=4 [22:37:39]MH_SAM_APDU [22:37:39]CAPDU: 80 17 00 00 [22:37:39]Write to MH i2c: E2 08 00 17 0C 80 17 00 00 00 00 00 00 A3 [22:37:39]Write i2c OK [22:37:39]MH_I2C_Read... [22:37:39]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [22:37:39]Read from MH i2c: E2 [22:37:39]MH_I2C_Read... [22:37:39]Read from MH i2c: E2 FD 00 [22:37:39]MH_I2C_Read... [22:37:39]Read from MH i2c: E2 FD 00 17 0C 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 D8 [22:37:40]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 [22:37:40]wFMCommunicate OK [22:37:40]wFMCommunicate request_size=4 [22:37:40]MH_SAM_APDU [22:37:40]CAPDU: 80 17 00 00 [22:37:40]Write to MH i2c: E2 08 00 18 0C 80 17 00 00 00 00 00 00 A4 [22:37:40]Write i2c OK [22:37:40]MH_I2C_Read... [22:37:40]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [22:37:40]Read from MH i2c: E2 [22:37:40]MH_I2C_Read... [22:37:40]Read from MH i2c: E2 FD 00 [22:37:40]MH_I2C_Read... [22:37:40]Read from MH i2c: E2 FD 00 18 0C 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 64 [22:37:40]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 [22:37:40]wFMCommunicate OK [22:37:40]wFMCommunicate request_size=4 [22:37:40]MH_SAM_APDU [22:37:40]CAPDU: 80 17 00 00 [22:37:40]Write to MH i2c: E2 08 00 19 0C 80 17 00 00 00 00 00 00 A5 [22:37:40]Write i2c OK [22:37:40]MH_I2C_Read... [22:37:40]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [22:37:40]Read from MH i2c: E2 [22:37:40]MH_I2C_Read... [22:37:40]Read from MH i2c: E2 FD 00 [22:37:40]MH_I2C_Read... [22:37:40]Read from MH i2c: E2 FD 00 19 0C 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 14 [22:37:40]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 [22:37:40]wFMCommunicate OK [22:37:40]wFMCommunicate request_size=4 [22:37:40]MH_SAM_APDU [22:37:40]CAPDU: 80 17 00 00 [22:37:40]Write to MH i2c: E2 08 00 1A 0C 80 17 00 00 00 00 00 00 A6 [22:37:40]Write i2c OK [22:37:40]MH_I2C_Read... [22:37:40]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [22:37:40]Read from MH i2c: E2 [22:37:40]MH_I2C_Read... [22:37:40]Read from MH i2c: E2 D3 00 [22:37:40]MH_I2C_Read... [22:37:40]Read from MH i2c: E2 D3 00 1A 0C 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 93 [22:37:40]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 [22:37:40]wFMCommunicate OK [22:37:40]SAM_PROTO_GetShiftData done [22:37:40]requested_item shift.sale.total_cash is exist - process it [22:37:40]requested_item shift.sale_refund.total is exist - process it [22:37:40]requested_item shift.sale_refund.total_cash is exist - process it [22:37:40]produce_requested_data done [22:37:40]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57231,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":38812.18,"shift.sale.total_cash":30926.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [22:37:40]process_action_free close_receipt [22:37:40]json_value_free [22:37:40]json_value_free done [22:37:40]process_json_proto returns [22:37:40]Send response to host [22:37:40]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57231,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":38812.18,"shift.sale.total_cash":30926.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [22:37:40]free response buf [22:37:40]execute_script done [22:37:40]execute_script returns [22:37:40]free content buf [22:37:40]Sock 7.Close socket [22:37:40]Sock 7.Thread stoped [22:37:43]OFD Sender: No OFD packet to send [22:37:48]OFD Sender: No OFD packet to send [22:37:53]OFD Sender: No OFD packet to send [22:37:58]OFD Sender: No OFD packet to send [22:38:03]OFD Sender: No OFD packet to send [22:38:08]OFD Sender: No OFD packet to send [22:38:13]OFD Sender: No OFD packet to send [22:38:18]OFD Sender: No OFD packet to send [22:38:23]OFD Sender: No OFD packet to send [22:38:28]OFD Sender: No OFD packet to send [22:38:33]OFD Sender: No OFD packet to send [22:38:38]OFD Sender: No OFD packet to send [22:38:43]OFD Sender: No OFD packet to send [22:38:48]OFD Sender: No OFD packet to send [22:38:53]OFD Sender: No OFD packet to send [22:38:58]OFD Sender: No OFD packet to send [22:39:03]OFD Sender: No OFD packet to send [22:39:08]OFD Sender: No OFD packet to send [22:39:13]OFD Sender: No OFD packet to send [22:39:18]OFD Sender: No OFD packet to send [22:39:23]OFD Sender: No OFD packet to send [22:39:28]OFD Sender: No OFD packet to send [22:39:33]OFD Sender: No OFD packet to send [22:39:38]OFD Sender: No OFD packet to send [22:39:43]OFD Sender: No OFD packet to send [22:39:48]OFD Sender: No OFD packet to send [22:39:53]OFD Sender: No OFD packet to send [22:39:58]OFD Sender: No OFD packet to send [22:40:03]OFD Sender: No OFD packet to send [22:40:08]OFD Sender: No OFD packet to send [22:40:13]OFD Sender: No OFD packet to send [22:40:18]OFD Sender: No OFD packet to send [22:40:23]OFD Sender: No OFD packet to send [22:40:28]OFD Sender: No OFD packet to send [22:40:33]OFD Sender: No OFD packet to send [22:40:38]OFD Sender: No OFD packet to send [22:40:43]OFD Sender: No OFD packet to send [22:40:48]OFD Sender: No OFD packet to send [22:40:53]OFD Sender: No OFD packet to send [22:40:58]OFD Sender: No OFD packet to send [22:41:03]OFD Sender: No OFD packet to send [22:41:08]OFD Sender: No OFD packet to send [22:41:13]OFD Sender: No OFD packet to send [22:41:18]OFD Sender: No OFD packet to send [22:41:23]OFD Sender: No OFD packet to send [22:41:28]OFD Sender: No OFD packet to send [22:41:33]OFD Sender: No OFD packet to send [22:41:38]OFD Sender: No OFD packet to send [22:41:43]OFD Sender: No OFD packet to send [22:41:48]OFD Sender: No OFD packet to send [22:41:53]OFD Sender: No OFD packet to send [22:41:58]OFD Sender: No OFD packet to send [22:42:03]OFD Sender: No OFD packet to send [22:42:08]OFD Sender: No OFD packet to send [22:42:13]OFD Sender: No OFD packet to send [22:42:18]OFD Sender: No OFD packet to send [22:42:23]OFD Sender: No OFD packet to send [22:42:28]OFD Sender: No OFD packet to send [22:42:33]OFD Sender: No OFD packet to send [22:42:38]OFD Sender: No OFD packet to send [22:42:43]OFD Sender: No OFD packet to send [22:42:48]OFD Sender: No OFD packet to send [22:42:53]OFD Sender: No OFD packet to send [22:42:58]OFD Sender: No OFD packet to send [22:43:03]OFD Sender: No OFD packet to send [22:43:08]OFD Sender: No OFD packet to send [22:43:13]OFD Sender: No OFD packet to send [22:43:18]OFD Sender: No OFD packet to send [22:43:23]OFD Sender: No OFD packet to send [22:43:28]OFD Sender: No OFD packet to send [22:43:33]OFD Sender: No OFD packet to send [22:43:38]OFD Sender: No OFD packet to send [22:43:43]OFD Sender: No OFD packet to send [22:43:48]OFD Sender: No OFD packet to send [22:43:53]OFD Sender: No OFD packet to send [22:43:58]OFD Sender: No OFD packet to send [22:44:03]OFD Sender: No OFD packet to send [22:44:08]OFD Sender: No OFD packet to send [22:44:13]OFD Sender: No OFD packet to send [22:44:18]OFD Sender: No OFD packet to send [22:44:23]OFD Sender: No OFD packet to send [22:44:28]OFD Sender: No OFD packet to send [22:44:33]OFD Sender: No OFD packet to send [22:44:38]OFD Sender: No OFD packet to send [22:44:43]OFD Sender: No OFD packet to send [22:44:48]OFD Sender: No OFD packet to send [22:44:53]OFD Sender: No OFD packet to send [22:44:58]OFD Sender: No OFD packet to send [22:45:03]OFD Sender: No OFD packet to send [22:45:08]OFD Sender: No OFD packet to send [22:45:13]OFD Sender: No OFD packet to send [22:45:18]OFD Sender: No OFD packet to send [22:45:23]OFD Sender: No OFD packet to send [22:45:28]OFD Sender: No OFD packet to send [22:45:33]OFD Sender: No OFD packet to send [22:45:38]OFD Sender: No OFD packet to send [22:45:43]OFD Sender: No OFD packet to send [22:45:48]OFD Sender: No OFD packet to send [22:45:53]OFD Sender: No OFD packet to send [22:45:58]OFD Sender: No OFD packet to send [22:46:03]OFD Sender: No OFD packet to send [22:46:08]OFD Sender: No OFD packet to send [22:46:13]OFD Sender: No OFD packet to send [22:46:18]OFD Sender: No OFD packet to send [22:46:23]OFD Sender: No OFD packet to send [22:46:28]OFD Sender: No OFD packet to send [22:46:33]OFD Sender: No OFD packet to send [22:46:38]OFD Sender: No OFD packet to send [22:46:43]OFD Sender: No OFD packet to send [22:46:48]OFD Sender: No OFD packet to send [22:46:53]OFD Sender: No OFD packet to send [22:46:55]accept exits with 9 [22:46:55]New connection [22:46:55]New thread 3066871140 created [22:46:55]Thread 3067014500 joined [22:46:55]Waiting for new connection... [22:46:55] Sock 9.Parse request [22:46:55]Sock 9.Check first char [22:46:55]Sock 9.First char is OK [22:46:55]request: POST /json_proto HTTP/1.0 [22:46:55]Method: POST [22:46:55]URL: /json_proto [22:46:55]Method is POST - this is cgi request [22:46:55]url: /json_proto [22:46:55]query_string will be loaded in cgi processing [22:46:55]execute_cgi json_proto POST (null) [22:46:55]execute_cgi path=json_proto method=POST [22:46:55]POST find Content-Length [22:46:55]Host: 172.17.39.4:8080 [22:46:55]Content-Length: 1254 [22:46:55]Content-Type: application/json [22:46:55] [22:46:55]POST finish read [22:46:55]Found Content-Length = 1254 [22:46:55]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129670", "tax_sys" : 0, "items" : [ { "code": "50173808", "name": "\u0416\u0435\u0432 Orbit Sweet Mint", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "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 }]} ,{ "code": "4011100977952", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u0422\u0432\u0438\u043A\u0441 55\u0433", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 215.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:55]execute_script... [22:46: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)129670", "tax_sys" : 0, "items" : [ { "code": "50173808", "name": "\u0416\u0435\u0432 Orbit Sweet Mint", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "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 }]} ,{ "code": "4011100977952", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u0422\u0432\u0438\u043A\u0441 55\u0433", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 215.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:55]POST & json_proto [22:46:55]process_json_proto [22:46:55]json parsed OK: [22:46:55]protocol is kg_v1.0 [22:46:55]action value=close_receipt [22:46:55]process_action close_receipt [22:46:55]cmd_close_receipt [22:46:55]MH_GetDate [22:46:55]Write to MH i2c: F0 00 00 1B 0C 16 [22:46:55]Write i2c OK [22:46:55]MH_I2C_Read... [22:46:55]Read from MH i2c: F0 [22:46:55]MH_I2C_Read... [22:46:55]Read from MH i2c: F0 09 00 [22:46:55]MH_I2C_Read... [22:46:55]Read from MH i2c: F0 09 00 1B 0C 00 E1 A6 95 66 2D 25 5D 64 B4 [22:46:55]GetLastDocTimeStamp 1721083057 [22:46:55]current date 1721083617 [22:46:55]FM_GetShiftState [22:46:55]SAM_PROTO_GetShiftState [22:46:55]wFMCommunicate request_size=4 [22:46:55]MH_SAM_APDU [22:46:55]CAPDU: 80 13 01 00 [22:46:55]Write to MH i2c: E2 08 00 1C 0C 80 13 01 00 00 00 00 00 A5 [22:46:55]Write i2c OK [22:46:55]MH_I2C_Read... [22:46:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:46:56]Read from MH i2c: E2 [22:46:56]MH_I2C_Read... [22:46:56]Read from MH i2c: E2 0E 00 [22:46:56]MH_I2C_Read... [22:46:56]Read from MH i2c: E2 0E 00 1C 0C 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 1E [22:46:56]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [22:46:56]wFMCommunicate OK [22:46:56]SAM_PROTO_GetShiftState done [22:46:56]FM_GetShiftState done [22:46:56]opened in 1721003525 [22:46:56]opened+sec_in_day 1721089925 [22:46:56]quantity*price = 4500 [22:46:56]sum+1 = 4501 [22:46:56]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4870022003305 Напиток Gorilla эн нат ж/б 0,5/0,45л 1.000 * 110.00 = 110.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4011100977952 Шок Батончик Твикс 55г 1.000 * 60.00 = 60.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 215.00 НСП 1% : 1.90 НДС 12% : 22.83 Наличными: 215.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 127 15.07.2024 22:46 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57232 ФПД: 53898204854671 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T224658&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57232&fm=53898204854671&tin=02508201610067®Number=0000000000091208&sum=21500 0 [22:46:57]StoreToDocumentArchive [22:46:57]shift 497 fd 57232 [22:46:57]save to /storage/0497/doc_00057232 [22:46:57]save last doc name /storage/0497/doc_00057232 to /storage/kkm_last_doc_name [22:46:57]save OK [22:46:57]Clear old archive folders... [22:46:57]ProcessDocumentItem done err = 0, tmpTLVsize=494 [22:46:57]tlvbuf is 00873A90 [22:46:57]SAM_PROTO_ClearQueue [22:46:57]wFMCommunicate request_size=4 [22:46:57]MH_SAM_APDU [22:46:57]CAPDU: 80 09 00 00 [22:46:57]Write to MH i2c: E2 08 00 29 0C 80 09 00 00 00 00 00 00 A7 [22:46:57]Write i2c OK [22:46:57]MH_I2C_Read... [22:46:57]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:46:57]Read from MH i2c: E2 [22:46:57]MH_I2C_Read... [22:46:57]Read from MH i2c: E2 03 00 [22:46:57]MH_I2C_Read... [22:46:57]Read from MH i2c: E2 03 00 29 0C 00 90 00 A9 [22:46:57]RAPDU: 90 00 [22:46:57]wFMCommunicate OK [22:46:57]SAM_PROTO_ClearQueue done [22:46:57]KKMCreateOFDPacket [22:46:57]OFDProtocolAddRootSTLVToBuf [22:46:57]FM_MakeSignedData [22:46:57]FM_MakeSignedData [22:46:57]SAM_PROTO_SignData [22:46:57]wFMCommunicate request_size=4 [22:46:57]MH_SAM_APDU [22:46:57]CAPDU: 80 0D 01 02 [22:46:57]Write to MH i2c: E2 08 00 2A 0C 80 0D 01 02 00 00 00 00 AF [22:46:57]Write i2c OK [22:46:57]MH_I2C_Read... [22:46:57]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:46:57]Read from MH i2c: E2 [22:46:57]MH_I2C_Read... [22:46:57]Read from MH i2c: E2 03 00 [22:46:57]MH_I2C_Read... [22:46:57]Read from MH i2c: E2 03 00 2A 0C 00 90 00 AA [22:46:57]RAPDU: 90 00 [22:46:57]wFMCommunicate OK [22:46:57]wFMCommunicate request_size=255 [22:46:57]MH_SAM_APDU [22:46:57]CAPDU: 80 0D 02 02 FA 03 00 EE 01 1E 04 01 00 01 23 04 56 00 8A 04 08 00 35 30 31 37 33 38 30 38 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 53 77 65 65 74 20 4D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 23 04 6B 00 8A 04 0D 00 34 30 31 31 31 30 30 39 37 37 39 35 32 06 04 27 00 D0 A8 D0 [22:46:57]Write to MH i2c: E2 02 01 2B 0C 80 0D 02 02 FA 00 03 00 EE 01 1E 04 01 00 01 23 04 56 00 8A 04 08 00 35 30 31 37 33 38 30 38 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 53 77 65 65 74 20 4D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 23 04 6B 00 8A 04 0D 00 34 30 31 31 31 30 30 39 37 37 39 35 32 06 04 27 00 D0 A8 D0 00 00 55 [22:46:57]Write i2c OK [22:46:57]MH_I2C_Read... [22:46:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:46:57]Read from MH i2c: E2 [22:46:57]MH_I2C_Read... [22:46:57]Read from MH i2c: E2 03 00 [22:46:57]MH_I2C_Read... [22:46:57]Read from MH i2c: E2 03 00 2B 0C 00 90 00 AB [22:46:57]RAPDU: 90 00 [22:46:57]wFMCommunicate OK [22:46:57]wFMCommunicate request_size=253 [22:46:57]MH_SAM_APDU [22:46:57]CAPDU: 80 0D 02 02 F8 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 A2 D0 B2 D0 B8 D0 BA D1 81 20 35 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 FC 53 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BE 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EB 08 00 00 00 00 07 04 06 00 FC 53 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 7F 00 00 00 F4 03 04 00 E2 A6 95 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 90 DF 00 00 35 04 06 00 31 05 27 5A B9 8F [22:46:57]Write to MH i2c: E2 00 01 2C 0C 80 0D 02 02 F8 00 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 A2 D0 B2 D0 B8 D0 BA D1 81 20 35 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 FC 53 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BE 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EB 08 00 00 00 00 07 04 06 00 FC 53 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 7F 00 00 00 F4 03 04 00 E2 A6 95 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 90 DF 00 00 35 04 06 00 31 05 27 5A B9 8F 00 00 56 [22:46:57]Write i2c OK [22:46:57]MH_I2C_Read... [22:46:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:46:58]Read from MH i2c: E2 [22:46:58]MH_I2C_Read... [22:46:58]Read from MH i2c: E2 03 00 [22:46:58]MH_I2C_Read... [22:46:58]Read from MH i2c: E2 03 00 2C 0C 00 90 00 AC [22:46:58]RAPDU: 90 00 [22:46:58]wFMCommunicate OK [22:46:58]wFMCommunicate request_size=4 [22:46:58]MH_SAM_APDU [22:46:58]CAPDU: 80 0D 03 02 [22:46:58]Write to MH i2c: E2 08 00 2D 0C 80 0D 03 02 00 00 00 00 B4 [22:46:58]Write i2c OK [22:46:58]MH_I2C_Read... [22:46:58]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:46:58]Read from MH i2c: E2 [22:46:58]MH_I2C_Read... [22:46:58]Read from MH i2c: E2 0B 00 [22:46:58]MH_I2C_Read... [22:46:58]Read from MH i2c: E2 0B 00 2D 0C 00 C4 02 8A 00 79 80 52 56 90 00 A6 [22:46:58]RAPDU: C4 02 8A 00 79 80 52 56 90 00 [22:46:58]wFMCommunicate OK [22:46:58]SAM_PROTO_SignData done [22:46:58]FM_MakeSignedData done [22:46:58]CreateOFDProtocolMessage [22:46:58]wFMCommunicate request_size=4 [22:46:58]MH_SAM_APDU [22:46:58]CAPDU: 80 11 00 00 [22:46:58]Write to MH i2c: E2 08 00 2E 0C 80 11 00 00 00 00 00 00 B4 [22:46:58]Write i2c OK [22:46:58]MH_I2C_Read... [22:46:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:46:58]Read from MH i2c: E2 [22:46:58]MH_I2C_Read... [22:46:58]Read from MH i2c: E2 17 00 [22:46:58]MH_I2C_Read... [22:46:58]Read from MH i2c: E2 17 00 2E 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 0E [22:46:58]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:58]wFMCommunicate OK [22:46:58]CreateOFDProtocolMessage done [22:46:58]OFDSenderStorePacket 57232 [22:46:58]StoreOFDPacket docnum=57232 [22:46: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 02 02 00 00 44 59 FA 01 EF 70 5A 03 01 00 03 00 EE 01 1E 04 01 00 01 23 04 56 00 8A 04 08 00 35 30 31 37 33 38 30 38 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 53 77 65 65 74 20 4D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 23 04 6B 00 8A 04 0D 00 34 30 31 31 31 30 30 39 37 37 39 35 32 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 A2 D0 B2 D0 B8 D0 BA D1 81 20 35 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 FC 53 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BE 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EB 08 00 00 00 00 07 04 06 00 FC 53 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 7F 00 00 00 F4 03 04 00 E2 A6 95 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 90 DF 00 00 35 04 06 00 31 05 27 5A B9 8F C4 02 8A 00 79 80 52 56 [22:46:58]CheckFolder [22:46:58]dirname=/storage/ofd_packets [22:46:58]CheckFolder done [22:46:58]ProducePacketName [22:46:58]name=ofd_packets/00057232 [22:46:58]NVStorageSaveData ofd_packets/00057232 [22:46:58]File name is /storage/ofd_packets/00057232 [22:46:58]Write 544 bytes [22:46:58]NVStorageSaveData done [22:46:58]OFDSenderStorePacket done [22:46:58]KKMCreateOFDPacket done [22:46:58]NVStorageSaveData kkm_last_timestamp [22:46:58]File name is /storage/kkm_last_timestamp [22:46:58]Write 4 bytes [22:46:58]NVStorageSaveData done [22:46:58]ExternCall_PrintAddStr [22:46:58]wPrintStart [22:46:58]Write to MH i2c: 01 00 00 2F 0C 3B [22:46:58]OFD Sender: Processing packet 57232 [packets to send 38, broken 37] [22:46:58]ProducePacketName [22:46:58]name=ofd_packets/00057232 [22:46:58]OFD Sender: To server: pG, [22:46:58]CommunicateWithHost lk.salyk.kg:30040 [22:46:58]ConnectInit lk.salyk.kg [22:46:58]Write i2c OK [22:46:58]MH_I2C_Read... [22:46:58]Read from MH i2c: 01 [22:46:58]MH_I2C_Read... [22:46:58]Read from MH i2c: 01 07 00 [22:46:58]MH_I2C_Read... [22:46:58]Read from MH i2c: 01 07 00 2F 0C 00 00 00 00 00 FF 0F 50 [22:46:58]RasterBufferAndPrint [22:46:58]line Счет N : (3)129670 [22:46:58]line ИНН: 02508201610067 [22:46:58]line Контрольно-Кассовый Чек [22:46:58]line ПРОДАЖА [22:46:58]line Товар: 50173808 [22:46:58]line Жев Orbit Sweet Mint [22:46:58]line 1.000 * 45.00 [22:46:58]line = 45.00 [22:46:58]line НДС 12% НСП 1% [22:46:58]line > о реализуемом товаре [22:46:58]line Товар: 4870022003305 [22:46:58]line Напиток Gorilla эн нат ж/б 0,5/0,45л [22:46:58]line 1.000 * 110.00 [22:46:58]line = 110.00 [22:46:58]line НДС 12% НСП 1% [22:46:58]line > о реализуемом товаре [22:46:58]line Товар: 4011100977952 [22:46:58]line Шок Батончик Твикс 55г [22:46:58]line 1.000 * 60.00 [22:46:58]line = 60.00 [22:46:58]line НДС 12% НСП 1% [22:46:58]line > о реализуемом товаре [22:46:58]line ИТОГО: 215.00 [22:46:58]line НСП 1% : 1.90 [22:46:58]line НДС 12% : 22.83 [22:46:58]line Наличными: 215.00 [22:46:58]line Безнал.: 0.00 [22:46:58]line Место: АЗС № 132 "Партнер Нефть" [22:46:58]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [22:46:58]line СНО: Общий режим [22:46:58]line Чек 127 15.07.2024 22:46 [22:46:58]line Смена: 497 ФФД: 1.0 [22:46:58]line ЗНМ: 0300000132 [22:46:58]line РНМ: 0000000000091208 [22:46:58]line Версия ККМ: 001 [22:46:58]line ФМ: 0000000000874857 [22:46:58]line ФД: 57232 [22:46:58]line ФПД: 53898204854671 [22:46:58]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T224658&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57232&fm=53898204854671&tin=02508201610067®Number=0000000000091208&sum=21500 [22:46:58]line 0 [22:46:58]written 0, free lines is 4095 [22:46:58]Connected sock=10 [22:46:58]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 02 02 00 00 44 59 FA 01 EF 70 5A 03 01 00 03 00 EE 01 1E 04 01 00 01 23 04 56 00 8A 04 08 00 35 30 31 37 33 38 30 38 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 53 77 65 65 74 20 4D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 23 04 6B 00 8A 04 0D 00 34 30 31 31 31 30 30 39 37 37 39 35 32 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 A2 D0 B2 D0 B8 D0 BA D1 81 20 35 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 FC 53 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BE 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EB 08 00 00 00 00 07 04 06 00 FC 53 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 7F 00 00 00 F4 03 04 00 E2 A6 95 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 90 DF 00 00 35 04 06 00 31 05 27 5A B9 8F C4 02 8A 00 79 80 52 56 [22:46:58]Write to MH i2c: 01 00 00 64 0C 70 [22:46:58]Write i2c OK [22:46:58]MH_I2C_Read... [22:46:58]Read from MH i2c: 01 [22:46:58]MH_I2C_Read... [22:46:58]Read from MH i2c: 01 07 00 [22:46:58]MH_I2C_Read... [22:46:58]Read from MH i2c: 01 07 00 64 0C 00 00 00 00 00 3E 0C C1 [22:46:58]RasterBufferAndPrint [22:46:58]line [22:46:58]line [22:46:58]line [22:46:58]line [22:46:58]line [22:46:58]written 0, free lines is 3140 [22:46:58]MH_Cut [22:46:58]Write to MH i2c: D1 01 00 6B 0C 01 49 [22:46:58]Write i2c OK [22:46:58]MH_I2C_Read... [22:46:58]Read from MH i2c: D1 [22:46:58]MH_I2C_Read... [22:46:58]Read from MH i2c: D1 01 00 [22:46:58]MH_I2C_Read... [22:46:58]Read from MH i2c: D1 01 00 6B 0C 00 48 [22:46:58]Write to MH i2c: 01 00 00 6C 0C 78 [22:46:58]Write i2c OK [22:46:58]MH_I2C_Read... [22:46: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 FB B1 47 00 29 A8 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 90 DF 00 00 F4 03 04 00 2F 4D 95 66 B6 04 01 00 00 7F 1A 3B 8A 08 26 CF C4 [22:46:58]CommunicateWithHost err = 0 [22:46:58]CheckOFDResponse [22:46:58]1017 (14) - 77093643461234 [22:46:58]1041 (16) - 0000000000874857 [22:46:58]1040 (4) - 57232 [22:46:58]1012 (4) - 15.07.2024 16:24 [22:46:58]1206 (1) - 0 [22:46:58]OFD Sender: Remove packet 57232 [22:46:58]ProducePacketName [22:46:58]name=ofd_packets/00057232 [22:46:58]NVStorageDeleteData [22:46:59]OFD Sender: No OFD packet to send [22:46:59]*** Cut start [22:46:59]*** Partial cut [22:46:59]*** CUTSNS_PIN = 1 [22:46:59]*** CUTSNS_PIN = 0 [22:46:59]*** Brake cut motor [22:47:00]Read from MH i2c: 01 [22:47:00]MH_I2C_Read... [22:47:00]*** Stop cut motor [22:47:00]*** Cut end [22:47:00]Read from MH i2c: 01 07 00 [22:47:00]MH_I2C_Read... [22:47:00]Read from MH i2c: 01 07 00 6C 0C 00 00 00 00 00 FF 0F 8D [22:47:00]process_action close_receipt done [22:47:00]requested_data is exist [22:47:00]produce_requested_data [22:47:00]requested_item fm.sn is exist - process it [22:47:00]wFMCommunicate request_size=4 [22:47:00]MH_SAM_APDU [22:47:00]CAPDU: 80 11 00 00 [22:47:00]Write to MH i2c: E2 08 00 6D 0C 80 11 00 00 00 00 00 00 F3 [22:47:00]Write i2c OK [22:47:00]MH_I2C_Read... [22:47:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:47:00]Read from MH i2c: E2 [22:47:00]MH_I2C_Read... [22:47:00]Read from MH i2c: E2 17 00 [22:47:00]MH_I2C_Read... [22:47:00]Read from MH i2c: E2 17 00 6D 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 4D [22:47:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [22:47:00]wFMCommunicate OK [22:47:00]requested_item fd.num is exist - process it [22:47:00]SAM_PROTO_GetFieldsCounters [22:47:00]wFMCommunicate request_size=4 [22:47:00]MH_SAM_APDU [22:47:00]CAPDU: 80 13 00 00 [22:47:00]Write to MH i2c: E2 08 00 6E 0C 80 13 00 00 00 00 00 00 F6 [22:47:00]Write i2c OK [22:47:00]MH_I2C_Read... [22:47:00]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:47:00]Read from MH i2c: E2 [22:47:00]MH_I2C_Read... [22:47:00]Read from MH i2c: E2 62 00 [22:47:00]MH_I2C_Read... [22:47:00]Read from MH i2c: E2 62 00 6E 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 90 DF 00 00 0E 04 04 00 F1 01 00 00 12 04 04 00 7F 00 00 00 5E 04 04 00 7F 00 00 00 57 04 04 00 80 00 00 00 19 04 04 00 00 00 00 00 90 00 F7 [22:47:00]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 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 90 DF 00 00 0E 04 04 00 F1 01 00 00 12 04 04 00 7F 00 00 00 5E 04 04 00 7F 00 00 00 57 04 04 00 80 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:47:00]wFMCommunicate OK [22:47:00]SAM_PROTO_GetFieldsCounters done [22:47:00]requested_item shift.num is exist - process it [22:47:00]requested_item shift.opened is exist - process it [22:47:00]req_shift_opened [22:47:00]FM_GetShiftState [22:47:00]SAM_PROTO_GetShiftState [22:47:00]wFMCommunicate request_size=4 [22:47:00]MH_SAM_APDU [22:47:00]CAPDU: 80 13 01 00 [22:47:00]Write to MH i2c: E2 08 00 6F 0C 80 13 01 00 00 00 00 00 F8 [22:47:00]Write i2c OK [22:47:00]MH_I2C_Read... [22:47:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:47:00]Read from MH i2c: E2 [22:47:00]MH_I2C_Read... [22:47:00]Read from MH i2c: E2 0E 00 [22:47:00]MH_I2C_Read... [22:47:00]Read from MH i2c: E2 0E 00 6F 0C 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 71 [22:47:00]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [22:47:00]wFMCommunicate OK [22:47:00]SAM_PROTO_GetShiftState done [22:47:00]FM_GetShiftState done [22:47:00]req_shift_opened done [22:47:00]requested_item shift.open_date is exist - process it [22:47:00]req_shift_open_date [22:47:00]req_shift_open_date done [22:47:00]requested_item shift.sale.total is exist - process it [22:47:00]SAM_PROTO_GetShiftData [22:47:00]wFMCommunicate request_size=4 [22:47:00]MH_SAM_APDU [22:47:00]CAPDU: 80 13 02 00 [22:47:00]Write to MH i2c: E2 08 00 70 0C 80 13 02 00 00 00 00 00 FA [22:47:00]Write i2c OK [22:47:00]MH_I2C_Read... [22:47:00]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [22:47:00]Read from MH i2c: E2 [22:47:00]MH_I2C_Read... [22:47:00]Read from MH i2c: E2 FD 00 [22:47:00]MH_I2C_Read... [22:47:00]Read from MH i2c: E2 FD 00 70 0C 00 B6 04 AA 04 B2 04 6E 04 04 00 7F 00 00 00 69 04 9B 00 6F 04 04 00 7E 00 00 00 B1 04 03 00 FE 8C 3B 70 04 03 00 74 84 2F 72 04 03 00 8A 08 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 17 53 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 E7 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 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 C0 [22:47:01]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 7F 00 00 00 69 04 9B 00 6F 04 04 00 7E 00 00 00 B1 04 03 00 FE 8C 3B 70 04 03 00 74 84 2F 72 04 03 00 8A 08 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 17 53 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 E7 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 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 [22:47:01]wFMCommunicate OK [22:47:01]wFMCommunicate request_size=4 [22:47:01]MH_SAM_APDU [22:47:01]CAPDU: 80 17 00 00 [22:47:01]Write to MH i2c: E2 08 00 71 0C 80 17 00 00 00 00 00 00 FD [22:47:01]Write i2c OK [22:47:01]MH_I2C_Read... [22:47:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [22:47:01]Read from MH i2c: E2 [22:47:01]MH_I2C_Read... [22:47:01]Read from MH i2c: E2 FD 00 [22:47:01]MH_I2C_Read... [22:47:01]Read from MH i2c: E2 FD 00 71 0C 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 32 [22:47:01]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 [22:47:01]wFMCommunicate OK [22:47:01]wFMCommunicate request_size=4 [22:47:01]MH_SAM_APDU [22:47:01]CAPDU: 80 17 00 00 [22:47:01]Write to MH i2c: E2 08 00 72 0C 80 17 00 00 00 00 00 00 FE [22:47:01]Write i2c OK [22:47:01]MH_I2C_Read... [22:47:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [22:47:01]Read from MH i2c: E2 [22:47:01]MH_I2C_Read... [22:47:01]Read from MH i2c: E2 FD 00 [22:47:01]MH_I2C_Read... [22:47:01]Read from MH i2c: E2 FD 00 72 0C 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 BE [22:47:01]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 [22:47:01]wFMCommunicate OK [22:47:01]wFMCommunicate request_size=4 [22:47:01]MH_SAM_APDU [22:47:01]CAPDU: 80 17 00 00 [22:47:01]Write to MH i2c: E2 08 00 73 0C 80 17 00 00 00 00 00 00 FF [22:47:01]Write i2c OK [22:47:01]MH_I2C_Read... [22:47:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [22:47:01]Read from MH i2c: E2 [22:47:01]MH_I2C_Read... [22:47:01]Read from MH i2c: E2 FD 00 [22:47:01]MH_I2C_Read... [22:47:01]Read from MH i2c: E2 FD 00 73 0C 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 6E [22:47:01]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 [22:47:01]wFMCommunicate OK [22:47:01]wFMCommunicate request_size=4 [22:47:01]MH_SAM_APDU [22:47:01]CAPDU: 80 17 00 00 [22:47:01]Write to MH i2c: E2 08 00 74 0C 80 17 00 00 00 00 00 00 00 [22:47:02]Write i2c OK [22:47:02]MH_I2C_Read... [22:47:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [22:47:02]Read from MH i2c: E2 [22:47:02]MH_I2C_Read... [22:47:02]Read from MH i2c: E2 D3 00 [22:47:02]MH_I2C_Read... [22:47:02]Read from MH i2c: E2 D3 00 74 0C 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 ED [22:47:02]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 [22:47:02]wFMCommunicate OK [22:47:02]SAM_PROTO_GetShiftData done [22:47:02]requested_item shift.sale.total_cash is exist - process it [22:47:02]requested_item shift.sale_refund.total is exist - process it [22:47:02]requested_item shift.sale_refund.total_cash is exist - process it [22:47:02]produce_requested_data done [22:47:02]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57232,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":39027.18,"shift.sale.total_cash":31141.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [22:47:02]process_action_free close_receipt [22:47:02]json_value_free [22:47:02]json_value_free done [22:47:02]process_json_proto returns [22:47:02]Send response to host [22:47:02]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57232,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":39027.18,"shift.sale.total_cash":31141.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [22:47:02]free response buf [22:47:02]execute_script done [22:47:02]execute_script returns [22:47:02]free content buf [22:47:02]Sock 9.Close socket [22:47:02]Sock 9.Thread stoped [22:47:04]OFD Sender: No OFD packet to send [22:47:09]OFD Sender: No OFD packet to send [22:47:14]OFD Sender: No OFD packet to send [22:47:19]OFD Sender: No OFD packet to send [22:47:24]OFD Sender: No OFD packet to send [22:47:29]OFD Sender: No OFD packet to send [22:47:34]OFD Sender: No OFD packet to send [22:47:39]OFD Sender: No OFD packet to send [22:47:44]OFD Sender: No OFD packet to send [22:47:49]OFD Sender: No OFD packet to send [22:47:54]OFD Sender: No OFD packet to send [22:47:59]OFD Sender: No OFD packet to send [22:48:04]OFD Sender: No OFD packet to send [22:48:09]OFD Sender: No OFD packet to send [22:48:14]OFD Sender: No OFD packet to send [22:48:19]OFD Sender: No OFD packet to send [22:48:24]OFD Sender: No OFD packet to send [22:48:29]OFD Sender: No OFD packet to send [22:48:34]OFD Sender: No OFD packet to send [22:48:39]OFD Sender: No OFD packet to send [22:48:44]OFD Sender: No OFD packet to send [22:48:49]OFD Sender: No OFD packet to send [22:48:54]OFD Sender: No OFD packet to send [22:48:59]OFD Sender: No OFD packet to send [22:49:04]OFD Sender: No OFD packet to send [22:49:09]OFD Sender: No OFD packet to send [22:49:14]OFD Sender: No OFD packet to send [22:49:19]OFD Sender: No OFD packet to send [22:49:24]OFD Sender: No OFD packet to send [22:49:29]OFD Sender: No OFD packet to send [22:49:34]OFD Sender: No OFD packet to send [22:49:39]OFD Sender: No OFD packet to send [22:49:44]OFD Sender: No OFD packet to send [22:49:49]OFD Sender: No OFD packet to send [22:49:54]OFD Sender: No OFD packet to send [22:49:59]OFD Sender: No OFD packet to send [22:50:04]OFD Sender: No OFD packet to send [22:50:09]OFD Sender: No OFD packet to send [22:50:14]OFD Sender: No OFD packet to send [22:50:19]OFD Sender: No OFD packet to send [22:50:24]OFD Sender: No OFD packet to send [22:50:29]OFD Sender: No OFD packet to send [22:50:34]OFD Sender: No OFD packet to send [22:50:39]OFD Sender: No OFD packet to send [22:50:44]OFD Sender: No OFD packet to send [22:50:49]OFD Sender: No OFD packet to send [22:50:54]OFD Sender: No OFD packet to send [22:50:59]OFD Sender: No OFD packet to send [22:51:04]OFD Sender: No OFD packet to send [22:51:09]OFD Sender: No OFD packet to send [22:51:14]OFD Sender: No OFD packet to send [22:51:19]OFD Sender: No OFD packet to send [22:51:24]OFD Sender: No OFD packet to send [22:51:29]OFD Sender: No OFD packet to send [22:51:34]OFD Sender: No OFD packet to send [22:51:39]OFD Sender: No OFD packet to send [22:51:44]OFD Sender: No OFD packet to send [22:51:49]OFD Sender: No OFD packet to send [22:51:54]OFD Sender: No OFD packet to send [22:51:59]OFD Sender: No OFD packet to send [22:52:04]OFD Sender: No OFD packet to send [22:52:09]OFD Sender: No OFD packet to send [22:52:14]OFD Sender: No OFD packet to send [22:52:19]OFD Sender: No OFD packet to send [22:52:24]OFD Sender: No OFD packet to send [22:52:29]OFD Sender: No OFD packet to send [22:52:34]OFD Sender: No OFD packet to send [22:52:39]OFD Sender: No OFD packet to send [22:52:44]OFD Sender: No OFD packet to send [22:52:49]OFD Sender: No OFD packet to send [22:52:54]OFD Sender: No OFD packet to send [22:52:59]OFD Sender: No OFD packet to send [22:53:04]OFD Sender: No OFD packet to send [22:53:09]OFD Sender: No OFD packet to send [22:53:14]OFD Sender: No OFD packet to send [22:53:19]OFD Sender: No OFD packet to send [22:53:24]OFD Sender: No OFD packet to send [22:53:29]OFD Sender: No OFD packet to send [22:53:34]OFD Sender: No OFD packet to send [22:53:39]OFD Sender: No OFD packet to send [22:53:44]OFD Sender: No OFD packet to send [22:53:49]OFD Sender: No OFD packet to send [22:53:54]OFD Sender: No OFD packet to send [22:53:59]OFD Sender: No OFD packet to send [22:54:04]OFD Sender: No OFD packet to send [22:54:09]OFD Sender: No OFD packet to send [22:54:14]OFD Sender: No OFD packet to send [22:54:19]OFD Sender: No OFD packet to send [22:54:24]OFD Sender: No OFD packet to send [22:54:29]OFD Sender: No OFD packet to send [22:54:34]OFD Sender: No OFD packet to send [22:54:39]OFD Sender: No OFD packet to send [22:54:44]OFD Sender: No OFD packet to send [22:54:49]OFD Sender: No OFD packet to send [22:54:54]OFD Sender: No OFD packet to send [22:54:59]OFD Sender: No OFD packet to send [22:55:04]OFD Sender: No OFD packet to send [22:55:09]OFD Sender: No OFD packet to send [22:55:14]OFD Sender: No OFD packet to send [22:55:19]OFD Sender: No OFD packet to send [22:55:24]OFD Sender: No OFD packet to send [22:55:29]OFD Sender: No OFD packet to send [22:55:34]OFD Sender: No OFD packet to send [22:55:39]OFD Sender: No OFD packet to send [22:55:44]OFD Sender: No OFD packet to send [22:55:49]OFD Sender: No OFD packet to send [22:55:54]OFD Sender: No OFD packet to send [22:55:59]OFD Sender: No OFD packet to send [22:56:04]OFD Sender: No OFD packet to send [22:56:09]OFD Sender: No OFD packet to send [22:56:14]OFD Sender: No OFD packet to send [22:56:19]OFD Sender: No OFD packet to send [22:56:24]OFD Sender: No OFD packet to send [22:56:29]OFD Sender: No OFD packet to send [22:56:34]OFD Sender: No OFD packet to send [22:56:39]OFD Sender: No OFD packet to send [22:56:44]OFD Sender: No OFD packet to send [22:56:49]OFD Sender: No OFD packet to send [22:56:54]OFD Sender: No OFD packet to send [22:56:59]OFD Sender: No OFD packet to send [22:57:04]OFD Sender: No OFD packet to send [22:57:09]OFD Sender: No OFD packet to send [22:57:14]OFD Sender: No OFD packet to send [22:57:19]OFD Sender: No OFD packet to send [22:57:24]OFD Sender: No OFD packet to send [22:57:29]OFD Sender: No OFD packet to send [22:57:34]OFD Sender: No OFD packet to send [22:57:39]OFD Sender: No OFD packet to send [22:57:44]OFD Sender: No OFD packet to send [22:57:49]OFD Sender: No OFD packet to send [22:57:54]OFD Sender: No OFD packet to send [22:57:59]OFD Sender: No OFD packet to send [22:58:04]OFD Sender: No OFD packet to send [22:58:09]OFD Sender: No OFD packet to send [22:58:14]OFD Sender: No OFD packet to send [22:58:19]OFD Sender: No OFD packet to send [22:58:24]OFD Sender: No OFD packet to send [22:58:29]OFD Sender: No OFD packet to send [22:58:34]OFD Sender: No OFD packet to send [22:58:39]OFD Sender: No OFD packet to send [22:58:45]OFD Sender: No OFD packet to send [22:58:50]OFD Sender: No OFD packet to send [22:58:55]OFD Sender: No OFD packet to send [22:59:00]OFD Sender: No OFD packet to send [22:59:05]OFD Sender: No OFD packet to send [22:59:10]OFD Sender: No OFD packet to send [22:59:15]OFD Sender: No OFD packet to send [22:59:20]OFD Sender: No OFD packet to send [22:59:25]OFD Sender: No OFD packet to send [22:59:30]OFD Sender: No OFD packet to send [22:59:35]OFD Sender: No OFD packet to send [22:59:40]OFD Sender: No OFD packet to send [22:59:45]OFD Sender: No OFD packet to send [22:59:50]OFD Sender: No OFD packet to send [22:59:55]OFD Sender: No OFD packet to send [23:00:00]OFD Sender: No OFD packet to send [23:00:05]OFD Sender: No OFD packet to send [23:00:08]accept exits with 7 [23:00:08]New connection [23:00:08]New thread 3067014500 created [23:00:08]Thread 3066871140 joined [23:00:08]Waiting for new connection... [23:00:08] Sock 7.Parse request [23:00:08]Sock 7.Check first char [23:00:08]Sock 7.First char is OK [23:00:08]request: POST /json_proto HTTP/1.0 [23:00:08]Method: POST [23:00:08]URL: /json_proto [23:00:08]Method is POST - this is cgi request [23:00:08]url: /json_proto [23:00:08]query_string will be loaded in cgi processing [23:00:08]execute_cgi json_proto POST (null) [23:00:08]execute_cgi path=json_proto method=POST [23:00:08]POST find Content-Length [23:00:08]Host: 172.17.39.4:8080 [23:00:08]Content-Length: 909 [23:00:08]Content-Type: application/json [23:00:08] [23:00:08]POST finish read [23:00:08]Found Content-Length = 909 [23:00:08]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)856187", "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" : 7.550, "sum" : 500.57, "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" : 500.57 } ] } , "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:08]execute_script... [23:00:08]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)856187", "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" : 7.550, "sum" : 500.57, "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" : 500.57 } ] } , "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:08]POST & json_proto [23:00:08]process_json_proto [23:00:08]json parsed OK: [23:00:08]protocol is kg_v1.0 [23:00:08]action value=close_receipt [23:00:08]process_action close_receipt [23:00:08]cmd_close_receipt [23:00:08]MH_GetDate [23:00:08]Write to MH i2c: F0 00 00 75 0C 70 [23:00:08]Write i2c OK [23:00:08]MH_I2C_Read... [23:00:08]Read from MH i2c: F0 [23:00:08]MH_I2C_Read... [23:00:08]Read from MH i2c: F0 09 00 [23:00:08]MH_I2C_Read... [23:00:08]Read from MH i2c: F0 09 00 75 0C 00 FA A9 95 66 2D 25 5D 64 2A [23:00:08]GetLastDocTimeStamp 1721083618 [23:00:08]current date 1721084410 [23:00:08]FM_GetShiftState [23:00:08]SAM_PROTO_GetShiftState [23:00:08]wFMCommunicate request_size=4 [23:00:08]MH_SAM_APDU [23:00:08]CAPDU: 80 13 01 00 [23:00:08]Write to MH i2c: E2 08 00 76 0C 80 13 01 00 00 00 00 00 FF [23:00:08]Write i2c OK [23:00:08]MH_I2C_Read... [23:00:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:00:08]Read from MH i2c: E2 [23:00:08]MH_I2C_Read... [23:00:08]Read from MH i2c: E2 0E 00 [23:00:08]MH_I2C_Read... [23:00:08]Read from MH i2c: E2 0E 00 76 0C 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 78 [23:00:08]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [23:00:08]wFMCommunicate OK [23:00:08]SAM_PROTO_GetShiftState done [23:00:08]FM_GetShiftState done [23:00:08]opened in 1721003525 [23:00:08]opened+sec_in_day 1721089925 [23:00:08]quantity*price = 50056 [23:00:08]sum+1 = 50058 [23:00:08]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 500.57 НСП 1% : 4.43 НДС 12% : 53.16 Наличными: 0.00 Безнал.: 500.57 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 128 15.07.2024 23:00 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 Платежная система: О! деньги ФМ: 0000000000874857 ФД: 57233 ФПД: 30376684719310 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T230010&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57233&fm=30376684719310&tin=02508201610067®Number=0000000000091208&sum=50057 [23:00:09]StoreToDocumentArchive [23:00:09]shift 497 fd 57233 [23:00:09]save to /storage/0497/doc_00057233 [23:00:09]save last doc name /storage/0497/doc_00057233 to /storage/kkm_last_doc_name [23:00:09]save OK [23:00:09]Clear old archive folders... [23:00:09]ProcessDocumentItem done err = 0, tmpTLVsize=251 [23:00:09]tlvbuf is 00880240 [23:00:09]SAM_PROTO_ClearQueue [23:00:09]wFMCommunicate request_size=4 [23:00:09]MH_SAM_APDU [23:00:09]CAPDU: 80 09 00 00 [23:00:09]Write to MH i2c: E2 08 00 83 0C 80 09 00 00 00 00 00 00 01 [23:00:09]Write i2c OK [23:00:09]MH_I2C_Read... [23:00:09]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:00:09]Read from MH i2c: E2 [23:00:09]MH_I2C_Read... [23:00:09]Read from MH i2c: E2 03 00 [23:00:09]MH_I2C_Read... [23:00:09]Read from MH i2c: E2 03 00 83 0C 00 90 00 03 [23:00:09]RAPDU: 90 00 [23:00:09]wFMCommunicate OK [23:00:09]SAM_PROTO_ClearQueue done [23:00:09]KKMCreateOFDPacket [23:00:09]OFDProtocolAddRootSTLVToBuf [23:00:09]FM_MakeSignedData [23:00:09]FM_MakeSignedData [23:00:09]SAM_PROTO_SignData [23:00:09]wFMCommunicate request_size=4 [23:00:09]MH_SAM_APDU [23:00:09]CAPDU: 80 0D 01 02 [23:00:09]Write to MH i2c: E2 08 00 84 0C 80 0D 01 02 00 00 00 00 09 [23:00:09]Write i2c OK [23:00:09]MH_I2C_Read... [23:00:09]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:00:09]Read from MH i2c: E2 [23:00:09]MH_I2C_Read... [23:00:09]Read from MH i2c: E2 03 00 [23:00:09]MH_I2C_Read... [23:00:09]Read from MH i2c: E2 03 00 84 0C 00 90 00 04 [23:00:09]RAPDU: 90 00 [23:00:09]wFMCommunicate OK [23:00:09]wFMCommunicate request_size=255 [23:00:09]MH_SAM_APDU [23:00:09]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 7E 1D 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 89 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 89 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 14 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 89 C3 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 80 00 00 00 F4 03 04 00 FA A9 95 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 91 DF 00 00 35 04 06 00 1B [23:00:09]Write to MH i2c: E2 02 01 85 0C 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 7E 1D 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 89 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 89 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 14 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 89 C3 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 80 00 00 00 F4 03 04 00 FA A9 95 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 91 DF 00 00 35 04 06 00 1B 00 00 C2 [23:00:09]Write i2c OK [23:00:09]MH_I2C_Read... [23:00:09]Read from MH i2c: E2 [23:00:09]MH_I2C_Read... [23:00:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:00:09]Read from MH i2c: E2 03 00 [23:00:09]MH_I2C_Read... [23:00:09]Read from MH i2c: E2 03 00 85 0C 00 90 00 05 [23:00:09]RAPDU: 90 00 [23:00:09]wFMCommunicate OK [23:00:09]wFMCommunicate request_size=10 [23:00:09]MH_SAM_APDU [23:00:09]CAPDU: 80 0D 02 02 05 A0 9F 80 8C CE [23:00:09]Write to MH i2c: E2 0D 00 86 0C 80 0D 02 02 05 00 A0 9F 80 8C CE 00 00 2F [23:00:09]Write i2c OK [23:00:09]MH_I2C_Read... [23:00:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:00:09]Read from MH i2c: E2 [23:00:09]MH_I2C_Read... [23:00:09]Read from MH i2c: E2 03 00 [23:00:09]MH_I2C_Read... [23:00:09]Read from MH i2c: E2 03 00 86 0C 00 90 00 06 [23:00:09]RAPDU: 90 00 [23:00:09]wFMCommunicate OK [23:00:09]wFMCommunicate request_size=4 [23:00:09]MH_SAM_APDU [23:00:09]CAPDU: 80 0D 03 02 [23:00:09]Write to MH i2c: E2 08 00 87 0C 80 0D 03 02 00 00 00 00 0E [23:00:09]Write i2c OK [23:00:09]MH_I2C_Read... [23:00:09]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:00:10]Read from MH i2c: E2 [23:00:10]MH_I2C_Read... [23:00:10]Read from MH i2c: E2 0B 00 [23:00:10]MH_I2C_Read... [23:00:10]Read from MH i2c: E2 0B 00 87 0C 00 06 74 AB 65 B8 74 DA 4D 90 00 EC [23:00:10]RAPDU: 06 74 AB 65 B8 74 DA 4D 90 00 [23:00:10]wFMCommunicate OK [23:00:10]SAM_PROTO_SignData done [23:00:10]FM_MakeSignedData done [23:00:10]CreateOFDProtocolMessage [23:00:10]wFMCommunicate request_size=4 [23:00:10]MH_SAM_APDU [23:00:10]CAPDU: 80 11 00 00 [23:00:10]Write to MH i2c: E2 08 00 88 0C 80 11 00 00 00 00 00 00 0E [23:00:10]Write i2c OK [23:00:10]MH_I2C_Read... [23:00:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:00:10]Read from MH i2c: E2 [23:00:10]MH_I2C_Read... [23:00:10]Read from MH i2c: E2 17 00 [23:00:10]MH_I2C_Read... [23:00:10]Read from MH i2c: E2 17 00 88 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 68 [23:00:10]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:10]wFMCommunicate OK [23:00:10]CreateOFDProtocolMessage done [23:00:10]OFDSenderStorePacket 57233 [23:00:10]StoreOFDPacket docnum=57233 [23:00: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 0F 01 00 00 90 51 07 01 B0 24 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 7E 1D 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 89 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 89 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 14 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 89 C3 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 80 00 00 00 F4 03 04 00 FA A9 95 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 91 DF 00 00 35 04 06 00 1B A0 9F 80 8C CE 06 74 AB 65 B8 74 DA 4D [23:00:10]CheckFolder [23:00:10]dirname=/storage/ofd_packets [23:00:10]CheckFolder done [23:00:10]ProducePacketName [23:00:10]name=ofd_packets/00057233 [23:00:10]NVStorageSaveData ofd_packets/00057233 [23:00:10]File name is /storage/ofd_packets/00057233 [23:00:10]Write 301 bytes [23:00:10]NVStorageSaveData done [23:00:10]OFDSenderStorePacket done [23:00:10]KKMCreateOFDPacket done [23:00:10]NVStorageSaveData kkm_last_timestamp [23:00:10]File name is /storage/kkm_last_timestamp [23:00:10]Write 4 bytes [23:00:10]NVStorageSaveData done [23:00:10]ExternCall_PrintAddStr [23:00:10]wPrintStart [23:00:10]Write to MH i2c: 01 00 00 89 0C 95 [23:00:10]Write i2c OK [23:00:10]MH_I2C_Read... [23:00:10]Read from MH i2c: 01 [23:00:10]MH_I2C_Read... [23:00:10]Read from MH i2c: 01 07 00 [23:00:10]MH_I2C_Read... [23:00:10]Read from MH i2c: 01 07 00 89 0C 00 00 00 00 00 FF 0F AA [23:00:10]RasterBufferAndPrint [23:00:10]line Счет N : (1)856187 [23:00:10]line ИНН: 02508201610067 [23:00:10]line Контрольно-Кассовый Чек [23:00:10]line ПРОДАЖА [23:00:10]line ТРК (МРК, ГНК) : 53 [23:00:10]line Товар: 2710124130 [23:00:10]line Аи-92-К-5 [23:00:10]line 7.550 * 66.30 [23:00:10]line = 500.57 [23:00:10]line НДС 12% НСП 1% [23:00:10]line > о реализуемом товаре [23:00:10]line ИТОГО: 500.57 [23:00:10]line НСП 1% : 4.43 [23:00:10]line НДС 12% : 53.16 [23:00:10]line Наличными: 0.00 [23:00:10]line Безнал.: 500.57 [23:00:10]line Место: АЗС № 132 "Партнер Нефть" [23:00:10]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [23:00:10]line СНО: Общий режим [23:00:10]line Чек 128 15.07.2024 23:00 [23:00:10]line Смена: 497 ФФД: 1.0 [23:00:10]line ЗНМ: 0300000132 [23:00:10]line РНМ: 0000000000091208 [23:00:10]line Версия ККМ: 001 [23:00:10]line Платежная система: О! деньги [23:00:10]line ФМ: 0000000000874857 [23:00:10]line ФД: 57233 [23:00:10]line ФПД: 30376684719310 [23:00:10]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T230010&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57233&fm=30376684719310&tin=02508201610067®Number=0000000000091208&sum=50057 [23:00:10]written 0, free lines is 4095 [23:00:10]OFD Sender: Processing packet 57233 [packets to send 38, broken 37] [23:00:10]ProducePacketName [23:00:10]name=ofd_packets/00057233 [23:00:10]OFD Sender: To server: pG, [23:00:10]CommunicateWithHost lk.salyk.kg:30040 [23:00:10]ConnectInit lk.salyk.kg [23:00:10]Connected sock=11 [23:00: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 0F 01 00 00 90 51 07 01 B0 24 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 7E 1D 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 89 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 89 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 14 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 89 C3 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 80 00 00 00 F4 03 04 00 FA A9 95 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 91 DF 00 00 35 04 06 00 1B A0 9F 80 8C CE 06 74 AB 65 B8 74 DA 4D [23:00: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 76 35 47 00 DB 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 91 DF 00 00 F4 03 04 00 46 50 95 66 B6 04 01 00 00 38 A8 2A 7C B4 A5 78 D5 [23:00:10]CommunicateWithHost err = 0 [23:00:10]CheckOFDResponse [23:00:10]1017 (14) - 77093643461234 [23:00:10]1041 (16) - 0000000000874857 [23:00:10]1040 (4) - 57233 [23:00:10]1012 (4) - 15.07.2024 16:37 [23:00:10]1206 (1) - 0 [23:00:10]OFD Sender: Remove packet 57233 [23:00:10]ProducePacketName [23:00:10]name=ofd_packets/00057233 [23:00:10]NVStorageDeleteData [23:00:10]Write to MH i2c: 01 00 00 B3 0C BF [23:00:10]Write i2c OK [23:00:10]MH_I2C_Read... [23:00:10]Read from MH i2c: 01 [23:00:10]MH_I2C_Read... [23:00:10]Read from MH i2c: 01 07 00 [23:00:10]MH_I2C_Read... [23:00:10]Read from MH i2c: 01 07 00 B3 0C 00 00 00 00 00 F5 0C C7 [23:00:10]RasterBufferAndPrint [23:00:10]line [23:00:10]line [23:00:10]line [23:00:10]line [23:00:10]line [23:00:10]written 0, free lines is 3324 [23:00:10]MH_Cut [23:00:10]Write to MH i2c: D1 01 00 BA 0C 01 98 [23:00:10]Write i2c OK [23:00:10]MH_I2C_Read... [23:00:10]Read from MH i2c: D1 [23:00:10]MH_I2C_Read... [23:00:10]Read from MH i2c: D1 01 00 [23:00:10]MH_I2C_Read... [23:00:10]Read from MH i2c: D1 01 00 BA 0C 00 97 [23:00:10]Write to MH i2c: 01 00 00 BB 0C C7 [23:00:10]Write i2c OK [23:00:10]MH_I2C_Read... [23:00:10]OFD Sender: No OFD packet to send [23:00:11]*** Cut start [23:00:11]*** Partial cut [23:00:11]*** CUTSNS_PIN = 1 [23:00:11]*** CUTSNS_PIN = 0 [23:00:11]*** Brake cut motor [23:00:11]Read from MH i2c: 01 [23:00:11]MH_I2C_Read... [23:00:11]*** Stop cut motor [23:00:11]*** Cut end [23:00:11]Read from MH i2c: 01 07 00 [23:00:11]MH_I2C_Read... [23:00:11]Read from MH i2c: 01 07 00 BB 0C 00 00 00 00 00 FF 0F DC [23:00:11]process_action close_receipt done [23:00:11]requested_data is exist [23:00:11]produce_requested_data [23:00:11]requested_item fm.sn is exist - process it [23:00:11]wFMCommunicate request_size=4 [23:00:11]MH_SAM_APDU [23:00:11]CAPDU: 80 11 00 00 [23:00:11]Write to MH i2c: E2 08 00 BC 0C 80 11 00 00 00 00 00 00 42 [23:00:11]Write i2c OK [23:00:11]MH_I2C_Read... [23:00:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:00:11]Read from MH i2c: E2 [23:00:11]MH_I2C_Read... [23:00:11]Read from MH i2c: E2 17 00 [23:00:11]MH_I2C_Read... [23:00:11]Read from MH i2c: E2 17 00 BC 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 9C [23:00: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:00:11]wFMCommunicate OK [23:00:11]requested_item fd.num is exist - process it [23:00:11]SAM_PROTO_GetFieldsCounters [23:00:11]wFMCommunicate request_size=4 [23:00:11]MH_SAM_APDU [23:00:11]CAPDU: 80 13 00 00 [23:00:11]Write to MH i2c: E2 08 00 BD 0C 80 13 00 00 00 00 00 00 45 [23:00:11]Write i2c OK [23:00:11]MH_I2C_Read... [23:00:12]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:00:12]Read from MH i2c: E2 [23:00:12]MH_I2C_Read... [23:00:12]Read from MH i2c: E2 62 00 [23:00:12]MH_I2C_Read... [23:00:12]Read from MH i2c: E2 62 00 BD 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 91 DF 00 00 0E 04 04 00 F1 01 00 00 12 04 04 00 80 00 00 00 5E 04 04 00 80 00 00 00 57 04 04 00 81 00 00 00 19 04 04 00 00 00 00 00 90 00 4A [23:00: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 91 DF 00 00 0E 04 04 00 F1 01 00 00 12 04 04 00 80 00 00 00 5E 04 04 00 80 00 00 00 57 04 04 00 81 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:00:12]wFMCommunicate OK [23:00:12]SAM_PROTO_GetFieldsCounters done [23:00:12]requested_item shift.num is exist - process it [23:00:12]requested_item shift.opened is exist - process it [23:00:12]req_shift_opened [23:00:12]FM_GetShiftState [23:00:12]SAM_PROTO_GetShiftState [23:00:12]wFMCommunicate request_size=4 [23:00:12]MH_SAM_APDU [23:00:12]CAPDU: 80 13 01 00 [23:00:12]Write to MH i2c: E2 08 00 BE 0C 80 13 01 00 00 00 00 00 47 [23:00:12]Write i2c OK [23:00:12]MH_I2C_Read... [23:00:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:00:12]Read from MH i2c: E2 [23:00:12]MH_I2C_Read... [23:00:12]Read from MH i2c: E2 0E 00 [23:00:12]MH_I2C_Read... [23:00:12]Read from MH i2c: E2 0E 00 BE 0C 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 C0 [23:00:12]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [23:00:12]wFMCommunicate OK [23:00:12]SAM_PROTO_GetShiftState done [23:00:12]FM_GetShiftState done [23:00:12]req_shift_opened done [23:00:12]requested_item shift.open_date is exist - process it [23:00:12]req_shift_open_date [23:00:12]req_shift_open_date done [23:00:12]requested_item shift.sale.total is exist - process it [23:00:12]SAM_PROTO_GetShiftData [23:00:12]wFMCommunicate request_size=4 [23:00:12]MH_SAM_APDU [23:00:12]CAPDU: 80 13 02 00 [23:00:12]Write to MH i2c: E2 08 00 BF 0C 80 13 02 00 00 00 00 00 49 [23:00:12]Write i2c OK [23:00:12]MH_I2C_Read... [23:00:12]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:00:12]Read from MH i2c: E2 [23:00:12]MH_I2C_Read... [23:00:12]Read from MH i2c: E2 FD 00 [23:00:12]MH_I2C_Read... [23:00:12]Read from MH i2c: E2 FD 00 BF 0C 00 B6 04 AA 04 B2 04 6E 04 04 00 80 00 00 00 69 04 9B 00 6F 04 04 00 7F 00 00 00 B1 04 03 00 87 50 3C 70 04 03 00 74 84 2F 72 04 03 00 13 CC 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 DB 67 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 A2 88 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 41 [23:00:12]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 80 00 00 00 69 04 9B 00 6F 04 04 00 7F 00 00 00 B1 04 03 00 87 50 3C 70 04 03 00 74 84 2F 72 04 03 00 13 CC 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 DB 67 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 A2 88 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 [23:00:12]wFMCommunicate OK [23:00:12]wFMCommunicate request_size=4 [23:00:12]MH_SAM_APDU [23:00:12]CAPDU: 80 17 00 00 [23:00:12]Write to MH i2c: E2 08 00 C0 0C 80 17 00 00 00 00 00 00 4C [23:00:12]Write i2c OK [23:00:12]MH_I2C_Read... [23:00:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:00:12]Read from MH i2c: E2 [23:00:12]MH_I2C_Read... [23:00:12]Read from MH i2c: E2 FD 00 [23:00:12]MH_I2C_Read... [23:00:12]Read from MH i2c: E2 FD 00 C0 0C 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 81 [23:00:12]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 [23:00:12]wFMCommunicate OK [23:00:12]wFMCommunicate request_size=4 [23:00:12]MH_SAM_APDU [23:00:12]CAPDU: 80 17 00 00 [23:00:12]Write to MH i2c: E2 08 00 C1 0C 80 17 00 00 00 00 00 00 4D [23:00:12]Write i2c OK [23:00:12]MH_I2C_Read... [23:00:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:00:13]Read from MH i2c: E2 [23:00:13]MH_I2C_Read... [23:00:13]Read from MH i2c: E2 FD 00 [23:00:13]MH_I2C_Read... [23:00:13]Read from MH i2c: E2 FD 00 C1 0C 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 0D [23:00:13]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 [23:00:13]wFMCommunicate OK [23:00:13]wFMCommunicate request_size=4 [23:00:13]MH_SAM_APDU [23:00:13]CAPDU: 80 17 00 00 [23:00:13]Write to MH i2c: E2 08 00 C2 0C 80 17 00 00 00 00 00 00 4E [23:00:13]Write i2c OK [23:00:13]MH_I2C_Read... [23:00:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:00:13]Read from MH i2c: E2 [23:00:13]MH_I2C_Read... [23:00:13]Read from MH i2c: E2 FD 00 [23:00:13]MH_I2C_Read... [23:00:13]Read from MH i2c: E2 FD 00 C2 0C 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 BD [23:00:13]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 [23:00:13]wFMCommunicate OK [23:00:13]wFMCommunicate request_size=4 [23:00:13]MH_SAM_APDU [23:00:13]CAPDU: 80 17 00 00 [23:00:13]Write to MH i2c: E2 08 00 C3 0C 80 17 00 00 00 00 00 00 4F [23:00:13]Write i2c OK [23:00:13]MH_I2C_Read... [23:00:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [23:00:13]Read from MH i2c: E2 [23:00:13]MH_I2C_Read... [23:00:13]Read from MH i2c: E2 D3 00 [23:00:13]MH_I2C_Read... [23:00:13]Read from MH i2c: E2 D3 00 C3 0C 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 3C [23:00:13]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 [23:00:13]wFMCommunicate OK [23:00:13]SAM_PROTO_GetShiftData done [23:00:13]requested_item shift.sale.total_cash is exist - process it [23:00:13]requested_item shift.sale_refund.total is exist - process it [23:00:13]requested_item shift.sale_refund.total_cash is exist - process it [23:00:13]produce_requested_data done [23:00:13]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57233,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":39527.75,"shift.sale.total_cash":31141.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [23:00:13]process_action_free close_receipt [23:00:13]json_value_free [23:00:13]json_value_free done [23:00:13]process_json_proto returns [23:00:13]Send response to host [23:00:13]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57233,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":39527.75,"shift.sale.total_cash":31141.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [23:00:13]free response buf [23:00:13]execute_script done [23:00:13]execute_script returns [23:00:13]free content buf [23:00:13]Sock 7.Close socket [23:00:13]Sock 7.Thread stoped [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]OFD Sender: No OFD packet to send [23:01:01]OFD Sender: No OFD packet to send [23:01:06]OFD Sender: No OFD packet to send [23:01:11]OFD Sender: No OFD packet to send [23:01:16]OFD Sender: No OFD packet to send [23:01:21]OFD Sender: No OFD packet to send [23:01:26]OFD Sender: No OFD packet to send [23:01:31]OFD Sender: No OFD packet to send [23:01:36]OFD Sender: No OFD packet to send [23:01:41]OFD Sender: No OFD packet to send [23:01:46]OFD Sender: No OFD packet to send [23:01:51]OFD Sender: No OFD packet to send [23:01:56]OFD Sender: No OFD packet to send [23:02:01]OFD Sender: No OFD packet to send [23:02:06]OFD Sender: No OFD packet to send [23:02:11]OFD Sender: No OFD packet to send [23:02:16]OFD Sender: No OFD packet to send [23:02:21]OFD Sender: No OFD packet to send [23:02:26]OFD Sender: No OFD packet to send [23:02:31]OFD Sender: No OFD packet to send [23:02:36]OFD Sender: No OFD packet to send [23:02:41]OFD Sender: No OFD packet to send [23:02:46]OFD Sender: No OFD packet to send [23:02:51]OFD Sender: No OFD packet to send [23:02:56]OFD Sender: No OFD packet to send [23:03:01]OFD Sender: No OFD packet to send [23:03:06]OFD Sender: No OFD packet to send [23:03:11]OFD Sender: No OFD packet to send [23:03:16]OFD Sender: No OFD packet to send [23:03:21]OFD Sender: No OFD packet to send [23:03:26]OFD Sender: No OFD packet to send [23:03:31]OFD Sender: No OFD packet to send [23:03:36]OFD Sender: No OFD packet to send [23:03:41]OFD Sender: No OFD packet to send [23:03:46]OFD Sender: No OFD packet to send [23:03:51]OFD Sender: No OFD packet to send [23:03:56]OFD Sender: No OFD packet to send [23:04:01]OFD Sender: No OFD packet to send [23:04:06]OFD Sender: No OFD packet to send [23:04:11]OFD Sender: No OFD packet to send [23:04:16]OFD Sender: No OFD packet to send [23:04:21]OFD Sender: No OFD packet to send [23:04:26]OFD Sender: No OFD packet to send [23:04:31]OFD Sender: No OFD packet to send [23:04:36]OFD Sender: No OFD packet to send [23:04:41]OFD Sender: No OFD packet to send [23:04:46]OFD Sender: No OFD packet to send [23:04:51]OFD Sender: No OFD packet to send [23:04:56]OFD Sender: No OFD packet to send [23:05:01]OFD Sender: No OFD packet to send [23:05:06]OFD Sender: No OFD packet to send [23:05:11]OFD Sender: No OFD packet to send [23:05:16]OFD Sender: No OFD packet to send [23:05:21]OFD Sender: No OFD packet to send [23:05:26]OFD Sender: No OFD packet to send [23:05:31]OFD Sender: No OFD packet to send [23:05:36]OFD Sender: No OFD packet to send [23:05:41]OFD Sender: No OFD packet to send [23:05:46]OFD Sender: No OFD packet to send [23:05:51]OFD Sender: No OFD packet to send [23:05:56]OFD Sender: No OFD packet to send [23:06:01]OFD Sender: No OFD packet to send [23:06:06]OFD Sender: No OFD packet to send [23:06:11]OFD Sender: No OFD packet to send [23:06:16]OFD Sender: No OFD packet to send [23:06:21]OFD Sender: No OFD packet to send [23:06:26]OFD Sender: No OFD packet to send [23:06:31]OFD Sender: No OFD packet to send [23:06:36]OFD Sender: No OFD packet to send [23:06:41]OFD Sender: No OFD packet to send [23:06:46]OFD Sender: No OFD packet to send [23:06:51]OFD Sender: No OFD packet to send [23:06:56]OFD Sender: No OFD packet to send [23:07:01]OFD Sender: No OFD packet to send [23:07:06]OFD Sender: No OFD packet to send [23:07:11]OFD Sender: No OFD packet to send [23:07:16]OFD Sender: No OFD packet to send [23:07:21]OFD Sender: No OFD packet to send [23:07:26]OFD Sender: No OFD packet to send [23:07:31]OFD Sender: No OFD packet to send [23:07:36]OFD Sender: No OFD packet to send [23:07:41]OFD Sender: No OFD packet to send [23:07:46]OFD Sender: No OFD packet to send [23:07:51]OFD Sender: No OFD packet to send [23:07:56]OFD Sender: No OFD packet to send [23:08:01]OFD Sender: No OFD packet to send [23:08:06]OFD Sender: No OFD packet to send [23:08:11]OFD Sender: No OFD packet to send [23:08:16]OFD Sender: No OFD packet to send [23:08:21]OFD Sender: No OFD packet to send [23:08:26]OFD Sender: No OFD packet to send [23:08:31]OFD Sender: No OFD packet to send [23:08:36]OFD Sender: No OFD packet to send [23:08:41]OFD Sender: No OFD packet to send [23:08:46]OFD Sender: No OFD packet to send [23:08:51]OFD Sender: No OFD packet to send [23:08:56]OFD Sender: No OFD packet to send [23:09:01]OFD Sender: No OFD packet to send [23:09:06]OFD Sender: No OFD packet to send [23:09:11]OFD Sender: No OFD packet to send [23:09:16]OFD Sender: No OFD packet to send [23:09:21]OFD Sender: No OFD packet to send [23:09:26]OFD Sender: No OFD packet to send [23:09:31]OFD Sender: No OFD packet to send [23:09:36]OFD Sender: No OFD packet to send [23:09:41]OFD Sender: No OFD packet to send [23:09:46]OFD Sender: No OFD packet to send [23:09:51]OFD Sender: No OFD packet to send [23:09:56]OFD Sender: No OFD packet to send [23:10:01]OFD Sender: No OFD packet to send [23:10:06]OFD Sender: No OFD packet to send [23:10:11]OFD Sender: No OFD packet to send [23:10:16]OFD Sender: No OFD packet to send [23:10:21]OFD Sender: No OFD packet to send [23:10:26]OFD Sender: No OFD packet to send [23:10:31]OFD Sender: No OFD packet to send [23:10:36]OFD Sender: No OFD packet to send [23:10:41]OFD Sender: No OFD packet to send [23:10:46]OFD Sender: No OFD packet to send [23:10:51]OFD Sender: No OFD packet to send [23:10:56]OFD Sender: No OFD packet to send [23:11:01]OFD Sender: No OFD packet to send [23:11:04]accept exits with 9 [23:11:04]New connection [23:11:04]New thread 3066871140 created [23:11:04]Thread 3067014500 joined [23:11:04]Waiting for new connection... [23:11:04] Sock 9.Parse request [23:11:04]Sock 9.Check first char [23:11:04]Sock 9.First char is OK [23:11:04]request: POST /json_proto HTTP/1.0 [23:11:04]Method: POST [23:11:04]URL: /json_proto [23:11:04]Method is POST - this is cgi request [23:11:04]url: /json_proto [23:11:04]query_string will be loaded in cgi processing [23:11:04]execute_cgi json_proto POST (null) [23:11:04]execute_cgi path=json_proto method=POST [23:11:04]POST find Content-Length [23:11:04]Host: 172.17.39.4:8080 [23:11:04]Content-Length: 725 [23:11:04]Content-Type: application/json [23:11:04] [23:11:04]POST finish read [23:11:04]Found Content-Length = 725 [23:11:04]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129671", "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 }]} ], "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" ] } } [23:11:04]execute_script... [23:11: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)129671", "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 }]} ], "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" ] } } [23:11:04]POST & json_proto [23:11:04]process_json_proto [23:11:04]json parsed OK: [23:11:04]protocol is kg_v1.0 [23:11:04]action value=close_receipt [23:11:04]process_action close_receipt [23:11:04]cmd_close_receipt [23:11:04]MH_GetDate [23:11:04]Write to MH i2c: F0 00 00 C4 0C BF [23:11:04]Write i2c OK [23:11:04]MH_I2C_Read... [23:11:04]Read from MH i2c: F0 [23:11:04]MH_I2C_Read... [23:11:04]Read from MH i2c: F0 09 00 [23:11:04]MH_I2C_Read... [23:11:04]Read from MH i2c: F0 09 00 C4 0C 00 8A AC 95 66 2D 25 5D 64 0C [23:11:04]GetLastDocTimeStamp 1721084410 [23:11:04]current date 1721085066 [23:11:04]FM_GetShiftState [23:11:04]SAM_PROTO_GetShiftState [23:11:04]wFMCommunicate request_size=4 [23:11:04]MH_SAM_APDU [23:11:04]CAPDU: 80 13 01 00 [23:11:04]Write to MH i2c: E2 08 00 C5 0C 80 13 01 00 00 00 00 00 4E [23:11:04]Write i2c OK [23:11:04]MH_I2C_Read... [23:11:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:11:04]Read from MH i2c: E2 [23:11:04]MH_I2C_Read... [23:11:04]Read from MH i2c: E2 0E 00 [23:11:04]MH_I2C_Read... [23:11:04]Read from MH i2c: E2 0E 00 C5 0C 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 C7 [23:11:04]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [23:11:04]wFMCommunicate OK [23:11:04]SAM_PROTO_GetShiftState done [23:11:04]FM_GetShiftState done [23:11:04]opened in 1721003525 [23:11:04]opened+sec_in_day 1721089925 [23:11:04]quantity*price = 14000 [23:11:04]sum+1 = 14001 [23:11:04]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 СНО: Общий режим Чек 129 15.07.2024 23:11 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57234 ФПД: 128122203948220 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T231106&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57234&fm=128122203948220&tin=02508201610067®Number=0000000000091208&sum=14000 0 [23:11:05]StoreToDocumentArchive [23:11:05]shift 497 fd 57234 [23:11:05]save to /storage/0497/doc_00057234 [23:11:05]save last doc name /storage/0497/doc_00057234 to /storage/kkm_last_doc_name [23:11:05]save OK [23:11:05]Clear old archive folders... [23:11:05]ProcessDocumentItem done err = 0, tmpTLVsize=273 [23:11:05]tlvbuf is 00880000 [23:11:05]SAM_PROTO_ClearQueue [23:11:05]wFMCommunicate request_size=4 [23:11:05]MH_SAM_APDU [23:11:05]CAPDU: 80 09 00 00 [23:11:05]Write to MH i2c: E2 08 00 D2 0C 80 09 00 00 00 00 00 00 50 [23:11:05]Write i2c OK [23:11:05]MH_I2C_Read... [23:11:05]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:11:05]Read from MH i2c: E2 [23:11:05]MH_I2C_Read... [23:11:05]Read from MH i2c: E2 03 00 [23:11:05]MH_I2C_Read... [23:11:05]Read from MH i2c: E2 03 00 D2 0C 00 90 00 52 [23:11:05]RAPDU: 90 00 [23:11:05]wFMCommunicate OK [23:11:05]SAM_PROTO_ClearQueue done [23:11:05]KKMCreateOFDPacket [23:11:05]OFDProtocolAddRootSTLVToBuf [23:11:05]FM_MakeSignedData [23:11:05]FM_MakeSignedData [23:11:05]SAM_PROTO_SignData [23:11:05]wFMCommunicate request_size=4 [23:11:05]MH_SAM_APDU [23:11:05]CAPDU: 80 0D 01 02 [23:11:05]Write to MH i2c: E2 08 00 D3 0C 80 0D 01 02 00 00 00 00 58 [23:11:05]Write i2c OK [23:11:05]MH_I2C_Read... [23:11:05]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:11:05]Read from MH i2c: E2 [23:11:05]MH_I2C_Read... [23:11:05]Read from MH i2c: E2 03 00 [23:11:05]MH_I2C_Read... [23:11:05]Read from MH i2c: E2 03 00 D3 0C 00 90 00 53 [23:11:05]RAPDU: 90 00 [23:11:05]wFMCommunicate OK [23:11:05]wFMCommunicate request_size=255 [23:11:05]MH_SAM_APDU [23:11:05]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 81 00 00 00 F4 03 04 00 8A AC 95 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 [23:11:05]Write to MH i2c: E2 02 01 D4 0C 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 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 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 81 00 00 00 F4 03 04 00 8A AC 95 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 D8 [23:11:05]Write i2c OK [23:11:05]MH_I2C_Read... [23:11:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:11:05]Read from MH i2c: E2 [23:11:05]MH_I2C_Read... [23:11:05]Read from MH i2c: E2 03 00 [23:11:05]MH_I2C_Read... [23:11:05]Read from MH i2c: E2 03 00 D4 0C 00 90 00 54 [23:11:05]RAPDU: 90 00 [23:11:05]wFMCommunicate OK [23:11:05]wFMCommunicate request_size=32 [23:11:05]MH_SAM_APDU [23:11:05]CAPDU: 80 0D 02 02 1B 30 30 30 38 37 34 38 35 37 10 04 04 00 92 DF 00 00 35 04 06 00 74 86 C6 74 44 BC [23:11:05]Write to MH i2c: E2 23 00 D5 0C 80 0D 02 02 1B 00 30 30 30 38 37 34 38 35 37 10 04 04 00 92 DF 00 00 35 04 06 00 74 86 C6 74 44 BC 00 00 64 [23:11:05]Write i2c OK [23:11:05]MH_I2C_Read... [23:11:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:11:06]Read from MH i2c: E2 [23:11:06]MH_I2C_Read... [23:11:06]Read from MH i2c: E2 03 00 [23:11:06]MH_I2C_Read... [23:11:06]Read from MH i2c: E2 03 00 D5 0C 00 90 00 55 [23:11:06]RAPDU: 90 00 [23:11:06]wFMCommunicate OK [23:11:06]wFMCommunicate request_size=4 [23:11:06]MH_SAM_APDU [23:11:06]CAPDU: 80 0D 03 02 [23:11:06]Write to MH i2c: E2 08 00 D6 0C 80 0D 03 02 00 00 00 00 5D [23:11:06]Write i2c OK [23:11:06]MH_I2C_Read... [23:11:06]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:11:06]Read from MH i2c: E2 [23:11:06]MH_I2C_Read... [23:11:06]Read from MH i2c: E2 0B 00 [23:11:06]MH_I2C_Read... [23:11:06]Read from MH i2c: E2 0B 00 D6 0C 00 FB 9D 35 BF 97 1B DE DB 90 00 55 [23:11:06]RAPDU: FB 9D 35 BF 97 1B DE DB 90 00 [23:11:06]wFMCommunicate OK [23:11:06]SAM_PROTO_SignData done [23:11:06]FM_MakeSignedData done [23:11:06]CreateOFDProtocolMessage [23:11:06]wFMCommunicate request_size=4 [23:11:06]MH_SAM_APDU [23:11:06]CAPDU: 80 11 00 00 [23:11:06]Write to MH i2c: E2 08 00 D7 0C 80 11 00 00 00 00 00 00 5D [23:11:06]Write i2c OK [23:11:06]MH_I2C_Read... [23:11:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:11:06]Read from MH i2c: E2 [23:11:06]MH_I2C_Read... [23:11:06]Read from MH i2c: E2 17 00 [23:11:06]MH_I2C_Read... [23:11:06]Read from MH i2c: E2 17 00 D7 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 B7 [23:11: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:11:06]wFMCommunicate OK [23:11:06]CreateOFDProtocolMessage done [23:11:06]OFDSenderStorePacket 57234 [23:11:06]StoreOFDPacket docnum=57234 [23:11: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 25 01 00 00 DA EF 1D 01 D1 65 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 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 81 00 00 00 F4 03 04 00 8A AC 95 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 92 DF 00 00 35 04 06 00 74 86 C6 74 44 BC FB 9D 35 BF 97 1B DE DB [23:11:06]CheckFolder [23:11:06]dirname=/storage/ofd_packets [23:11:06]CheckFolder done [23:11:06]ProducePacketName [23:11:06]name=ofd_packets/00057234 [23:11:06]NVStorageSaveData ofd_packets/00057234 [23:11:06]File name is /storage/ofd_packets/00057234 [23:11:06]Write 323 bytes [23:11:06]NVStorageSaveData done [23:11:06]OFDSenderStorePacket done [23:11:06]KKMCreateOFDPacket done [23:11:06]NVStorageSaveData kkm_last_timestamp [23:11:06]File name is /storage/kkm_last_timestamp [23:11:06]Write 4 bytes [23:11:06]NVStorageSaveData done [23:11:06]ExternCall_PrintAddStr [23:11:06]wPrintStart [23:11:06]Write to MH i2c: 01 00 00 D8 0C E4 [23:11:06]Write i2c OK [23:11:06]MH_I2C_Read... [23:11:06]Read from MH i2c: 01 [23:11:06]MH_I2C_Read... [23:11:06]Read from MH i2c: 01 07 00 [23:11:06]MH_I2C_Read... [23:11:06]Read from MH i2c: 01 07 00 D8 0C 00 00 00 00 00 FF 0F F9 [23:11:06]RasterBufferAndPrint [23:11:06]line Счет N : (3)129671 [23:11:06]line ИНН: 02508201610067 [23:11:06]line Контрольно-Кассовый Чек [23:11:06]line ПРОДАЖА [23:11:06]line Товар: 48747059 [23:11:06]line Сигареты Winston Legend Blue [23:11:06]line 1.000 * 140.00 [23:11:06]line = 140.00 [23:11:06]line НДС 12% НСП 1% [23:11:06]line > о реализуемом товаре [23:11:06]line ИТОГО: 140.00 [23:11:06]line НСП 1% : 1.24 [23:11:06]line НДС 12% : 14.87 [23:11:06]line Наличными: 140.00 [23:11:06]line Безнал.: 0.00 [23:11:06]line Место: АЗС № 132 "Партнер Нефть" [23:11:06]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [23:11:06]line СНО: Общий режим [23:11:06]line Чек 129 15.07.2024 23:11 [23:11:06]line Смена: 497 ФФД: 1.0 [23:11:06]line ЗНМ: 0300000132 [23:11:06]line РНМ: 0000000000091208 [23:11:06]line Версия ККМ: 001 [23:11:06]line ФМ: 0000000000874857 [23:11:06]line ФД: 57234 [23:11:06]line ФПД: 128122203948220 [23:11:06]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T231106&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57234&fm=128122203948220&tin=02508201610067®Number=0000000000091208&sum=14000 [23:11:06]line 0 [23:11:06]written 0, free lines is 4095 [23:11:06]OFD Sender: Processing packet 57234 [packets to send 38, broken 37] [23:11:06]ProducePacketName [23:11:06]name=ofd_packets/00057234 [23:11:06]OFD Sender: To server: pG, [23:11:06]CommunicateWithHost lk.salyk.kg:30040 [23:11:06]ConnectInit lk.salyk.kg [23:11:06]Connected sock=10 [23:11: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 25 01 00 00 DA EF 1D 01 D1 65 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 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 81 00 00 00 F4 03 04 00 8A AC 95 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 92 DF 00 00 35 04 06 00 74 86 C6 74 44 BC FB 9D 35 BF 97 1B DE DB [23:11: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 84 15 47 00 37 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 92 DF 00 00 F4 03 04 00 D7 52 95 66 B6 04 01 00 00 0C 82 8A 11 F3 62 FD 9F [23:11:06]CommunicateWithHost err = 0 [23:11:06]CheckOFDResponse [23:11:06]1017 (14) - 77093643461234 [23:11:06]1041 (16) - 0000000000874857 [23:11:06]1040 (4) - 57234 [23:11:06]1012 (4) - 15.07.2024 16:48 [23:11:06]1206 (1) - 0 [23:11:06]OFD Sender: Remove packet 57234 [23:11:06]ProducePacketName [23:11:06]name=ofd_packets/00057234 [23:11:06]NVStorageDeleteData [23:11:06]Write to MH i2c: 01 00 00 01 0D 0E [23:11:06]Write i2c OK [23:11:06]MH_I2C_Read... [23:11:06]Read from MH i2c: 01 [23:11:06]MH_I2C_Read... [23:11:06]Read from MH i2c: 01 07 00 [23:11:06]MH_I2C_Read... [23:11:06]Read from MH i2c: 01 07 00 01 0D 00 00 00 00 00 D4 0C F5 [23:11:06]RasterBufferAndPrint [23:11:06]line [23:11:06]line [23:11:06]line [23:11:06]line [23:11:06]line [23:11:06]written 0, free lines is 3290 [23:11:06]MH_Cut [23:11:06]Write to MH i2c: D1 01 00 08 0D 01 E7 [23:11:06]Write i2c OK [23:11:06]MH_I2C_Read... [23:11:06]Read from MH i2c: D1 [23:11:06]MH_I2C_Read... [23:11:06]Read from MH i2c: D1 01 00 [23:11:06]MH_I2C_Read... [23:11:06]Read from MH i2c: D1 01 00 08 0D 00 E6 [23:11:06]Write to MH i2c: 01 00 00 09 0D 16 [23:11:06]Write i2c OK [23:11:06]MH_I2C_Read... [23:11:07]OFD Sender: No OFD packet to send [23:11:07]*** Cut start [23:11:07]*** Partial cut [23:11:07]*** CUTSNS_PIN = 1 [23:11:07]*** CUTSNS_PIN = 0 [23:11:07]*** Brake cut motor [23:11:08]Read from MH i2c: 01 [23:11:08]MH_I2C_Read... [23:11:08]*** Stop cut motor [23:11:08]*** Cut end [23:11:08]Read from MH i2c: 01 07 00 [23:11:08]MH_I2C_Read... [23:11:08]Read from MH i2c: 01 07 00 09 0D 00 00 00 00 00 FF 0F 2B [23:11:08]process_action close_receipt done [23:11:08]requested_data is exist [23:11:08]produce_requested_data [23:11:08]requested_item fm.sn is exist - process it [23:11:08]wFMCommunicate request_size=4 [23:11:08]MH_SAM_APDU [23:11:08]CAPDU: 80 11 00 00 [23:11:08]Write to MH i2c: E2 08 00 0A 0D 80 11 00 00 00 00 00 00 91 [23:11:08]Write i2c OK [23:11:08]MH_I2C_Read... [23:11:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:11:08]Read from MH i2c: E2 [23:11:08]MH_I2C_Read... [23:11:08]Read from MH i2c: E2 17 00 [23:11:08]MH_I2C_Read... [23:11:08]Read from MH i2c: E2 17 00 0A 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 EB [23:11: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:11:08]wFMCommunicate OK [23:11:08]requested_item fd.num is exist - process it [23:11:08]SAM_PROTO_GetFieldsCounters [23:11:08]wFMCommunicate request_size=4 [23:11:08]MH_SAM_APDU [23:11:08]CAPDU: 80 13 00 00 [23:11:08]Write to MH i2c: E2 08 00 0B 0D 80 13 00 00 00 00 00 00 94 [23:11:08]Write i2c OK [23:11:08]MH_I2C_Read... [23:11:08]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:11:08]Read from MH i2c: E2 [23:11:08]MH_I2C_Read... [23:11:08]Read from MH i2c: E2 62 00 [23:11:08]MH_I2C_Read... [23:11:08]Read from MH i2c: E2 62 00 0B 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 92 DF 00 00 0E 04 04 00 F1 01 00 00 12 04 04 00 81 00 00 00 5E 04 04 00 81 00 00 00 57 04 04 00 82 00 00 00 19 04 04 00 00 00 00 00 90 00 9D [23:11: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 92 DF 00 00 0E 04 04 00 F1 01 00 00 12 04 04 00 81 00 00 00 5E 04 04 00 81 00 00 00 57 04 04 00 82 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:11:08]wFMCommunicate OK [23:11:08]SAM_PROTO_GetFieldsCounters done [23:11:08]requested_item shift.num is exist - process it [23:11:08]requested_item shift.opened is exist - process it [23:11:08]req_shift_opened [23:11:08]FM_GetShiftState [23:11:08]SAM_PROTO_GetShiftState [23:11:08]wFMCommunicate request_size=4 [23:11:08]MH_SAM_APDU [23:11:08]CAPDU: 80 13 01 00 [23:11:08]Write to MH i2c: E2 08 00 0C 0D 80 13 01 00 00 00 00 00 96 [23:11:08]Write i2c OK [23:11:08]MH_I2C_Read... [23:11:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:11:08]Read from MH i2c: E2 [23:11:08]MH_I2C_Read... [23:11:08]Read from MH i2c: E2 0E 00 [23:11:08]MH_I2C_Read... [23:11:08]Read from MH i2c: E2 0E 00 0C 0D 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 0F [23:11:08]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [23:11:08]wFMCommunicate OK [23:11:08]SAM_PROTO_GetShiftState done [23:11:08]FM_GetShiftState done [23:11:08]req_shift_opened done [23:11:08]requested_item shift.open_date is exist - process it [23:11:08]req_shift_open_date [23:11:08]req_shift_open_date done [23:11:08]requested_item shift.sale.total is exist - process it [23:11:08]SAM_PROTO_GetShiftData [23:11:08]wFMCommunicate request_size=4 [23:11:08]MH_SAM_APDU [23:11:08]CAPDU: 80 13 02 00 [23:11:08]Write to MH i2c: E2 08 00 0D 0D 80 13 02 00 00 00 00 00 98 [23:11:08]Write i2c OK [23:11:08]MH_I2C_Read... [23:11:08]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:11:08]Read from MH i2c: E2 [23:11:08]MH_I2C_Read... [23:11:08]Read from MH i2c: E2 FD 00 [23:11:08]MH_I2C_Read... [23:11:08]Read from MH i2c: E2 FD 00 0D 0D 00 B6 04 AA 04 B2 04 6E 04 04 00 81 00 00 00 69 04 9B 00 6F 04 04 00 80 00 00 00 B1 04 03 00 37 87 3C 70 04 03 00 24 BB 2F 72 04 03 00 13 CC 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 AA 6D 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 1E 89 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 B2 [23:11:08]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 81 00 00 00 69 04 9B 00 6F 04 04 00 80 00 00 00 B1 04 03 00 37 87 3C 70 04 03 00 24 BB 2F 72 04 03 00 13 CC 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 AA 6D 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 1E 89 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 [23:11:08]wFMCommunicate OK [23:11:08]wFMCommunicate request_size=4 [23:11:08]MH_SAM_APDU [23:11:08]CAPDU: 80 17 00 00 [23:11:08]Write to MH i2c: E2 08 00 0E 0D 80 17 00 00 00 00 00 00 9B [23:11:08]Write i2c OK [23:11:08]MH_I2C_Read... [23:11:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:11:09]Read from MH i2c: E2 [23:11:09]MH_I2C_Read... [23:11:09]Read from MH i2c: E2 FD 00 [23:11:09]MH_I2C_Read... [23:11:09]Read from MH i2c: E2 FD 00 0E 0D 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 D0 [23:11:09]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 [23:11:09]wFMCommunicate OK [23:11:09]wFMCommunicate request_size=4 [23:11:09]MH_SAM_APDU [23:11:09]CAPDU: 80 17 00 00 [23:11:09]Write to MH i2c: E2 08 00 0F 0D 80 17 00 00 00 00 00 00 9C [23:11:09]Write i2c OK [23:11:09]MH_I2C_Read... [23:11:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:11:09]Read from MH i2c: E2 [23:11:09]MH_I2C_Read... [23:11:09]Read from MH i2c: E2 FD 00 [23:11:09]MH_I2C_Read... [23:11:09]Read from MH i2c: E2 FD 00 0F 0D 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 5C [23:11:09]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 [23:11:09]wFMCommunicate OK [23:11:09]wFMCommunicate request_size=4 [23:11:09]MH_SAM_APDU [23:11:09]CAPDU: 80 17 00 00 [23:11:09]Write to MH i2c: E2 08 00 10 0D 80 17 00 00 00 00 00 00 9D [23:11:09]Write i2c OK [23:11:09]MH_I2C_Read... [23:11:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:11:09]Read from MH i2c: E2 [23:11:09]MH_I2C_Read... [23:11:09]Read from MH i2c: E2 FD 00 [23:11:09]MH_I2C_Read... [23:11:09]Read from MH i2c: E2 FD 00 10 0D 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 0C [23:11:09]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 [23:11:09]wFMCommunicate OK [23:11:09]wFMCommunicate request_size=4 [23:11:09]MH_SAM_APDU [23:11:09]CAPDU: 80 17 00 00 [23:11:09]Write to MH i2c: E2 08 00 11 0D 80 17 00 00 00 00 00 00 9E [23:11:09]Write i2c OK [23:11:09]MH_I2C_Read... [23:11:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [23:11:10]Read from MH i2c: E2 [23:11:10]MH_I2C_Read... [23:11:10]Read from MH i2c: E2 D3 00 [23:11:10]MH_I2C_Read... [23:11:10]Read from MH i2c: E2 D3 00 11 0D 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 8B [23:11:10]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 [23:11:10]wFMCommunicate OK [23:11:10]SAM_PROTO_GetShiftData done [23:11:10]requested_item shift.sale.total_cash is exist - process it [23:11:10]requested_item shift.sale_refund.total is exist - process it [23:11:10]requested_item shift.sale_refund.total_cash is exist - process it [23:11:10]produce_requested_data done [23:11:10]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57234,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":39667.75,"shift.sale.total_cash":31281.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [23:11:10]process_action_free close_receipt [23:11:10]json_value_free [23:11:10]json_value_free done [23:11:10]process_json_proto returns [23:11:10]Send response to host [23:11:10]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57234,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":39667.75,"shift.sale.total_cash":31281.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [23:11:10]free response buf [23:11:10]execute_script done [23:11:10]execute_script returns [23:11:10]free content buf [23:11:10]Sock 9.Close socket [23:11:10]Sock 9.Thread stoped [23:11:12]OFD Sender: No OFD packet to send [23:11:17]OFD Sender: No OFD packet to send [23:11:22]OFD Sender: No OFD packet to send [23:11:27]OFD Sender: No OFD packet to send [23:11:32]OFD Sender: No OFD packet to send [23:11:37]OFD Sender: No OFD packet to send [23:11:37]accept exits with 7 [23:11:37]New connection [23:11:37]New thread 3067014500 created [23:11:37]Thread 3066871140 joined [23:11:37]Waiting for new connection... [23:11:37] Sock 7.Parse request [23:11:37]Sock 7.Check first char [23:11:37]Sock 7.First char is OK [23:11:37]request: POST /json_proto HTTP/1.0 [23:11:37]Method: POST [23:11:37]URL: /json_proto [23:11:37]Method is POST - this is cgi request [23:11:37]url: /json_proto [23:11:37]query_string will be loaded in cgi processing [23:11:37]execute_cgi json_proto POST (null) [23:11:37]execute_cgi path=json_proto method=POST [23:11:37]POST find Content-Length [23:11:37]Host: 172.17.39.4:8080 [23:11:37]Content-Length: 910 [23:11:37]Content-Type: application/json [23:11:37] [23:11:37]POST finish read [23:11:37]Found Content-Length = 910 [23:11:37]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129672", "tax_sys" : 0, "items" : [ { "code": "50173976", "name": "\u0416\u0435\u0432 Orbit Winterfresh \u043F\u043E\u0434", "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" ] } } [23:11:37]execute_script... [23:11: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)129672", "tax_sys" : 0, "items" : [ { "code": "50173976", "name": "\u0416\u0435\u0432 Orbit Winterfresh \u043F\u043E\u0434", "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" ] } } [23:11:37]POST & json_proto [23:11:37]process_json_proto [23:11:37]json parsed OK: [23:11:37]protocol is kg_v1.0 [23:11:37]action value=close_receipt [23:11:37]process_action close_receipt [23:11:37]cmd_close_receipt [23:11:37]MH_GetDate [23:11:37]Write to MH i2c: F0 00 00 12 0D 0E [23:11:37]Write i2c OK [23:11:37]MH_I2C_Read... [23:11:37]Read from MH i2c: F0 [23:11:37]MH_I2C_Read... [23:11:37]Read from MH i2c: F0 09 00 [23:11:37]MH_I2C_Read... [23:11:37]Read from MH i2c: F0 09 00 12 0D 00 AB AC 95 66 2D 25 5D 64 7C [23:11:37]GetLastDocTimeStamp 1721085066 [23:11:37]current date 1721085099 [23:11:37]FM_GetShiftState [23:11:37]SAM_PROTO_GetShiftState [23:11:37]wFMCommunicate request_size=4 [23:11:37]MH_SAM_APDU [23:11:37]CAPDU: 80 13 01 00 [23:11:37]Write to MH i2c: E2 08 00 13 0D 80 13 01 00 00 00 00 00 9D [23:11:37]Write i2c OK [23:11:37]MH_I2C_Read... [23:11:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:11:37]Read from MH i2c: E2 [23:11:37]MH_I2C_Read... [23:11:37]Read from MH i2c: E2 0E 00 [23:11:37]MH_I2C_Read... [23:11:37]Read from MH i2c: E2 0E 00 13 0D 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 16 [23:11:37]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [23:11:37]wFMCommunicate OK [23:11:37]SAM_PROTO_GetShiftState done [23:11:37]FM_GetShiftState done [23:11:37]opened in 1721003525 [23:11:37]opened+sec_in_day 1721089925 [23:11:37]quantity*price = 4500 [23:11:37]sum+1 = 4501 [23:11:37]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 СНО: Общий режим Чек 130 15.07.2024 23:11 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000874857 ФД: 57235 ФПД: 50579619018733 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T231139&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57235&fm=50579619018733&tin=02508201610067®Number=0000000000091208&sum=4500 0 [23:11:38]StoreToDocumentArchive [23:11:38]shift 497 fd 57235 [23:11:38]save to /storage/0497/doc_00057235 [23:11:38]save last doc name /storage/0497/doc_00057235 to /storage/kkm_last_doc_name [23:11:38]save OK [23:11:38]Clear old archive folders... [23:11:38]ProcessDocumentItem done err = 0, tmpTLVsize=268 [23:11:38]tlvbuf is 00882B10 [23:11:38]SAM_PROTO_ClearQueue [23:11:38]wFMCommunicate request_size=4 [23:11:38]MH_SAM_APDU [23:11:38]CAPDU: 80 09 00 00 [23:11:38]Write to MH i2c: E2 08 00 20 0D 80 09 00 00 00 00 00 00 9F [23:11:38]Write i2c OK [23:11:38]MH_I2C_Read... [23:11:38]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:11:38]Read from MH i2c: E2 [23:11:38]MH_I2C_Read... [23:11:38]Read from MH i2c: E2 03 00 [23:11:38]MH_I2C_Read... [23:11:38]Read from MH i2c: E2 03 00 20 0D 00 90 00 A1 [23:11:38]RAPDU: 90 00 [23:11:38]wFMCommunicate OK [23:11:38]SAM_PROTO_ClearQueue done [23:11:38]KKMCreateOFDPacket [23:11:38]OFDProtocolAddRootSTLVToBuf [23:11:38]FM_MakeSignedData [23:11:38]FM_MakeSignedData [23:11:38]SAM_PROTO_SignData [23:11:38]wFMCommunicate request_size=4 [23:11:38]MH_SAM_APDU [23:11:38]CAPDU: 80 0D 01 02 [23:11:38]Write to MH i2c: E2 08 00 21 0D 80 0D 01 02 00 00 00 00 A7 [23:11:38]Write i2c OK [23:11:38]MH_I2C_Read... [23:11:38]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:11:38]Read from MH i2c: E2 [23:11:38]MH_I2C_Read... [23:11:38]Read from MH i2c: E2 03 00 [23:11:38]MH_I2C_Read... [23:11:38]Read from MH i2c: E2 03 00 21 0D 00 90 00 A2 [23:11:38]RAPDU: 90 00 [23:11:38]wFMCommunicate OK [23:11:38]wFMCommunicate request_size=255 [23:11:38]MH_SAM_APDU [23:11:38]CAPDU: 80 0D 02 02 FA 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 08 00 35 30 31 37 33 39 37 36 06 04 1F 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 69 6E 74 65 72 66 72 65 73 68 20 D0 BF D0 BE D0 B4 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 82 00 00 00 F4 03 04 00 AB AC 95 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 [23:11:38]Write to MH i2c: E2 02 01 22 0D 80 0D 02 02 FA 00 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 08 00 35 30 31 37 33 39 37 36 06 04 1F 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 69 6E 74 65 72 66 72 65 73 68 20 D0 BF D0 BE D0 B4 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 82 00 00 00 F4 03 04 00 AB AC 95 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 00 00 3B [23:11:38]Write i2c OK [23:11:38]MH_I2C_Read... [23:11:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:11:38]Read from MH i2c: E2 [23:11:38]MH_I2C_Read... [23:11:38]Read from MH i2c: E2 03 00 [23:11:38]MH_I2C_Read... [23:11:38]Read from MH i2c: E2 03 00 22 0D 00 90 00 A3 [23:11:38]RAPDU: 90 00 [23:11:38]wFMCommunicate OK [23:11:38]wFMCommunicate request_size=27 [23:11:38]MH_SAM_APDU [23:11:38]CAPDU: 80 0D 02 02 16 34 38 35 37 10 04 04 00 93 DF 00 00 35 04 06 00 2E 00 7C 39 77 ED [23:11:38]Write to MH i2c: E2 1E 00 23 0D 80 0D 02 02 16 00 34 38 35 37 10 04 04 00 93 DF 00 00 35 04 06 00 2E 00 7C 39 77 ED 00 00 BE [23:11:38]Write i2c OK [23:11:38]MH_I2C_Read... [23:11:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:11:38]Read from MH i2c: E2 [23:11:38]MH_I2C_Read... [23:11:38]Read from MH i2c: E2 03 00 [23:11:38]MH_I2C_Read... [23:11:38]Read from MH i2c: E2 03 00 23 0D 00 90 00 A4 [23:11:38]RAPDU: 90 00 [23:11:38]wFMCommunicate OK [23:11:38]wFMCommunicate request_size=4 [23:11:38]MH_SAM_APDU [23:11:38]CAPDU: 80 0D 03 02 [23:11:38]Write to MH i2c: E2 08 00 24 0D 80 0D 03 02 00 00 00 00 AC [23:11:38]Write i2c OK [23:11:38]MH_I2C_Read... [23:11:39]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:11:39]Read from MH i2c: E2 [23:11:39]MH_I2C_Read... [23:11:39]Read from MH i2c: E2 0B 00 [23:11:39]MH_I2C_Read... [23:11:39]Read from MH i2c: E2 0B 00 24 0D 00 7D EF 65 5D FD F8 68 4A 90 00 82 [23:11:39]RAPDU: 7D EF 65 5D FD F8 68 4A 90 00 [23:11:39]wFMCommunicate OK [23:11:39]SAM_PROTO_SignData done [23:11:39]FM_MakeSignedData done [23:11:39]CreateOFDProtocolMessage [23:11:39]wFMCommunicate request_size=4 [23:11:39]MH_SAM_APDU [23:11:39]CAPDU: 80 11 00 00 [23:11:39]Write to MH i2c: E2 08 00 25 0D 80 11 00 00 00 00 00 00 AC [23:11:39]Write i2c OK [23:11:39]MH_I2C_Read... [23:11:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:11:39]Read from MH i2c: E2 [23:11:39]MH_I2C_Read... [23:11:39]Read from MH i2c: E2 17 00 [23:11:39]MH_I2C_Read... [23:11:39]Read from MH i2c: E2 17 00 25 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 06 [23:11:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [23:11:39]wFMCommunicate OK [23:11:39]CreateOFDProtocolMessage done [23:11:39]OFDSenderStorePacket 57235 [23:11:39]StoreOFDPacket docnum=57235 [23:11: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 20 01 00 00 1B 55 18 01 86 D8 5A 03 01 00 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 08 00 35 30 31 37 33 39 37 36 06 04 1F 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 69 6E 74 65 72 66 72 65 73 68 20 D0 BF D0 BE D0 B4 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 82 00 00 00 F4 03 04 00 AB AC 95 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 93 DF 00 00 35 04 06 00 2E 00 7C 39 77 ED 7D EF 65 5D FD F8 68 4A [23:11:39]CheckFolder [23:11:39]dirname=/storage/ofd_packets [23:11:39]CheckFolder done [23:11:39]ProducePacketName [23:11:39]name=ofd_packets/00057235 [23:11:39]NVStorageSaveData ofd_packets/00057235 [23:11:39]File name is /storage/ofd_packets/00057235 [23:11:39]Write 318 bytes [23:11:39]NVStorageSaveData done [23:11:39]OFDSenderStorePacket done [23:11:39]KKMCreateOFDPacket done [23:11:39]NVStorageSaveData kkm_last_timestamp [23:11:39]File name is /storage/kkm_last_timestamp [23:11:39]Write 4 bytes [23:11:39]NVStorageSaveData done [23:11:39]ExternCall_PrintAddStr [23:11:39]wPrintStart [23:11:39]Write to MH i2c: 01 00 00 26 0D 33 [23:11:39]Write i2c OK [23:11:39]MH_I2C_Read... [23:11:39]Read from MH i2c: 01 [23:11:39]MH_I2C_Read... [23:11:39]Read from MH i2c: 01 07 00 [23:11:39]MH_I2C_Read... [23:11:39]Read from MH i2c: 01 07 00 26 0D 00 00 00 00 00 FF 0F 48 [23:11:39]RasterBufferAndPrint [23:11:39]line Счет N : (3)129672 [23:11:39]line ИНН: 02508201610067 [23:11:39]line Контрольно-Кассовый Чек [23:11:39]line ПРОДАЖА [23:11:39]line Товар: 50173976 [23:11:39]line Жев Orbit Winterfresh под [23:11:39]line 1.000 * 45.00 [23:11:39]line = 45.00 [23:11:39]line НДС 12% НСП 1% [23:11:39]line > о реализуемом товаре [23:11:39]line ИТОГО: 45.00 [23:11:39]line НСП 1% : 0.40 [23:11:39]line НДС 12% : 4.78 [23:11:39]line Наличными: 0.00 [23:11:39]line Безнал.: 45.00 [23:11:39]line Место: АЗС № 132 "Партнер Нефть" [23:11:39]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [23:11:39]line СНО: Общий режим [23:11:39]line Чек 130 15.07.2024 23:11 [23:11:39]line Смена: 497 ФФД: 1.0 [23:11:39]line ЗНМ: 0300000132 [23:11:39]line РНМ: 0000000000091208 [23:11:39]line Версия ККМ: 001 [23:11:39]line Платежная система: АКБ Кыргызстан [23:11:39]line ФМ: 0000000000874857 [23:11:39]line ФД: 57235 [23:11:39]line ФПД: 50579619018733 [23:11:39]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T231139&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57235&fm=50579619018733&tin=02508201610067®Number=0000000000091208&sum=4500 [23:11:39]line 0 [23:11:39]OFD Sender: Processing packet 57235 [packets to send 38, broken 37] [23:11:39]ProducePacketName [23:11:39]name=ofd_packets/00057235 [23:11:39]OFD Sender: To server: pG, [23:11:39]CommunicateWithHost lk.salyk.kg:30040 [23:11:39]ConnectInit lk.salyk.kg [23:11:39]written 0, free lines is 4095 [23:11:39]Connected sock=10 [23:11: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 20 01 00 00 1B 55 18 01 86 D8 5A 03 01 00 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 08 00 35 30 31 37 33 39 37 36 06 04 1F 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 69 6E 74 65 72 66 72 65 73 68 20 D0 BF D0 BE D0 B4 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 82 00 00 00 F4 03 04 00 AB AC 95 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 93 DF 00 00 35 04 06 00 2E 00 7C 39 77 ED 7D EF 65 5D FD F8 68 4A [23:11: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 AF C2 47 00 28 5B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 93 DF 00 00 F4 03 04 00 F8 52 95 66 B6 04 01 00 00 A4 02 BE 69 A2 B0 9A A1 [23:11:39]CommunicateWithHost err = 0 [23:11:39]CheckOFDResponse [23:11:39]1017 (14) - 77093643461234 [23:11:39]1041 (16) - 0000000000874857 [23:11:39]1040 (4) - 57235 [23:11:39]1012 (4) - 15.07.2024 16:48 [23:11:39]1206 (1) - 0 [23:11:39]OFD Sender: Remove packet 57235 [23:11:39]ProducePacketName [23:11:39]name=ofd_packets/00057235 [23:11:39]NVStorageDeleteData [23:11:39]Write to MH i2c: 01 00 00 50 0D 5D [23:11:39]Write i2c OK [23:11:39]MH_I2C_Read... [23:11:39]Read from MH i2c: 01 [23:11:39]MH_I2C_Read... [23:11:39]Read from MH i2c: 01 07 00 [23:11:39]MH_I2C_Read... [23:11:39]Read from MH i2c: 01 07 00 50 0D 00 00 00 00 00 E1 0C 51 [23:11:39]RasterBufferAndPrint [23:11:39]line [23:11:39]line [23:11:39]line [23:11:39]line [23:11:39]line [23:11:39]written 0, free lines is 3302 [23:11:39]MH_Cut [23:11:39]Write to MH i2c: D1 01 00 57 0D 01 36 [23:11:39]Write i2c OK [23:11:39]MH_I2C_Read... [23:11:39]Read from MH i2c: D1 [23:11:39]MH_I2C_Read... [23:11:39]Read from MH i2c: D1 01 00 [23:11:39]MH_I2C_Read... [23:11:39]Read from MH i2c: D1 01 00 57 0D 00 35 [23:11:39]Write to MH i2c: 01 00 00 58 0D 65 [23:11:39]Write i2c OK [23:11:39]MH_I2C_Read... [23:11:40]OFD Sender: No OFD packet to send [23:11:40]*** Cut start [23:11:40]*** Partial cut [23:11:40]*** CUTSNS_PIN = 1 [23:11:40]*** CUTSNS_PIN = 0 [23:11:40]*** Brake cut motor [23:11:41]Read from MH i2c: 01 [23:11:41]MH_I2C_Read... [23:11:41]*** Stop cut motor [23:11:41]*** Cut end [23:11:41]Read from MH i2c: 01 07 00 [23:11:41]MH_I2C_Read... [23:11:41]Read from MH i2c: 01 07 00 58 0D 00 00 00 00 00 FF 0F 7A [23:11:41]process_action close_receipt done [23:11:41]requested_data is exist [23:11:41]produce_requested_data [23:11:41]requested_item fm.sn is exist - process it [23:11:41]wFMCommunicate request_size=4 [23:11:41]MH_SAM_APDU [23:11:41]CAPDU: 80 11 00 00 [23:11:41]Write to MH i2c: E2 08 00 59 0D 80 11 00 00 00 00 00 00 E0 [23:11:41]Write i2c OK [23:11:41]MH_I2C_Read... [23:11:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:11:41]Read from MH i2c: E2 [23:11:41]MH_I2C_Read... [23:11:41]Read from MH i2c: E2 17 00 [23:11:41]MH_I2C_Read... [23:11:41]Read from MH i2c: E2 17 00 59 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 3A [23:11:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [23:11:41]wFMCommunicate OK [23:11:41]requested_item fd.num is exist - process it [23:11:41]SAM_PROTO_GetFieldsCounters [23:11:41]wFMCommunicate request_size=4 [23:11:41]MH_SAM_APDU [23:11:41]CAPDU: 80 13 00 00 [23:11:41]Write to MH i2c: E2 08 00 5A 0D 80 13 00 00 00 00 00 00 E3 [23:11:41]Write i2c OK [23:11:41]MH_I2C_Read... [23:11:41]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:11:41]Read from MH i2c: E2 [23:11:41]MH_I2C_Read... [23:11:41]Read from MH i2c: E2 62 00 [23:11:41]MH_I2C_Read... [23:11:41]Read from MH i2c: E2 62 00 5A 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 93 DF 00 00 0E 04 04 00 F1 01 00 00 12 04 04 00 82 00 00 00 5E 04 04 00 82 00 00 00 57 04 04 00 83 00 00 00 19 04 04 00 00 00 00 00 90 00 F0 [23:11: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 93 DF 00 00 0E 04 04 00 F1 01 00 00 12 04 04 00 82 00 00 00 5E 04 04 00 82 00 00 00 57 04 04 00 83 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:11:41]wFMCommunicate OK [23:11:41]SAM_PROTO_GetFieldsCounters done [23:11:41]requested_item shift.num is exist - process it [23:11:41]requested_item shift.opened is exist - process it [23:11:41]req_shift_opened [23:11:41]FM_GetShiftState [23:11:41]SAM_PROTO_GetShiftState [23:11:41]wFMCommunicate request_size=4 [23:11:41]MH_SAM_APDU [23:11:41]CAPDU: 80 13 01 00 [23:11:41]Write to MH i2c: E2 08 00 5B 0D 80 13 01 00 00 00 00 00 E5 [23:11:41]Write i2c OK [23:11:41]MH_I2C_Read... [23:11:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:11:41]Read from MH i2c: E2 [23:11:41]MH_I2C_Read... [23:11:41]Read from MH i2c: E2 0E 00 [23:11:41]MH_I2C_Read... [23:11:41]Read from MH i2c: E2 0E 00 5B 0D 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 5E [23:11:41]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [23:11:41]wFMCommunicate OK [23:11:41]SAM_PROTO_GetShiftState done [23:11:41]FM_GetShiftState done [23:11:41]req_shift_opened done [23:11:41]requested_item shift.open_date is exist - process it [23:11:41]req_shift_open_date [23:11:41]req_shift_open_date done [23:11:41]requested_item shift.sale.total is exist - process it [23:11:41]SAM_PROTO_GetShiftData [23:11:41]wFMCommunicate request_size=4 [23:11:41]MH_SAM_APDU [23:11:41]CAPDU: 80 13 02 00 [23:11:41]Write to MH i2c: E2 08 00 5C 0D 80 13 02 00 00 00 00 00 E7 [23:11:41]Write i2c OK [23:11:41]MH_I2C_Read... [23:11:41]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:11:41]Read from MH i2c: E2 [23:11:41]MH_I2C_Read... [23:11:41]Read from MH i2c: E2 FD 00 [23:11:41]MH_I2C_Read... [23:11:41]Read from MH i2c: E2 FD 00 5C 0D 00 B6 04 AA 04 B2 04 6E 04 04 00 82 00 00 00 69 04 9B 00 6F 04 04 00 81 00 00 00 B1 04 03 00 CB 98 3C 70 04 03 00 24 BB 2F 72 04 03 00 A7 DD 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 88 6F 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 46 89 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 55 [23:11:41]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 82 00 00 00 69 04 9B 00 6F 04 04 00 81 00 00 00 B1 04 03 00 CB 98 3C 70 04 03 00 24 BB 2F 72 04 03 00 A7 DD 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 88 6F 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 46 89 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 [23:11:41]wFMCommunicate OK [23:11:41]wFMCommunicate request_size=4 [23:11:41]MH_SAM_APDU [23:11:41]CAPDU: 80 17 00 00 [23:11:41]Write to MH i2c: E2 08 00 5D 0D 80 17 00 00 00 00 00 00 EA [23:11:41]Write i2c OK [23:11:41]MH_I2C_Read... [23:11:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:11:42]Read from MH i2c: E2 [23:11:42]MH_I2C_Read... [23:11:42]Read from MH i2c: E2 FD 00 [23:11:42]MH_I2C_Read... [23:11:42]Read from MH i2c: E2 FD 00 5D 0D 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 1F [23:11:42]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 [23:11:42]wFMCommunicate OK [23:11:42]wFMCommunicate request_size=4 [23:11:42]MH_SAM_APDU [23:11:42]CAPDU: 80 17 00 00 [23:11:42]Write to MH i2c: E2 08 00 5E 0D 80 17 00 00 00 00 00 00 EB [23:11:42]Write i2c OK [23:11:42]MH_I2C_Read... [23:11:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:11:42]Read from MH i2c: E2 [23:11:42]MH_I2C_Read... [23:11:42]Read from MH i2c: E2 FD 00 [23:11:42]MH_I2C_Read... [23:11:42]Read from MH i2c: E2 FD 00 5E 0D 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 AB [23:11:42]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 [23:11:42]wFMCommunicate OK [23:11:42]wFMCommunicate request_size=4 [23:11:42]MH_SAM_APDU [23:11:42]CAPDU: 80 17 00 00 [23:11:42]Write to MH i2c: E2 08 00 5F 0D 80 17 00 00 00 00 00 00 EC [23:11:42]Write i2c OK [23:11:42]MH_I2C_Read... [23:11:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:11:42]Read from MH i2c: E2 [23:11:42]MH_I2C_Read... [23:11:42]Read from MH i2c: E2 FD 00 [23:11:42]MH_I2C_Read... [23:11:42]Read from MH i2c: E2 FD 00 5F 0D 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 5B [23:11:42]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 [23:11:42]wFMCommunicate OK [23:11:42]wFMCommunicate request_size=4 [23:11:42]MH_SAM_APDU [23:11:42]CAPDU: 80 17 00 00 [23:11:42]Write to MH i2c: E2 08 00 60 0D 80 17 00 00 00 00 00 00 ED [23:11:42]Write i2c OK [23:11:42]MH_I2C_Read... [23:11:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [23:11:43]Read from MH i2c: E2 [23:11:43]MH_I2C_Read... [23:11:43]Read from MH i2c: E2 D3 00 [23:11:43]MH_I2C_Read... [23:11:43]Read from MH i2c: E2 D3 00 60 0D 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 DA [23:11:43]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 [23:11:43]wFMCommunicate OK [23:11:43]SAM_PROTO_GetShiftData done [23:11:43]requested_item shift.sale.total_cash is exist - process it [23:11:43]requested_item shift.sale_refund.total is exist - process it [23:11:43]requested_item shift.sale_refund.total_cash is exist - process it [23:11:43]produce_requested_data done [23:11:43]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57235,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":39712.75,"shift.sale.total_cash":31281.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [23:11:43]process_action_free close_receipt [23:11:43]json_value_free [23:11:43]json_value_free done [23:11:43]process_json_proto returns [23:11:43]Send response to host [23:11:43]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57235,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":39712.75,"shift.sale.total_cash":31281.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [23:11:43]free response buf [23:11:43]execute_script done [23:11:43]execute_script returns [23:11:43]free content buf [23:11:43]Sock 7.Close socket [23:11:43]Sock 7.Thread stoped [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:35]OFD Sender: No OFD packet to send [23:12:40]OFD Sender: No OFD packet to send [23:12:45]OFD Sender: No OFD packet to send [23:12:50]OFD Sender: No OFD packet to send [23:12:55]OFD Sender: No OFD packet to send [23:13:00]OFD Sender: No OFD packet to send [23:13:05]OFD Sender: No OFD packet to send [23:13:10]OFD Sender: No OFD packet to send [23:13:15]OFD Sender: No OFD packet to send [23:13:20]OFD Sender: No OFD packet to send [23:13:25]OFD Sender: No OFD packet to send [23:13:30]OFD Sender: No OFD packet to send [23:13:35]OFD Sender: No OFD packet to send [23:13:40]OFD Sender: No OFD packet to send [23:13:45]OFD Sender: No OFD packet to send [23:13:50]OFD Sender: No OFD packet to send [23:13:55]OFD Sender: No OFD packet to send [23:14:00]OFD Sender: No OFD packet to send [23:14:05]OFD Sender: No OFD packet to send [23:14:10]OFD Sender: No OFD packet to send [23:14:15]OFD Sender: No OFD packet to send [23:14:20]OFD Sender: No OFD packet to send [23:14:25]OFD Sender: No OFD packet to send [23:14:30]OFD Sender: No OFD packet to send [23:14:35]OFD Sender: No OFD packet to send [23:14:40]OFD Sender: No OFD packet to send [23:14:45]OFD Sender: No OFD packet to send [23:14:50]OFD Sender: No OFD packet to send [23:14:55]OFD Sender: No OFD packet to send [23:15:00]OFD Sender: No OFD packet to send [23:15:05]OFD Sender: No OFD packet to send [23:15:10]OFD Sender: No OFD packet to send [23:15:15]OFD Sender: No OFD packet to send [23:15:20]OFD Sender: No OFD packet to send [23:15:25]OFD Sender: No OFD packet to send [23:15:30]OFD Sender: No OFD packet to send [23:15:35]OFD Sender: No OFD packet to send [23:15:40]OFD Sender: No OFD packet to send [23:15:45]OFD Sender: No OFD packet to send [23:15:50]OFD Sender: No OFD packet to send [23:15:55]OFD Sender: No OFD packet to send [23:16:00]OFD Sender: No OFD packet to send [23:16:05]OFD Sender: No OFD packet to send [23:16:10]OFD Sender: No OFD packet to send [23:16:15]OFD Sender: No OFD packet to send [23:16:20]OFD Sender: No OFD packet to send [23:16:25]OFD Sender: No OFD packet to send [23:16:30]OFD Sender: No OFD packet to send [23:16:35]OFD Sender: No OFD packet to send [23:16:40]OFD Sender: No OFD packet to send [23:16:45]OFD Sender: No OFD packet to send [23:16:50]OFD Sender: No OFD packet to send [23:16:55]OFD Sender: No OFD packet to send [23:17:00]OFD Sender: No OFD packet to send [23:17:05]OFD Sender: No OFD packet to send [23:17:10]OFD Sender: No OFD packet to send [23:17:15]OFD Sender: No OFD packet to send [23:17:20]OFD Sender: No OFD packet to send [23:17:25]OFD Sender: No OFD packet to send [23:17:30]OFD Sender: No OFD packet to send [23:17:35]OFD Sender: No OFD packet to send [23:17:40]OFD Sender: No OFD packet to send [23:17:45]OFD Sender: No OFD packet to send [23:17:50]OFD Sender: No OFD packet to send [23:17:55]OFD Sender: No OFD packet to send [23:18:00]OFD Sender: No OFD packet to send [23:18:05]OFD Sender: No OFD packet to send [23:18:10]OFD Sender: No OFD packet to send [23:18:15]OFD Sender: No OFD packet to send [23:18:20]OFD Sender: No OFD packet to send [23:18:25]OFD Sender: No OFD packet to send [23:18:30]OFD Sender: No OFD packet to send [23:18:35]OFD Sender: No OFD packet to send [23:18:40]OFD Sender: No OFD packet to send [23:18:45]OFD Sender: No OFD packet to send [23:18:50]OFD Sender: No OFD packet to send [23:18:55]OFD Sender: No OFD packet to send [23:19:00]OFD Sender: No OFD packet to send [23:19:05]OFD Sender: No OFD packet to send [23:19:10]OFD Sender: No OFD packet to send [23:19:15]OFD Sender: No OFD packet to send [23:19:20]OFD Sender: No OFD packet to send [23:19:25]OFD Sender: No OFD packet to send [23:19:30]OFD Sender: No OFD packet to send [23:19:31]accept exits with 9 [23:19:31]New connection [23:19:31]New thread 3066871140 created [23:19:31]Thread 3067014500 joined [23:19:31]Waiting for new connection... [23:19:31] Sock 9.Parse request [23:19:31]Sock 9.Check first char [23:19:31]Sock 9.First char is OK [23:19:31]request: POST /json_proto HTTP/1.0 [23:19:31]Method: POST [23:19:31]URL: /json_proto [23:19:31]Method is POST - this is cgi request [23:19:31]url: /json_proto [23:19:31]query_string will be loaded in cgi processing [23:19:31]execute_cgi json_proto POST (null) [23:19:31]execute_cgi path=json_proto method=POST [23:19:31]POST find Content-Length [23:19:31]Host: 172.17.39.4:8080 [23:19:31]Content-Length: 736 [23:19:31]Content-Type: application/json [23:19:31] [23:19:31]POST finish read [23:19:31]Found Content-Length = 736 [23:19:31]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129673", "tax_sys" : 0, "items" : [ { "code": "4700000160204", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1,5\u043B", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 60.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [23:19:31]execute_script... [23:19: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)129673", "tax_sys" : 0, "items" : [ { "code": "4700000160204", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1,5\u043B", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 60.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [23:19:31]POST & json_proto [23:19:31]process_json_proto [23:19:31]json parsed OK: [23:19:31]protocol is kg_v1.0 [23:19:31]action value=close_receipt [23:19:31]process_action close_receipt [23:19:31]cmd_close_receipt [23:19:31]MH_GetDate [23:19:31]Write to MH i2c: F0 00 00 61 0D 5D [23:19:31]Write i2c OK [23:19:31]MH_I2C_Read... [23:19:31]Read from MH i2c: F0 [23:19:31]MH_I2C_Read... [23:19:31]Read from MH i2c: F0 09 00 [23:19:31]MH_I2C_Read... [23:19:31]Read from MH i2c: F0 09 00 61 0D 00 85 AE 95 66 2D 25 5D 64 A7 [23:19:31]GetLastDocTimeStamp 1721085099 [23:19:31]current date 1721085573 [23:19:31]FM_GetShiftState [23:19:31]SAM_PROTO_GetShiftState [23:19:31]wFMCommunicate request_size=4 [23:19:31]MH_SAM_APDU [23:19:31]CAPDU: 80 13 01 00 [23:19:31]Write to MH i2c: E2 08 00 62 0D 80 13 01 00 00 00 00 00 EC [23:19:31]Write i2c OK [23:19:31]MH_I2C_Read... [23:19:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:19:31]Read from MH i2c: E2 [23:19:31]MH_I2C_Read... [23:19:31]Read from MH i2c: E2 0E 00 [23:19:31]MH_I2C_Read... [23:19:31]Read from MH i2c: E2 0E 00 62 0D 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 65 [23:19:31]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [23:19:31]wFMCommunicate OK [23:19:31]SAM_PROTO_GetShiftState done [23:19:31]FM_GetShiftState done [23:19:31]opened in 1721003525 [23:19:31]opened+sec_in_day 1721089925 [23:19:31]quantity*price = 6000 [23:19:31]sum+1 = 6001 [23:19:31]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 60.00 НСП 1% : 0.53 НДС 12% : 6.37 Наличными: 60.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 131 15.07.2024 23:19 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57236 ФПД: 277086551028053 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T231933&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57236&fm=277086551028053&tin=02508201610067®Number=0000000000091208&sum=6000 0 [23:19:32]StoreToDocumentArchive [23:19:32]shift 497 fd 57236 [23:19:32]save to /storage/0497/doc_00057236 [23:19:32]save last doc name /storage/0497/doc_00057236 to /storage/kkm_last_doc_name [23:19:32]save OK [23:19:32]Clear old archive folders... [23:19:32]ProcessDocumentItem done err = 0, tmpTLVsize=271 [23:19:32]tlvbuf is 0087DB30 [23:19:32]SAM_PROTO_ClearQueue [23:19:32]wFMCommunicate request_size=4 [23:19:32]MH_SAM_APDU [23:19:32]CAPDU: 80 09 00 00 [23:19:32]Write to MH i2c: E2 08 00 6F 0D 80 09 00 00 00 00 00 00 EE [23:19:32]Write i2c OK [23:19:32]MH_I2C_Read... [23:19:32]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:19:32]Read from MH i2c: E2 [23:19:32]MH_I2C_Read... [23:19:32]Read from MH i2c: E2 03 00 [23:19:32]MH_I2C_Read... [23:19:32]Read from MH i2c: E2 03 00 6F 0D 00 90 00 F0 [23:19:32]RAPDU: 90 00 [23:19:32]wFMCommunicate OK [23:19:32]SAM_PROTO_ClearQueue done [23:19:32]KKMCreateOFDPacket [23:19:32]OFDProtocolAddRootSTLVToBuf [23:19:32]FM_MakeSignedData [23:19:32]FM_MakeSignedData [23:19:32]SAM_PROTO_SignData [23:19:32]wFMCommunicate request_size=4 [23:19:32]MH_SAM_APDU [23:19:32]CAPDU: 80 0D 01 02 [23:19:32]Write to MH i2c: E2 08 00 70 0D 80 0D 01 02 00 00 00 00 F6 [23:19:32]Write i2c OK [23:19:32]MH_I2C_Read... [23:19:32]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:19:32]Read from MH i2c: E2 [23:19:32]MH_I2C_Read... [23:19:32]Read from MH i2c: E2 03 00 [23:19:32]MH_I2C_Read... [23:19:32]Read from MH i2c: E2 03 00 70 0D 00 90 00 F1 [23:19:32]RAPDU: 90 00 [23:19:32]wFMCommunicate OK [23:19:32]wFMCommunicate request_size=255 [23:19:32]MH_SAM_APDU [23:19:32]CAPDU: 80 0D 02 02 FA 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 83 00 00 00 F4 03 04 00 85 AE 95 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 [23:19:32]Write to MH i2c: E2 02 01 71 0D 80 0D 02 02 FA 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 83 00 00 00 F4 03 04 00 85 AE 95 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 00 00 C3 [23:19:32]Write i2c OK [23:19:32]MH_I2C_Read... [23:19:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:19:33]Read from MH i2c: E2 [23:19:33]MH_I2C_Read... [23:19:33]Read from MH i2c: E2 03 00 [23:19:33]MH_I2C_Read... [23:19:33]Read from MH i2c: E2 03 00 71 0D 00 90 00 F2 [23:19:33]RAPDU: 90 00 [23:19:33]wFMCommunicate OK [23:19:33]wFMCommunicate request_size=30 [23:19:33]MH_SAM_APDU [23:19:33]CAPDU: 80 0D 02 02 19 30 38 37 34 38 35 37 10 04 04 00 94 DF 00 00 35 04 06 00 FC 02 3D 72 31 55 [23:19:33]Write to MH i2c: E2 21 00 72 0D 80 0D 02 02 19 00 30 38 37 34 38 35 37 10 04 04 00 94 DF 00 00 35 04 06 00 FC 02 3D 72 31 55 00 00 9F [23:19:33]Write i2c OK [23:19:33]MH_I2C_Read... [23:19:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:19:33]Read from MH i2c: E2 [23:19:33]MH_I2C_Read... [23:19:33]Read from MH i2c: E2 03 00 [23:19:33]MH_I2C_Read... [23:19:33]Read from MH i2c: E2 03 00 72 0D 00 90 00 F3 [23:19:33]RAPDU: 90 00 [23:19:33]wFMCommunicate OK [23:19:33]wFMCommunicate request_size=4 [23:19:33]MH_SAM_APDU [23:19:33]CAPDU: 80 0D 03 02 [23:19:33]Write to MH i2c: E2 08 00 73 0D 80 0D 03 02 00 00 00 00 FB [23:19:33]Write i2c OK [23:19:33]MH_I2C_Read... [23:19:33]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:19:33]Read from MH i2c: E2 [23:19:33]MH_I2C_Read... [23:19:33]Read from MH i2c: E2 0B 00 [23:19:33]MH_I2C_Read... [23:19:33]Read from MH i2c: E2 0B 00 73 0D 00 D2 A0 D0 0D A4 67 CF 6E 90 00 93 [23:19:33]RAPDU: D2 A0 D0 0D A4 67 CF 6E 90 00 [23:19:33]wFMCommunicate OK [23:19:33]SAM_PROTO_SignData done [23:19:33]FM_MakeSignedData done [23:19:33]CreateOFDProtocolMessage [23:19:33]wFMCommunicate request_size=4 [23:19:33]MH_SAM_APDU [23:19:33]CAPDU: 80 11 00 00 [23:19:33]Write to MH i2c: E2 08 00 74 0D 80 11 00 00 00 00 00 00 FB [23:19:33]Write i2c OK [23:19:33]MH_I2C_Read... [23:19:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:19:33]Read from MH i2c: E2 [23:19:33]MH_I2C_Read... [23:19:33]Read from MH i2c: E2 17 00 [23:19:33]MH_I2C_Read... [23:19:33]Read from MH i2c: E2 17 00 74 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 55 [23:19: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:19:33]wFMCommunicate OK [23:19:33]CreateOFDProtocolMessage done [23:19:33]OFDSenderStorePacket 57236 [23:19:33]StoreOFDPacket docnum=57236 [23:19: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 23 01 00 00 43 83 1B 01 17 B7 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 83 00 00 00 F4 03 04 00 85 AE 95 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 94 DF 00 00 35 04 06 00 FC 02 3D 72 31 55 D2 A0 D0 0D A4 67 CF 6E [23:19:33]CheckFolder [23:19:33]dirname=/storage/ofd_packets [23:19:33]CheckFolder done [23:19:33]ProducePacketName [23:19:33]name=ofd_packets/00057236 [23:19:33]NVStorageSaveData ofd_packets/00057236 [23:19:33]File name is /storage/ofd_packets/00057236 [23:19:33]Write 321 bytes [23:19:33]NVStorageSaveData done [23:19:33]OFDSenderStorePacket done [23:19:33]KKMCreateOFDPacket done [23:19:33]NVStorageSaveData kkm_last_timestamp [23:19:33]File name is /storage/kkm_last_timestamp [23:19:33]Write 4 bytes [23:19:33]NVStorageSaveData done [23:19:33]ExternCall_PrintAddStr [23:19:33]wPrintStart [23:19:33]Write to MH i2c: 01 00 00 75 0D 82 [23:19:33]Write i2c OK [23:19:33]MH_I2C_Read... [23:19:33]Read from MH i2c: 01 [23:19:33]MH_I2C_Read... [23:19:33]Read from MH i2c: 01 07 00 [23:19:33]MH_I2C_Read... [23:19:33]Read from MH i2c: 01 07 00 75 0D 00 00 00 00 00 FF 0F 97 [23:19:33]RasterBufferAndPrint [23:19:33]line Счет N : (3)129673 [23:19:33]line ИНН: 02508201610067 [23:19:33]line Контрольно-Кассовый Чек [23:19:33]line ПРОДАЖА [23:19:33]line Товар: 4700000160204 [23:19:33]line Вода Легенда 1,5л [23:19:33]line 1.000 * 60.00 [23:19:33]line = 60.00 [23:19:33]line НДС 12% НСП 1% [23:19:33]line > о реализуемом товаре [23:19:33]line ИТОГО: 60.00 [23:19:33]line НСП 1% : 0.53 [23:19:33]line НДС 12% : 6.37 [23:19:33]line Наличными: 60.00 [23:19:33]line Безнал.: 0.00 [23:19:33]line Место: АЗС № 132 "Партнер Нефть" [23:19:33]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [23:19:33]line СНО: Общий режим [23:19:33]line Чек 131 15.07.2024 23:19 [23:19:33]line Смена: 497 ФФД: 1.0 [23:19:33]line ЗНМ: 0300000132 [23:19:33]line РНМ: 0000000000091208 [23:19:33]line Версия ККМ: 001 [23:19:33]line ФМ: 0000000000874857 [23:19:33]line ФД: 57236 [23:19:33]line ФПД: 277086551028053 [23:19:33]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T231933&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57236&fm=277086551028053&tin=02508201610067®Number=0000000000091208&sum=6000 [23:19:33]line 0 [23:19:33]written 0, free lines is 4095 [23:19:33]OFD Sender: Processing packet 57236 [packets to send 38, broken 37] [23:19:33]ProducePacketName [23:19:33]name=ofd_packets/00057236 [23:19:33]OFD Sender: To server: pG, [23:19:33]CommunicateWithHost lk.salyk.kg:30040 [23:19:33]ConnectInit lk.salyk.kg [23:19:33]Connected sock=10 [23:19: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 23 01 00 00 43 83 1B 01 17 B7 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 83 00 00 00 F4 03 04 00 85 AE 95 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 94 DF 00 00 35 04 06 00 FC 02 3D 72 31 55 D2 A0 D0 0D A4 67 CF 6E [23:19: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 DE A7 47 00 83 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 94 DF 00 00 F4 03 04 00 D2 54 95 66 B6 04 01 00 00 5E 87 81 10 1E 48 47 BA [23:19:33]CommunicateWithHost err = 0 [23:19:33]CheckOFDResponse [23:19:33]1017 (14) - 77093643461234 [23:19:33]1041 (16) - 0000000000874857 [23:19:33]1040 (4) - 57236 [23:19:33]1012 (4) - 15.07.2024 16:56 [23:19:33]1206 (1) - 0 [23:19:33]OFD Sender: Remove packet 57236 [23:19:33]ProducePacketName [23:19:33]name=ofd_packets/00057236 [23:19:33]NVStorageDeleteData [23:19:33]Write to MH i2c: 01 00 00 9D 0D AA [23:19:33]Write i2c OK [23:19:33]MH_I2C_Read... [23:19:33]Read from MH i2c: 01 [23:19:33]MH_I2C_Read... [23:19:33]Read from MH i2c: 01 07 00 [23:19:33]MH_I2C_Read... [23:19:33]Read from MH i2c: 01 07 00 9D 0D 00 00 00 00 00 10 0D CE [23:19:33]RasterBufferAndPrint [23:19:33]line [23:19:33]line [23:19:33]line [23:19:33]line [23:19:33]line [23:19:33]written 0, free lines is 3350 [23:19:33]MH_Cut [23:19:33]Write to MH i2c: D1 01 00 A4 0D 01 83 [23:19:33]Write i2c OK [23:19:33]MH_I2C_Read... [23:19:33]Read from MH i2c: D1 [23:19:33]MH_I2C_Read... [23:19:33]Read from MH i2c: D1 01 00 [23:19:33]MH_I2C_Read... [23:19:33]Read from MH i2c: D1 01 00 A4 0D 00 82 [23:19:33]Write to MH i2c: 01 00 00 A5 0D B2 [23:19:33]Write i2c OK [23:19:33]MH_I2C_Read... [23:19:34]OFD Sender: No OFD packet to send [23:19:34]*** Cut start [23:19:34]*** Partial cut [23:19:34]*** CUTSNS_PIN = 1 [23:19:34]*** CUTSNS_PIN = 0 [23:19:34]*** Brake cut motor [23:19:35]Read from MH i2c: 01 [23:19:35]MH_I2C_Read... [23:19:35]*** Stop cut motor [23:19:35]*** Cut end [23:19:35]Read from MH i2c: 01 07 00 [23:19:35]MH_I2C_Read... [23:19:35]Read from MH i2c: 01 07 00 A5 0D 00 00 00 00 00 FF 0F C7 [23:19:35]process_action close_receipt done [23:19:35]requested_data is exist [23:19:35]produce_requested_data [23:19:35]requested_item fm.sn is exist - process it [23:19:35]wFMCommunicate request_size=4 [23:19:35]MH_SAM_APDU [23:19:35]CAPDU: 80 11 00 00 [23:19:35]Write to MH i2c: E2 08 00 A6 0D 80 11 00 00 00 00 00 00 2D [23:19:35]Write i2c OK [23:19:35]MH_I2C_Read... [23:19:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:19:35]Read from MH i2c: E2 [23:19:35]MH_I2C_Read... [23:19:35]Read from MH i2c: E2 17 00 [23:19:35]MH_I2C_Read... [23:19:35]Read from MH i2c: E2 17 00 A6 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 87 [23:19: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:19:35]wFMCommunicate OK [23:19:35]requested_item fd.num is exist - process it [23:19:35]SAM_PROTO_GetFieldsCounters [23:19:35]wFMCommunicate request_size=4 [23:19:35]MH_SAM_APDU [23:19:35]CAPDU: 80 13 00 00 [23:19:35]Write to MH i2c: E2 08 00 A7 0D 80 13 00 00 00 00 00 00 30 [23:19:35]Write i2c OK [23:19:35]MH_I2C_Read... [23:19:35]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:19:35]Read from MH i2c: E2 [23:19:35]MH_I2C_Read... [23:19:35]Read from MH i2c: E2 62 00 [23:19:35]MH_I2C_Read... [23:19:35]Read from MH i2c: E2 62 00 A7 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 94 DF 00 00 0E 04 04 00 F1 01 00 00 12 04 04 00 83 00 00 00 5E 04 04 00 83 00 00 00 57 04 04 00 84 00 00 00 19 04 04 00 00 00 00 00 90 00 41 [23:19: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 94 DF 00 00 0E 04 04 00 F1 01 00 00 12 04 04 00 83 00 00 00 5E 04 04 00 83 00 00 00 57 04 04 00 84 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:19:35]wFMCommunicate OK [23:19:35]SAM_PROTO_GetFieldsCounters done [23:19:35]requested_item shift.num is exist - process it [23:19:35]requested_item shift.opened is exist - process it [23:19:35]req_shift_opened [23:19:35]FM_GetShiftState [23:19:35]SAM_PROTO_GetShiftState [23:19:35]wFMCommunicate request_size=4 [23:19:35]MH_SAM_APDU [23:19:35]CAPDU: 80 13 01 00 [23:19:35]Write to MH i2c: E2 08 00 A8 0D 80 13 01 00 00 00 00 00 32 [23:19:35]Write i2c OK [23:19:35]MH_I2C_Read... [23:19:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:19:35]Read from MH i2c: E2 [23:19:35]MH_I2C_Read... [23:19:35]Read from MH i2c: E2 0E 00 [23:19:35]MH_I2C_Read... [23:19:35]Read from MH i2c: E2 0E 00 A8 0D 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 AB [23:19:35]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [23:19:35]wFMCommunicate OK [23:19:35]SAM_PROTO_GetShiftState done [23:19:35]FM_GetShiftState done [23:19:35]req_shift_opened done [23:19:35]requested_item shift.open_date is exist - process it [23:19:35]req_shift_open_date [23:19:35]req_shift_open_date done [23:19:35]requested_item shift.sale.total is exist - process it [23:19:35]SAM_PROTO_GetShiftData [23:19:35]wFMCommunicate request_size=4 [23:19:35]MH_SAM_APDU [23:19:35]CAPDU: 80 13 02 00 [23:19:35]Write to MH i2c: E2 08 00 A9 0D 80 13 02 00 00 00 00 00 34 [23:19:35]Write i2c OK [23:19:35]MH_I2C_Read... [23:19:35]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:19:35]Read from MH i2c: E2 [23:19:35]MH_I2C_Read... [23:19:35]Read from MH i2c: E2 FD 00 [23:19:35]MH_I2C_Read... [23:19:35]Read from MH i2c: E2 FD 00 A9 0D 00 B6 04 AA 04 B2 04 6E 04 04 00 83 00 00 00 69 04 9B 00 6F 04 04 00 82 00 00 00 B1 04 03 00 3B B0 3C 70 04 03 00 94 D2 2F 72 04 03 00 A7 DD 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 05 72 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 7B 89 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 68 [23:19:35]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 83 00 00 00 69 04 9B 00 6F 04 04 00 82 00 00 00 B1 04 03 00 3B B0 3C 70 04 03 00 94 D2 2F 72 04 03 00 A7 DD 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 05 72 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 7B 89 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 [23:19:35]wFMCommunicate OK [23:19:35]wFMCommunicate request_size=4 [23:19:35]MH_SAM_APDU [23:19:35]CAPDU: 80 17 00 00 [23:19:35]Write to MH i2c: E2 08 00 AA 0D 80 17 00 00 00 00 00 00 37 [23:19:35]Write i2c OK [23:19:35]MH_I2C_Read... [23:19:35]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:19:35]Read from MH i2c: E2 [23:19:35]MH_I2C_Read... [23:19:35]Read from MH i2c: E2 FD 00 [23:19:35]MH_I2C_Read... [23:19:36]Read from MH i2c: E2 FD 00 AA 0D 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 6C [23:19: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 [23:19:36]wFMCommunicate OK [23:19:36]wFMCommunicate request_size=4 [23:19:36]MH_SAM_APDU [23:19:36]CAPDU: 80 17 00 00 [23:19:36]Write to MH i2c: E2 08 00 AB 0D 80 17 00 00 00 00 00 00 38 [23:19:36]Write i2c OK [23:19:36]MH_I2C_Read... [23:19:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:19:36]Read from MH i2c: E2 [23:19:36]MH_I2C_Read... [23:19:36]Read from MH i2c: E2 FD 00 [23:19:36]MH_I2C_Read... [23:19:36]Read from MH i2c: E2 FD 00 AB 0D 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 F8 [23:19: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 [23:19:36]wFMCommunicate OK [23:19:36]wFMCommunicate request_size=4 [23:19:36]MH_SAM_APDU [23:19:36]CAPDU: 80 17 00 00 [23:19:36]Write to MH i2c: E2 08 00 AC 0D 80 17 00 00 00 00 00 00 39 [23:19:36]Write i2c OK [23:19:36]MH_I2C_Read... [23:19:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:19:36]Read from MH i2c: E2 [23:19:36]MH_I2C_Read... [23:19:36]Read from MH i2c: E2 FD 00 [23:19:36]MH_I2C_Read... [23:19:36]Read from MH i2c: E2 FD 00 AC 0D 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 A8 [23:19: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 [23:19:36]wFMCommunicate OK [23:19:36]wFMCommunicate request_size=4 [23:19:36]MH_SAM_APDU [23:19:36]CAPDU: 80 17 00 00 [23:19:36]Write to MH i2c: E2 08 00 AD 0D 80 17 00 00 00 00 00 00 3A [23:19:36]Write i2c OK [23:19:36]MH_I2C_Read... [23:19:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [23:19:36]Read from MH i2c: E2 [23:19:36]MH_I2C_Read... [23:19:36]Read from MH i2c: E2 D3 00 [23:19:36]MH_I2C_Read... [23:19:36]Read from MH i2c: E2 D3 00 AD 0D 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 27 [23:19: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 [23:19:36]wFMCommunicate OK [23:19:36]SAM_PROTO_GetShiftData done [23:19:36]requested_item shift.sale.total_cash is exist - process it [23:19:36]requested_item shift.sale_refund.total is exist - process it [23:19:36]requested_item shift.sale_refund.total_cash is exist - process it [23:19:36]produce_requested_data done [23:19:36]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57236,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":39772.75,"shift.sale.total_cash":31341.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [23:19:36]process_action_free close_receipt [23:19:36]json_value_free [23:19:36]json_value_free done [23:19:36]process_json_proto returns [23:19:36]Send response to host [23:19:36]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57236,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":39772.75,"shift.sale.total_cash":31341.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [23:19:36]free response buf [23:19:36]execute_script done [23:19:36]execute_script returns [23:19:36]free content buf [23:19:36]Sock 9.Close socket [23:19:36]Sock 9.Thread stoped [23:19:39]OFD Sender: No OFD packet to send [23:19:44]OFD Sender: No OFD packet to send [23:19:49]OFD Sender: No OFD packet to send [23:19:54]OFD Sender: No OFD packet to send [23:19:59]OFD Sender: No OFD packet to send [23:20:04]OFD Sender: No OFD packet to send [23:20:09]OFD Sender: No OFD packet to send [23:20:14]OFD Sender: No OFD packet to send [23:20:19]OFD Sender: No OFD packet to send [23:20:24]OFD Sender: No OFD packet to send [23:20:29]OFD Sender: No OFD packet to send [23:20:34]OFD Sender: No OFD packet to send [23:20:39]OFD Sender: No OFD packet to send [23:20:44]OFD Sender: No OFD packet to send [23:20:49]OFD Sender: No OFD packet to send [23:20:54]OFD Sender: No OFD packet to send [23:20:59]OFD Sender: No OFD packet to send [23:21:04]OFD Sender: No OFD packet to send [23:21:09]OFD Sender: No OFD packet to send [23:21:14]OFD Sender: No OFD packet to send [23:21:19]OFD Sender: No OFD packet to send [23:21:24]OFD Sender: No OFD packet to send [23:21:29]OFD Sender: No OFD packet to send [23:21:34]OFD Sender: No OFD packet to send [23:21:39]OFD Sender: No OFD packet to send [23:21:44]OFD Sender: No OFD packet to send [23:21:49]OFD Sender: No OFD packet to send [23:21:54]OFD Sender: No OFD packet to send [23:21:59]OFD Sender: No OFD packet to send [23:22:04]OFD Sender: No OFD packet to send [23:22:09]OFD Sender: No OFD packet to send [23:22:14]OFD Sender: No OFD packet to send [23:22:19]OFD Sender: No OFD packet to send [23:22:23]accept exits with 7 [23:22:23]New connection [23:22:23]New thread 3067014500 created [23:22:23]Thread 3066871140 joined [23:22:23]Waiting for new connection... [23:22:23] Sock 7.Parse request [23:22:23]Sock 7.Check first char [23:22:23]Sock 7.First char is OK [23:22:23]request: POST /json_proto HTTP/1.0 [23:22:23]Method: POST [23:22:23]URL: /json_proto [23:22:23]Method is POST - this is cgi request [23:22:23]url: /json_proto [23:22:23]query_string will be loaded in cgi processing [23:22:23]execute_cgi json_proto POST (null) [23:22:23]execute_cgi path=json_proto method=POST [23:22:23]POST find Content-Length [23:22:23]Host: 172.17.39.4:8080 [23:22:23]Content-Length: 1066 [23:22:23]Content-Type: application/json [23:22:23] [23:22:23]POST finish read [23:22:23]Found Content-Length = 1066 [23:22:23]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129674", "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 }]} ,{ "code": "8904103304060", "name": "\u041F\u0440\u0435\u0437\u0435\u0440\u0432\u0430\u0442\u0438\u0432 ITEX \u0436\u0435\u0432 \u0440\u0435\u0437\u0438\u043D\u043A\u0430 3 \u0448\u0442", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 320.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:22:23]execute_script... [23:22: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)129674", "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 }]} ,{ "code": "8904103304060", "name": "\u041F\u0440\u0435\u0437\u0435\u0440\u0432\u0430\u0442\u0438\u0432 ITEX \u0436\u0435\u0432 \u0440\u0435\u0437\u0438\u043D\u043A\u0430 3 \u0448\u0442", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 320.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:22:23]POST & json_proto [23:22:23]process_json_proto [23:22:23]json parsed OK: [23:22:23]protocol is kg_v1.0 [23:22:23]action value=close_receipt [23:22:23]process_action close_receipt [23:22:23]cmd_close_receipt [23:22:23]MH_GetDate [23:22:23]Write to MH i2c: F0 00 00 AE 0D AA [23:22:23]Write i2c OK [23:22:23]MH_I2C_Read... [23:22:23]Read from MH i2c: F0 [23:22:23]MH_I2C_Read... [23:22:23]Read from MH i2c: F0 09 00 [23:22:23]MH_I2C_Read... [23:22:23]Read from MH i2c: F0 09 00 AE 0D 00 31 AF 95 66 2D 25 5D 64 A1 [23:22:23]GetLastDocTimeStamp 1721085573 [23:22:23]current date 1721085745 [23:22:23]FM_GetShiftState [23:22:23]SAM_PROTO_GetShiftState [23:22:23]wFMCommunicate request_size=4 [23:22:23]MH_SAM_APDU [23:22:23]CAPDU: 80 13 01 00 [23:22:23]Write to MH i2c: E2 08 00 AF 0D 80 13 01 00 00 00 00 00 39 [23:22:23]Write i2c OK [23:22:23]MH_I2C_Read... [23:22:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:22:23]Read from MH i2c: E2 [23:22:23]MH_I2C_Read... [23:22:23]Read from MH i2c: E2 0E 00 [23:22:23]MH_I2C_Read... [23:22:23]Read from MH i2c: E2 0E 00 AF 0D 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 B2 [23:22:23]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [23:22:23]wFMCommunicate OK [23:22:23]SAM_PROTO_GetShiftState done [23:22:23]FM_GetShiftState done [23:22:23]opened in 1721003525 [23:22:23]opened+sec_in_day 1721089925 [23:22:23]quantity*price = 18000 [23:22:23]sum+1 = 18001 [23:22:23]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 8904103304060 Презерватив ITEX жев резинка 3 шт 1.000 * 140.00 = 140.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 320.00 НСП 1% : 2.83 НДС 12% : 33.98 Наличными: 320.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 132 15.07.2024 23:22 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57237 ФПД: 24683225803941 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T232225&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57237&fm=24683225803941&tin=02508201610067®Number=0000000000091208&sum=32000 0 [23:22:24]StoreToDocumentArchive [23:22:24]shift 497 fd 57237 [23:22:24]save to /storage/0497/doc_00057237 [23:22:24]save last doc name /storage/0497/doc_00057237 to /storage/kkm_last_doc_name [23:22:24]save OK [23:22:24]Clear old archive folders... [23:22:24]ProcessDocumentItem done err = 0, tmpTLVsize=400 [23:22:24]tlvbuf is 00883B80 [23:22:24]SAM_PROTO_ClearQueue [23:22:24]wFMCommunicate request_size=4 [23:22:24]MH_SAM_APDU [23:22:24]CAPDU: 80 09 00 00 [23:22:24]Write to MH i2c: E2 08 00 BC 0D 80 09 00 00 00 00 00 00 3B [23:22:24]Write i2c OK [23:22:24]MH_I2C_Read... [23:22:24]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:22:24]Read from MH i2c: E2 [23:22:24]MH_I2C_Read... [23:22:24]Read from MH i2c: E2 03 00 [23:22:24]MH_I2C_Read... [23:22:24]Read from MH i2c: E2 03 00 BC 0D 00 90 00 3D [23:22:24]RAPDU: 90 00 [23:22:24]wFMCommunicate OK [23:22:24]SAM_PROTO_ClearQueue done [23:22:24]KKMCreateOFDPacket [23:22:24]OFDProtocolAddRootSTLVToBuf [23:22:24]FM_MakeSignedData [23:22:24]FM_MakeSignedData [23:22:24]SAM_PROTO_SignData [23:22:24]wFMCommunicate request_size=4 [23:22:24]MH_SAM_APDU [23:22:24]CAPDU: 80 0D 01 02 [23:22:24]Write to MH i2c: E2 08 00 BD 0D 80 0D 01 02 00 00 00 00 43 [23:22:24]Write i2c OK [23:22:24]MH_I2C_Read... [23:22:24]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:22:24]Read from MH i2c: E2 [23:22:24]MH_I2C_Read... [23:22:24]Read from MH i2c: E2 03 00 [23:22:24]MH_I2C_Read... [23:22:24]Read from MH i2c: E2 03 00 BD 0D 00 90 00 3E [23:22:24]RAPDU: 90 00 [23:22:24]wFMCommunicate OK [23:22:24]wFMCommunicate request_size=255 [23:22:24]MH_SAM_APDU [23:22:24]CAPDU: 80 0D 02 02 FA 03 00 90 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 23 04 7C 00 8A 04 0D 00 38 39 30 34 31 30 33 33 30 34 30 36 30 06 04 38 00 D0 9F D1 80 D0 B5 D0 B7 D0 B5 D1 80 D0 B2 D0 B0 D1 82 D0 B8 D0 B2 20 49 54 45 58 20 D0 B6 D0 B5 D0 B2 20 D1 80 D0 B5 D0 B7 D0 B8 D0 BD D0 BA D0 B0 20 33 20 D1 88 D1 82 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 7D 00 00 00 00 EB [23:22:24]Write to MH i2c: E2 02 01 BE 0D 80 0D 02 02 FA 00 03 00 90 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 23 04 7C 00 8A 04 0D 00 38 39 30 34 31 30 33 33 30 34 30 36 30 06 04 38 00 D0 9F D1 80 D0 B5 D0 B7 D0 B5 D1 80 D0 B2 D0 B0 D1 82 D0 B8 D0 B2 20 49 54 45 58 20 D0 B6 D0 B5 D0 B2 20 D1 80 D0 B5 D0 B7 D0 B8 D0 BD D0 BA D0 B0 20 33 20 D1 88 D1 82 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 7D 00 00 00 00 EB 00 00 28 [23:22:24]Write i2c OK [23:22:24]MH_I2C_Read... [23:22:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:22:25]Read from MH i2c: E2 [23:22:25]MH_I2C_Read... [23:22:25]Read from MH i2c: E2 03 00 [23:22:25]MH_I2C_Read... [23:22:25]Read from MH i2c: E2 03 00 BE 0D 00 90 00 3F [23:22:25]RAPDU: 90 00 [23:22:25]wFMCommunicate OK [23:22:25]wFMCommunicate request_size=159 [23:22:25]MH_SAM_APDU [23:22:25]CAPDU: 80 0D 02 02 9A 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1B 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 46 0D 00 00 00 00 07 04 06 00 00 7D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 84 00 00 00 F4 03 04 00 31 AF 95 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 95 DF 00 00 35 04 06 00 16 73 02 E7 EC A5 [23:22:25]Write to MH i2c: E2 A2 00 BF 0D 80 0D 02 02 9A 00 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1B 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 46 0D 00 00 00 00 07 04 06 00 00 7D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 84 00 00 00 F4 03 04 00 31 AF 95 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 95 DF 00 00 35 04 06 00 16 73 02 E7 EC A5 00 00 82 [23:22:25]Write i2c OK [23:22:25]MH_I2C_Read... [23:22:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:22:25]Read from MH i2c: E2 [23:22:25]MH_I2C_Read... [23:22:25]Read from MH i2c: E2 03 00 [23:22:25]MH_I2C_Read... [23:22:25]Read from MH i2c: E2 03 00 BF 0D 00 90 00 40 [23:22:25]RAPDU: 90 00 [23:22:25]wFMCommunicate OK [23:22:25]wFMCommunicate request_size=4 [23:22:25]MH_SAM_APDU [23:22:25]CAPDU: 80 0D 03 02 [23:22:25]Write to MH i2c: E2 08 00 C0 0D 80 0D 03 02 00 00 00 00 48 [23:22:25]Write i2c OK [23:22:25]MH_I2C_Read... [23:22:25]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:22:25]Read from MH i2c: E2 [23:22:25]MH_I2C_Read... [23:22:25]Read from MH i2c: E2 0B 00 [23:22:25]MH_I2C_Read... [23:22:25]Read from MH i2c: E2 0B 00 C0 0D 00 41 EE 37 9F 95 36 C6 06 90 00 E5 [23:22:25]RAPDU: 41 EE 37 9F 95 36 C6 06 90 00 [23:22:25]wFMCommunicate OK [23:22:25]SAM_PROTO_SignData done [23:22:25]FM_MakeSignedData done [23:22:25]CreateOFDProtocolMessage [23:22:25]wFMCommunicate request_size=4 [23:22:25]MH_SAM_APDU [23:22:25]CAPDU: 80 11 00 00 [23:22:25]Write to MH i2c: E2 08 00 C1 0D 80 11 00 00 00 00 00 00 48 [23:22:25]Write i2c OK [23:22:25]MH_I2C_Read... [23:22:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:22:25]Read from MH i2c: E2 [23:22:25]MH_I2C_Read... [23:22:25]Read from MH i2c: E2 17 00 [23:22:25]MH_I2C_Read... [23:22:25]Read from MH i2c: E2 17 00 C1 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 A2 [23:22:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [23:22:25]wFMCommunicate OK [23:22:25]CreateOFDProtocolMessage done [23:22:25]OFDSenderStorePacket 57237 [23:22:25]StoreOFDPacket docnum=57237 [23:22: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 A4 01 00 00 5E 10 9C 01 7B 01 5A 03 01 00 03 00 90 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 23 04 7C 00 8A 04 0D 00 38 39 30 34 31 30 33 33 30 34 30 36 30 06 04 38 00 D0 9F D1 80 D0 B5 D0 B7 D0 B5 D1 80 D0 B2 D0 B0 D1 82 D0 B8 D0 B2 20 49 54 45 58 20 D0 B6 D0 B5 D0 B2 20 D1 80 D0 B5 D0 B7 D0 B8 D0 BD D0 BA D0 B0 20 33 20 D1 88 D1 82 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 7D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1B 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 46 0D 00 00 00 00 07 04 06 00 00 7D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 84 00 00 00 F4 03 04 00 31 AF 95 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 95 DF 00 00 35 04 06 00 16 73 02 E7 EC A5 41 EE 37 9F 95 36 C6 06 [23:22:25]CheckFolder [23:22:25]dirname=/storage/ofd_packets [23:22:25]CheckFolder done [23:22:25]ProducePacketName [23:22:25]name=ofd_packets/00057237 [23:22:25]NVStorageSaveData ofd_packets/00057237 [23:22:25]File name is /storage/ofd_packets/00057237 [23:22:25]Write 450 bytes [23:22:25]NVStorageSaveData done [23:22:25]OFDSenderStorePacket done [23:22:25]KKMCreateOFDPacket done [23:22:25]NVStorageSaveData kkm_last_timestamp [23:22:25]File name is /storage/kkm_last_timestamp [23:22:25]Write 4 bytes [23:22:25]NVStorageSaveData done [23:22:25]ExternCall_PrintAddStr [23:22:25]wPrintStart [23:22:25]Write to MH i2c: 01 00 00 C2 0D CF [23:22:25]OFD Sender: Processing packet 57237 [packets to send 38, broken 37] [23:22:25]ProducePacketName [23:22:25]name=ofd_packets/00057237 [23:22:25]OFD Sender: To server: pG, [23:22:25]CommunicateWithHost lk.salyk.kg:30040 [23:22:25]ConnectInit lk.salyk.kg [23:22:25]Write i2c OK [23:22:25]MH_I2C_Read... [23:22:25]Read from MH i2c: 01 [23:22:25]MH_I2C_Read... [23:22:25]Read from MH i2c: 01 07 00 [23:22:25]MH_I2C_Read... [23:22:25]Read from MH i2c: 01 07 00 C2 0D 00 00 00 00 00 FF 0F E4 [23:22:25]RasterBufferAndPrint [23:22:25]line Счет N : (3)129674 [23:22:25]line ИНН: 02508201610067 [23:22:25]line Контрольно-Кассовый Чек [23:22:25]line ПРОДАЖА [23:22:25]line Товар: 4700000480517 [23:22:25]line Пиво Живое 1л ПЭТ [23:22:25]line 1.000 * 180.00 [23:22:25]line = 180.00 [23:22:25]line НДС 12% НСП 1% [23:22:25]line > о реализуемом товаре [23:22:25]line Товар: 8904103304060 [23:22:25]line Презерватив ITEX жев резинка 3 шт [23:22:25]line 1.000 * 140.00 [23:22:25]line = 140.00 [23:22:25]line НДС 12% НСП 1% [23:22:25]line > о реализуемом товаре [23:22:25]line ИТОГО: 320.00 [23:22:25]line НСП 1% : 2.83 [23:22:25]line НДС 12% : 33.98 [23:22:25]line Наличными: 320.00 [23:22:25]line Безнал.: 0.00 [23:22:25]line Место: АЗС № 132 "Партнер Нефть" [23:22:25]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [23:22:25]line СНО: Общий режим [23:22:25]line Чек 132 15.07.2024 23:22 [23:22:25]line Смена: 497 ФФД: 1.0 [23:22:25]line ЗНМ: 0300000132 [23:22:25]line РНМ: 0000000000091208 [23:22:25]line Версия ККМ: 001 [23:22:25]line ФМ: 0000000000874857 [23:22:25]line ФД: 57237 [23:22:25]line ФПД: 24683225803941 [23:22:25]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T232225&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57237&fm=24683225803941&tin=02508201610067®Number=0000000000091208&sum=32000 [23:22:25]line 0 [23:22:25]written 0, free lines is 4095 [23:22:25]Connected sock=10 [23:22: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 A4 01 00 00 5E 10 9C 01 7B 01 5A 03 01 00 03 00 90 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 23 04 7C 00 8A 04 0D 00 38 39 30 34 31 30 33 33 30 34 30 36 30 06 04 38 00 D0 9F D1 80 D0 B5 D0 B7 D0 B5 D1 80 D0 B2 D0 B0 D1 82 D0 B8 D0 B2 20 49 54 45 58 20 D0 B6 D0 B5 D0 B2 20 D1 80 D0 B5 D0 B7 D0 B8 D0 BD D0 BA D0 B0 20 33 20 D1 88 D1 82 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 7D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1B 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 46 0D 00 00 00 00 07 04 06 00 00 7D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 84 00 00 00 F4 03 04 00 31 AF 95 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 95 DF 00 00 35 04 06 00 16 73 02 E7 EC A5 41 EE 37 9F 95 36 C6 06 [23:22: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 FD 5A 47 00 39 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 95 DF 00 00 F4 03 04 00 7E 55 95 66 B6 04 01 00 00 6B 74 F4 04 52 51 2D 85 [23:22:26]CommunicateWithHost err = 0 [23:22:26]CheckOFDResponse [23:22:26]1017 (14) - 77093643461234 [23:22:26]1041 (16) - 0000000000874857 [23:22:26]1040 (4) - 57237 [23:22:26]1012 (4) - 15.07.2024 16:59 [23:22:26]1206 (1) - 0 [23:22:26]OFD Sender: Remove packet 57237 [23:22:26]ProducePacketName [23:22:26]name=ofd_packets/00057237 [23:22:26]NVStorageDeleteData [23:22:26]Write to MH i2c: 01 00 00 F1 0D FE [23:22:26]Write i2c OK [23:22:26]MH_I2C_Read... [23:22:26]Read from MH i2c: 01 [23:22:26]MH_I2C_Read... [23:22:26]Read from MH i2c: 01 07 00 [23:22:26]MH_I2C_Read... [23:22:26]Read from MH i2c: 01 07 00 F1 0D 00 00 00 00 00 9E 0C AF [23:22:26]RasterBufferAndPrint [23:22:26]line [23:22:26]line [23:22:26]line [23:22:26]line [23:22:26]line [23:22:26]written 0, free lines is 3238 [23:22:26]MH_Cut [23:22:26]Write to MH i2c: D1 01 00 F8 0D 01 D7 [23:22:26]Write i2c OK [23:22:26]MH_I2C_Read... [23:22:26]Read from MH i2c: D1 [23:22:26]MH_I2C_Read... [23:22:26]Read from MH i2c: D1 01 00 [23:22:26]MH_I2C_Read... [23:22:26]Read from MH i2c: D1 01 00 F8 0D 00 D6 [23:22:26]Write to MH i2c: 01 00 00 F9 0D 06 [23:22:26]Write i2c OK [23:22:26]MH_I2C_Read... [23:22:26]OFD Sender: No OFD packet to send [23:22:27]*** Cut start [23:22:27]*** Partial cut [23:22:27]*** CUTSNS_PIN = 1 [23:22:27]*** CUTSNS_PIN = 0 [23:22:27]*** Brake cut motor [23:22:27]Read from MH i2c: 01 [23:22:27]MH_I2C_Read... [23:22:27]*** Stop cut motor [23:22:27]*** Cut end [23:22:27]Read from MH i2c: 01 07 00 [23:22:27]MH_I2C_Read... [23:22:27]Read from MH i2c: 01 07 00 F9 0D 00 00 00 00 00 FF 0F 1B [23:22:27]process_action close_receipt done [23:22:27]requested_data is exist [23:22:27]produce_requested_data [23:22:27]requested_item fm.sn is exist - process it [23:22:27]wFMCommunicate request_size=4 [23:22:27]MH_SAM_APDU [23:22:27]CAPDU: 80 11 00 00 [23:22:27]Write to MH i2c: E2 08 00 FA 0D 80 11 00 00 00 00 00 00 81 [23:22:27]Write i2c OK [23:22:27]MH_I2C_Read... [23:22:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:22:27]Read from MH i2c: E2 [23:22:27]MH_I2C_Read... [23:22:27]Read from MH i2c: E2 17 00 [23:22:27]MH_I2C_Read... [23:22:27]Read from MH i2c: E2 17 00 FA 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 DB [23:22:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [23:22:27]wFMCommunicate OK [23:22:27]requested_item fd.num is exist - process it [23:22:27]SAM_PROTO_GetFieldsCounters [23:22:27]wFMCommunicate request_size=4 [23:22:27]MH_SAM_APDU [23:22:27]CAPDU: 80 13 00 00 [23:22:27]Write to MH i2c: E2 08 00 FB 0D 80 13 00 00 00 00 00 00 84 [23:22:27]Write i2c OK [23:22:27]MH_I2C_Read... [23:22:27]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:22:28]Read from MH i2c: E2 [23:22:28]MH_I2C_Read... [23:22:28]Read from MH i2c: E2 62 00 [23:22:28]MH_I2C_Read... [23:22:28]Read from MH i2c: E2 62 00 FB 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 95 DF 00 00 0E 04 04 00 F1 01 00 00 12 04 04 00 84 00 00 00 5E 04 04 00 84 00 00 00 57 04 04 00 85 00 00 00 19 04 04 00 00 00 00 00 90 00 99 [23:22: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 95 DF 00 00 0E 04 04 00 F1 01 00 00 12 04 04 00 84 00 00 00 5E 04 04 00 84 00 00 00 57 04 04 00 85 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:22:28]wFMCommunicate OK [23:22:28]SAM_PROTO_GetFieldsCounters done [23:22:28]requested_item shift.num is exist - process it [23:22:28]requested_item shift.opened is exist - process it [23:22:28]req_shift_opened [23:22:28]FM_GetShiftState [23:22:28]SAM_PROTO_GetShiftState [23:22:28]wFMCommunicate request_size=4 [23:22:28]MH_SAM_APDU [23:22:28]CAPDU: 80 13 01 00 [23:22:28]Write to MH i2c: E2 08 00 FC 0D 80 13 01 00 00 00 00 00 86 [23:22:28]Write i2c OK [23:22:28]MH_I2C_Read... [23:22:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:22:28]Read from MH i2c: E2 [23:22:28]MH_I2C_Read... [23:22:28]Read from MH i2c: E2 0E 00 [23:22:28]MH_I2C_Read... [23:22:28]Read from MH i2c: E2 0E 00 FC 0D 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 FF [23:22:28]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [23:22:28]wFMCommunicate OK [23:22:28]SAM_PROTO_GetShiftState done [23:22:28]FM_GetShiftState done [23:22:28]req_shift_opened done [23:22:28]requested_item shift.open_date is exist - process it [23:22:28]req_shift_open_date [23:22:28]req_shift_open_date done [23:22:28]requested_item shift.sale.total is exist - process it [23:22:28]SAM_PROTO_GetShiftData [23:22:28]wFMCommunicate request_size=4 [23:22:28]MH_SAM_APDU [23:22:28]CAPDU: 80 13 02 00 [23:22:28]Write to MH i2c: E2 08 00 FD 0D 80 13 02 00 00 00 00 00 88 [23:22:28]Write i2c OK [23:22:28]MH_I2C_Read... [23:22:28]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:22:28]Read from MH i2c: E2 [23:22:28]MH_I2C_Read... [23:22:28]Read from MH i2c: E2 FD 00 [23:22:28]MH_I2C_Read... [23:22:28]Read from MH i2c: E2 FD 00 FD 0D 00 B6 04 AA 04 B2 04 6E 04 04 00 84 00 00 00 69 04 9B 00 6F 04 04 00 83 00 00 00 B1 04 03 00 3B 2D 3D 70 04 03 00 94 4F 30 72 04 03 00 A7 DD 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 4B 7F 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 8A EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 29 [23:22:28]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 84 00 00 00 69 04 9B 00 6F 04 04 00 83 00 00 00 B1 04 03 00 3B 2D 3D 70 04 03 00 94 4F 30 72 04 03 00 A7 DD 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 4B 7F 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 8A EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 [23:22:28]wFMCommunicate OK [23:22:28]wFMCommunicate request_size=4 [23:22:28]MH_SAM_APDU [23:22:28]CAPDU: 80 17 00 00 [23:22:28]Write to MH i2c: E2 08 00 FE 0D 80 17 00 00 00 00 00 00 8B [23:22:28]Write i2c OK [23:22:28]MH_I2C_Read... [23:22:28]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:22:28]Read from MH i2c: E2 [23:22:28]MH_I2C_Read... [23:22:28]Read from MH i2c: E2 FD 00 [23:22:28]MH_I2C_Read... [23:22:28]Read from MH i2c: E2 FD 00 FE 0D 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 C0 [23:22:28]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 [23:22:28]wFMCommunicate OK [23:22:28]wFMCommunicate request_size=4 [23:22:28]MH_SAM_APDU [23:22:28]CAPDU: 80 17 00 00 [23:22:28]Write to MH i2c: E2 08 00 FF 0D 80 17 00 00 00 00 00 00 8C [23:22:28]Write i2c OK [23:22:28]MH_I2C_Read... [23:22:29]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:22:29]Read from MH i2c: E2 [23:22:29]MH_I2C_Read... [23:22:29]Read from MH i2c: E2 FD 00 [23:22:29]MH_I2C_Read... [23:22:29]Read from MH i2c: E2 FD 00 FF 0D 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 4C [23:22:29]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 [23:22:29]wFMCommunicate OK [23:22:29]wFMCommunicate request_size=4 [23:22:29]MH_SAM_APDU [23:22:29]CAPDU: 80 17 00 00 [23:22:29]Write to MH i2c: E2 08 00 00 0E 80 17 00 00 00 00 00 00 8E [23:22:29]Write i2c OK [23:22:29]MH_I2C_Read... [23:22:29]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:22:29]Read from MH i2c: E2 [23:22:29]MH_I2C_Read... [23:22:29]Read from MH i2c: E2 FD 00 [23:22:29]MH_I2C_Read... [23:22:29]Read from MH i2c: E2 FD 00 00 0E 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 FD [23:22:29]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 [23:22:29]wFMCommunicate OK [23:22:29]wFMCommunicate request_size=4 [23:22:29]MH_SAM_APDU [23:22:29]CAPDU: 80 17 00 00 [23:22:29]Write to MH i2c: E2 08 00 01 0E 80 17 00 00 00 00 00 00 8F [23:22:29]Write i2c OK [23:22:29]MH_I2C_Read... [23:22:29]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [23:22:29]Read from MH i2c: E2 [23:22:29]MH_I2C_Read... [23:22:29]Read from MH i2c: E2 D3 00 [23:22:29]MH_I2C_Read... [23:22:29]Read from MH i2c: E2 D3 00 01 0E 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 7C [23:22:29]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 [23:22:29]wFMCommunicate OK [23:22:29]SAM_PROTO_GetShiftData done [23:22:29]requested_item shift.sale.total_cash is exist - process it [23:22:29]requested_item shift.sale_refund.total is exist - process it [23:22:29]requested_item shift.sale_refund.total_cash is exist - process it [23:22:29]produce_requested_data done [23:22:29]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57237,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":40092.75,"shift.sale.total_cash":31661.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [23:22:29]process_action_free close_receipt [23:22:29]json_value_free [23:22:29]json_value_free done [23:22:29]process_json_proto returns [23:22:29]Send response to host [23:22:29]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57237,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":40092.75,"shift.sale.total_cash":31661.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [23:22:29]free response buf [23:22:29]execute_script done [23:22:29]execute_script returns [23:22:29]free content buf [23:22:29]Sock 7.Close socket [23:22:29]Sock 7.Thread stoped [23:22:31]OFD Sender: No OFD packet to send [23:22:36]OFD Sender: No OFD packet to send [23:22:41]OFD Sender: No OFD packet to send [23:22:46]OFD Sender: No OFD packet to send [23:22:51]OFD Sender: No OFD packet to send [23:22:56]OFD Sender: No OFD packet to send [23:23:01]OFD Sender: No OFD packet to send [23:23:06]OFD Sender: No OFD packet to send [23:23:11]OFD Sender: No OFD packet to send [23:23:16]OFD Sender: No OFD packet to send [23:23:21]OFD Sender: No OFD packet to send [23:23:26]OFD Sender: No OFD packet to send [23:23:31]OFD Sender: No OFD packet to send [23:23:36]OFD Sender: No OFD packet to send [23:23:41]OFD Sender: No OFD packet to send [23:23:42]accept exits with 9 [23:23:42]New connection [23:23:42]New thread 3066871140 created [23:23:42]Thread 3067014500 joined [23:23:42]Waiting for new connection... [23:23:42] Sock 9.Parse request [23:23:42]Sock 9.Check first char [23:23:42]Sock 9.First char is OK [23:23:42]request: POST /json_proto HTTP/1.0 [23:23:42]Method: POST [23:23:42]URL: /json_proto [23:23:42]Method is POST - this is cgi request [23:23:42]url: /json_proto [23:23:42]query_string will be loaded in cgi processing [23:23:42]execute_cgi json_proto POST (null) [23:23:42]execute_cgi path=json_proto method=POST [23:23:42]POST find Content-Length [23:23:42]Host: 172.17.39.4:8080 [23:23:42]Content-Length: 775 [23:23:42]Content-Type: application/json [23:23:42] [23:23:42]POST finish read [23:23:42]Found Content-Length = 775 [23:23:42]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)856198", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 42", "code": "2710124130", "name": "SUPER 92-\u041A-5", "price" : 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" ] } } [23:23:42]execute_script... [23:23:42]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)856198", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 42", "code": "2710124130", "name": "SUPER 92-\u041A-5", "price" : 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" ] } } [23:23:42]POST & json_proto [23:23:42]process_json_proto [23:23:42]json parsed OK: [23:23:42]protocol is kg_v1.0 [23:23:42]action value=close_receipt [23:23:42]process_action close_receipt [23:23:42]cmd_close_receipt [23:23:42]MH_GetDate [23:23:42]Write to MH i2c: F0 00 00 02 0E FF [23:23:42]Write i2c OK [23:23:42]MH_I2C_Read... [23:23:42]Read from MH i2c: F0 [23:23:42]MH_I2C_Read... [23:23:42]Read from MH i2c: F0 09 00 [23:23:42]MH_I2C_Read... [23:23:42]Read from MH i2c: F0 09 00 02 0E 00 80 AF 95 66 2D 25 5D 64 45 [23:23:42]GetLastDocTimeStamp 1721085745 [23:23:42]current date 1721085824 [23:23:42]FM_GetShiftState [23:23:42]SAM_PROTO_GetShiftState [23:23:42]wFMCommunicate request_size=4 [23:23:42]MH_SAM_APDU [23:23:42]CAPDU: 80 13 01 00 [23:23:42]Write to MH i2c: E2 08 00 03 0E 80 13 01 00 00 00 00 00 8E [23:23:42]Write i2c OK [23:23:42]MH_I2C_Read... [23:23:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:23:42]Read from MH i2c: E2 [23:23:42]MH_I2C_Read... [23:23:42]Read from MH i2c: E2 0E 00 [23:23:42]MH_I2C_Read... [23:23:42]Read from MH i2c: E2 0E 00 03 0E 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 07 [23:23:42]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [23:23:42]wFMCommunicate OK [23:23:42]SAM_PROTO_GetShiftState done [23:23:42]FM_GetShiftState done [23:23:42]opened in 1721003525 [23:23:42]opened+sec_in_day 1721089925 [23:23:42]quantity*price = 70059 [23:23:42]sum+1 = 70060 [23:23:42]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 СНО: Общий режим Чек 133 15.07.2024 23:23 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57238 ФПД: 163219726435730 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T232344&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57238&fm=163219726435730&tin=02508201610067®Number=0000000000091208&sum=70000 [23:23:43]StoreToDocumentArchive [23:23:43]shift 497 fd 57238 [23:23:43]save to /storage/0497/doc_00057238 [23:23:43]save last doc name /storage/0497/doc_00057238 to /storage/kkm_last_doc_name [23:23:43]save OK [23:23:43]Clear old archive folders... [23:23:43]ProcessDocumentItem done err = 0, tmpTLVsize=252 [23:23:43]tlvbuf is 00874790 [23:23:43]SAM_PROTO_ClearQueue [23:23:43]wFMCommunicate request_size=4 [23:23:43]MH_SAM_APDU [23:23:43]CAPDU: 80 09 00 00 [23:23:43]Write to MH i2c: E2 08 00 10 0E 80 09 00 00 00 00 00 00 90 [23:23:43]Write i2c OK [23:23:43]MH_I2C_Read... [23:23:43]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:23:43]Read from MH i2c: E2 [23:23:43]MH_I2C_Read... [23:23:43]Read from MH i2c: E2 03 00 [23:23:43]MH_I2C_Read... [23:23:43]Read from MH i2c: E2 03 00 10 0E 00 90 00 92 [23:23:43]RAPDU: 90 00 [23:23:43]wFMCommunicate OK [23:23:43]SAM_PROTO_ClearQueue done [23:23:43]KKMCreateOFDPacket [23:23:43]OFDProtocolAddRootSTLVToBuf [23:23:43]FM_MakeSignedData [23:23:43]FM_MakeSignedData [23:23:43]SAM_PROTO_SignData [23:23:43]wFMCommunicate request_size=4 [23:23:43]MH_SAM_APDU [23:23:43]CAPDU: 80 0D 01 02 [23:23:43]Write to MH i2c: E2 08 00 11 0E 80 0D 01 02 00 00 00 00 98 [23:23:43]Write i2c OK [23:23:43]MH_I2C_Read... [23:23:43]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:23:43]Read from MH i2c: E2 [23:23:43]MH_I2C_Read... [23:23:43]Read from MH i2c: E2 03 00 [23:23:43]MH_I2C_Read... [23:23:43]Read from MH i2c: E2 03 00 11 0E 00 90 00 93 [23:23:43]RAPDU: 90 00 [23:23:43]wFMCommunicate OK [23:23:43]wFMCommunicate request_size=255 [23:23:43]MH_SAM_APDU [23:23:43]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 85 00 00 00 F4 03 04 00 80 AF 95 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 96 DF 00 00 35 04 06 00 [23:23:43]Write to MH i2c: E2 02 01 12 0E 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 85 00 00 00 F4 03 04 00 80 AF 95 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 96 DF 00 00 35 04 06 00 00 00 E9 [23:23:43]Write i2c OK [23:23:43]MH_I2C_Read... [23:23:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:23:44]Read from MH i2c: E2 [23:23:44]MH_I2C_Read... [23:23:44]Read from MH i2c: E2 03 00 [23:23:44]MH_I2C_Read... [23:23:44]Read from MH i2c: E2 03 00 12 0E 00 90 00 94 [23:23:44]RAPDU: 90 00 [23:23:44]wFMCommunicate OK [23:23:44]wFMCommunicate request_size=11 [23:23:44]MH_SAM_APDU [23:23:44]CAPDU: 80 0D 02 02 06 94 72 8D D0 85 92 [23:23:44]Write to MH i2c: E2 0E 00 13 0E 80 0D 02 02 06 00 94 72 8D D0 85 92 00 00 21 [23:23:44]Write i2c OK [23:23:44]MH_I2C_Read... [23:23:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:23:44]Read from MH i2c: E2 [23:23:44]MH_I2C_Read... [23:23:44]Read from MH i2c: E2 03 00 [23:23:44]MH_I2C_Read... [23:23:44]Read from MH i2c: E2 03 00 13 0E 00 90 00 95 [23:23:44]RAPDU: 90 00 [23:23:44]wFMCommunicate OK [23:23:44]wFMCommunicate request_size=4 [23:23:44]MH_SAM_APDU [23:23:44]CAPDU: 80 0D 03 02 [23:23:44]Write to MH i2c: E2 08 00 14 0E 80 0D 03 02 00 00 00 00 9D [23:23:44]Write i2c OK [23:23:44]MH_I2C_Read... [23:23:44]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:23:44]Read from MH i2c: E2 [23:23:44]MH_I2C_Read... [23:23:44]Read from MH i2c: E2 0B 00 [23:23:44]MH_I2C_Read... [23:23:44]Read from MH i2c: E2 0B 00 14 0E 00 1C AF C5 0D 6D 55 64 AB 90 00 0C [23:23:44]RAPDU: 1C AF C5 0D 6D 55 64 AB 90 00 [23:23:44]wFMCommunicate OK [23:23:44]SAM_PROTO_SignData done [23:23:44]FM_MakeSignedData done [23:23:44]CreateOFDProtocolMessage [23:23:44]wFMCommunicate request_size=4 [23:23:44]MH_SAM_APDU [23:23:44]CAPDU: 80 11 00 00 [23:23:44]Write to MH i2c: E2 08 00 15 0E 80 11 00 00 00 00 00 00 9D [23:23:44]Write i2c OK [23:23:44]MH_I2C_Read... [23:23:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:23:44]Read from MH i2c: E2 [23:23:44]MH_I2C_Read... [23:23:44]Read from MH i2c: E2 17 00 [23:23:44]MH_I2C_Read... [23:23:44]Read from MH i2c: E2 17 00 15 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 F7 [23:23:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [23:23:44]wFMCommunicate OK [23:23:44]CreateOFDProtocolMessage done [23:23:44]OFDSenderStorePacket 57238 [23:23:44]StoreOFDPacket docnum=57238 [23:23: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 10 01 00 00 65 F5 08 01 6E E8 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 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 85 00 00 00 F4 03 04 00 80 AF 95 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 96 DF 00 00 35 04 06 00 94 72 8D D0 85 92 1C AF C5 0D 6D 55 64 AB [23:23:44]CheckFolder [23:23:44]dirname=/storage/ofd_packets [23:23:44]CheckFolder done [23:23:44]ProducePacketName [23:23:44]name=ofd_packets/00057238 [23:23:44]NVStorageSaveData ofd_packets/00057238 [23:23:44]File name is /storage/ofd_packets/00057238 [23:23:44]Write 302 bytes [23:23:44]NVStorageSaveData done [23:23:44]OFDSenderStorePacket done [23:23:44]KKMCreateOFDPacket done [23:23:44]NVStorageSaveData kkm_last_timestamp [23:23:44]File name is /storage/kkm_last_timestamp [23:23:44]Write 4 bytes [23:23:44]NVStorageSaveData done [23:23:44]ExternCall_PrintAddStr [23:23:44]wPrintStart [23:23:44]Write to MH i2c: 01 00 00 16 0E 24 [23:23:44]Write i2c OK [23:23:44]MH_I2C_Read... [23:23:44]Read from MH i2c: 01 [23:23:44]MH_I2C_Read... [23:23:44]Read from MH i2c: 01 07 00 [23:23:44]MH_I2C_Read... [23:23:44]Read from MH i2c: 01 07 00 16 0E 00 00 00 00 00 FF 0F 39 [23:23:44]RasterBufferAndPrint [23:23:44]line Счет N : (1)856198 [23:23:44]line ИНН: 02508201610067 [23:23:44]line Контрольно-Кассовый Чек [23:23:44]line ПРОДАЖА [23:23:44]line ТРК (МРК, ГНК) : 42 [23:23:44]line Товар: 2710124130 [23:23:44]line SUPER 92-К-5 [23:23:44]line 10.410 * 67.30 [23:23:44]line = 700.59 [23:23:44]line НДС 12% НСП 1% [23:23:44]line > о реализуемом товаре [23:23:44]line ОКРУГЛЕНИЕ: -0.59 [23:23:44]line ИТОГО: 700.00 [23:23:44]line Внесено: 700.00 [23:23:44]line СДАЧА: 0.00 [23:23:44]line НСП 1% : 6.20 [23:23:44]line НДС 12% : 74.40 [23:23:44]line Наличными: 700.00 [23:23:44]line Безнал.: 0.00 [23:23:44]line Место: АЗС № 132 "Партнер Нефть" [23:23:44]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [23:23:44]line СНО: Общий режим [23:23:44]line Чек 133 15.07.2024 23:23 [23:23:44]line Смена: 497 ФФД: 1.0 [23:23:44]line ЗНМ: 0300000132 [23:23:44]line РНМ: 0000000000091208 [23:23:44]line Версия ККМ: 001 [23:23:44]line ФМ: 0000000000874857 [23:23:44]line ФД: 57238 [23:23:44]line ФПД: 163219726435730 [23:23:44]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T232344&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57238&fm=163219726435730&tin=02508201610067®Number=0000000000091208&sum=70000 [23:23:44]OFD Sender: Processing packet 57238 [packets to send 38, broken 37] [23:23:44]ProducePacketName [23:23:44]name=ofd_packets/00057238 [23:23:44]OFD Sender: To server: pG, [23:23:44]CommunicateWithHost lk.salyk.kg:30040 [23:23:44]ConnectInit lk.salyk.kg [23:23:44]written 0, free lines is 4095 [23:23:44]Connected sock=7 [23:23: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 10 01 00 00 65 F5 08 01 6E E8 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 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 85 00 00 00 F4 03 04 00 80 AF 95 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 96 DF 00 00 35 04 06 00 94 72 8D D0 85 92 1C AF C5 0D 6D 55 64 AB [23:23: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 7E 23 47 00 4F 55 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 96 DF 00 00 F4 03 04 00 CD 55 95 66 B6 04 01 00 00 F8 31 1F 82 A4 99 03 AF [23:23:45]CommunicateWithHost err = 0 [23:23:45]CheckOFDResponse [23:23:45]1017 (14) - 77093643461234 [23:23:45]1041 (16) - 0000000000874857 [23:23:45]1040 (4) - 57238 [23:23:45]1012 (4) - 15.07.2024 17:01 [23:23:45]1206 (1) - 0 [23:23:45]OFD Sender: Remove packet 57238 [23:23:45]ProducePacketName [23:23:45]name=ofd_packets/00057238 [23:23:45]NVStorageDeleteData [23:23:45]Write to MH i2c: 01 00 00 41 0E 4F [23:23:45]Write i2c OK [23:23:45]MH_I2C_Read... [23:23:45]Read from MH i2c: 01 [23:23:45]MH_I2C_Read... [23:23:45]Read from MH i2c: 01 07 00 [23:23:45]MH_I2C_Read... [23:23:45]Read from MH i2c: 01 07 00 41 0E 00 00 00 00 00 F7 0C 59 [23:23:45]RasterBufferAndPrint [23:23:45]line [23:23:45]line [23:23:45]line [23:23:45]line [23:23:45]line [23:23:45]written 0, free lines is 3327 [23:23:45]MH_Cut [23:23:45]Write to MH i2c: D1 01 00 48 0E 01 28 [23:23:45]Write i2c OK [23:23:45]MH_I2C_Read... [23:23:45]Read from MH i2c: D1 [23:23:45]MH_I2C_Read... [23:23:45]Read from MH i2c: D1 01 00 [23:23:45]MH_I2C_Read... [23:23:45]Read from MH i2c: D1 01 00 48 0E 00 27 [23:23:45]Write to MH i2c: 01 00 00 49 0E 57 [23:23:45]Write i2c OK [23:23:45]MH_I2C_Read... [23:23:45]OFD Sender: No OFD packet to send [23:23:45]*** Cut start [23:23:45]*** Partial cut [23:23:45]*** CUTSNS_PIN = 1 [23:23:45]*** CUTSNS_PIN = 0 [23:23:46]*** Brake cut motor [23:23:46]Read from MH i2c: 01 [23:23:46]MH_I2C_Read... [23:23:46]*** Stop cut motor [23:23:46]*** Cut end [23:23:46]Read from MH i2c: 01 07 00 [23:23:46]MH_I2C_Read... [23:23:46]Read from MH i2c: 01 07 00 49 0E 00 00 00 00 00 FF 0F 6C [23:23:46]process_action close_receipt done [23:23:46]requested_data is exist [23:23:46]produce_requested_data [23:23:46]requested_item fm.sn is exist - process it [23:23:46]wFMCommunicate request_size=4 [23:23:46]MH_SAM_APDU [23:23:46]CAPDU: 80 11 00 00 [23:23:46]Write to MH i2c: E2 08 00 4A 0E 80 11 00 00 00 00 00 00 D2 [23:23:46]Write i2c OK [23:23:46]MH_I2C_Read... [23:23:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:23:46]Read from MH i2c: E2 [23:23:46]MH_I2C_Read... [23:23:46]Read from MH i2c: E2 17 00 [23:23:46]MH_I2C_Read... [23:23:46]Read from MH i2c: E2 17 00 4A 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 2C [23:23:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [23:23:46]wFMCommunicate OK [23:23:46]requested_item fd.num is exist - process it [23:23:46]SAM_PROTO_GetFieldsCounters [23:23:46]wFMCommunicate request_size=4 [23:23:46]MH_SAM_APDU [23:23:46]CAPDU: 80 13 00 00 [23:23:46]Write to MH i2c: E2 08 00 4B 0E 80 13 00 00 00 00 00 00 D5 [23:23:46]Write i2c OK [23:23:46]MH_I2C_Read... [23:23:46]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:23:46]Read from MH i2c: E2 [23:23:46]MH_I2C_Read... [23:23:46]Read from MH i2c: E2 62 00 [23:23:46]MH_I2C_Read... [23:23:46]Read from MH i2c: E2 62 00 4B 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 96 DF 00 00 0E 04 04 00 F1 01 00 00 12 04 04 00 85 00 00 00 5E 04 04 00 85 00 00 00 57 04 04 00 86 00 00 00 19 04 04 00 00 00 00 00 90 00 EE [23:23: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 96 DF 00 00 0E 04 04 00 F1 01 00 00 12 04 04 00 85 00 00 00 5E 04 04 00 85 00 00 00 57 04 04 00 86 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:23:46]wFMCommunicate OK [23:23:46]SAM_PROTO_GetFieldsCounters done [23:23:46]requested_item shift.num is exist - process it [23:23:46]requested_item shift.opened is exist - process it [23:23:46]req_shift_opened [23:23:46]FM_GetShiftState [23:23:46]SAM_PROTO_GetShiftState [23:23:46]wFMCommunicate request_size=4 [23:23:46]MH_SAM_APDU [23:23:46]CAPDU: 80 13 01 00 [23:23:46]Write to MH i2c: E2 08 00 4C 0E 80 13 01 00 00 00 00 00 D7 [23:23:46]Write i2c OK [23:23:46]MH_I2C_Read... [23:23:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:23:46]Read from MH i2c: E2 [23:23:46]MH_I2C_Read... [23:23:46]Read from MH i2c: E2 0E 00 [23:23:46]MH_I2C_Read... [23:23:46]Read from MH i2c: E2 0E 00 4C 0E 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 50 [23:23:46]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [23:23:46]wFMCommunicate OK [23:23:46]SAM_PROTO_GetShiftState done [23:23:46]FM_GetShiftState done [23:23:46]req_shift_opened done [23:23:46]requested_item shift.open_date is exist - process it [23:23:46]req_shift_open_date [23:23:46]req_shift_open_date done [23:23:46]requested_item shift.sale.total is exist - process it [23:23:46]SAM_PROTO_GetShiftData [23:23:46]wFMCommunicate request_size=4 [23:23:46]MH_SAM_APDU [23:23:46]CAPDU: 80 13 02 00 [23:23:46]Write to MH i2c: E2 08 00 4D 0E 80 13 02 00 00 00 00 00 D9 [23:23:46]Write i2c OK [23:23:46]MH_I2C_Read... [23:23:47]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:23:47]Read from MH i2c: E2 [23:23:47]MH_I2C_Read... [23:23:47]Read from MH i2c: E2 FD 00 [23:23:47]MH_I2C_Read... [23:23:47]Read from MH i2c: E2 FD 00 4D 0E 00 B6 04 AA 04 B2 04 6E 04 04 00 85 00 00 00 69 04 9B 00 6F 04 04 00 84 00 00 00 B1 04 03 00 AB 3E 3E 70 04 03 00 04 61 31 72 04 03 00 A7 DD 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 5B 9C 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 02 8D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 1D [23:23:47]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 85 00 00 00 69 04 9B 00 6F 04 04 00 84 00 00 00 B1 04 03 00 AB 3E 3E 70 04 03 00 04 61 31 72 04 03 00 A7 DD 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 5B 9C 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 02 8D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 [23:23:47]wFMCommunicate OK [23:23:47]wFMCommunicate request_size=4 [23:23:47]MH_SAM_APDU [23:23:47]CAPDU: 80 17 00 00 [23:23:47]Write to MH i2c: E2 08 00 4E 0E 80 17 00 00 00 00 00 00 DC [23:23:47]Write i2c OK [23:23:47]MH_I2C_Read... [23:23:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:23:47]Read from MH i2c: E2 [23:23:47]MH_I2C_Read... [23:23:47]Read from MH i2c: E2 FD 00 [23:23:47]MH_I2C_Read... [23:23:47]Read from MH i2c: E2 FD 00 4E 0E 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 11 [23:23:47]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 [23:23:47]wFMCommunicate OK [23:23:47]wFMCommunicate request_size=4 [23:23:47]MH_SAM_APDU [23:23:47]CAPDU: 80 17 00 00 [23:23:47]Write to MH i2c: E2 08 00 4F 0E 80 17 00 00 00 00 00 00 DD [23:23:47]Write i2c OK [23:23:47]MH_I2C_Read... [23:23:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:23:47]Read from MH i2c: E2 [23:23:47]MH_I2C_Read... [23:23:47]Read from MH i2c: E2 FD 00 [23:23:47]MH_I2C_Read... [23:23:47]Read from MH i2c: E2 FD 00 4F 0E 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 9D [23:23:47]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 [23:23:47]wFMCommunicate OK [23:23:47]wFMCommunicate request_size=4 [23:23:47]MH_SAM_APDU [23:23:47]CAPDU: 80 17 00 00 [23:23:47]Write to MH i2c: E2 08 00 50 0E 80 17 00 00 00 00 00 00 DE [23:23:47]Write i2c OK [23:23:47]MH_I2C_Read... [23:23:48]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:23:48]Read from MH i2c: E2 [23:23:48]MH_I2C_Read... [23:23:48]Read from MH i2c: E2 FD 00 [23:23:48]MH_I2C_Read... [23:23:48]Read from MH i2c: E2 FD 00 50 0E 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 4D [23:23:48]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 [23:23:48]wFMCommunicate OK [23:23:48]wFMCommunicate request_size=4 [23:23:48]MH_SAM_APDU [23:23:48]CAPDU: 80 17 00 00 [23:23:48]Write to MH i2c: E2 08 00 51 0E 80 17 00 00 00 00 00 00 DF [23:23:48]Write i2c OK [23:23:48]MH_I2C_Read... [23:23:48]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [23:23:48]Read from MH i2c: E2 [23:23:48]MH_I2C_Read... [23:23:48]Read from MH i2c: E2 D3 00 [23:23:48]MH_I2C_Read... [23:23:48]Read from MH i2c: E2 D3 00 51 0E 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 CC [23:23:48]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 [23:23:48]wFMCommunicate OK [23:23:48]SAM_PROTO_GetShiftData done [23:23:48]requested_item shift.sale.total_cash is exist - process it [23:23:48]requested_item shift.sale_refund.total is exist - process it [23:23:48]requested_item shift.sale_refund.total_cash is exist - process it [23:23:48]produce_requested_data done [23:23:48]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57238,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":40792.75,"shift.sale.total_cash":32361.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [23:23:48]process_action_free close_receipt [23:23:48]json_value_free [23:23:48]json_value_free done [23:23:48]process_json_proto returns [23:23:48]Send response to host [23:23:48]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57238,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":40792.75,"shift.sale.total_cash":32361.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [23:23:48]free response buf [23:23:48]execute_script done [23:23:48]execute_script returns [23:23:48]free content buf [23:23:48]Sock 9.Close socket [23:23:48]Sock 9.Thread stoped [23:23:50]OFD Sender: No OFD packet to send [23:23:55]OFD Sender: No OFD packet to send [23:24:00]OFD Sender: No OFD packet to send [23:24:05]OFD Sender: No OFD packet to send [23:24:10]OFD Sender: No OFD packet to send [23:24:15]OFD Sender: No OFD packet to send [23:24:20]OFD Sender: No OFD packet to send [23:24:25]OFD Sender: No OFD packet to send [23:24:30]OFD Sender: No OFD packet to send [23:24:35]OFD Sender: No OFD packet to send [23:24:40]OFD Sender: No OFD packet to send [23:24:45]OFD Sender: No OFD packet to send [23:24:50]OFD Sender: No OFD packet to send [23:24:55]OFD Sender: No OFD packet to send [23:25:00]OFD Sender: No OFD packet to send [23:25:05]OFD Sender: No OFD packet to send [23:25:10]OFD Sender: No OFD packet to send [23:25:15]OFD Sender: No OFD packet to send [23:25:20]OFD Sender: No OFD packet to send [23:25:25]OFD Sender: No OFD packet to send [23:25:30]OFD Sender: No OFD packet to send [23:25:35]OFD Sender: No OFD packet to send [23:25:40]OFD Sender: No OFD packet to send [23:25:45]OFD Sender: No OFD packet to send [23:25:50]OFD Sender: No OFD packet to send [23:25:55]OFD Sender: No OFD packet to send [23:26:00]OFD Sender: No OFD packet to send [23:26:05]OFD Sender: No OFD packet to send [23:26:10]OFD Sender: No OFD packet to send [23:26:15]OFD Sender: No OFD packet to send [23:26:20]OFD Sender: No OFD packet to send [23:26:25]OFD Sender: No OFD packet to send [23:26:30]OFD Sender: No OFD packet to send [23:26:35]OFD Sender: No OFD packet to send [23:26:40]OFD Sender: No OFD packet to send [23:26:45]OFD Sender: No OFD packet to send [23:26:50]OFD Sender: No OFD packet to send [23:26:55]OFD Sender: No OFD packet to send [23:27:00]OFD Sender: No OFD packet to send [23:27:05]OFD Sender: No OFD packet to send [23:27:10]OFD Sender: No OFD packet to send [23:27:15]OFD Sender: No OFD packet to send [23:27:20]OFD Sender: No OFD packet to send [23:27:25]OFD Sender: No OFD packet to send [23:27:30]OFD Sender: No OFD packet to send [23:27:35]OFD Sender: No OFD packet to send [23:27:40]OFD Sender: No OFD packet to send [23:27:45]OFD Sender: No OFD packet to send [23:27:50]OFD Sender: No OFD packet to send [23:27:55]OFD Sender: No OFD packet to send [23:28:00]OFD Sender: No OFD packet to send [23:28:05]OFD Sender: No OFD packet to send [23:28:10]OFD Sender: No OFD packet to send [23:28:15]OFD Sender: No OFD packet to send [23:28:20]OFD Sender: No OFD packet to send [23:28:25]OFD Sender: No OFD packet to send [23:28:30]OFD Sender: No OFD packet to send [23:28:35]OFD Sender: No OFD packet to send [23:28:40]OFD Sender: No OFD packet to send [23:28:45]OFD Sender: No OFD packet to send [23:28:50]OFD Sender: No OFD packet to send [23:28:55]OFD Sender: No OFD packet to send [23:29:00]OFD Sender: No OFD packet to send [23:29:05]OFD Sender: No OFD packet to send [23:29:10]OFD Sender: No OFD packet to send [23:29:15]OFD Sender: No OFD packet to send [23:29:20]OFD Sender: No OFD packet to send [23:29:25]OFD Sender: No OFD packet to send [23:29:30]OFD Sender: No OFD packet to send [23:29:35]OFD Sender: No OFD packet to send [23:29:40]OFD Sender: No OFD packet to send [23:29:45]OFD Sender: No OFD packet to send [23:29:50]OFD Sender: No OFD packet to send [23:29:55]OFD Sender: No OFD packet to send [23:30:00]OFD Sender: No OFD packet to send [23:30:05]OFD Sender: No OFD packet to send [23:30:10]OFD Sender: No OFD packet to send [23:30:15]OFD Sender: No OFD packet to send [23:30:20]OFD Sender: No OFD packet to send [23:30:25]OFD Sender: No OFD packet to send [23:30:30]OFD Sender: No OFD packet to send [23:30:35]OFD Sender: No OFD packet to send [23:30:40]OFD Sender: No OFD packet to send [23:30:45]OFD Sender: No OFD packet to send [23:30:50]OFD Sender: No OFD packet to send [23:30:55]OFD Sender: No OFD packet to send [23:31:00]OFD Sender: No OFD packet to send [23:31:05]OFD Sender: No OFD packet to send [23:31:10]OFD Sender: No OFD packet to send [23:31:15]OFD Sender: No OFD packet to send [23:31:20]OFD Sender: No OFD packet to send [23:31:25]OFD Sender: No OFD packet to send [23:31:30]OFD Sender: No OFD packet to send [23:31:35]OFD Sender: No OFD packet to send [23:31:40]OFD Sender: No OFD packet to send [23:31:45]OFD Sender: No OFD packet to send [23:31:50]OFD Sender: No OFD packet to send [23:31:55]OFD Sender: No OFD packet to send [23:32:00]OFD Sender: No OFD packet to send [23:32:05]OFD Sender: No OFD packet to send [23:32:10]OFD Sender: No OFD packet to send [23:32:16]OFD Sender: No OFD packet to send [23:32:21]OFD Sender: No OFD packet to send [23:32:26]OFD Sender: No OFD packet to send [23:32:31]OFD Sender: No OFD packet to send [23:32:36]OFD Sender: No OFD packet to send [23:32:41]OFD Sender: No OFD packet to send [23:32:46]OFD Sender: No OFD packet to send [23:32:51]OFD Sender: No OFD packet to send [23:32:56]OFD Sender: No OFD packet to send [23:33:01]OFD Sender: No OFD packet to send [23:33:06]OFD Sender: No OFD packet to send [23:33:11]OFD Sender: No OFD packet to send [23:33:16]OFD Sender: No OFD packet to send [23:33:21]OFD Sender: No OFD packet to send [23:33:26]OFD Sender: No OFD packet to send [23:33:31]OFD Sender: No OFD packet to send [23:33:36]OFD Sender: No OFD packet to send [23:33:41]OFD Sender: No OFD packet to send [23:33:46]OFD Sender: No OFD packet to send [23:33:51]OFD Sender: No OFD packet to send [23:33:56]OFD Sender: No OFD packet to send [23:34:01]OFD Sender: No OFD packet to send [23:34:06]OFD Sender: No OFD packet to send [23:34:11]OFD Sender: No OFD packet to send [23:34:16]OFD Sender: No OFD packet to send [23:34:21]OFD Sender: No OFD packet to send [23:34:26]OFD Sender: No OFD packet to send [23:34:31]OFD Sender: No OFD packet to send [23:34:36]OFD Sender: No OFD packet to send [23:34:41]OFD Sender: No OFD packet to send [23:34:46]OFD Sender: No OFD packet to send [23:34:51]OFD Sender: No OFD packet to send [23:34:56]OFD Sender: No OFD packet to send [23:35:01]OFD Sender: No OFD packet to send [23:35:06]OFD Sender: No OFD packet to send [23:35:11]OFD Sender: No OFD packet to send [23:35:16]OFD Sender: No OFD packet to send [23:35:21]OFD Sender: No OFD packet to send [23:35:26]OFD Sender: No OFD packet to send [23:35:31]OFD Sender: No OFD packet to send [23:35:36]OFD Sender: No OFD packet to send [23:35:41]OFD Sender: No OFD packet to send [23:35:46]OFD Sender: No OFD packet to send [23:35:51]OFD Sender: No OFD packet to send [23:35:56]OFD Sender: No OFD packet to send [23:36:01]OFD Sender: No OFD packet to send [23:36:06]OFD Sender: No OFD packet to send [23:36:11]OFD Sender: No OFD packet to send [23:36:16]OFD Sender: No OFD packet to send [23:36:21]OFD Sender: No OFD packet to send [23:36:26]OFD Sender: No OFD packet to send [23:36:31]OFD Sender: No OFD packet to send [23:36:36]OFD Sender: No OFD packet to send [23:36:41]OFD Sender: No OFD packet to send [23:36:46]OFD Sender: No OFD packet to send [23:36:51]OFD Sender: No OFD packet to send [23:36:56]OFD Sender: No OFD packet to send [23: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:29]accept exits with 10 [23:38:29]New connection [23:38:29]New thread 3067014500 created [23:38:29]Thread 3066871140 joined [23:38:29]Waiting for new connection... [23:38:29] Sock 10.Parse request [23:38:29]Sock 10.Check first char [23:38:29]Sock 10.First char is OK [23:38:29]request: POST /json_proto HTTP/1.0 [23:38:29]Method: POST [23:38:29]URL: /json_proto [23:38:29]Method is POST - this is cgi request [23:38:29]url: /json_proto [23:38:29]query_string will be loaded in cgi processing [23:38:29]execute_cgi json_proto POST (null) [23:38:29]execute_cgi path=json_proto method=POST [23:38:29]POST find Content-Length [23:38:29]Host: 172.17.39.4:8080 [23:38:29]Content-Length: 723 [23:38:29]Content-Type: application/json [23:38:29] [23:38:29]POST finish read [23:38:29]Found Content-Length = 723 [23:38:29]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129675", "tax_sys" : 0, "items" : [ { "code": "4640030090051", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Esse Menthol", "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" ] } } [23:38:29]execute_script... [23:38: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)129675", "tax_sys" : 0, "items" : [ { "code": "4640030090051", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Esse Menthol", "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" ] } } [23:38:29]POST & json_proto [23:38:29]process_json_proto [23:38:29]json parsed OK: [23:38:29]protocol is kg_v1.0 [23:38:29]action value=close_receipt [23:38:29]process_action close_receipt [23:38:29]cmd_close_receipt [23:38:29]MH_GetDate [23:38:29]Write to MH i2c: F0 00 00 52 0E 4F [23:38:29]Write i2c OK [23:38:29]MH_I2C_Read... [23:38:29]Read from MH i2c: F0 [23:38:29]MH_I2C_Read... [23:38:29]Read from MH i2c: F0 09 00 [23:38:29]MH_I2C_Read... [23:38:29]Read from MH i2c: F0 09 00 52 0E 00 F7 B2 95 66 2D 25 5D 64 0F [23:38:29]GetLastDocTimeStamp 1721085824 [23:38:29]current date 1721086711 [23:38:29]FM_GetShiftState [23:38:29]SAM_PROTO_GetShiftState [23:38:29]wFMCommunicate request_size=4 [23:38:29]MH_SAM_APDU [23:38:29]CAPDU: 80 13 01 00 [23:38:29]Write to MH i2c: E2 08 00 53 0E 80 13 01 00 00 00 00 00 DE [23:38:29]Write i2c OK [23:38:29]MH_I2C_Read... [23:38:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:38:29]Read from MH i2c: E2 [23:38:29]MH_I2C_Read... [23:38:29]Read from MH i2c: E2 0E 00 [23:38:29]MH_I2C_Read... [23:38:29]Read from MH i2c: E2 0E 00 53 0E 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 57 [23:38:29]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [23:38:29]wFMCommunicate OK [23:38:29]SAM_PROTO_GetShiftState done [23:38:29]FM_GetShiftState done [23:38:29]opened in 1721003525 [23:38:29]opened+sec_in_day 1721089925 [23:38:29]quantity*price = 13800 [23:38:29]sum+1 = 13801 [23:38:29]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 СНО: Общий режим Чек 134 15.07.2024 23:38 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57239 ФПД: 1001902796851 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T233831&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57239&fm=1001902796851&tin=02508201610067®Number=0000000000091208&sum=13800 0 [23:38:30]StoreToDocumentArchive [23:38:30]shift 497 fd 57239 [23:38:30]save to /storage/0497/doc_00057239 [23:38:30]save last doc name /storage/0497/doc_00057239 to /storage/kkm_last_doc_name [23:38:30]save OK [23:38:30]Clear old archive folders... [23:38:30]ProcessDocumentItem done err = 0, tmpTLVsize=271 [23:38:30]tlvbuf is 00880120 [23:38:30]SAM_PROTO_ClearQueue [23:38:30]wFMCommunicate request_size=4 [23:38:30]MH_SAM_APDU [23:38:30]CAPDU: 80 09 00 00 [23:38:30]Write to MH i2c: E2 08 00 60 0E 80 09 00 00 00 00 00 00 E0 [23:38:30]Write i2c OK [23:38:30]MH_I2C_Read... [23:38:30]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:38:30]Read from MH i2c: E2 [23:38:30]MH_I2C_Read... [23:38:30]Read from MH i2c: E2 03 00 [23:38:30]MH_I2C_Read... [23:38:30]Read from MH i2c: E2 03 00 60 0E 00 90 00 E2 [23:38:30]RAPDU: 90 00 [23:38:30]wFMCommunicate OK [23:38:30]SAM_PROTO_ClearQueue done [23:38:30]KKMCreateOFDPacket [23:38:30]OFDProtocolAddRootSTLVToBuf [23:38:30]FM_MakeSignedData [23:38:30]FM_MakeSignedData [23:38:30]SAM_PROTO_SignData [23:38:30]wFMCommunicate request_size=4 [23:38:30]MH_SAM_APDU [23:38:30]CAPDU: 80 0D 01 02 [23:38:30]Write to MH i2c: E2 08 00 61 0E 80 0D 01 02 00 00 00 00 E8 [23:38:30]Write i2c OK [23:38:30]MH_I2C_Read... [23:38:30]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:38:30]Read from MH i2c: E2 [23:38:30]MH_I2C_Read... [23:38:30]Read from MH i2c: E2 03 00 [23:38:30]MH_I2C_Read... [23:38:30]Read from MH i2c: E2 03 00 61 0E 00 90 00 E3 [23:38:30]RAPDU: 90 00 [23:38:30]wFMCommunicate OK [23:38:30]wFMCommunicate request_size=255 [23:38:30]MH_SAM_APDU [23:38:30]CAPDU: 80 0D 02 02 FA 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 30 30 35 31 06 04 1D 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 73 73 65 20 4D 65 6E 74 68 6F 6C 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 86 00 00 00 F4 03 04 00 F7 B2 95 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 [23:38:30]Write to MH i2c: E2 02 01 62 0E 80 0D 02 02 FA 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 30 30 35 31 06 04 1D 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 73 73 65 20 4D 65 6E 74 68 6F 6C 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 86 00 00 00 F4 03 04 00 F7 B2 95 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 00 00 60 [23:38:30]Write i2c OK [23:38:30]MH_I2C_Read... [23:38:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:38:30]Read from MH i2c: E2 [23:38:30]MH_I2C_Read... [23:38:30]Read from MH i2c: E2 03 00 [23:38:30]MH_I2C_Read... [23:38:30]Read from MH i2c: E2 03 00 62 0E 00 90 00 E4 [23:38:30]RAPDU: 90 00 [23:38:30]wFMCommunicate OK [23:38:30]wFMCommunicate request_size=30 [23:38:30]MH_SAM_APDU [23:38:30]CAPDU: 80 0D 02 02 19 30 38 37 34 38 35 37 10 04 04 00 97 DF 00 00 35 04 06 00 00 E9 46 0F 70 33 [23:38:30]Write to MH i2c: E2 21 00 63 0E 80 0D 02 02 19 00 30 38 37 34 38 35 37 10 04 04 00 97 DF 00 00 35 04 06 00 00 E9 46 0F 70 33 00 00 42 [23:38:30]Write i2c OK [23:38:30]MH_I2C_Read... [23:38:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:38:31]Read from MH i2c: E2 [23:38:31]MH_I2C_Read... [23:38:31]Read from MH i2c: E2 03 00 [23:38:31]MH_I2C_Read... [23:38:31]Read from MH i2c: E2 03 00 63 0E 00 90 00 E5 [23:38:31]RAPDU: 90 00 [23:38:31]wFMCommunicate OK [23:38:31]wFMCommunicate request_size=4 [23:38:31]MH_SAM_APDU [23:38:31]CAPDU: 80 0D 03 02 [23:38:31]Write to MH i2c: E2 08 00 64 0E 80 0D 03 02 00 00 00 00 ED [23:38:31]Write i2c OK [23:38:31]MH_I2C_Read... [23:38:31]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:38:31]Read from MH i2c: E2 [23:38:31]MH_I2C_Read... [23:38:31]Read from MH i2c: E2 0B 00 [23:38:31]MH_I2C_Read... [23:38:31]Read from MH i2c: E2 0B 00 64 0E 00 18 CA DC 62 10 05 F7 D5 90 00 EF [23:38:31]RAPDU: 18 CA DC 62 10 05 F7 D5 90 00 [23:38:31]wFMCommunicate OK [23:38:31]SAM_PROTO_SignData done [23:38:31]FM_MakeSignedData done [23:38:31]CreateOFDProtocolMessage [23:38:31]wFMCommunicate request_size=4 [23:38:31]MH_SAM_APDU [23:38:31]CAPDU: 80 11 00 00 [23:38:31]Write to MH i2c: E2 08 00 65 0E 80 11 00 00 00 00 00 00 ED [23:38:31]Write i2c OK [23:38:31]MH_I2C_Read... [23:38:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:38:31]Read from MH i2c: E2 [23:38:31]MH_I2C_Read... [23:38:31]Read from MH i2c: E2 17 00 [23:38:31]MH_I2C_Read... [23:38:31]Read from MH i2c: E2 17 00 65 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 47 [23:38:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [23:38:31]wFMCommunicate OK [23:38:31]CreateOFDProtocolMessage done [23:38:31]OFDSenderStorePacket 57239 [23:38:31]StoreOFDPacket docnum=57239 [23:38:31]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 28 36 1B 01 15 92 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 30 30 35 31 06 04 1D 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 73 73 65 20 4D 65 6E 74 68 6F 6C 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 86 00 00 00 F4 03 04 00 F7 B2 95 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 97 DF 00 00 35 04 06 00 00 E9 46 0F 70 33 18 CA DC 62 10 05 F7 D5 [23:38:31]CheckFolder [23:38:31]dirname=/storage/ofd_packets [23:38:31]CheckFolder done [23:38:31]ProducePacketName [23:38:31]name=ofd_packets/00057239 [23:38:31]NVStorageSaveData ofd_packets/00057239 [23:38:31]File name is /storage/ofd_packets/00057239 [23:38:31]Write 321 bytes [23:38:31]NVStorageSaveData done [23:38:31]OFDSenderStorePacket done [23:38:31]KKMCreateOFDPacket done [23:38:31]NVStorageSaveData kkm_last_timestamp [23:38:31]File name is /storage/kkm_last_timestamp [23:38:31]Write 4 bytes [23:38:31]NVStorageSaveData done [23:38:31]ExternCall_PrintAddStr [23:38:31]wPrintStart [23:38:31]Write to MH i2c: 01 00 00 66 0E 74 [23:38:31]Write i2c OK [23:38:31]MH_I2C_Read... [23:38:31]Read from MH i2c: 01 [23:38:31]MH_I2C_Read... [23:38:31]Read from MH i2c: 01 07 00 [23:38:31]MH_I2C_Read... [23:38:31]Read from MH i2c: 01 07 00 66 0E 00 00 00 00 00 FF 0F 89 [23:38:31]RasterBufferAndPrint [23:38:31]line Счет N : (3)129675 [23:38:31]line ИНН: 02508201610067 [23:38:31]line Контрольно-Кассовый Чек [23:38:31]line ПРОДАЖА [23:38:31]line Товар: 4640030090051 [23:38:31]line Сигареты Esse Menthol [23:38:31]line 1.000 * 138.00 [23:38:31]line = 138.00 [23:38:31]line НДС 12% НСП 1% [23:38:31]line > о реализуемом товаре [23:38:31]line ИТОГО: 138.00 [23:38:31]line НСП 1% : 1.22 [23:38:31]line НДС 12% : 14.65 [23:38:31]line Наличными: 138.00 [23:38:31]line Безнал.: 0.00 [23:38:31]line Место: АЗС № 132 "Партнер Нефть" [23:38:31]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [23:38:31]line СНО: Общий режим [23:38:31]line Чек 134 15.07.2024 23:38 [23:38:31]line Смена: 497 ФФД: 1.0 [23:38:31]line ЗНМ: 0300000132 [23:38:31]line РНМ: 0000000000091208 [23:38:31]line Версия ККМ: 001 [23:38:31]line ФМ: 0000000000874857 [23:38:31]line ФД: 57239 [23:38:31]line ФПД: 1001902796851 [23:38:31]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T233831&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57239&fm=1001902796851&tin=02508201610067®Number=0000000000091208&sum=13800 [23:38:31]line 0 [23:38:31]written 0, free lines is 4095 [23:38:31]OFD Sender: Processing packet 57239 [packets to send 38, broken 37] [23:38:31]ProducePacketName [23:38:31]name=ofd_packets/00057239 [23:38:31]OFD Sender: To server: pG, [23:38:31]CommunicateWithHost lk.salyk.kg:30040 [23:38:31]ConnectInit lk.salyk.kg [23:38:31]Connected sock=11 [23:38: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 23 01 00 00 28 36 1B 01 15 92 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 30 30 35 31 06 04 1D 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 73 73 65 20 4D 65 6E 74 68 6F 6C 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 86 00 00 00 F4 03 04 00 F7 B2 95 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 97 DF 00 00 35 04 06 00 00 E9 46 0F 70 33 18 CA DC 62 10 05 F7 D5 [23:38: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 58 AC 47 00 04 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 97 DF 00 00 F4 03 04 00 43 59 95 66 B6 04 01 00 00 FC 87 35 7B 84 CE F2 AF [23:38:31]CommunicateWithHost err = 0 [23:38:31]CheckOFDResponse [23:38:31]1017 (14) - 77093643461234 [23:38:31]1041 (16) - 0000000000874857 [23:38:31]1040 (4) - 57239 [23:38:31]1012 (4) - 15.07.2024 17:15 [23:38:31]1206 (1) - 0 [23:38:31]OFD Sender: Remove packet 57239 [23:38:31]ProducePacketName [23:38:31]name=ofd_packets/00057239 [23:38:31]NVStorageDeleteData [23:38:31]Write to MH i2c: 01 00 00 8E 0E 9C [23:38:31]Write i2c OK [23:38:31]MH_I2C_Read... [23:38:31]Read from MH i2c: 01 [23:38:31]MH_I2C_Read... [23:38:31]Read from MH i2c: 01 07 00 [23:38:31]MH_I2C_Read... [23:38:31]Read from MH i2c: 01 07 00 8E 0E 00 00 00 00 00 10 0D C0 [23:38:31]RasterBufferAndPrint [23:38:31]line [23:38:31]line [23:38:31]line [23:38:31]line [23:38:31]line [23:38:31]written 0, free lines is 3350 [23:38:31]MH_Cut [23:38:31]Write to MH i2c: D1 01 00 95 0E 01 75 [23:38:31]Write i2c OK [23:38:31]MH_I2C_Read... [23:38:31]Read from MH i2c: D1 [23:38:31]MH_I2C_Read... [23:38:31]Read from MH i2c: D1 01 00 [23:38:31]MH_I2C_Read... [23:38:31]Read from MH i2c: D1 01 00 95 0E 00 74 [23:38:31]Write to MH i2c: 01 00 00 96 0E A4 [23:38:31]Write i2c OK [23:38:31]MH_I2C_Read... [23:38:31]OFD Sender: No OFD packet to send [23:38:32]*** Cut start [23:38:32]*** Partial cut [23:38:32]*** CUTSNS_PIN = 1 [23:38:32]*** CUTSNS_PIN = 0 [23:38:32]*** Brake cut motor [23:38:32]Read from MH i2c: 01 [23:38:32]MH_I2C_Read... [23:38:32]*** Stop cut motor [23:38:32]*** Cut end [23:38:32]Read from MH i2c: 01 07 00 [23:38:32]MH_I2C_Read... [23:38:32]Read from MH i2c: 01 07 00 96 0E 00 00 00 00 00 FF 0F B9 [23:38:32]process_action close_receipt done [23:38:32]requested_data is exist [23:38:32]produce_requested_data [23:38:32]requested_item fm.sn is exist - process it [23:38:32]wFMCommunicate request_size=4 [23:38:32]MH_SAM_APDU [23:38:32]CAPDU: 80 11 00 00 [23:38:32]Write to MH i2c: E2 08 00 97 0E 80 11 00 00 00 00 00 00 1F [23:38:32]Write i2c OK [23:38:32]MH_I2C_Read... [23:38:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:38:32]Read from MH i2c: E2 [23:38:32]MH_I2C_Read... [23:38:32]Read from MH i2c: E2 17 00 [23:38:32]MH_I2C_Read... [23:38:32]Read from MH i2c: E2 17 00 97 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 79 [23:38:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [23:38:32]wFMCommunicate OK [23:38:32]requested_item fd.num is exist - process it [23:38:32]SAM_PROTO_GetFieldsCounters [23:38:32]wFMCommunicate request_size=4 [23:38:32]MH_SAM_APDU [23:38:32]CAPDU: 80 13 00 00 [23:38:32]Write to MH i2c: E2 08 00 98 0E 80 13 00 00 00 00 00 00 22 [23:38:32]Write i2c OK [23:38:32]MH_I2C_Read... [23:38:33]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:38:33]Read from MH i2c: E2 [23:38:33]MH_I2C_Read... [23:38:33]Read from MH i2c: E2 62 00 [23:38:33]MH_I2C_Read... [23:38:33]Read from MH i2c: E2 62 00 98 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 97 DF 00 00 0E 04 04 00 F1 01 00 00 12 04 04 00 86 00 00 00 5E 04 04 00 86 00 00 00 57 04 04 00 87 00 00 00 19 04 04 00 00 00 00 00 90 00 3F [23:38: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 97 DF 00 00 0E 04 04 00 F1 01 00 00 12 04 04 00 86 00 00 00 5E 04 04 00 86 00 00 00 57 04 04 00 87 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:38:33]wFMCommunicate OK [23:38:33]SAM_PROTO_GetFieldsCounters done [23:38:33]requested_item shift.num is exist - process it [23:38:33]requested_item shift.opened is exist - process it [23:38:33]req_shift_opened [23:38:33]FM_GetShiftState [23:38:33]SAM_PROTO_GetShiftState [23:38:33]wFMCommunicate request_size=4 [23:38:33]MH_SAM_APDU [23:38:33]CAPDU: 80 13 01 00 [23:38:33]Write to MH i2c: E2 08 00 99 0E 80 13 01 00 00 00 00 00 24 [23:38:33]Write i2c OK [23:38:33]MH_I2C_Read... [23:38:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:38:33]Read from MH i2c: E2 [23:38:33]MH_I2C_Read... [23:38:33]Read from MH i2c: E2 0E 00 [23:38:33]MH_I2C_Read... [23:38:33]Read from MH i2c: E2 0E 00 99 0E 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 9D [23:38:33]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [23:38:33]wFMCommunicate OK [23:38:33]SAM_PROTO_GetShiftState done [23:38:33]FM_GetShiftState done [23:38:33]req_shift_opened done [23:38:33]requested_item shift.open_date is exist - process it [23:38:33]req_shift_open_date [23:38:33]req_shift_open_date done [23:38:33]requested_item shift.sale.total is exist - process it [23:38:33]SAM_PROTO_GetShiftData [23:38:33]wFMCommunicate request_size=4 [23:38:33]MH_SAM_APDU [23:38:33]CAPDU: 80 13 02 00 [23:38:33]Write to MH i2c: E2 08 00 9A 0E 80 13 02 00 00 00 00 00 26 [23:38:33]Write i2c OK [23:38:33]MH_I2C_Read... [23:38:33]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:38:33]Read from MH i2c: E2 [23:38:33]MH_I2C_Read... [23:38:33]Read from MH i2c: E2 FD 00 [23:38:33]MH_I2C_Read... [23:38:33]Read from MH i2c: E2 FD 00 9A 0E 00 B6 04 AA 04 B2 04 6E 04 04 00 86 00 00 00 69 04 9B 00 6F 04 04 00 85 00 00 00 B1 04 03 00 93 74 3E 70 04 03 00 EC 96 31 72 04 03 00 A7 DD 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 14 A2 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 7C 8D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 E0 [23:38:33]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 86 00 00 00 69 04 9B 00 6F 04 04 00 85 00 00 00 B1 04 03 00 93 74 3E 70 04 03 00 EC 96 31 72 04 03 00 A7 DD 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 14 A2 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 7C 8D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 [23:38:33]wFMCommunicate OK [23:38:33]wFMCommunicate request_size=4 [23:38:33]MH_SAM_APDU [23:38:33]CAPDU: 80 17 00 00 [23:38:33]Write to MH i2c: E2 08 00 9B 0E 80 17 00 00 00 00 00 00 29 [23:38:33]Write i2c OK [23:38:33]MH_I2C_Read... [23:38:33]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:38:33]Read from MH i2c: E2 [23:38:33]MH_I2C_Read... [23:38:33]Read from MH i2c: E2 FD 00 [23:38:33]MH_I2C_Read... [23:38:33]Read from MH i2c: E2 FD 00 9B 0E 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 5E [23:38:33]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 [23:38:33]wFMCommunicate OK [23:38:33]wFMCommunicate request_size=4 [23:38:33]MH_SAM_APDU [23:38:33]CAPDU: 80 17 00 00 [23:38:33]Write to MH i2c: E2 08 00 9C 0E 80 17 00 00 00 00 00 00 2A [23:38:33]Write i2c OK [23:38:33]MH_I2C_Read... [23:38:34]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:38:34]Read from MH i2c: E2 [23:38:34]MH_I2C_Read... [23:38:34]Read from MH i2c: E2 FD 00 [23:38:34]MH_I2C_Read... [23:38:34]Read from MH i2c: E2 FD 00 9C 0E 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 EA [23:38:34]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 [23:38:34]wFMCommunicate OK [23:38:34]wFMCommunicate request_size=4 [23:38:34]MH_SAM_APDU [23:38:34]CAPDU: 80 17 00 00 [23:38:34]Write to MH i2c: E2 08 00 9D 0E 80 17 00 00 00 00 00 00 2B [23:38:34]Write i2c OK [23:38:34]MH_I2C_Read... [23:38:34]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:38:34]Read from MH i2c: E2 [23:38:34]MH_I2C_Read... [23:38:34]Read from MH i2c: E2 FD 00 [23:38:34]MH_I2C_Read... [23:38:34]Read from MH i2c: E2 FD 00 9D 0E 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 9A [23:38:34]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 [23:38:34]wFMCommunicate OK [23:38:34]wFMCommunicate request_size=4 [23:38:34]MH_SAM_APDU [23:38:34]CAPDU: 80 17 00 00 [23:38:34]Write to MH i2c: E2 08 00 9E 0E 80 17 00 00 00 00 00 00 2C [23:38:34]Write i2c OK [23:38:34]MH_I2C_Read... [23:38:34]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [23:38:34]Read from MH i2c: E2 [23:38:34]MH_I2C_Read... [23:38:34]Read from MH i2c: E2 D3 00 [23:38:34]MH_I2C_Read... [23:38:34]Read from MH i2c: E2 D3 00 9E 0E 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 19 [23:38:34]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 [23:38:34]wFMCommunicate OK [23:38:34]SAM_PROTO_GetShiftData done [23:38:34]requested_item shift.sale.total_cash is exist - process it [23:38:34]requested_item shift.sale_refund.total is exist - process it [23:38:34]requested_item shift.sale_refund.total_cash is exist - process it [23:38:34]produce_requested_data done [23:38:34]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57239,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":40930.75,"shift.sale.total_cash":32499.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [23:38:34]process_action_free close_receipt [23:38:34]json_value_free [23:38:34]json_value_free done [23:38:34]process_json_proto returns [23:38:34]Send response to host [23:38:34]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57239,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":40930.75,"shift.sale.total_cash":32499.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [23:38:34]free response buf [23:38:34]execute_script done [23:38:34]execute_script returns [23:38:34]free content buf [23:38:34]Sock 10.Close socket [23:38:34]Sock 10.Thread stoped [23:38:36]OFD Sender: No OFD packet to send [23:38:42]OFD Sender: No OFD packet to send [23:38:47]OFD Sender: No OFD packet to send [23:38:52]OFD Sender: No OFD packet to send [23:38:57]OFD Sender: No OFD packet to send [23:39:02]OFD Sender: No OFD packet to send [23:39:07]OFD Sender: No OFD packet to send [23:39:12]OFD Sender: No OFD packet to send [23:39:17]OFD Sender: No OFD packet to send [23:39:22]OFD Sender: No OFD packet to send [23:39:27]OFD Sender: No OFD packet to send [23:39:32]OFD Sender: No OFD packet to send [23:39:37]OFD Sender: No OFD packet to send [23:39:42]OFD Sender: No OFD packet to send [23:39:47]OFD Sender: No OFD packet to send [23:39:52]OFD Sender: No OFD packet to send [23:39:57]OFD Sender: No OFD packet to send [23:40:02]OFD Sender: No OFD packet to send [23:40:07]OFD Sender: No OFD packet to send [23:40:12]OFD Sender: No OFD packet to send [23:40:17]OFD Sender: No OFD packet to send [23:40:22]OFD Sender: No OFD packet to send [23:40:27]OFD Sender: No OFD packet to send [23:40:32]OFD Sender: No OFD packet to send [23:40:37]OFD Sender: No OFD packet to send [23:40:42]OFD Sender: No OFD packet to send [23:40:47]OFD Sender: No OFD packet to send [23:40:52]OFD Sender: No OFD packet to send [23:40:57]OFD Sender: No OFD packet to send [23:41:02]OFD Sender: No OFD packet to send [23:41:07]OFD Sender: No OFD packet to send [23:41:12]OFD Sender: No OFD packet to send [23:41:17]OFD Sender: No OFD packet to send [23:41:22]OFD Sender: No OFD packet to send [23:41:27]OFD Sender: No OFD packet to send [23:41:32]OFD Sender: No OFD packet to send [23:41:37]OFD Sender: No OFD packet to send [23:41:42]OFD Sender: No OFD packet to send [23:41:47]OFD Sender: No OFD packet to send [23:41:52]OFD Sender: No OFD packet to send [23:41:57]OFD Sender: No OFD packet to send [23:42:02]OFD Sender: No OFD packet to send [23:42:07]OFD Sender: No OFD packet to send [23:42:12]OFD Sender: No OFD packet to send [23:42:17]OFD Sender: No OFD packet to send [23:42:22]OFD Sender: No OFD packet to send [23:42:27]OFD Sender: No OFD packet to send [23:42:32]OFD Sender: No OFD packet to send [23:42:37]OFD Sender: No OFD packet to send [23:42:42]OFD Sender: No OFD packet to send [23:42:47]OFD Sender: No OFD packet to send [23:42:52]OFD Sender: No OFD packet to send [23:42:57]OFD Sender: No OFD packet to send [23:43:02]OFD Sender: No OFD packet to send [23:43:07]OFD Sender: No OFD packet to send [23:43:12]OFD Sender: No OFD packet to send [23:43:17]OFD Sender: No OFD packet to send [23:43:22]OFD Sender: No OFD packet to send [23:43:27]OFD Sender: No OFD packet to send [23:43:32]OFD Sender: No OFD packet to send [23:43:37]OFD Sender: No OFD packet to send [23:43:42]OFD Sender: No OFD packet to send [23:43:47]OFD Sender: No OFD packet to send [23:43:52]OFD Sender: No OFD packet to send [23:43:57]OFD Sender: No OFD packet to send [23:44:02]OFD Sender: No OFD packet to send [23:44:07]OFD Sender: No OFD packet to send [23:44:12]OFD Sender: No OFD packet to send [23:44:17]OFD Sender: No OFD packet to send [23:44:22]OFD Sender: No OFD packet to send [23:44:27]OFD Sender: No OFD packet to send [23:44:32]OFD Sender: No OFD packet to send [23:44:37]OFD Sender: No OFD packet to send [23:44:42]OFD Sender: No OFD packet to send [23:44:47]OFD Sender: No OFD packet to send [23:44:52]OFD Sender: No OFD packet to send [23:44:57]OFD Sender: No OFD packet to send [23:45:02]OFD Sender: No OFD packet to send [23:45:07]OFD Sender: No OFD packet to send [23:45:12]OFD Sender: No OFD packet to send [23:45:17]OFD Sender: No OFD packet to send [23:45:22]OFD Sender: No OFD packet to send [23:45:27]OFD Sender: No OFD packet to send [23:45:32]OFD Sender: No OFD packet to send [23:45:37]OFD Sender: No OFD packet to send [23:45:42]OFD Sender: No OFD packet to send [23:45:47]OFD Sender: No OFD packet to send [23:45:52]OFD Sender: No OFD packet to send [23:45:57]OFD Sender: No OFD packet to send [23:46:02]OFD Sender: No OFD packet to send [23:46:07]OFD Sender: No OFD packet to send [23:46:12]OFD Sender: No OFD packet to send [23:46:17]OFD Sender: No OFD packet to send [23:46:22]OFD Sender: No OFD packet to send [23:46:27]OFD Sender: No OFD packet to send [23:46:32]OFD Sender: No OFD packet to send [23:46:37]OFD Sender: No OFD packet to send [23:46:42]OFD Sender: No OFD packet to send [23:46:47]OFD Sender: No OFD packet to send [23:46:52]OFD Sender: No OFD packet to send [23:46:57]OFD Sender: No OFD packet to send [23:47:02]OFD Sender: No OFD packet to send [23:47:07]OFD Sender: No OFD packet to send [23:47:12]OFD Sender: No OFD packet to send [23:47:17]OFD Sender: No OFD packet to send [23:47:22]OFD Sender: No OFD packet to send [23:47:27]OFD Sender: No OFD packet to send [23:47:32]OFD Sender: No OFD packet to send [23:47:37]OFD Sender: No OFD packet to send [23:47:42]OFD Sender: No OFD packet to send [23:47:47]OFD Sender: No OFD packet to send [23:47:52]OFD Sender: No OFD packet to send [23:47:57]OFD Sender: No OFD packet to send [23:48:02]OFD Sender: No OFD packet to send [23:48:07]OFD Sender: No OFD packet to send [23:48:12]OFD Sender: No OFD packet to send [23:48:17]OFD Sender: No OFD packet to send [23:48:22]OFD Sender: No OFD packet to send [23:48:27]OFD Sender: No OFD packet to send [23:48:32]OFD Sender: No OFD packet to send [23:48:37]OFD Sender: No OFD packet to send [23:48:42]OFD Sender: No OFD packet to send [23:48:47]OFD Sender: No OFD packet to send [23:48:52]OFD Sender: No OFD packet to send [23:48:57]OFD Sender: No OFD packet to send [23:49:02]OFD Sender: No OFD packet to send [23:49:07]OFD Sender: No OFD packet to send [23:49:12]OFD Sender: No OFD packet to send [23:49:17]OFD Sender: No OFD packet to send [23:49:22]OFD Sender: No OFD packet to send [23:49:27]OFD Sender: No OFD packet to send [23:49:32]OFD Sender: No OFD packet to send [23:49:37]OFD Sender: No OFD packet to send [23:49:42]OFD Sender: No OFD packet to send [23:49:47]OFD Sender: No OFD packet to send [23:49:52]OFD Sender: No OFD packet to send [23:49:57]OFD Sender: No OFD packet to send [23:50:02]OFD Sender: No OFD packet to send [23:50:07]OFD Sender: No OFD packet to send [23:50:12]OFD Sender: No OFD packet to send [23:50:17]OFD Sender: No OFD packet to send [23:50:22]OFD Sender: No OFD packet to send [23:50:27]OFD Sender: No OFD packet to send [23:50:32]OFD Sender: No OFD packet to send [23:50:37]OFD Sender: No OFD packet to send [23:50:42]OFD Sender: No OFD packet to send [23:50:47]OFD Sender: No OFD packet to send [23:50:52]OFD Sender: No OFD packet to send [23:50:57]OFD Sender: No OFD packet to send [23:51:02]OFD Sender: No OFD packet to send [23:51:07]OFD Sender: No OFD packet to send [23:51:12]OFD Sender: No OFD packet to send [23:51:17]OFD Sender: No OFD packet to send [23:51:22]OFD Sender: No OFD packet to send [23:51:27]OFD Sender: No OFD packet to send [23:51:32]OFD Sender: No OFD packet to send [23:51:37]OFD Sender: No OFD packet to send [23:51:42]OFD Sender: No OFD packet to send [23:51:47]OFD Sender: No OFD packet to send [23:51:52]OFD Sender: No OFD packet to send [23:51:57]OFD Sender: No OFD packet to send [23:52:02]OFD Sender: No OFD packet to send [23:52:07]OFD Sender: No OFD packet to send [23:52:12]OFD Sender: No OFD packet to send [23:52:17]OFD Sender: No OFD packet to send [23:52:22]OFD Sender: No OFD packet to send [23:52:27]OFD Sender: No OFD packet to send [23:52:32]OFD Sender: No OFD packet to send [23:52:37]OFD Sender: No OFD packet to send [23:52:42]OFD Sender: No OFD packet to send [23:52:47]OFD Sender: No OFD packet to send [23:52:52]OFD Sender: No OFD packet to send [23:52:57]OFD Sender: No OFD packet to send [23:52:59]accept exits with 7 [23:52:59]New connection [23:52:59]New thread 3066871140 created [23:52:59]Thread 3067014500 joined [23:52:59]Waiting for new connection... [23:52:59] Sock 7.Parse request [23:52:59]Sock 7.Check first char [23:52:59]Sock 7.First char is OK [23:52:59]request: POST /json_proto HTTP/1.0 [23:52:59]Method: POST [23:52:59]URL: /json_proto [23:52:59]Method is POST - this is cgi request [23:52:59]url: /json_proto [23:52:59]query_string will be loaded in cgi processing [23:52:59]execute_cgi json_proto POST (null) [23:52:59]execute_cgi path=json_proto method=POST [23:52:59]POST find Content-Length [23:52:59]Host: 172.17.39.4:8080 [23:52:59]Content-Length: 1459 [23:52:59]Content-Type: application/json [23:52:59] [23:52:59]POST finish read [23:52:59]Found Content-Length = 1459 [23:52:59]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129676", "tax_sys" : 0, "items" : [ { "code": "4607015232592", "name": "\u0412\u0430\u0444\u043B\u0438 \u042F\u0448\u043A\u0438\u043D\u043E \u0441 \u0432\u0430\u0440\u0435\u043D\u043E\u0439 \u0441\u0433\u0443\u0449\u0435\u043D\u043A\u043E\u0439 200\u0433", "price" : 81.00, "quantity" : 1.000, "sum" : 81.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4607015232868", "name": "\u0412\u0430\u0444\u043B\u0438 \u042F\u0448\u043A\u0438\u043D\u043E \u0432 \u0448\u043E\u043A\u043E\u043B\u0430\u0434\u043D\u043E\u0439 \u0433\u043B\u0430\u0437\u0443\u0440\u0438 200\u0433", "price" : 113.00, "quantity" : 1.000, "sum" : 113.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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" : 319.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:52:59]execute_script... [23:52: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)129676", "tax_sys" : 0, "items" : [ { "code": "4607015232592", "name": "\u0412\u0430\u0444\u043B\u0438 \u042F\u0448\u043A\u0438\u043D\u043E \u0441 \u0432\u0430\u0440\u0435\u043D\u043E\u0439 \u0441\u0433\u0443\u0449\u0435\u043D\u043A\u043E\u0439 200\u0433", "price" : 81.00, "quantity" : 1.000, "sum" : 81.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4607015232868", "name": "\u0412\u0430\u0444\u043B\u0438 \u042F\u0448\u043A\u0438\u043D\u043E \u0432 \u0448\u043E\u043A\u043E\u043B\u0430\u0434\u043D\u043E\u0439 \u0433\u043B\u0430\u0437\u0443\u0440\u0438 200\u0433", "price" : 113.00, "quantity" : 1.000, "sum" : 113.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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" : 319.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:52:59]POST & json_proto [23:52:59]process_json_proto [23:52:59]json parsed OK: [23:52:59]protocol is kg_v1.0 [23:52:59]action value=close_receipt [23:52:59]process_action close_receipt [23:52:59]cmd_close_receipt [23:52:59]MH_GetDate [23:52:59]Write to MH i2c: F0 00 00 9F 0E 9C [23:52:59]Write i2c OK [23:52:59]MH_I2C_Read... [23:52:59]Read from MH i2c: F0 [23:52:59]MH_I2C_Read... [23:52:59]Read from MH i2c: F0 09 00 [23:52:59]MH_I2C_Read... [23:52:59]Read from MH i2c: F0 09 00 9F 0E 00 5D B6 95 66 2D 25 5D 64 C6 [23:52:59]GetLastDocTimeStamp 1721086711 [23:52:59]current date 1721087581 [23:52:59]FM_GetShiftState [23:52:59]SAM_PROTO_GetShiftState [23:52:59]wFMCommunicate request_size=4 [23:53:00]MH_SAM_APDU [23:53:00]CAPDU: 80 13 01 00 [23:53:00]Write to MH i2c: E2 08 00 A0 0E 80 13 01 00 00 00 00 00 2B [23:53:00]Write i2c OK [23:53:00]MH_I2C_Read... [23:53:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:53:00]Read from MH i2c: E2 [23:53:00]MH_I2C_Read... [23:53:00]Read from MH i2c: E2 0E 00 [23:53:00]MH_I2C_Read... [23:53:00]Read from MH i2c: E2 0E 00 A0 0E 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 A4 [23:53:00]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [23:53:00]wFMCommunicate OK [23:53:00]SAM_PROTO_GetShiftState done [23:53:00]FM_GetShiftState done [23:53:00]opened in 1721003525 [23:53:00]opened+sec_in_day 1721089925 [23:53:00]quantity*price = 8100 [23:53:00]sum+1 = 8101 [23:53:00]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4607015232868 Вафли Яшкино в шоколадной глазури 200г 1.000 * 113.00 = 113.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 5449000006271 Напиток Фанта 1л 1.000 * 125.00 = 125.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 319.00 НСП 1% : 2.83 НДС 12% : 33.87 Наличными: 319.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 135 15.07.2024 23:53 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57240 ФПД: 251286973335192 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T235302&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57240&fm=251286973335192&tin=02508201610067®Number=0000000000091208&sum=31900 0 [23:53:00]StoreToDocumentArchive [23:53:00]shift 497 fd 57240 [23:53:00]save to /storage/0497/doc_00057240 [23:53:00]save last doc name /storage/0497/doc_00057240 to /storage/kkm_last_doc_name [23:53:00]save OK [23:53:00]Clear old archive folders... [23:53:00]ProcessDocumentItem done err = 0, tmpTLVsize=549 [23:53:00]tlvbuf is 00882A90 [23:53:00]SAM_PROTO_ClearQueue [23:53:00]wFMCommunicate request_size=4 [23:53:00]MH_SAM_APDU [23:53:00]CAPDU: 80 09 00 00 [23:53:00]Write to MH i2c: E2 08 00 AD 0E 80 09 00 00 00 00 00 00 2D [23:53:00]Write i2c OK [23:53:00]MH_I2C_Read... [23:53:00]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:53:00]Read from MH i2c: E2 [23:53:00]MH_I2C_Read... [23:53:00]Read from MH i2c: E2 03 00 [23:53:00]MH_I2C_Read... [23:53:00]Read from MH i2c: E2 03 00 AD 0E 00 90 00 2F [23:53:00]RAPDU: 90 00 [23:53:00]wFMCommunicate OK [23:53:00]SAM_PROTO_ClearQueue done [23:53:00]KKMCreateOFDPacket [23:53:00]OFDProtocolAddRootSTLVToBuf [23:53:00]FM_MakeSignedData [23:53:00]FM_MakeSignedData [23:53:00]SAM_PROTO_SignData [23:53:00]wFMCommunicate request_size=4 [23:53:00]MH_SAM_APDU [23:53:00]CAPDU: 80 0D 01 02 [23:53:00]Write to MH i2c: E2 08 00 AE 0E 80 0D 01 02 00 00 00 00 35 [23:53:00]Write i2c OK [23:53:00]MH_I2C_Read... [23:53:01]Read from MH i2c: E2 [23:53:01]MH_I2C_Read... [23:53:01]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:53:01]Read from MH i2c: E2 03 00 [23:53:01]MH_I2C_Read... [23:53:01]Read from MH i2c: E2 03 00 AE 0E 00 90 00 30 [23:53:01]RAPDU: 90 00 [23:53:01]wFMCommunicate OK [23:53:01]wFMCommunicate request_size=255 [23:53:01]MH_SAM_APDU [23:53:01]CAPDU: 80 0D 02 02 FA 03 00 25 02 1E 04 01 00 01 23 04 86 00 8A 04 0D 00 34 36 30 37 30 31 35 32 33 32 35 39 32 06 04 42 00 D0 92 D0 B0 D1 84 D0 BB D0 B8 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D1 81 20 D0 B2 D0 B0 D1 80 D0 B5 D0 BD D0 BE D0 B9 20 D1 81 D0 B3 D1 83 D1 89 D0 B5 D0 BD D0 BA D0 BE D0 B9 20 32 30 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A4 1F 00 00 00 00 13 04 06 00 A4 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 88 00 8A 04 0D 00 34 36 30 37 30 31 35 32 33 32 38 36 38 06 04 44 00 D0 92 D0 B0 D1 84 D0 BB D0 B8 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D0 B2 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 D0 BD D0 BE D0 B9 20 D0 B3 D0 BB D0 B0 D0 B7 D1 83 D1 80 D0 B8 20 32 30 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 [23:53:01]Write to MH i2c: E2 02 01 AF 0E 80 0D 02 02 FA 00 03 00 25 02 1E 04 01 00 01 23 04 86 00 8A 04 0D 00 34 36 30 37 30 31 35 32 33 32 35 39 32 06 04 42 00 D0 92 D0 B0 D1 84 D0 BB D0 B8 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D1 81 20 D0 B2 D0 B0 D1 80 D0 B5 D0 BD D0 BE D0 B9 20 D1 81 D0 B3 D1 83 D1 89 D0 B5 D0 BD D0 BA D0 BE D0 B9 20 32 30 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A4 1F 00 00 00 00 13 04 06 00 A4 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 88 00 8A 04 0D 00 34 36 30 37 30 31 35 32 33 32 38 36 38 06 04 44 00 D0 92 D0 B0 D1 84 D0 BB D0 B8 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D0 B2 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 D0 BD D0 BE D0 B9 20 D0 B3 D0 BB D0 B0 D0 B7 D1 83 D1 80 D0 B8 20 32 30 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 72 [23:53:01]Write i2c OK [23:53:01]MH_I2C_Read... [23:53:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:53:01]Read from MH i2c: E2 [23:53:01]MH_I2C_Read... [23:53:01]Read from MH i2c: E2 03 00 [23:53:01]MH_I2C_Read... [23:53:01]Read from MH i2c: E2 03 00 AF 0E 00 90 00 31 [23:53:01]RAPDU: 90 00 [23:53:01]wFMCommunicate OK [23:53:01]wFMCommunicate request_size=255 [23:53:01]MH_SAM_APDU [23:53:01]CAPDU: 80 0D 02 02 FA 00 00 37 04 06 00 24 2C 00 00 00 00 13 04 06 00 24 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D 00 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 9C 7C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1B 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3B 0D 00 00 00 00 07 04 06 00 9C 7C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 87 00 00 00 F4 03 04 00 5E B6 95 66 0E 04 04 00 F1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 [23:53:01]Write to MH i2c: E2 02 01 B0 0E 80 0D 02 02 FA 00 00 00 37 04 06 00 24 2C 00 00 00 00 13 04 06 00 24 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D 00 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 9C 7C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1B 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3B 0D 00 00 00 00 07 04 06 00 9C 7C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 87 00 00 00 F4 03 04 00 5E B6 95 66 0E 04 04 00 F1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 00 00 69 [23:53:01]Write i2c OK [23:53:01]MH_I2C_Read... [23:53:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:53:01]Read from MH i2c: E2 [23:53:01]MH_I2C_Read... [23:53:01]Read from MH i2c: E2 03 00 [23:53:01]MH_I2C_Read... [23:53:01]Read from MH i2c: E2 03 00 B0 0E 00 90 00 32 [23:53:01]RAPDU: 90 00 [23:53:01]wFMCommunicate OK [23:53:01]wFMCommunicate request_size=58 [23:53:01]MH_SAM_APDU [23:53:01]CAPDU: 80 0D 02 02 35 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 98 DF 00 00 35 04 06 00 E4 8B 4E C8 46 98 [23:53:01]Write to MH i2c: E2 3D 00 B1 0E 80 0D 02 02 35 00 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 98 DF 00 00 35 04 06 00 E4 8B 4E C8 46 98 00 00 04 [23:53:01]Write i2c OK [23:53:01]MH_I2C_Read... [23:53:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:53:01]Read from MH i2c: E2 [23:53:01]MH_I2C_Read... [23:53:01]Read from MH i2c: E2 03 00 [23:53:01]MH_I2C_Read... [23:53:01]Read from MH i2c: E2 03 00 B1 0E 00 90 00 33 [23:53:01]RAPDU: 90 00 [23:53:01]wFMCommunicate OK [23:53:01]wFMCommunicate request_size=4 [23:53:01]MH_SAM_APDU [23:53:01]CAPDU: 80 0D 03 02 [23:53:01]Write to MH i2c: E2 08 00 B2 0E 80 0D 03 02 00 00 00 00 3B [23:53:01]Write i2c OK [23:53:01]MH_I2C_Read... [23:53:01]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:53:01]Read from MH i2c: E2 [23:53:01]MH_I2C_Read... [23:53:01]Read from MH i2c: E2 0B 00 [23:53:01]MH_I2C_Read... [23:53:01]Read from MH i2c: E2 0B 00 B2 0E 00 9F E4 C8 92 8A 38 9D 37 90 00 AF [23:53:01]RAPDU: 9F E4 C8 92 8A 38 9D 37 90 00 [23:53:01]wFMCommunicate OK [23:53:01]SAM_PROTO_SignData done [23:53:01]FM_MakeSignedData done [23:53:01]CreateOFDProtocolMessage [23:53:01]wFMCommunicate request_size=4 [23:53:01]MH_SAM_APDU [23:53:01]CAPDU: 80 11 00 00 [23:53:01]Write to MH i2c: E2 08 00 B3 0E 80 11 00 00 00 00 00 00 3B [23:53:01]Write i2c OK [23:53:01]MH_I2C_Read... [23:53:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:53:01]Read from MH i2c: E2 [23:53:01]MH_I2C_Read... [23:53:01]Read from MH i2c: E2 17 00 [23:53:01]MH_I2C_Read... [23:53:01]Read from MH i2c: E2 17 00 B3 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 95 [23:53:01]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:01]wFMCommunicate OK [23:53:01]CreateOFDProtocolMessage done [23:53:01]OFDSenderStorePacket 57240 [23:53:01]StoreOFDPacket docnum=57240 [23:53: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 39 02 00 00 7B 1C 31 02 DD E7 5A 03 01 00 03 00 25 02 1E 04 01 00 01 23 04 86 00 8A 04 0D 00 34 36 30 37 30 31 35 32 33 32 35 39 32 06 04 42 00 D0 92 D0 B0 D1 84 D0 BB D0 B8 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D1 81 20 D0 B2 D0 B0 D1 80 D0 B5 D0 BD D0 BE D0 B9 20 D1 81 D0 B3 D1 83 D1 89 D0 B5 D0 BD D0 BA D0 BE D0 B9 20 32 30 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A4 1F 00 00 00 00 13 04 06 00 A4 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 88 00 8A 04 0D 00 34 36 30 37 30 31 35 32 33 32 38 36 38 06 04 44 00 D0 92 D0 B0 D1 84 D0 BB D0 B8 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D0 B2 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 D0 BD D0 BE D0 B9 20 D0 B3 D0 BB D0 B0 D0 B7 D1 83 D1 80 D0 B8 20 32 30 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 2C 00 00 00 00 13 04 06 00 24 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D 00 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 9C 7C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1B 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3B 0D 00 00 00 00 07 04 06 00 9C 7C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 87 00 00 00 F4 03 04 00 5E B6 95 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 98 DF 00 00 35 04 06 00 E4 8B 4E C8 46 98 9F E4 C8 92 8A 38 9D 37 [23:53:01]CheckFolder [23:53:01]dirname=/storage/ofd_packets [23:53:01]CheckFolder done [23:53:01]ProducePacketName [23:53:01]name=ofd_packets/00057240 [23:53:01]NVStorageSaveData ofd_packets/00057240 [23:53:01]File name is /storage/ofd_packets/00057240 [23:53:01]Write 599 bytes [23:53:01]NVStorageSaveData done [23:53:01]OFDSenderStorePacket done [23:53:01]KKMCreateOFDPacket done [23:53:01]NVStorageSaveData kkm_last_timestamp [23:53:01]File name is /storage/kkm_last_timestamp [23:53:01]Write 4 bytes [23:53:01]NVStorageSaveData done [23:53:01]ExternCall_PrintAddStr [23:53:01]wPrintStart [23:53:01]Write to MH i2c: 01 00 00 B4 0E C2 [23:53:01]Write i2c OK [23:53:01]MH_I2C_Read... [23:53:01]Read from MH i2c: 01 [23:53:01]MH_I2C_Read... [23:53:01]Read from MH i2c: 01 07 00 [23:53:01]MH_I2C_Read... [23:53:01]Read from MH i2c: 01 07 00 B4 0E 00 00 00 00 00 FF 0F D7 [23:53:01]RasterBufferAndPrint [23:53:01]line Счет N : (3)129676 [23:53:01]line ИНН: 02508201610067 [23:53:01]line Контрольно-Кассовый Чек [23:53:01]line ПРОДАЖА [23:53:01]line Товар: 4607015232592 [23:53:01]line Вафли Яшкино с вареной сгущенкой 200г [23:53:01]line 1.000 * 81.00 [23:53:01]line = 81.00 [23:53:01]line НДС 12% НСП 1% [23:53:01]line > о реализуемом товаре [23:53:01]line Товар: 4607015232868 [23:53:01]line Вафли Яшкино в шоколадной глазури 200г [23:53:01]line 1.000 * 113.00 [23:53:01]line = 113.00 [23:53:01]line НДС 12% НСП 1% [23:53:01]line > о реализуемом товаре [23:53:01]line Товар: 5449000006271 [23:53:01]line Напиток Фанта 1л [23:53:01]line 1.000 * 125.00 [23:53:01]line = 125.00 [23:53:01]line НДС 12% НСП 1% [23:53:01]line > о реализуемом товаре [23:53:01]line ИТОГО: 319.00 [23:53:01]line НСП 1% : 2.83 [23:53:01]line НДС 12% : 33.87 [23:53:01]line Наличными: 319.00 [23:53:01]line Безнал.: 0.00 [23:53:01]line Место: АЗС № 132 "Партнер Нефть" [23:53:01]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [23:53:01]line СНО: Общий режим [23:53:01]line Чек 135 15.07.2024 23:53 [23:53:01]line Смена: 497 ФФД: 1.0 [23:53:01]line ЗНМ: 0300000132 [23:53:01]line РНМ: 0000000000091208 [23:53:01]line Версия ККМ: 001 [23:53:01]line ФМ: 0000000000874857 [23:53:01]line ФД: 57240 [23:53:01]line ФПД: 251286973335192 [23:53:01]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T235302&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57240&fm=251286973335192&tin=02508201610067®Number=0000000000091208&sum=31900 [23:53:01]line 0 [23:53:01]OFD Sender: Processing packet 57240 [packets to send 38, broken 37] [23:53:01]ProducePacketName [23:53:02]name=ofd_packets/00057240 [23:53:02]OFD Sender: To server: pG, [23:53:02]CommunicateWithHost lk.salyk.kg:30040 [23:53:02]ConnectInit lk.salyk.kg [23:53:02]written 0, free lines is 4095 [23:53:02]Connected sock=10 [23:53: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 39 02 00 00 7B 1C 31 02 DD E7 5A 03 01 00 03 00 25 02 1E 04 01 00 01 23 04 86 00 8A 04 0D 00 34 36 30 37 30 31 35 32 33 32 35 39 32 06 04 42 00 D0 92 D0 B0 D1 84 D0 BB D0 B8 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D1 81 20 D0 B2 D0 B0 D1 80 D0 B5 D0 BD D0 BE D0 B9 20 D1 81 D0 B3 D1 83 D1 89 D0 B5 D0 BD D0 BA D0 BE D0 B9 20 32 30 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A4 1F 00 00 00 00 13 04 06 00 A4 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 88 00 8A 04 0D 00 34 36 30 37 30 31 35 32 33 32 38 36 38 06 04 44 00 D0 92 D0 B0 D1 84 D0 BB D0 B8 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D0 B2 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 D0 BD D0 BE D0 B9 20 D0 B3 D0 BB D0 B0 D0 B7 D1 83 D1 80 D0 B8 20 32 30 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 2C 00 00 00 00 13 04 06 00 24 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D 00 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 9C 7C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1B 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3B 0D 00 00 00 00 07 04 06 00 9C 7C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 87 00 00 00 F4 03 04 00 5E B6 95 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 98 DF 00 00 35 04 06 00 E4 8B 4E C8 46 98 9F E4 C8 92 8A 38 9D 37 [23:53: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 88 89 47 00 9A 40 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 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 98 DF 00 00 F4 03 04 00 AA 5C 95 66 B6 04 01 00 00 F4 95 D0 CA E9 53 5B 99 [23:53:02]CommunicateWithHost err = 0 [23:53:02]CheckOFDResponse [23:53:02]1017 (14) - 77093643461234 [23:53:02]1041 (16) - 0000000000874857 [23:53:02]1040 (4) - 57240 [23:53:02]1012 (4) - 15.07.2024 17:30 [23:53:02]1206 (1) - 0 [23:53:02]OFD Sender: Remove packet 57240 [23:53:02]ProducePacketName [23:53:02]name=ofd_packets/00057240 [23:53:02]NVStorageDeleteData [23:53:02]Write to MH i2c: 01 00 00 EA 0E F8 [23:53:02]Write i2c OK [23:53:02]MH_I2C_Read... [23:53:02]Read from MH i2c: 01 [23:53:02]MH_I2C_Read... [23:53:02]Read from MH i2c: 01 07 00 [23:53:02]MH_I2C_Read... [23:53:02]Read from MH i2c: 01 07 00 EA 0E 00 00 00 00 00 31 0C 3C [23:53:02]RasterBufferAndPrint [23:53:02]line [23:53:02]line [23:53:02]line [23:53:02]line [23:53:02]line [23:53:02]written 0, free lines is 3130 [23:53:02]MH_Cut [23:53:02]Write to MH i2c: D1 01 00 F1 0E 01 D1 [23:53:02]Write i2c OK [23:53:02]MH_I2C_Read... [23:53:02]Read from MH i2c: D1 [23:53:02]MH_I2C_Read... [23:53:02]Read from MH i2c: D1 01 00 [23:53:02]MH_I2C_Read... [23:53:02]Read from MH i2c: D1 01 00 F1 0E 00 D0 [23:53:02]Write to MH i2c: 01 00 00 F2 0E 00 [23:53:02]Write i2c OK [23:53:02]MH_I2C_Read... [23:53:02]OFD Sender: No OFD packet to send [23:53:03]*** Cut start [23:53:03]*** Partial cut [23:53:03]*** CUTSNS_PIN = 1 [23:53:03]*** CUTSNS_PIN = 0 [23:53:03]*** Brake cut motor [23:53:04]Read from MH i2c: 01 [23:53:04]MH_I2C_Read... [23:53:04]*** Stop cut motor [23:53:04]*** Cut end [23:53:04]Read from MH i2c: 01 07 00 [23:53:04]MH_I2C_Read... [23:53:04]Read from MH i2c: 01 07 00 F2 0E 00 00 00 00 00 FF 0F 15 [23:53:04]process_action close_receipt done [23:53:04]requested_data is exist [23:53:04]produce_requested_data [23:53:04]requested_item fm.sn is exist - process it [23:53:04]wFMCommunicate request_size=4 [23:53:04]MH_SAM_APDU [23:53:04]CAPDU: 80 11 00 00 [23:53:04]Write to MH i2c: E2 08 00 F3 0E 80 11 00 00 00 00 00 00 7B [23:53:04]Write i2c OK [23:53:04]MH_I2C_Read... [23:53:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:53:04]Read from MH i2c: E2 [23:53:04]MH_I2C_Read... [23:53:04]Read from MH i2c: E2 17 00 [23:53:04]MH_I2C_Read... [23:53:04]Read from MH i2c: E2 17 00 F3 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 D5 [23:53:04]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:04]wFMCommunicate OK [23:53:04]requested_item fd.num is exist - process it [23:53:04]SAM_PROTO_GetFieldsCounters [23:53:04]wFMCommunicate request_size=4 [23:53:04]MH_SAM_APDU [23:53:04]CAPDU: 80 13 00 00 [23:53:04]Write to MH i2c: E2 08 00 F4 0E 80 13 00 00 00 00 00 00 7E [23:53:04]Write i2c OK [23:53:04]MH_I2C_Read... [23:53:04]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:53:04]Read from MH i2c: E2 [23:53:04]MH_I2C_Read... [23:53:04]Read from MH i2c: E2 62 00 [23:53:04]MH_I2C_Read... [23:53:04]Read from MH i2c: E2 62 00 F4 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 98 DF 00 00 0E 04 04 00 F1 01 00 00 12 04 04 00 87 00 00 00 5E 04 04 00 87 00 00 00 57 04 04 00 88 00 00 00 19 04 04 00 00 00 00 00 90 00 9F [23:53: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 98 DF 00 00 0E 04 04 00 F1 01 00 00 12 04 04 00 87 00 00 00 5E 04 04 00 87 00 00 00 57 04 04 00 88 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:53:04]wFMCommunicate OK [23:53:04]SAM_PROTO_GetFieldsCounters done [23:53:04]requested_item shift.num is exist - process it [23:53:04]requested_item shift.opened is exist - process it [23:53:04]req_shift_opened [23:53:04]FM_GetShiftState [23:53:04]SAM_PROTO_GetShiftState [23:53:04]wFMCommunicate request_size=4 [23:53:04]MH_SAM_APDU [23:53:04]CAPDU: 80 13 01 00 [23:53:04]Write to MH i2c: E2 08 00 F5 0E 80 13 01 00 00 00 00 00 80 [23:53:04]Write i2c OK [23:53:04]MH_I2C_Read... [23:53:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:53:04]Read from MH i2c: E2 [23:53:04]MH_I2C_Read... [23:53:04]Read from MH i2c: E2 0E 00 [23:53:04]MH_I2C_Read... [23:53:04]Read from MH i2c: E2 0E 00 F5 0E 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 F9 [23:53:04]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [23:53:04]wFMCommunicate OK [23:53:04]SAM_PROTO_GetShiftState done [23:53:04]FM_GetShiftState done [23:53:04]req_shift_opened done [23:53:04]requested_item shift.open_date is exist - process it [23:53:04]req_shift_open_date [23:53:04]req_shift_open_date done [23:53:04]requested_item shift.sale.total is exist - process it [23:53:04]SAM_PROTO_GetShiftData [23:53:04]wFMCommunicate request_size=4 [23:53:04]MH_SAM_APDU [23:53:04]CAPDU: 80 13 02 00 [23:53:04]Write to MH i2c: E2 08 00 F6 0E 80 13 02 00 00 00 00 00 82 [23:53:04]Write i2c OK [23:53:04]MH_I2C_Read... [23:53:04]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:53:04]Read from MH i2c: E2 [23:53:04]MH_I2C_Read... [23:53:04]Read from MH i2c: E2 FD 00 [23:53:04]MH_I2C_Read... [23:53:04]Read from MH i2c: E2 FD 00 F6 0E 00 B6 04 AA 04 B2 04 6E 04 04 00 87 00 00 00 69 04 9B 00 6F 04 04 00 86 00 00 00 B1 04 03 00 2F F1 3E 70 04 03 00 88 13 32 72 04 03 00 A7 DD 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 4F AF 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 97 8E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 D5 [23:53:04]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 87 00 00 00 69 04 9B 00 6F 04 04 00 86 00 00 00 B1 04 03 00 2F F1 3E 70 04 03 00 88 13 32 72 04 03 00 A7 DD 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 4F AF 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 97 8E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 [23:53:05]wFMCommunicate OK [23:53:05]wFMCommunicate request_size=4 [23:53:05]MH_SAM_APDU [23:53:05]CAPDU: 80 17 00 00 [23:53:05]Write to MH i2c: E2 08 00 F7 0E 80 17 00 00 00 00 00 00 85 [23:53:05]Write i2c OK [23:53:05]MH_I2C_Read... [23:53:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:53:05]Read from MH i2c: E2 [23:53:05]MH_I2C_Read... [23:53:05]Read from MH i2c: E2 FD 00 [23:53:05]MH_I2C_Read... [23:53:05]Read from MH i2c: E2 FD 00 F7 0E 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 BA [23:53:05]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 [23:53:05]wFMCommunicate OK [23:53:05]wFMCommunicate request_size=4 [23:53:05]MH_SAM_APDU [23:53:05]CAPDU: 80 17 00 00 [23:53:05]Write to MH i2c: E2 08 00 F8 0E 80 17 00 00 00 00 00 00 86 [23:53:05]Write i2c OK [23:53:05]MH_I2C_Read... [23:53:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:53:05]Read from MH i2c: E2 [23:53:05]MH_I2C_Read... [23:53:05]Read from MH i2c: E2 FD 00 [23:53:05]MH_I2C_Read... [23:53:05]Read from MH i2c: E2 FD 00 F8 0E 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 46 [23:53:05]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 [23:53:05]wFMCommunicate OK [23:53:05]wFMCommunicate request_size=4 [23:53:05]MH_SAM_APDU [23:53:05]CAPDU: 80 17 00 00 [23:53:05]Write to MH i2c: E2 08 00 F9 0E 80 17 00 00 00 00 00 00 87 [23:53:05]Write i2c OK [23:53:05]MH_I2C_Read... [23:53:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:53:05]Read from MH i2c: E2 [23:53:05]MH_I2C_Read... [23:53:05]Read from MH i2c: E2 FD 00 [23:53:05]MH_I2C_Read... [23:53:05]Read from MH i2c: E2 FD 00 F9 0E 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 F6 [23:53:05]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 [23:53:06]wFMCommunicate OK [23:53:06]wFMCommunicate request_size=4 [23:53:06]MH_SAM_APDU [23:53:06]CAPDU: 80 17 00 00 [23:53:06]Write to MH i2c: E2 08 00 FA 0E 80 17 00 00 00 00 00 00 88 [23:53:06]Write i2c OK [23:53:06]MH_I2C_Read... [23:53:06]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [23:53:06]Read from MH i2c: E2 [23:53:06]MH_I2C_Read... [23:53:06]Read from MH i2c: E2 D3 00 [23:53:06]MH_I2C_Read... [23:53:06]Read from MH i2c: E2 D3 00 FA 0E 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 75 [23:53:06]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 [23:53:06]wFMCommunicate OK [23:53:06]SAM_PROTO_GetShiftData done [23:53:06]requested_item shift.sale.total_cash is exist - process it [23:53:06]requested_item shift.sale_refund.total is exist - process it [23:53:06]requested_item shift.sale_refund.total_cash is exist - process it [23:53:06]produce_requested_data done [23:53:06]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57240,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":41249.75,"shift.sale.total_cash":32818.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [23:53:06]process_action_free close_receipt [23:53:06]json_value_free [23:53:06]json_value_free done [23:53:06]process_json_proto returns [23:53:06]Send response to host [23:53:06]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57240,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":41249.75,"shift.sale.total_cash":32818.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [23:53:06]free response buf [23:53:06]execute_script done [23:53:06]execute_script returns [23:53:06]free content buf [23:53:06]Sock 7.Close socket [23:53:06]Sock 7.Thread stoped [23:53:08]OFD Sender: No OFD packet to send [23:53:13]OFD Sender: No OFD packet to send [23:53:18]OFD Sender: No OFD packet to send [23:53:23]OFD Sender: No OFD packet to send [23:53:28]OFD Sender: No OFD packet to send [23:53:33]OFD Sender: No OFD packet to send [23:53:38]OFD Sender: No OFD packet to send [23:53:43]OFD Sender: No OFD packet to send [23:53:48]OFD Sender: No OFD packet to send [23:53:53]OFD Sender: No OFD packet to send [23:53:58]OFD Sender: No OFD packet to send [23:54:03]OFD Sender: No OFD packet to send [23:54:08]OFD Sender: No OFD packet to send [23:54:13]OFD Sender: No OFD packet to send [23:54:18]OFD Sender: No OFD packet to send [23:54:23]OFD Sender: No OFD packet to send [23:54:28]OFD Sender: No OFD packet to send [23:54:33]OFD Sender: No OFD packet to send [23:54:38]OFD Sender: No OFD packet to send [23:54:43]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]accept exits with 9 [00:01:03]New connection [00:01:03]New thread 3067014500 created [00:01:03]Thread 3066871140 joined [00:01:03]Waiting for new connection... [00:01:03] Sock 9.Parse request [00:01:03]Sock 9.Check first char [00:01:03]Sock 9.First char is OK [00:01:03]request: POST /json_proto HTTP/1.0 [00:01:03]Method: POST [00:01:03]URL: /json_proto [00:01:03]Method is POST - this is cgi request [00:01:03]url: /json_proto [00:01:03]query_string will be loaded in cgi processing [00:01:03]execute_cgi json_proto POST (null) [00:01:03]execute_cgi path=json_proto method=POST [00:01:03]POST find Content-Length [00:01:03]Host: 172.17.39.4:8080 [00:01:03]Content-Length: 920 [00:01:03]Content-Type: application/json [00:01:03] [00:01:03]POST finish read [00:01:03]Found Content-Length = 920 [00:01:03]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129677", "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" : 6.000, "sum" : 630.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" : 630.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:01:03]execute_script... [00:01:03]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129677", "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" : 6.000, "sum" : 630.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" : 630.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:01:03]POST & json_proto [00:01:03]process_json_proto [00:01:03]json parsed OK: [00:01:03]protocol is kg_v1.0 [00:01:03]action value=close_receipt [00:01:03]process_action close_receipt [00:01:03]cmd_close_receipt [00:01:03]MH_GetDate [00:01:03]Write to MH i2c: F0 00 00 FB 0E F8 [00:01:03]Write i2c OK [00:01:03]MH_I2C_Read... [00:01:03]Read from MH i2c: F0 [00:01:03]MH_I2C_Read... [00:01:03]Read from MH i2c: F0 09 00 [00:01:03]MH_I2C_Read... [00:01:03]Read from MH i2c: F0 09 00 FB 0E 00 41 B8 95 66 2D 25 5D 64 08 [00:01:03]GetLastDocTimeStamp 1721087582 [00:01:03]current date 1721088065 [00:01:03]FM_GetShiftState [00:01:03]SAM_PROTO_GetShiftState [00:01:03]wFMCommunicate request_size=4 [00:01:03]MH_SAM_APDU [00:01:03]CAPDU: 80 13 01 00 [00:01:03]Write to MH i2c: E2 08 00 FC 0E 80 13 01 00 00 00 00 00 87 [00:01:03]Write i2c OK [00:01:03]MH_I2C_Read... [00:01:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:01:03]Read from MH i2c: E2 [00:01:03]MH_I2C_Read... [00:01:03]Read from MH i2c: E2 0E 00 [00:01:03]MH_I2C_Read... [00:01:03]Read from MH i2c: E2 0E 00 FC 0E 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 00 [00:01:03]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [00:01:03]wFMCommunicate OK [00:01:03]SAM_PROTO_GetShiftState done [00:01:03]FM_GetShiftState done [00:01:03]opened in 1721003525 [00:01:03]opened+sec_in_day 1721089925 [00:01:03]quantity*price = 63000 [00:01:03]sum+1 = 63001 [00:01:03]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 630.00 НСП 1% : 5.57 НДС 12% : 66.90 Наличными: 0.00 Безнал.: 630.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 136 16.07.2024 00:01 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 Платежная система: О! деньги ФМ: 0000000000874857 ФД: 57241 ФПД: 119903076575592 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240716T000105&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57241&fm=119903076575592&tin=02508201610067®Number=0000000000091208&sum=63000 0 [00:01:04]StoreToDocumentArchive [00:01:04]shift 497 fd 57241 [00:01:04]save to /storage/0497/doc_00057241 [00:01:04]save last doc name /storage/0497/doc_00057241 to /storage/kkm_last_doc_name [00:01:04]save OK [00:01:04]Clear old archive folders... [00:01:04]ProcessDocumentItem done err = 0, tmpTLVsize=282 [00:01:04]tlvbuf is 00882F20 [00:01:04]SAM_PROTO_ClearQueue [00:01:04]wFMCommunicate request_size=4 [00:01:04]MH_SAM_APDU [00:01:04]CAPDU: 80 09 00 00 [00:01:04]Write to MH i2c: E2 08 00 09 0F 80 09 00 00 00 00 00 00 8A [00:01:04]Write i2c OK [00:01:04]MH_I2C_Read... [00:01:04]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:01:04]Read from MH i2c: E2 [00:01:04]MH_I2C_Read... [00:01:04]Read from MH i2c: E2 03 00 [00:01:04]MH_I2C_Read... [00:01:04]Read from MH i2c: E2 03 00 09 0F 00 90 00 8C [00:01:04]RAPDU: 90 00 [00:01:04]wFMCommunicate OK [00:01:04]SAM_PROTO_ClearQueue done [00:01:04]KKMCreateOFDPacket [00:01:04]OFDProtocolAddRootSTLVToBuf [00:01:04]FM_MakeSignedData [00:01:04]FM_MakeSignedData [00:01:04]SAM_PROTO_SignData [00:01:04]wFMCommunicate request_size=4 [00:01:04]MH_SAM_APDU [00:01:04]CAPDU: 80 0D 01 02 [00:01:04]Write to MH i2c: E2 08 00 0A 0F 80 0D 01 02 00 00 00 00 92 [00:01:04]Write i2c OK [00:01:04]MH_I2C_Read... [00:01:04]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:01:04]Read from MH i2c: E2 [00:01:04]MH_I2C_Read... [00:01:04]Read from MH i2c: E2 03 00 [00:01:04]MH_I2C_Read... [00:01:04]Read from MH i2c: E2 03 00 0A 0F 00 90 00 8D [00:01:04]RAPDU: 90 00 [00:01:04]wFMCommunicate OK [00:01:04]wFMCommunicate request_size=255 [00:01:04]MH_SAM_APDU [00:01:04]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 70 17 00 00 00 00 00 37 04 06 00 04 29 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 FC 03 06 00 18 F6 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2D 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 22 1A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 18 F6 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 88 00 00 00 F4 03 04 00 41 B8 95 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 [00:01:04]Write to MH i2c: E2 02 01 0B 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 70 17 00 00 00 00 00 37 04 06 00 04 29 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 FC 03 06 00 18 F6 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2D 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 22 1A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 18 F6 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 88 00 00 00 F4 03 04 00 41 B8 95 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 00 00 B1 [00:01:04]Write i2c OK [00:01:04]MH_I2C_Read... [00:01:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:01:04]Read from MH i2c: E2 [00:01:04]MH_I2C_Read... [00:01:04]Read from MH i2c: E2 03 00 [00:01:04]MH_I2C_Read... [00:01:04]Read from MH i2c: E2 03 00 0B 0F 00 90 00 8E [00:01:04]RAPDU: 90 00 [00:01:04]wFMCommunicate OK [00:01:04]wFMCommunicate request_size=41 [00:01:04]MH_SAM_APDU [00:01:04]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 99 DF 00 00 35 04 06 00 6D 0D 1C 49 69 68 [00:01:04]Write to MH i2c: E2 2C 00 0C 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 99 DF 00 00 35 04 06 00 6D 0D 1C 49 69 68 00 00 93 [00:01:04]Write i2c OK [00:01:04]MH_I2C_Read... [00:01:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:01:04]Read from MH i2c: E2 [00:01:04]MH_I2C_Read... [00:01:04]Read from MH i2c: E2 03 00 [00:01:04]MH_I2C_Read... [00:01:04]Read from MH i2c: E2 03 00 0C 0F 00 90 00 8F [00:01:04]RAPDU: 90 00 [00:01:04]wFMCommunicate OK [00:01:04]wFMCommunicate request_size=4 [00:01:04]MH_SAM_APDU [00:01:04]CAPDU: 80 0D 03 02 [00:01:04]Write to MH i2c: E2 08 00 0D 0F 80 0D 03 02 00 00 00 00 97 [00:01:04]Write i2c OK [00:01:04]MH_I2C_Read... [00:01:05]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:01:05]Read from MH i2c: E2 [00:01:05]MH_I2C_Read... [00:01:05]Read from MH i2c: E2 0B 00 [00:01:05]MH_I2C_Read... [00:01:05]Read from MH i2c: E2 0B 00 0D 0F 00 20 72 04 BF 5C 1F A9 71 90 00 82 [00:01:05]RAPDU: 20 72 04 BF 5C 1F A9 71 90 00 [00:01:05]wFMCommunicate OK [00:01:05]SAM_PROTO_SignData done [00:01:05]FM_MakeSignedData done [00:01:05]CreateOFDProtocolMessage [00:01:05]wFMCommunicate request_size=4 [00:01:05]MH_SAM_APDU [00:01:05]CAPDU: 80 11 00 00 [00:01:05]Write to MH i2c: E2 08 00 0E 0F 80 11 00 00 00 00 00 00 97 [00:01:05]Write i2c OK [00:01:05]MH_I2C_Read... [00:01:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:01:05]Read from MH i2c: E2 [00:01:05]MH_I2C_Read... [00:01:05]Read from MH i2c: E2 17 00 [00:01:05]MH_I2C_Read... [00:01:05]Read from MH i2c: E2 17 00 0E 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 F1 [00:01: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:01:05]wFMCommunicate OK [00:01:05]CreateOFDProtocolMessage done [00:01:05]OFDSenderStorePacket 57241 [00:01:05]StoreOFDPacket docnum=57241 [00:01: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 F7 03 26 01 09 07 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 70 17 00 00 00 00 00 37 04 06 00 04 29 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 FC 03 06 00 18 F6 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2D 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 22 1A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 18 F6 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 88 00 00 00 F4 03 04 00 41 B8 95 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 99 DF 00 00 35 04 06 00 6D 0D 1C 49 69 68 20 72 04 BF 5C 1F A9 71 [00:01:05]CheckFolder [00:01:05]dirname=/storage/ofd_packets [00:01:05]CheckFolder done [00:01:05]ProducePacketName [00:01:05]name=ofd_packets/00057241 [00:01:05]NVStorageSaveData ofd_packets/00057241 [00:01:05]File name is /storage/ofd_packets/00057241 [00:01:05]Write 332 bytes [00:01:05]NVStorageSaveData done [00:01:05]OFDSenderStorePacket done [00:01:05]KKMCreateOFDPacket done [00:01:05]NVStorageSaveData kkm_last_timestamp [00:01:05]File name is /storage/kkm_last_timestamp [00:01:05]Write 4 bytes [00:01:05]NVStorageSaveData done [00:01:05]ExternCall_PrintAddStr [00:01:05]wPrintStart [00:01:05]Write to MH i2c: 01 00 00 0F 0F 1E [00:01:05]Write i2c OK [00:01:05]MH_I2C_Read... [00:01:05]Read from MH i2c: 01 [00:01:05]MH_I2C_Read... [00:01:05]Read from MH i2c: 01 07 00 [00:01:05]MH_I2C_Read... [00:01:05]Read from MH i2c: 01 07 00 0F 0F 00 00 00 00 00 FF 0F 33 [00:01:05]RasterBufferAndPrint [00:01:05]line Счет N : (3)129677 [00:01:05]line ИНН: 02508201610067 [00:01:05]line Контрольно-Кассовый Чек [00:01:05]line ПРОДАЖА [00:01:05]line Товар: 2000034730018 [00:01:05]line Кофе Американо (GABB TRADE) [00:01:05]line 6.000 * 105.00 [00:01:05]line = 630.00 [00:01:05]line НДС 12% НСП 1% [00:01:05]line > о реализуемом товаре [00:01:05]line ИТОГО: 630.00 [00:01:05]line НСП 1% : 5.57 [00:01:05]line НДС 12% : 66.90 [00:01:05]line Наличными: 0.00 [00:01:05]line Безнал.: 630.00 [00:01:05]line Место: АЗС № 132 "Партнер Нефть" [00:01:05]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [00:01:05]line СНО: Общий режим [00:01:05]line Чек 136 16.07.2024 00:01 [00:01:05]line Смена: 497 ФФД: 1.0 [00:01:05]line ЗНМ: 0300000132 [00:01:05]line РНМ: 0000000000091208 [00:01:05]line Версия ККМ: 001 [00:01:05]line Платежная система: О! деньги [00:01:05]line ФМ: 0000000000874857 [00:01:05]line ФД: 57241 [00:01:05]line ФПД: 119903076575592 [00:01:05]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240716T000105&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57241&fm=119903076575592&tin=02508201610067®Number=0000000000091208&sum=63000 [00:01:05]line 0 [00:01:05]OFD Sender: Processing packet 57241 [packets to send 38, broken 37] [00:01:05]ProducePacketName [00:01:05]name=ofd_packets/00057241 [00:01:05]OFD Sender: To server: pG, [00:01:05]CommunicateWithHost lk.salyk.kg:30040 [00:01:05]ConnectInit lk.salyk.kg [00:01:05]written 0, free lines is 4095 [00:01:05]Connected sock=10 [00:01: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 F7 03 26 01 09 07 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 70 17 00 00 00 00 00 37 04 06 00 04 29 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 FC 03 06 00 18 F6 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2D 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 22 1A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 18 F6 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 88 00 00 00 F4 03 04 00 41 B8 95 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 99 DF 00 00 35 04 06 00 6D 0D 1C 49 69 68 20 72 04 BF 5C 1F A9 71 [00:01:05]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 DC 47 00 9A A6 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 99 DF 00 00 F4 03 04 00 8E 5E 95 66 B6 04 01 00 00 82 05 8A 29 CF 2F F3 CF [00:01:05]CommunicateWithHost err = 0 [00:01:05]CheckOFDResponse [00:01:05]1017 (14) - 77093643461234 [00:01:05]1041 (16) - 0000000000874857 [00:01:05]1040 (4) - 57241 [00:01:05]1012 (4) - 15.07.2024 17:38 [00:01:05]1206 (1) - 0 [00:01:05]OFD Sender: Remove packet 57241 [00:01:05]ProducePacketName [00:01:05]name=ofd_packets/00057241 [00:01:05]NVStorageDeleteData [00:01:05]Write to MH i2c: 01 00 00 3A 0F 49 [00:01:05]Write i2c OK [00:01:05]MH_I2C_Read... [00:01:05]Read from MH i2c: 01 [00:01:05]MH_I2C_Read... [00:01:05]Read from MH i2c: 01 07 00 [00:01:05]MH_I2C_Read... [00:01:05]Read from MH i2c: 01 07 00 3A 0F 00 00 00 00 00 DC 0C 38 [00:01:05]RasterBufferAndPrint [00:01:05]line [00:01:05]line [00:01:05]line [00:01:05]line [00:01:05]line [00:01:05]written 0, free lines is 3296 [00:01:05]MH_Cut [00:01:05]Write to MH i2c: D1 01 00 41 0F 01 22 [00:01:05]Write i2c OK [00:01:05]MH_I2C_Read... [00:01:05]Read from MH i2c: D1 [00:01:05]MH_I2C_Read... [00:01:05]Read from MH i2c: D1 01 00 [00:01:05]MH_I2C_Read... [00:01:05]Read from MH i2c: D1 01 00 41 0F 00 21 [00:01:05]Write to MH i2c: 01 00 00 42 0F 51 [00:01:05]Write i2c OK [00:01:05]MH_I2C_Read... [00:01:06]OFD Sender: No OFD packet to send [00:01:06]*** Cut start [00:01:06]*** Partial cut [00:01:06]*** CUTSNS_PIN = 1 [00:01:06]*** CUTSNS_PIN = 0 [00:01:06]*** Brake cut motor [00:01:07]Read from MH i2c: 01 [00:01:07]MH_I2C_Read... [00:01:07]*** Stop cut motor [00:01:07]*** Cut end [00:01:07]Read from MH i2c: 01 07 00 [00:01:07]MH_I2C_Read... [00:01:07]Read from MH i2c: 01 07 00 42 0F 00 00 00 00 00 FF 0F 66 [00:01:07]process_action close_receipt done [00:01:07]requested_data is exist [00:01:07]produce_requested_data [00:01:07]requested_item fm.sn is exist - process it [00:01:07]wFMCommunicate request_size=4 [00:01:07]MH_SAM_APDU [00:01:07]CAPDU: 80 11 00 00 [00:01:07]Write to MH i2c: E2 08 00 43 0F 80 11 00 00 00 00 00 00 CC [00:01:07]Write i2c OK [00:01:07]MH_I2C_Read... [00:01:07]Read from MH i2c: E2 [00:01:07]MH_I2C_Read... [00:01:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:01:07]Read from MH i2c: E2 17 00 [00:01:07]MH_I2C_Read... [00:01:07]Read from MH i2c: E2 17 00 43 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 26 [00:01:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [00:01:07]wFMCommunicate OK [00:01:07]requested_item fd.num is exist - process it [00:01:07]SAM_PROTO_GetFieldsCounters [00:01:07]wFMCommunicate request_size=4 [00:01:07]MH_SAM_APDU [00:01:07]CAPDU: 80 13 00 00 [00:01:07]Write to MH i2c: E2 08 00 44 0F 80 13 00 00 00 00 00 00 CF [00:01:07]Write i2c OK [00:01:07]MH_I2C_Read... [00:01:07]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:01:07]Read from MH i2c: E2 [00:01:07]MH_I2C_Read... [00:01:07]Read from MH i2c: E2 62 00 [00:01:07]MH_I2C_Read... [00:01:07]Read from MH i2c: E2 62 00 44 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 99 DF 00 00 0E 04 04 00 F1 01 00 00 12 04 04 00 88 00 00 00 5E 04 04 00 88 00 00 00 57 04 04 00 89 00 00 00 19 04 04 00 00 00 00 00 90 00 F4 [00:01: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 99 DF 00 00 0E 04 04 00 F1 01 00 00 12 04 04 00 88 00 00 00 5E 04 04 00 88 00 00 00 57 04 04 00 89 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:01:07]wFMCommunicate OK [00:01:07]SAM_PROTO_GetFieldsCounters done [00:01:07]requested_item shift.num is exist - process it [00:01:07]requested_item shift.opened is exist - process it [00:01:07]req_shift_opened [00:01:07]FM_GetShiftState [00:01:07]SAM_PROTO_GetShiftState [00:01:07]wFMCommunicate request_size=4 [00:01:07]MH_SAM_APDU [00:01:07]CAPDU: 80 13 01 00 [00:01:07]Write to MH i2c: E2 08 00 45 0F 80 13 01 00 00 00 00 00 D1 [00:01:07]Write i2c OK [00:01:07]MH_I2C_Read... [00:01:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:01:07]Read from MH i2c: E2 [00:01:07]MH_I2C_Read... [00:01:07]Read from MH i2c: E2 0E 00 [00:01:07]MH_I2C_Read... [00:01:07]Read from MH i2c: E2 0E 00 45 0F 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 4A [00:01:07]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [00:01:07]wFMCommunicate OK [00:01:07]SAM_PROTO_GetShiftState done [00:01:07]FM_GetShiftState done [00:01:07]req_shift_opened done [00:01:07]requested_item shift.open_date is exist - process it [00:01:07]req_shift_open_date [00:01:07]req_shift_open_date done [00:01:07]requested_item shift.sale.total is exist - process it [00:01:07]SAM_PROTO_GetShiftData [00:01:07]wFMCommunicate request_size=4 [00:01:07]MH_SAM_APDU [00:01:07]CAPDU: 80 13 02 00 [00:01:07]Write to MH i2c: E2 08 00 46 0F 80 13 02 00 00 00 00 00 D3 [00:01:07]Write i2c OK [00:01:07]MH_I2C_Read... [00:01:07]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:01:07]Read from MH i2c: E2 [00:01:07]MH_I2C_Read... [00:01:07]Read from MH i2c: E2 FD 00 [00:01:07]MH_I2C_Read... [00:01:07]Read from MH i2c: E2 FD 00 46 0F 00 B6 04 AA 04 B2 04 6E 04 04 00 88 00 00 00 69 04 9B 00 6F 04 04 00 87 00 00 00 B1 04 03 00 47 E7 3F 70 04 03 00 88 13 32 72 04 03 00 BF D3 0D 00 04 7A 00 EE 03 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 C9 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 C4 90 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 B1 [00:01:07]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 88 00 00 00 69 04 9B 00 6F 04 04 00 87 00 00 00 B1 04 03 00 47 E7 3F 70 04 03 00 88 13 32 72 04 03 00 BF D3 0D 00 04 7A 00 EE 03 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 C9 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 C4 90 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 [00:01:07]wFMCommunicate OK [00:01:07]wFMCommunicate request_size=4 [00:01:07]MH_SAM_APDU [00:01:07]CAPDU: 80 17 00 00 [00:01:07]Write to MH i2c: E2 08 00 47 0F 80 17 00 00 00 00 00 00 D6 [00:01:07]Write i2c OK [00:01:07]MH_I2C_Read... [00:01:08]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:01:08]Read from MH i2c: E2 [00:01:08]MH_I2C_Read... [00:01:08]Read from MH i2c: E2 FD 00 [00:01:08]MH_I2C_Read... [00:01:08]Read from MH i2c: E2 FD 00 47 0F 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 0B [00:01:08]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 [00:01:08]wFMCommunicate OK [00:01:08]wFMCommunicate request_size=4 [00:01:08]MH_SAM_APDU [00:01:08]CAPDU: 80 17 00 00 [00:01:08]Write to MH i2c: E2 08 00 48 0F 80 17 00 00 00 00 00 00 D7 [00:01:08]Write i2c OK [00:01:08]MH_I2C_Read... [00:01:08]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:01:08]Read from MH i2c: E2 [00:01:08]MH_I2C_Read... [00:01:08]Read from MH i2c: E2 FD 00 [00:01:08]MH_I2C_Read... [00:01:08]Read from MH i2c: E2 FD 00 48 0F 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 97 [00:01:08]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 [00:01:08]wFMCommunicate OK [00:01:08]wFMCommunicate request_size=4 [00:01:08]MH_SAM_APDU [00:01:08]CAPDU: 80 17 00 00 [00:01:08]Write to MH i2c: E2 08 00 49 0F 80 17 00 00 00 00 00 00 D8 [00:01:08]Write i2c OK [00:01:08]MH_I2C_Read... [00:01:08]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:01:08]Read from MH i2c: E2 [00:01:08]MH_I2C_Read... [00:01:08]Read from MH i2c: E2 FD 00 [00:01:08]MH_I2C_Read... [00:01:08]Read from MH i2c: E2 FD 00 49 0F 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 47 [00:01:08]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 [00:01:08]wFMCommunicate OK [00:01:08]wFMCommunicate request_size=4 [00:01:08]MH_SAM_APDU [00:01:08]CAPDU: 80 17 00 00 [00:01:08]Write to MH i2c: E2 08 00 4A 0F 80 17 00 00 00 00 00 00 D9 [00:01:08]Write i2c OK [00:01:08]MH_I2C_Read... [00:01:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [00:01:09]Read from MH i2c: E2 [00:01:09]MH_I2C_Read... [00:01:09]Read from MH i2c: E2 D3 00 [00:01:09]MH_I2C_Read... [00:01:09]Read from MH i2c: E2 D3 00 4A 0F 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 C6 [00:01:09]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 [00:01:09]wFMCommunicate OK [00:01:09]SAM_PROTO_GetShiftData done [00:01:09]requested_item shift.sale.total_cash is exist - process it [00:01:09]requested_item shift.sale_refund.total is exist - process it [00:01:09]requested_item shift.sale_refund.total_cash is exist - process it [00:01:09]produce_requested_data done [00:01:09]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57241,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":41879.75,"shift.sale.total_cash":32818.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [00:01:09]process_action_free close_receipt [00:01:09]json_value_free [00:01:09]json_value_free done [00:01:09]process_json_proto returns [00:01:09]Send response to host [00:01:09]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57241,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":41879.75,"shift.sale.total_cash":32818.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [00:01:09]free response buf [00:01:09]execute_script done [00:01:09]execute_script returns [00:01:09]free content buf [00:01:09]Sock 9.Close socket [00:01:09]Sock 9.Thread stoped [00:01:11]OFD Sender: No OFD packet to send [00:01:16]OFD Sender: No OFD packet to send [00:01:21]OFD Sender: No OFD packet to send [00:01:26]OFD Sender: No OFD packet to send [00:01:31]OFD Sender: No OFD packet to send [00:01:36]OFD Sender: No OFD packet to send [00:01:41]OFD Sender: No OFD packet to send [00:01:46]OFD Sender: No OFD packet to send [00:01:51]OFD Sender: No OFD packet to send [00:01:56]OFD Sender: No OFD packet to send [00:02:01]OFD Sender: No OFD packet to send [00:02:06]OFD Sender: No OFD packet to send [00:02:11]OFD Sender: No OFD packet to send [00:02:16]OFD Sender: No OFD packet to send [00:02:21]OFD Sender: No OFD packet to send [00:02:26]OFD Sender: No OFD packet to send [00:02:31]OFD Sender: No OFD packet to send [00:02:36]OFD Sender: No OFD packet to send [00:02:41]OFD Sender: No OFD packet to send [00:02:46]OFD Sender: No OFD packet to send [00:02:51]OFD Sender: No OFD packet to send [00:02:56]OFD Sender: No OFD packet to send [00:03:01]OFD Sender: No OFD packet to send [00:03:06]OFD Sender: No OFD packet to send [00:03:11]OFD Sender: No OFD packet to send [00:03:12]accept exits with 7 [00:03:12]New connection [00:03:12]New thread 3066871140 created [00:03:12]Thread 3067014500 joined [00:03:12]Waiting for new connection... [00:03:12] Sock 7.Parse request [00:03:12]Sock 7.Check first char [00:03:12]Sock 7.First char is OK [00:03:12]request: POST /json_proto HTTP/1.0 [00:03:12]Method: POST [00:03:12]URL: /json_proto [00:03:12]Method is POST - this is cgi request [00:03:12]url: /json_proto [00:03:12]query_string will be loaded in cgi processing [00:03:12]execute_cgi json_proto POST (null) [00:03:12]execute_cgi path=json_proto method=POST [00:03:12]POST find Content-Length [00:03:12]Host: 172.17.39.4:8080 [00:03:12]Content-Length: 1039 [00:03:12]Content-Type: application/json [00:03:12] [00:03:12]POST finish read [00:03:12]Found Content-Length = 1039 [00:03:12]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129678", "tax_sys" : 0, "items" : [ { "code": "4870235681390", "name": "\u0427\u0418\u041F\u0421\u042B SLANG \u0421\u041E \u0412\u041A\u0423\u0421\u041E\u041C \u041F\u0410\u041F\u0420\u0418\u041A\u0410 60\u0413", "price" : 95.00, "quantity" : 1.000, "sum" : 95.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 }]} ], "payments": [ { "type": 0, "sum" : 135.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:03:12]execute_script... [00:03: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)129678", "tax_sys" : 0, "items" : [ { "code": "4870235681390", "name": "\u0427\u0418\u041F\u0421\u042B SLANG \u0421\u041E \u0412\u041A\u0423\u0421\u041E\u041C \u041F\u0410\u041F\u0420\u0418\u041A\u0410 60\u0413", "price" : 95.00, "quantity" : 1.000, "sum" : 95.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 }]} ], "payments": [ { "type": 0, "sum" : 135.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:03:12]POST & json_proto [00:03:12]process_json_proto [00:03:12]json parsed OK: [00:03:12]protocol is kg_v1.0 [00:03:12]action value=close_receipt [00:03:12]process_action close_receipt [00:03:12]cmd_close_receipt [00:03:12]MH_GetDate [00:03:12]Write to MH i2c: F0 00 00 4B 0F 49 [00:03:12]Write i2c OK [00:03:12]MH_I2C_Read... [00:03:12]Read from MH i2c: F0 [00:03:12]MH_I2C_Read... [00:03:12]Read from MH i2c: F0 09 00 [00:03:12]MH_I2C_Read... [00:03:12]Read from MH i2c: F0 09 00 4B 0F 00 C2 B8 95 66 2D 25 5D 64 DA [00:03:12]GetLastDocTimeStamp 1721088065 [00:03:12]current date 1721088194 [00:03:12]FM_GetShiftState [00:03:12]SAM_PROTO_GetShiftState [00:03:12]wFMCommunicate request_size=4 [00:03:12]MH_SAM_APDU [00:03:12]CAPDU: 80 13 01 00 [00:03:12]Write to MH i2c: E2 08 00 4C 0F 80 13 01 00 00 00 00 00 D8 [00:03:12]Write i2c OK [00:03:12]MH_I2C_Read... [00:03:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:03:12]Read from MH i2c: E2 [00:03:12]MH_I2C_Read... [00:03:12]Read from MH i2c: E2 0E 00 [00:03:12]MH_I2C_Read... [00:03:12]Read from MH i2c: E2 0E 00 4C 0F 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 51 [00:03:12]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [00:03:12]wFMCommunicate OK [00:03:12]SAM_PROTO_GetShiftState done [00:03:12]FM_GetShiftState done [00:03:12]opened in 1721003525 [00:03:12]opened+sec_in_day 1721089925 [00:03:12]quantity*price = 9500 [00:03:12]sum+1 = 9501 [00:03:12]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 46177872 Жев Orbit подушки Citrus 1.000 * 40.00 = 40.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 135.00 НСП 1% : 1.19 НДС 12% : 14.34 Наличными: 135.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 137 16.07.2024 00:03 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57242 ФПД: 113250306840171 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240716T000314&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57242&fm=113250306840171&tin=02508201610067®Number=0000000000091208&sum=13500 0 [00:03:13]StoreToDocumentArchive [00:03:13]shift 497 fd 57242 [00:03:13]save to /storage/0497/doc_00057242 [00:03:13]save last doc name /storage/0497/doc_00057242 to /storage/kkm_last_doc_name [00:03:13]save OK [00:03:13]Clear old archive folders... [00:03:13]ProcessDocumentItem done err = 0, tmpTLVsize=397 [00:03:13]tlvbuf is 0087FF30 [00:03:13]SAM_PROTO_ClearQueue [00:03:13]wFMCommunicate request_size=4 [00:03:13]MH_SAM_APDU [00:03:13]CAPDU: 80 09 00 00 [00:03:13]Write to MH i2c: E2 08 00 59 0F 80 09 00 00 00 00 00 00 DA [00:03:13]Write i2c OK [00:03:13]MH_I2C_Read... [00:03:13]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:03:13]Read from MH i2c: E2 [00:03:13]MH_I2C_Read... [00:03:13]Read from MH i2c: E2 03 00 [00:03:13]MH_I2C_Read... [00:03:13]Read from MH i2c: E2 03 00 59 0F 00 90 00 DC [00:03:13]RAPDU: 90 00 [00:03:13]wFMCommunicate OK [00:03:13]SAM_PROTO_ClearQueue done [00:03:13]KKMCreateOFDPacket [00:03:13]OFDProtocolAddRootSTLVToBuf [00:03:13]FM_MakeSignedData [00:03:13]FM_MakeSignedData [00:03:13]SAM_PROTO_SignData [00:03:13]wFMCommunicate request_size=4 [00:03:13]MH_SAM_APDU [00:03:13]CAPDU: 80 0D 01 02 [00:03:13]Write to MH i2c: E2 08 00 5A 0F 80 0D 01 02 00 00 00 00 E2 [00:03:13]Write i2c OK [00:03:13]MH_I2C_Read... [00:03:13]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:03:13]Read from MH i2c: E2 [00:03:13]MH_I2C_Read... [00:03:13]Read from MH i2c: E2 03 00 [00:03:13]MH_I2C_Read... [00:03:13]Read from MH i2c: E2 03 00 5A 0F 00 90 00 DD [00:03:13]RAPDU: 90 00 [00:03:13]wFMCommunicate OK [00:03:13]wFMCommunicate request_size=255 [00:03:13]MH_SAM_APDU [00:03:13]CAPDU: 80 0D 02 02 FA 03 00 8D 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 38 37 30 32 33 35 36 38 31 33 39 30 06 04 36 00 D0 A7 D0 98 D0 9F D0 A1 D0 AB 20 53 4C 41 4E 47 20 D0 A1 D0 9E 20 D0 92 D0 9A D0 A3 D0 A1 D0 9E D0 9C 20 D0 9F D0 90 D0 9F D0 A0 D0 98 D0 9A D0 90 20 36 30 D0 93 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 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 BC 34 00 00 00 00 EB 03 26 00 [00:03:13]Write to MH i2c: E2 02 01 5B 0F 80 0D 02 02 FA 00 03 00 8D 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 38 37 30 32 33 35 36 38 31 33 39 30 06 04 36 00 D0 A7 D0 98 D0 9F D0 A1 D0 AB 20 53 4C 41 4E 47 20 D0 A1 D0 9E 20 D0 92 D0 9A D0 A3 D0 A1 D0 9E D0 9C 20 D0 9F D0 90 D0 9F D0 A0 D0 98 D0 9A D0 90 20 36 30 D0 93 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 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 BC 34 00 00 00 00 EB 03 26 00 00 00 AB [00:03:13]Write i2c OK [00:03:13]MH_I2C_Read... [00:03:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:03:14]Read from MH i2c: E2 [00:03:14]MH_I2C_Read... [00:03:14]Read from MH i2c: E2 03 00 [00:03:14]MH_I2C_Read... [00:03:14]Read from MH i2c: E2 03 00 5B 0F 00 90 00 DE [00:03:14]RAPDU: 90 00 [00:03:14]wFMCommunicate OK [00:03:14]wFMCommunicate request_size=156 [00:03:14]MH_SAM_APDU [00:03:14]CAPDU: 80 0D 02 02 97 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 89 00 00 00 F4 03 04 00 C2 B8 95 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 9A DF 00 00 35 04 06 00 67 00 24 4F 56 6B [00:03:14]Write to MH i2c: E2 9F 00 5C 0F 80 0D 02 02 97 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 89 00 00 00 F4 03 04 00 C2 B8 95 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 9A DF 00 00 35 04 06 00 67 00 24 4F 56 6B 00 00 48 [00:03:14]Write i2c OK [00:03:14]MH_I2C_Read... [00:03:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:03:14]Read from MH i2c: E2 [00:03:14]MH_I2C_Read... [00:03:14]Read from MH i2c: E2 03 00 [00:03:14]MH_I2C_Read... [00:03:14]Read from MH i2c: E2 03 00 5C 0F 00 90 00 DF [00:03:14]RAPDU: 90 00 [00:03:14]wFMCommunicate OK [00:03:14]wFMCommunicate request_size=4 [00:03:14]MH_SAM_APDU [00:03:14]CAPDU: 80 0D 03 02 [00:03:14]Write to MH i2c: E2 08 00 5D 0F 80 0D 03 02 00 00 00 00 E7 [00:03:14]Write i2c OK [00:03:14]MH_I2C_Read... [00:03:14]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:03:14]Read from MH i2c: E2 [00:03:14]MH_I2C_Read... [00:03:14]Read from MH i2c: E2 0B 00 [00:03:14]MH_I2C_Read... [00:03:14]Read from MH i2c: E2 0B 00 5D 0F 00 2D F6 B6 A3 9A FF 2B 25 90 00 4D [00:03:14]RAPDU: 2D F6 B6 A3 9A FF 2B 25 90 00 [00:03:14]wFMCommunicate OK [00:03:14]SAM_PROTO_SignData done [00:03:14]FM_MakeSignedData done [00:03:14]CreateOFDProtocolMessage [00:03:14]wFMCommunicate request_size=4 [00:03:14]MH_SAM_APDU [00:03:14]CAPDU: 80 11 00 00 [00:03:14]Write to MH i2c: E2 08 00 5E 0F 80 11 00 00 00 00 00 00 E7 [00:03:14]Write i2c OK [00:03:14]MH_I2C_Read... [00:03:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:03:14]Read from MH i2c: E2 [00:03:14]MH_I2C_Read... [00:03:14]Read from MH i2c: E2 17 00 [00:03:14]MH_I2C_Read... [00:03:14]Read from MH i2c: E2 17 00 5E 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 41 [00:03:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [00:03:14]wFMCommunicate OK [00:03:14]CreateOFDProtocolMessage done [00:03:14]OFDSenderStorePacket 57242 [00:03:14]StoreOFDPacket docnum=57242 [00:03: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 A1 01 00 00 78 60 99 01 01 96 5A 03 01 00 03 00 8D 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 38 37 30 32 33 35 36 38 31 33 39 30 06 04 36 00 D0 A7 D0 98 D0 9F D0 A1 D0 AB 20 53 4C 41 4E 47 20 D0 A1 D0 9E 20 D0 92 D0 9A D0 A3 D0 A1 D0 9E D0 9C 20 D0 9F D0 90 D0 9F D0 A0 D0 98 D0 9A D0 90 20 36 30 D0 93 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 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 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 89 00 00 00 F4 03 04 00 C2 B8 95 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 9A DF 00 00 35 04 06 00 67 00 24 4F 56 6B 2D F6 B6 A3 9A FF 2B 25 [00:03:14]CheckFolder [00:03:14]dirname=/storage/ofd_packets [00:03:14]CheckFolder done [00:03:14]ProducePacketName [00:03:14]name=ofd_packets/00057242 [00:03:14]NVStorageSaveData ofd_packets/00057242 [00:03:14]File name is /storage/ofd_packets/00057242 [00:03:14]Write 447 bytes [00:03:14]NVStorageSaveData done [00:03:14]OFDSenderStorePacket done [00:03:14]KKMCreateOFDPacket done [00:03:14]NVStorageSaveData kkm_last_timestamp [00:03:14]File name is /storage/kkm_last_timestamp [00:03:14]Write 4 bytes [00:03:14]NVStorageSaveData done [00:03:14]ExternCall_PrintAddStr [00:03:14]wPrintStart [00:03:14]Write to MH i2c: 01 00 00 5F 0F 6E [00:03:14]OFD Sender: Processing packet 57242 [packets to send 38, broken 37] [00:03:14]ProducePacketName [00:03:14]name=ofd_packets/00057242 [00:03:14]OFD Sender: To server: pG, [00:03:14]CommunicateWithHost lk.salyk.kg:30040 [00:03:14]Write i2c OK [00:03:14]MH_I2C_Read... [00:03:14]ConnectInit lk.salyk.kg [00:03:14]Read from MH i2c: 01 [00:03:14]MH_I2C_Read... [00:03:14]Read from MH i2c: 01 07 00 [00:03:14]MH_I2C_Read... [00:03:14]Read from MH i2c: 01 07 00 5F 0F 00 00 00 00 00 FF 0F 83 [00:03:14]RasterBufferAndPrint [00:03:14]line Счет N : (3)129678 [00:03:14]line ИНН: 02508201610067 [00:03:14]line Контрольно-Кассовый Чек [00:03:14]line ПРОДАЖА [00:03:14]line Товар: 4870235681390 [00:03:14]line ЧИПСЫ SLANG СО ВКУСОМ ПАПРИКА 60Г [00:03:14]line 1.000 * 95.00 [00:03:14]line = 95.00 [00:03:14]line НДС 12% НСП 1% [00:03:14]line > о реализуемом товаре [00:03:14]line Товар: 46177872 [00:03:14]line Жев Orbit подушки Citrus [00:03:14]line 1.000 * 40.00 [00:03:14]line = 40.00 [00:03:14]line НДС 12% НСП 1% [00:03:14]line > о реализуемом товаре [00:03:14]line ИТОГО: 135.00 [00:03:14]line НСП 1% : 1.19 [00:03:14]line НДС 12% : 14.34 [00:03:14]line Наличными: 135.00 [00:03:14]line Безнал.: 0.00 [00:03:14]line Место: АЗС № 132 "Партнер Нефть" [00:03:14]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [00:03:14]line СНО: Общий режим [00:03:14]line Чек 137 16.07.2024 00:03 [00:03:14]line Смена: 497 ФФД: 1.0 [00:03:14]line ЗНМ: 0300000132 [00:03:14]line РНМ: 0000000000091208 [00:03:14]line Версия ККМ: 001 [00:03:14]line ФМ: 0000000000874857 [00:03:14]line ФД: 57242 [00:03:14]line ФПД: 113250306840171 [00:03:14]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240716T000314&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57242&fm=113250306840171&tin=02508201610067®Number=0000000000091208&sum=13500 [00:03:14]line 0 [00:03:14]written 0, free lines is 4095 [00:03:14]Connected sock=11 [00:03: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 A1 01 00 00 78 60 99 01 01 96 5A 03 01 00 03 00 8D 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 38 37 30 32 33 35 36 38 31 33 39 30 06 04 36 00 D0 A7 D0 98 D0 9F D0 A1 D0 AB 20 53 4C 41 4E 47 20 D0 A1 D0 9E 20 D0 92 D0 9A D0 A3 D0 A1 D0 9E D0 9C 20 D0 9F D0 90 D0 9F D0 A0 D0 98 D0 9A D0 90 20 36 30 D0 93 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 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 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 89 00 00 00 F4 03 04 00 C2 B8 95 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 9A DF 00 00 35 04 06 00 67 00 24 4F 56 6B 2D F6 B6 A3 9A FF 2B 25 [00:03: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 64 1E 47 00 66 BE A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 9A DF 00 00 F4 03 04 00 0F 5F 95 66 B6 04 01 00 00 31 FE 2F 78 92 B2 1A 8F [00:03:14]CommunicateWithHost err = 0 [00:03:14]CheckOFDResponse [00:03:14]1017 (14) - 77093643461234 [00:03:14]1041 (16) - 0000000000874857 [00:03:14]1040 (4) - 57242 [00:03:14]1012 (4) - 15.07.2024 17:40 [00:03:14]1206 (1) - 0 [00:03:14]OFD Sender: Remove packet 57242 [00:03:14]ProducePacketName [00:03:14]name=ofd_packets/00057242 [00:03:14]NVStorageDeleteData [00:03:15]Write to MH i2c: 01 00 00 8E 0F 9D [00:03:15]Write i2c OK [00:03:15]MH_I2C_Read... [00:03:15]Read from MH i2c: 01 [00:03:15]MH_I2C_Read... [00:03:15]Read from MH i2c: 01 07 00 [00:03:15]MH_I2C_Read... [00:03:15]Read from MH i2c: 01 07 00 8E 0F 00 00 00 00 00 A9 0C 59 [00:03:15]RasterBufferAndPrint [00:03:15]line [00:03:15]line [00:03:15]line [00:03:15]line [00:03:15]line [00:03:15]written 0, free lines is 3247 [00:03:15]MH_Cut [00:03:15]Write to MH i2c: D1 01 00 95 0F 01 76 [00:03:15]Write i2c OK [00:03:15]MH_I2C_Read... [00:03:15]Read from MH i2c: D1 [00:03:15]MH_I2C_Read... [00:03:15]Read from MH i2c: D1 01 00 [00:03:15]MH_I2C_Read... [00:03:15]Read from MH i2c: D1 01 00 95 0F 00 75 [00:03:15]Write to MH i2c: 01 00 00 96 0F A5 [00:03:15]Write i2c OK [00:03:15]MH_I2C_Read... [00:03:15]OFD Sender: No OFD packet to send [00:03:15]*** Cut start [00:03:15]*** Partial cut [00:03:15]*** CUTSNS_PIN = 1 [00:03:15]*** CUTSNS_PIN = 0 [00:03:16]*** Brake cut motor [00:03:16]Read from MH i2c: 01 [00:03:16]MH_I2C_Read... [00:03:16]*** Stop cut motor [00:03:16]*** Cut end [00:03:16]Read from MH i2c: 01 07 00 [00:03:16]MH_I2C_Read... [00:03:16]Read from MH i2c: 01 07 00 96 0F 00 00 00 00 00 FF 0F BA [00:03:16]process_action close_receipt done [00:03:16]requested_data is exist [00:03:16]produce_requested_data [00:03:16]requested_item fm.sn is exist - process it [00:03:16]wFMCommunicate request_size=4 [00:03:16]MH_SAM_APDU [00:03:16]CAPDU: 80 11 00 00 [00:03:16]Write to MH i2c: E2 08 00 97 0F 80 11 00 00 00 00 00 00 20 [00:03:16]Write i2c OK [00:03:16]MH_I2C_Read... [00:03:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:03:16]Read from MH i2c: E2 [00:03:16]MH_I2C_Read... [00:03:16]Read from MH i2c: E2 17 00 [00:03:16]MH_I2C_Read... [00:03:16]Read from MH i2c: E2 17 00 97 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 7A [00:03: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:03:16]wFMCommunicate OK [00:03:16]requested_item fd.num is exist - process it [00:03:16]SAM_PROTO_GetFieldsCounters [00:03:16]wFMCommunicate request_size=4 [00:03:16]MH_SAM_APDU [00:03:16]CAPDU: 80 13 00 00 [00:03:16]Write to MH i2c: E2 08 00 98 0F 80 13 00 00 00 00 00 00 23 [00:03:16]Write i2c OK [00:03:16]MH_I2C_Read... [00:03:16]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:03:16]Read from MH i2c: E2 [00:03:16]MH_I2C_Read... [00:03:16]Read from MH i2c: E2 62 00 [00:03:16]MH_I2C_Read... [00:03:16]Read from MH i2c: E2 62 00 98 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 9A DF 00 00 0E 04 04 00 F1 01 00 00 12 04 04 00 89 00 00 00 5E 04 04 00 89 00 00 00 57 04 04 00 8A 00 00 00 19 04 04 00 00 00 00 00 90 00 4C [00:03: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 9A DF 00 00 0E 04 04 00 F1 01 00 00 12 04 04 00 89 00 00 00 5E 04 04 00 89 00 00 00 57 04 04 00 8A 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:03:16]wFMCommunicate OK [00:03:16]SAM_PROTO_GetFieldsCounters done [00:03:16]requested_item shift.num is exist - process it [00:03:16]requested_item shift.opened is exist - process it [00:03:16]req_shift_opened [00:03:16]FM_GetShiftState [00:03:16]SAM_PROTO_GetShiftState [00:03:16]wFMCommunicate request_size=4 [00:03:16]MH_SAM_APDU [00:03:16]CAPDU: 80 13 01 00 [00:03:16]Write to MH i2c: E2 08 00 99 0F 80 13 01 00 00 00 00 00 25 [00:03:16]Write i2c OK [00:03:16]MH_I2C_Read... [00:03:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:03:16]Read from MH i2c: E2 [00:03:16]MH_I2C_Read... [00:03:16]Read from MH i2c: E2 0E 00 [00:03:16]MH_I2C_Read... [00:03:16]Read from MH i2c: E2 0E 00 99 0F 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 9E [00:03:16]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [00:03:16]wFMCommunicate OK [00:03:16]SAM_PROTO_GetShiftState done [00:03:16]FM_GetShiftState done [00:03:16]req_shift_opened done [00:03:16]requested_item shift.open_date is exist - process it [00:03:16]req_shift_open_date [00:03:16]req_shift_open_date done [00:03:16]requested_item shift.sale.total is exist - process it [00:03:16]SAM_PROTO_GetShiftData [00:03:16]wFMCommunicate request_size=4 [00:03:16]MH_SAM_APDU [00:03:16]CAPDU: 80 13 02 00 [00:03:16]Write to MH i2c: E2 08 00 9A 0F 80 13 02 00 00 00 00 00 27 [00:03:16]Write i2c OK [00:03:16]MH_I2C_Read... [00:03:17]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:03:17]Read from MH i2c: E2 [00:03:17]MH_I2C_Read... [00:03:17]Read from MH i2c: E2 FD 00 [00:03:17]MH_I2C_Read... [00:03:17]Read from MH i2c: E2 FD 00 9A 0F 00 B6 04 AA 04 B2 04 6E 04 04 00 89 00 00 00 69 04 9B 00 6F 04 04 00 88 00 00 00 B1 04 03 00 03 1C 40 70 04 03 00 44 48 32 72 04 03 00 BF D3 0D 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 0B CF 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 3B 91 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 02 [00:03:17]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 89 00 00 00 69 04 9B 00 6F 04 04 00 88 00 00 00 B1 04 03 00 03 1C 40 70 04 03 00 44 48 32 72 04 03 00 BF D3 0D 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 0B CF 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 3B 91 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 [00:03:17]wFMCommunicate OK [00:03:17]wFMCommunicate request_size=4 [00:03:17]MH_SAM_APDU [00:03:17]CAPDU: 80 17 00 00 [00:03:17]Write to MH i2c: E2 08 00 9B 0F 80 17 00 00 00 00 00 00 2A [00:03:17]Write i2c OK [00:03:17]MH_I2C_Read... [00:03:17]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:03:17]Read from MH i2c: E2 [00:03:17]MH_I2C_Read... [00:03:17]Read from MH i2c: E2 FD 00 [00:03:17]MH_I2C_Read... [00:03:17]Read from MH i2c: E2 FD 00 9B 0F 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 5F [00:03:17]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 [00:03:17]wFMCommunicate OK [00:03:17]wFMCommunicate request_size=4 [00:03:17]MH_SAM_APDU [00:03:17]CAPDU: 80 17 00 00 [00:03:17]Write to MH i2c: E2 08 00 9C 0F 80 17 00 00 00 00 00 00 2B [00:03:17]Write i2c OK [00:03:17]MH_I2C_Read... [00:03:17]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:03:17]Read from MH i2c: E2 [00:03:17]MH_I2C_Read... [00:03:17]Read from MH i2c: E2 FD 00 [00:03:17]MH_I2C_Read... [00:03:17]Read from MH i2c: E2 FD 00 9C 0F 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 EB [00:03:17]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 [00:03:17]wFMCommunicate OK [00:03:17]wFMCommunicate request_size=4 [00:03:17]MH_SAM_APDU [00:03:17]CAPDU: 80 17 00 00 [00:03:17]Write to MH i2c: E2 08 00 9D 0F 80 17 00 00 00 00 00 00 2C [00:03:17]Write i2c OK [00:03:17]MH_I2C_Read... [00:03:18]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:03:18]Read from MH i2c: E2 [00:03:18]MH_I2C_Read... [00:03:18]Read from MH i2c: E2 FD 00 [00:03:18]MH_I2C_Read... [00:03:18]Read from MH i2c: E2 FD 00 9D 0F 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 9B [00:03:18]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 [00:03:18]wFMCommunicate OK [00:03:18]wFMCommunicate request_size=4 [00:03:18]MH_SAM_APDU [00:03:18]CAPDU: 80 17 00 00 [00:03:18]Write to MH i2c: E2 08 00 9E 0F 80 17 00 00 00 00 00 00 2D [00:03:18]Write i2c OK [00:03:18]MH_I2C_Read... [00:03:18]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [00:03:18]Read from MH i2c: E2 [00:03:18]MH_I2C_Read... [00:03:18]Read from MH i2c: E2 D3 00 [00:03:18]MH_I2C_Read... [00:03:18]Read from MH i2c: E2 D3 00 9E 0F 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 1A [00:03:18]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 [00:03:18]wFMCommunicate OK [00:03:18]SAM_PROTO_GetShiftData done [00:03:18]requested_item shift.sale.total_cash is exist - process it [00:03:18]requested_item shift.sale_refund.total is exist - process it [00:03:18]requested_item shift.sale_refund.total_cash is exist - process it [00:03:18]produce_requested_data done [00:03:18]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57242,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":42014.75,"shift.sale.total_cash":32953.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [00:03:18]process_action_free close_receipt [00:03:18]json_value_free [00:03:18]json_value_free done [00:03:18]process_json_proto returns [00:03:18]Send response to host [00:03:18]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57242,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":42014.75,"shift.sale.total_cash":32953.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [00:03:18]free response buf [00:03:18]execute_script done [00:03:18]execute_script returns [00:03:18]free content buf [00:03:18]Sock 7.Close socket [00:03:18]Sock 7.Thread stoped [00:03:20]OFD Sender: No OFD packet to send [00:03:25]OFD Sender: No OFD packet to send [00:03:30]OFD Sender: No OFD packet to send [00:03:35]OFD Sender: No OFD packet to send [00:03:40]OFD Sender: No OFD packet to send [00:03:45]OFD Sender: No OFD packet to send [00:03:50]OFD Sender: No OFD packet to send [00:03:55]OFD Sender: No OFD packet to send [00:04:00]OFD Sender: No OFD packet to send [00:04:05]OFD Sender: No OFD packet to send [00:04:10]OFD Sender: No OFD packet to send [00:04:15]OFD Sender: No OFD packet to send [00:04:20]OFD Sender: No OFD packet to send [00:04:25]OFD Sender: No OFD packet to send [00:04:30]OFD Sender: No OFD packet to send [00:04:35]OFD Sender: No OFD packet to send [00:04:40]OFD Sender: No OFD packet to send [00:04:45]OFD Sender: No OFD packet to send [00:04:50]OFD Sender: No OFD packet to send [00:04:55]OFD Sender: No OFD packet to send [00:05:00]OFD Sender: No OFD packet to send [00:05:05]OFD Sender: No OFD packet to send [00:05:10]OFD Sender: No OFD packet to send [00:05:15]OFD Sender: No OFD packet to send [00:05:20]OFD Sender: No OFD packet to send [00:05:25]OFD Sender: No OFD packet to send [00:05:30]OFD Sender: No OFD packet to send [00:05:35]OFD Sender: No OFD packet to send [00:05:40]OFD Sender: No OFD packet to send [00:05:45]OFD Sender: No OFD packet to send [00:05:50]OFD Sender: No OFD packet to send [00:05:55]OFD Sender: No OFD packet to send [00:06:00]OFD Sender: No OFD packet to send [00:06:05]OFD Sender: No OFD packet to send [00:06:10]OFD Sender: No OFD packet to send [00:06:15]OFD Sender: No OFD packet to send [00:06:20]OFD Sender: No OFD packet to send [00:06:25]OFD Sender: No OFD packet to send [00:06:30]OFD Sender: No OFD packet to send [00:06:35]OFD Sender: No OFD packet to send [00:06:40]OFD Sender: No OFD packet to send [00:06:45]OFD Sender: No OFD packet to send [00:06:50]OFD Sender: No OFD packet to send [00:06:55]OFD Sender: No OFD packet to send [00:07:00]OFD Sender: No OFD packet to send [00:07:05]OFD Sender: No OFD packet to send [00:07:10]OFD Sender: No OFD packet to send [00:07:15]OFD Sender: No OFD packet to send [00:07:20]OFD Sender: No OFD packet to send [00:07:25]OFD Sender: No OFD packet to send [00:07:30]OFD Sender: No OFD packet to send [00:07:35]OFD Sender: No OFD packet to send [00:07:40]OFD Sender: No OFD packet to send [00:07:45]OFD Sender: No OFD packet to send [00:07:50]OFD Sender: No OFD packet to send [00:07:55]OFD Sender: No OFD packet to send [00:08:00]OFD Sender: No OFD packet to send [00:08:05]OFD Sender: No OFD packet to send [00:08:10]OFD Sender: No OFD packet to send [00:08:15]OFD Sender: No OFD packet to send [00:08:20]OFD Sender: No OFD packet to send [00:08:25]OFD Sender: No OFD packet to send [00:08:30]OFD Sender: No OFD packet to send [00:08:35]OFD Sender: No OFD packet to send [00:08:40]OFD Sender: No OFD packet to send [00:08:45]OFD Sender: No OFD packet to send [00:08:50]OFD Sender: No OFD packet to send [00:08:55]OFD Sender: No OFD packet to send [00:09:00]OFD Sender: No OFD packet to send [00:09:05]OFD Sender: No OFD packet to send [00:09:10]OFD Sender: No OFD packet to send [00:09:15]OFD Sender: No OFD packet to send [00:09:20]OFD Sender: No OFD packet to send [00:09:25]OFD Sender: No OFD packet to send [00:09:30]OFD Sender: No OFD packet to send [00:09:35]OFD Sender: No OFD packet to send [00:09:40]OFD Sender: No OFD packet to send [00:09:45]OFD Sender: No OFD packet to send [00:09:50]OFD Sender: No OFD packet to send [00:09:55]OFD Sender: No OFD packet to send [00:10:00]OFD Sender: No OFD packet to send [00:10:05]OFD Sender: No OFD packet to send [00:10:10]OFD Sender: No OFD packet to send [00:10:15]OFD Sender: No OFD packet to send [00:10:20]OFD Sender: No OFD packet to send [00:10:25]OFD Sender: No OFD packet to send [00:10:30]OFD Sender: No OFD packet to send [00:10:35]OFD Sender: No OFD packet to send [00:10:40]OFD Sender: No OFD packet to send [00:10:45]OFD Sender: No OFD packet to send [00:10:50]OFD Sender: No OFD packet to send [00:10:55]OFD Sender: No OFD packet to send [00:11:00]OFD Sender: No OFD packet to send [00:11:05]OFD Sender: No OFD packet to send [00:11:10]OFD Sender: No OFD packet to send [00:11:15]OFD Sender: No OFD packet to send [00:11:20]OFD Sender: No OFD packet to send [00:11:25]OFD Sender: No OFD packet to send [00:11:30]OFD Sender: No OFD packet to send [00:11:35]OFD Sender: No OFD packet to send [00:11:40]OFD Sender: No OFD packet to send [00:11:45]OFD Sender: No OFD packet to send [00:11:50]OFD Sender: No OFD packet to send [00:11:55]OFD Sender: No OFD packet to send [00:12:00]OFD Sender: No OFD packet to send [00:12:05]OFD Sender: No OFD packet to send [00:12:10]OFD Sender: No OFD packet to send [00:12:15]OFD Sender: No OFD packet to send [00:12:20]OFD Sender: No OFD packet to send [00:12:25]OFD Sender: No OFD packet to send [00:12:30]OFD Sender: No OFD packet to send [00:12:36]OFD Sender: No OFD packet to send [00:12:41]OFD Sender: No OFD packet to send [00:12:46]OFD Sender: No OFD packet to send [00:12:51]OFD Sender: No OFD packet to send [00:12:56]OFD Sender: No OFD packet to send [00:13:01]OFD Sender: No OFD packet to send [00:13:06]OFD Sender: No OFD packet to send [00:13:11]OFD Sender: No OFD packet to send [00:13:16]OFD Sender: No OFD packet to send [00:13:21]OFD Sender: No OFD packet to send [00:13:26]OFD Sender: No OFD packet to send [00:13:31]OFD Sender: No OFD packet to send [00:13:36]OFD Sender: No OFD packet to send [00:13:41]OFD Sender: No OFD packet to send [00:13:46]OFD Sender: No OFD packet to send [00:13:51]OFD Sender: No OFD packet to send [00:13:54]accept exits with 9 [00:13:54]New connection [00:13:54]New thread 3067014500 created [00:13:54]Thread 3066871140 joined [00:13:54]Waiting for new connection... [00:13:54] Sock 9.Parse request [00:13:54]Sock 9.Check first char [00:13:54]Sock 9.First char is OK [00:13:54]request: POST /json_proto HTTP/1.0 [00:13:54]Method: POST [00:13:54]URL: /json_proto [00:13:54]Method is POST - this is cgi request [00:13:54]url: /json_proto [00:13:54]query_string will be loaded in cgi processing [00:13:54]execute_cgi json_proto POST (null) [00:13:54]execute_cgi path=json_proto method=POST [00:13:54]POST find Content-Length [00:13:54]Host: 172.17.39.4:8080 [00:13:54]Content-Length: 975 [00:13:54]Content-Type: application/json [00:13:54] [00:13:54]POST finish read [00:13:54]Found Content-Length = 975 [00:13:54]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129679", "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": "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" : 465.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:13:54]execute_script... [00:13: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)129679", "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": "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" : 465.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:13:54]POST & json_proto [00:13:54]process_json_proto [00:13:54]json parsed OK: [00:13:54]protocol is kg_v1.0 [00:13:54]action value=close_receipt [00:13:54]process_action close_receipt [00:13:54]cmd_close_receipt [00:13:54]MH_GetDate [00:13:54]Write to MH i2c: F0 00 00 9F 0F 9D [00:13:54]Write i2c OK [00:13:54]MH_I2C_Read... [00:13:54]Read from MH i2c: F0 [00:13:54]MH_I2C_Read... [00:13:54]Read from MH i2c: F0 09 00 [00:13:54]MH_I2C_Read... [00:13:54]Read from MH i2c: F0 09 00 9F 0F 00 44 BB 95 66 2D 25 5D 64 B3 [00:13:54]GetLastDocTimeStamp 1721088194 [00:13:54]current date 1721088836 [00:13:54]FM_GetShiftState [00:13:54]SAM_PROTO_GetShiftState [00:13:54]wFMCommunicate request_size=4 [00:13:54]MH_SAM_APDU [00:13:54]CAPDU: 80 13 01 00 [00:13:54]Write to MH i2c: E2 08 00 A0 0F 80 13 01 00 00 00 00 00 2C [00:13:54]Write i2c OK [00:13:54]MH_I2C_Read... [00:13:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:13:54]Read from MH i2c: E2 [00:13:54]MH_I2C_Read... [00:13:54]Read from MH i2c: E2 0E 00 [00:13:54]MH_I2C_Read... [00:13:54]Read from MH i2c: E2 0E 00 A0 0F 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 A5 [00:13:54]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [00:13:54]wFMCommunicate OK [00:13:54]SAM_PROTO_GetShiftState done [00:13:54]FM_GetShiftState done [00:13:54]opened in 1721003525 [00:13:54]opened+sec_in_day 1721089925 [00:13:54]quantity*price = 32500 [00:13:54]sum+1 = 32501 [00:13:54]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 47802995 Сигареты Winston XS Silver 1.000 * 140.00 = 140.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 465.00 НСП 1% : 4.12 НДС 12% : 49.38 Наличными: 465.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 138 16.07.2024 00:13 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57243 ФПД: 267177913697665 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240716T001356&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57243&fm=267177913697665&tin=02508201610067®Number=0000000000091208&sum=46500 0 [00:13:55]StoreToDocumentArchive [00:13:55]shift 497 fd 57243 [00:13:55]save to /storage/0497/doc_00057243 [00:13:55]save last doc name /storage/0497/doc_00057243 to /storage/kkm_last_doc_name [00:13:55]save OK [00:13:55]Clear old archive folders... [00:13:55]ProcessDocumentItem done err = 0, tmpTLVsize=373 [00:13:55]tlvbuf is 00883B20 [00:13:55]SAM_PROTO_ClearQueue [00:13:55]wFMCommunicate request_size=4 [00:13:55]MH_SAM_APDU [00:13:55]CAPDU: 80 09 00 00 [00:13:55]Write to MH i2c: E2 08 00 AD 0F 80 09 00 00 00 00 00 00 2E [00:13:55]Write i2c OK [00:13:55]MH_I2C_Read... [00:13:55]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:13:55]Read from MH i2c: E2 [00:13:55]MH_I2C_Read... [00:13:55]Read from MH i2c: E2 03 00 [00:13:55]MH_I2C_Read... [00:13:55]Read from MH i2c: E2 03 00 AD 0F 00 90 00 30 [00:13:55]RAPDU: 90 00 [00:13:55]wFMCommunicate OK [00:13:55]SAM_PROTO_ClearQueue done [00:13:55]KKMCreateOFDPacket [00:13:55]OFDProtocolAddRootSTLVToBuf [00:13:55]FM_MakeSignedData [00:13:55]FM_MakeSignedData [00:13:55]SAM_PROTO_SignData [00:13:55]wFMCommunicate request_size=4 [00:13:55]MH_SAM_APDU [00:13:55]CAPDU: 80 0D 01 02 [00:13:55]Write to MH i2c: E2 08 00 AE 0F 80 0D 01 02 00 00 00 00 36 [00:13:55]Write i2c OK [00:13:55]MH_I2C_Read... [00:13:55]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:13:55]Read from MH i2c: E2 [00:13:55]MH_I2C_Read... [00:13:55]Read from MH i2c: E2 03 00 [00:13:55]MH_I2C_Read... [00:13:55]Read from MH i2c: E2 03 00 AE 0F 00 90 00 31 [00:13:55]RAPDU: 90 00 [00:13:55]wFMCommunicate OK [00:13:55]wFMCommunicate request_size=255 [00:13:55]MH_SAM_APDU [00:13:55]CAPDU: 80 0D 02 02 FA 03 00 75 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 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 A4 B5 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9C 01 00 00 00 00 EE 03 0F 00 F2 [00:13:55]Write to MH i2c: E2 02 01 AF 0F 80 0D 02 02 FA 00 03 00 75 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 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 A4 B5 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9C 01 00 00 00 00 EE 03 0F 00 F2 00 00 EC [00:13:55]Write i2c OK [00:13:55]MH_I2C_Read... [00:13:56]OFD Sender: No OFD packet to send [00:13:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:13:56]Read from MH i2c: E2 [00:13:56]MH_I2C_Read... [00:13:56]Read from MH i2c: E2 03 00 [00:13:56]MH_I2C_Read... [00:13:56]Read from MH i2c: E2 03 00 AF 0F 00 90 00 32 [00:13:56]RAPDU: 90 00 [00:13:56]wFMCommunicate OK [00:13:56]wFMCommunicate request_size=132 [00:13:56]MH_SAM_APDU [00:13:56]CAPDU: 80 0D 02 02 7F 03 01 00 01 F3 03 06 00 4A 13 00 00 00 00 07 04 06 00 A4 B5 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 8A 00 00 00 F4 03 04 00 44 BB 95 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 9B DF 00 00 35 04 06 00 F2 FF 34 A3 45 81 [00:13:56]Write to MH i2c: E2 87 00 B0 0F 80 0D 02 02 7F 00 03 01 00 01 F3 03 06 00 4A 13 00 00 00 00 07 04 06 00 A4 B5 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 8A 00 00 00 F4 03 04 00 44 BB 95 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 9B DF 00 00 35 04 06 00 F2 FF 34 A3 45 81 00 00 A8 [00:13:56]Write i2c OK [00:13:56]MH_I2C_Read... [00:13:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:13:56]Read from MH i2c: E2 [00:13:56]MH_I2C_Read... [00:13:56]Read from MH i2c: E2 03 00 [00:13:56]MH_I2C_Read... [00:13:56]Read from MH i2c: E2 03 00 B0 0F 00 90 00 33 [00:13:56]RAPDU: 90 00 [00:13:56]wFMCommunicate OK [00:13:56]wFMCommunicate request_size=4 [00:13:56]MH_SAM_APDU [00:13:56]CAPDU: 80 0D 03 02 [00:13:56]Write to MH i2c: E2 08 00 B1 0F 80 0D 03 02 00 00 00 00 3B [00:13:56]Write i2c OK [00:13:56]MH_I2C_Read... [00:13:56]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:13:56]Read from MH i2c: E2 [00:13:56]MH_I2C_Read... [00:13:56]Read from MH i2c: E2 0B 00 [00:13:56]MH_I2C_Read... [00:13:56]Read from MH i2c: E2 0B 00 B1 0F 00 1C F6 EB A3 CA E6 BE 90 90 00 DA [00:13:56]RAPDU: 1C F6 EB A3 CA E6 BE 90 90 00 [00:13:56]wFMCommunicate OK [00:13:56]SAM_PROTO_SignData done [00:13:56]FM_MakeSignedData done [00:13:56]CreateOFDProtocolMessage [00:13:56]wFMCommunicate request_size=4 [00:13:56]MH_SAM_APDU [00:13:56]CAPDU: 80 11 00 00 [00:13:56]Write to MH i2c: E2 08 00 B2 0F 80 11 00 00 00 00 00 00 3B [00:13:56]Write i2c OK [00:13:56]MH_I2C_Read... [00:13:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:13:56]Read from MH i2c: E2 [00:13:56]MH_I2C_Read... [00:13:56]Read from MH i2c: E2 17 00 [00:13:56]MH_I2C_Read... [00:13:56]Read from MH i2c: E2 17 00 B2 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 95 [00:13:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [00:13:56]wFMCommunicate OK [00:13:56]CreateOFDProtocolMessage done [00:13:56]OFDSenderStorePacket 57243 [00:13:56]StoreOFDPacket docnum=57243 [00:13: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 89 01 00 00 F5 DE 81 01 61 B9 5A 03 01 00 03 00 75 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 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 A4 B5 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9C 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4A 13 00 00 00 00 07 04 06 00 A4 B5 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 8A 00 00 00 F4 03 04 00 44 BB 95 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 9B DF 00 00 35 04 06 00 F2 FF 34 A3 45 81 1C F6 EB A3 CA E6 BE 90 [00:13:56]CheckFolder [00:13:56]dirname=/storage/ofd_packets [00:13:56]CheckFolder done [00:13:56]ProducePacketName [00:13:56]name=ofd_packets/00057243 [00:13:56]NVStorageSaveData ofd_packets/00057243 [00:13:56]File name is /storage/ofd_packets/00057243 [00:13:56]Write 423 bytes [00:13:56]NVStorageSaveData done [00:13:56]OFDSenderStorePacket done [00:13:56]KKMCreateOFDPacket done [00:13:56]NVStorageSaveData kkm_last_timestamp [00:13:56]File name is /storage/kkm_last_timestamp [00:13:56]Write 4 bytes [00:13:56]NVStorageSaveData done [00:13:56]ExternCall_PrintAddStr [00:13:56]wPrintStart [00:13:56]Write to MH i2c: 01 00 00 B3 0F C2 [00:13:56]Write i2c OK [00:13:56]MH_I2C_Read... [00:13:56]Read from MH i2c: 01 [00:13:56]MH_I2C_Read... [00:13:56]Read from MH i2c: 01 07 00 [00:13:56]MH_I2C_Read... [00:13:56]Read from MH i2c: 01 07 00 B3 0F 00 00 00 00 00 FF 0F D7 [00:13:56]RasterBufferAndPrint [00:13:56]line Счет N : (3)129679 [00:13:56]line ИНН: 02508201610067 [00:13:56]line Контрольно-Кассовый Чек [00:13:56]line ПРОДАЖА [00:13:56]line Товар: 4700001610043 [00:13:56]line Пиво Арпа 1,5л ПЭТ [00:13:56]line 1.000 * 325.00 [00:13:56]line = 325.00 [00:13:56]line НДС 12% НСП 1% [00:13:56]line > о реализуемом товаре [00:13:56]line Товар: 47802995 [00:13:56]line Сигареты Winston XS Silver [00:13:56]line 1.000 * 140.00 [00:13:56]line = 140.00 [00:13:56]line НДС 12% НСП 1% [00:13:56]line > о реализуемом товаре [00:13:56]line ИТОГО: 465.00 [00:13:56]line НСП 1% : 4.12 [00:13:56]line НДС 12% : 49.38 [00:13:56]line Наличными: 465.00 [00:13:56]line Безнал.: 0.00 [00:13:56]line Место: АЗС № 132 "Партнер Нефть" [00:13:56]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [00:13:56]line СНО: Общий режим [00:13:56]line Чек 138 16.07.2024 00:13 [00:13:56]line Смена: 497 ФФД: 1.0 [00:13:56]line ЗНМ: 0300000132 [00:13:56]line РНМ: 0000000000091208 [00:13:56]line Версия ККМ: 001 [00:13:56]line ФМ: 0000000000874857 [00:13:56]line ФД: 57243 [00:13:56]line ФПД: 267177913697665 [00:13:56]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240716T001356&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57243&fm=267177913697665&tin=02508201610067®Number=0000000000091208&sum=46500 [00:13:56]line 0 [00:13:56]OFD Sender: Processing packet 57243 [packets to send 38, broken 37] [00:13:56]ProducePacketName [00:13:56]name=ofd_packets/00057243 [00:13:56]OFD Sender: To server: pG, [00:13:56]CommunicateWithHost lk.salyk.kg:30040 [00:13:56]ConnectInit lk.salyk.kg [00:13:56]written 0, free lines is 4095 [00:13:56]Connected sock=10 [00:13: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 89 01 00 00 F5 DE 81 01 61 B9 5A 03 01 00 03 00 75 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 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 A4 B5 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9C 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4A 13 00 00 00 00 07 04 06 00 A4 B5 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 8A 00 00 00 F4 03 04 00 44 BB 95 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 9B DF 00 00 35 04 06 00 F2 FF 34 A3 45 81 1C F6 EB A3 CA E6 BE 90 [00:13: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 4C 77 47 00 48 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 9B DF 00 00 F4 03 04 00 91 61 95 66 B6 04 01 00 00 D6 B8 94 DA FE 29 00 3A [00:13:57]CommunicateWithHost err = 0 [00:13:57]CheckOFDResponse [00:13:57]1017 (14) - 77093643461234 [00:13:57]1041 (16) - 0000000000874857 [00:13:57]1040 (4) - 57243 [00:13:57]1012 (4) - 15.07.2024 17:51 [00:13:57]1206 (1) - 0 [00:13:57]OFD Sender: Remove packet 57243 [00:13:57]ProducePacketName [00:13:57]name=ofd_packets/00057243 [00:13:57]NVStorageDeleteData [00:13:57]Write to MH i2c: 01 00 00 E1 0F F0 [00:13:57]Write i2c OK [00:13:57]MH_I2C_Read... [00:13:57]Read from MH i2c: 01 [00:13:57]MH_I2C_Read... [00:13:57]Read from MH i2c: 01 07 00 [00:13:57]MH_I2C_Read... [00:13:57]Read from MH i2c: 01 07 00 E1 0F 00 00 00 00 00 B7 0C BA [00:13:57]RasterBufferAndPrint [00:13:57]line [00:13:57]line [00:13:57]line [00:13:57]line [00:13:57]line [00:13:57]written 0, free lines is 3260 [00:13:57]MH_Cut [00:13:57]Write to MH i2c: D1 01 00 E8 0F 01 C9 [00:13:57]Write i2c OK [00:13:57]MH_I2C_Read... [00:13:57]Read from MH i2c: D1 [00:13:57]MH_I2C_Read... [00:13:57]Read from MH i2c: D1 01 00 [00:13:57]MH_I2C_Read... [00:13:57]Read from MH i2c: D1 01 00 E8 0F 00 C8 [00:13:57]Write to MH i2c: 01 00 00 E9 0F F8 [00:13:57]Write i2c OK [00:13:57]MH_I2C_Read... [00:13:57]OFD Sender: No OFD packet to send [00:13:58]*** Cut start [00:13:58]*** Partial cut [00:13:58]*** CUTSNS_PIN = 1 [00:13:58]*** CUTSNS_PIN = 0 [00:13:58]*** Brake cut motor [00:13:58]Read from MH i2c: 01 [00:13:58]MH_I2C_Read... [00:13:58]*** Stop cut motor [00:13:58]*** Cut end [00:13:58]Read from MH i2c: 01 07 00 [00:13:58]MH_I2C_Read... [00:13:58]Read from MH i2c: 01 07 00 E9 0F 00 00 00 00 00 FF 0F 0D [00:13:58]process_action close_receipt done [00:13:58]requested_data is exist [00:13:58]produce_requested_data [00:13:58]requested_item fm.sn is exist - process it [00:13:58]wFMCommunicate request_size=4 [00:13:58]MH_SAM_APDU [00:13:58]CAPDU: 80 11 00 00 [00:13:58]Write to MH i2c: E2 08 00 EA 0F 80 11 00 00 00 00 00 00 73 [00:13:58]Write i2c OK [00:13:58]MH_I2C_Read... [00:13:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:13:58]Read from MH i2c: E2 [00:13:58]MH_I2C_Read... [00:13:58]Read from MH i2c: E2 17 00 [00:13:58]MH_I2C_Read... [00:13:58]Read from MH i2c: E2 17 00 EA 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 CD [00:13: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:13:58]wFMCommunicate OK [00:13:58]requested_item fd.num is exist - process it [00:13:58]SAM_PROTO_GetFieldsCounters [00:13:58]wFMCommunicate request_size=4 [00:13:58]MH_SAM_APDU [00:13:58]CAPDU: 80 13 00 00 [00:13:58]Write to MH i2c: E2 08 00 EB 0F 80 13 00 00 00 00 00 00 76 [00:13:58]Write i2c OK [00:13:58]MH_I2C_Read... [00:13:58]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:13:58]Read from MH i2c: E2 [00:13:58]MH_I2C_Read... [00:13:58]Read from MH i2c: E2 62 00 [00:13:58]MH_I2C_Read... [00:13:58]Read from MH i2c: E2 62 00 EB 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 9B DF 00 00 0E 04 04 00 F1 01 00 00 12 04 04 00 8A 00 00 00 5E 04 04 00 8A 00 00 00 57 04 04 00 8B 00 00 00 19 04 04 00 00 00 00 00 90 00 A3 [00:13: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 9B DF 00 00 0E 04 04 00 F1 01 00 00 12 04 04 00 8A 00 00 00 5E 04 04 00 8A 00 00 00 57 04 04 00 8B 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:13:58]wFMCommunicate OK [00:13:58]SAM_PROTO_GetFieldsCounters done [00:13:58]requested_item shift.num is exist - process it [00:13:58]requested_item shift.opened is exist - process it [00:13:58]req_shift_opened [00:13:58]FM_GetShiftState [00:13:58]SAM_PROTO_GetShiftState [00:13:58]wFMCommunicate request_size=4 [00:13:58]MH_SAM_APDU [00:13:58]CAPDU: 80 13 01 00 [00:13:58]Write to MH i2c: E2 08 00 EC 0F 80 13 01 00 00 00 00 00 78 [00:13:58]Write i2c OK [00:13:58]MH_I2C_Read... [00:13:58]Read from MH i2c: E2 [00:13:58]MH_I2C_Read... [00:13:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:13:58]Read from MH i2c: E2 0E 00 [00:13:58]MH_I2C_Read... [00:13:58]Read from MH i2c: E2 0E 00 EC 0F 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 F1 [00:13:58]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [00:13:58]wFMCommunicate OK [00:13:58]SAM_PROTO_GetShiftState done [00:13:58]FM_GetShiftState done [00:13:58]req_shift_opened done [00:13:58]requested_item shift.open_date is exist - process it [00:13:58]req_shift_open_date [00:13:58]req_shift_open_date done [00:13:58]requested_item shift.sale.total is exist - process it [00:13:58]SAM_PROTO_GetShiftData [00:13:58]wFMCommunicate request_size=4 [00:13:58]MH_SAM_APDU [00:13:58]CAPDU: 80 13 02 00 [00:13:58]Write to MH i2c: E2 08 00 ED 0F 80 13 02 00 00 00 00 00 7A [00:13:58]Write i2c OK [00:13:58]MH_I2C_Read... [00:13:59]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:13:59]Read from MH i2c: E2 [00:13:59]MH_I2C_Read... [00:13:59]Read from MH i2c: E2 FD 00 [00:13:59]MH_I2C_Read... [00:13:59]Read from MH i2c: E2 FD 00 ED 0F 00 B6 04 AA 04 B2 04 6E 04 04 00 8A 00 00 00 69 04 9B 00 6F 04 04 00 89 00 00 00 B1 04 03 00 A7 D1 40 70 04 03 00 E8 FD 32 72 04 03 00 BF D3 0D 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 55 E2 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 D7 92 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 [00:13:59]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 8A 00 00 00 69 04 9B 00 6F 04 04 00 89 00 00 00 B1 04 03 00 A7 D1 40 70 04 03 00 E8 FD 32 72 04 03 00 BF D3 0D 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 55 E2 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 D7 92 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 [00:13:59]wFMCommunicate OK [00:13:59]wFMCommunicate request_size=4 [00:13:59]MH_SAM_APDU [00:13:59]CAPDU: 80 17 00 00 [00:13:59]Write to MH i2c: E2 08 00 EE 0F 80 17 00 00 00 00 00 00 7D [00:13:59]Write i2c OK [00:13:59]MH_I2C_Read... [00:13:59]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:13:59]Read from MH i2c: E2 [00:13:59]MH_I2C_Read... [00:13:59]Read from MH i2c: E2 FD 00 [00:13:59]MH_I2C_Read... [00:13:59]Read from MH i2c: E2 FD 00 EE 0F 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 B2 [00:13:59]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 [00:13:59]wFMCommunicate OK [00:13:59]wFMCommunicate request_size=4 [00:13:59]MH_SAM_APDU [00:13:59]CAPDU: 80 17 00 00 [00:13:59]Write to MH i2c: E2 08 00 EF 0F 80 17 00 00 00 00 00 00 7E [00:13:59]Write i2c OK [00:13:59]MH_I2C_Read... [00:13:59]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:13:59]Read from MH i2c: E2 [00:13:59]MH_I2C_Read... [00:13:59]Read from MH i2c: E2 FD 00 [00:13:59]MH_I2C_Read... [00:13:59]Read from MH i2c: E2 FD 00 EF 0F 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 3E [00:13:59]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 [00:14:00]wFMCommunicate OK [00:14:00]wFMCommunicate request_size=4 [00:14:00]MH_SAM_APDU [00:14:00]CAPDU: 80 17 00 00 [00:14:00]Write to MH i2c: E2 08 00 F0 0F 80 17 00 00 00 00 00 00 7F [00:14:00]Write i2c OK [00:14:00]MH_I2C_Read... [00:14:00]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:14:00]Read from MH i2c: E2 [00:14:00]MH_I2C_Read... [00:14:00]Read from MH i2c: E2 FD 00 [00:14:00]MH_I2C_Read... [00:14:00]Read from MH i2c: E2 FD 00 F0 0F 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 EE [00:14:00]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 [00:14:00]wFMCommunicate OK [00:14:00]wFMCommunicate request_size=4 [00:14:00]MH_SAM_APDU [00:14:00]CAPDU: 80 17 00 00 [00:14:00]Write to MH i2c: E2 08 00 F1 0F 80 17 00 00 00 00 00 00 80 [00:14:00]Write i2c OK [00:14:00]MH_I2C_Read... [00:14:00]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [00:14:00]Read from MH i2c: E2 [00:14:00]MH_I2C_Read... [00:14:00]Read from MH i2c: E2 D3 00 [00:14:00]MH_I2C_Read... [00:14:00]Read from MH i2c: E2 D3 00 F1 0F 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 6D [00:14:00]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 [00:14:00]wFMCommunicate OK [00:14:00]SAM_PROTO_GetShiftData done [00:14:00]requested_item shift.sale.total_cash is exist - process it [00:14:00]requested_item shift.sale_refund.total is exist - process it [00:14:00]requested_item shift.sale_refund.total_cash is exist - process it [00:14:00]produce_requested_data done [00:14:00]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57243,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":42479.75,"shift.sale.total_cash":33418.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [00:14:00]process_action_free close_receipt [00:14:00]json_value_free [00:14:00]json_value_free done [00:14:00]process_json_proto returns [00:14:00]Send response to host [00:14:00]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57243,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":42479.75,"shift.sale.total_cash":33418.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [00:14:00]free response buf [00:14:00]execute_script done [00:14:00]execute_script returns [00:14:00]free content buf [00:14:00]Sock 9.Close socket [00:14:00]Sock 9.Thread stoped [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:52]OFD Sender: No OFD packet to send [00:16:57]OFD Sender: No OFD packet to send [00:17:02]OFD Sender: No OFD packet to send [00:17:07]OFD Sender: No OFD packet to send [00:17:12]OFD Sender: No OFD packet to send [00:17:17]OFD Sender: No OFD packet to send [00:17:22]OFD Sender: No OFD packet to send [00:17:27]OFD Sender: No OFD packet to send [00:17:32]OFD Sender: No OFD packet to send [00:17:37]OFD Sender: No OFD packet to send [00:17:42]OFD Sender: No OFD packet to send [00:17:47]OFD Sender: No OFD packet to send [00:17:52]OFD Sender: No OFD packet to send [00:17:57]OFD Sender: No OFD packet to send [00:18:02]OFD Sender: No OFD packet to send [00:18:07]OFD Sender: No OFD packet to send [00:18:12]OFD Sender: No OFD packet to send [00:18:17]OFD Sender: No OFD packet to send [00:18:22]OFD Sender: No OFD packet to send [00:18:27]OFD Sender: No OFD packet to send [00:18:32]OFD Sender: No OFD packet to send [00:18:37]OFD Sender: No OFD packet to send [00:18:42]OFD Sender: No OFD packet to send [00:18:47]OFD Sender: No OFD packet to send [00:18:52]OFD Sender: No OFD packet to send [00:18:57]OFD Sender: No OFD packet to send [00:19:02]OFD Sender: No OFD packet to send [00:19:07]OFD Sender: No OFD packet to send [00:19:12]OFD Sender: No OFD packet to send [00:19:17]OFD Sender: No OFD packet to send [00:19:22]OFD Sender: No OFD packet to send [00:19:27]OFD Sender: No OFD packet to send [00:19:32]OFD Sender: No OFD packet to send [00:19:37]OFD Sender: No OFD packet to send [00:19:42]OFD Sender: No OFD packet to send [00:19:47]OFD Sender: No OFD packet to send [00:19:52]OFD Sender: No OFD packet to send [00:19:57]OFD Sender: No OFD packet to send [00:20:02]OFD Sender: No OFD packet to send [00:20:07]OFD Sender: No OFD packet to send [00:20:12]OFD Sender: No OFD packet to send [00:20:17]OFD Sender: No OFD packet to send [00:20:22]OFD Sender: No OFD packet to send [00:20:27]OFD Sender: No OFD packet to send [00:20:32]OFD Sender: No OFD packet to send [00:20:37]OFD Sender: No OFD packet to send [00:20:42]OFD Sender: No OFD packet to send [00:20:48]OFD Sender: No OFD packet to send [00:20:53]OFD Sender: No OFD packet to send [00:20:58]OFD Sender: No OFD packet to send [00:21:03]OFD Sender: No OFD packet to send [00:21:08]OFD Sender: No OFD packet to send [00:21:13]OFD Sender: No OFD packet to send [00:21:18]OFD Sender: No OFD packet to send [00:21:23]OFD Sender: No OFD packet to send [00:21:28]OFD Sender: No OFD packet to send [00:21:33]OFD Sender: No OFD packet to send [00:21:38]OFD Sender: No OFD packet to send [00:21:43]OFD Sender: No OFD packet to send [00:21:48]OFD Sender: No OFD packet to send [00:21:53]OFD Sender: No OFD packet to send [00:21:58]OFD Sender: No OFD packet to send [00:22:03]OFD Sender: No OFD packet to send [00:22:08]OFD Sender: No OFD packet to send [00:22:13]OFD Sender: No OFD packet to send [00:22:18]OFD Sender: No OFD packet to send [00:22:22]accept exits with 7 [00:22:22]New connection [00:22:22]New thread 3066871140 created [00:22:22] Sock 7.Parse request [00:22:22]Thread 3067014500 joined [00:22:22]Sock 7.Check first char [00:22:22]Waiting for new connection... [00:22:22]Sock 7.First char is OK [00:22:22]request: POST /json_proto HTTP/1.0 [00:22:22]Method: POST [00:22:22]URL: /json_proto [00:22:22]Method is POST - this is cgi request [00:22:22]url: /json_proto [00:22:22]query_string will be loaded in cgi processing [00:22:22]execute_cgi json_proto POST (null) [00:22:22]execute_cgi path=json_proto method=POST [00:22:22]POST find Content-Length [00:22:22]Host: 172.17.39.4:8080 [00:22:22]Content-Length: 1259 [00:22:22]Content-Type: application/json [00:22:22] [00:22:22]POST finish read [00:22:22]Found Content-Length = 1259 [00:22:22]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129680", "tax_sys" : 0, "items" : [ { "code": "54491472", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 0,5\u043B", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000027450", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FuzeTea \u0447\u0430\u0439 \u043C\u0430\u043D\u0433\u043E,\u0440\u043E\u043C 0,5\u043B", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "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" : 150.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:22:22]execute_script... [00:22:22]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129680", "tax_sys" : 0, "items" : [ { "code": "54491472", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 0,5\u043B", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000027450", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FuzeTea \u0447\u0430\u0439 \u043C\u0430\u043D\u0433\u043E,\u0440\u043E\u043C 0,5\u043B", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "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" : 150.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:22:22]POST & json_proto [00:22:22]process_json_proto [00:22:22]json parsed OK: [00:22:22]protocol is kg_v1.0 [00:22:22]action value=close_receipt [00:22:22]process_action close_receipt [00:22:22]cmd_close_receipt [00:22:22]MH_GetDate [00:22:22]Write to MH i2c: F0 00 00 F2 0F F0 [00:22:22]Write i2c OK [00:22:22]MH_I2C_Read... [00:22:22]Read from MH i2c: F0 [00:22:22]MH_I2C_Read... [00:22:22]Read from MH i2c: F0 09 00 [00:22:22]MH_I2C_Read... [00:22:22]Read from MH i2c: F0 09 00 F2 0F 00 40 BD 95 66 2D 25 5D 64 04 [00:22:22]GetLastDocTimeStamp 1721088836 [00:22:22]current date 1721089344 [00:22:22]FM_GetShiftState [00:22:22]SAM_PROTO_GetShiftState [00:22:22]wFMCommunicate request_size=4 [00:22:22]MH_SAM_APDU [00:22:22]CAPDU: 80 13 01 00 [00:22:22]Write to MH i2c: E2 08 00 F3 0F 80 13 01 00 00 00 00 00 7F [00:22:22]Write i2c OK [00:22:22]MH_I2C_Read... [00:22:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:22:22]Read from MH i2c: E2 [00:22:22]MH_I2C_Read... [00:22:22]Read from MH i2c: E2 0E 00 [00:22:22]MH_I2C_Read... [00:22:22]Read from MH i2c: E2 0E 00 F3 0F 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 F8 [00:22:22]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [00:22:22]wFMCommunicate OK [00:22:22]SAM_PROTO_GetShiftState done [00:22:22]FM_GetShiftState done [00:22:22]opened in 1721003525 [00:22:22]opened+sec_in_day 1721089925 [00:22:22]quantity*price = 7500 [00:22:22]sum+1 = 7501 [00:22:22]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 5449000027450 Напиток FuzeTea чай манго,ром 0,5л 1.000 * 75.00 = 75.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 150.00 НСП 1% : 1.32 НДС 12% : 15.92 Наличными: 0.00 Безнал.: 150.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 139 16.07.2024 00:22 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000874857 ФД: 57244 ФПД: 85771217079739 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240716T002224&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57244&fm=85771217079739&tin=02508201610067®Number=0000000000091208&sum=15000 0 [00:22:23]StoreToDocumentArchive [00:22:23]shift 497 fd 57244 [00:22:23]save to /storage/0497/doc_00057244 [00:22:23]save last doc name /storage/0497/doc_00057244 to /storage/kkm_last_doc_name [00:22:23]save OK [00:22:23]Clear old archive folders... [00:22:23]ProcessDocumentItem done err = 0, tmpTLVsize=400 [00:22:23]tlvbuf is 0083CAB0 [00:22:23]SAM_PROTO_ClearQueue [00:22:23]wFMCommunicate request_size=4 [00:22:23]MH_SAM_APDU [00:22:23]CAPDU: 80 09 00 00 [00:22:23]Write to MH i2c: E2 08 00 00 10 80 09 00 00 00 00 00 00 82 [00:22:23]Write i2c OK [00:22:23]MH_I2C_Read... [00:22:23]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:22:23]Read from MH i2c: E2 [00:22:23]MH_I2C_Read... [00:22:23]Read from MH i2c: E2 03 00 [00:22:23]MH_I2C_Read... [00:22:23]Read from MH i2c: E2 03 00 00 10 00 90 00 84 [00:22:23]RAPDU: 90 00 [00:22:23]wFMCommunicate OK [00:22:23]SAM_PROTO_ClearQueue done [00:22:23]KKMCreateOFDPacket [00:22:23]OFDProtocolAddRootSTLVToBuf [00:22:23]FM_MakeSignedData [00:22:23]FM_MakeSignedData [00:22:23]SAM_PROTO_SignData [00:22:23]wFMCommunicate request_size=4 [00:22:23]MH_SAM_APDU [00:22:23]CAPDU: 80 0D 01 02 [00:22:23]Write to MH i2c: E2 08 00 01 10 80 0D 01 02 00 00 00 00 8A [00:22:23]Write i2c OK [00:22:23]MH_I2C_Read... [00:22:23]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:22:23]Read from MH i2c: E2 [00:22:23]MH_I2C_Read... [00:22:23]Read from MH i2c: E2 03 00 [00:22:23]MH_I2C_Read... [00:22:23]Read from MH i2c: E2 03 00 01 10 00 90 00 85 [00:22:23]RAPDU: 90 00 [00:22:23]wFMCommunicate OK [00:22:23]wFMCommunicate request_size=255 [00:22:23]MH_SAM_APDU [00:22:23]CAPDU: 80 0D 02 02 FA 03 00 90 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 35 34 34 39 31 34 37 32 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 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 79 00 8A 04 0D 00 35 34 34 39 30 30 30 30 32 37 34 35 30 06 04 35 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 75 7A 65 54 65 61 20 D1 87 D0 B0 D0 B9 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D1 80 D0 BE D0 BC 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB [00:22:23]Write to MH i2c: E2 02 01 02 10 80 0D 02 02 FA 00 03 00 90 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 35 34 34 39 31 34 37 32 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 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 79 00 8A 04 0D 00 35 34 34 39 30 30 30 30 32 37 34 35 30 06 04 35 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 75 7A 65 54 65 61 20 D1 87 D0 B0 D0 B9 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D1 80 D0 BE D0 BC 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 00 00 19 [00:22:24]Write i2c OK [00:22:24]MH_I2C_Read... [00:22:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:22:24]Read from MH i2c: E2 [00:22:24]MH_I2C_Read... [00:22:24]Read from MH i2c: E2 03 00 [00:22:24]MH_I2C_Read... [00:22:24]Read from MH i2c: E2 03 00 02 10 00 90 00 86 [00:22:24]RAPDU: 90 00 [00:22:24]wFMCommunicate OK [00:22:24]wFMCommunicate request_size=159 [00:22:24]MH_SAM_APDU [00:22:24]CAPDU: 80 0D 02 02 9A 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 84 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 38 06 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 98 3A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 8B 00 00 00 F4 03 04 00 40 BD 95 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 9C DF 00 00 35 04 06 00 4E 02 2A ED 0D BB [00:22:24]Write to MH i2c: E2 A2 00 03 10 80 0D 02 02 9A 00 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 84 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 38 06 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 98 3A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 8B 00 00 00 F4 03 04 00 40 BD 95 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 9C DF 00 00 35 04 06 00 4E 02 2A ED 0D BB 00 00 C8 [00:22:24]Write i2c OK [00:22:24]MH_I2C_Read... [00:22:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:22:24]Read from MH i2c: E2 [00:22:24]MH_I2C_Read... [00:22:24]Read from MH i2c: E2 03 00 [00:22:24]MH_I2C_Read... [00:22:24]Read from MH i2c: E2 03 00 03 10 00 90 00 87 [00:22:24]RAPDU: 90 00 [00:22:24]wFMCommunicate OK [00:22:24]wFMCommunicate request_size=4 [00:22:24]MH_SAM_APDU [00:22:24]CAPDU: 80 0D 03 02 [00:22:24]Write to MH i2c: E2 08 00 04 10 80 0D 03 02 00 00 00 00 8F [00:22:24]Write i2c OK [00:22:24]MH_I2C_Read... [00:22:24]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:22:24]Read from MH i2c: E2 [00:22:24]MH_I2C_Read... [00:22:24]Read from MH i2c: E2 0B 00 [00:22:24]MH_I2C_Read... [00:22:24]Read from MH i2c: E2 0B 00 04 10 00 9A 86 E0 43 F3 CD E1 79 90 00 ED [00:22:24]RAPDU: 9A 86 E0 43 F3 CD E1 79 90 00 [00:22:24]wFMCommunicate OK [00:22:24]SAM_PROTO_SignData done [00:22:24]FM_MakeSignedData done [00:22:24]CreateOFDProtocolMessage [00:22:24]wFMCommunicate request_size=4 [00:22:24]MH_SAM_APDU [00:22:24]CAPDU: 80 11 00 00 [00:22:24]Write to MH i2c: E2 08 00 05 10 80 11 00 00 00 00 00 00 8F [00:22:24]Write i2c OK [00:22:24]MH_I2C_Read... [00:22:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:22:24]Read from MH i2c: E2 [00:22:24]MH_I2C_Read... [00:22:24]Read from MH i2c: E2 17 00 [00:22:24]MH_I2C_Read... [00:22:24]Read from MH i2c: E2 17 00 05 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 E9 [00:22:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [00:22:24]wFMCommunicate OK [00:22:24]CreateOFDProtocolMessage done [00:22:24]OFDSenderStorePacket 57244 [00:22:24]StoreOFDPacket docnum=57244 [00:22: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 A4 01 00 00 4F AD 9C 01 65 1B 5A 03 01 00 03 00 90 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 35 34 34 39 31 34 37 32 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 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 79 00 8A 04 0D 00 35 34 34 39 30 30 30 30 32 37 34 35 30 06 04 35 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 75 7A 65 54 65 61 20 D1 87 D0 B0 D0 B9 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D1 80 D0 BE D0 BC 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 84 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 38 06 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 98 3A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 8B 00 00 00 F4 03 04 00 40 BD 95 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 9C DF 00 00 35 04 06 00 4E 02 2A ED 0D BB 9A 86 E0 43 F3 CD E1 79 [00:22:24]CheckFolder [00:22:24]dirname=/storage/ofd_packets [00:22:24]CheckFolder done [00:22:24]ProducePacketName [00:22:24]name=ofd_packets/00057244 [00:22:24]NVStorageSaveData ofd_packets/00057244 [00:22:24]File name is /storage/ofd_packets/00057244 [00:22:24]Write 450 bytes [00:22:24]NVStorageSaveData done [00:22:24]OFDSenderStorePacket done [00:22:24]KKMCreateOFDPacket done [00:22:24]NVStorageSaveData kkm_last_timestamp [00:22:24]File name is /storage/kkm_last_timestamp [00:22:24]Write 4 bytes [00:22:24]NVStorageSaveData done [00:22:24]ExternCall_PrintAddStr [00:22:24]wPrintStart [00:22:24]Write to MH i2c: 01 00 00 06 10 16 [00:22:24]Write i2c OK [00:22:24]MH_I2C_Read... [00:22:24]Read from MH i2c: 01 [00:22:24]MH_I2C_Read... [00:22:24]Read from MH i2c: 01 07 00 [00:22:24]MH_I2C_Read... [00:22:24]Read from MH i2c: 01 07 00 06 10 00 00 00 00 00 FF 0F 2B [00:22:24]RasterBufferAndPrint [00:22:24]line Счет N : (3)129680 [00:22:24]line ИНН: 02508201610067 [00:22:24]line Контрольно-Кассовый Чек [00:22:24]line ПРОДАЖА [00:22:24]line Товар: 54491472 [00:22:24]line Напиток Кока-Кола 0,5л [00:22:24]line 1.000 * 75.00 [00:22:24]line = 75.00 [00:22:24]line НДС 12% НСП 1% [00:22:24]line > о реализуемом товаре [00:22:24]line Товар: 5449000027450 [00:22:24]line Напиток FuzeTea чай манго,ром 0,5л [00:22:24]line 1.000 * 75.00 [00:22:24]line = 75.00 [00:22:24]line НДС 12% НСП 1% [00:22:24]line > о реализуемом товаре [00:22:24]line ИТОГО: 150.00 [00:22:24]line НСП 1% : 1.32 [00:22:24]line НДС 12% : 15.92 [00:22:24]line Наличными: 0.00 [00:22:24]line Безнал.: 150.00 [00:22:24]line Место: АЗС № 132 "Партнер Нефть" [00:22:24]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [00:22:24]line СНО: Общий режим [00:22:24]line Чек 139 16.07.2024 00:22 [00:22:24]line Смена: 497 ФФД: 1.0 [00:22:24]line ЗНМ: 0300000132 [00:22:24]line РНМ: 0000000000091208 [00:22:24]line Версия ККМ: 001 [00:22:24]line Платежная система: АКБ Кыргызстан [00:22:24]line ФМ: 0000000000874857 [00:22:24]line ФД: 57244 [00:22:24]line ФПД: 85771217079739 [00:22:24]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240716T002224&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57244&fm=85771217079739&tin=02508201610067®Number=0000000000091208&sum=15000 [00:22:24]line 0 [00:22:24]written 0, free lines is 4095 [00:22:24]OFD Sender: Processing packet 57244 [packets to send 38, broken 37] [00:22:24]ProducePacketName [00:22:24]name=ofd_packets/00057244 [00:22:24]OFD Sender: To server: pG, [00:22:24]CommunicateWithHost lk.salyk.kg:30040 [00:22:24]ConnectInit lk.salyk.kg [00:22:24]Connected sock=10 [00:22:24]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 A4 01 00 00 4F AD 9C 01 65 1B 5A 03 01 00 03 00 90 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 35 34 34 39 31 34 37 32 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 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 79 00 8A 04 0D 00 35 34 34 39 30 30 30 30 32 37 34 35 30 06 04 35 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 75 7A 65 54 65 61 20 D1 87 D0 B0 D0 B9 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D1 80 D0 BE D0 BC 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 84 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 38 06 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 98 3A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 8B 00 00 00 F4 03 04 00 40 BD 95 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 9C DF 00 00 35 04 06 00 4E 02 2A ED 0D BB 9A 86 E0 43 F3 CD E1 79 [00:22: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 58 4D 47 00 AF 4A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 9C DF 00 00 F4 03 04 00 8D 63 95 66 B6 04 01 00 00 0B 64 9D 9F 57 DE E8 EC [00:22:25]CommunicateWithHost err = 0 [00:22:25]CheckOFDResponse [00:22:25]1017 (14) - 77093643461234 [00:22:25]1041 (16) - 0000000000874857 [00:22:25]1040 (4) - 57244 [00:22:25]1012 (4) - 15.07.2024 17:59 [00:22:25]1206 (1) - 0 [00:22:25]OFD Sender: Remove packet 57244 [00:22:25]ProducePacketName [00:22:25]name=ofd_packets/00057244 [00:22:25]NVStorageDeleteData [00:22:25]Write to MH i2c: 01 00 00 37 10 47 [00:22:25]Write i2c OK [00:22:25]MH_I2C_Read... [00:22:25]Read from MH i2c: 01 [00:22:25]MH_I2C_Read... [00:22:25]Read from MH i2c: 01 07 00 [00:22:25]MH_I2C_Read... [00:22:25]Read from MH i2c: 01 07 00 37 10 00 00 00 00 00 7D 0C D7 [00:22:25]RasterBufferAndPrint [00:22:25]line [00:22:25]line [00:22:25]line [00:22:25]line [00:22:25]line [00:22:25]written 0, free lines is 3204 [00:22:25]MH_Cut [00:22:25]Write to MH i2c: D1 01 00 3E 10 01 20 [00:22:25]Write i2c OK [00:22:25]MH_I2C_Read... [00:22:25]Read from MH i2c: D1 [00:22:25]MH_I2C_Read... [00:22:25]Read from MH i2c: D1 01 00 [00:22:25]MH_I2C_Read... [00:22:25]Read from MH i2c: D1 01 00 3E 10 00 1F [00:22:25]Write to MH i2c: 01 00 00 3F 10 4F [00:22:25]Write i2c OK [00:22:25]MH_I2C_Read... [00:22:25]OFD Sender: No OFD packet to send [00:22:26]*** Cut start [00:22:26]*** Partial cut [00:22:26]*** CUTSNS_PIN = 1 [00:22:26]*** CUTSNS_PIN = 0 [00:22:26]*** Brake cut motor [00:22:26]Read from MH i2c: 01 [00:22:26]MH_I2C_Read... [00:22:26]*** Stop cut motor [00:22:26]*** Cut end [00:22:26]Read from MH i2c: 01 07 00 [00:22:26]MH_I2C_Read... [00:22:26]Read from MH i2c: 01 07 00 3F 10 00 00 00 00 00 FF 0F 64 [00:22:26]process_action close_receipt done [00:22:26]requested_data is exist [00:22:26]produce_requested_data [00:22:26]requested_item fm.sn is exist - process it [00:22:26]wFMCommunicate request_size=4 [00:22:26]MH_SAM_APDU [00:22:26]CAPDU: 80 11 00 00 [00:22:26]Write to MH i2c: E2 08 00 40 10 80 11 00 00 00 00 00 00 CA [00:22:26]Write i2c OK [00:22:26]MH_I2C_Read... [00:22:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:22:26]Read from MH i2c: E2 [00:22:26]MH_I2C_Read... [00:22:26]Read from MH i2c: E2 17 00 [00:22:26]MH_I2C_Read... [00:22:26]Read from MH i2c: E2 17 00 40 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 24 [00:22:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [00:22:26]wFMCommunicate OK [00:22:26]requested_item fd.num is exist - process it [00:22:26]SAM_PROTO_GetFieldsCounters [00:22:26]wFMCommunicate request_size=4 [00:22:26]MH_SAM_APDU [00:22:26]CAPDU: 80 13 00 00 [00:22:26]Write to MH i2c: E2 08 00 41 10 80 13 00 00 00 00 00 00 CD [00:22:26]Write i2c OK [00:22:26]MH_I2C_Read... [00:22:26]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:22:26]Read from MH i2c: E2 [00:22:26]MH_I2C_Read... [00:22:26]Read from MH i2c: E2 62 00 [00:22:26]MH_I2C_Read... [00:22:26]Read from MH i2c: E2 62 00 41 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 9C DF 00 00 0E 04 04 00 F1 01 00 00 12 04 04 00 8B 00 00 00 5E 04 04 00 8B 00 00 00 57 04 04 00 8C 00 00 00 19 04 04 00 00 00 00 00 90 00 FE [00:22:26]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 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 9C DF 00 00 0E 04 04 00 F1 01 00 00 12 04 04 00 8B 00 00 00 5E 04 04 00 8B 00 00 00 57 04 04 00 8C 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:22:26]wFMCommunicate OK [00:22:26]SAM_PROTO_GetFieldsCounters done [00:22:26]requested_item shift.num is exist - process it [00:22:26]requested_item shift.opened is exist - process it [00:22:26]req_shift_opened [00:22:26]FM_GetShiftState [00:22:26]SAM_PROTO_GetShiftState [00:22:26]wFMCommunicate request_size=4 [00:22:26]MH_SAM_APDU [00:22:26]CAPDU: 80 13 01 00 [00:22:26]Write to MH i2c: E2 08 00 42 10 80 13 01 00 00 00 00 00 CF [00:22:26]Write i2c OK [00:22:26]MH_I2C_Read... [00:22:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:22:26]Read from MH i2c: E2 [00:22:26]MH_I2C_Read... [00:22:26]Read from MH i2c: E2 0E 00 [00:22:26]MH_I2C_Read... [00:22:26]Read from MH i2c: E2 0E 00 42 10 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 48 [00:22:26]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [00:22:26]wFMCommunicate OK [00:22:26]SAM_PROTO_GetShiftState done [00:22:26]FM_GetShiftState done [00:22:26]req_shift_opened done [00:22:26]requested_item shift.open_date is exist - process it [00:22:26]req_shift_open_date [00:22:26]req_shift_open_date done [00:22:26]requested_item shift.sale.total is exist - process it [00:22:26]SAM_PROTO_GetShiftData [00:22:26]wFMCommunicate request_size=4 [00:22:26]MH_SAM_APDU [00:22:26]CAPDU: 80 13 02 00 [00:22:26]Write to MH i2c: E2 08 00 43 10 80 13 02 00 00 00 00 00 D1 [00:22:26]Write i2c OK [00:22:26]MH_I2C_Read... [00:22:27]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:22:27]Read from MH i2c: E2 [00:22:27]MH_I2C_Read... [00:22:27]Read from MH i2c: E2 FD 00 [00:22:27]MH_I2C_Read... [00:22:27]Read from MH i2c: E2 FD 00 43 10 00 B6 04 AA 04 B2 04 6E 04 04 00 8B 00 00 00 69 04 9B 00 6F 04 04 00 8A 00 00 00 B1 04 03 00 3F 0C 41 70 04 03 00 E8 FD 32 72 04 03 00 57 0E 0E 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 8D E8 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 5B 93 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 C7 [00:22:27]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 8B 00 00 00 69 04 9B 00 6F 04 04 00 8A 00 00 00 B1 04 03 00 3F 0C 41 70 04 03 00 E8 FD 32 72 04 03 00 57 0E 0E 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 8D E8 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 5B 93 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 [00:22:27]wFMCommunicate OK [00:22:27]wFMCommunicate request_size=4 [00:22:27]MH_SAM_APDU [00:22:27]CAPDU: 80 17 00 00 [00:22:27]Write to MH i2c: E2 08 00 44 10 80 17 00 00 00 00 00 00 D4 [00:22:27]Write i2c OK [00:22:27]MH_I2C_Read... [00:22:27]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:22:27]Read from MH i2c: E2 [00:22:27]MH_I2C_Read... [00:22:27]Read from MH i2c: E2 FD 00 [00:22:27]MH_I2C_Read... [00:22:27]Read from MH i2c: E2 FD 00 44 10 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 09 [00:22:27]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 [00:22:27]wFMCommunicate OK [00:22:27]wFMCommunicate request_size=4 [00:22:27]MH_SAM_APDU [00:22:27]CAPDU: 80 17 00 00 [00:22:27]Write to MH i2c: E2 08 00 45 10 80 17 00 00 00 00 00 00 D5 [00:22:27]Write i2c OK [00:22:27]MH_I2C_Read... [00:22:27]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:22:28]Read from MH i2c: E2 [00:22:28]MH_I2C_Read... [00:22:28]Read from MH i2c: E2 FD 00 [00:22:28]MH_I2C_Read... [00:22:28]Read from MH i2c: E2 FD 00 45 10 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 95 [00:22:28]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 [00:22:28]wFMCommunicate OK [00:22:28]wFMCommunicate request_size=4 [00:22:28]MH_SAM_APDU [00:22:28]CAPDU: 80 17 00 00 [00:22:28]Write to MH i2c: E2 08 00 46 10 80 17 00 00 00 00 00 00 D6 [00:22:28]Write i2c OK [00:22:28]MH_I2C_Read... [00:22:28]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:22:28]Read from MH i2c: E2 [00:22:28]MH_I2C_Read... [00:22:28]Read from MH i2c: E2 FD 00 [00:22:28]MH_I2C_Read... [00:22:28]Read from MH i2c: E2 FD 00 46 10 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 45 [00:22:28]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 [00:22:28]wFMCommunicate OK [00:22:28]wFMCommunicate request_size=4 [00:22:28]MH_SAM_APDU [00:22:28]CAPDU: 80 17 00 00 [00:22:28]Write to MH i2c: E2 08 00 47 10 80 17 00 00 00 00 00 00 D7 [00:22:28]Write i2c OK [00:22:28]MH_I2C_Read... [00:22:28]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [00:22:28]Read from MH i2c: E2 [00:22:28]MH_I2C_Read... [00:22:28]Read from MH i2c: E2 D3 00 [00:22:28]MH_I2C_Read... [00:22:28]Read from MH i2c: E2 D3 00 47 10 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 C4 [00:22:28]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 [00:22:28]wFMCommunicate OK [00:22:28]SAM_PROTO_GetShiftData done [00:22:28]requested_item shift.sale.total_cash is exist - process it [00:22:28]requested_item shift.sale_refund.total is exist - process it [00:22:28]requested_item shift.sale_refund.total_cash is exist - process it [00:22:28]produce_requested_data done [00:22:28]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57244,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":42629.75,"shift.sale.total_cash":33418.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [00:22:28]process_action_free close_receipt [00:22:28]json_value_free [00:22:28]json_value_free done [00:22:28]process_json_proto returns [00:22:28]Send response to host [00:22:28]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57244,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":42629.75,"shift.sale.total_cash":33418.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [00:22:28]free response buf [00:22:28]execute_script done [00:22:28]execute_script returns [00:22:28]free content buf [00:22:28]Sock 7.Close socket [00:22:28]Sock 7.Thread stoped [00:22:30]OFD Sender: No OFD packet to send [00:22:35]OFD Sender: No OFD packet to send [00:22:40]OFD Sender: No OFD packet to send [00:22:45]OFD Sender: No OFD packet to send [00:22:50]OFD Sender: No OFD packet to send [00:22:55]OFD Sender: No OFD packet to send [00:23:00]OFD Sender: No OFD packet to send [00:23:05]OFD Sender: No OFD packet to send [00:23:10]OFD Sender: No OFD packet to send [00:23:15]OFD Sender: No OFD packet to send [00:23:20]OFD Sender: No OFD packet to send [00:23:25]OFD Sender: No OFD packet to send [00:23:30]OFD Sender: No OFD packet to send [00:23:35]OFD Sender: No OFD packet to send [00:23:40]OFD Sender: No OFD packet to send [00:23:45]OFD Sender: No OFD packet to send [00:23:50]OFD Sender: No OFD packet to send [00:23:55]OFD Sender: No OFD packet to send [00:24:00]OFD Sender: No OFD packet to send [00:24:05]OFD Sender: No OFD packet to send [00:24:10]OFD Sender: No OFD packet to send [00:24:15]OFD Sender: No OFD packet to send [00:24:20]OFD Sender: No OFD packet to send [00:24:25]OFD Sender: No OFD packet to send [00:24:30]OFD Sender: No OFD packet to send [00:24:35]OFD Sender: No OFD packet to send [00:24:40]OFD Sender: No OFD packet to send [00:24:45]OFD Sender: No OFD packet to send [00:24:50]OFD Sender: No OFD packet to send [00:24:55]OFD Sender: No OFD packet to send [00:25:00]OFD Sender: No OFD packet to send [00:25:05]OFD Sender: No OFD packet to send [00:25:10]OFD Sender: No OFD packet to send [00:25:15]OFD Sender: No OFD packet to send [00:25:20]OFD Sender: No OFD packet to send [00:25:25]OFD Sender: No OFD packet to send [00:25:30]OFD Sender: No OFD packet to send [00:25:35]OFD Sender: No OFD packet to send [00:25:40]OFD Sender: No OFD packet to send [00:25:45]OFD Sender: No OFD packet to send [00:25:50]OFD Sender: No OFD packet to send [00:25:55]OFD Sender: No OFD packet to send [00:26:00]OFD Sender: No OFD packet to send [00:26:05]OFD Sender: No OFD packet to send [00:26:10]OFD Sender: No OFD packet to send [00:26:15]OFD Sender: No OFD packet to send [00:26:20]OFD Sender: No OFD packet to send [00:26:25]OFD Sender: No OFD packet to send [00:26:30]OFD Sender: No OFD packet to send [00:26:35]OFD Sender: No OFD packet to send [00:26:40]OFD Sender: No OFD packet to send [00:26:45]OFD Sender: No OFD packet to send [00:26:50]OFD Sender: No OFD packet to send [00:26:55]OFD Sender: No OFD packet to send [00:27:00]OFD Sender: No OFD packet to send [00:27:05]OFD Sender: No OFD packet to send [00:27:10]OFD Sender: No OFD packet to send [00:27:15]OFD Sender: No OFD packet to send [00:27:20]OFD Sender: No OFD packet to send [00:27:25]OFD Sender: No OFD packet to send [00:27:30]OFD Sender: No OFD packet to send [00:27:35]OFD Sender: No OFD packet to send [00:27:40]OFD Sender: No OFD packet to send [00:27:45]OFD Sender: No OFD packet to send [00:27:50]OFD Sender: No OFD packet to send [00:27:55]OFD Sender: No OFD packet to send [00:28:01]OFD Sender: No OFD packet to send [00:28:06]OFD Sender: No OFD packet to send [00:28:11]OFD Sender: No OFD packet to send [00:28:16]OFD Sender: No OFD packet to send [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:16]OFD Sender: No OFD packet to send [00:29:21]OFD Sender: No OFD packet to send [00:29:26]OFD Sender: No OFD packet to send [00:29:31]OFD Sender: No OFD packet to send [00:29:36]OFD Sender: No OFD packet to send [00:29:41]OFD Sender: No OFD packet to send [00:29:46]OFD Sender: No OFD packet to send [00:29:51]OFD Sender: No OFD packet to send [00:29:56]OFD Sender: No OFD packet to send [00:30:00]accept exits with 9 [00:30:00]New connection [00:30:00]New thread 3067014500 created [00:30:00]Thread 3066871140 joined [00:30:00]Waiting for new connection... [00:30:00] Sock 9.Parse request [00:30:00]Sock 9.Check first char [00:30:00]Sock 9.First char is OK [00:30:00]request: POST /json_proto HTTP/1.0 [00:30:00]Method: POST [00:30:00]URL: /json_proto [00:30:00]Method is POST - this is cgi request [00:30:00]url: /json_proto [00:30:00]query_string will be loaded in cgi processing [00:30:00]execute_cgi json_proto POST (null) [00:30:00]execute_cgi path=json_proto method=POST [00:30:00]POST find Content-Length [00:30:00]Host: 172.17.39.4:8080 [00:30:00]Content-Length: 215 [00:30:00]Content-Type: application/json [00:30:00] [00:30:00]POST finish read [00:30:00]Found Content-Length = 215 [00:30: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:30:00]execute_script... [00:30: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:30:00]POST & json_proto [00:30:00]process_json_proto [00:30:00]json parsed OK: [00:30:00]protocol is kg_v1.0 [00:30:00]action value=get_value [00:30:00]process_action get_value [00:30:00]cmd_get_value [00:30:00]process_action get_value done [00:30:00]requested_data is exist [00:30:00]produce_requested_data [00:30:00]requested_item kkm.sn is exist - process it [00:30:00]requested_item kkm.ver is exist - process it [00:30:00]requested_item fm.sn is exist - process it [00:30:00]wFMCommunicate request_size=4 [00:30:00]MH_SAM_APDU [00:30:00]CAPDU: 80 11 00 00 [00:30:00]Write to MH i2c: E2 08 00 48 10 80 11 00 00 00 00 00 00 D2 [00:30:00]Write i2c OK [00:30:00]MH_I2C_Read... [00:30:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:30:00]Read from MH i2c: E2 [00:30:00]MH_I2C_Read... [00:30:00]Read from MH i2c: E2 17 00 [00:30:00]MH_I2C_Read... [00:30:00]Read from MH i2c: E2 17 00 48 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 2C [00:30: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:30:00]wFMCommunicate OK [00:30:00]requested_item fd.num is exist - process it [00:30:00]SAM_PROTO_GetFieldsCounters [00:30:00]wFMCommunicate request_size=4 [00:30:00]MH_SAM_APDU [00:30:00]CAPDU: 80 13 00 00 [00:30:00]Write to MH i2c: E2 08 00 49 10 80 13 00 00 00 00 00 00 D5 [00:30:00]Write i2c OK [00:30:00]MH_I2C_Read... [00:30:00]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:30:00]Read from MH i2c: E2 [00:30:00]MH_I2C_Read... [00:30:00]Read from MH i2c: E2 62 00 [00:30:00]MH_I2C_Read... [00:30:00]Read from MH i2c: E2 62 00 49 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 9C DF 00 00 0E 04 04 00 F1 01 00 00 12 04 04 00 8B 00 00 00 5E 04 04 00 8B 00 00 00 57 04 04 00 8C 00 00 00 19 04 04 00 00 00 00 00 90 00 06 [00:30: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 9C DF 00 00 0E 04 04 00 F1 01 00 00 12 04 04 00 8B 00 00 00 5E 04 04 00 8B 00 00 00 57 04 04 00 8C 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:30:00]wFMCommunicate OK [00:30:00]SAM_PROTO_GetFieldsCounters done [00:30:00]requested_item shift.num is exist - process it [00:30:00]requested_item shift.opened is exist - process it [00:30:00]req_shift_opened [00:30:00]FM_GetShiftState [00:30:00]SAM_PROTO_GetShiftState [00:30:00]wFMCommunicate request_size=4 [00:30:00]MH_SAM_APDU [00:30:00]CAPDU: 80 13 01 00 [00:30:00]Write to MH i2c: E2 08 00 4A 10 80 13 01 00 00 00 00 00 D7 [00:30:00]Write i2c OK [00:30:00]MH_I2C_Read... [00:30:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:30:00]Read from MH i2c: E2 [00:30:00]MH_I2C_Read... [00:30:00]Read from MH i2c: E2 0E 00 [00:30:00]MH_I2C_Read... [00:30:00]Read from MH i2c: E2 0E 00 4A 10 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 50 [00:30:00]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [00:30:00]wFMCommunicate OK [00:30:00]SAM_PROTO_GetShiftState done [00:30:00]FM_GetShiftState done [00:30:00]req_shift_opened done [00:30:00]requested_item shift.open_date is exist - process it [00:30:00]req_shift_open_date [00:30:00]req_shift_open_date done [00:30:00]produce_requested_data done [00:30:00]produce_requested_data return {"kkm.sn":"0300000132","kkm.ver":"001","fm.sn":"0000000000874857","fd.num":57244,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525} [00:30:00]process_action_free get_value [00:30:00]json_value_free [00:30:00]json_value_free done [00:30:00]process_json_proto returns [00:30:00]Send response to host [00:30:00]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000132","kkm.ver":"001","fm.sn":"0000000000874857","fd.num":57244,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525}}} [00:30:00]free response buf [00:30:00]execute_script done [00:30:00]execute_script returns [00:30:00]free content buf [00:30:00]Sock 9.Close socket [00:30:00]Sock 9.Thread stoped [00:30:00]accept exits with 7 [00:30:00]New connection [00:30:00]New thread 3066871140 created [00:30:00]Thread 3067014500 joined [00:30:00]Waiting for new connection... [00:30:00] Sock 7.Parse request [00:30:00]Sock 7.Check first char [00:30:00]Sock 7.First char is OK [00:30:00]request: POST /json_proto HTTP/1.0 [00:30:00]Method: POST [00:30:00]URL: /json_proto [00:30:00]Method is POST - this is cgi request [00:30:00]url: /json_proto [00:30:00]query_string will be loaded in cgi processing [00:30:00]execute_cgi json_proto POST (null) [00:30:00]execute_cgi path=json_proto method=POST [00:30:00]POST find Content-Length [00:30:00]Host: 172.17.39.4:8080 [00:30:00]Content-Length: 331 [00:30:00]Content-Type: application/json [00:30:00] [00:30:00]POST finish read [00:30:00]Found Content-Length = 331 [00:30:00]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:30:00]execute_script... [00:30: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:30:01]POST & json_proto [00:30:01]process_json_proto [00:30:01]json parsed OK: [00:30:01]protocol is kg_v1.0 [00:30:01]action value=get_value [00:30:01]process_action get_value [00:30:01]cmd_get_value [00:30:01]process_action get_value done [00:30:01]requested_data is exist [00:30:01]produce_requested_data [00:30:01]requested_item fm.sale.total is exist - process it [00:30:01]SAM_PROTO_GetFMData [00:30:01]wFMCommunicate request_size=4 [00:30:01]MH_SAM_APDU [00:30:01]CAPDU: 80 13 03 00 [00:30:01]Write to MH i2c: E2 08 00 4B 10 80 13 03 00 00 00 00 00 DA [00:30:01]Write i2c OK [00:30:01]MH_I2C_Read... [00:30:01]OFD Sender: No OFD packet to send [00:30:01]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:30:01]Read from MH i2c: E2 [00:30:01]MH_I2C_Read... [00:30:01]Read from MH i2c: E2 FD 00 [00:30:01]MH_I2C_Read... [00:30:01]Read from MH i2c: E2 FD 00 4B 10 00 C4 04 85 04 C0 04 6E 04 04 00 B9 DB 00 00 69 04 A0 00 6F 04 04 00 07 DB 00 00 B1 04 04 00 82 15 C5 6D 70 04 04 00 DC 00 62 61 72 04 04 00 A6 14 63 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 11 8E A8 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 76 9E 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 B2 00 00 00 B1 04 04 00 38 6C 69 01 70 04 04 00 6C 1A 5F 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 A0 62 26 EF 03 09 00 90 00 50 [00:30:01]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 B9 DB 00 00 69 04 A0 00 6F 04 04 00 07 DB 00 00 B1 04 04 00 82 15 C5 6D 70 04 04 00 DC 00 62 61 72 04 04 00 A6 14 63 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 11 8E A8 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 76 9E 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 B2 00 00 00 B1 04 04 00 38 6C 69 01 70 04 04 00 6C 1A 5F 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 A0 62 26 EF 03 09 00 90 00 [00:30:01]wFMCommunicate OK [00:30:01]wFMCommunicate request_size=4 [00:30:01]MH_SAM_APDU [00:30:01]CAPDU: 80 17 00 00 [00:30:01]Write to MH i2c: E2 08 00 4C 10 80 17 00 00 00 00 00 00 DC [00:30:01]Write i2c OK [00:30:01]MH_I2C_Read... [00:30:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:30:01]Read from MH i2c: E2 [00:30:01]MH_I2C_Read... [00:30:01]Read from MH i2c: E2 FD 00 [00:30:01]MH_I2C_Read... [00:30:01]Read from MH i2c: E2 FD 00 4C 10 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 CF 32 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 96 [00:30:01]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 CF 32 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:30:01]wFMCommunicate OK [00:30:01]wFMCommunicate request_size=4 [00:30:01]MH_SAM_APDU [00:30:01]CAPDU: 80 17 00 00 [00:30:01]Write to MH i2c: E2 08 00 4D 10 80 17 00 00 00 00 00 00 DD [00:30:01]Write i2c OK [00:30:01]MH_I2C_Read... [00:30:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:30:02]Read from MH i2c: E2 [00:30:02]MH_I2C_Read... [00:30:02]Read from MH i2c: E2 FD 00 [00:30:02]MH_I2C_Read... [00:30:02]Read from MH i2c: E2 FD 00 4D 10 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 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 F2 [00:30: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:30:02]wFMCommunicate OK [00:30:02]wFMCommunicate request_size=4 [00:30:02]MH_SAM_APDU [00:30:02]CAPDU: 80 17 00 00 [00:30:02]Write to MH i2c: E2 08 00 4E 10 80 17 00 00 00 00 00 00 DE [00:30:02]Write i2c OK [00:30:02]MH_I2C_Read... [00:30:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:30:02]Read from MH i2c: E2 [00:30:02]MH_I2C_Read... [00:30:02]Read from MH i2c: E2 FD 00 [00:30:02]MH_I2C_Read... [00:30:02]Read from MH i2c: E2 FD 00 4E 10 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 56 [00:30: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:30:02]wFMCommunicate OK [00:30:02]wFMCommunicate request_size=4 [00:30:02]MH_SAM_APDU [00:30:02]CAPDU: 80 17 00 00 [00:30:02]Write to MH i2c: E2 08 00 4F 10 80 17 00 00 00 00 00 00 DF [00:30:02]Write i2c OK [00:30:02]MH_I2C_Read... [00:30:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [00:30:02]Read from MH i2c: E2 [00:30:02]MH_I2C_Read... [00:30:02]Read from MH i2c: E2 E1 00 [00:30:02]MH_I2C_Read... [00:30:02]Read from MH i2c: E2 E1 00 4F 10 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 CD [00:30: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:30:02]wFMCommunicate OK [00:30:02]SAM_PROTO_GetFMData done [00:30:02]requested_item fm.sale_refund.total is exist - process it [00:30:02]requested_item fm.buy.total is exist - process it [00:30:02]requested_item shift.sale.total is exist - process it [00:30:02]SAM_PROTO_GetShiftData [00:30:02]wFMCommunicate request_size=4 [00:30:02]MH_SAM_APDU [00:30:02]CAPDU: 80 13 02 00 [00:30:02]Write to MH i2c: E2 08 00 50 10 80 13 02 00 00 00 00 00 DE [00:30:02]Write i2c OK [00:30:02]MH_I2C_Read... [00:30:02]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:30:03]Read from MH i2c: E2 [00:30:03]MH_I2C_Read... [00:30:03]Read from MH i2c: E2 FD 00 [00:30:03]MH_I2C_Read... [00:30:03]Read from MH i2c: E2 FD 00 50 10 00 B6 04 AA 04 B2 04 6E 04 04 00 8B 00 00 00 69 04 9B 00 6F 04 04 00 8A 00 00 00 B1 04 03 00 3F 0C 41 70 04 03 00 E8 FD 32 72 04 03 00 57 0E 0E 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 8D E8 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 5B 93 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 D4 [00:30:03]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 8B 00 00 00 69 04 9B 00 6F 04 04 00 8A 00 00 00 B1 04 03 00 3F 0C 41 70 04 03 00 E8 FD 32 72 04 03 00 57 0E 0E 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 8D E8 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 5B 93 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 [00:30:03]wFMCommunicate OK [00:30:03]wFMCommunicate request_size=4 [00:30:03]MH_SAM_APDU [00:30:03]CAPDU: 80 17 00 00 [00:30:03]Write to MH i2c: E2 08 00 51 10 80 17 00 00 00 00 00 00 E1 [00:30:03]Write i2c OK [00:30:03]MH_I2C_Read... [00:30:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:30:03]Read from MH i2c: E2 [00:30:03]MH_I2C_Read... [00:30:03]Read from MH i2c: E2 FD 00 [00:30:03]MH_I2C_Read... [00:30:03]Read from MH i2c: E2 FD 00 51 10 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 16 [00:30:03]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 [00:30:03]wFMCommunicate OK [00:30:03]wFMCommunicate request_size=4 [00:30:03]MH_SAM_APDU [00:30:03]CAPDU: 80 17 00 00 [00:30:03]Write to MH i2c: E2 08 00 52 10 80 17 00 00 00 00 00 00 E2 [00:30:03]Write i2c OK [00:30:03]MH_I2C_Read... [00:30:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:30:03]Read from MH i2c: E2 [00:30:03]MH_I2C_Read... [00:30:03]Read from MH i2c: E2 FD 00 [00:30:03]MH_I2C_Read... [00:30:03]Read from MH i2c: E2 FD 00 52 10 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 A2 [00:30:03]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 [00:30:03]wFMCommunicate OK [00:30:03]wFMCommunicate request_size=4 [00:30:03]MH_SAM_APDU [00:30:03]CAPDU: 80 17 00 00 [00:30:03]Write to MH i2c: E2 08 00 53 10 80 17 00 00 00 00 00 00 E3 [00:30:03]Write i2c OK [00:30:03]MH_I2C_Read... [00:30:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:30:03]Read from MH i2c: E2 [00:30:03]MH_I2C_Read... [00:30:03]Read from MH i2c: E2 FD 00 [00:30:03]MH_I2C_Read... [00:30:03]Read from MH i2c: E2 FD 00 53 10 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 52 [00:30:03]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 [00:30:03]wFMCommunicate OK [00:30:03]wFMCommunicate request_size=4 [00:30:03]MH_SAM_APDU [00:30:03]CAPDU: 80 17 00 00 [00:30:03]Write to MH i2c: E2 08 00 54 10 80 17 00 00 00 00 00 00 E4 [00:30:03]Write i2c OK [00:30:03]MH_I2C_Read... [00:30:04]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [00:30:04]Read from MH i2c: E2 [00:30:04]MH_I2C_Read... [00:30:04]Read from MH i2c: E2 D3 00 [00:30:04]MH_I2C_Read... [00:30:04]Read from MH i2c: E2 D3 00 54 10 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 D1 [00:30:04]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 [00:30:04]wFMCommunicate OK [00:30:04]SAM_PROTO_GetShiftData done [00:30:04]requested_item shift.sale.total_cash is exist - process it [00:30:04]requested_item shift.sale_refund.total is exist - process it [00:30:04]requested_item shift.sale_refund.total_cash is exist - process it [00:30:04]requested_item shift.buy.total is exist - process it [00:30:04]requested_item shift.buy.total_cash is exist - process it [00:30:04]produce_requested_data done [00:30:04]produce_requested_data return {"fm.sale.total":18416326.42,"fm.sale_refund.total":236862.00,"fm.buy.total":0.00,"shift.sale.total":42629.75,"shift.sale.total_cash":33418.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [00:30:04]process_action_free get_value [00:30:04]json_value_free [00:30:04]json_value_free done [00:30:04]process_json_proto returns [00:30:04]Send response to host [00:30:04]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":18416326.42,"fm.sale_refund.total":236862.00,"fm.buy.total":0.00,"shift.sale.total":42629.75,"shift.sale.total_cash":33418.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [00:30:04]free response buf [00:30:04]execute_script done [00:30:04]execute_script returns [00:30:04]free content buf [00:30:04]Sock 7.Close socket [00:30:04]Sock 7.Thread stoped [00:30:04]accept exits with 9 [00:30:04]New connection [00:30:04]New thread 3067014500 created [00:30:04]Thread 3066871140 joined [00:30:04]Waiting for new connection... [00:30:04] Sock 9.Parse request [00:30:04]Sock 9.Check first char [00:30:04]Sock 9.First char is OK [00:30:04]request: POST /json_proto HTTP/1.0 [00:30:04]Method: POST [00:30:04]URL: /json_proto [00:30:04]Method is POST - this is cgi request [00:30:04]url: /json_proto [00:30:04]query_string will be loaded in cgi processing [00:30:04]execute_cgi json_proto POST (null) [00:30:04]execute_cgi path=json_proto method=POST [00:30:04]POST find Content-Length [00:30:04]Host: 172.17.39.4:8080 [00:30:04]Content-Length: 331 [00:30:04]Content-Type: application/json [00:30:04] [00:30:04]POST finish read [00:30:04]Found Content-Length = 331 [00:30:04]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:30:04]execute_script... [00:30:04]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:30:04]POST & json_proto [00:30:04]process_json_proto [00:30:04]json parsed OK: [00:30:04]protocol is kg_v1.0 [00:30:04]action value=get_value [00:30:04]process_action get_value [00:30:04]cmd_get_value [00:30:04]process_action get_value done [00:30:04]requested_data is exist [00:30:04]produce_requested_data [00:30:04]requested_item fm.sale.total is exist - process it [00:30:04]SAM_PROTO_GetFMData [00:30:04]wFMCommunicate request_size=4 [00:30:04]MH_SAM_APDU [00:30:04]CAPDU: 80 13 03 00 [00:30:04]Write to MH i2c: E2 08 00 55 10 80 13 03 00 00 00 00 00 E4 [00:30:04]Write i2c OK [00:30:04]MH_I2C_Read... [00:30:04]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:30:04]Read from MH i2c: E2 [00:30:04]MH_I2C_Read... [00:30:04]Read from MH i2c: E2 FD 00 [00:30:04]MH_I2C_Read... [00:30:04]Read from MH i2c: E2 FD 00 55 10 00 C4 04 85 04 C0 04 6E 04 04 00 B9 DB 00 00 69 04 A0 00 6F 04 04 00 07 DB 00 00 B1 04 04 00 82 15 C5 6D 70 04 04 00 DC 00 62 61 72 04 04 00 A6 14 63 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 11 8E A8 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 76 9E 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 B2 00 00 00 B1 04 04 00 38 6C 69 01 70 04 04 00 6C 1A 5F 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 A0 62 26 EF 03 09 00 90 00 5A [00:30:04]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 B9 DB 00 00 69 04 A0 00 6F 04 04 00 07 DB 00 00 B1 04 04 00 82 15 C5 6D 70 04 04 00 DC 00 62 61 72 04 04 00 A6 14 63 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 11 8E A8 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 76 9E 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 B2 00 00 00 B1 04 04 00 38 6C 69 01 70 04 04 00 6C 1A 5F 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 A0 62 26 EF 03 09 00 90 00 [00:30:04]wFMCommunicate OK [00:30:04]wFMCommunicate request_size=4 [00:30:04]MH_SAM_APDU [00:30:04]CAPDU: 80 17 00 00 [00:30:04]Write to MH i2c: E2 08 00 56 10 80 17 00 00 00 00 00 00 E6 [00:30:04]Write i2c OK [00:30:04]MH_I2C_Read... [00:30:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:30:05]Read from MH i2c: E2 [00:30:05]MH_I2C_Read... [00:30:05]Read from MH i2c: E2 FD 00 [00:30:05]MH_I2C_Read... [00:30:05]Read from MH i2c: E2 FD 00 56 10 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 CF 32 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 A0 [00:30:05]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 CF 32 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:30:05]wFMCommunicate OK [00:30:05]wFMCommunicate request_size=4 [00:30:05]MH_SAM_APDU [00:30:05]CAPDU: 80 17 00 00 [00:30:05]Write to MH i2c: E2 08 00 57 10 80 17 00 00 00 00 00 00 E7 [00:30:05]Write i2c OK [00:30:05]MH_I2C_Read... [00:30:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:30:05]Read from MH i2c: E2 [00:30:05]MH_I2C_Read... [00:30:05]Read from MH i2c: E2 FD 00 [00:30:05]MH_I2C_Read... [00:30:05]Read from MH i2c: E2 FD 00 57 10 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 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 FC [00:30:05]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:30:05]wFMCommunicate OK [00:30:05]wFMCommunicate request_size=4 [00:30:05]MH_SAM_APDU [00:30:05]CAPDU: 80 17 00 00 [00:30:05]Write to MH i2c: E2 08 00 58 10 80 17 00 00 00 00 00 00 E8 [00:30:05]Write i2c OK [00:30:05]MH_I2C_Read... [00:30:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:30:05]Read from MH i2c: E2 [00:30:05]MH_I2C_Read... [00:30:05]Read from MH i2c: E2 FD 00 [00:30:05]MH_I2C_Read... [00:30:05]Read from MH i2c: E2 FD 00 58 10 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 60 [00:30:05]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:30:05]wFMCommunicate OK [00:30:05]wFMCommunicate request_size=4 [00:30:05]MH_SAM_APDU [00:30:05]CAPDU: 80 17 00 00 [00:30:05]Write to MH i2c: E2 08 00 59 10 80 17 00 00 00 00 00 00 E9 [00:30:05]Write i2c OK [00:30:05]MH_I2C_Read... [00:30:06]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [00:30:06]Read from MH i2c: E2 [00:30:06]MH_I2C_Read... [00:30:06]Read from MH i2c: E2 E1 00 [00:30:06]MH_I2C_Read... [00:30:06]Read from MH i2c: E2 E1 00 59 10 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 D7 [00:30:06]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:30:06]wFMCommunicate OK [00:30:06]SAM_PROTO_GetFMData done [00:30:06]requested_item fm.sale_refund.total is exist - process it [00:30:06]requested_item fm.buy.total is exist - process it [00:30:06]requested_item shift.sale.total is exist - process it [00:30:06]SAM_PROTO_GetShiftData [00:30:06]wFMCommunicate request_size=4 [00:30:06]MH_SAM_APDU [00:30:06]CAPDU: 80 13 02 00 [00:30:06]Write to MH i2c: E2 08 00 5A 10 80 13 02 00 00 00 00 00 E8 [00:30:06]OFD Sender: No OFD packet to send [00:30:06]Write i2c OK [00:30:06]MH_I2C_Read... [00:30:06]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:30:06]Read from MH i2c: E2 [00:30:06]MH_I2C_Read... [00:30:06]Read from MH i2c: E2 FD 00 [00:30:06]MH_I2C_Read... [00:30:06]Read from MH i2c: E2 FD 00 5A 10 00 B6 04 AA 04 B2 04 6E 04 04 00 8B 00 00 00 69 04 9B 00 6F 04 04 00 8A 00 00 00 B1 04 03 00 3F 0C 41 70 04 03 00 E8 FD 32 72 04 03 00 57 0E 0E 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 8D E8 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 5B 93 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 DE [00:30:06]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 8B 00 00 00 69 04 9B 00 6F 04 04 00 8A 00 00 00 B1 04 03 00 3F 0C 41 70 04 03 00 E8 FD 32 72 04 03 00 57 0E 0E 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 8D E8 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 5B 93 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 [00:30:06]wFMCommunicate OK [00:30:06]wFMCommunicate request_size=4 [00:30:06]MH_SAM_APDU [00:30:06]CAPDU: 80 17 00 00 [00:30:06]Write to MH i2c: E2 08 00 5B 10 80 17 00 00 00 00 00 00 EB [00:30:06]Write i2c OK [00:30:06]MH_I2C_Read... [00:30:07]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:30:07]Read from MH i2c: E2 [00:30:07]MH_I2C_Read... [00:30:07]Read from MH i2c: E2 FD 00 [00:30:07]MH_I2C_Read... [00:30:07]Read from MH i2c: E2 FD 00 5B 10 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 20 [00:30:07]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 [00:30:07]wFMCommunicate OK [00:30:07]wFMCommunicate request_size=4 [00:30:07]MH_SAM_APDU [00:30:07]CAPDU: 80 17 00 00 [00:30:07]Write to MH i2c: E2 08 00 5C 10 80 17 00 00 00 00 00 00 EC [00:30:07]Write i2c OK [00:30:07]MH_I2C_Read... [00:30:07]Read from MH i2c: E2 [00:30:07]MH_I2C_Read... [00:30:07]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:30:07]Read from MH i2c: E2 FD 00 [00:30:07]MH_I2C_Read... [00:30:07]Read from MH i2c: E2 FD 00 5C 10 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 AC [00:30:07]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 [00:30:07]wFMCommunicate OK [00:30:07]wFMCommunicate request_size=4 [00:30:07]MH_SAM_APDU [00:30:07]CAPDU: 80 17 00 00 [00:30:07]Write to MH i2c: E2 08 00 5D 10 80 17 00 00 00 00 00 00 ED [00:30:07]Write i2c OK [00:30:07]MH_I2C_Read... [00:30:07]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:30:07]Read from MH i2c: E2 [00:30:07]MH_I2C_Read... [00:30:07]Read from MH i2c: E2 FD 00 [00:30:07]MH_I2C_Read... [00:30:07]Read from MH i2c: E2 FD 00 5D 10 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 5C [00:30:08]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 [00:30:08]wFMCommunicate OK [00:30:08]wFMCommunicate request_size=4 [00:30:08]MH_SAM_APDU [00:30:08]CAPDU: 80 17 00 00 [00:30:08]Write to MH i2c: E2 08 00 5E 10 80 17 00 00 00 00 00 00 EE [00:30:08]Write i2c OK [00:30:08]MH_I2C_Read... [00:30:08]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [00:30:08]Read from MH i2c: E2 [00:30:08]MH_I2C_Read... [00:30:08]Read from MH i2c: E2 D3 00 [00:30:08]MH_I2C_Read... [00:30:08]Read from MH i2c: E2 D3 00 5E 10 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 DB [00:30:08]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 [00:30:08]wFMCommunicate OK [00:30:08]SAM_PROTO_GetShiftData done [00:30:08]requested_item shift.sale.total_cash is exist - process it [00:30:08]requested_item shift.sale_refund.total is exist - process it [00:30:08]requested_item shift.sale_refund.total_cash is exist - process it [00:30:08]requested_item shift.buy.total is exist - process it [00:30:08]requested_item shift.buy.total_cash is exist - process it [00:30:08]produce_requested_data done [00:30:08]produce_requested_data return {"fm.sale.total":18416326.42,"fm.sale_refund.total":236862.00,"fm.buy.total":0.00,"shift.sale.total":42629.75,"shift.sale.total_cash":33418.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [00:30:08]process_action_free get_value [00:30:08]json_value_free [00:30:08]json_value_free done [00:30:08]process_json_proto returns [00:30:08]Send response to host [00:30:08]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":18416326.42,"fm.sale_refund.total":236862.00,"fm.buy.total":0.00,"shift.sale.total":42629.75,"shift.sale.total_cash":33418.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [00:30:08]free response buf [00:30:08]execute_script done [00:30:08]execute_script returns [00:30:08]free content buf [00:30:08]Sock 9.Close socket [00:30:08]Sock 9.Thread stoped [00:30:08]accept exits with 7 [00:30:08]New connection [00:30:08]New thread 3066871140 created [00:30:08]Thread 3067014500 joined [00:30:08]Waiting for new connection... [00:30:08] Sock 7.Parse request [00:30:08]Sock 7.Check first char [00:30:08]Sock 7.First char is OK [00:30:08]request: POST /json_proto HTTP/1.0 [00:30:08]Method: POST [00:30:08]URL: /json_proto [00:30:08]Method is POST - this is cgi request [00:30:08]url: /json_proto [00:30:08]query_string will be loaded in cgi processing [00:30:08]execute_cgi json_proto POST (null) [00:30:08]execute_cgi path=json_proto method=POST [00:30:08]POST find Content-Length [00:30:08]Host: 172.17.39.4:8080 [00:30:08]Content-Length: 257 [00:30:08]Content-Type: application/json [00:30:08] [00:30:08]POST finish read [00:30:08]Found Content-Length = 257 [00:30:08]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u0411\u0430\u043A\u0438\u0440\u043E\u0432\u0430 \u0417. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:30:08]execute_script... [00:30:08]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u0411\u0430\u043A\u0438\u0440\u043E\u0432\u0430 \u0417. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:30:08]POST & json_proto [00:30:08]process_json_proto [00:30:08]json parsed OK: [00:30:08]protocol is kg_v1.0 [00:30:08]action value=x_report [00:30:08]process_action x_report [00:30:08]cmd_x_report [00:30:08]MH_GetDate [00:30:08]Write to MH i2c: F0 00 00 5F 10 5E [00:30:08]Write i2c OK [00:30:08]MH_I2C_Read... [00:30:08]Read from MH i2c: F0 [00:30:08]MH_I2C_Read... [00:30:08]Read from MH i2c: F0 09 00 [00:30:08]MH_I2C_Read... [00:30:08]Read from MH i2c: F0 09 00 5F 10 00 12 BF 95 66 2D 25 5D 64 46 [00:30:08]GetLastDocTimeStamp 1721089344 [00:30:08]current date 1721089810 [00:30:08]FM_GetShiftState [00:30:08]SAM_PROTO_GetShiftState [00:30:08]wFMCommunicate request_size=4 [00:30:08]MH_SAM_APDU [00:30:08]CAPDU: 80 13 01 00 [00:30:08]Write to MH i2c: E2 08 00 60 10 80 13 01 00 00 00 00 00 ED [00:30:08]Write i2c OK [00:30:08]MH_I2C_Read... [00:30:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:30:08]Read from MH i2c: E2 [00:30:08]MH_I2C_Read... [00:30:08]Read from MH i2c: E2 0E 00 [00:30:08]MH_I2C_Read... [00:30:08]Read from MH i2c: E2 0E 00 60 10 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 66 [00:30:08]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [00:30:08]wFMCommunicate OK [00:30:08]SAM_PROTO_GetShiftState done [00:30:08]FM_GetShiftState done [00:30:08]KKMCreateXReportDocument [00:30:08]Load OK [00:30:08]Malloc new data [00:30:08]MH_GetDate [00:30:08]Write to MH i2c: F0 00 00 61 10 60 [00:30:08]Write i2c OK [00:30:08]MH_I2C_Read... [00:30:08]Read from MH i2c: F0 [00:30:08]MH_I2C_Read... [00:30:08]Read from MH i2c: F0 09 00 [00:30:08]MH_I2C_Read... [00:30:08]Read from MH i2c: F0 09 00 61 10 00 12 BF 95 66 2D 25 5D 64 48 [00:30:08]Malloc new data [00:30:08]Malloc new data [00:30:08]wFMCommunicate request_size=4 [00:30:08]MH_SAM_APDU [00:30:08]CAPDU: 80 11 00 00 [00:30:08]Write to MH i2c: E2 08 00 62 10 80 11 00 00 00 00 00 00 EC [00:30:08]Write i2c OK [00:30:08]MH_I2C_Read... [00:30:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:30:08]Read from MH i2c: E2 [00:30:08]MH_I2C_Read... [00:30:08]Read from MH i2c: E2 17 00 [00:30:08]MH_I2C_Read... [00:30:08]Read from MH i2c: E2 17 00 62 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 46 [00:30:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [00:30:08]wFMCommunicate OK [00:30:08]SAM_PROTO_GetFieldsCounters [00:30:08]wFMCommunicate request_size=4 [00:30:08]MH_SAM_APDU [00:30:08]CAPDU: 80 13 00 00 [00:30:08]Write to MH i2c: E2 08 00 63 10 80 13 00 00 00 00 00 00 EF [00:30:08]Write i2c OK [00:30:08]MH_I2C_Read... [00:30:08]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:30:08]Read from MH i2c: E2 [00:30:08]MH_I2C_Read... [00:30:08]Read from MH i2c: E2 62 00 [00:30:08]MH_I2C_Read... [00:30:08]Read from MH i2c: E2 62 00 63 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 9C DF 00 00 0E 04 04 00 F1 01 00 00 12 04 04 00 8B 00 00 00 5E 04 04 00 8B 00 00 00 57 04 04 00 8C 00 00 00 19 04 04 00 00 00 00 00 90 00 20 [00:30: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 9C DF 00 00 0E 04 04 00 F1 01 00 00 12 04 04 00 8B 00 00 00 5E 04 04 00 8B 00 00 00 57 04 04 00 8C 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:30:08]wFMCommunicate OK [00:30:08]SAM_PROTO_GetFieldsCounters done [00:30:08]Malloc new data [00:30:08]Malloc new data [00:30:08]Malloc new data [00:30:08]KKMCreateXReportDocument OK [00:30:08]KKMSetXReportData OK [00:30:08]KKMPrepareXReportFMData [00:30:08]SAM_PROTO_GetShiftData [00:30:08]wFMCommunicate request_size=4 [00:30:08]MH_SAM_APDU [00:30:08]CAPDU: 80 13 02 00 [00:30:08]Write to MH i2c: E2 08 00 64 10 80 13 02 00 00 00 00 00 F2 [00:30:08]Write i2c OK [00:30:08]MH_I2C_Read... [00:30:09]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:30:09]Read from MH i2c: E2 [00:30:09]MH_I2C_Read... [00:30:09]Read from MH i2c: E2 FD 00 [00:30:09]MH_I2C_Read... [00:30:09]Read from MH i2c: E2 FD 00 64 10 00 B6 04 AA 04 B2 04 6E 04 04 00 8B 00 00 00 69 04 9B 00 6F 04 04 00 8A 00 00 00 B1 04 03 00 3F 0C 41 70 04 03 00 E8 FD 32 72 04 03 00 57 0E 0E 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 8D E8 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 5B 93 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 E8 [00:30:09]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 8B 00 00 00 69 04 9B 00 6F 04 04 00 8A 00 00 00 B1 04 03 00 3F 0C 41 70 04 03 00 E8 FD 32 72 04 03 00 57 0E 0E 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 8D E8 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 5B 93 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 [00:30:09]wFMCommunicate OK [00:30:09]wFMCommunicate request_size=4 [00:30:09]MH_SAM_APDU [00:30:09]CAPDU: 80 17 00 00 [00:30:09]Write to MH i2c: E2 08 00 65 10 80 17 00 00 00 00 00 00 F5 [00:30:09]Write i2c OK [00:30:09]MH_I2C_Read... [00:30:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:30:09]Read from MH i2c: E2 [00:30:09]MH_I2C_Read... [00:30:09]Read from MH i2c: E2 FD 00 [00:30:09]MH_I2C_Read... [00:30:09]Read from MH i2c: E2 FD 00 65 10 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 2A [00:30:10]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 [00:30:10]wFMCommunicate OK [00:30:10]wFMCommunicate request_size=4 [00:30:10]MH_SAM_APDU [00:30:10]CAPDU: 80 17 00 00 [00:30:10]Write to MH i2c: E2 08 00 66 10 80 17 00 00 00 00 00 00 F6 [00:30:10]Write i2c OK [00:30:10]MH_I2C_Read... [00:30:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:30:10]Read from MH i2c: E2 [00:30:10]MH_I2C_Read... [00:30:10]Read from MH i2c: E2 FD 00 [00:30:10]MH_I2C_Read... [00:30:10]Read from MH i2c: E2 FD 00 66 10 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 B6 [00:30:10]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 [00:30:10]wFMCommunicate OK [00:30:10]wFMCommunicate request_size=4 [00:30:10]MH_SAM_APDU [00:30:10]CAPDU: 80 17 00 00 [00:30:10]Write to MH i2c: E2 08 00 67 10 80 17 00 00 00 00 00 00 F7 [00:30:10]Write i2c OK [00:30:10]MH_I2C_Read... [00:30:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:30:10]Read from MH i2c: E2 [00:30:10]MH_I2C_Read... [00:30:10]Read from MH i2c: E2 FD 00 [00:30:10]MH_I2C_Read... [00:30:10]Read from MH i2c: E2 FD 00 67 10 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 66 [00:30:10]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 [00:30:11]wFMCommunicate OK [00:30:11]wFMCommunicate request_size=4 [00:30:11]MH_SAM_APDU [00:30:11]CAPDU: 80 17 00 00 [00:30:11]Write to MH i2c: E2 08 00 68 10 80 17 00 00 00 00 00 00 F8 [00:30:11]Write i2c OK [00:30:11]MH_I2C_Read... [00:30:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [00:30:11]Read from MH i2c: E2 [00:30:11]MH_I2C_Read... [00:30:11]Read from MH i2c: E2 D3 00 [00:30:11]MH_I2C_Read... [00:30:11]Read from MH i2c: E2 D3 00 68 10 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 E5 [00:30:11]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 OFD Sender: No OFD packet to send [00:30:11]00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:30:11]wFMCommunicate OK [00:30:11]SAM_PROTO_GetShiftData done [00:30:11]1194 (1202) - счетчики итогов смены [00:30:11] 1134 (4) - 139 - количество чеков со всеми признаками расчетов [00:30:11] 1129 (155) - счетчики операций «приход» [00:30:11] 1135 (4) - 138 - количество чеков по признаку расчетов [00:30:11] 1201 (3) - 42629.75 - общая итоговая сумма в чеках [00:30:11] 1136 (3) - 33418.00 - итоговая сумма в чеках наличными [00:30:11] 1138 (3) - 9211.75 - итоговая сумма в чеках безналичными [00:30:11] 1024 (122) - суммы налогов [00:30:11] 1006 (9) - суммы НДС [00:30:11] 1010 (1) - 0% - код ставки НДС [00:30:11] 1011 (0) - 0.00 - сумма НДС по ставке [00:30:11] 1006 (12) - суммы НДС [00:30:11] 1010 (1) - 12% - код ставки НДС [00:30:11] 1011 (3) - 4527.49 - сумма НДС по ставке [00:30:11] 1007 (9) - суммы НСП [00:30:11] 1014 (1) - 0% - код ставки НСП [00:30:11] 1015 (0) - 0.00 - сумма НСП по ставке [00:30:11] 1007 (11) - суммы НСП [00:30:11] 1014 (1) - 1% - код ставки НСП [00:30:11] 1015 (2) - 377.23 - сумма НСП по ставке [00:30:11] 1007 (9) - суммы НСП [00:30:11] 1014 (1) - 2% - код ставки НСП [00:30:11] 1015 (0) - 0.00 - сумма НСП по ставке [00:30:11] 1007 (9) - суммы НСП [00:30:11] 1014 (1) - 3% - код ставки НСП [00:30:11] 1015 (0) - 0.00 - сумма НСП по ставке [00:30:11] 1007 (9) - суммы НСП [00:30:11] 1014 (1) - 5% - код ставки НСП [00:30:11] 1015 (0) - 0.00 - сумма НСП по ставке [00:30:11] 1007 (9) - суммы НСП [00:30:11] 1014 (1) - 0,50% - код ставки НСП [00:30:11] 1015 (0) - 0.00 - сумма НСП по ставке [00:30:11] 1007 (9) - суммы НСП [00:30:11] 1014 (1) - 1,50% - код ставки НСП [00:30:11] 1015 (0) - 0.00 - сумма НСП по ставке [00:30:11] 1130 (149) - счетчики операций «возврат прихода» [00:30:11] 1135 (4) - 1 - количество чеков по признаку расчетов [00:30:11] 1201 (2) - 325.00 - общая итоговая сумма в чеках [00:30:11] 1136 (2) - 325.00 - итоговая сумма в чеках наличными [00:30:11] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:30:11] 1024 (121) - суммы налогов [00:30:11] 1006 (9) - суммы НДС [00:30:11] 1010 (1) - 0% - код ставки НДС [00:30:11] 1011 (0) - 0.00 - сумма НДС по ставке [00:30:11] 1006 (11) - суммы НДС [00:30:11] 1010 (1) - 12% - код ставки НДС [00:30:11] 1011 (2) - 34.51 - сумма НДС по ставке [00:30:11] 1007 (9) - суммы НСП [00:30:11] 1014 (1) - 0% - код ставки НСП [00:30:11] 1015 (0) - 0.00 - сумма НСП по ставке [00:30:11] 1007 (11) - суммы НСП [00:30:11] 1014 (1) - 1% - код ставки НСП [00:30:11] 1015 (2) - 2.88 - сумма НСП по ставке [00:30:11] 1007 (9) - суммы НСП [00:30:11] 1014 (1) - 2% - код ставки НСП [00:30:11] 1015 (0) - 0.00 - сумма НСП по ставке [00:30:11] 1007 (9) - суммы НСП [00:30:11] 1014 (1) - 3% - код ставки НСП [00:30:11] 1015 (0) - 0.00 - сумма НСП по ставке [00:30:11] 1007 (9) - суммы НСП [00:30:11] 1014 (1) - 5% - код ставки НСП [00:30:11] 1015 (0) - 0.00 - сумма НСП по ставке [00:30:11] 1007 (9) - суммы НСП [00:30:11] 1014 (1) - 0,50% - код ставки НСП [00:30:11] 1015 (0) - 0.00 - сумма НСП по ставке [00:30:11] 1007 (9) - суммы НСП [00:30:11] 1014 (1) - 1,50% - код ставки НСП [00:30:11] 1015 (0) - 0.00 - сумма НСП по ставке [00:30:11] 1131 (141) - счетчики операций «расход» [00:30:11] 1135 (4) - 0 - количество чеков по признаку расчетов [00:30:11] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:30:11] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:30:11] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:30:11] 1024 (117) - суммы налогов [00:30:11] 1006 (9) - суммы НДС [00:30:11] 1010 (1) - 0% - код ставки НДС [00:30:11] 1011 (0) - 0.00 - сумма НДС по ставке [00:30:11] 1006 (9) - суммы НДС [00:30:11] 1010 (1) - 12% - код ставки НДС [00:30:11] 1011 (0) - 0.00 - сумма НДС по ставке [00:30:11] 1007 (9) - суммы НСП [00:30:11] 1014 (1) - 0% - код ставки НСП [00:30:11] 1015 (0) - 0.00 - сумма НСП по ставке [00:30:11] 1007 (9) - суммы НСП [00:30:11] 1014 (1) - 1% - код ставки НСП [00:30:11] 1015 (0) - 0.00 - сумма НСП по ставке [00:30:11] 1007 (9) - суммы НСП [00:30:11] 1014 (1) - 2% - код ставки НСП [00:30:11] 1015 (0) - 0.00 - сумма НСП по ставке [00:30:11] 1007 (9) - суммы НСП [00:30:11] 1014 (1) - 3% - код ставки НСП [00:30:11] 1015 (0) - 0.00 - сумма НСП по ставке [00:30:11] 1007 (9) - суммы НСП [00:30:11] 1014 (1) - 5% - код ставки НСП [00:30:11] 1015 (0) - 0.00 - сумма НСП по ставке [00:30:11] 1007 (9) - суммы НСП [00:30:11] 1014 (1) - 0,50% - код ставки НСП [00:30:11] 1015 (0) - 0.00 - сумма НСП по ставке [00:30:11] 1007 (9) - суммы НСП [00:30:11] 1014 (1) - 1,50% - код ставки НСП [00:30:11] 1015 (0) - 0.00 - сумма НСП по ставке [00:30:11] 1132 (141) - счетчики операций «возврат расхода» [00:30:11] 1135 (4) - 0 - количество чеков по признаку расчетов [00:30:11] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:30:11] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:30:11] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:30:11] 1024 (117) - суммы налогов [00:30:11] 1006 (9) - суммы НДС [00:30:11] 1010 (1) - 0% - код ставки НДС [00:30:11] 1011 (0) - 0.00 - сумма НДС по ставке [00:30:11] 1006 (9) - суммы НДС [00:30:11] 1010 (1) - 12% - код ставки НДС [00:30:11] 1011 (0) - 0.00 - сумма НДС по ставке [00:30:11] 1007 (9) - суммы НСП [00:30:11] 1014 (1) - 0% - код ставки НСП [00:30:11] 1015 (0) - 0.00 - сумма НСП по ставке [00:30:11] 1007 (9) - суммы НСП [00:30:11] 1014 (1) - 1% - код ставки НСП [00:30:11] 1015 (0) - 0.00 - сумма НСП по ставке [00:30:11] 1007 (9) - суммы НСП [00:30:11] 1014 (1) - 2% - код ставки НСП [00:30:11] 1015 (0) - 0.00 - сумма НСП по ставке [00:30:11] 1007 (9) - суммы НСП [00:30:11] 1014 (1) - 3% - код ставки НСП [00:30:11] 1015 (0) - 0.00 - сумма НСП по ставке [00:30:11] 1007 (9) - суммы НСП [00:30:11] 1014 (1) - 5% - код ставки НСП [00:30:11] 1015 (0) - 0.00 - сумма НСП по ставке [00:30:11] 1007 (9) - суммы НСП [00:30:11] 1014 (1) - 0,50% - код ставки НСП [00:30:11] 1015 (0) - 0.00 - сумма НСП по ставке [00:30:11] 1007 (9) - суммы НСП [00:30:11] 1014 (1) - 1,50% - код ставки НСП [00:30:11] 1015 (0) - 0.00 - сумма НСП по ставке [00:30:11] 1133 (588) - - счетчики коррекции - не используются [00:30:11]SetTLVBufToDocument [00:30:11]Processing tag 1194 (04AA) [00:30:11]Load OK [00:30:11]SetTLVBufToDocument [00:30:11]Processing tag 1134 (046E) [00:30:11]Malloc new data [00:30:11]Processing tag 1129 (0469) [00:30:11]Load OK [00:30:11]SetTLVBufToDocument [00:30:11]Processing tag 1135 (046F) [00:30:11]Malloc new data [00:30:11]Processing tag 1201 (04B1) [00:30:11]Malloc new data [00:30:11]Processing tag 1136 (0470) [00:30:12]Malloc new data [00:30:12]Processing tag 1138 (0472) [00:30:12]Malloc new data [00:30:12]Processing tag 1024 (0400) [00:30:12]Load OK [00:30:12]SetTLVBufToDocument [00:30:12]Processing tag 1006 (03EE) [00:30:12]Load OK [00:30:12]SetTLVBufToDocument [00:30:12]Processing tag 1010 (03F2) [00:30:12]Malloc new data [00:30:12]Processing tag 1011 (03F3) [00:30:12]Malloc new data [00:30:12]SetTLVBufToDocument err=0 [00:30:12]Processing tag 1006 (03EE) [00:30:12]Load OK [00:30:12]SetTLVBufToDocument [00:30:12]Processing tag 1010 (03F2) [00:30:12]Malloc new data [00:30:12]Processing tag 1011 (03F3) [00:30:12]Malloc new data [00:30:12]SetTLVBufToDocument err=0 [00:30:12]Processing tag 1007 (03EF) [00:30:12]Load OK [00:30:12]SetTLVBufToDocument [00:30:12]Processing tag 1014 (03F6) [00:30:12]Malloc new data [00:30:12]Processing tag 1015 (03F7) [00:30:12]Malloc new data [00:30:12]SetTLVBufToDocument err=0 [00:30:12]Processing tag 1007 (03EF) [00:30:12]Load OK [00:30:12]SetTLVBufToDocument [00:30:12]Processing tag 1014 (03F6) [00:30:12]Malloc new data [00:30:12]Processing tag 1015 (03F7) [00:30:12]Malloc new data [00:30:12]SetTLVBufToDocument err=0 [00:30:12]Processing tag 1007 (03EF) [00:30:12]Load OK [00:30:12]SetTLVBufToDocument [00:30:12]Processing tag 1014 (03F6) [00:30:12]Malloc new data [00:30:12]Processing tag 1015 (03F7) [00:30:12]Malloc new data [00:30:12]SetTLVBufToDocument err=0 [00:30:12]Processing tag 1007 (03EF) [00:30:12]Load OK [00:30:12]SetTLVBufToDocument [00:30:12]Processing tag 1014 (03F6) [00:30:12]Malloc new data [00:30:12]Processing tag 1015 (03F7) [00:30:12]Malloc new data [00:30:12]SetTLVBufToDocument err=0 [00:30:12]Processing tag 1007 (03EF) [00:30:12]Load OK [00:30:12]SetTLVBufToDocument [00:30:12]Processing tag 1014 (03F6) [00:30:12]Malloc new data [00:30:12]Processing tag 1015 (03F7) [00:30:12]Malloc new data [00:30:12]SetTLVBufToDocument err=0 [00:30:12]Processing tag 1007 (03EF) [00:30:12]Load OK [00:30:12]SetTLVBufToDocument [00:30:12]Processing tag 1014 (03F6) [00:30:12]Malloc new data [00:30:12]Processing tag 1015 (03F7) [00:30:12]Malloc new data [00:30:12]SetTLVBufToDocument err=0 [00:30:12]Processing tag 1007 (03EF) [00:30:12]Load OK [00:30:12]SetTLVBufToDocument [00:30:12]Processing tag 1014 (03F6) [00:30:12]Malloc new data [00:30:12]Processing tag 1015 (03F7) [00:30:12]Malloc new data [00:30:12]SetTLVBufToDocument err=0 [00:30:12]SetTLVBufToDocument err=0 [00:30:12]SetTLVBufToDocument err=0 [00:30:12]Processing tag 1130 (046A) [00:30:12]Load OK [00:30:12]SetTLVBufToDocument [00:30:12]Processing tag 1135 (046F) [00:30:12]Malloc new data [00:30:12]Processing tag 1201 (04B1) [00:30:12]Malloc new data [00:30:12]Processing tag 1136 (0470) [00:30:12]Malloc new data [00:30:12]Processing tag 1138 (0472) [00:30:12]Malloc new data [00:30:12]Processing tag 1024 (0400) [00:30:12]Load OK [00:30:12]SetTLVBufToDocument [00:30:12]Processing tag 1006 (03EE) [00:30:12]Load OK [00:30:12]SetTLVBufToDocument [00:30:12]Processing tag 1010 (03F2) [00:30:12]Malloc new data [00:30:12]Processing tag 1011 (03F3) [00:30:12]Malloc new data [00:30:12]SetTLVBufToDocument err=0 [00:30:12]Processing tag 1006 (03EE) [00:30:12]Load OK [00:30:12]SetTLVBufToDocument [00:30:12]Processing tag 1010 (03F2) [00:30:12]Malloc new data [00:30:12]Processing tag 1011 (03F3) [00:30:12]Malloc new data [00:30:12]SetTLVBufToDocument err=0 [00:30:12]Processing tag 1007 (03EF) [00:30:12]Load OK [00:30:12]SetTLVBufToDocument [00:30:12]Processing tag 1014 (03F6) [00:30:12]Malloc new data [00:30:12]Processing tag 1015 (03F7) [00:30:12]Malloc new data [00:30:12]SetTLVBufToDocument err=0 [00:30:12]Processing tag 1007 (03EF) [00:30:12]Load OK [00:30:12]SetTLVBufToDocument [00:30:12]Processing tag 1014 (03F6) [00:30:12]Malloc new data [00:30:12]Processing tag 1015 (03F7) [00:30:12]Malloc new data [00:30:12]SetTLVBufToDocument err=0 [00:30:12]Processing tag 1007 (03EF) [00:30:12]Load OK [00:30:12]SetTLVBufToDocument [00:30:12]Processing tag 1014 (03F6) [00:30:12]Malloc new data [00:30:12]Processing tag 1015 (03F7) [00:30:12]Malloc new data [00:30:12]SetTLVBufToDocument err=0 [00:30:12]Processing tag 1007 (03EF) [00:30:12]Load OK [00:30:12]SetTLVBufToDocument [00:30:12]Processing tag 1014 (03F6) [00:30:12]Malloc new data [00:30:12]Processing tag 1015 (03F7) [00:30:12]Malloc new data [00:30:12]SetTLVBufToDocument err=0 [00:30:12]Processing tag 1007 (03EF) [00:30:12]Load OK [00:30:12]SetTLVBufToDocument [00:30:12]Processing tag 1014 (03F6) [00:30:12]Malloc new data [00:30:12]Processing tag 1015 (03F7) [00:30:12]Malloc new data [00:30:12]SetTLVBufToDocument err=0 [00:30:12]Processing tag 1007 (03EF) [00:30:12]Load OK [00:30:12]SetTLVBufToDocument [00:30:12]Processing tag 1014 (03F6) [00:30:12]Malloc new data [00:30:12]Processing tag 1015 (03F7) [00:30:12]Malloc new data [00:30:12]SetTLVBufToDocument err=0 [00:30:12]Processing tag 1007 (03EF) [00:30:12]Load OK [00:30:12]SetTLVBufToDocument [00:30:12]Processing tag 1014 (03F6) [00:30:12]Malloc new data [00:30:12]Processing tag 1015 (03F7) [00:30:12]Malloc new data [00:30:12]SetTLVBufToDocument err=0 [00:30:12]SetTLVBufToDocument err=0 [00:30:12]SetTLVBufToDocument err=0 [00:30:12]Processing tag 1131 (046B) [00:30:12]Load OK [00:30:12]SetTLVBufToDocument [00:30:12]Processing tag 1135 (046F) [00:30:12]Malloc new data [00:30:12]Processing tag 1201 (04B1) [00:30:12]Malloc new data [00:30:12]Processing tag 1136 (0470) [00:30:12]Malloc new data [00:30:12]Processing tag 1138 (0472) [00:30:12]Malloc new data [00:30:12]Processing tag 1024 (0400) [00:30:12]Load OK [00:30:12]SetTLVBufToDocument [00:30:12]Processing tag 1006 (03EE) [00:30:12]Load OK [00:30:12]SetTLVBufToDocument [00:30:12]Processing tag 1010 (03F2) [00:30:12]Malloc new data [00:30:12]Processing tag 1011 (03F3) [00:30:12]Malloc new data [00:30:12]SetTLVBufToDocument err=0 [00:30:12]Processing tag 1006 (03EE) [00:30:12]Load OK [00:30:12]SetTLVBufToDocument [00:30:12]Processing tag 1010 (03F2) [00:30:12]Malloc new data [00:30:12]Processing tag 1011 (03F3) [00:30:12]Malloc new data [00:30:12]SetTLVBufToDocument err=0 [00:30:12]Processing tag 1007 (03EF) [00:30:12]Load OK [00:30:12]SetTLVBufToDocument [00:30:12]Processing tag 1014 (03F6) [00:30:12]Malloc new data [00:30:12]Processing tag 1015 (03F7) [00:30:12]Malloc new data [00:30:12]SetTLVBufToDocument err=0 [00:30:12]Processing tag 1007 (03EF) [00:30:12]Load OK [00:30:12]SetTLVBufToDocument [00:30:12]Processing tag 1014 (03F6) [00:30:12]Malloc new data [00:30:12]Processing tag 1015 (03F7) [00:30:12]Malloc new data [00:30:12]SetTLVBufToDocument err=0 [00:30:12]Processing tag 1007 (03EF) [00:30:12]Load OK [00:30:12]SetTLVBufToDocument [00:30:12]Processing tag 1014 (03F6) [00:30:12]Malloc new data [00:30:12]Processing tag 1015 (03F7) [00:30:12]Malloc new data [00:30:12]SetTLVBufToDocument err=0 [00:30:12]Processing tag 1007 (03EF) [00:30:12]Load OK [00:30:12]SetTLVBufToDocument [00:30:12]Processing tag 1014 (03F6) [00:30:12]Malloc new data [00:30:12]Processing tag 1015 (03F7) [00:30:12]Malloc new data [00:30:12]SetTLVBufToDocument err=0 [00:30:12]Processing tag 1007 (03EF) [00:30:12]Load OK [00:30:12]SetTLVBufToDocument [00:30:12]Processing tag 1014 (03F6) [00:30:12]Malloc new data [00:30:12]Processing tag 1015 (03F7) [00:30:12]Malloc new data [00:30:12]SetTLVBufToDocument err=0 [00:30:12]Processing tag 1007 (03EF) [00:30:12]Load OK [00:30:12]SetTLVBufToDocument [00:30:12]Processing tag 1014 (03F6) [00:30:12]Malloc new data [00:30:12]Processing tag 1015 (03F7) [00:30:12]Malloc new data [00:30:12]SetTLVBufToDocument err=0 [00:30:12]Processing tag 1007 (03EF) [00:30:12]Load OK [00:30:12]SetTLVBufToDocument [00:30:12]Processing tag 1014 (03F6) [00:30:12]Malloc new data [00:30:12]Processing tag 1015 (03F7) [00:30:12]Malloc new data [00:30:12]SetTLVBufToDocument err=0 [00:30:12]SetTLVBufToDocument err=0 [00:30:12]SetTLVBufToDocument err=0 [00:30:12]Processing tag 1132 (046C) [00:30:12]Load OK [00:30:12]SetTLVBufToDocument [00:30:12]Processing tag 1135 (046F) [00:30:12]Malloc new data [00:30:12]Processing tag 1201 (04B1) [00:30:12]Malloc new data [00:30:12]Processing tag 1136 (0470) [00:30:12]Malloc new data [00:30:12]Processing tag 1138 (0472) [00:30:12]Malloc new data [00:30:12]Processing tag 1024 (0400) [00:30:12]Load OK [00:30:12]SetTLVBufToDocument [00:30:12]Processing tag 1006 (03EE) [00:30:12]Load OK [00:30:12]SetTLVBufToDocument [00:30:12]Processing tag 1010 (03F2) [00:30:12]Malloc new data [00:30:12]Processing tag 1011 (03F3) [00:30:12]Malloc new data [00:30:12]SetTLVBufToDocument err=0 [00:30:12]Processing tag 1006 (03EE) [00:30:12]Load OK [00:30:12]SetTLVBufToDocument [00:30:12]Processing tag 1010 (03F2) [00:30:12]Malloc new data [00:30:12]Processing tag 1011 (03F3) [00:30:12]Malloc new data [00:30:12]SetTLVBufToDocument err=0 [00:30:12]Processing tag 1007 (03EF) [00:30:12]Load OK [00:30:12]SetTLVBufToDocument [00:30:12]Processing tag 1014 (03F6) [00:30:12]Malloc new data [00:30:12]Processing tag 1015 (03F7) [00:30:12]Malloc new data [00:30:12]SetTLVBufToDocument err=0 [00:30:12]Processing tag 1007 (03EF) [00:30:12]Load OK [00:30:12]SetTLVBufToDocument [00:30:12]Processing tag 1014 (03F6) [00:30:12]Malloc new data [00:30:12]Processing tag 1015 (03F7) [00:30:12]Malloc new data [00:30:12]SetTLVBufToDocument err=0 [00:30:12]Processing tag 1007 (03EF) [00:30:12]Load OK [00:30:12]SetTLVBufToDocument [00:30:12]Processing tag 1014 (03F6) [00:30:12]Malloc new data [00:30:12]Processing tag 1015 (03F7) [00:30:12]Malloc new data [00:30:12]SetTLVBufToDocument err=0 [00:30:12]Processing tag 1007 (03EF) [00:30:12]Load OK [00:30:12]SetTLVBufToDocument [00:30:12]Processing tag 1014 (03F6) [00:30:12]Malloc new data [00:30:12]Processing tag 1015 (03F7) [00:30:12]Malloc new data [00:30:12]SetTLVBufToDocument err=0 [00:30:12]Processing tag 1007 (03EF) [00:30:12]Load OK [00:30:12]SetTLVBufToDocument [00:30:12]Processing tag 1014 (03F6) [00:30:12]Malloc new data [00:30:12]Processing tag 1015 (03F7) [00:30:12]Malloc new data [00:30:12]SetTLVBufToDocument err=0 [00:30:12]Processing tag 1007 (03EF) [00:30:12]Load OK [00:30:12]SetTLVBufToDocument [00:30:12]Processing tag 1014 (03F6) [00:30:12]Malloc new data [00:30:12]Processing tag 1015 (03F7) [00:30:12]Malloc new data [00:30:12]SetTLVBufToDocument err=0 [00:30:12]Processing tag 1007 (03EF) [00:30:12]Load OK [00:30:12]SetTLVBufToDocument [00:30:12]Processing tag 1014 (03F6) [00:30:12]Malloc new data [00:30:12]Processing tag 1015 (03F7) [00:30:12]Malloc new data [00:30:12]SetTLVBufToDocument err=0 [00:30:12]SetTLVBufToDocument err=0 [00:30:12]SetTLVBufToDocument err=0 [00:30:12]Processing tag 1133 (046D) [00:30:12]Malloc new data [00:30:12]SetTLVBufToDocument err=0 [00:30:12]SetTLVBufToDocument err=0 [00:30:12]Malloc new data [00:30:12]SAM_PROTO_GetFMData [00:30:12]wFMCommunicate request_size=4 [00:30:12]MH_SAM_APDU [00:30:12]CAPDU: 80 13 03 00 [00:30:12]Write to MH i2c: E2 08 00 69 10 80 13 03 00 00 00 00 00 F8 [00:30:12]Write i2c OK [00:30:12]MH_I2C_Read... [00:30:13]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:30:13]Read from MH i2c: E2 [00:30:13]MH_I2C_Read... [00:30:13]Read from MH i2c: E2 FD 00 [00:30:13]MH_I2C_Read... [00:30:13]Read from MH i2c: E2 FD 00 69 10 00 C4 04 85 04 C0 04 6E 04 04 00 B9 DB 00 00 69 04 A0 00 6F 04 04 00 07 DB 00 00 B1 04 04 00 82 15 C5 6D 70 04 04 00 DC 00 62 61 72 04 04 00 A6 14 63 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 11 8E A8 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 76 9E 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 B2 00 00 00 B1 04 04 00 38 6C 69 01 70 04 04 00 6C 1A 5F 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 A0 62 26 EF 03 09 00 90 00 6E [00:30:13]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 B9 DB 00 00 69 04 A0 00 6F 04 04 00 07 DB 00 00 B1 04 04 00 82 15 C5 6D 70 04 04 00 DC 00 62 61 72 04 04 00 A6 14 63 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 11 8E A8 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 76 9E 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 B2 00 00 00 B1 04 04 00 38 6C 69 01 70 04 04 00 6C 1A 5F 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 A0 62 26 EF 03 09 00 90 00 [00:30:13]wFMCommunicate OK [00:30:13]wFMCommunicate request_size=4 [00:30:13]MH_SAM_APDU [00:30:13]CAPDU: 80 17 00 00 [00:30:13]Write to MH i2c: E2 08 00 6A 10 80 17 00 00 00 00 00 00 FA [00:30:13]Write i2c OK [00:30:13]MH_I2C_Read... [00:30:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:30:13]Read from MH i2c: E2 [00:30:13]MH_I2C_Read... [00:30:13]Read from MH i2c: E2 FD 00 [00:30:13]MH_I2C_Read... [00:30:13]Read from MH i2c: E2 FD 00 6A 10 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 CF 32 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 B4 [00:30:13]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 CF 32 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:30:13]wFMCommunicate OK [00:30:13]wFMCommunicate request_size=4 [00:30:13]MH_SAM_APDU [00:30:13]CAPDU: 80 17 00 00 [00:30:13]Write to MH i2c: E2 08 00 6B 10 80 17 00 00 00 00 00 00 FB [00:30:13]Write i2c OK [00:30:13]MH_I2C_Read... [00:30:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:30:14]Read from MH i2c: E2 [00:30:14]MH_I2C_Read... [00:30:14]Read from MH i2c: E2 FD 00 [00:30:14]MH_I2C_Read... [00:30:14]Read from MH i2c: E2 FD 00 6B 10 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 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 10 [00:30:14]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:30:14]wFMCommunicate OK [00:30:14]wFMCommunicate request_size=4 [00:30:14]MH_SAM_APDU [00:30:14]CAPDU: 80 17 00 00 [00:30:14]Write to MH i2c: E2 08 00 6C 10 80 17 00 00 00 00 00 00 FC [00:30:14]Write i2c OK [00:30:14]MH_I2C_Read... [00:30:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:30:14]Read from MH i2c: E2 [00:30:14]MH_I2C_Read... [00:30:14]Read from MH i2c: E2 FD 00 [00:30:14]MH_I2C_Read... [00:30:14]Read from MH i2c: E2 FD 00 6C 10 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 74 [00:30:14]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:30:14]wFMCommunicate OK [00:30:14]wFMCommunicate request_size=4 [00:30:14]MH_SAM_APDU [00:30:14]CAPDU: 80 17 00 00 [00:30:14]Write to MH i2c: E2 08 00 6D 10 80 17 00 00 00 00 00 00 FD [00:30:14]Write i2c OK [00:30:14]MH_I2C_Read... [00:30:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [00:30:15]Read from MH i2c: E2 [00:30:15]MH_I2C_Read... [00:30:15]Read from MH i2c: E2 E1 00 [00:30:15]MH_I2C_Read... [00:30:15]Read from MH i2c: E2 E1 00 6D 10 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 EB [00:30:15]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:30:15]wFMCommunicate OK [00:30:15]SAM_PROTO_GetFMData done [00:30:15]FM_GetFMData:85 04 C0 04 6E 04 04 00 B9 DB 00 00 69 04 A0 00 6F 04 04 00 07 DB 00 00 B1 04 04 00 82 15 C5 6D 70 04 04 00 DC 00 62 61 72 04 04 00 A6 14 63 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 11 8E A8 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 76 9E 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 B2 00 00 00 B1 04 04 00 38 6C 69 01 70 04 04 00 6C 1A 5F 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 A0 62 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 CF 32 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:30:16]oper:6F 04 04 00 07 DB 00 00 B1 04 04 00 82 15 C5 6D 70 04 04 00 DC 00 62 61 72 04 04 00 A6 14 63 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 11 8E A8 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 76 9E 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:30:16]total:82 15 C5 6D [00:30:16]Malloc new data [00:30:16]oper:6F 04 04 00 B2 00 00 00 B1 04 04 00 38 6C 69 01 70 04 04 00 6C 1A 5F 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 A0 62 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 CF 32 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:30:16]total:38 6C 69 01 [00:30:16]Malloc new data [00:30:16]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:30:16]total: [00:30:16]Malloc new data [00:30:16]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:30:16]total: [00:30:16]Malloc new data [00:30:16]KKMPrepareXReportFMData err=0 [00:30:16]Х отчет ИНН: 02508201610067 Кассир: Бакирова З. 16.07.2024 00:30 Смена: 266 РНМ: 0000000000091208 ЗНМ: 0300000132 СНО: Общий режим Всего чеков: 139 ИТОГИ ПРИХОД Чеков: 138 Общий итог: 42629.75 Итого наличными: 33418.00 Итого безнал.: 9211.75 НДС 0% : 0.00 НДС 12% : 4527.49 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 377.23 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 1 Общий итог: 325.00 Итого наличными: 325.00 Итого безнал.: 0.00 НДС 0% : 0.00 НДС 12% : 34.51 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 2.88 ИТОГИ РАСХОД Чеков: 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 Нал. в кассе: 33093.00 НС Приход: 18416326.42 НС Возвр.Прихода: 236862.00 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФМ: 0000000000874857 [00:30:16]StoreToDocumentArchive [00:30:16]MH_GetDate [00:30:16]Write to MH i2c: F0 00 00 6E 10 6D [00:30:16]OFD Sender: No OFD packet to send [00:30:16]Write i2c OK [00:30:16]MH_I2C_Read... [00:30:16]Read from MH i2c: F0 [00:30:16]MH_I2C_Read... [00:30:16]Read from MH i2c: F0 09 00 [00:30:16]MH_I2C_Read... [00:30:16]Read from MH i2c: F0 09 00 6E 10 00 1A BF 95 66 2D 25 5D 64 5D [00:30:16]shift 266 fd 1721089818 [00:30:16]Create dir for shift 0266 [00:30:16]save to /storage/0266/doc_1721089818 [00:30:16]save last doc name /storage/0266/doc_1721089818 to /storage/kkm_last_doc_name [00:30:16]save OK [00:30:16]Clear old archive folders... [00:30:16]NVStorageSaveData kkm_last_timestamp [00:30:16]File name is /storage/kkm_last_timestamp [00:30:16]Write 4 bytes [00:30:16]NVStorageSaveData done [00:30:16]ExternCall_PrintAddStr [00:30:16]wPrintStart [00:30:16]Write to MH i2c: 01 00 00 6F 10 7F [00:30:16]Write i2c OK [00:30:16]MH_I2C_Read... [00:30:16]Read from MH i2c: 01 [00:30:16]MH_I2C_Read... [00:30:16]Read from MH i2c: 01 07 00 [00:30:16]MH_I2C_Read... [00:30:16]Read from MH i2c: 01 07 00 6F 10 00 00 00 00 00 FF 0F 94 [00:30:16]RasterBufferAndPrint [00:30:16]line Х отчет [00:30:16]line ИНН: 02508201610067 [00:30:16]line Кассир: Бакирова З. [00:30:16]line 16.07.2024 00:30 [00:30:16]line Смена: 266 [00:30:16]line РНМ: 0000000000091208 [00:30:16]line ЗНМ: 0300000132 [00:30:16]line СНО: Общий режим [00:30:16]line Всего чеков: 139 [00:30:16]line ИТОГИ ПРИХОД [00:30:16]line Чеков: 138 [00:30:16]line Общий итог: 42629.75 [00:30:16]line Итого наличными: 33418.00 [00:30:16]line Итого безнал.: 9211.75 [00:30:16]line НДС 0% : 0.00 [00:30:16]line НДС 12% : 4527.49 [00:30:16]line НСП 0% : 0.00 [00:30:16]line НСП 1,50% : 0.00 [00:30:16]line НСП 0,50% : 0.00 [00:30:16]line НСП 5% : 0.00 [00:30:16]line НСП 3% : 0.00 [00:30:16]line НСП 2% : 0.00 [00:30:16]line НСП 1% : 377.23 [00:30:16]line ИТОГИ ВОЗВРАТ ПРИХОДА [00:30:16]line Чеков: 1 [00:30:16]line Общий итог: 325.00 [00:30:16]line Итого наличными: 325.00 [00:30:16]line Итого безнал.: 0.00 [00:30:16]line НДС 0% : 0.00 [00:30:16]line НДС 12% : 34.51 [00:30:16]line НСП 0% : 0.00 [00:30:16]line НСП 1,50% : 0.00 [00:30:16]line НСП 0,50% : 0.00 [00:30:16]line НСП 5% : 0.00 [00:30:16]line НСП 3% : 0.00 [00:30:16]line НСП 2% : 0.00 [00:30:16]line НСП 1% : 2.88 [00:30:16]line ИТОГИ РАСХОД [00:30:16]line Чеков: 0 [00:30:16]line Общий итог: 0.00 [00:30:16]line Итого наличными: 0.00 [00:30:16]line Итого безнал.: 0.00 [00:30:16]line НДС 0% : 0.00 [00:30:16]line НДС 12% : 0.00 [00:30:16]line НСП 0% : 0.00 [00:30:16]line НСП 1,50% : 0.00 [00:30:16]line НСП 0,50% : 0.00 [00:30:16]line НСП 5% : 0.00 [00:30:16]line НСП 3% : 0.00 [00:30:16]line НСП 2% : 0.00 [00:30:16]line НСП 1% : 0.00 [00:30:16]line ИТОГИ ВОЗВРАТ РАСХОДА [00:30:16]line Чеков: 0 [00:30:16]line Общий итог: 0.00 [00:30:16]line Итого наличными: 0.00 [00:30:16]line Итого безнал.: 0.00 [00:30:16]line НДС 0% : 0.00 [00:30:16]line НДС 12% : 0.00 [00:30:16]line НСП 0% : 0.00 [00:30:16]line НСП 1,50% : 0.00 [00:30:16]line НСП 0,50% : 0.00 [00:30:16]line НСП 5% : 0.00 [00:30:16]line НСП 3% : 0.00 [00:30:16]line НСП 2% : 0.00 [00:30:16]line НСП 1% : 0.00 [00:30:16]line Сумма внесений: 0.00 [00:30:16]line Сумма выплат: 0.00 [00:30:16]line Нал. в кассе: 33093.00 [00:30:16]line НС Приход: 18416326.42 [00:30:16]line НС Возвр.Прихода: 236862.00 [00:30:16]line НС Расход: 0.00 [00:30:16]line НС Возвр.Расхода: 0.00 [00:30:16]line ФМ: 0000000000874857 [00:30:16]written 0, free lines is 4095 [00:30:17]Write to MH i2c: 01 00 00 BA 10 CA [00:30:17]Write i2c OK [00:30:17]MH_I2C_Read... [00:30:17]Read from MH i2c: 01 [00:30:17]MH_I2C_Read... [00:30:17]Read from MH i2c: 01 07 00 [00:30:17]MH_I2C_Read... [00:30:17]Read from MH i2c: 01 07 00 BA 10 00 00 00 00 00 D9 0A B4 [00:30:17]RasterBufferAndPrint [00:30:17]line [00:30:17]line [00:30:17]line [00:30:17]line [00:30:17]line [00:30:17]written 0, free lines is 2815 [00:30:17]MH_Cut [00:30:17]Write to MH i2c: D1 01 00 C1 10 01 A3 [00:30:17]Write i2c OK [00:30:17]MH_I2C_Read... [00:30:17]Read from MH i2c: D1 [00:30:17]MH_I2C_Read... [00:30:17]Read from MH i2c: D1 01 00 [00:30:17]MH_I2C_Read... [00:30:17]Read from MH i2c: D1 01 00 C1 10 00 A2 [00:30:17]Write to MH i2c: 01 00 00 C2 10 D2 [00:30:17]Write i2c OK [00:30:17]MH_I2C_Read... [00:30:18]*** Cut start [00:30:18]*** Partial cut [00:30:18]*** CUTSNS_PIN = 1 [00:30:18]*** CUTSNS_PIN = 0 [00:30:18]*** Brake cut motor [00:30:19]Read from MH i2c: 01 [00:30:19]MH_I2C_Read... [00:30:19]*** Stop cut motor [00:30:19]*** Cut end [00:30:19]Read from MH i2c: 01 07 00 [00:30:19]MH_I2C_Read... [00:30:19]Read from MH i2c: 01 07 00 C2 10 00 00 00 00 00 FF 0F E7 [00:30:19]process_action x_report done [00:30:19]requested_data is exist [00:30:19]produce_requested_data [00:30:19]requested_item fd.num is exist - process it [00:30:19]SAM_PROTO_GetFieldsCounters [00:30:19]wFMCommunicate request_size=4 [00:30:19]MH_SAM_APDU [00:30:19]CAPDU: 80 13 00 00 [00:30:19]Write to MH i2c: E2 08 00 C3 10 80 13 00 00 00 00 00 00 4F [00:30:19]Write i2c OK [00:30:19]MH_I2C_Read... [00:30:19]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:30:19]Read from MH i2c: E2 [00:30:19]MH_I2C_Read... [00:30:19]Read from MH i2c: E2 62 00 [00:30:19]MH_I2C_Read... [00:30:19]Read from MH i2c: E2 62 00 C3 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 9C DF 00 00 0E 04 04 00 F1 01 00 00 12 04 04 00 8B 00 00 00 5E 04 04 00 8B 00 00 00 57 04 04 00 8C 00 00 00 19 04 04 00 00 00 00 00 90 00 80 [00:30: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 9C DF 00 00 0E 04 04 00 F1 01 00 00 12 04 04 00 8B 00 00 00 5E 04 04 00 8B 00 00 00 57 04 04 00 8C 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:30:19]wFMCommunicate OK [00:30:19]SAM_PROTO_GetFieldsCounters done [00:30:19]requested_item shift.num is exist - process it [00:30:19]requested_item shift.opened is exist - process it [00:30:19]req_shift_opened [00:30:19]FM_GetShiftState [00:30:19]SAM_PROTO_GetShiftState [00:30:19]wFMCommunicate request_size=4 [00:30:19]MH_SAM_APDU [00:30:19]CAPDU: 80 13 01 00 [00:30:19]Write to MH i2c: E2 08 00 C4 10 80 13 01 00 00 00 00 00 51 [00:30:19]Write i2c OK [00:30:19]MH_I2C_Read... [00:30:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:30:19]Read from MH i2c: E2 [00:30:19]MH_I2C_Read... [00:30:19]Read from MH i2c: E2 0E 00 [00:30:19]MH_I2C_Read... [00:30:19]Read from MH i2c: E2 0E 00 C4 10 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 CA [00:30:19]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [00:30:19]wFMCommunicate OK [00:30:19]SAM_PROTO_GetShiftState done [00:30:19]FM_GetShiftState done [00:30:19]req_shift_opened done [00:30:19]requested_item shift.open_date is exist - process it [00:30:19]req_shift_open_date [00:30:19]req_shift_open_date done [00:30:19]produce_requested_data done [00:30:19]produce_requested_data return {"fd.num":57244,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525} [00:30:19]process_action_free x_report [00:30:19]json_value_free [00:30:19]json_value_free done [00:30:19]process_json_proto returns [00:30:19]Send response to host [00:30:19]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":57244,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525}}} [00:30:19]free response buf [00:30:19]execute_script done [00:30:19]execute_script returns [00:30:19]free content buf [00:30:19]Sock 7.Close socket [00:30:19]Sock 7.Thread stoped [00:30:21]OFD Sender: No OFD packet to send [00:30:26]OFD Sender: No OFD packet to send [00:30:31]OFD Sender: No OFD packet to send [00:30:36]OFD Sender: No OFD packet to send [00:30:41]OFD Sender: No OFD packet to send [00:30:46]OFD Sender: No OFD packet to send [00:30:51]accept exits with 9 [00:30:51]New connection [00:30:51]New thread 3067014500 created [00:30:51]Thread 3066871140 joined [00:30:51]Waiting for new connection... [00:30:51] Sock 9.Parse request [00:30:51]Sock 9.Check first char [00:30:51]Sock 9.First char is OK [00:30:51]request: POST /json_proto HTTP/1.0 [00:30:51]Method: POST [00:30:51]URL: /json_proto [00:30:51]Method is POST - this is cgi request [00:30:51]url: /json_proto [00:30:51]query_string will be loaded in cgi processing [00:30:51]execute_cgi json_proto POST (null) [00:30:51]execute_cgi path=json_proto method=POST [00:30:51]POST find Content-Length [00:30:51]Host: 172.17.39.4:8080 [00:30:51]Content-Length: 215 [00:30:51]Content-Type: application/json [00:30:51] [00:30:51]POST finish read [00:30:51]Found Content-Length = 215 [00:30:51]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:30:51]execute_script... [00:30:51]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:30:51]POST & json_proto [00:30:51]process_json_proto [00:30:51]json parsed OK: [00:30:51]protocol is kg_v1.0 [00:30:51]action value=get_value [00:30:51]process_action get_value [00:30:51]cmd_get_value [00:30:51]process_action get_value done [00:30:51]requested_data is exist [00:30:51]produce_requested_data [00:30:51]requested_item kkm.sn is exist - process it [00:30:51]requested_item kkm.ver is exist - process it [00:30:51]requested_item fm.sn is exist - process it [00:30:51]wFMCommunicate request_size=4 [00:30:51]MH_SAM_APDU [00:30:51]CAPDU: 80 11 00 00 [00:30:51]Write to MH i2c: E2 08 00 C5 10 80 11 00 00 00 00 00 00 4F [00:30:51]Write i2c OK [00:30:51]MH_I2C_Read... [00:30:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:30:51]OFD Sender: No OFD packet to send [00:30:51]Read from MH i2c: E2 [00:30:51]MH_I2C_Read... [00:30:51]Read from MH i2c: E2 17 00 [00:30:51]MH_I2C_Read... [00:30:51]Read from MH i2c: E2 17 00 C5 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 A9 [00:30: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:30:51]wFMCommunicate OK [00:30:51]requested_item fd.num is exist - process it [00:30:51]SAM_PROTO_GetFieldsCounters [00:30:51]wFMCommunicate request_size=4 [00:30:51]MH_SAM_APDU [00:30:51]CAPDU: 80 13 00 00 [00:30:51]Write to MH i2c: E2 08 00 C6 10 80 13 00 00 00 00 00 00 52 [00:30:51]Write i2c OK [00:30:51]MH_I2C_Read... [00:30:51]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:30:51]Read from MH i2c: E2 [00:30:51]MH_I2C_Read... [00:30:51]Read from MH i2c: E2 62 00 [00:30:51]MH_I2C_Read... [00:30:51]Read from MH i2c: E2 62 00 C6 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 9C DF 00 00 0E 04 04 00 F1 01 00 00 12 04 04 00 8B 00 00 00 5E 04 04 00 8B 00 00 00 57 04 04 00 8C 00 00 00 19 04 04 00 00 00 00 00 90 00 83 [00:30: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 9C DF 00 00 0E 04 04 00 F1 01 00 00 12 04 04 00 8B 00 00 00 5E 04 04 00 8B 00 00 00 57 04 04 00 8C 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:30:51]wFMCommunicate OK [00:30:51]SAM_PROTO_GetFieldsCounters done [00:30:51]requested_item shift.num is exist - process it [00:30:51]requested_item shift.opened is exist - process it [00:30:51]req_shift_opened [00:30:51]FM_GetShiftState [00:30:51]SAM_PROTO_GetShiftState [00:30:51]wFMCommunicate request_size=4 [00:30:51]MH_SAM_APDU [00:30:51]CAPDU: 80 13 01 00 [00:30:51]Write to MH i2c: E2 08 00 C7 10 80 13 01 00 00 00 00 00 54 [00:30:51]Write i2c OK [00:30:51]MH_I2C_Read... [00:30:51]Read from MH i2c: E2 [00:30:51]MH_I2C_Read... [00:30:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:30:51]Read from MH i2c: E2 0E 00 [00:30:51]MH_I2C_Read... [00:30:51]Read from MH i2c: E2 0E 00 C7 10 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 CD [00:30:51]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [00:30:51]wFMCommunicate OK [00:30:51]SAM_PROTO_GetShiftState done [00:30:51]FM_GetShiftState done [00:30:51]req_shift_opened done [00:30:51]requested_item shift.open_date is exist - process it [00:30:51]req_shift_open_date [00:30:51]req_shift_open_date done [00:30:51]produce_requested_data done [00:30:51]produce_requested_data return {"kkm.sn":"0300000132","kkm.ver":"001","fm.sn":"0000000000874857","fd.num":57244,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525} [00:30:51]process_action_free get_value [00:30:51]json_value_free [00:30:51]json_value_free done [00:30:51]process_json_proto returns [00:30:51]Send response to host [00:30:51]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000132","kkm.ver":"001","fm.sn":"0000000000874857","fd.num":57244,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525}}} [00:30:51]free response buf [00:30:51]execute_script done [00:30:51]execute_script returns [00:30:51]free content buf [00:30:51]Sock 9.Close socket [00:30:51]Sock 9.Thread stoped [00:30:51]accept exits with 7 [00:30:51]New connection [00:30:51]New thread 3066871140 created [00:30:51]Thread 3067014500 joined [00:30:51]Waiting for new connection... [00:30:51] Sock 7.Parse request [00:30:51]Sock 7.Check first char [00:30:51]Sock 7.First char is OK [00:30:51]request: POST /json_proto HTTP/1.0 [00:30:51]Method: POST [00:30:51]URL: /json_proto [00:30:51]Method is POST - this is cgi request [00:30:51]url: /json_proto [00:30:51]query_string will be loaded in cgi processing [00:30:51]execute_cgi json_proto POST (null) [00:30:51]execute_cgi path=json_proto method=POST [00:30:51]POST find Content-Length [00:30:51]Host: 172.17.39.4:8080 [00:30:51]Content-Length: 331 [00:30:51]Content-Type: application/json [00:30:51] [00:30:51]POST finish read [00:30:51]Found Content-Length = 331 [00:30:51]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:30:51]execute_script... [00:30:51]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:30:51]POST & json_proto [00:30:51]process_json_proto [00:30:51]json parsed OK: [00:30:51]protocol is kg_v1.0 [00:30:51]action value=get_value [00:30:51]process_action get_value [00:30:51]cmd_get_value [00:30:51]process_action get_value done [00:30:51]requested_data is exist [00:30:51]produce_requested_data [00:30:51]requested_item fm.sale.total is exist - process it [00:30:51]SAM_PROTO_GetFMData [00:30:51]wFMCommunicate request_size=4 [00:30:51]MH_SAM_APDU [00:30:51]CAPDU: 80 13 03 00 [00:30:51]Write to MH i2c: E2 08 00 C8 10 80 13 03 00 00 00 00 00 57 [00:30:51]Write i2c OK [00:30:51]MH_I2C_Read... [00:30:52]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:30:52]Read from MH i2c: E2 [00:30:52]MH_I2C_Read... [00:30:52]Read from MH i2c: E2 FD 00 [00:30:52]MH_I2C_Read... [00:30:52]Read from MH i2c: E2 FD 00 C8 10 00 C4 04 85 04 C0 04 6E 04 04 00 B9 DB 00 00 69 04 A0 00 6F 04 04 00 07 DB 00 00 B1 04 04 00 82 15 C5 6D 70 04 04 00 DC 00 62 61 72 04 04 00 A6 14 63 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 11 8E A8 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 76 9E 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 B2 00 00 00 B1 04 04 00 38 6C 69 01 70 04 04 00 6C 1A 5F 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 A0 62 26 EF 03 09 00 90 00 CD [00:30:52]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 B9 DB 00 00 69 04 A0 00 6F 04 04 00 07 DB 00 00 B1 04 04 00 82 15 C5 6D 70 04 04 00 DC 00 62 61 72 04 04 00 A6 14 63 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 11 8E A8 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 76 9E 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 B2 00 00 00 B1 04 04 00 38 6C 69 01 70 04 04 00 6C 1A 5F 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 A0 62 26 EF 03 09 00 90 00 [00:30:52]wFMCommunicate OK [00:30:52]wFMCommunicate request_size=4 [00:30:52]MH_SAM_APDU [00:30:52]CAPDU: 80 17 00 00 [00:30:52]Write to MH i2c: E2 08 00 C9 10 80 17 00 00 00 00 00 00 59 [00:30:52]Write i2c OK [00:30:52]MH_I2C_Read... [00:30:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:30:52]Read from MH i2c: E2 [00:30:52]MH_I2C_Read... [00:30:52]Read from MH i2c: E2 FD 00 [00:30:52]MH_I2C_Read... [00:30:52]Read from MH i2c: E2 FD 00 C9 10 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 CF 32 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 13 [00:30:52]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 CF 32 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:30:52]wFMCommunicate OK [00:30:52]wFMCommunicate request_size=4 [00:30:52]MH_SAM_APDU [00:30:52]CAPDU: 80 17 00 00 [00:30:52]Write to MH i2c: E2 08 00 CA 10 80 17 00 00 00 00 00 00 5A [00:30:52]Write i2c OK [00:30:52]MH_I2C_Read... [00:30:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:30:52]Read from MH i2c: E2 [00:30:52]MH_I2C_Read... [00:30:52]Read from MH i2c: E2 FD 00 [00:30:52]MH_I2C_Read... [00:30:52]Read from MH i2c: E2 FD 00 CA 10 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 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 6F [00:30:52]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:30:52]wFMCommunicate OK [00:30:52]wFMCommunicate request_size=4 [00:30:52]MH_SAM_APDU [00:30:52]CAPDU: 80 17 00 00 [00:30:52]Write to MH i2c: E2 08 00 CB 10 80 17 00 00 00 00 00 00 5B [00:30:52]Write i2c OK [00:30:52]MH_I2C_Read... [00:30:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:30:53]Read from MH i2c: E2 [00:30:53]MH_I2C_Read... [00:30:53]Read from MH i2c: E2 FD 00 [00:30:53]MH_I2C_Read... [00:30:53]Read from MH i2c: E2 FD 00 CB 10 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 D3 [00:30:53]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:30:53]wFMCommunicate OK [00:30:53]wFMCommunicate request_size=4 [00:30:53]MH_SAM_APDU [00:30:53]CAPDU: 80 17 00 00 [00:30:53]Write to MH i2c: E2 08 00 CC 10 80 17 00 00 00 00 00 00 5C [00:30:53]Write i2c OK [00:30:53]MH_I2C_Read... [00:30:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [00:30:53]Read from MH i2c: E2 [00:30:53]MH_I2C_Read... [00:30:53]Read from MH i2c: E2 E1 00 [00:30:53]MH_I2C_Read... [00:30:53]Read from MH i2c: E2 E1 00 CC 10 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 4A [00:30:53]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:30:53]wFMCommunicate OK [00:30:53]SAM_PROTO_GetFMData done [00:30:53]requested_item fm.sale_refund.total is exist - process it [00:30:53]requested_item fm.buy.total is exist - process it [00:30:53]requested_item shift.sale.total is exist - process it [00:30:53]SAM_PROTO_GetShiftData [00:30:53]wFMCommunicate request_size=4 [00:30:53]MH_SAM_APDU [00:30:53]CAPDU: 80 13 02 00 [00:30:53]Write to MH i2c: E2 08 00 CD 10 80 13 02 00 00 00 00 00 5B [00:30:53]Write i2c OK [00:30:53]MH_I2C_Read... [00:30:54]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:30:54]Read from MH i2c: E2 [00:30:54]MH_I2C_Read... [00:30:54]Read from MH i2c: E2 FD 00 [00:30:54]MH_I2C_Read... [00:30:54]Read from MH i2c: E2 FD 00 CD 10 00 B6 04 AA 04 B2 04 6E 04 04 00 8B 00 00 00 69 04 9B 00 6F 04 04 00 8A 00 00 00 B1 04 03 00 3F 0C 41 70 04 03 00 E8 FD 32 72 04 03 00 57 0E 0E 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 8D E8 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 5B 93 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 51 [00:30:54]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 8B 00 00 00 69 04 9B 00 6F 04 04 00 8A 00 00 00 B1 04 03 00 3F 0C 41 70 04 03 00 E8 FD 32 72 04 03 00 57 0E 0E 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 8D E8 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 5B 93 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 [00:30:54]wFMCommunicate OK [00:30:54]wFMCommunicate request_size=4 [00:30:54]MH_SAM_APDU [00:30:54]CAPDU: 80 17 00 00 [00:30:54]Write to MH i2c: E2 08 00 CE 10 80 17 00 00 00 00 00 00 5E [00:30:54]Write i2c OK [00:30:54]MH_I2C_Read... [00:30:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:30:54]Read from MH i2c: E2 [00:30:54]MH_I2C_Read... [00:30:54]Read from MH i2c: E2 FD 00 [00:30:54]MH_I2C_Read... [00:30:54]Read from MH i2c: E2 FD 00 CE 10 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 93 [00:30:54]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 [00:30:54]wFMCommunicate OK [00:30:54]wFMCommunicate request_size=4 [00:30:54]MH_SAM_APDU [00:30:54]CAPDU: 80 17 00 00 [00:30:54]Write to MH i2c: E2 08 00 CF 10 80 17 00 00 00 00 00 00 5F [00:30:54]Write i2c OK [00:30:54]MH_I2C_Read... [00:30:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:30:54]Read from MH i2c: E2 [00:30:54]MH_I2C_Read... [00:30:54]Read from MH i2c: E2 FD 00 [00:30:54]MH_I2C_Read... [00:30:54]Read from MH i2c: E2 FD 00 CF 10 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 1F [00:30:54]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 [00:30:54]wFMCommunicate OK [00:30:54]wFMCommunicate request_size=4 [00:30:54]MH_SAM_APDU [00:30:54]CAPDU: 80 17 00 00 [00:30:54]Write to MH i2c: E2 08 00 D0 10 80 17 00 00 00 00 00 00 60 [00:30:54]Write i2c OK [00:30:54]MH_I2C_Read... [00:30:55]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:30:55]Read from MH i2c: E2 [00:30:55]MH_I2C_Read... [00:30:55]Read from MH i2c: E2 FD 00 [00:30:55]MH_I2C_Read... [00:30:55]Read from MH i2c: E2 FD 00 D0 10 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 CF [00:30:55]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 [00:30:55]wFMCommunicate OK [00:30:55]wFMCommunicate request_size=4 [00:30:55]MH_SAM_APDU [00:30:55]CAPDU: 80 17 00 00 [00:30:55]Write to MH i2c: E2 08 00 D1 10 80 17 00 00 00 00 00 00 61 [00:30:55]Write i2c OK [00:30:55]MH_I2C_Read... [00:30:55]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [00:30:55]Read from MH i2c: E2 [00:30:55]MH_I2C_Read... [00:30:55]Read from MH i2c: E2 D3 00 [00:30:55]MH_I2C_Read... [00:30:55]Read from MH i2c: E2 D3 00 D1 10 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 4E [00:30:55]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 [00:30:55]wFMCommunicate OK [00:30:55]SAM_PROTO_GetShiftData done [00:30:55]requested_item shift.sale.total_cash is exist - process it [00:30:55]requested_item shift.sale_refund.total is exist - process it [00:30:55]requested_item shift.sale_refund.total_cash is exist - process it [00:30:55]requested_item shift.buy.total is exist - process it [00:30:55]requested_item shift.buy.total_cash is exist - process it [00:30:55]produce_requested_data done [00:30:55]produce_requested_data return {"fm.sale.total":18416326.42,"fm.sale_refund.total":236862.00,"fm.buy.total":0.00,"shift.sale.total":42629.75,"shift.sale.total_cash":33418.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [00:30:55]process_action_free get_value [00:30:55]json_value_free [00:30:55]json_value_free done [00:30:55]process_json_proto returns [00:30:55]Send response to host [00:30:55]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":18416326.42,"fm.sale_refund.total":236862.00,"fm.buy.total":0.00,"shift.sale.total":42629.75,"shift.sale.total_cash":33418.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [00:30:55]free response buf [00:30:55]execute_script done [00:30:55]execute_script returns [00:30:55]free content buf [00:30:55]Sock 7.Close socket [00:30:55]Sock 7.Thread stoped [00:30:55]accept exits with 9 [00:30:55]New connection [00:30:55]New thread 3067014500 created [00:30:55]Thread 3066871140 joined [00:30:55]Waiting for new connection... [00:30:55] Sock 9.Parse request [00:30:55]Sock 9.Check first char [00:30:55]Sock 9.First char is OK [00:30:55]request: POST /json_proto HTTP/1.0 [00:30:55]Method: POST [00:30:55]URL: /json_proto [00:30:55]Method is POST - this is cgi request [00:30:55]url: /json_proto [00:30:55]query_string will be loaded in cgi processing [00:30:55]execute_cgi json_proto POST (null) [00:30:55]execute_cgi path=json_proto method=POST [00:30:55]POST find Content-Length [00:30:55]Host: 172.17.39.4:8080 [00:30:55]Content-Length: 331 [00:30:55]Content-Type: application/json [00:30:55] [00:30:55]POST finish read [00:30:55]Found Content-Length = 331 [00:30:55]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:30:55]execute_script... [00:30:55]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:30:55]POST & json_proto [00:30:55]process_json_proto [00:30:55]json parsed OK: [00:30:55]protocol is kg_v1.0 [00:30:55]action value=get_value [00:30:55]process_action get_value [00:30:55]cmd_get_value [00:30:55]process_action get_value done [00:30:55]requested_data is exist [00:30:55]produce_requested_data [00:30:55]requested_item fm.sale.total is exist - process it [00:30:55]SAM_PROTO_GetFMData [00:30:55]wFMCommunicate request_size=4 [00:30:55]MH_SAM_APDU [00:30:55]CAPDU: 80 13 03 00 [00:30:55]Write to MH i2c: E2 08 00 D2 10 80 13 03 00 00 00 00 00 61 [00:30:55]Write i2c OK [00:30:55]MH_I2C_Read... [00:30:56]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:30:56]Read from MH i2c: E2 [00:30:56]MH_I2C_Read... [00:30:56]Read from MH i2c: E2 FD 00 [00:30:56]MH_I2C_Read... [00:30:56]Read from MH i2c: E2 FD 00 D2 10 00 C4 04 85 04 C0 04 6E 04 04 00 B9 DB 00 00 69 04 A0 00 6F 04 04 00 07 DB 00 00 B1 04 04 00 82 15 C5 6D 70 04 04 00 DC 00 62 61 72 04 04 00 A6 14 63 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 11 8E A8 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 76 9E 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 B2 00 00 00 B1 04 04 00 38 6C 69 01 70 04 04 00 6C 1A 5F 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 A0 62 26 EF 03 09 00 90 00 D7 [00:30:56]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 B9 DB 00 00 69 04 A0 00 6F 04 04 00 07 DB 00 00 B1 04 04 00 82 15 C5 6D 70 04 04 00 DC 00 62 61 72 04 04 00 A6 14 63 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 11 8E A8 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 76 9E 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 B2 00 00 00 B1 04 04 00 38 6C 69 01 70 04 04 00 6C 1A 5F 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 A0 62 26 EF 03 09 00 90 00 [00:30:56]wFMCommunicate OK [00:30:56]wFMCommunicate request_size=4 [00:30:56]MH_SAM_APDU [00:30:56]CAPDU: 80 17 00 00 [00:30:56]Write to MH i2c: E2 08 00 D3 10 80 17 00 00 00 00 00 00 63 [00:30:56]Write i2c OK [00:30:56]MH_I2C_Read... [00:30:56]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:30:56]Read from MH i2c: E2 [00:30:56]MH_I2C_Read... [00:30:56]Read from MH i2c: E2 FD 00 [00:30:56]MH_I2C_Read... [00:30:56]Read from MH i2c: E2 FD 00 D3 10 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 CF 32 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 1D [00:30:56]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 CF 32 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:30:56]wFMCommunicate OK [00:30:56]wFMCommunicate request_size=4 [00:30:56]MH_SAM_APDU [00:30:56]CAPDU: 80 17 00 00 [00:30:56]Write to MH i2c: E2 08 00 D4 10 80 17 00 00 00 00 00 00 64 [00:30:56]OFD Sender: No OFD packet to send [00:30:56]Write i2c OK [00:30:56]MH_I2C_Read... [00:30:57]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:30:57]Read from MH i2c: E2 [00:30:57]MH_I2C_Read... [00:30:57]Read from MH i2c: E2 FD 00 [00:30:57]MH_I2C_Read... [00:30:57]Read from MH i2c: E2 FD 00 D4 10 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 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 79 [00:30:57]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:30:57]wFMCommunicate OK [00:30:57]wFMCommunicate request_size=4 [00:30:57]MH_SAM_APDU [00:30:57]CAPDU: 80 17 00 00 [00:30:57]Write to MH i2c: E2 08 00 D5 10 80 17 00 00 00 00 00 00 65 [00:30:57]Write i2c OK [00:30:57]MH_I2C_Read... [00:30:57]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:30:57]Read from MH i2c: E2 [00:30:57]MH_I2C_Read... [00:30:57]Read from MH i2c: E2 FD 00 [00:30:57]MH_I2C_Read... [00:30:57]Read from MH i2c: E2 FD 00 D5 10 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 DD [00:30:57]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:30:57]wFMCommunicate OK [00:30:57]wFMCommunicate request_size=4 [00:30:57]MH_SAM_APDU [00:30:57]CAPDU: 80 17 00 00 [00:30:57]Write to MH i2c: E2 08 00 D6 10 80 17 00 00 00 00 00 00 66 [00:30:57]Write i2c OK [00:30:57]MH_I2C_Read... [00:30:58]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [00:30:58]Read from MH i2c: E2 [00:30:58]MH_I2C_Read... [00:30:58]Read from MH i2c: E2 E1 00 [00:30:58]MH_I2C_Read... [00:30:58]Read from MH i2c: E2 E1 00 D6 10 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 54 [00:30:58]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:30:58]wFMCommunicate OK [00:30:58]SAM_PROTO_GetFMData done [00:30:58]requested_item fm.sale_refund.total is exist - process it [00:30:58]requested_item fm.buy.total is exist - process it [00:30:58]requested_item shift.sale.total is exist - process it [00:30:58]SAM_PROTO_GetShiftData [00:30:58]wFMCommunicate request_size=4 [00:30:58]MH_SAM_APDU [00:30:58]CAPDU: 80 13 02 00 [00:30:58]Write to MH i2c: E2 08 00 D7 10 80 13 02 00 00 00 00 00 65 [00:30:58]Write i2c OK [00:30:58]MH_I2C_Read... [00:30:58]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:30:58]Read from MH i2c: E2 [00:30:58]MH_I2C_Read... [00:30:58]Read from MH i2c: E2 FD 00 [00:30:58]MH_I2C_Read... [00:30:58]Read from MH i2c: E2 FD 00 D7 10 00 B6 04 AA 04 B2 04 6E 04 04 00 8B 00 00 00 69 04 9B 00 6F 04 04 00 8A 00 00 00 B1 04 03 00 3F 0C 41 70 04 03 00 E8 FD 32 72 04 03 00 57 0E 0E 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 8D E8 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 5B 93 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 5B [00:30:58]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 8B 00 00 00 69 04 9B 00 6F 04 04 00 8A 00 00 00 B1 04 03 00 3F 0C 41 70 04 03 00 E8 FD 32 72 04 03 00 57 0E 0E 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 8D E8 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 5B 93 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 [00:30:58]wFMCommunicate OK [00:30:58]wFMCommunicate request_size=4 [00:30:58]MH_SAM_APDU [00:30:58]CAPDU: 80 17 00 00 [00:30:58]Write to MH i2c: E2 08 00 D8 10 80 17 00 00 00 00 00 00 68 [00:30:58]Write i2c OK [00:30:58]MH_I2C_Read... [00:30:59]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:30:59]Read from MH i2c: E2 [00:30:59]MH_I2C_Read... [00:30:59]Read from MH i2c: E2 FD 00 [00:30:59]MH_I2C_Read... [00:30:59]Read from MH i2c: E2 FD 00 D8 10 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 9D [00:30:59]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 [00:30:59]wFMCommunicate OK [00:30:59]wFMCommunicate request_size=4 [00:30:59]MH_SAM_APDU [00:30:59]CAPDU: 80 17 00 00 [00:30:59]Write to MH i2c: E2 08 00 D9 10 80 17 00 00 00 00 00 00 69 [00:30:59]Write i2c OK [00:30:59]MH_I2C_Read... [00:30:59]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:30:59]Read from MH i2c: E2 [00:30:59]MH_I2C_Read... [00:30:59]Read from MH i2c: E2 FD 00 [00:30:59]MH_I2C_Read... [00:30:59]Read from MH i2c: E2 FD 00 D9 10 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 29 [00:30:59]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 [00:30:59]wFMCommunicate OK [00:30:59]wFMCommunicate request_size=4 [00:30:59]MH_SAM_APDU [00:30:59]CAPDU: 80 17 00 00 [00:30:59]Write to MH i2c: E2 08 00 DA 10 80 17 00 00 00 00 00 00 6A [00:30:59]Write i2c OK [00:30:59]MH_I2C_Read... [00:31:00]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:31:00]Read from MH i2c: E2 [00:31:00]MH_I2C_Read... [00:31:00]Read from MH i2c: E2 FD 00 [00:31:00]MH_I2C_Read... [00:31:00]Read from MH i2c: E2 FD 00 DA 10 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 D9 [00:31:00]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 [00:31:00]wFMCommunicate OK [00:31:00]wFMCommunicate request_size=4 [00:31:00]MH_SAM_APDU [00:31:00]CAPDU: 80 17 00 00 [00:31:00]Write to MH i2c: E2 08 00 DB 10 80 17 00 00 00 00 00 00 6B [00:31:00]Write i2c OK [00:31:00]MH_I2C_Read... [00:31:00]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [00:31:00]Read from MH i2c: E2 [00:31:00]MH_I2C_Read... [00:31:00]Read from MH i2c: E2 D3 00 [00:31:00]MH_I2C_Read... [00:31:00]Read from MH i2c: E2 D3 00 DB 10 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 58 [00:31:00]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 [00:31:00]wFMCommunicate OK [00:31:00]SAM_PROTO_GetShiftData done [00:31:00]requested_item shift.sale.total_cash is exist - process it [00:31:00]requested_item shift.sale_refund.total is exist - process it [00:31:00]requested_item shift.sale_refund.total_cash is exist - process it [00:31:00]requested_item shift.buy.total is exist - process it [00:31:00]requested_item shift.buy.total_cash is exist - process it [00:31:00]produce_requested_data done [00:31:00]produce_requested_data return {"fm.sale.total":18416326.42,"fm.sale_refund.total":236862.00,"fm.buy.total":0.00,"shift.sale.total":42629.75,"shift.sale.total_cash":33418.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [00:31:00]process_action_free get_value [00:31:00]json_value_free [00:31:00]json_value_free done [00:31:00]process_json_proto returns [00:31:00]Send response to host [00:31:00]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":18416326.42,"fm.sale_refund.total":236862.00,"fm.buy.total":0.00,"shift.sale.total":42629.75,"shift.sale.total_cash":33418.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [00:31:00]free response buf [00:31:00]execute_script done [00:31:00]execute_script returns [00:31:00]free content buf [00:31:00]Sock 9.Close socket [00:31:00]Sock 9.Thread stoped [00:31:00]accept exits with 7 [00:31:00]New connection [00:31:00]New thread 3066871140 created [00:31:00]Thread 3067014500 joined [00:31:00]Waiting for new connection... [00:31:00] Sock 7.Parse request [00:31:00]Sock 7.Check first char [00:31:00]Sock 7.First char is OK [00:31:00]request: POST /json_proto HTTP/1.0 [00:31:00]Method: POST [00:31:00]URL: /json_proto [00:31:00]Method is POST - this is cgi request [00:31:00]url: /json_proto [00:31:00]query_string will be loaded in cgi processing [00:31:00]execute_cgi json_proto POST (null) [00:31:00]execute_cgi path=json_proto method=POST [00:31:00]POST find Content-Length [00:31:00]Host: 172.17.39.4:8080 [00:31:00]Content-Length: 260 [00:31:00]Content-Type: application/json [00:31:00] [00:31:00]POST finish read [00:31:00]Found Content-Length = 260 [00:31:00]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_shift", "params" : { "operator" : "\u0411\u0430\u043A\u0438\u0440\u043E\u0432\u0430 \u0417. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:31:00]execute_script... [00:31:00]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_shift", "params" : { "operator" : "\u0411\u0430\u043A\u0438\u0440\u043E\u0432\u0430 \u0417. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:31:00]POST & json_proto [00:31:00]process_json_proto [00:31:00]json parsed OK: [00:31:00]protocol is kg_v1.0 [00:31:00]action value=close_shift [00:31:00]process_action close_shift [00:31:00]cmd_close_shift [00:31:00]MH_GetDate [00:31:00]Write to MH i2c: F0 00 00 DC 10 DB [00:31:00]Write i2c OK [00:31:00]MH_I2C_Read... [00:31:00]Read from MH i2c: F0 [00:31:00]MH_I2C_Read... [00:31:00]Read from MH i2c: F0 09 00 [00:31:00]MH_I2C_Read... [00:31:00]Read from MH i2c: F0 09 00 DC 10 00 47 BF 95 66 2D 25 5D 64 F8 [00:31:00]GetLastDocTimeStamp 1721089810 [00:31:00]current date 1721089863 [00:31:00]FM_GetShiftState [00:31:00]SAM_PROTO_GetShiftState [00:31:00]wFMCommunicate request_size=4 [00:31:00]MH_SAM_APDU [00:31:00]CAPDU: 80 13 01 00 [00:31:00]Write to MH i2c: E2 08 00 DD 10 80 13 01 00 00 00 00 00 6A [00:31:00]Write i2c OK [00:31:00]MH_I2C_Read... [00:31:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:31:00]Read from MH i2c: E2 [00:31:00]MH_I2C_Read... [00:31:00]Read from MH i2c: E2 0E 00 [00:31:00]MH_I2C_Read... [00:31:00]Read from MH i2c: E2 0E 00 DD 10 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 E3 [00:31:00]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [00:31:00]wFMCommunicate OK [00:31:00]SAM_PROTO_GetShiftState done [00:31:00]FM_GetShiftState done [00:31:00]KKMCreateCloseShiftDocument [00:31:00]Load OK [00:31:00]Malloc new data [00:31:00]MH_GetDate [00:31:00]Write to MH i2c: F0 00 00 DE 10 DD [00:31:00]Write i2c OK [00:31:00]MH_I2C_Read... [00:31:00]Read from MH i2c: F0 [00:31:00]MH_I2C_Read... [00:31:00]Read from MH i2c: F0 09 00 [00:31:00]MH_I2C_Read... [00:31:00]Read from MH i2c: F0 09 00 DE 10 00 47 BF 95 66 2D 25 5D 64 FA [00:31:00]Malloc new data [00:31:00]Malloc new data [00:31:00]Malloc new data [00:31:00]Malloc new data [00:31:00]KKMCreateCloseShiftDocument OK [00:31:00]KKMSetCloseShiftData OK [00:31:00]ProcessDocumentItem done err = 0, tmpTLVsize=71 [00:31:00]tlvbuf is 0096EA00 [00:31:00]KKMLoadAndSignCloseShiftData [00:31:00]SAM_PROTO_ProcessDocument [00:31:00]wFMCommunicate request_size=9 [00:31:00]MH_SAM_APDU [00:31:00]CAPDU: 80 15 01 00 04 05 00 47 00 [00:31:00]Write to MH i2c: E2 0C 00 DF 10 80 15 01 00 04 00 05 00 47 00 00 00 C2 [00:31:00]Write i2c OK [00:31:00]MH_I2C_Read... [00:31:01]*** iso7816_exchange 80 15 01 00... Resp OK rsp.len_out = 0! [00:31:01]Read from MH i2c: E2 [00:31:01]MH_I2C_Read... [00:31:01]Read from MH i2c: E2 03 00 [00:31:01]MH_I2C_Read... [00:31:01]Read from MH i2c: E2 03 00 DF 10 00 90 00 63 [00:31:01]RAPDU: 90 00 [00:31:01]wFMCommunicate OK [00:31:01]wFMCommunicate request_size=23 [00:31:01]MH_SAM_APDU [00:31:01]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:31:01]Write to MH i2c: E2 1A 00 E0 10 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 65 [00:31:01]Write i2c OK [00:31:01]MH_I2C_Read... [00:31:01]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:31:01]Read from MH i2c: E2 [00:31:01]MH_I2C_Read... [00:31:01]Read from MH i2c: E2 03 00 [00:31:01]MH_I2C_Read... [00:31:01]Read from MH i2c: E2 03 00 E0 10 00 90 00 64 [00:31:01]RAPDU: 90 00 [00:31:01]wFMCommunicate OK [00:31:01]wFMCommunicate request_size=30 [00:31:01]MH_SAM_APDU [00:31:01]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:31:01]Write to MH i2c: E2 21 00 E1 10 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 61 [00:31:01]Write i2c OK [00:31:01]MH_I2C_Read... [00:31:01]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:31:01]Read from MH i2c: E2 [00:31:01]MH_I2C_Read... [00:31:01]Read from MH i2c: E2 03 00 [00:31:01]MH_I2C_Read... [00:31:01]Read from MH i2c: E2 03 00 E1 10 00 90 00 65 [00:31:01]RAPDU: 90 00 [00:31:01]wFMCommunicate OK [00:31:01]wFMCommunicate request_size=13 [00:31:01]MH_SAM_APDU [00:31:01]CAPDU: 80 15 02 00 08 F4 03 04 00 47 BF 95 66 [00:31:01]Write to MH i2c: E2 10 00 E2 10 80 15 02 00 08 00 F4 03 04 00 47 BF 95 66 00 00 7E [00:31:01]Write i2c OK [00:31:01]MH_I2C_Read... [00:31:01]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:31:01]Read from MH i2c: E2 [00:31:01]MH_I2C_Read... [00:31:01]Read from MH i2c: E2 03 00 [00:31:01]MH_I2C_Read... [00:31:01]Read from MH i2c: E2 03 00 E2 10 00 90 00 66 [00:31:01]RAPDU: 90 00 [00:31:01]wFMCommunicate OK [00:31:01]wFMCommunicate request_size=25 [00:31:01]MH_SAM_APDU [00:31:01]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:31:01]Write to MH i2c: E2 1C 00 E3 10 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 D0 [00:31:01]Write i2c OK [00:31:01]MH_I2C_Read... [00:31:01]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:31:01]Read from MH i2c: E2 [00:31:01]MH_I2C_Read... [00:31:01]Read from MH i2c: E2 03 00 [00:31:01]MH_I2C_Read... [00:31:01]Read from MH i2c: E2 03 00 E3 10 00 90 00 67 [00:31:01]RAPDU: 90 00 [00:31:01]wFMCommunicate OK [00:31:01]wFMCommunicate request_size=4 [00:31:01]MH_SAM_APDU [00:31:01]CAPDU: 80 15 03 00 [00:31:01]Write to MH i2c: E2 08 00 E4 10 80 15 03 00 00 00 00 00 75 [00:31:01]Write i2c OK [00:31:01]MH_I2C_Read... [00:31:01]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 250! [00:31:01]Read from MH i2c: E2 [00:31:01]MH_I2C_Read... [00:31:01]Read from MH i2c: E2 FD 00 [00:31:01]MH_I2C_Read... [00:31:01]Read from MH i2c: E2 FD 00 E4 10 00 F9 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 9D DF 00 00 0E 04 04 00 F1 01 00 00 5E 04 04 00 8B 00 00 00 57 04 04 00 8D 00 00 00 AA 04 B2 04 6E 04 04 00 8B 00 00 00 69 04 9B 00 6F 04 04 00 8A 00 00 00 B1 04 03 00 3F 0C 41 70 04 03 00 E8 FD 32 72 04 03 00 57 0E 0E 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 8D E8 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 5B 93 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 90 00 83 [00:31:02]RAPDU: F9 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 9D DF 00 00 0E 04 04 00 F1 01 00 00 5E 04 04 00 8B 00 00 00 57 04 04 00 8D 00 00 00 AA 04 B2 04 6E 04 04 00 8B 00 00 00 69 04 9B 00 6F 04 04 00 8A 00 00 00 B1 04 03 00 3F 0C 41 70 04 03 00 E8 FD 32 72 04 03 00 57 0E 0E 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 8D E8 06 OFD Sender: No OFD packet to send [00:31: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 5B 93 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 90 00 [00:31:02]wFMCommunicate OK [00:31:02]SAM_PROTO_ProcessDocument answer len = 1273 [00:31:02]SAM_PROTO_ProcessDocument remain to read = 1025 [00:31:02]wFMCommunicate request_size=4 [00:31:02]MH_SAM_APDU [00:31:02]CAPDU: 80 17 00 00 [00:31:02]Write to MH i2c: E2 08 00 E5 10 80 17 00 00 00 00 00 00 75 [00:31:02]Write i2c OK [00:31:02]MH_I2C_Read... [00:31:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:31:02]Read from MH i2c: E2 [00:31:02]MH_I2C_Read... [00:31:02]Read from MH i2c: E2 FD 00 [00:31:02]MH_I2C_Read... [00:31:02]Read from MH i2c: E2 FD 00 E5 10 00 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 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 90 00 F3 [00:31:02]RAPDU: 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 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 90 00 [00:31:02]wFMCommunicate OK [00:31:02]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:31:02]SAM_PROTO_ProcessDocument remain to read = 775 [00:31:02]wFMCommunicate request_size=4 [00:31:02]MH_SAM_APDU [00:31:02]CAPDU: 80 17 00 00 [00:31:02]Write to MH i2c: E2 08 00 E6 10 80 17 00 00 00 00 00 00 76 [00:31:02]Write i2c OK [00:31:02]MH_I2C_Read... [00:31:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:31:03]Read from MH i2c: E2 [00:31:03]MH_I2C_Read... [00:31:03]Read from MH i2c: E2 FD 00 [00:31:03]MH_I2C_Read... [00:31:03]Read from MH i2c: E2 FD 00 E6 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 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 90 00 D8 [00:31: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 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 90 00 [00:31:03]wFMCommunicate OK [00:31:03]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:31:03]SAM_PROTO_ProcessDocument remain to read = 525 [00:31:03]wFMCommunicate request_size=4 [00:31:03]MH_SAM_APDU [00:31:03]CAPDU: 80 17 00 00 [00:31:03]Write to MH i2c: E2 08 00 E7 10 80 17 00 00 00 00 00 00 77 [00:31:03]Write i2c OK [00:31:03]MH_I2C_Read... [00:31:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:31:03]Read from MH i2c: E2 [00:31:03]MH_I2C_Read... [00:31:03]Read from MH i2c: E2 FD 00 [00:31:03]MH_I2C_Read... [00:31:03]Read from MH i2c: E2 FD 00 E7 10 00 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 90 00 90 [00:31:03]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 90 00 [00:31:03]wFMCommunicate OK [00:31:03]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:31:03]SAM_PROTO_ProcessDocument remain to read = 275 [00:31:03]wFMCommunicate request_size=4 [00:31:03]MH_SAM_APDU [00:31:03]CAPDU: 80 17 00 00 [00:31:03]Write to MH i2c: E2 08 00 E8 10 80 17 00 00 00 00 00 00 78 [00:31:03]Write i2c OK [00:31:03]MH_I2C_Read... [00:31:04]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:31:04]Read from MH i2c: E2 [00:31:04]MH_I2C_Read... [00:31:04]Read from MH i2c: E2 FD 00 [00:31:04]MH_I2C_Read... [00:31:04]Read from MH i2c: E2 FD 00 E8 10 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 B1 [00:31:04]RAPDU: 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [00:31:04]wFMCommunicate OK [00:31:04]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:31:04]SAM_PROTO_ProcessDocument remain to read = 25 [00:31:04]wFMCommunicate request_size=4 [00:31:04]MH_SAM_APDU [00:31:04]CAPDU: 80 17 00 00 [00:31:04]Write to MH i2c: E2 08 00 E9 10 80 17 00 00 00 00 00 00 79 [00:31:04]Write i2c OK [00:31:04]MH_I2C_Read... [00:31:04]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 25! [00:31:04]Read from MH i2c: E2 [00:31:04]MH_I2C_Read... [00:31:04]Read from MH i2c: E2 1C 00 [00:31:04]MH_I2C_Read... [00:31:04]Read from MH i2c: E2 1C 00 E9 10 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 35 04 06 00 B3 61 69 95 06 66 90 00 38 [00:31:04]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 35 04 06 00 B3 61 69 95 06 66 90 00 [00:31:04]wFMCommunicate OK [00:31:04]SAM_PROTO_ProcessDocument received (without SW) 25 bytes [00:31:04]SAM_PROTO_ProcessDocument done [00:31:04]1209 (1) - 1.0 - номер версии ФФД [00:31:04]1041 (16) - 0000000000874857 - номер ФМ [00:31:04]1040 (4) - 57245 - номер ФД [00:31:04]1038 (4) - 497 - номер смены [00:31:04]1118 (4) - 139 - количество кассовых чеков за смену [00:31:04]1111 (4) - 141 - общее количество ФД за смену [00:31:04]1194 (1202) - счетчики итогов смены [00:31:04] 1134 (4) - 139 - количество чеков со всеми признаками расчетов [00:31:04] 1129 (155) - счетчики операций «приход» [00:31:04] 1135 (4) - 138 - количество чеков по признаку расчетов [00:31:04] 1201 (3) - 42629.75 - общая итоговая сумма в чеках [00:31:04] 1136 (3) - 33418.00 - итоговая сумма в чеках наличными [00:31:04] 1138 (3) - 9211.75 - итоговая сумма в чеках безналичными [00:31:04] 1024 (122) - суммы налогов [00:31:04] 1006 (9) - суммы НДС [00:31:04] 1010 (1) - 0% - код ставки НДС [00:31:04] 1011 (0) - 0.00 - сумма НДС по ставке [00:31:04] 1006 (12) - суммы НДС [00:31:04] 1010 (1) - 12% - код ставки НДС [00:31:04] 1011 (3) - 4527.49 - сумма НДС по ставке [00:31:04] 1007 (9) - суммы НСП [00:31:04] 1014 (1) - 0% - код ставки НСП [00:31:04] 1015 (0) - 0.00 - сумма НСП по ставке [00:31:04] 1007 (11) - суммы НСП [00:31:04] 1014 (1) - 1% - код ставки НСП [00:31:04] 1015 (2) - 377.23 - сумма НСП по ставке [00:31:04] 1007 (9) - суммы НСП [00:31:04] 1014 (1) - 2% - код ставки НСП [00:31:04] 1015 (0) - 0.00 - сумма НСП по ставке [00:31:04] 1007 (9) - суммы НСП [00:31:04] 1014 (1) - 3% - код ставки НСП [00:31:04] 1015 (0) - 0.00 - сумма НСП по ставке [00:31:04] 1007 (9) - суммы НСП [00:31:04] 1014 (1) - 5% - код ставки НСП [00:31:04] 1015 (0) - 0.00 - сумма НСП по ставке [00:31:04] 1007 (9) - суммы НСП [00:31:04] 1014 (1) - 0,50% - код ставки НСП [00:31:04] 1015 (0) - 0.00 - сумма НСП по ставке [00:31:04] 1007 (9) - суммы НСП [00:31:04] 1014 (1) - 1,50% - код ставки НСП [00:31:04] 1015 (0) - 0.00 - сумма НСП по ставке [00:31:04] 1130 (149) - счетчики операций «возврат прихода» [00:31:04] 1135 (4) - 1 - количество чеков по признаку расчетов [00:31:04] 1201 (2) - 325.00 - общая итоговая сумма в чеках [00:31:04] 1136 (2) - 325.00 - итоговая сумма в чеках наличными [00:31:04] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:31:04] 1024 (121) - суммы налогов [00:31:04] 1006 (9) - суммы НДС [00:31:04] 1010 (1) - 0% - код ставки НДС [00:31:04] 1011 (0) - 0.00 - сумма НДС по ставке [00:31:04] 1006 (11) - суммы НДС [00:31:04] 1010 (1) - 12% - код ставки НДС [00:31:04] 1011 (2) - 34.51 - сумма НДС по ставке [00:31:04] 1007 (9) - суммы НСП [00:31:04] 1014 (1) - 0% - код ставки НСП [00:31:04] 1015 (0) - 0.00 - сумма НСП по ставке [00:31:04] 1007 (11) - суммы НСП [00:31:04] 1014 (1) - 1% - код ставки НСП [00:31:04] 1015 (2) - 2.88 - сумма НСП по ставке [00:31:04] 1007 (9) - суммы НСП [00:31:04] 1014 (1) - 2% - код ставки НСП [00:31:04] 1015 (0) - 0.00 - сумма НСП по ставке [00:31:04] 1007 (9) - суммы НСП [00:31:04] 1014 (1) - 3% - код ставки НСП [00:31:04] 1015 (0) - 0.00 - сумма НСП по ставке [00:31:04] 1007 (9) - суммы НСП [00:31:04] 1014 (1) - 5% - код ставки НСП [00:31:04] 1015 (0) - 0.00 - сумма НСП по ставке [00:31:04] 1007 (9) - суммы НСП [00:31:04] 1014 (1) - 0,50% - код ставки НСП [00:31:04] 1015 (0) - 0.00 - сумма НСП по ставке [00:31:04] 1007 (9) - суммы НСП [00:31:04] 1014 (1) - 1,50% - код ставки НСП [00:31:04] 1015 (0) - 0.00 - сумма НСП по ставке [00:31:04] 1131 (141) - счетчики операций «расход» [00:31:04] 1135 (4) - 0 - количество чеков по признаку расчетов [00:31:04] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:31:04] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:31:04] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:31:04] 1024 (117) - суммы налогов [00:31:04] 1006 (9) - суммы НДС [00:31:04] 1010 (1) - 0% - код ставки НДС [00:31:04] 1011 (0) - 0.00 - сумма НДС по ставке [00:31:04] 1006 (9) - суммы НДС [00:31:04] 1010 (1) - 12% - код ставки НДС [00:31:04] 1011 (0) - 0.00 - сумма НДС по ставке [00:31:04] 1007 (9) - суммы НСП [00:31:04] 1014 (1) - 0% - код ставки НСП [00:31:04] 1015 (0) - 0.00 - сумма НСП по ставке [00:31:04] 1007 (9) - суммы НСП [00:31:04] 1014 (1) - 1% - код ставки НСП [00:31:04] 1015 (0) - 0.00 - сумма НСП по ставке [00:31:04] 1007 (9) - суммы НСП [00:31:04] 1014 (1) - 2% - код ставки НСП [00:31:04] 1015 (0) - 0.00 - сумма НСП по ставке [00:31:04] 1007 (9) - суммы НСП [00:31:04] 1014 (1) - 3% - код ставки НСП [00:31:04] 1015 (0) - 0.00 - сумма НСП по ставке [00:31:04] 1007 (9) - суммы НСП [00:31:04] 1014 (1) - 5% - код ставки НСП [00:31:04] 1015 (0) - 0.00 - сумма НСП по ставке [00:31:04] 1007 (9) - суммы НСП [00:31:04] 1014 (1) - 0,50% - код ставки НСП [00:31:04] 1015 (0) - 0.00 - сумма НСП по ставке [00:31:04] 1007 (9) - суммы НСП [00:31:04] 1014 (1) - 1,50% - код ставки НСП [00:31:04] 1015 (0) - 0.00 - сумма НСП по ставке [00:31:04] 1132 (141) - счетчики операций «возврат расхода» [00:31:04] 1135 (4) - 0 - количество чеков по признаку расчетов [00:31:04] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:31:04] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:31:04] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:31:04] 1024 (117) - суммы налогов [00:31:04] 1006 (9) - суммы НДС [00:31:04] 1010 (1) - 0% - код ставки НДС [00:31:04] 1011 (0) - 0.00 - сумма НДС по ставке [00:31:04] 1006 (9) - суммы НДС [00:31:04] 1010 (1) - 12% - код ставки НДС [00:31:04] 1011 (0) - 0.00 - сумма НДС по ставке [00:31:04] 1007 (9) - суммы НСП [00:31:04] 1014 (1) - 0% - код ставки НСП [00:31:04] 1015 (0) - 0.00 - сумма НСП по ставке [00:31:04] 1007 (9) - суммы НСП [00:31:04] 1014 (1) - 1% - код ставки НСП [00:31:04] 1015 (0) - 0.00 - сумма НСП по ставке [00:31:04] 1007 (9) - суммы НСП [00:31:04] 1014 (1) - 2% - код ставки НСП [00:31:04] 1015 (0) - 0.00 - сумма НСП по ставке [00:31:04] 1007 (9) - суммы НСП [00:31:04] 1014 (1) - 3% - код ставки НСП [00:31:04] 1015 (0) - 0.00 - сумма НСП по ставке [00:31:04] 1007 (9) - суммы НСП [00:31:04] 1014 (1) - 5% - код ставки НСП [00:31:04] 1015 (0) - 0.00 - сумма НСП по ставке [00:31:04] 1007 (9) - суммы НСП [00:31:05] 1014 (1) - 0,50% - код ставки НСП [00:31:05] 1015 (0) - 0.00 - сумма НСП по ставке [00:31:05] 1007 (9) - суммы НСП [00:31:05] 1014 (1) - 1,50% - код ставки НСП [00:31:05] 1015 (0) - 0.00 - сумма НСП по ставке [00:31:05] 1133 (588) - - счетчики коррекции - не используются [00:31:05]1077 (6) - 197230964573798 - ФПД [00:31:05]SetTLVBufToDocument [00:31:05]Processing tag 1209 (04B9) [00:31:05]Malloc new data [00:31:05]Processing tag 1041 (0411) [00:31:05]Processing tag 1040 (0410) [00:31:05]Malloc new data [00:31:05]Processing tag 1038 (040E) [00:31:05]Malloc new data [00:31:05]Processing tag 1118 (045E) [00:31:05]Malloc new data [00:31:05]Processing tag 1111 (0457) [00:31:05]Malloc new data [00:31:05]Processing tag 1194 (04AA) [00:31:05]Load OK [00:31:05]SetTLVBufToDocument [00:31:05]Processing tag 1134 (046E) [00:31:05]Malloc new data [00:31:05]Processing tag 1129 (0469) [00:31:05]Load OK [00:31:05]SetTLVBufToDocument [00:31:05]Processing tag 1135 (046F) [00:31:05]Malloc new data [00:31:05]Processing tag 1201 (04B1) [00:31:05]Malloc new data [00:31:05]Processing tag 1136 (0470) [00:31:05]Malloc new data [00:31:05]Processing tag 1138 (0472) [00:31:05]Malloc new data [00:31:05]Processing tag 1024 (0400) [00:31:05]Load OK [00:31:05]SetTLVBufToDocument [00:31:05]Processing tag 1006 (03EE) [00:31:05]Load OK [00:31:05]SetTLVBufToDocument [00:31:05]Processing tag 1010 (03F2) [00:31:05]Malloc new data [00:31:05]Processing tag 1011 (03F3) [00:31:05]Malloc new data [00:31:05]SetTLVBufToDocument err=0 [00:31:05]Processing tag 1006 (03EE) [00:31:05]Load OK [00:31:05]SetTLVBufToDocument [00:31:05]Processing tag 1010 (03F2) [00:31:05]Malloc new data [00:31:05]Processing tag 1011 (03F3) [00:31:05]Malloc new data [00:31:05]SetTLVBufToDocument err=0 [00:31:05]Processing tag 1007 (03EF) [00:31:05]Load OK [00:31:05]SetTLVBufToDocument [00:31:05]Processing tag 1014 (03F6) [00:31:05]Malloc new data [00:31:05]Processing tag 1015 (03F7) [00:31:05]Malloc new data [00:31:05]SetTLVBufToDocument err=0 [00:31:05]Processing tag 1007 (03EF) [00:31:05]Load OK [00:31:05]SetTLVBufToDocument [00:31:05]Processing tag 1014 (03F6) [00:31:05]Malloc new data [00:31:05]Processing tag 1015 (03F7) [00:31:05]Malloc new data [00:31:05]SetTLVBufToDocument err=0 [00:31:05]Processing tag 1007 (03EF) [00:31:05]Load OK [00:31:05]SetTLVBufToDocument [00:31:05]Processing tag 1014 (03F6) [00:31:05]Malloc new data [00:31:05]Processing tag 1015 (03F7) [00:31:05]Malloc new data [00:31:05]SetTLVBufToDocument err=0 [00:31:05]Processing tag 1007 (03EF) [00:31:05]Load OK [00:31:05]SetTLVBufToDocument [00:31:05]Processing tag 1014 (03F6) [00:31:05]Malloc new data [00:31:05]Processing tag 1015 (03F7) [00:31:05]Malloc new data [00:31:05]SetTLVBufToDocument err=0 [00:31:05]Processing tag 1007 (03EF) [00:31:05]Load OK [00:31:05]SetTLVBufToDocument [00:31:05]Processing tag 1014 (03F6) [00:31:05]Malloc new data [00:31:05]Processing tag 1015 (03F7) [00:31:05]Malloc new data [00:31:05]SetTLVBufToDocument err=0 [00:31:05]Processing tag 1007 (03EF) [00:31:05]Load OK [00:31:05]SetTLVBufToDocument [00:31:05]Processing tag 1014 (03F6) [00:31:05]Malloc new data [00:31:05]Processing tag 1015 (03F7) [00:31:05]Malloc new data [00:31:05]SetTLVBufToDocument err=0 [00:31:05]Processing tag 1007 (03EF) [00:31:05]Load OK [00:31:05]SetTLVBufToDocument [00:31:05]Processing tag 1014 (03F6) [00:31:05]Malloc new data [00:31:05]Processing tag 1015 (03F7) [00:31:05]Malloc new data [00:31:05]SetTLVBufToDocument err=0 [00:31:05]SetTLVBufToDocument err=0 [00:31:05]SetTLVBufToDocument err=0 [00:31:05]Processing tag 1130 (046A) [00:31:05]Load OK [00:31:05]SetTLVBufToDocument [00:31:05]Processing tag 1135 (046F) [00:31:05]Malloc new data [00:31:05]Processing tag 1201 (04B1) [00:31:05]Malloc new data [00:31:05]Processing tag 1136 (0470) [00:31:05]Malloc new data [00:31:05]Processing tag 1138 (0472) [00:31:05]Malloc new data [00:31:05]Processing tag 1024 (0400) [00:31:05]Load OK [00:31:05]SetTLVBufToDocument [00:31:05]Processing tag 1006 (03EE) [00:31:05]Load OK [00:31:05]SetTLVBufToDocument [00:31:05]Processing tag 1010 (03F2) [00:31:05]Malloc new data [00:31:05]Processing tag 1011 (03F3) [00:31:05]Malloc new data [00:31:05]SetTLVBufToDocument err=0 [00:31:05]Processing tag 1006 (03EE) [00:31:05]Load OK [00:31:05]SetTLVBufToDocument [00:31:05]Processing tag 1010 (03F2) [00:31:05]Malloc new data [00:31:05]Processing tag 1011 (03F3) [00:31:05]Malloc new data [00:31:05]SetTLVBufToDocument err=0 [00:31:05]Processing tag 1007 (03EF) [00:31:05]Load OK [00:31:05]SetTLVBufToDocument [00:31:05]Processing tag 1014 (03F6) [00:31:05]Malloc new data [00:31:05]Processing tag 1015 (03F7) [00:31:05]Malloc new data [00:31:05]SetTLVBufToDocument err=0 [00:31:05]Processing tag 1007 (03EF) [00:31:05]Load OK [00:31:05]SetTLVBufToDocument [00:31:05]Processing tag 1014 (03F6) [00:31:05]Malloc new data [00:31:05]Processing tag 1015 (03F7) [00:31:05]Malloc new data [00:31:05]SetTLVBufToDocument err=0 [00:31:05]Processing tag 1007 (03EF) [00:31:05]Load OK [00:31:05]SetTLVBufToDocument [00:31:05]Processing tag 1014 (03F6) [00:31:05]Malloc new data [00:31:05]Processing tag 1015 (03F7) [00:31:05]Malloc new data [00:31:05]SetTLVBufToDocument err=0 [00:31:05]Processing tag 1007 (03EF) [00:31:05]Load OK [00:31:05]SetTLVBufToDocument [00:31:05]Processing tag 1014 (03F6) [00:31:05]Malloc new data [00:31:05]Processing tag 1015 (03F7) [00:31:05]Malloc new data [00:31:05]SetTLVBufToDocument err=0 [00:31:05]Processing tag 1007 (03EF) [00:31:05]Load OK [00:31:05]SetTLVBufToDocument [00:31:05]Processing tag 1014 (03F6) [00:31:05]Malloc new data [00:31:05]Processing tag 1015 (03F7) [00:31:05]Malloc new data [00:31:05]SetTLVBufToDocument err=0 [00:31:05]Processing tag 1007 (03EF) [00:31:05]Load OK [00:31:05]SetTLVBufToDocument [00:31:05]Processing tag 1014 (03F6) [00:31:05]Malloc new data [00:31:05]Processing tag 1015 (03F7) [00:31:05]Malloc new data [00:31:05]SetTLVBufToDocument err=0 [00:31:05]Processing tag 1007 (03EF) [00:31:05]Load OK [00:31:05]SetTLVBufToDocument [00:31:05]Processing tag 1014 (03F6) [00:31:05]Malloc new data [00:31:05]Processing tag 1015 (03F7) [00:31:05]Malloc new data [00:31:05]SetTLVBufToDocument err=0 [00:31:05]SetTLVBufToDocument err=0 [00:31:05]SetTLVBufToDocument err=0 [00:31:05]Processing tag 1131 (046B) [00:31:05]Load OK [00:31:05]SetTLVBufToDocument [00:31:05]Processing tag 1135 (046F) [00:31:05]Malloc new data [00:31:05]Processing tag 1201 (04B1) [00:31:05]Malloc new data [00:31:05]Processing tag 1136 (0470) [00:31:05]Malloc new data [00:31:05]Processing tag 1138 (0472) [00:31:05]Malloc new data [00:31:05]Processing tag 1024 (0400) [00:31:05]Load OK [00:31:05]SetTLVBufToDocument [00:31:05]Processing tag 1006 (03EE) [00:31:05]Load OK [00:31:05]SetTLVBufToDocument [00:31:05]Processing tag 1010 (03F2) [00:31:05]Malloc new data [00:31:05]Processing tag 1011 (03F3) [00:31:05]Malloc new data [00:31:05]SetTLVBufToDocument err=0 [00:31:05]Processing tag 1006 (03EE) [00:31:05]Load OK [00:31:05]SetTLVBufToDocument [00:31:05]Processing tag 1010 (03F2) [00:31:05]Malloc new data [00:31:05]Processing tag 1011 (03F3) [00:31:05]Malloc new data [00:31:05]SetTLVBufToDocument err=0 [00:31:05]Processing tag 1007 (03EF) [00:31:05]Load OK [00:31:05]SetTLVBufToDocument [00:31:05]Processing tag 1014 (03F6) [00:31:05]Malloc new data [00:31:05]Processing tag 1015 (03F7) [00:31:05]Malloc new data [00:31:05]SetTLVBufToDocument err=0 [00:31:05]Processing tag 1007 (03EF) [00:31:05]Load OK [00:31:05]SetTLVBufToDocument [00:31:05]Processing tag 1014 (03F6) [00:31:05]Malloc new data [00:31:05]Processing tag 1015 (03F7) [00:31:05]Malloc new data [00:31:05]SetTLVBufToDocument err=0 [00:31:05]Processing tag 1007 (03EF) [00:31:05]Load OK [00:31:05]SetTLVBufToDocument [00:31:05]Processing tag 1014 (03F6) [00:31:05]Malloc new data [00:31:05]Processing tag 1015 (03F7) [00:31:05]Malloc new data [00:31:05]SetTLVBufToDocument err=0 [00:31:05]Processing tag 1007 (03EF) [00:31:05]Load OK [00:31:05]SetTLVBufToDocument [00:31:05]Processing tag 1014 (03F6) [00:31:05]Malloc new data [00:31:05]Processing tag 1015 (03F7) [00:31:05]Malloc new data [00:31:05]SetTLVBufToDocument err=0 [00:31:05]Processing tag 1007 (03EF) [00:31:05]Load OK [00:31:05]SetTLVBufToDocument [00:31:05]Processing tag 1014 (03F6) [00:31:05]Malloc new data [00:31:05]Processing tag 1015 (03F7) [00:31:05]Malloc new data [00:31:05]SetTLVBufToDocument err=0 [00:31:05]Processing tag 1007 (03EF) [00:31:05]Load OK [00:31:05]SetTLVBufToDocument [00:31:05]Processing tag 1014 (03F6) [00:31:05]Malloc new data [00:31:05]Processing tag 1015 (03F7) [00:31:05]Malloc new data [00:31:05]SetTLVBufToDocument err=0 [00:31:05]Processing tag 1007 (03EF) [00:31:05]Load OK [00:31:05]SetTLVBufToDocument [00:31:05]Processing tag 1014 (03F6) [00:31:05]Malloc new data [00:31:05]Processing tag 1015 (03F7) [00:31:05]Malloc new data [00:31:05]SetTLVBufToDocument err=0 [00:31:05]SetTLVBufToDocument err=0 [00:31:05]SetTLVBufToDocument err=0 [00:31:05]Processing tag 1132 (046C) [00:31:05]Load OK [00:31:05]SetTLVBufToDocument [00:31:05]Processing tag 1135 (046F) [00:31:05]Malloc new data [00:31:05]Processing tag 1201 (04B1) [00:31:05]Malloc new data [00:31:05]Processing tag 1136 (0470) [00:31:05]Malloc new data [00:31:05]Processing tag 1138 (0472) [00:31:05]Malloc new data [00:31:05]Processing tag 1024 (0400) [00:31:05]Load OK [00:31:05]SetTLVBufToDocument [00:31:05]Processing tag 1006 (03EE) [00:31:05]Load OK [00:31:05]SetTLVBufToDocument [00:31:05]Processing tag 1010 (03F2) [00:31:05]Malloc new data [00:31:05]Processing tag 1011 (03F3) [00:31:05]Malloc new data [00:31:05]SetTLVBufToDocument err=0 [00:31:05]Processing tag 1006 (03EE) [00:31:05]Load OK [00:31:05]SetTLVBufToDocument [00:31:05]Processing tag 1010 (03F2) [00:31:05]Malloc new data [00:31:05]Processing tag 1011 (03F3) [00:31:05]Malloc new data [00:31:05]SetTLVBufToDocument err=0 [00:31:05]Processing tag 1007 (03EF) [00:31:05]Load OK [00:31:05]SetTLVBufToDocument [00:31:05]Processing tag 1014 (03F6) [00:31:05]Malloc new data [00:31:05]Processing tag 1015 (03F7) [00:31:05]Malloc new data [00:31:05]SetTLVBufToDocument err=0 [00:31:05]Processing tag 1007 (03EF) [00:31:05]Load OK [00:31:05]SetTLVBufToDocument [00:31:05]Processing tag 1014 (03F6) [00:31:05]Malloc new data [00:31:05]Processing tag 1015 (03F7) [00:31:05]Malloc new data [00:31:05]SetTLVBufToDocument err=0 [00:31:05]Processing tag 1007 (03EF) [00:31:05]Load OK [00:31:05]SetTLVBufToDocument [00:31:05]Processing tag 1014 (03F6) [00:31:05]Malloc new data [00:31:05]Processing tag 1015 (03F7) [00:31:05]Malloc new data [00:31:05]SetTLVBufToDocument err=0 [00:31:05]Processing tag 1007 (03EF) [00:31:05]Load OK [00:31:05]SetTLVBufToDocument [00:31:05]Processing tag 1014 (03F6) [00:31:05]Malloc new data [00:31:05]Processing tag 1015 (03F7) [00:31:05]Malloc new data [00:31:05]SetTLVBufToDocument err=0 [00:31:05]Processing tag 1007 (03EF) [00:31:05]Load OK [00:31:05]SetTLVBufToDocument [00:31:05]Processing tag 1014 (03F6) [00:31:05]Malloc new data [00:31:05]Processing tag 1015 (03F7) [00:31:05]Malloc new data [00:31:05]SetTLVBufToDocument err=0 [00:31:05]Processing tag 1007 (03EF) [00:31:05]Load OK [00:31:05]SetTLVBufToDocument [00:31:05]Processing tag 1014 (03F6) [00:31:05]Malloc new data [00:31:05]Processing tag 1015 (03F7) [00:31:05]Malloc new data [00:31:05]SetTLVBufToDocument err=0 [00:31:05]Processing tag 1007 (03EF) [00:31:05]Load OK [00:31:05]SetTLVBufToDocument [00:31:05]Processing tag 1014 (03F6) [00:31:05]Malloc new data [00:31:05]Processing tag 1015 (03F7) [00:31:05]Malloc new data [00:31:05]SetTLVBufToDocument err=0 [00:31:05]SetTLVBufToDocument err=0 [00:31:05]SetTLVBufToDocument err=0 [00:31:05]Processing tag 1133 (046D) [00:31:05]Malloc new data [00:31:05]SetTLVBufToDocument err=0 [00:31:05]Processing tag 1077 (0435) [00:31:05]Malloc new data [00:31:05]SetTLVBufToDocument err=0 [00:31:05]Malloc new data [00:31:05]SAM_PROTO_GetFMData [00:31:05]wFMCommunicate request_size=4 [00:31:05]MH_SAM_APDU [00:31:05]CAPDU: 80 13 03 00 [00:31:05]Write to MH i2c: E2 08 00 EA 10 80 13 03 00 00 00 00 00 79 [00:31:05]Write i2c OK [00:31:05]MH_I2C_Read... [00:31:06]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:31:06]Read from MH i2c: E2 [00:31:06]MH_I2C_Read... [00:31:06]Read from MH i2c: E2 FD 00 [00:31:06]MH_I2C_Read... [00:31:06]Read from MH i2c: E2 FD 00 EA 10 00 C4 04 85 04 C0 04 6E 04 04 00 B9 DB 00 00 69 04 A0 00 6F 04 04 00 07 DB 00 00 B1 04 04 00 82 15 C5 6D 70 04 04 00 DC 00 62 61 72 04 04 00 A6 14 63 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 11 8E A8 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 76 9E 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 B2 00 00 00 B1 04 04 00 38 6C 69 01 70 04 04 00 6C 1A 5F 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 A0 62 26 EF 03 09 00 90 00 EF [00:31:06]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 B9 DB 00 00 69 04 A0 00 6F 04 04 00 07 DB 00 00 B1 04 04 00 82 15 C5 6D 70 04 04 00 DC 00 62 61 72 04 04 00 A6 14 63 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 11 8E A8 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 76 9E 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 B2 00 00 00 B1 04 04 00 38 6C 69 01 70 04 04 00 6C 1A 5F 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 A0 62 26 EF 03 09 00 90 00 [00:31:06]wFMCommunicate OK [00:31:06]wFMCommunicate request_size=4 [00:31:06]MH_SAM_APDU [00:31:06]CAPDU: 80 17 00 00 [00:31:06]Write to MH i2c: E2 08 00 EB 10 80 17 00 00 00 00 00 00 7B [00:31:06]Write i2c OK [00:31:06]MH_I2C_Read... [00:31:06]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:31:06]Read from MH i2c: E2 [00:31:06]MH_I2C_Read... [00:31:06]Read from MH i2c: E2 FD 00 [00:31:06]MH_I2C_Read... [00:31:06]Read from MH i2c: E2 FD 00 EB 10 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 CF 32 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 35 [00:31:06]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 CF 32 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:31:07]wFMCommunicate OK [00:31:07]wFMCommunicate request_size=4 [00:31:07]MH_SAM_APDU [00:31:07]CAPDU: 80 17 00 00 [00:31:07]Write to MH i2c: E2 08 00 EC 10 80 17 00 00 00 00 00 00 7C [00:31:07]Write i2c OK [00:31:07]MH_I2C_Read... [00:31:07]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:31:07]Read from MH i2c: E2 [00:31:07]MH_I2C_Read... [00:31:07]Read from MH i2c: E2 FD 00 [00:31:07]MH_I2C_Read... [00:31:07]Read from MH i2c: E2 FD 00 EC 10 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 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 91 [00:31:07]RAPDU: OFD Sender: No OFD packet to send [00:31:07]00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 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:31:07]wFMCommunicate OK [00:31:07]wFMCommunicate request_size=4 [00:31:07]MH_SAM_APDU [00:31:07]CAPDU: 80 17 00 00 [00:31:07]Write to MH i2c: E2 08 00 ED 10 80 17 00 00 00 00 00 00 7D [00:31:07]Write i2c OK [00:31:07]MH_I2C_Read... [00:31:08]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:31:08]Read from MH i2c: E2 [00:31:08]MH_I2C_Read... [00:31:08]Read from MH i2c: E2 FD 00 [00:31:08]MH_I2C_Read... [00:31:08]Read from MH i2c: E2 FD 00 ED 10 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 F5 [00:31:08]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:31:08]wFMCommunicate OK [00:31:08]wFMCommunicate request_size=4 [00:31:08]MH_SAM_APDU [00:31:08]CAPDU: 80 17 00 00 [00:31:08]Write to MH i2c: E2 08 00 EE 10 80 17 00 00 00 00 00 00 7E [00:31:08]Write i2c OK [00:31:08]MH_I2C_Read... [00:31:08]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [00:31:08]Read from MH i2c: E2 [00:31:08]MH_I2C_Read... [00:31:08]Read from MH i2c: E2 E1 00 [00:31:08]MH_I2C_Read... [00:31:08]Read from MH i2c: E2 E1 00 EE 10 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 6C [00:31:08]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:31:08]wFMCommunicate OK [00:31:08]SAM_PROTO_GetFMData done [00:31:08]Malloc new data [00:31:08]Malloc new data [00:31:08]Malloc new data [00:31:08]Malloc new data [00:31:08]KKMLoadAndSignCloseShiftData err=0 [00:31:08]Отчет о закрытии смены ФФД: 1.0 ИНН: 02508201610067 Кассир: Бакирова З. 16.07.2024 00:31 Смена: 497 РНМ: 0000000000091208 ЗНМ: 0300000132 СНО: Общий режим Чеков за смену: 139 ФД за смену: 141 Всего чеков: 139 ИТОГИ ПРИХОД Чеков: 138 Общий итог: 42629.75 Итого наличными: 33418.00 Итого безнал.: 9211.75 НДС 0% : 0.00 НДС 12% : 4527.49 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 377.23 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 1 Общий итог: 325.00 Итого наличными: 325.00 Итого безнал.: 0.00 НДС 0% : 0.00 НДС 12% : 34.51 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 2.88 ИТОГИ РАСХОД Чеков: 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 Нал. в кассе: 33093.00 НС Приход: 18416326.42 НС Возвр.Прихода: 236862.00 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФД: 57245 ФМ: 0000000000874857 ФПД: 197230964573798 [00:31:08]StoreToDocumentArchive [00:31:08]shift 497 fd 57245 [00:31:08]save to /storage/0497/doc_00057245 [00:31:08]save last doc name /storage/0497/doc_00057245 to /storage/kkm_last_doc_name [00:31:08]save OK [00:31:08]Clear old archive folders... [00:31:08]Remove dir /storage/0266 [00:31:08]opendir ok [00:31:08]file . [00:31:08]file .. [00:31:08]file doc_1721089818 [00:31:08]remove file /storage/0266/doc_1721089818 [00:31:09]remove dir /storage/0266 [00:31:09]NVStorageSaveData kkm_registers [00:31:09]File name is /storage/kkm_registers [00:31:09]Write 24 bytes [00:31:09]NVStorageSaveData done [00:31:09]NVStorageSaveData kkm_registers [00:31:09]File name is /storage/kkm_registers [00:31:09]Write 24 bytes [00:31:09]NVStorageSaveData done [00:31:09]ProcessDocumentItem done err = 0, tmpTLVsize=1383 [00:31:09]tlvbuf is 00954360 [00:31:09]SAM_PROTO_ClearQueue [00:31:09]wFMCommunicate request_size=4 [00:31:09]MH_SAM_APDU [00:31:09]CAPDU: 80 09 00 00 [00:31:09]Write to MH i2c: E2 08 00 EF 10 80 09 00 00 00 00 00 00 71 [00:31:09]Write i2c OK [00:31:09]MH_I2C_Read... [00:31:09]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:31:09]Read from MH i2c: E2 [00:31:09]MH_I2C_Read... [00:31:09]Read from MH i2c: E2 03 00 [00:31:09]MH_I2C_Read... [00:31:09]Read from MH i2c: E2 03 00 EF 10 00 90 00 73 [00:31:09]RAPDU: 90 00 [00:31:09]wFMCommunicate OK [00:31:09]SAM_PROTO_ClearQueue done [00:31:09]KKMCreateOFDPacket [00:31:09]OFDProtocolAddRootSTLVToBuf [00:31:09]FM_MakeSignedData [00:31:09]FM_MakeSignedData [00:31:09]SAM_PROTO_SignData [00:31:09]wFMCommunicate request_size=4 [00:31:09]MH_SAM_APDU [00:31:09]CAPDU: 80 0D 01 02 [00:31:09]Write to MH i2c: E2 08 00 F0 10 80 0D 01 02 00 00 00 00 79 [00:31:09]Write i2c OK [00:31:09]MH_I2C_Read... [00:31:09]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:31:09]Read from MH i2c: E2 [00:31:09]MH_I2C_Read... [00:31:09]Read from MH i2c: E2 03 00 [00:31:09]MH_I2C_Read... [00:31:09]Read from MH i2c: E2 03 00 F0 10 00 90 00 74 [00:31:09]RAPDU: 90 00 [00:31:09]wFMCommunicate OK [00:31:09]wFMCommunicate request_size=255 [00:31:09]MH_SAM_APDU [00:31:09]CAPDU: 80 0D 02 02 FA 05 00 67 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 15 00 D0 91 D0 B0 D0 BA D0 B8 D1 80 D0 BE D0 B2 D0 B0 20 D0 97 2E 20 F4 03 04 00 47 BF 95 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 5E 04 04 00 8B 00 00 00 57 04 04 00 8D 00 00 00 AA 04 D9 04 6E 04 04 00 8B 00 00 00 69 04 A2 00 6F 04 04 00 8A 00 00 00 B1 04 03 00 3F 0C 41 70 04 03 00 E8 FD 32 72 04 03 00 57 0E 0E 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 8D E8 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 [00:31:09]Write to MH i2c: E2 02 01 F1 10 80 0D 02 02 FA 00 05 00 67 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 15 00 D0 91 D0 B0 D0 BA D0 B8 D1 80 D0 BE D0 B2 D0 B0 20 D0 97 2E 20 F4 03 04 00 47 BF 95 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 5E 04 04 00 8B 00 00 00 57 04 04 00 8D 00 00 00 AA 04 D9 04 6E 04 04 00 8B 00 00 00 69 04 A2 00 6F 04 04 00 8A 00 00 00 B1 04 03 00 3F 0C 41 70 04 03 00 E8 FD 32 72 04 03 00 57 0E 0E 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 8D E8 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 00 00 3A [00:31:09]Write i2c OK [00:31:09]MH_I2C_Read... [00:31:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:31:09]Read from MH i2c: E2 [00:31:09]MH_I2C_Read... [00:31:09]Read from MH i2c: E2 03 00 [00:31:09]MH_I2C_Read... [00:31:09]Read from MH i2c: E2 03 00 F1 10 00 90 00 75 [00:31:09]RAPDU: 90 00 [00:31:09]wFMCommunicate OK [00:31:09]wFMCommunicate request_size=255 [00:31:09]MH_SAM_APDU [00:31:09]CAPDU: 80 0D 02 02 FA 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 5B 93 6A 04 9D 00 6F 04 04 00 01 00 00 00 B1 04 02 00 F4 7E 70 04 02 00 F4 7E 72 04 01 00 00 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 7B 0D 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 20 01 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:31:09]Write to MH i2c: E2 02 01 F2 10 80 0D 02 02 FA 00 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 5B 93 6A 04 9D 00 6F 04 04 00 01 00 00 00 B1 04 02 00 F4 7E 70 04 02 00 F4 7E 72 04 01 00 00 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 7B 0D 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 20 01 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 74 [00:31:10]Write i2c OK [00:31:10]MH_I2C_Read... [00:31:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:31:10]Read from MH i2c: E2 [00:31:10]MH_I2C_Read... [00:31:10]Read from MH i2c: E2 03 00 [00:31:10]MH_I2C_Read... [00:31:10]Read from MH i2c: E2 03 00 F2 10 00 90 00 76 [00:31:10]RAPDU: 90 00 [00:31:10]wFMCommunicate OK [00:31:10]wFMCommunicate request_size=255 [00:31:10]MH_SAM_APDU [00:31:10]CAPDU: 80 0D 02 02 FA 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:31:10]Write to MH i2c: E2 02 01 F3 10 80 0D 02 02 FA 00 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 00 43 [00:31:10]Write i2c OK [00:31:10]MH_I2C_Read... [00:31:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:31:11]Read from MH i2c: E2 [00:31:11]MH_I2C_Read... [00:31:11]Read from MH i2c: E2 03 00 [00:31:11]MH_I2C_Read... [00:31:11]Read from MH i2c: E2 03 00 F3 10 00 90 00 77 [00:31:11]RAPDU: 90 00 [00:31:11]wFMCommunicate OK [00:31:11]wFMCommunicate request_size=255 [00:31:11]MH_SAM_APDU [00:31:11]CAPDU: 80 0D 02 02 FA 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 [00:31:11]Write to MH i2c: E2 02 01 F4 10 80 0D 02 02 FA 00 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 00 00 42 [00:31:11]Write i2c OK [00:31:11]MH_I2C_Read... [00:31:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:31:11]Read from MH i2c: E2 [00:31:11]MH_I2C_Read... [00:31:11]Read from MH i2c: E2 03 00 [00:31:11]MH_I2C_Read... [00:31:11]Read from MH i2c: E2 03 00 F4 10 00 90 00 78 [00:31:11]RAPDU: 90 00 [00:31:11]wFMCommunicate OK [00:31:11]wFMCommunicate request_size=255 [00:31:11]MH_SAM_APDU [00:31:11]CAPDU: 80 0D 02 02 FA 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 [00:31:11]Write to MH i2c: E2 02 01 F5 10 80 0D 02 02 FA 00 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 00 00 07 [00:31:12]Write i2c OK [00:31:12]MH_I2C_Read... [00:31:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:31:12]Read from MH i2c: E2 [00:31:12]MH_I2C_Read... [00:31:12]Read from MH i2c: E2 03 00 [00:31:12]MH_I2C_Read... [00:31:12]Read from MH i2c: E2 03 00 F5 10 00 90 00 79 [00:31:12]RAPDU: 90 00 [00:31:12]wFMCommunicate OK [00:31:12]wFMCommunicate request_size=142 [00:31:12]MH_SAM_APDU [00:31:12]CAPDU: 80 0D 02 02 89 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9D 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 B3 61 69 95 06 66 [00:31:12]Write to MH i2c: E2 91 00 F6 10 80 0D 02 02 89 00 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9D 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 B3 61 69 95 06 66 00 00 C8 [00:31:12]OFD Sender: No OFD packet to send [00:31:12]Write i2c OK [00:31:12]MH_I2C_Read... [00:31:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:31:12]Read from MH i2c: E2 [00:31:12]MH_I2C_Read... [00:31:12]Read from MH i2c: E2 03 00 [00:31:12]MH_I2C_Read... [00:31:12]Read from MH i2c: E2 03 00 F6 10 00 90 00 7A [00:31:12]RAPDU: 90 00 [00:31:12]wFMCommunicate OK [00:31:12]wFMCommunicate request_size=4 [00:31:12]MH_SAM_APDU [00:31:12]CAPDU: 80 0D 03 02 [00:31:12]Write to MH i2c: E2 08 00 F7 10 80 0D 03 02 00 00 00 00 82 [00:31:12]Write i2c OK [00:31:12]MH_I2C_Read... [00:31:12]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:31:12]Read from MH i2c: E2 [00:31:12]MH_I2C_Read... [00:31:12]Read from MH i2c: E2 0B 00 [00:31:12]MH_I2C_Read... [00:31:12]Read from MH i2c: E2 0B 00 F7 10 00 D5 B0 80 A3 40 A5 7C 77 90 00 03 [00:31:12]RAPDU: D5 B0 80 A3 40 A5 7C 77 90 00 [00:31:12]wFMCommunicate OK [00:31:12]SAM_PROTO_SignData done [00:31:12]FM_MakeSignedData done [00:31:12]CreateOFDProtocolMessage [00:31:12]wFMCommunicate request_size=4 [00:31:12]MH_SAM_APDU [00:31:12]CAPDU: 80 11 00 00 [00:31:12]Write to MH i2c: E2 08 00 F8 10 80 11 00 00 00 00 00 00 82 [00:31:12]Write i2c OK [00:31:12]MH_I2C_Read... [00:31:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:31:13]Read from MH i2c: E2 [00:31:13]MH_I2C_Read... [00:31:13]Read from MH i2c: E2 17 00 [00:31:13]MH_I2C_Read... [00:31:13]Read from MH i2c: E2 17 00 F8 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 DC [00:31:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [00:31:13]wFMCommunicate OK [00:31:13]CreateOFDProtocolMessage done [00:31:13]OFDSenderStorePacket 57245 [00:31:13]StoreOFDPacket docnum=57245 [00:31: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 7B 05 00 00 34 D0 73 05 69 86 5A 05 01 00 05 00 67 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 15 00 D0 91 D0 B0 D0 BA D0 B8 D1 80 D0 BE D0 B2 D0 B0 20 D0 97 2E 20 F4 03 04 00 47 BF 95 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 5E 04 04 00 8B 00 00 00 57 04 04 00 8D 00 00 00 AA 04 D9 04 6E 04 04 00 8B 00 00 00 69 04 A2 00 6F 04 04 00 8A 00 00 00 B1 04 03 00 3F 0C 41 70 04 03 00 E8 FD 32 72 04 03 00 57 0E 0E 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 8D E8 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 5B 93 6A 04 9D 00 6F 04 04 00 01 00 00 00 B1 04 02 00 F4 7E 70 04 02 00 F4 7E 72 04 01 00 00 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 7B 0D 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 20 01 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 9D 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 B3 61 69 95 06 66 D5 B0 80 A3 40 A5 7C 77 [00:31:13]CheckFolder [00:31:13]dirname=/storage/ofd_packets [00:31:13]CheckFolder done [00:31:13]ProducePacketName [00:31:13]name=ofd_packets/00057245 [00:31:13]NVStorageSaveData ofd_packets/00057245 [00:31:13]File name is /storage/ofd_packets/00057245 [00:31:13]Write 1433 bytes [00:31:13]NVStorageSaveData done [00:31:13]OFDSenderStorePacket done [00:31:13]KKMCreateOFDPacket done [00:31:13]NVStorageSaveData kkm_last_timestamp [00:31:13]File name is /storage/kkm_last_timestamp [00:31:13]Write 4 bytes [00:31:13]NVStorageSaveData done [00:31:13]ExternCall_PrintAddStr [00:31:13]wPrintStart [00:31:13]Write to MH i2c: 01 00 00 F9 10 09 [00:31:13]Write i2c OK [00:31:13]MH_I2C_Read... [00:31:13]Read from MH i2c: 01 [00:31:13]MH_I2C_Read... [00:31:13]Read from MH i2c: 01 07 00 [00:31:13]MH_I2C_Read... [00:31:13]Read from MH i2c: 01 07 00 F9 10 00 00 00 00 00 FF 0F 1E [00:31:13]RasterBufferAndPrint [00:31:13]line Отчет о закрытии смены [00:31:13]line ФФД: 1.0 [00:31:13]line ИНН: 02508201610067 [00:31:13]line Кассир: Бакирова З. [00:31:13]line 16.07.2024 00:31 [00:31:13]line Смена: 497 [00:31:13]line РНМ: 0000000000091208 [00:31:13]line ЗНМ: 0300000132 [00:31:13]line СНО: Общий режим [00:31:13]line Чеков за смену: 139 [00:31:13]line ФД за смену: 141 [00:31:13]line Всего чеков: 139 [00:31:13]line ИТОГИ ПРИХОД [00:31:13]line Чеков: 138 [00:31:13]line Общий итог: 42629.75 [00:31:13]line Итого наличными: 33418.00 [00:31:13]line Итого безнал.: 9211.75 [00:31:13]line НДС 0% : 0.00 [00:31:13]line НДС 12% : 4527.49 [00:31:13]line НСП 0% : 0.00 [00:31:13]line НСП 1,50% : 0.00 [00:31:13]line НСП 0,50% : 0.00 [00:31:13]line НСП 5% : 0.00 [00:31:13]line НСП 3% : 0.00 [00:31:13]line НСП 2% : 0.00 [00:31:13]line НСП 1% : 377.23 [00:31:13]line ИТОГИ ВОЗВРАТ ПРИХОДА [00:31:13]line Чеков: 1 [00:31:13]line Общий итог: 325.00 [00:31:13]line Итого наличными: 325.00 [00:31:13]line Итого безнал.: 0.00 [00:31:13]line НДС 0% : 0.00 [00:31:13]line НДС 12% : 34.51 [00:31:13]line НСП 0% : 0.00 [00:31:13]line НСП 1,50% : 0.00 [00:31:13]line НСП 0,50% : 0.00 [00:31:13]line НСП 5% : 0.00 [00:31:13]line НСП 3% : 0.00 [00:31:13]line НСП 2% : 0.00 [00:31:13]line НСП 1% : 2.88 [00:31:13]line ИТОГИ РАСХОД [00:31:13]line Чеков: 0 [00:31:13]line Общий итог: 0.00 [00:31:13]line Итого наличными: 0.00 [00:31:13]line Итого безнал.: 0.00 [00:31:13]line НДС 0% : 0.00 [00:31:13]line НДС 12% : 0.00 [00:31:13]line НСП 0% : 0.00 [00:31:13]line НСП 1,50% : 0.00 [00:31:13]line НСП 0,50% : 0.00 [00:31:13]line НСП 5% : 0.00 [00:31:13]line НСП 3% : 0.00 [00:31:13]line НСП 2% : 0.00 [00:31:13]line НСП 1% : 0.00 [00:31:13]line ИТОГИ ВОЗВРАТ РАСХОДА [00:31:13]line Чеков: 0 [00:31:13]line Общий итог: 0.00 [00:31:13]line Итого наличными: 0.00 [00:31:13]line Итого безнал.: 0.00 [00:31:13]line НДС 0% : 0.00 [00:31:13]line НДС 12% : 0.00 [00:31:13]line НСП 0% : 0.00 [00:31:13]line НСП 1,50% : 0.00 [00:31:13]line НСП 0,50% : 0.00 [00:31:13]line НСП 5% : 0.00 [00:31:13]line НСП 3% : 0.00 [00:31:13]line НСП 2% : 0.00 [00:31:13]line НСП 1% : 0.00 [00:31:13]line Сумма внесений: 0.00 [00:31:13]line Сумма выплат: 0.00 [00:31:13]line Нал. в кассе: 33093.00 [00:31:13]line НС Приход: 18416326.42 [00:31:13]line НС Возвр.Прихода: 236862.00 [00:31:13]line НС Расход: 0.00 [00:31:13]line НС Возвр.Расхода: 0.00 [00:31:13]line ФД: 57245 [00:31:13]line ФМ: 0000000000874857 [00:31:13]line ФПД: 197230964573798 [00:31:13]OFD Sender: Processing packet 57245 [packets to send 38, broken 37] [00:31:13]ProducePacketName [00:31:13]name=ofd_packets/00057245 [00:31:13]OFD Sender: To server: pG, [00:31:13]CommunicateWithHost lk.salyk.kg:30040 [00:31:13]ConnectInit lk.salyk.kg [00:31:13]written 0, free lines is 4095 [00:31:13]Connected sock=10 [00:31:13]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 7B 05 00 00 34 D0 73 05 69 86 5A 05 01 00 05 00 67 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 15 00 D0 91 D0 B0 D0 BA D0 B8 D1 80 D0 BE D0 B2 D0 B0 20 D0 97 2E 20 F4 03 04 00 47 BF 95 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 5E 04 04 00 8B 00 00 00 57 04 04 00 8D 00 00 00 AA 04 D9 04 6E 04 04 00 8B 00 00 00 69 04 A2 00 6F 04 04 00 8A 00 00 00 B1 04 03 00 3F 0C 41 70 04 03 00 E8 FD 32 72 04 03 00 57 0E 0E 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 8D E8 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 5B 93 6A 04 9D 00 6F 04 04 00 01 00 00 00 B1 04 02 00 F4 7E 70 04 02 00 F4 7E 72 04 01 00 00 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 7B 0D 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 20 01 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 Write to MH i2c: EF 01 03 00 09 00 00 49 F6 11 03 5A 01 [00:31:15]00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 Write i2c OK [00:31:15]09 MH_I2C_Read... [00:31:15]00 Read from MH i2c: F6 01 03 [00:31:15]01 MH_I2C_Read... [00:31:15]00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 Read from MH i2c: F7 01 03 07 00 00 [00:31:15]00 MH_I2C_Read... [00:31:15]EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 Read from MH i2c: 00 01 F6 07 03 00 01 49 00 11 05 00 F7 00 03 00 00 00 00 00 EF 4C 03 0F 09 BC 00 [00:31:15]F6 RasterBufferAndPrint [00:31:15]03 line [00:31:15]01 line [00:31:15]00 line [00:31:15]06 line [00:31:15]F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 line [00:31:15]00 00 B1 04 00 00 70 04 00 00 72 04 00 written 0, free lines is 4049 [00:31:15]00 00 04 75 00 EE 03 09 00 F2 03 01 00 MH_Cut [00:31:15]00 Write to MH i2c: F3 D1 03 01 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 50 00 11 EF 01 03 33 09 [00:31:15]00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 Write i2c OK [00:31:15]01 MH_I2C_Read... [00:31:15]00 Read from MH i2c: 01 D1 F7 [00:31:15]03 MH_I2C_Read... [00:31:15]00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 Read from MH i2c: 00 D1 EF 01 03 00 09 [00:31:15]00 MH_I2C_Read... [00:31:15]F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 Read from MH i2c: 01 D1 00 01 04 00 F7 50 11 03 00 00 32 00 [00:31:15]EF Write to MH i2c: 03 01 09 00 00 00 F6 51 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 11 01 62 00 [00:31:15]06 F7 03 00 00 10 04 04 00 9D DF 00 00 11 04 10 00 30 30 30 30 30 Write i2c OK [00:31:15]30 MH_I2C_Read... [00:31:15]30 30 30 30 38 37 34 38 35 37 35 04 06 00 B3 61 69 95 06 66 D5 B0 80 A3 40 A5 7C 77 [00:31:15]*** Cut start [00:31:15]*** Partial cut [00:31:15]*** CUTSNS_PIN = 1 [00:31:15]*** CUTSNS_PIN = 0 [00:31: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 FE 8B 47 00 1C 8F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 9D DF 00 00 F4 03 04 00 A0 65 95 66 B6 *** Brake cut motor [00:31:15]04 01 00 00 E0 0C 2C 7F 4E 0D 30 7A [00:31:15]CommunicateWithHost err = 0 [00:31:15]CheckOFDResponse [00:31:15]1017 (14) - 77093643461234 [00:31:15]1041 (16) - 0000000000874857 [00:31:15]1040 (4) - 57245 [00:31:15]1012 (4) - 15.07.2024 18:08 [00:31:15]1206 (1) - 0 [00:31:15]OFD Sender: Remove packet 57245 [00:31:15]ProducePacketName [00:31:15]name=ofd_packets/00057245 [00:31:15]NVStorageDeleteData [00:31:16]Read from MH i2c: 01 [00:31:16]MH_I2C_Read... [00:31:16]*** Stop cut motor [00:31:16]*** Cut end [00:31:16]Read from MH i2c: 01 07 00 [00:31:16]MH_I2C_Read... [00:31:16]Read from MH i2c: 01 07 00 51 11 00 00 00 00 00 FF 0F 77 [00:31:16]process_action close_shift done [00:31:16]requested_data is exist [00:31:16]produce_requested_data [00:31:16]requested_item fd.num is exist - process it [00:31:16]SAM_PROTO_GetFieldsCounters [00:31:16]wFMCommunicate request_size=4 [00:31:16]MH_SAM_APDU [00:31:16]CAPDU: 80 13 00 00 [00:31:16]Write to MH i2c: E2 08 00 52 11 80 13 00 00 00 00 00 00 DF [00:31:16]Write i2c OK [00:31:16]MH_I2C_Read... [00:31:16]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:31:16]Read from MH i2c: E2 [00:31:16]MH_I2C_Read... [00:31:16]Read from MH i2c: E2 62 00 [00:31:16]MH_I2C_Read... [00:31:16]Read from MH i2c: E2 62 00 52 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 9D DF 00 00 0E 04 04 00 F1 01 00 00 12 04 04 00 8B 00 00 00 5E 04 04 00 8B 00 00 00 57 04 04 00 8D 00 00 00 19 04 04 00 00 00 00 00 90 00 12 [00:31: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 9D DF 00 00 0E 04 04 00 F1 01 00 00 12 04 04 00 8B 00 00 00 5E 04 04 00 8B 00 00 00 57 04 04 00 8D 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:31:16]wFMCommunicate OK [00:31:16]SAM_PROTO_GetFieldsCounters done [00:31:16]requested_item shift.num is exist - process it [00:31:16]requested_item shift.opened is exist - process it [00:31:16]req_shift_opened [00:31:16]FM_GetShiftState [00:31:16]SAM_PROTO_GetShiftState [00:31:16]wFMCommunicate request_size=4 [00:31:16]MH_SAM_APDU [00:31:16]CAPDU: 80 13 01 00 [00:31:16]Write to MH i2c: E2 08 00 53 11 80 13 01 00 00 00 00 00 E1 [00:31:16]OFD Sender: No OFD packet to send [00:31:16]Write i2c OK [00:31:16]MH_I2C_Read... [00:31:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:31:16]Read from MH i2c: E2 [00:31:16]MH_I2C_Read... [00:31:16]Read from MH i2c: E2 0E 00 [00:31:16]MH_I2C_Read... [00:31:16]Read from MH i2c: E2 0E 00 53 11 00 09 00 00 00 00 00 00 00 00 00 00 90 00 EC [00:31:16]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:31:16]wFMCommunicate OK [00:31:16]SAM_PROTO_GetShiftState done [00:31:16]FM_GetShiftState done [00:31:16]req_shift_opened done [00:31:16]requested_item shift.open_date is exist - process it [00:31:16]req_shift_open_date [00:31:16]FM_GetShiftState [00:31:16]SAM_PROTO_GetShiftState [00:31:16]wFMCommunicate request_size=4 [00:31:16]MH_SAM_APDU [00:31:16]CAPDU: 80 13 01 00 [00:31:16]Write to MH i2c: E2 08 00 54 11 80 13 01 00 00 00 00 00 E2 [00:31:16]Write i2c OK [00:31:16]MH_I2C_Read... [00:31:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:31:16]Read from MH i2c: E2 [00:31:16]MH_I2C_Read... [00:31:16]Read from MH i2c: E2 0E 00 [00:31:16]MH_I2C_Read... [00:31:16]Read from MH i2c: E2 0E 00 54 11 00 09 00 00 00 00 00 00 00 00 00 00 90 00 ED [00:31:16]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:31:16]wFMCommunicate OK [00:31:16]SAM_PROTO_GetShiftState done [00:31:16]FM_GetShiftState done [00:31:16]req_shift_open_date done [00:31:16]produce_requested_data done [00:31:16]produce_requested_data return {"fd.num":57245,"shift.num":497,"shift.opened":0,"shift.open_date":0} [00:31:16]process_action_free close_shift [00:31:16]json_value_free [00:31:16]json_value_free done [00:31:16]process_json_proto returns [00:31:16]Send response to host [00:31:16]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":57245,"shift.num":497,"shift.opened":0,"shift.open_date":0}}} [00:31:16]free response buf [00:31:16]execute_script done [00:31:16]execute_script returns [00:31:16]free content buf [00:31:16]Sock 7.Close socket [00:31:16]Sock 7.Thread stoped [00:31:21]OFD Sender: No OFD packet to send [00:31:26]OFD Sender: No OFD packet to send [00:31:31]OFD Sender: No OFD packet to send [00:31:36]OFD Sender: No OFD packet to send [00:31:41]OFD Sender: No OFD packet to send [00:31:46]OFD Sender: No OFD packet to send [00:31:51]OFD Sender: No OFD packet to send [00:31:56]OFD Sender: No OFD packet to send [00:32:01]OFD Sender: No OFD packet to send [00:32:03]accept exits with 9 [00:32:03]New connection [00:32:03]New thread 3067014500 created [00:32:03]Thread 3066871140 joined [00:32:03]Waiting for new connection... [00:32:03] Sock 9.Parse request [00:32:03]Sock 9.Check first char [00:32:03]Sock 9.First char is OK [00:32:03]request: POST /json_proto HTTP/1.0 [00:32:03]Method: POST [00:32:03]URL: /json_proto [00:32:03]Method is POST - this is cgi request [00:32:03]url: /json_proto [00:32:03]query_string will be loaded in cgi processing [00:32:03]execute_cgi json_proto POST (null) [00:32:03]execute_cgi path=json_proto method=POST [00:32:03]POST find Content-Length [00:32:03]Host: 172.17.39.4:8080 [00:32:03]Content-Length: 215 [00:32:03]Content-Type: application/json [00:32:03] [00:32:03]POST finish read [00:32:03]Found Content-Length = 215 [00:32:03]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:32:03]execute_script... [00:32:03]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:32:03]POST & json_proto [00:32:03]process_json_proto [00:32:03]json parsed OK: [00:32:03]protocol is kg_v1.0 [00:32:03]action value=get_value [00:32:03]process_action get_value [00:32:03]cmd_get_value [00:32:03]process_action get_value done [00:32:03]requested_data is exist [00:32:03]produce_requested_data [00:32:03]requested_item kkm.sn is exist - process it [00:32:03]requested_item kkm.ver is exist - process it [00:32:03]requested_item fm.sn is exist - process it [00:32:03]wFMCommunicate request_size=4 [00:32:03]MH_SAM_APDU [00:32:03]CAPDU: 80 11 00 00 [00:32:03]Write to MH i2c: E2 08 00 55 11 80 11 00 00 00 00 00 00 E0 [00:32:03]Write i2c OK [00:32:03]MH_I2C_Read... [00:32:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:32:03]Read from MH i2c: E2 [00:32:03]MH_I2C_Read... [00:32:03]Read from MH i2c: E2 17 00 [00:32:03]MH_I2C_Read... [00:32:03]Read from MH i2c: E2 17 00 55 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 3A [00:32: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:32:03]wFMCommunicate OK [00:32:03]requested_item fd.num is exist - process it [00:32:03]SAM_PROTO_GetFieldsCounters [00:32:03]wFMCommunicate request_size=4 [00:32:03]MH_SAM_APDU [00:32:03]CAPDU: 80 13 00 00 [00:32:03]Write to MH i2c: E2 08 00 56 11 80 13 00 00 00 00 00 00 E3 [00:32:03]Write i2c OK [00:32:03]MH_I2C_Read... [00:32:03]Read from MH i2c: E2 [00:32:03]MH_I2C_Read... [00:32:03]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:32:03]Read from MH i2c: E2 62 00 [00:32:03]MH_I2C_Read... [00:32:03]Read from MH i2c: E2 62 00 56 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 9D DF 00 00 0E 04 04 00 F1 01 00 00 12 04 04 00 8B 00 00 00 5E 04 04 00 8B 00 00 00 57 04 04 00 8D 00 00 00 19 04 04 00 00 00 00 00 90 00 16 [00:32: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 9D DF 00 00 0E 04 04 00 F1 01 00 00 12 04 04 00 8B 00 00 00 5E 04 04 00 8B 00 00 00 57 04 04 00 8D 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:32:03]wFMCommunicate OK [00:32:03]SAM_PROTO_GetFieldsCounters done [00:32:03]requested_item shift.num is exist - process it [00:32:03]requested_item shift.opened is exist - process it [00:32:03]req_shift_opened [00:32:03]FM_GetShiftState [00:32:03]SAM_PROTO_GetShiftState [00:32:03]wFMCommunicate request_size=4 [00:32:03]MH_SAM_APDU [00:32:03]CAPDU: 80 13 01 00 [00:32:03]Write to MH i2c: E2 08 00 57 11 80 13 01 00 00 00 00 00 E5 [00:32:03]Write i2c OK [00:32:03]MH_I2C_Read... [00:32:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:32:03]Read from MH i2c: E2 [00:32:03]MH_I2C_Read... [00:32:03]Read from MH i2c: E2 0E 00 [00:32:03]MH_I2C_Read... [00:32:03]Read from MH i2c: E2 0E 00 57 11 00 09 00 00 00 00 00 00 00 00 00 00 90 00 F0 [00:32:03]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:32:03]wFMCommunicate OK [00:32:03]SAM_PROTO_GetShiftState done [00:32:03]FM_GetShiftState done [00:32:03]req_shift_opened done [00:32:03]requested_item shift.open_date is exist - process it [00:32:03]req_shift_open_date [00:32:03]FM_GetShiftState [00:32:03]SAM_PROTO_GetShiftState [00:32:03]wFMCommunicate request_size=4 [00:32:03]MH_SAM_APDU [00:32:03]CAPDU: 80 13 01 00 [00:32:03]Write to MH i2c: E2 08 00 58 11 80 13 01 00 00 00 00 00 E6 [00:32:03]Write i2c OK [00:32:03]MH_I2C_Read... [00:32:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:32:03]Read from MH i2c: E2 [00:32:03]MH_I2C_Read... [00:32:03]Read from MH i2c: E2 0E 00 [00:32:03]MH_I2C_Read... [00:32:03]Read from MH i2c: E2 0E 00 58 11 00 09 00 00 00 00 00 00 00 00 00 00 90 00 F1 [00:32:03]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:32:03]wFMCommunicate OK [00:32:03]SAM_PROTO_GetShiftState done [00:32:03]FM_GetShiftState done [00:32:03]req_shift_open_date done [00:32:03]produce_requested_data done [00:32:03]produce_requested_data return {"kkm.sn":"0300000132","kkm.ver":"001","fm.sn":"0000000000874857","fd.num":57245,"shift.num":497,"shift.opened":0,"shift.open_date":0} [00:32:03]process_action_free get_value [00:32:03]json_value_free [00:32:03]json_value_free done [00:32:03]process_json_proto returns [00:32:03]Send response to host [00:32:03]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000132","kkm.ver":"001","fm.sn":"0000000000874857","fd.num":57245,"shift.num":497,"shift.opened":0,"shift.open_date":0}}} [00:32:03]free response buf [00:32:03]execute_script done [00:32:03]execute_script returns [00:32:03]free content buf [00:32:03]Sock 9.Close socket [00:32:03]Sock 9.Thread stoped [00:32:03]accept exits with 7 [00:32:03]New connection [00:32:03]New thread 3066871140 created [00:32:03]Thread 3067014500 joined [00:32:03]Waiting for new connection... [00:32:03] Sock 7.Parse request [00:32:03]Sock 7.Check first char [00:32:03]Sock 7.First char is OK [00:32:03]request: POST /json_proto HTTP/1.0 [00:32:03]Method: POST [00:32:03]URL: /json_proto [00:32:03]Method is POST - this is cgi request [00:32:03]url: /json_proto [00:32:03]query_string will be loaded in cgi processing [00:32:03]execute_cgi json_proto POST (null) [00:32:03]execute_cgi path=json_proto method=POST [00:32:03]POST find Content-Length [00:32:03]Host: 172.17.39.4:8080 [00:32:03]Content-Length: 331 [00:32:03]Content-Type: application/json [00:32:03] [00:32:03]POST finish read [00:32:03]Found Content-Length = 331 [00:32:03]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:32:03]execute_script... [00:32:03]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:03]POST & json_proto [00:32:03]process_json_proto [00:32:03]json parsed OK: [00:32:03]protocol is kg_v1.0 [00:32:03]action value=get_value [00:32:03]process_action get_value [00:32:03]cmd_get_value [00:32:03]process_action get_value done [00:32:03]requested_data is exist [00:32:03]produce_requested_data [00:32:03]requested_item fm.sale.total is exist - process it [00:32:03]SAM_PROTO_GetFMData [00:32:03]wFMCommunicate request_size=4 [00:32:03]MH_SAM_APDU [00:32:03]CAPDU: 80 13 03 00 [00:32:03]Write to MH i2c: E2 08 00 59 11 80 13 03 00 00 00 00 00 E9 [00:32:03]Write i2c OK [00:32:03]MH_I2C_Read... [00:32:04]*** iso7816_exchange 80 13 03 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 59 11 00 C4 04 85 04 C0 04 6E 04 04 00 B9 DB 00 00 69 04 A0 00 6F 04 04 00 07 DB 00 00 B1 04 04 00 82 15 C5 6D 70 04 04 00 DC 00 62 61 72 04 04 00 A6 14 63 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 11 8E A8 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 76 9E 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 B2 00 00 00 B1 04 04 00 38 6C 69 01 70 04 04 00 6C 1A 5F 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 A0 62 26 EF 03 09 00 90 00 5F [00:32:04]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 B9 DB 00 00 69 04 A0 00 6F 04 04 00 07 DB 00 00 B1 04 04 00 82 15 C5 6D 70 04 04 00 DC 00 62 61 72 04 04 00 A6 14 63 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 11 8E A8 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 76 9E 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 B2 00 00 00 B1 04 04 00 38 6C 69 01 70 04 04 00 6C 1A 5F 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 A0 62 26 EF 03 09 00 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 5A 11 80 17 00 00 00 00 00 00 EB [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 = 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 5A 11 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 CF 32 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 A5 [00:32:04]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 CF 32 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: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 5B 11 80 17 00 00 00 00 00 00 EC [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 = 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 5B 11 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 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:32:04]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: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 5C 11 80 17 00 00 00 00 00 00 ED [00:32:04]Write i2c OK [00:32:04]MH_I2C_Read... [00:32:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:32:05]Read from MH i2c: E2 [00:32:05]MH_I2C_Read... [00:32:05]Read from MH i2c: E2 FD 00 [00:32:05]MH_I2C_Read... [00:32:05]Read from MH i2c: E2 FD 00 5C 11 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:32:05]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:05]wFMCommunicate OK [00:32:05]wFMCommunicate request_size=4 [00:32:05]MH_SAM_APDU [00:32:05]CAPDU: 80 17 00 00 [00:32:05]Write to MH i2c: E2 08 00 5D 11 80 17 00 00 00 00 00 00 EE [00:32:05]Write i2c OK [00:32:05]MH_I2C_Read... [00:32:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [00:32:05]Read from MH i2c: E2 [00:32:05]MH_I2C_Read... [00:32:05]Read from MH i2c: E2 E1 00 [00:32:05]MH_I2C_Read... [00:32:05]Read from MH i2c: E2 E1 00 5D 11 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:32:05]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:05]wFMCommunicate OK [00:32:05]SAM_PROTO_GetFMData done [00:32:05]requested_item fm.sale_refund.total is exist - process it [00:32:05]requested_item fm.buy.total is exist - process it [00:32:05]requested_item shift.sale.total is exist - process it [00:32:05]SAM_PROTO_GetShiftData [00:32:05]wFMCommunicate request_size=4 [00:32:05]MH_SAM_APDU [00:32:05]CAPDU: 80 13 02 00 [00:32:05]Write to MH i2c: E2 08 00 5E 11 80 13 02 00 00 00 00 00 ED [00:32:05]Write i2c OK [00:32:05]MH_I2C_Read... [00:32:06]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:32:06]Read from MH i2c: E2 [00:32:06]MH_I2C_Read... [00:32:06]Read from MH i2c: E2 FD 00 [00:32:06]MH_I2C_Read... [00:32:06]Read from MH i2c: E2 FD 00 5E 11 00 B6 04 AA 04 B2 04 6E 04 04 00 8B 00 00 00 69 04 9B 00 6F 04 04 00 8A 00 00 00 B1 04 03 00 3F 0C 41 70 04 03 00 E8 FD 32 72 04 03 00 57 0E 0E 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 8D E8 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 5B 93 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 E3 [00:32:06]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 8B 00 00 00 69 04 9B 00 6F 04 04 00 8A 00 00 00 B1 04 03 00 3F 0C 41 70 04 03 00 E8 FD 32 72 04 03 00 57 0E 0E 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 8D E8 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 5B 93 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 [00:32:06]wFMCommunicate OK [00:32:06]wFMCommunicate request_size=4 [00:32:06]MH_SAM_APDU [00:32:06]CAPDU: 80 17 00 00 [00:32:06]Write to MH i2c: E2 08 00 5F 11 80 17 00 00 00 00 00 00 F0 [00:32:06]Write i2c OK [00:32:06]MH_I2C_Read... [00:32:06]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:32:06]Read from MH i2c: E2 [00:32:06]MH_I2C_Read... [00:32:06]Read from MH i2c: E2 FD 00 [00:32:06]MH_I2C_Read... [00:32:06]Read from MH i2c: E2 FD 00 5F 11 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 25 [00:32:06]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 [00:32:06]wFMCommunicate OK [00:32:06]wFMCommunicate request_size=4 [00:32:06]MH_SAM_APDU [00:32:06]CAPDU: 80 17 00 00 [00:32:06]Write to MH i2c: E2 08 00 60 11 80 17 00 00 00 00 00 00 F1 [00:32:06]Write i2c OK [00:32:06]MH_I2C_Read... [00:32:06]OFD Sender: No OFD packet to send [00:32:06]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:32:06]Read from MH i2c: E2 [00:32:06]MH_I2C_Read... [00:32:06]Read from MH i2c: E2 FD 00 [00:32:06]MH_I2C_Read... [00:32:06]Read from MH i2c: E2 FD 00 60 11 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 B1 [00:32:06]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 [00:32:06]wFMCommunicate OK [00:32:06]wFMCommunicate request_size=4 [00:32:06]MH_SAM_APDU [00:32:06]CAPDU: 80 17 00 00 [00:32:06]Write to MH i2c: E2 08 00 61 11 80 17 00 00 00 00 00 00 F2 [00:32:06]Write i2c OK [00:32:06]MH_I2C_Read... [00:32:07]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:32:07]Read from MH i2c: E2 [00:32:07]MH_I2C_Read... [00:32:07]Read from MH i2c: E2 FD 00 [00:32:07]MH_I2C_Read... [00:32:07]Read from MH i2c: E2 FD 00 61 11 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 61 [00:32:07]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 [00:32:07]wFMCommunicate OK [00:32:07]wFMCommunicate request_size=4 [00:32:07]MH_SAM_APDU [00:32:07]CAPDU: 80 17 00 00 [00:32:07]Write to MH i2c: E2 08 00 62 11 80 17 00 00 00 00 00 00 F3 [00:32:07]Write i2c OK [00:32:07]MH_I2C_Read... [00:32:07]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [00:32:07]Read from MH i2c: E2 [00:32:07]MH_I2C_Read... [00:32:07]Read from MH i2c: E2 D3 00 [00:32:07]MH_I2C_Read... [00:32:07]Read from MH i2c: E2 D3 00 62 11 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 E0 [00:32:07]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 [00:32:07]wFMCommunicate OK [00:32:07]SAM_PROTO_GetShiftData done [00:32:07]requested_item shift.sale.total_cash is exist - process it [00:32:07]requested_item shift.sale_refund.total is exist - process it [00:32:07]requested_item shift.sale_refund.total_cash is exist - process it [00:32:07]requested_item shift.buy.total is exist - process it [00:32:07]requested_item shift.buy.total_cash is exist - process it [00:32:07]produce_requested_data done [00:32:07]produce_requested_data return {"fm.sale.total":18416326.42,"fm.sale_refund.total":236862.00,"fm.buy.total":0.00,"shift.sale.total":42629.75,"shift.sale.total_cash":33418.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [00:32:07]process_action_free get_value [00:32:07]json_value_free [00:32:07]json_value_free done [00:32:07]process_json_proto returns [00:32:07]Send response to host [00:32:07]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":18416326.42,"fm.sale_refund.total":236862.00,"fm.buy.total":0.00,"shift.sale.total":42629.75,"shift.sale.total_cash":33418.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [00:32:07]free response buf [00:32:07]execute_script done [00:32:07]execute_script returns [00:32:07]free content buf [00:32:07]Sock 7.Close socket [00:32:07]Sock 7.Thread stoped [00:32:07]accept exits with 9 [00:32:07]New connection [00:32:07]New thread 3067014500 created [00:32:07]Thread 3066871140 joined [00:32:07]Waiting for new connection... [00:32:07] Sock 9.Parse request [00:32:07]Sock 9.Check first char [00:32:07]Sock 9.First char is OK [00:32:07]request: POST /json_proto HTTP/1.0 [00:32:07]Method: POST [00:32:07]URL: /json_proto [00:32:07]Method is POST - this is cgi request [00:32:07]url: /json_proto [00:32:07]query_string will be loaded in cgi processing [00:32:07]execute_cgi json_proto POST (null) [00:32:07]execute_cgi path=json_proto method=POST [00:32:07]POST find Content-Length [00:32:07]Host: 172.17.39.4:8080 [00:32:07]Content-Length: 271 [00:32:07]Content-Type: application/json [00:32:07] [00:32:07]POST finish read [00:32:07]Found Content-Length = 271 [00:32:07]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "open_shift", "params" : { "operator" : "\u042D\u0441\u0442\u0435\u0431\u0435\u0441\u043E\u0432\u0430 \u0420. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:32:07]execute_script... [00:32:07]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "open_shift", "params" : { "operator" : "\u042D\u0441\u0442\u0435\u0431\u0435\u0441\u043E\u0432\u0430 \u0420. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:32:07]POST & json_proto [00:32:07]process_json_proto [00:32:07]json parsed OK: [00:32:07]protocol is kg_v1.0 [00:32:07]action value=open_shift [00:32:07]process_action open_shift [00:32:07]cmd_open_shift [00:32:07]MH_GetDate [00:32:07]Write to MH i2c: F0 00 00 63 11 63 [00:32:07]Write i2c OK [00:32:07]MH_I2C_Read... [00:32:07]Read from MH i2c: F0 [00:32:07]MH_I2C_Read... [00:32:07]Read from MH i2c: F0 09 00 [00:32:07]MH_I2C_Read... [00:32:07]Read from MH i2c: F0 09 00 63 11 00 8A BF 95 66 2D 25 5D 64 C3 [00:32:07]GetLastDocTimeStamp 1721089863 [00:32:07]current date 1721089930 [00:32:07]FM_GetShiftState [00:32:07]SAM_PROTO_GetShiftState [00:32:07]wFMCommunicate request_size=4 [00:32:07]MH_SAM_APDU [00:32:07]CAPDU: 80 13 01 00 [00:32:07]Write to MH i2c: E2 08 00 64 11 80 13 01 00 00 00 00 00 F2 [00:32:07]Write i2c OK [00:32:07]MH_I2C_Read... [00:32:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:32:07]Read from MH i2c: E2 [00:32:07]MH_I2C_Read... [00:32:07]Read from MH i2c: E2 0E 00 [00:32:07]MH_I2C_Read... [00:32:07]Read from MH i2c: E2 0E 00 64 11 00 09 00 00 00 00 00 00 00 00 00 00 90 00 FD [00:32:07]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:32:07]wFMCommunicate OK [00:32:07]SAM_PROTO_GetShiftState done [00:32:07]FM_GetShiftState done [00:32:07]KKMCreateOpenShiftDocument [00:32:07]Load OK [00:32:07]Malloc new data [00:32:07]MH_GetDate [00:32:07]Write to MH i2c: F0 00 00 65 11 65 [00:32:07]Write i2c OK [00:32:07]MH_I2C_Read... [00:32:07]Read from MH i2c: F0 [00:32:07]MH_I2C_Read... [00:32:07]Read from MH i2c: F0 09 00 [00:32:07]MH_I2C_Read... [00:32:07]Read from MH i2c: F0 09 00 65 11 00 8A BF 95 66 2D 25 5D 64 C5 [00:32:07]Malloc new data [00:32:07]KKMCreateOpenShiftDocument OK [00:32:07]KKMSetOpenShiftData OK [00:32:07]ProcessDocumentItem done err = 0, tmpTLVsize=203 [00:32:07]tlvbuf is 00AD3010 [00:32:07]KKMLoadAndSignOpenShiftData [00:32:07]SAM_PROTO_ProcessDocument [00:32:07]wFMCommunicate request_size=9 [00:32:07]MH_SAM_APDU [00:32:07]CAPDU: 80 15 01 00 04 02 00 CB 00 [00:32:07]Write to MH i2c: E2 0C 00 66 11 80 15 01 00 04 00 02 00 CB 00 00 00 CB [00:32:07]Write i2c OK [00:32:07]MH_I2C_Read... [00:32:08]*** iso7816_exchange 80 15 01 00... Resp OK rsp.len_out = 0! [00:32:08]Read from MH i2c: E2 [00:32:08]MH_I2C_Read... [00:32:08]Read from MH i2c: E2 03 00 [00:32:08]MH_I2C_Read... [00:32:08]Read from MH i2c: E2 03 00 66 11 00 90 00 EB [00:32:08]RAPDU: 90 00 [00:32:08]wFMCommunicate OK [00:32:08]wFMCommunicate request_size=23 [00:32:08]MH_SAM_APDU [00:32:08]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:08]Write to MH i2c: E2 1A 00 67 11 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 ED [00:32:08]Write i2c OK [00:32:08]MH_I2C_Read... [00:32:08]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:32:08]Read from MH i2c: E2 [00:32:08]MH_I2C_Read... [00:32:08]Read from MH i2c: E2 03 00 [00:32:08]MH_I2C_Read... [00:32:08]Read from MH i2c: E2 03 00 67 11 00 90 00 EC [00:32:08]RAPDU: 90 00 [00:32:08]wFMCommunicate OK [00:32:08]wFMCommunicate request_size=34 [00:32:08]MH_SAM_APDU [00:32:08]CAPDU: 80 15 02 00 1D FD 03 19 00 D0 AD D1 81 D1 82 D0 B5 D0 B1 D0 B5 D1 81 D0 BE D0 B2 D0 B0 20 D0 A0 2E 20 [00:32:08]Write to MH i2c: E2 25 00 68 11 80 15 02 00 1D 00 FD 03 19 00 D0 AD D1 81 D1 82 D0 B5 D0 B1 D0 B5 D1 81 D0 BE D0 B2 D0 B0 20 D0 A0 2E 20 00 00 B9 [00:32:08]Write i2c OK [00:32:08]MH_I2C_Read... [00:32:08]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:32:08]Read from MH i2c: E2 [00:32:08]MH_I2C_Read... [00:32:08]Read from MH i2c: E2 03 00 [00:32:08]MH_I2C_Read... [00:32:08]Read from MH i2c: E2 03 00 68 11 00 90 00 ED [00:32:08]RAPDU: 90 00 [00:32:08]wFMCommunicate OK [00:32:08]wFMCommunicate request_size=87 [00:32:08]MH_SAM_APDU [00:32:08]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:08]Write to MH i2c: E2 5A 00 69 11 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 A0 [00:32:08]Write i2c OK [00:32:08]MH_I2C_Read... [00:32:08]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:32:08]Read from MH i2c: E2 [00:32:08]MH_I2C_Read... [00:32:08]Read from MH i2c: E2 03 00 [00:32:08]MH_I2C_Read... [00:32:08]Read from MH i2c: E2 03 00 69 11 00 90 00 EE [00:32:08]RAPDU: 90 00 [00:32:08]wFMCommunicate OK [00:32:08]wFMCommunicate request_size=51 [00:32:08]MH_SAM_APDU [00:32:08]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:08]Write to MH i2c: E2 36 00 6A 11 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 A3 [00:32:08]Write i2c OK [00:32:08]MH_I2C_Read... [00:32:08]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:32:08]Read from MH i2c: E2 [00:32:08]MH_I2C_Read... [00:32:08]Read from MH i2c: E2 03 00 [00:32:08]MH_I2C_Read... [00:32:08]Read from MH i2c: E2 03 00 6A 11 00 90 00 EF [00:32:08]RAPDU: 90 00 [00:32:08]wFMCommunicate OK [00:32:08]wFMCommunicate request_size=13 [00:32:08]MH_SAM_APDU [00:32:08]CAPDU: 80 15 02 00 08 F4 03 04 00 8A BF 95 66 [00:32:08]Write to MH i2c: E2 10 00 6B 11 80 15 02 00 08 00 F4 03 04 00 8A BF 95 66 00 00 4B [00:32:08]Write i2c OK [00:32:08]MH_I2C_Read... [00:32:08]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:32:08]Read from MH i2c: E2 [00:32:08]MH_I2C_Read... [00:32:08]Read from MH i2c: E2 03 00 [00:32:08]MH_I2C_Read... [00:32:08]Read from MH i2c: E2 03 00 6B 11 00 90 00 F0 [00:32:08]RAPDU: 90 00 [00:32:08]wFMCommunicate OK [00:32:08]wFMCommunicate request_size=25 [00:32:08]MH_SAM_APDU [00:32:08]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:08]Write to MH i2c: E2 1C 00 6C 11 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 5A [00:32:08]Write i2c OK [00:32:08]MH_I2C_Read... [00:32:08]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:32:08]Read from MH i2c: E2 [00:32:08]MH_I2C_Read... [00:32:08]Read from MH i2c: E2 03 00 [00:32:08]MH_I2C_Read... [00:32:08]Read from MH i2c: E2 03 00 6C 11 00 90 00 F1 [00:32:08]RAPDU: 90 00 [00:32:08]wFMCommunicate OK [00:32:08]wFMCommunicate request_size=4 [00:32:08]MH_SAM_APDU [00:32:08]CAPDU: 80 15 03 00 [00:32:08]Write to MH i2c: E2 08 00 6D 11 80 15 03 00 00 00 00 00 FF [00:32:08]Write i2c OK [00:32:08]MH_I2C_Read... [00:32:08]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 53! [00:32:08]Read from MH i2c: E2 [00:32:08]MH_I2C_Read... [00:32:08]Read from MH i2c: E2 38 00 [00:32:08]MH_I2C_Read... [00:32:08]Read from MH i2c: E2 38 00 6D 11 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 9E DF 00 00 0E 04 04 00 F2 01 00 00 35 04 06 00 81 F2 6A 5F 9E D3 90 00 EF [00:32:08]RAPDU: 33 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 9E DF 00 00 0E 04 04 00 F2 01 00 00 35 04 06 00 81 F2 6A 5F 9E D3 90 00 [00:32:08]wFMCommunicate OK [00:32:08]SAM_PROTO_ProcessDocument answer len = 51 [00:32:08]SAM_PROTO_ProcessDocument done [00:32:08]SetTLVBufToDocument [00:32:08]Processing tag 1209 (04B9) [00:32:08]Malloc new data [00:32:08]Processing tag 1041 (0411) [00:32:08]Processing tag 1040 (0410) [00:32:08]Malloc new data [00:32:08]Processing tag 1038 (040E) [00:32:08]Malloc new data [00:32:08]Processing tag 1077 (0435) [00:32:08]Malloc new data [00:32:08]SetTLVBufToDocument err=0 [00:32:08]KKMLoadAndSignOpenShiftData store KKM data [00:32:08]KKMLoadAndSignOpenShiftData err=0 [00:32:08]Отчет об открытии смены ФФД: 1.0 ИНН: 02508201610067 Кассир: Эстебесова Р. Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 Место: АЗС № 132 "Партнер Нефть" 16.07.2024 00:32 Смена: 498 РНМ: 0000000000091208 ЗНМ: 0300000132 ФД: 57246 ФМ: 0000000000874857 ФПД: 142878166720211 [00:32:08]StoreToDocumentArchive [00:32:08]shift 498 fd 57246 [00:32:08]Create dir for shift 0498 [00:32:08]save to /storage/0498/doc_00057246 [00:32:09]save last doc name /storage/0498/doc_00057246 to /storage/kkm_last_doc_name [00:32:09]save OK [00:32:09]Clear old archive folders... [00:32:09]Remove dir /storage/0497 [00:32:09]opendir ok [00:32:09]file . [00:32:09]file .. [00:32:09]file doc_00057105 [00:32:09]remove file /storage/0497/doc_00057105 [00:32:09]file doc_00057106 [00:32:09]remove file /storage/0497/doc_00057106 [00:32:09]file doc_00057107 [00:32:09]remove file /storage/0497/doc_00057107 [00:32:09]file doc_00057108 [00:32:09]remove file /storage/0497/doc_00057108 [00:32:09]file doc_00057109 [00:32:09]remove file /storage/0497/doc_00057109 [00:32:09]file doc_00057110 [00:32:09]remove file /storage/0497/doc_00057110 [00:32:09]file doc_00057111 [00:32:09]remove file /storage/0497/doc_00057111 [00:32:09]file doc_00057112 [00:32:09]remove file /storage/0497/doc_00057112 [00:32:09]file doc_00057113 [00:32:09]remove file /storage/0497/doc_00057113 [00:32:09]file doc_00057114 [00:32:09]remove file /storage/0497/doc_00057114 [00:32:09]file doc_00057115 [00:32:09]remove file /storage/0497/doc_00057115 [00:32:09]file doc_00057116 [00:32:09]remove file /storage/0497/doc_00057116 [00:32:09]file doc_00057117 [00:32:09]remove file /storage/0497/doc_00057117 [00:32:09]file doc_00057118 [00:32:09]remove file /storage/0497/doc_00057118 [00:32:09]file doc_00057119 [00:32:09]remove file /storage/0497/doc_00057119 [00:32:09]file doc_00057120 [00:32:09]remove file /storage/0497/doc_00057120 [00:32:09]file doc_00057121 [00:32:09]remove file /storage/0497/doc_00057121 [00:32:09]file doc_00057122 [00:32:09]remove file /storage/0497/doc_00057122 [00:32:09]file doc_00057123 [00:32:09]remove file /storage/0497/doc_00057123 [00:32:09]file doc_00057124 [00:32:09]remove file /storage/0497/doc_00057124 [00:32:09]file doc_00057125 [00:32:09]remove file /storage/0497/doc_00057125 [00:32:09]file doc_00057126 [00:32:09]remove file /storage/0497/doc_00057126 [00:32:09]file doc_00057127 [00:32:09]remove file /storage/0497/doc_00057127 [00:32:09]file doc_00057128 [00:32:09]remove file /storage/0497/doc_00057128 [00:32:09]file doc_00057129 [00:32:09]remove file /storage/0497/doc_00057129 [00:32:09]file doc_00057130 [00:32:09]remove file /storage/0497/doc_00057130 [00:32:09]file doc_00057131 [00:32:09]remove file /storage/0497/doc_00057131 [00:32:09]file doc_00057132 [00:32:09]remove file /storage/0497/doc_00057132 [00:32:09]file doc_00057133 [00:32:09]remove file /storage/0497/doc_00057133 [00:32:09]file doc_00057134 [00:32:09]remove file /storage/0497/doc_00057134 [00:32:09]file doc_00057135 [00:32:09]remove file /storage/0497/doc_00057135 [00:32:09]file doc_00057136 [00:32:09]remove file /storage/0497/doc_00057136 [00:32:09]file doc_00057137 [00:32:09]remove file /storage/0497/doc_00057137 [00:32:09]file doc_00057138 [00:32:09]remove file /storage/0497/doc_00057138 [00:32:09]file doc_00057139 [00:32:09]remove file /storage/0497/doc_00057139 [00:32:09]file doc_00057140 [00:32:09]remove file /storage/0497/doc_00057140 [00:32:09]file doc_00057141 [00:32:09]remove file /storage/0497/doc_00057141 [00:32:09]file doc_00057142 [00:32:09]remove file /storage/0497/doc_00057142 [00:32:09]file doc_00057143 [00:32:09]remove file /storage/0497/doc_00057143 [00:32:09]file doc_00057144 [00:32:09]remove file /storage/0497/doc_00057144 [00:32:09]file doc_00057145 [00:32:09]remove file /storage/0497/doc_00057145 [00:32:09]file doc_00057146 [00:32:09]remove file /storage/0497/doc_00057146 [00:32:09]file doc_00057147 [00:32:09]remove file /storage/0497/doc_00057147 [00:32:09]file doc_00057148 [00:32:09]remove file /storage/0497/doc_00057148 [00:32:09]file doc_00057149 [00:32:09]remove file /storage/0497/doc_00057149 [00:32:09]file doc_00057150 [00:32:09]remove file /storage/0497/doc_00057150 [00:32:09]file doc_00057151 [00:32:09]remove file /storage/0497/doc_00057151 [00:32:09]file doc_00057152 [00:32:09]remove file /storage/0497/doc_00057152 [00:32:09]file doc_00057153 [00:32:09]remove file /storage/0497/doc_00057153 [00:32:09]file doc_00057154 [00:32:09]remove file /storage/0497/doc_00057154 [00:32:09]file doc_00057155 [00:32:09]remove file /storage/0497/doc_00057155 [00:32:09]file doc_00057156 [00:32:09]remove file /storage/0497/doc_00057156 [00:32:09]file doc_00057157 [00:32:09]remove file /storage/0497/doc_00057157 [00:32:09]file doc_00057158 [00:32:09]remove file /storage/0497/doc_00057158 [00:32:09]file doc_00057159 [00:32:09]remove file /storage/0497/doc_00057159 [00:32:09]file doc_00057160 [00:32:09]remove file /storage/0497/doc_00057160 [00:32:09]file doc_00057161 [00:32:09]remove file /storage/0497/doc_00057161 [00:32:09]file doc_00057162 [00:32:09]remove file /storage/0497/doc_00057162 [00:32:09]file doc_00057163 [00:32:09]remove file /storage/0497/doc_00057163 [00:32:09]file doc_00057164 [00:32:09]remove file /storage/0497/doc_00057164 [00:32:09]file doc_00057165 [00:32:09]remove file /storage/0497/doc_00057165 [00:32:09]file doc_00057166 [00:32:09]remove file /storage/0497/doc_00057166 [00:32:09]file doc_00057167 [00:32:09]remove file /storage/0497/doc_00057167 [00:32:09]file doc_00057168 [00:32:09]remove file /storage/0497/doc_00057168 [00:32:09]file doc_00057169 [00:32:09]remove file /storage/0497/doc_00057169 [00:32:09]file doc_00057170 [00:32:09]remove file /storage/0497/doc_00057170 [00:32:09]file doc_00057171 [00:32:09]remove file /storage/0497/doc_00057171 [00:32:09]file doc_00057172 [00:32:09]remove file /storage/0497/doc_00057172 [00:32:09]file doc_00057173 [00:32:09]remove file /storage/0497/doc_00057173 [00:32:09]file doc_00057174 [00:32:09]remove file /storage/0497/doc_00057174 [00:32:09]file doc_00057175 [00:32:09]remove file /storage/0497/doc_00057175 [00:32:09]file doc_00057176 [00:32:09]remove file /storage/0497/doc_00057176 [00:32:09]file doc_00057177 [00:32:09]remove file /storage/0497/doc_00057177 [00:32:09]file doc_00057178 [00:32:09]remove file /storage/0497/doc_00057178 [00:32:09]file doc_00057179 [00:32:09]remove file /storage/0497/doc_00057179 [00:32:09]file doc_00057180 [00:32:09]remove file /storage/0497/doc_00057180 [00:32:09]file doc_00057181 [00:32:09]remove file /storage/0497/doc_00057181 [00:32:09]file doc_00057182 [00:32:09]remove file /storage/0497/doc_00057182 [00:32:09]file doc_00057183 [00:32:09]remove file /storage/0497/doc_00057183 [00:32:09]file doc_00057184 [00:32:09]remove file /storage/0497/doc_00057184 [00:32:09]file doc_00057185 [00:32:09]remove file /storage/0497/doc_00057185 [00:32:09]file doc_00057186 [00:32:09]remove file /storage/0497/doc_00057186 [00:32:09]file doc_00057187 [00:32:09]remove file /storage/0497/doc_00057187 [00:32:09]file doc_00057188 [00:32:09]remove file /storage/0497/doc_00057188 [00:32:09]file doc_00057189 [00:32:09]remove file /storage/0497/doc_00057189 [00:32:09]file doc_00057190 [00:32:09]remove file /storage/0497/doc_00057190 [00:32:09]file doc_00057191 [00:32:09]remove file /storage/0497/doc_00057191 [00:32:09]file doc_00057192 [00:32:09]remove file /storage/0497/doc_00057192 [00:32:09]file doc_00057193 [00:32:09]remove file /storage/0497/doc_00057193 [00:32:09]file doc_00057194 [00:32:09]remove file /storage/0497/doc_00057194 [00:32:09]file doc_00057195 [00:32:09]remove file /storage/0497/doc_00057195 [00:32:09]file doc_00057196 [00:32:09]remove file /storage/0497/doc_00057196 [00:32:09]file doc_00057197 [00:32:09]remove file /storage/0497/doc_00057197 [00:32:09]file doc_00057198 [00:32:09]remove file /storage/0497/doc_00057198 [00:32:09]file doc_00057199 [00:32:09]remove file /storage/0497/doc_00057199 [00:32:09]file doc_00057200 [00:32:09]remove file /storage/0497/doc_00057200 [00:32:09]file doc_00057201 [00:32:09]remove file /storage/0497/doc_00057201 [00:32:09]file doc_00057202 [00:32:09]remove file /storage/0497/doc_00057202 [00:32:09]file doc_00057203 [00:32:09]remove file /storage/0497/doc_00057203 [00:32:09]file doc_00057204 [00:32:09]remove file /storage/0497/doc_00057204 [00:32:09]file doc_00057205 [00:32:09]remove file /storage/0497/doc_00057205 [00:32:09]file doc_00057206 [00:32:09]remove file /storage/0497/doc_00057206 [00:32:09]file doc_00057207 [00:32:09]remove file /storage/0497/doc_00057207 [00:32:09]file doc_00057208 [00:32:09]remove file /storage/0497/doc_00057208 [00:32:09]file doc_00057209 [00:32:09]remove file /storage/0497/doc_00057209 [00:32:09]file doc_00057210 [00:32:09]remove file /storage/0497/doc_00057210 [00:32:09]file doc_00057211 [00:32:09]remove file /storage/0497/doc_00057211 [00:32:09]file doc_00057212 [00:32:09]remove file /storage/0497/doc_00057212 [00:32:09]file doc_00057213 [00:32:09]remove file /storage/0497/doc_00057213 [00:32:09]file doc_00057214 [00:32:09]remove file /storage/0497/doc_00057214 [00:32:09]file doc_00057215 [00:32:09]remove file /storage/0497/doc_00057215 [00:32:09]file doc_00057216 [00:32:09]remove file /storage/0497/doc_00057216 [00:32:09]file doc_00057217 [00:32:09]remove file /storage/0497/doc_00057217 [00:32:09]file doc_00057218 [00:32:09]remove file /storage/0497/doc_00057218 [00:32:09]file doc_00057219 [00:32:09]remove file /storage/0497/doc_00057219 [00:32:09]file doc_00057220 [00:32:09]remove file /storage/0497/doc_00057220 [00:32:09]file doc_00057221 [00:32:09]remove file /storage/0497/doc_00057221 [00:32:09]file doc_00057222 [00:32:09]remove file /storage/0497/doc_00057222 [00:32:09]file doc_00057223 [00:32:09]remove file /storage/0497/doc_00057223 [00:32:09]file doc_00057224 [00:32:09]remove file /storage/0497/doc_00057224 [00:32:09]file doc_00057225 [00:32:09]remove file /storage/0497/doc_00057225 [00:32:09]file doc_00057226 [00:32:09]remove file /storage/0497/doc_00057226 [00:32:09]file doc_00057227 [00:32:09]remove file /storage/0497/doc_00057227 [00:32:09]file doc_00057228 [00:32:09]remove file /storage/0497/doc_00057228 [00:32:09]file doc_00057229 [00:32:09]remove file /storage/0497/doc_00057229 [00:32:09]file doc_00057230 [00:32:09]remove file /storage/0497/doc_00057230 [00:32:09]file doc_00057231 [00:32:09]remove file /storage/0497/doc_00057231 [00:32:09]file doc_00057232 [00:32:09]remove file /storage/0497/doc_00057232 [00:32:09]file doc_00057233 [00:32:09]remove file /storage/0497/doc_00057233 [00:32:09]file doc_00057234 [00:32:09]remove file /storage/0497/doc_00057234 [00:32:09]file doc_00057235 [00:32:09]remove file /storage/0497/doc_00057235 [00:32:09]file doc_00057236 [00:32:09]remove file /storage/0497/doc_00057236 [00:32:09]file doc_00057237 [00:32:09]remove file /storage/0497/doc_00057237 [00:32:09]file doc_00057238 [00:32:09]remove file /storage/0497/doc_00057238 [00:32:09]file doc_00057239 [00:32:09]remove file /storage/0497/doc_00057239 [00:32:09]file doc_00057240 [00:32:09]remove file /storage/0497/doc_00057240 [00:32:09]file doc_00057241 [00:32:09]remove file /storage/0497/doc_00057241 [00:32:09]file doc_00057242 [00:32:09]remove file /storage/0497/doc_00057242 [00:32:09]file doc_00057243 [00:32:09]remove file /storage/0497/doc_00057243 [00:32:09]file doc_00057244 [00:32:09]remove file /storage/0497/doc_00057244 [00:32:09]file doc_00057245 [00:32:09]remove file /storage/0497/doc_00057245 [00:32:09]remove dir /storage/0497 [00:32:09]ProcessDocumentItem done err = 0, tmpTLVsize=254 [00:32:09]tlvbuf is 0090E8B0 [00:32:09]SAM_PROTO_ClearQueue [00:32:09]wFMCommunicate request_size=4 [00:32:09]MH_SAM_APDU [00:32:09]CAPDU: 80 09 00 00 [00:32:09]Write to MH i2c: E2 08 00 6E 11 80 09 00 00 00 00 00 00 F1 [00:32:09]Write i2c OK [00:32:09]MH_I2C_Read... [00:32:09]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:32:09]Read from MH i2c: E2 [00:32:09]MH_I2C_Read... [00:32:09]Read from MH i2c: E2 03 00 [00:32:09]MH_I2C_Read... [00:32:09]Read from MH i2c: E2 03 00 6E 11 00 90 00 F3 [00:32:09]RAPDU: 90 00 [00:32:09]wFMCommunicate OK [00:32:09]SAM_PROTO_ClearQueue done [00:32:09]KKMCreateOFDPacket [00:32:09]OFDProtocolAddRootSTLVToBuf [00:32:09]FM_MakeSignedData [00:32:09]FM_MakeSignedData [00:32:09]SAM_PROTO_SignData [00:32:09]wFMCommunicate request_size=4 [00:32:09]MH_SAM_APDU [00:32:09]CAPDU: 80 0D 01 02 [00:32:09]Write to MH i2c: E2 08 00 6F 11 80 0D 01 02 00 00 00 00 F9 [00:32:09]Write i2c OK [00:32:09]MH_I2C_Read... [00:32:09]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:32:09]Read from MH i2c: E2 [00:32:09]MH_I2C_Read... [00:32:09]Read from MH i2c: E2 03 00 [00:32:09]MH_I2C_Read... [00:32:09]Read from MH i2c: E2 03 00 6F 11 00 90 00 F4 [00:32:09]RAPDU: 90 00 [00:32:09]wFMCommunicate OK [00:32:09]wFMCommunicate request_size=255 [00:32:09]MH_SAM_APDU [00:32:09]CAPDU: 80 0D 02 02 FA 02 00 FE 00 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 19 00 D0 AD D1 81 D1 82 D0 B5 D0 B1 D0 B5 D1 81 D0 BE D0 B2 D0 B0 20 D0 A0 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 8A BF 95 66 0E 04 04 00 F2 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 9E 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 [00:32:09]Write to MH i2c: E2 02 01 70 11 80 0D 02 02 FA 00 02 00 FE 00 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 19 00 D0 AD D1 81 D1 82 D0 B5 D0 B1 D0 B5 D1 81 D0 BE D0 B2 D0 B0 20 D0 A0 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 8A BF 95 66 0E 04 04 00 F2 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 9E 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 00 00 EB [00:32:10]Write i2c OK [00:32:10]MH_I2C_Read... [00:32:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:32:10]Read from MH i2c: E2 [00:32:10]MH_I2C_Read... [00:32:10]Read from MH i2c: E2 03 00 [00:32:10]MH_I2C_Read... [00:32:10]Read from MH i2c: E2 03 00 70 11 00 90 00 F5 [00:32:10]RAPDU: 90 00 [00:32:10]wFMCommunicate OK [00:32:10]wFMCommunicate request_size=13 [00:32:10]MH_SAM_APDU [00:32:10]CAPDU: 80 0D 02 02 08 06 00 81 F2 6A 5F 9E D3 [00:32:10]Write to MH i2c: E2 10 00 71 11 80 0D 02 02 08 00 06 00 81 F2 6A 5F 9E D3 00 00 BF [00:32:10]Write i2c OK [00:32:10]MH_I2C_Read... [00:32:10]Read from MH i2c: E2 [00:32:10]MH_I2C_Read... [00:32:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:32:10]Read from MH i2c: E2 03 00 [00:32:10]MH_I2C_Read... [00:32:10]Read from MH i2c: E2 03 00 71 11 00 90 00 F6 [00:32:10]RAPDU: 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 0D 03 02 [00:32:10]Write to MH i2c: E2 08 00 72 11 80 0D 03 02 00 00 00 00 FE [00:32:10]Write i2c OK [00:32:10]MH_I2C_Read... [00:32:10]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:32:10]Read from MH i2c: E2 [00:32:10]MH_I2C_Read... [00:32:10]Read from MH i2c: E2 0B 00 [00:32:10]MH_I2C_Read... [00:32:10]Read from MH i2c: E2 0B 00 72 11 00 94 D0 19 39 E4 4A E6 4E 90 00 17 [00:32:10]RAPDU: 94 D0 19 39 E4 4A E6 4E 90 00 [00:32:10]wFMCommunicate OK [00:32:10]SAM_PROTO_SignData done [00:32:10]FM_MakeSignedData done [00:32:10]CreateOFDProtocolMessage [00:32:10]wFMCommunicate request_size=4 [00:32:10]MH_SAM_APDU [00:32:10]CAPDU: 80 11 00 00 [00:32:10]Write to MH i2c: E2 08 00 73 11 80 11 00 00 00 00 00 00 FE [00:32:10]Write i2c OK [00:32:10]MH_I2C_Read... [00:32:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:32:10]Read from MH i2c: E2 [00:32:10]MH_I2C_Read... [00:32:10]Read from MH i2c: E2 17 00 [00:32:10]MH_I2C_Read... [00:32:10]Read from MH i2c: E2 17 00 73 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 58 [00:32: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:32:10]wFMCommunicate OK [00:32:10]CreateOFDProtocolMessage done [00:32:10]OFDSenderStorePacket 57246 [00:32:10]StoreOFDPacket docnum=57246 [00:32: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 12 01 00 00 ED 52 0A 01 9E 1E 5A 02 01 00 02 00 FE 00 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 19 00 D0 AD D1 81 D1 82 D0 B5 D0 B1 D0 B5 D1 81 D0 BE D0 B2 D0 B0 20 D0 A0 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 8A BF 95 66 0E 04 04 00 F2 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 9E 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 81 F2 6A 5F 9E D3 94 D0 19 39 E4 4A E6 4E [00:32:10]CheckFolder [00:32:10]dirname=/storage/ofd_packets [00:32:10]CheckFolder done [00:32:10]ProducePacketName [00:32:10]name=ofd_packets/00057246 [00:32:10]NVStorageSaveData ofd_packets/00057246 [00:32:10]File name is /storage/ofd_packets/00057246 [00:32:10]Write 304 bytes [00:32:10]NVStorageSaveData done [00:32:10]OFDSenderStorePacket done [00:32:10]KKMCreateOFDPacket done [00:32:10]NVStorageSaveData kkm_last_timestamp [00:32:10]File name is /storage/kkm_last_timestamp [00:32:10]Write 4 bytes [00:32:10]NVStorageSaveData done [00:32:10]ExternCall_PrintAddStr [00:32:10]wPrintStart [00:32:10]Write to MH i2c: 01 00 00 74 11 85 [00:32:10]Write i2c OK [00:32:10]MH_I2C_Read... [00:32:10]Read from MH i2c: 01 [00:32:10]MH_I2C_Read... [00:32:10]Read from MH i2c: 01 07 00 [00:32:10]MH_I2C_Read... [00:32:10]OFD Sender: Processing packet 57246 [packets to send 38, broken 37] [00:32:10]ProducePacketName [00:32:10]name=ofd_packets/00057246 [00:32:10]OFD Sender: To server: pG, [00:32:10]CommunicateWithHost lk.salyk.kg:30040 [00:32:10]ConnectInit lk.salyk.kg [00:32:10]Read from MH i2c: 01 07 00 74 11 00 00 00 00 00 FF 0F 9A [00:32:10]RasterBufferAndPrint [00:32:10]line Отчет об открытии смены [00:32:10]line ФФД: 1.0 [00:32:10]line ИНН: 02508201610067 [00:32:10]line Кассир: Эстебесова Р. [00:32:10]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [00:32:10]line Место: АЗС № 132 "Партнер Нефть" [00:32:10]line 16.07.2024 00:32 [00:32:10]line Смена: 498 [00:32:10]line РНМ: 0000000000091208 [00:32:10]line ЗНМ: 0300000132 [00:32:10]line ФД: 57246 [00:32:10]line ФМ: 0000000000874857 [00:32:10]line ФПД: 142878166720211 [00:32:10]written 0, free lines is 4095 [00:32:10]Connected sock=7 [00:32: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 12 01 00 00 ED 52 0A 01 9E 1E 5A 02 01 00 02 00 FE 00 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 19 00 D0 AD D1 81 D1 82 D0 B5 D0 B1 D0 B5 D1 81 D0 BE D0 B2 D0 B0 20 D0 A0 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 8A BF 95 66 0E 04 04 00 F2 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 9E 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 81 F2 6A 5F 9E D3 94 D0 19 39 E4 4A E6 4E [00:32:10]Write to MH i2c: 01 00 00 86 11 97 [00:32:10]Write i2c OK [00:32:10]MH_I2C_Read... [00:32:10]Read from MH i2c: 01 [00:32:10]MH_I2C_Read... [00:32:10]Read from MH i2c: 01 07 00 [00:32:10]MH_I2C_Read... [00:32:10]Read from MH i2c: 01 07 00 86 11 00 00 00 00 00 C8 0E 74 [00:32:10]RasterBufferAndPrint [00:32:10]line [00:32:10]line [00:32:10]line [00:32:10]line [00:32:10]line [00:32:10]written 0, free lines is 3810 [00:32:10]MH_Cut [00:32:10]Write to MH i2c: D1 01 00 8D 11 01 70 [00:32:10]Write i2c OK [00:32:10]MH_I2C_Read... [00:32:10]Read from MH i2c: D1 [00:32:10]MH_I2C_Read... [00:32:10]Read from MH i2c: D1 01 00 [00:32:10]MH_I2C_Read... [00:32:10]Read from MH i2c: D1 01 00 8D 11 00 6F [00:32:10]Write to MH i2c: 01 00 00 8E 11 9F [00:32:10]Write i2c OK [00:32:10]MH_I2C_Read... [00:32: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 CA D9 47 00 DE 37 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 9E DF 00 00 F4 03 04 00 D7 65 95 66 B6 04 01 00 00 1A 59 5F 67 8E 94 88 08 [00:32:11]CommunicateWithHost err = 0 [00:32:11]CheckOFDResponse [00:32:11]1017 (14) - 77093643461234 [00:32:11]1041 (16) - 0000000000874857 [00:32:11]1040 (4) - 57246 [00:32:11]1012 (4) - 15.07.2024 18:09 [00:32:11]1206 (1) - 0 [00:32:11]OFD Sender: Remove packet 57246 [00:32:11]ProducePacketName [00:32:11]name=ofd_packets/00057246 [00:32:11]NVStorageDeleteData [00:32:11]*** Cut start [00:32:11]*** Partial cut [00:32:11]*** CUTSNS_PIN = 1 [00:32:11]*** CUTSNS_PIN = 0 [00:32:11]*** Brake cut motor [00:32:11]OFD Sender: No OFD packet to send [00:32:11]Read from MH i2c: 01 [00:32:11]MH_I2C_Read... [00:32:11]*** Stop cut motor [00:32:11]*** Cut end [00:32:11]Read from MH i2c: 01 07 00 [00:32:11]MH_I2C_Read... [00:32:11]Read from MH i2c: 01 07 00 8E 11 00 00 00 00 00 FF 0F B4 [00:32:11]process_action open_shift done [00:32:11]requested_data is exist [00:32:11]produce_requested_data [00:32:11]requested_item fd.num is exist - process it [00:32:11]SAM_PROTO_GetFieldsCounters [00:32:11]wFMCommunicate request_size=4 [00:32:11]MH_SAM_APDU [00:32:11]CAPDU: 80 13 00 00 [00:32:11]Write to MH i2c: E2 08 00 8F 11 80 13 00 00 00 00 00 00 1C [00:32:11]Write i2c OK [00:32:11]MH_I2C_Read... [00:32:12]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:32:12]Read from MH i2c: E2 [00:32:12]MH_I2C_Read... [00:32:12]Read from MH i2c: E2 62 00 [00:32:12]MH_I2C_Read... [00:32:12]Read from MH i2c: E2 62 00 8F 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 9E DF 00 00 0E 04 04 00 F2 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 AF [00:32: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 9E DF 00 00 0E 04 04 00 F2 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:12]wFMCommunicate OK [00:32:12]SAM_PROTO_GetFieldsCounters done [00:32:12]requested_item shift.num is exist - process it [00:32:12]requested_item shift.opened is exist - process it [00:32:12]req_shift_opened [00:32:12]FM_GetShiftState [00:32:12]SAM_PROTO_GetShiftState [00:32:12]wFMCommunicate request_size=4 [00:32:12]MH_SAM_APDU [00:32:12]CAPDU: 80 13 01 00 [00:32:12]Write to MH i2c: E2 08 00 90 11 80 13 01 00 00 00 00 00 1E [00:32:12]Write i2c OK [00:32:12]MH_I2C_Read... [00:32:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:32:12]Read from MH i2c: E2 [00:32:12]MH_I2C_Read... [00:32:12]Read from MH i2c: E2 0E 00 [00:32:12]MH_I2C_Read... [00:32:12]Read from MH i2c: E2 0E 00 90 11 00 09 00 01 8A BF 95 66 00 00 00 00 90 00 6E [00:32:12]RAPDU: 09 00 01 8A BF 95 66 00 00 00 00 90 00 [00:32:12]wFMCommunicate OK [00:32:12]SAM_PROTO_GetShiftState done [00:32:12]FM_GetShiftState done [00:32:12]req_shift_opened done [00:32:12]requested_item shift.open_date is exist - process it [00:32:12]req_shift_open_date [00:32:12]req_shift_open_date done [00:32:12]produce_requested_data done [00:32:12]produce_requested_data return {"fd.num":57246,"shift.num":498,"shift.opened":1,"shift.open_date":1721089930} [00:32:12]process_action_free open_shift [00:32:12]json_value_free [00:32:12]json_value_free done [00:32:12]process_json_proto returns [00:32:12]Send response to host [00:32:12]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":57246,"shift.num":498,"shift.opened":1,"shift.open_date":1721089930}}} [00:32:12]free response buf [00:32:12]execute_script done [00:32:12]execute_script returns [00:32:12]free content buf [00:32:12]Sock 9.Close socket [00:32:12]Sock 9.Thread stoped [00:32:12]accept exits with 10 [00:32:12]New connection [00:32:12]New thread 3066871140 created [00:32:12]Thread 3067014500 joined [00:32:12]Waiting for new connection... [00:32:12] Sock 10.Parse request [00:32:12]Sock 10.Check first char [00:32:12]Sock 10.First char is OK [00:32:12]request: POST /json_proto HTTP/1.0 [00:32:12]Method: POST [00:32:12]URL: /json_proto [00:32:12]Method is POST - this is cgi request [00:32:12]url: /json_proto [00:32:12]query_string will be loaded in cgi processing [00:32:12]execute_cgi json_proto POST (null) [00:32:12]execute_cgi path=json_proto method=POST [00:32:12]POST find Content-Length [00:32:12]Host: 172.17.39.4:8080 [00:32:12]Content-Length: 331 [00:32:12]Content-Type: application/json [00:32:12] [00:32:12]POST finish read [00:32:12]Found Content-Length = 331 [00:32:12]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:12]execute_script... [00:32:12]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:12]POST & json_proto [00:32:12]process_json_proto [00:32:12]json parsed OK: [00:32:12]protocol is kg_v1.0 [00:32:12]action value=get_value [00:32:12]process_action get_value [00:32:12]cmd_get_value [00:32:12]process_action get_value done [00:32:12]requested_data is exist [00:32:12]produce_requested_data [00:32:12]requested_item fm.sale.total is exist - process it [00:32:12]SAM_PROTO_GetFMData [00:32:12]wFMCommunicate request_size=4 [00:32:12]MH_SAM_APDU [00:32:12]CAPDU: 80 13 03 00 [00:32:12]Write to MH i2c: E2 08 00 91 11 80 13 03 00 00 00 00 00 21 [00:32:12]Write i2c OK [00:32:12]MH_I2C_Read... [00:32:12]*** iso7816_exchange 80 13 03 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 91 11 00 C4 04 85 04 C0 04 6E 04 04 00 B9 DB 00 00 69 04 A0 00 6F 04 04 00 07 DB 00 00 B1 04 04 00 82 15 C5 6D 70 04 04 00 DC 00 62 61 72 04 04 00 A6 14 63 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 11 8E A8 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 76 9E 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 B2 00 00 00 B1 04 04 00 38 6C 69 01 70 04 04 00 6C 1A 5F 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 A0 62 26 EF 03 09 00 90 00 97 [00:32:12]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 B9 DB 00 00 69 04 A0 00 6F 04 04 00 07 DB 00 00 B1 04 04 00 82 15 C5 6D 70 04 04 00 DC 00 62 61 72 04 04 00 A6 14 63 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 11 8E A8 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 76 9E 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 B2 00 00 00 B1 04 04 00 38 6C 69 01 70 04 04 00 6C 1A 5F 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 A0 62 26 EF 03 09 00 90 00 [00:32:13]wFMCommunicate OK [00:32:13]wFMCommunicate request_size=4 [00:32:13]MH_SAM_APDU [00:32:13]CAPDU: 80 17 00 00 [00:32:13]Write to MH i2c: E2 08 00 92 11 80 17 00 00 00 00 00 00 23 [00:32:13]Write i2c OK [00:32:13]MH_I2C_Read... [00:32:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:32:13]Read from MH i2c: E2 [00:32:13]MH_I2C_Read... [00:32:13]Read from MH i2c: E2 FD 00 [00:32:13]MH_I2C_Read... [00:32:13]Read from MH i2c: E2 FD 00 92 11 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 CF 32 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 DD [00:32:13]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 CF 32 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:13]wFMCommunicate OK [00:32:13]wFMCommunicate request_size=4 [00:32:13]MH_SAM_APDU [00:32:13]CAPDU: 80 17 00 00 [00:32:13]Write to MH i2c: E2 08 00 93 11 80 17 00 00 00 00 00 00 24 [00:32:13]Write i2c OK [00:32:13]MH_I2C_Read... [00:32:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:32:13]Read from MH i2c: E2 [00:32:13]MH_I2C_Read... [00:32:13]Read from MH i2c: E2 FD 00 [00:32:13]MH_I2C_Read... [00:32:13]Read from MH i2c: E2 FD 00 93 11 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 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 39 [00:32:13]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:14]wFMCommunicate OK [00:32:14]wFMCommunicate request_size=4 [00:32:14]MH_SAM_APDU [00:32:14]CAPDU: 80 17 00 00 [00:32:14]Write to MH i2c: E2 08 00 94 11 80 17 00 00 00 00 00 00 25 [00:32:14]Write i2c OK [00:32:14]MH_I2C_Read... [00:32:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:32:14]Read from MH i2c: E2 [00:32:14]MH_I2C_Read... [00:32:14]Read from MH i2c: E2 FD 00 [00:32:14]MH_I2C_Read... [00:32:14]Read from MH i2c: E2 FD 00 94 11 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 9D [00:32:14]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:14]wFMCommunicate OK [00:32:14]wFMCommunicate request_size=4 [00:32:14]MH_SAM_APDU [00:32:14]CAPDU: 80 17 00 00 [00:32:14]Write to MH i2c: E2 08 00 95 11 80 17 00 00 00 00 00 00 26 [00:32:14]Write i2c OK [00:32:14]MH_I2C_Read... [00:32:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [00:32:14]Read from MH i2c: E2 [00:32:14]MH_I2C_Read... [00:32:14]Read from MH i2c: E2 E1 00 [00:32:14]MH_I2C_Read... [00:32:14]Read from MH i2c: E2 E1 00 95 11 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 14 [00:32:14]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:15]wFMCommunicate OK [00:32:15]SAM_PROTO_GetFMData done [00:32:15]requested_item fm.sale_refund.total is exist - process it [00:32:15]requested_item fm.buy.total is exist - process it [00:32:15]requested_item shift.sale.total is exist - process it [00:32:15]SAM_PROTO_GetShiftData [00:32:15]wFMCommunicate request_size=4 [00:32:15]MH_SAM_APDU [00:32:15]CAPDU: 80 13 02 00 [00:32:15]Write to MH i2c: E2 08 00 96 11 80 13 02 00 00 00 00 00 25 [00:32:15]Write i2c OK [00:32:15]MH_I2C_Read... [00:32:15]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:32:15]Read from MH i2c: E2 [00:32:15]MH_I2C_Read... [00:32:15]Read from MH i2c: E2 FD 00 [00:32:15]MH_I2C_Read... [00:32:15]Read from MH i2c: E2 FD 00 96 11 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 98 [00:32:15]RAPDU: A0 04 AA 04 9C 04 6E 04 04 00 00 00 00 00 69 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 [00:32:15]wFMCommunicate OK [00:32:15]wFMCommunicate request_size=4 [00:32:15]MH_SAM_APDU [00:32:15]CAPDU: 80 17 00 00 [00:32:15]Write to MH i2c: E2 08 00 97 11 80 17 00 00 00 00 00 00 28 [00:32:15]Write i2c OK [00:32:15]MH_I2C_Read... [00:32:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:32:16]Read from MH i2c: E2 [00:32:16]MH_I2C_Read... [00:32:16]Read from MH i2c: E2 FD 00 [00:32:16]MH_I2C_Read... [00:32:16]Read from MH i2c: E2 FD 00 97 11 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 30 [00:32:16]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:16]wFMCommunicate OK [00:32:16]wFMCommunicate request_size=4 [00:32:16]MH_SAM_APDU [00:32:16]CAPDU: 80 17 00 00 [00:32:16]Write to MH i2c: E2 08 00 98 11 80 17 00 00 00 00 00 00 29 [00:32:16]Write i2c OK [00:32:16]MH_I2C_Read... [00:32:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:32:16]Read from MH i2c: E2 [00:32:16]MH_I2C_Read... [00:32:16]Read from MH i2c: E2 FD 00 [00:32:16]MH_I2C_Read... [00:32:16]Read from MH i2c: E2 FD 00 98 11 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 FB [00:32:16]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 90 00 [00:32:16]wFMCommunicate OK [00:32:16]wFMCommunicate request_size=4 [00:32:16]MH_SAM_APDU [00:32:16]CAPDU: 80 17 00 00 [00:32:16]Write to MH i2c: E2 08 00 99 11 80 17 00 00 00 00 00 00 2A [00:32:17]OFD Sender: No OFD packet to send [00:32:17]Write i2c OK [00:32:17]MH_I2C_Read... [00:32:17]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:32:17]Read from MH i2c: E2 [00:32:17]MH_I2C_Read... [00:32:17]Read from MH i2c: E2 FD 00 [00:32:17]MH_I2C_Read... [00:32:17]Read from MH i2c: E2 FD 00 99 11 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 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 9C [00:32:17]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:17]wFMCommunicate OK [00:32:17]wFMCommunicate request_size=4 [00:32:17]MH_SAM_APDU [00:32:17]CAPDU: 80 17 00 00 [00:32:17]Write to MH i2c: E2 08 00 9A 11 80 17 00 00 00 00 00 00 2B [00:32:17]Write i2c OK [00:32:17]MH_I2C_Read... [00:32:17]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 186! [00:32:17]Read from MH i2c: E2 [00:32:17]MH_I2C_Read... [00:32:17]Read from MH i2c: E2 BD 00 [00:32:17]MH_I2C_Read... [00:32:17]Read from MH i2c: E2 BD 00 9A 11 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 11 [00:32:17]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:32:18]wFMCommunicate OK [00:32:18]SAM_PROTO_GetShiftData done [00:32:18]requested_item shift.sale.total_cash is exist - process it [00:32:18]requested_item shift.sale_refund.total is exist - process it [00:32:18]requested_item shift.sale_refund.total_cash is exist - process it [00:32:18]requested_item shift.buy.total is exist - process it [00:32:18]requested_item shift.buy.total_cash is exist - process it [00:32:18]produce_requested_data done [00:32:18]produce_requested_data return {"fm.sale.total":18416326.42,"fm.sale_refund.total":236862.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:18]process_action_free get_value [00:32:18]json_value_free [00:32:18]json_value_free done [00:32:18]process_json_proto returns [00:32:18]Send response to host [00:32:18]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":18416326.42,"fm.sale_refund.total":236862.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:18]free response buf [00:32:18]execute_script done [00:32:18]execute_script returns [00:32:18]free content buf [00:32:18]Sock 10.Close socket [00:32:18]Sock 10.Thread stoped [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:22]OFD Sender: No OFD packet to send [00:33:27]OFD Sender: No OFD packet to send [00:33:32]OFD Sender: No OFD packet to send [00:33:37]OFD Sender: No OFD packet to send [00:33:42]OFD Sender: No OFD packet to send [00:33:47]OFD Sender: No OFD packet to send [00:33:52]OFD Sender: No OFD packet to send [00:33:57]OFD Sender: No OFD packet to send [00:34:02]OFD Sender: No OFD packet to send [00:34:07]OFD Sender: No OFD packet to send [00:34:12]OFD Sender: No OFD packet to send [00:34:17]OFD Sender: No OFD packet to send [00:34:22]OFD Sender: No OFD packet to send [00:34:27]OFD Sender: No OFD packet to send [00:34:32]OFD Sender: No OFD packet to send [00:34:37]OFD Sender: No OFD packet to send [00:34:42]OFD Sender: No OFD packet to send [00:34:47]OFD Sender: No OFD packet to send [00:34:52]OFD Sender: No OFD packet to send [00:34:57]OFD Sender: No OFD packet to send [00:35:02]OFD Sender: No OFD packet to send [00:35:07]OFD Sender: No OFD packet to send [00:35:12]OFD Sender: No OFD packet to send [00:35:17]OFD Sender: No OFD packet to send [00:35:22]OFD Sender: No OFD packet to send [00:35:27]OFD Sender: No OFD packet to send [00:35:32]OFD Sender: No OFD packet to send [00:35:37]OFD Sender: No OFD packet to send [00:35:42]OFD Sender: No OFD packet to send [00:35:47]OFD Sender: No OFD packet to send [00:35:52]OFD Sender: No OFD packet to send [00:35:57]OFD Sender: No OFD packet to send [00:36:02]OFD Sender: No OFD packet to send [00:36:07]OFD Sender: No OFD packet to send [00:36:12]OFD Sender: No OFD packet to send [00:36:17]OFD Sender: No OFD packet to send [00:36:22]OFD Sender: No OFD packet to send [00:36:27]OFD Sender: No OFD packet to send [00:36:32]OFD Sender: No OFD packet to send [00:36:37]OFD Sender: No OFD packet to send [00:36:42]OFD Sender: No OFD packet to send [00:36:47]OFD Sender: No OFD packet to send [00:36:52]OFD Sender: No OFD packet to send [00:36:57]OFD Sender: No OFD packet to send [00:00:10]/dev/ttyS4 opened [00:00:10] *** EcrCore started. Build 196 *** [00:00:10]MH_InterfaceInit /dev/i2c-1 [00:00:10]Malloc ok [00:00:10]MH_GetMetrics [00:00:10]Write to MH i2c: 00 00 00 01 00 00 [00:00:10]Write i2c OK [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: 00 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: 00 29 00 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: 00 29 00 01 00 00 03 9C 77 C0 01 31 39 30 33 53 51 38 38 54 00 00 00 00 57 25 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]Read from MH i2c: A0 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: A0 01 00 [00:00:10]MH_I2C_Read... [00:00:10]*** Check firmware version 30620, crc_r 49A1A6DB, crc_c: 49A1A6DB, size: 53248 [00:00:10]Read from MH i2c: *** [00:00:10]A0 01 00 02 00 00 A2 [00:00:10]*** Starting fw at address 01020100 (2007E328 010249C5) [00:00:10]*** Waiting for read because exit forced [00:00:10]*** 10 ms more... [00:00:10]*** MH1903S init start (LINUX_LIGHT) [00:00:10]*** Compilation Date Jun 20 2023 Time 12:36:20 [00:00:10]*** Serial: 3139303353513838 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: 37264275+1683825965=1721090240 [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 C0 C0 95 66 2D 25 5D 64 8D [00:37:20]Current date/time: 16.07.2024 00:37 [00:37:20]FM_Init [00:37:20]wFMConnect [00:37:20]MH_SAM_On [00:37:20]Write to MH i2c: E0 00 00 08 00 E7 [00:37:20]Write i2c OK [00:37:20]MH_I2C_Read... [00:37:20]*** iso7816_init finished! [00:37:20]*** atr: [00:37:20]*** 0F 3B D5 18 FF 81 91 FE [00:37:20]*** 1F C3 80 73 C8 21 10 0A [00:37:20]*** 00 00 00 00 00 00 00 00 [00:37:20]*** 00 00 00 00 00 00 00 00 [00:37:20]*** 00 00 00 00 00 00 00 00 [00:37:20]*** 00 00 00 00 00 00 00 00 [00:37:20]*** 00 00 00 00 00 00 00 00 [00:37:20]*** 00 00 00 00 00 00 00 00 [00:37:20]Read from MH i2c: E0 [00:37:20]MH_I2C_Read... [00:37:20]Read from MH i2c: E0 10 00 [00:37:20]MH_I2C_Read... [00:37:20]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:37:20]ATR: 3B D5 18 FF 81 91 FE 1F C3 80 73 C8 21 10 0A [00:37:20]wFMCommunicate request_size=10 [00:37:20]MH_SAM_APDU [00:37:20]CAPDU: 00 A4 04 00 05 01 02 03 04 05 [00:37:20]Write to MH i2c: E2 0D 00 09 00 00 A4 04 00 05 00 01 02 03 04 05 00 00 B3 [00:37:20]Write i2c OK [00:37:20]MH_I2C_Read... [00:37:20]*** iso7816_exchange 00 A4 04 00... Resp OK rsp.len_out = 0! [00:37:20]Read from MH i2c: E2 [00:37:20]MH_I2C_Read... [00:37:20]Read from MH i2c: E2 03 00 [00:37:20]MH_I2C_Read... [00:37:20]Read from MH i2c: E2 03 00 09 00 00 90 00 7D [00:37:20]RAPDU: 90 00 [00:37:20]wFMCommunicate OK [00:37:20]wFMCommunicate request_size=4 [00:37:20]MH_SAM_APDU [00:37:20]CAPDU: 80 11 00 00 [00:37:20]Write to MH i2c: E2 08 00 0A 00 80 11 00 00 00 00 00 00 84 [00:37:20]Write i2c OK [00:37:20]MH_I2C_Read... [00:37:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:37:20]Read from MH i2c: E2 [00:37:20]MH_I2C_Read... [00:37:20]Read from MH i2c: E2 17 00 [00:37:20]MH_I2C_Read... [00:37:20]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:37:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [00:37:20]wFMCommunicate OK [00:37:20]Detected FM SN is 0000000000874857 [00:37:20]Stored FM SN is 0000000000874857 [00:37:20]wFMCommunicate request_size=9 [00:37:20]MH_SAM_APDU [00:37:20]CAPDU: 80 16 00 00 04 4B 69 00 00 [00:37:20]Write to MH i2c: E2 0C 00 0B 00 80 16 00 00 04 00 4B 69 00 00 00 00 46 [00:37:20]Write i2c OK [00:37:20]MH_I2C_Read... [00:37:20]*** iso7816_exchange 80 16 00 00... Resp OK rsp.len_out = 0! [00:37:20]Read from MH i2c: E2 [00:37:20]MH_I2C_Read... [00:37:20]Read from MH i2c: E2 03 00 [00:37:20]MH_I2C_Read... [00:37:20]Read from MH i2c: E2 03 00 0B 00 00 90 00 7F [00:37:20]RAPDU: 90 00 [00:37:20]wFMCommunicate OK [00:37:20]FM PIN OK [00:37:20]wFMCommunicate request_size=8 [00:37:20]MH_SAM_APDU [00:37:20]CAPDU: 80 14 04 00 03 02 00 01 [00:37:20]Write to MH i2c: E2 0B 00 0C 00 80 14 04 00 03 00 02 00 01 00 00 96 [00:37:20]Write i2c OK [00:37:20]MH_I2C_Read... [00:37:20]*** iso7816_exchange 80 14 04 00... Resp OK rsp.len_out = 0! [00:37:20]Read from MH i2c: E2 [00:37:20]MH_I2C_Read... [00:37:20]Read from MH i2c: E2 03 00 [00:37:20]MH_I2C_Read... [00:37:20]Read from MH i2c: E2 03 00 0C 00 00 90 00 80 [00:37:20]RAPDU: 90 00 [00:37:20]wFMCommunicate OK [00:37:20]wFMCommunicate request_size=13 [00:37:20]MH_SAM_APDU [00:37:20]CAPDU: 80 14 04 01 08 07 00 01 02 03 04 05 06 [00:37:20]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:37:20]Write i2c OK [00:37:20]MH_I2C_Read... [00:37:20]*** iso7816_exchange 80 14 04 01... Resp OK rsp.len_out = 0! [00:37:20]Read from MH i2c: E2 [00:37:20]MH_I2C_Read... [00:37:20]Read from MH i2c: E2 03 00 [00:37:20]MH_I2C_Read... [00:37:20]Read from MH i2c: E2 03 00 0D 00 00 90 00 81 [00:37:20]RAPDU: 90 00 [00:37:20]wFMCommunicate OK [00:37:20]wFMCommunicate request_size=4 [00:37:20]MH_SAM_APDU [00:37:20]CAPDU: 80 11 00 00 [00:37:20]Write to MH i2c: E2 08 00 0E 00 80 11 00 00 00 00 00 00 88 [00:37:20]Write i2c OK [00:37:20]MH_I2C_Read... [00:37:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:37:20]Read from MH i2c: E2 [00:37:20]MH_I2C_Read... [00:37:20]Read from MH i2c: E2 17 00 [00:37:20]MH_I2C_Read... [00:37:20]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:37:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [00:37:20]wFMCommunicate OK [00:37:20]DocumentArchiveInit [00:37:20]Start Httpd... [00:37:20]Httpd thread 3067198820 created [00:37:20]Write to MH i2c: 01 00 00 0F 00 0F [00:37:20]Write i2c OK [00:37:20]MH_I2C_Read... [00:37:20]Read from MH i2c: 01 [00:37:20]MH_I2C_Read... [00:37:20]Read from MH i2c: 01 07 00 [00:37:20]MH_I2C_Read... [00:37:20]Read from MH i2c: 01 07 00 0F 00 00 00 00 00 00 FF 0F 24 [00:37:20]MH Int Process started [00:37:20]Allocated Socket 8 [00:37:20]Bind OK [00:37:20]Listen OK [00:37:20]httpd running on port 8080 [00:37:20]Waiting for new connection... [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:31]accept exits with 9 [00:37:31]New connection [00:37:31]New thread 3066912100 created [00:37:31]Waiting for new connection... [00:37:31] Sock 9.Parse request [00:37:31]Sock 9.Check first char [00:37:31]Sock 9.First char is OK [00:37:31]request: POST /json_proto HTTP/1.0 [00:37:31]Method: POST [00:37:31]URL: /json_proto [00:37:31]Method is POST - this is cgi request [00:37:31]url: /json_proto [00:37:31]query_string will be loaded in cgi processing [00:37:31]execute_cgi json_proto POST (null) [00:37:31]execute_cgi path=json_proto method=POST [00:37:31]POST find Content-Length [00:37:31]Host: 172.17.39.4:8080 [00:37:31]Content-Length: 215 [00:37:31]Content-Type: application/json [00:37:31] [00:37:31]POST finish read [00:37:31]Found Content-Length = 215 [00:37:31]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:37:31]execute_script... [00:37:31]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:37:31]POST & json_proto [00:37:31]process_json_proto [00:37:31]json parsed OK: [00:37:31]protocol is kg_v1.0 [00:37:31]action value=get_value [00:37:31]process_action get_value [00:37:31]cmd_get_value [00:37:31]process_action get_value done [00:37:31]requested_data is exist [00:37:31]produce_requested_data [00:37:31]requested_item kkm.sn is exist - process it [00:37:31]requested_item kkm.ver is exist - process it [00:37:31]requested_item fm.sn is exist - process it [00:37:31]wFMCommunicate request_size=4 [00:37:31]MH_SAM_APDU [00:37:31]CAPDU: 80 11 00 00 [00:37:31]Write to MH i2c: E2 08 00 10 00 80 11 00 00 00 00 00 00 8A [00:37:31]Write i2c OK [00:37:31]MH_I2C_Read... [00:37:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:37:32]Read from MH i2c: E2 [00:37:32]MH_I2C_Read... [00:37:32]Read from MH i2c: E2 17 00 [00:37:32]MH_I2C_Read... [00:37:32]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:37:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [00:37:32]wFMCommunicate OK [00:37:32]requested_item fd.num is exist - process it [00:37:32]SAM_PROTO_GetFieldsCounters [00:37:32]wFMCommunicate request_size=4 [00:37:32]MH_SAM_APDU [00:37:32]CAPDU: 80 13 00 00 [00:37:32]Write to MH i2c: E2 08 00 11 00 80 13 00 00 00 00 00 00 8D [00:37:32]Write i2c OK [00:37:32]MH_I2C_Read... [00:37:32]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:37:32]Read from MH i2c: E2 [00:37:32]MH_I2C_Read... [00:37:32]Read from MH i2c: E2 62 00 [00:37:32]MH_I2C_Read... [00:37:32]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 9E DF 00 00 0E 04 04 00 F2 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 20 [00:37: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 9E DF 00 00 0E 04 04 00 F2 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:37:32]wFMCommunicate OK [00:37:32]SAM_PROTO_GetFieldsCounters done [00:37:32]requested_item shift.num is exist - process it [00:37:32]requested_item shift.opened is exist - process it [00:37:32]req_shift_opened [00:37:32]FM_GetShiftState [00:37:32]SAM_PROTO_GetShiftState [00:37:32]wFMCommunicate request_size=4 [00:37:32]MH_SAM_APDU [00:37:32]CAPDU: 80 13 01 00 [00:37:32]Write to MH i2c: E2 08 00 12 00 80 13 01 00 00 00 00 00 8F [00:37:32]Write i2c OK [00:37:32]MH_I2C_Read... [00:37:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:37:32]Read from MH i2c: E2 [00:37:32]MH_I2C_Read... [00:37:32]Read from MH i2c: E2 0E 00 [00:37:32]MH_I2C_Read... [00:37:32]Read from MH i2c: E2 0E 00 12 00 00 09 00 01 8A BF 95 66 00 00 00 00 90 00 DF [00:37:32]RAPDU: 09 00 01 8A BF 95 66 00 00 00 00 90 00 [00:37:32]wFMCommunicate OK [00:37:32]SAM_PROTO_GetShiftState done [00:37:32]FM_GetShiftState done [00:37:32]req_shift_opened done [00:37:32]requested_item shift.open_date is exist - process it [00:37:32]req_shift_open_date [00:37:32]req_shift_open_date done [00:37:32]produce_requested_data done [00:37:32]produce_requested_data return {"kkm.sn":"0300000132","kkm.ver":"001","fm.sn":"0000000000874857","fd.num":57246,"shift.num":498,"shift.opened":1,"shift.open_date":1721089930} [00:37:32]process_action_free get_value [00:37:32]json_value_free [00:37:32]json_value_free done [00:37:32]process_json_proto returns [00:37:32]Send response to host [00:37:32]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000132","kkm.ver":"001","fm.sn":"0000000000874857","fd.num":57246,"shift.num":498,"shift.opened":1,"shift.open_date":1721089930}}} [00:37:32]free response buf [00:37:32]execute_script done [00:37:32]execute_script returns [00:37:32]free content buf [00:37:32]Sock 9.Close socket [00:37:32]Sock 9.Thread stoped [00:37:32]accept exits with 7 [00:37:32]New connection [00:37:32]New thread 3066768740 created [00:37:32]Thread 3066912100 joined [00:37:32]Waiting for new connection... [00:37:32] Sock 7.Parse request [00:37:32]Sock 7.Check first char [00:37:32]Sock 7.First char is OK [00:37:32]request: POST /json_proto HTTP/1.0 [00:37:32]Method: POST [00:37:32]URL: /json_proto [00:37:32]Method is POST - this is cgi request [00:37:32]url: /json_proto [00:37:32]query_string will be loaded in cgi processing [00:37:32]execute_cgi json_proto POST (null) [00:37:32]execute_cgi path=json_proto method=POST [00:37:32]POST find Content-Length [00:37:32]Host: 172.17.39.4:8080 [00:37:32]Content-Length: 331 [00:37:32]Content-Type: application/json [00:37:32] [00:37:32]POST finish read [00:37:32]Found Content-Length = 331 [00:37:32]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:37:32]execute_script... [00:37:32]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:37:32]POST & json_proto [00:37:32]process_json_proto [00:37:32]json parsed OK: [00:37:32]protocol is kg_v1.0 [00:37:32]action value=get_value [00:37:32]process_action get_value [00:37:32]cmd_get_value [00:37:32]process_action get_value done [00:37:32]requested_data is exist [00:37:32]produce_requested_data [00:37:32]requested_item fm.sale.total is exist - process it [00:37:32]SAM_PROTO_GetFMData [00:37:32]wFMCommunicate request_size=4 [00:37:32]MH_SAM_APDU [00:37:32]CAPDU: 80 13 03 00 [00:37:32]Write to MH i2c: E2 08 00 13 00 80 13 03 00 00 00 00 00 92 [00:37:32]Write i2c OK [00:37:32]MH_I2C_Read... [00:37:32]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:37:32]Read from MH i2c: E2 [00:37:32]MH_I2C_Read... [00:37:32]Read from MH i2c: E2 FD 00 [00:37:32]MH_I2C_Read... [00:37:32]Read from MH i2c: E2 FD 00 13 00 00 C4 04 85 04 C0 04 6E 04 04 00 B9 DB 00 00 69 04 A0 00 6F 04 04 00 07 DB 00 00 B1 04 04 00 82 15 C5 6D 70 04 04 00 DC 00 62 61 72 04 04 00 A6 14 63 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 11 8E A8 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 76 9E 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 B2 00 00 00 B1 04 04 00 38 6C 69 01 70 04 04 00 6C 1A 5F 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 A0 62 26 EF 03 09 00 90 00 08 [00:37:32]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 B9 DB 00 00 69 04 A0 00 6F 04 04 00 07 DB 00 00 B1 04 04 00 82 15 C5 6D 70 04 04 00 DC 00 62 61 72 04 04 00 A6 14 63 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 11 8E A8 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 76 9E 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 B2 00 00 00 B1 04 04 00 38 6C 69 01 70 04 04 00 6C 1A 5F 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 A0 62 26 EF 03 09 00 90 00 [00:37:32]wFMCommunicate OK [00:37:32]wFMCommunicate request_size=4 [00:37:32]MH_SAM_APDU [00:37:32]CAPDU: 80 17 00 00 [00:37:32]Write to MH i2c: E2 08 00 14 00 80 17 00 00 00 00 00 00 94 [00:37:32]Write i2c OK [00:37:32]MH_I2C_Read... [00:37:33]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:37:33]Read from MH i2c: E2 [00:37:33]MH_I2C_Read... [00:37:33]Read from MH i2c: E2 FD 00 [00:37:33]MH_I2C_Read... [00:37:33]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 CF 32 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 4E [00:37:33]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 CF 32 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:37:33]wFMCommunicate OK [00:37:33]wFMCommunicate request_size=4 [00:37:33]MH_SAM_APDU [00:37:33]CAPDU: 80 17 00 00 [00:37:33]Write to MH i2c: E2 08 00 15 00 80 17 00 00 00 00 00 00 95 [00:37:33]Write i2c OK [00:37:33]MH_I2C_Read... [00:37:33]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:37:33]Read from MH i2c: E2 [00:37:33]MH_I2C_Read... [00:37:33]Read from MH i2c: E2 FD 00 [00:37:33]MH_I2C_Read... [00:37:33]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:37:33]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:37:33]wFMCommunicate OK [00:37:33]wFMCommunicate request_size=4 [00:37:33]MH_SAM_APDU [00:37:33]CAPDU: 80 17 00 00 [00:37:33]Write to MH i2c: E2 08 00 16 00 80 17 00 00 00 00 00 00 96 [00:37:33]Write i2c OK [00:37:33]MH_I2C_Read... [00:37:33]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:37:33]Read from MH i2c: E2 [00:37:33]MH_I2C_Read... [00:37:33]Read from MH i2c: E2 FD 00 [00:37:33]MH_I2C_Read... [00:37:33]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:37:33]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:37:33]wFMCommunicate OK [00:37:33]wFMCommunicate request_size=4 [00:37:33]MH_SAM_APDU [00:37:33]CAPDU: 80 17 00 00 [00:37:33]Write to MH i2c: E2 08 00 17 00 80 17 00 00 00 00 00 00 97 [00:37:33]Write i2c OK [00:37:33]MH_I2C_Read... [00:37:33]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [00:37:33]Read from MH i2c: E2 [00:37:33]MH_I2C_Read... [00:37:33]Read from MH i2c: E2 E1 00 [00:37:33]MH_I2C_Read... [00:37:33]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:37:33]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:37:33]wFMCommunicate OK [00:37:33]SAM_PROTO_GetFMData done [00:37:33]requested_item fm.sale_refund.total is exist - process it [00:37:33]requested_item fm.buy.total is exist - process it [00:37:33]requested_item shift.sale.total is exist - process it [00:37:33]SAM_PROTO_GetShiftData [00:37:33]wFMCommunicate request_size=4 [00:37:33]MH_SAM_APDU [00:37:33]CAPDU: 80 13 02 00 [00:37:33]Write to MH i2c: E2 08 00 18 00 80 13 02 00 00 00 00 00 96 [00:37:33]Write i2c OK [00:37:33]MH_I2C_Read... [00:37:34]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:37:34]Read from MH i2c: E2 [00:37:34]MH_I2C_Read... [00:37:34]Read from MH i2c: E2 FD 00 [00:37:34]MH_I2C_Read... [00:37:34]Read from MH i2c: E2 FD 00 18 00 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 09 [00:37:34]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:37:34]wFMCommunicate OK [00:37:34]wFMCommunicate request_size=4 [00:37:34]MH_SAM_APDU [00:37:34]CAPDU: 80 17 00 00 [00:37:34]Write to MH i2c: E2 08 00 19 00 80 17 00 00 00 00 00 00 99 [00:37:34]Write i2c OK [00:37:34]MH_I2C_Read... [00:37:34]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:37:34]Read from MH i2c: E2 [00:37:34]MH_I2C_Read... [00:37:34]Read from MH i2c: E2 FD 00 [00:37:34]MH_I2C_Read... [00:37:34]Read from MH i2c: E2 FD 00 19 00 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 A1 [00:37:34]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:37:34]wFMCommunicate OK [00:37:34]wFMCommunicate request_size=4 [00:37:34]MH_SAM_APDU [00:37:34]CAPDU: 80 17 00 00 [00:37:34]Write to MH i2c: E2 08 00 1A 00 80 17 00 00 00 00 00 00 9A [00:37:34]Write i2c OK [00:37:34]MH_I2C_Read... [00:37:34]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:37:34]Read from MH i2c: E2 [00:37:34]MH_I2C_Read... [00:37:34]Read from MH i2c: E2 FD 00 [00:37:34]MH_I2C_Read... [00:37:34]Read from MH i2c: E2 FD 00 1A 00 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 6C [00:37:34]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:37:34]wFMCommunicate OK [00:37:34]wFMCommunicate request_size=4 [00:37:34]MH_SAM_APDU [00:37:34]CAPDU: 80 17 00 00 [00:37:34]Write to MH i2c: E2 08 00 1B 00 80 17 00 00 00 00 00 00 9B [00:37:34]Write i2c OK [00:37:34]MH_I2C_Read... [00:37:35]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:37:35]Read from MH i2c: E2 [00:37:35]MH_I2C_Read... [00:37:35]Read from MH i2c: E2 FD 00 [00:37:35]MH_I2C_Read... [00:37:35]Read from MH i2c: E2 FD 00 1B 00 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 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 0D [00:37:35]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:37:35]wFMCommunicate OK [00:37:35]wFMCommunicate request_size=4 [00:37:35]MH_SAM_APDU [00:37:35]CAPDU: 80 17 00 00 [00:37:35]Write to MH i2c: E2 08 00 1C 00 80 17 00 00 00 00 00 00 9C [00:37:35]Write i2c OK [00:37:35]MH_I2C_Read... [00:37:35]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 186! [00:37:35]Read from MH i2c: E2 [00:37:35]MH_I2C_Read... [00:37:35]Read from MH i2c: E2 BD 00 [00:37:35]MH_I2C_Read... [00:37:35]Read from MH i2c: E2 BD 00 1C 00 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 82 [00:37:35]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:37:35]wFMCommunicate OK [00:37:35]SAM_PROTO_GetShiftData done [00:37:35]requested_item shift.sale.total_cash is exist - process it [00:37:35]requested_item shift.sale_refund.total is exist - process it [00:37:35]requested_item shift.sale_refund.total_cash is exist - process it [00:37:35]requested_item shift.buy.total is exist - process it [00:37:35]requested_item shift.buy.total_cash is exist - process it [00:37:35]produce_requested_data done [00:37:35]produce_requested_data return {"fm.sale.total":18416326.42,"fm.sale_refund.total":236862.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:37:35]process_action_free get_value [00:37:35]json_value_free [00:37:35]json_value_free done [00:37:35]process_json_proto returns [00:37:35]Send response to host [00:37:35]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":18416326.42,"fm.sale_refund.total":236862.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:37:35]free response buf [00:37:35]execute_script done [00:37:35]execute_script returns [00:37:35]free content buf [00:37:35]Sock 7.Close socket [00:37:35]Sock 7.Thread stoped [00:37:35]OFD Sender: No OFD packet to send [00:37:40]OFD Sender: No OFD packet to send [00:37:45]OFD Sender: No OFD packet to send [00:37:50]OFD Sender: No OFD packet to send [00:37:55]OFD Sender: No OFD packet to send [00:38:00]OFD Sender: No OFD packet to send [00:38:05]OFD Sender: No OFD packet to send [00:38:10]OFD Sender: No OFD packet to send [00:38:15]OFD Sender: No OFD packet to send [00:38:20]OFD Sender: No OFD packet to send [00:38:25]OFD Sender: No OFD packet to send [00:38:30]OFD Sender: No OFD packet to send [00:38:35]OFD Sender: No OFD packet to send [00:38:40]OFD Sender: No OFD packet to send [00:38:45]OFD Sender: No OFD packet to send [00:38:50]OFD Sender: No OFD packet to send [00:38:55]OFD Sender: No OFD packet to send [00:39:00]OFD Sender: No OFD packet to send [00:39:05]OFD Sender: No OFD packet to send [00:39:10]OFD Sender: No OFD packet to send [00:39:15]OFD Sender: No OFD packet to send [00:39:20]OFD Sender: No OFD packet to send [00:39:25]OFD Sender: No OFD packet to send [00:39:26]accept exits with 9 [00:39:26]New connection [00:39:26]New thread 3066912100 created [00:39:26]Thread 3066768740 joined [00:39:26]Waiting for new connection... [00:39:26] Sock 9.Parse request [00:39:26]Sock 9.Check first char [00:39:26]Sock 9.First char is OK [00:39:26]request: POST /json_proto HTTP/1.0 [00:39:26]Method: POST [00:39:26]URL: /json_proto [00:39:26]Method is POST - this is cgi request [00:39:26]url: /json_proto [00:39:26]query_string will be loaded in cgi processing [00:39:26]execute_cgi json_proto POST (null) [00:39:26]execute_cgi path=json_proto method=POST [00:39:26]POST find Content-Length [00:39:26]Host: 172.17.39.4:8080 [00:39:26]Content-Length: 725 [00:39:26]Content-Type: application/json [00:39:26] [00:39:26]POST finish read [00:39:26]Found Content-Length = 725 [00:39:26]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129682", "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 }]} ], "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" ] } } [00:39:26]execute_script... [00:39: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)129682", "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 }]} ], "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" ] } } [00:39:26]POST & json_proto [00:39:26]process_json_proto [00:39:26]json parsed OK: [00:39:26]protocol is kg_v1.0 [00:39:26]action value=close_receipt [00:39:26]process_action close_receipt [00:39:26]cmd_close_receipt [00:39:26]MH_GetDate [00:39:26]Write to MH i2c: F0 00 00 1D 00 0C [00:39:26]Write i2c OK [00:39:26]MH_I2C_Read... [00:39:26]Read from MH i2c: F0 [00:39:26]MH_I2C_Read... [00:39:26]Read from MH i2c: F0 09 00 [00:39:26]MH_I2C_Read... [00:39:26]Read from MH i2c: F0 09 00 1D 00 00 3F C1 95 66 2D 25 5D 64 23 [00:39:26]GetLastDocTimeStamp 1721089930 [00:39:26]current date 1721090367 [00:39:26]FM_GetShiftState [00:39:26]SAM_PROTO_GetShiftState [00:39:26]wFMCommunicate request_size=4 [00:39:26]MH_SAM_APDU [00:39:26]CAPDU: 80 13 01 00 [00:39:26]Write to MH i2c: E2 08 00 1E 00 80 13 01 00 00 00 00 00 9B [00:39:26]Write i2c OK [00:39:26]MH_I2C_Read... [00:39:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:39:26]Read from MH i2c: E2 [00:39:26]MH_I2C_Read... [00:39:26]Read from MH i2c: E2 0E 00 [00:39:26]MH_I2C_Read... [00:39:26]Read from MH i2c: E2 0E 00 1E 00 00 09 00 01 8A BF 95 66 00 00 00 00 90 00 EB [00:39:26]RAPDU: 09 00 01 8A BF 95 66 00 00 00 00 90 00 [00:39:26]wFMCommunicate OK [00:39:26]SAM_PROTO_GetShiftState done [00:39:26]FM_GetShiftState done [00:39:26]opened in 1721089930 [00:39:26]opened+sec_in_day 1721176330 [00:39:26]quantity*price = 14000 [00:39:26]sum+1 = 14001 [00:39:26]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 СНО: Общий режим Чек 1 16.07.2024 00:39 Смена: 498 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57247 ФПД: 153736109687438 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240716T003927&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57247&fm=153736109687438&tin=02508201610067®Number=0000000000091208&sum=14000 0 [00:39:27]StoreToDocumentArchive [00:39:27]shift 498 fd 57247 [00:39:27]save to /storage/0498/doc_00057247 [00:39:27]save last doc name /storage/0498/doc_00057247 to /storage/kkm_last_doc_name [00:39:27]save OK [00:39:27]Clear old archive folders... [00:39:27]ProcessDocumentItem done err = 0, tmpTLVsize=273 [00:39:27]tlvbuf is 006C8B50 [00:39:27]SAM_PROTO_ClearQueue [00:39:27]wFMCommunicate request_size=4 [00:39:27]MH_SAM_APDU [00:39:27]CAPDU: 80 09 00 00 [00:39:27]Write to MH i2c: E2 08 00 2B 00 80 09 00 00 00 00 00 00 9D [00:39:27]Write i2c OK [00:39:27]MH_I2C_Read... [00:39:27]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:39:27]Read from MH i2c: E2 [00:39:27]MH_I2C_Read... [00:39:27]Read from MH i2c: E2 03 00 [00:39:27]MH_I2C_Read... [00:39:27]Read from MH i2c: E2 03 00 2B 00 00 90 00 9F [00:39:27]RAPDU: 90 00 [00:39:27]wFMCommunicate OK [00:39:27]SAM_PROTO_ClearQueue done [00:39:27]KKMCreateOFDPacket [00:39:27]OFDProtocolAddRootSTLVToBuf [00:39:27]FM_MakeSignedData [00:39:27]FM_MakeSignedData [00:39:27]SAM_PROTO_SignData [00:39:27]wFMCommunicate request_size=4 [00:39:27]MH_SAM_APDU [00:39:27]CAPDU: 80 0D 01 02 [00:39:27]Write to MH i2c: E2 08 00 2C 00 80 0D 01 02 00 00 00 00 A5 [00:39:27]Write i2c OK [00:39:27]MH_I2C_Read... [00:39:27]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:39:28]Read from MH i2c: E2 [00:39:28]MH_I2C_Read... [00:39:28]Read from MH i2c: E2 03 00 [00:39:28]MH_I2C_Read... [00:39:28]Read from MH i2c: E2 03 00 2C 00 00 90 00 A0 [00:39:28]RAPDU: 90 00 [00:39:28]wFMCommunicate OK [00:39:28]wFMCommunicate request_size=255 [00:39:28]MH_SAM_APDU [00:39:28]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 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 01 00 00 00 F4 03 04 00 3F C1 95 66 0E 04 04 00 F2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 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:39:28]Write to MH i2c: E2 02 01 2D 00 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 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 01 00 00 00 F4 03 04 00 3F C1 95 66 0E 04 04 00 F2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 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 70 [00:39:28]Write i2c OK [00:39:28]MH_I2C_Read... [00:39:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:39:28]Read from MH i2c: E2 [00:39:28]MH_I2C_Read... [00:39:28]Read from MH i2c: E2 03 00 [00:39:28]MH_I2C_Read... [00:39:28]Read from MH i2c: E2 03 00 2D 00 00 90 00 A1 [00:39:28]RAPDU: 90 00 [00:39:28]wFMCommunicate OK [00:39:28]wFMCommunicate request_size=32 [00:39:28]MH_SAM_APDU [00:39:28]CAPDU: 80 0D 02 02 1B 30 30 30 38 37 34 38 35 37 10 04 04 00 9F DF 00 00 35 04 06 00 8B D2 7A 35 02 8E [00:39:28]Write to MH i2c: E2 23 00 2E 00 80 0D 02 02 1B 00 30 30 30 38 37 34 38 35 37 10 04 04 00 9F DF 00 00 35 04 06 00 8B D2 7A 35 02 8E 00 00 26 [00:39:28]Write i2c OK [00:39:28]MH_I2C_Read... [00:39:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:39:28]Read from MH i2c: E2 [00:39:28]MH_I2C_Read... [00:39:28]Read from MH i2c: E2 03 00 [00:39:28]MH_I2C_Read... [00:39:28]Read from MH i2c: E2 03 00 2E 00 00 90 00 A2 [00:39:28]RAPDU: 90 00 [00:39:28]wFMCommunicate OK [00:39:28]wFMCommunicate request_size=4 [00:39:28]MH_SAM_APDU [00:39:28]CAPDU: 80 0D 03 02 [00:39:28]Write to MH i2c: E2 08 00 2F 00 80 0D 03 02 00 00 00 00 AA [00:39:28]Write i2c OK [00:39:28]MH_I2C_Read... [00:39:28]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:39:28]Read from MH i2c: E2 [00:39:28]MH_I2C_Read... [00:39:28]Read from MH i2c: E2 0B 00 [00:39:28]MH_I2C_Read... [00:39:28]Read from MH i2c: E2 0B 00 2F 00 00 63 A5 8C CB FB 5A F7 B1 90 00 07 [00:39:28]RAPDU: 63 A5 8C CB FB 5A F7 B1 90 00 [00:39:28]wFMCommunicate OK [00:39:28]SAM_PROTO_SignData done [00:39:28]FM_MakeSignedData done [00:39:28]CreateOFDProtocolMessage [00:39:28]wFMCommunicate request_size=4 [00:39:28]MH_SAM_APDU [00:39:28]CAPDU: 80 11 00 00 [00:39:28]Write to MH i2c: E2 08 00 30 00 80 11 00 00 00 00 00 00 AA [00:39:28]Write i2c OK [00:39:28]MH_I2C_Read... [00:39:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:39:28]Read from MH i2c: E2 [00:39:28]MH_I2C_Read... [00:39:28]Read from MH i2c: E2 17 00 [00:39:28]MH_I2C_Read... [00:39:28]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:39:28]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:28]wFMCommunicate OK [00:39:28]CreateOFDProtocolMessage done [00:39:28]OFDSenderStorePacket 57247 [00:39:28]StoreOFDPacket docnum=57247 [00:39: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 25 01 00 00 63 BD 1D 01 30 AC 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 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 01 00 00 00 F4 03 04 00 3F C1 95 66 0E 04 04 00 F2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 9F DF 00 00 35 04 06 00 8B D2 7A 35 02 8E 63 A5 8C CB FB 5A F7 B1 [00:39:28]CheckFolder [00:39:28]dirname=/storage/ofd_packets [00:39:28]CheckFolder done [00:39:28]ProducePacketName [00:39:28]name=ofd_packets/00057247 [00:39:28]NVStorageSaveData ofd_packets/00057247 [00:39:28]File name is /storage/ofd_packets/00057247 [00:39:28]Write 323 bytes [00:39:28]NVStorageSaveData done [00:39:28]OFDSenderStorePacket done [00:39:28]KKMCreateOFDPacket done [00:39:28]NVStorageSaveData kkm_last_timestamp [00:39:28]File name is /storage/kkm_last_timestamp [00:39:28]Write 4 bytes [00:39:28]NVStorageSaveData done [00:39:28]ExternCall_PrintAddStr [00:39:28]wPrintStart [00:39:28]Write to MH i2c: 01 00 00 31 00 31 [00:39:28]Write i2c OK [00:39:28]MH_I2C_Read... [00:39:28]Read from MH i2c: 01 [00:39:28]MH_I2C_Read... [00:39:28]Read from MH i2c: 01 07 00 [00:39:28]MH_I2C_Read... [00:39:28]Read from MH i2c: 01 07 00 31 00 00 00 00 00 00 FF 0F 46 [00:39:28]RasterBufferAndPrint [00:39:28]line Счет N : (3)129682 [00:39:28]line ИНН: 02508201610067 [00:39:28]line Контрольно-Кассовый Чек [00:39:28]line ПРОДАЖА [00:39:28]line Товар: 48747059 [00:39:28]line Сигареты Winston Legend Blue [00:39:28]line 1.000 * 140.00 [00:39:28]line = 140.00 [00:39:28]line НДС 12% НСП 1% [00:39:28]line > о реализуемом товаре [00:39:28]line ИТОГО: 140.00 [00:39:28]line НСП 1% : 1.24 [00:39:28]line НДС 12% : 14.87 [00:39:28]line Наличными: 140.00 [00:39:28]line Безнал.: 0.00 [00:39:28]line Место: АЗС № 132 "Партнер Нефть" [00:39:28]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [00:39:28]line СНО: Общий режим [00:39:28]line Чек 1 16.07.2024 00:39 [00:39:28]line Смена: 498 ФФД: 1.0 [00:39:28]line ЗНМ: 0300000132 [00:39:28]line РНМ: 0000000000091208 [00:39:28]line Версия ККМ: 001 [00:39:28]line ФМ: 0000000000874857 [00:39:28]line ФД: 57247 [00:39:28]line ФПД: 153736109687438 [00:39:28]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240716T003927&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57247&fm=153736109687438&tin=02508201610067®Number=0000000000091208&sum=14000 [00:39:28]OFD Sender: Processing packet 57247 [packets to send 38, broken 37] [00:39:28]ProducePacketName [00:39:28]name=ofd_packets/00057247 [00:39:28]OFD Sender: To server: pG, [00:39:28]CommunicateWithHost lk.salyk.kg:30040 [00:39:28]ConnectInit lk.salyk.kg [00:39:28]line 0 [00:39:28]written 0, free lines is 4095 [00:39:28]Connected sock=10 [00:39: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 25 01 00 00 63 BD 1D 01 30 AC 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 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 01 00 00 00 F4 03 04 00 3F C1 95 66 0E 04 04 00 F2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 9F DF 00 00 35 04 06 00 8B D2 7A 35 02 8E 63 A5 8C CB FB 5A F7 B1 [00:39: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 21 A4 47 00 21 F1 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 9F DF 00 00 F4 03 04 00 8C 67 95 66 B6 04 01 00 00 96 A1 B5 19 E0 81 80 3F [00:39:29]CommunicateWithHost err = 0 [00:39:29]CheckOFDResponse [00:39:29]1017 (14) - 77093643461234 [00:39:29]1041 (16) - 0000000000874857 [00:39:29]1040 (4) - 57247 [00:39:29]1012 (4) - 15.07.2024 18:16 [00:39:29]1206 (1) - 0 [00:39:29]OFD Sender: Remove packet 57247 [00:39:29]ProducePacketName [00:39:29]name=ofd_packets/00057247 [00:39:29]NVStorageDeleteData [00:39:29]Write to MH i2c: 01 00 00 5A 00 5A [00:39:29]Write i2c OK [00:39:29]MH_I2C_Read... [00:39:29]Read from MH i2c: 01 [00:39:29]MH_I2C_Read... [00:39:29]Read from MH i2c: 01 07 00 [00:39:29]MH_I2C_Read... [00:39:29]Read from MH i2c: 01 07 00 5A 00 00 00 00 00 00 EC 0C 59 [00:39:29]RasterBufferAndPrint [00:39:29]line [00:39:29]line [00:39:29]line [00:39:29]line [00:39:29]line [00:39:29]written 0, free lines is 3314 [00:39:29]MH_Cut [00:39:29]Write to MH i2c: D1 01 00 61 00 01 33 [00:39:29]Write i2c OK [00:39:29]MH_I2C_Read... [00:39:29]Read from MH i2c: D1 [00:39:29]MH_I2C_Read... [00:39:29]Read from MH i2c: D1 01 00 [00:39:29]MH_I2C_Read... [00:39:29]Read from MH i2c: D1 01 00 61 00 00 32 [00:39:29]Write to MH i2c: 01 00 00 62 00 62 [00:39:29]Write i2c OK [00:39:29]MH_I2C_Read... [00:39:29]OFD Sender: No OFD packet to send [00:39:29]*** Cut start [00:39:29]*** Partial cut [00:39:29]*** CUTSNS_PIN = 1 [00:39:30]*** CUTSNS_PIN = 0 [00:39:30]*** Brake cut motor [00:39:30]Read from MH i2c: 01 [00:39:30]MH_I2C_Read... [00:39:30]*** Stop cut motor [00:39:30]*** Cut end [00:39:30]Read from MH i2c: 01 07 00 [00:39:30]MH_I2C_Read... [00:39:30]Read from MH i2c: 01 07 00 62 00 00 00 00 00 00 FF 0F 77 [00:39:30]process_action close_receipt done [00:39:30]requested_data is exist [00:39:30]produce_requested_data [00:39:30]requested_item fm.sn is exist - process it [00:39:30]wFMCommunicate request_size=4 [00:39:30]MH_SAM_APDU [00:39:30]CAPDU: 80 11 00 00 [00:39:30]Write to MH i2c: E2 08 00 63 00 80 11 00 00 00 00 00 00 DD [00:39:30]Write i2c OK [00:39:30]MH_I2C_Read... [00:39:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:39:30]Read from MH i2c: E2 [00:39:30]MH_I2C_Read... [00:39:30]Read from MH i2c: E2 17 00 [00:39:30]MH_I2C_Read... [00:39:30]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:39: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:39:30]wFMCommunicate OK [00:39:30]requested_item fd.num is exist - process it [00:39:30]SAM_PROTO_GetFieldsCounters [00:39:30]wFMCommunicate request_size=4 [00:39:30]MH_SAM_APDU [00:39:30]CAPDU: 80 13 00 00 [00:39:30]Write to MH i2c: E2 08 00 64 00 80 13 00 00 00 00 00 00 E0 [00:39:30]Write i2c OK [00:39:30]MH_I2C_Read... [00:39:30]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:39:30]Read from MH i2c: E2 [00:39:30]MH_I2C_Read... [00:39:30]Read from MH i2c: E2 62 00 [00:39:30]MH_I2C_Read... [00:39:30]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 9F DF 00 00 0E 04 04 00 F2 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 77 [00:39: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 9F DF 00 00 0E 04 04 00 F2 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:39:30]wFMCommunicate OK [00:39:30]SAM_PROTO_GetFieldsCounters done [00:39:30]requested_item shift.num is exist - process it [00:39:30]requested_item shift.opened is exist - process it [00:39:30]req_shift_opened [00:39:30]FM_GetShiftState [00:39:30]SAM_PROTO_GetShiftState [00:39:30]wFMCommunicate request_size=4 [00:39:30]MH_SAM_APDU [00:39:30]CAPDU: 80 13 01 00 [00:39:30]Write to MH i2c: E2 08 00 65 00 80 13 01 00 00 00 00 00 E2 [00:39:30]Write i2c OK [00:39:30]MH_I2C_Read... [00:39:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:39:30]Read from MH i2c: E2 [00:39:30]MH_I2C_Read... [00:39:30]Read from MH i2c: E2 0E 00 [00:39:30]MH_I2C_Read... [00:39:30]Read from MH i2c: E2 0E 00 65 00 00 09 00 01 8A BF 95 66 00 00 00 00 90 00 32 [00:39:30]RAPDU: 09 00 01 8A BF 95 66 00 00 00 00 90 00 [00:39:30]wFMCommunicate OK [00:39:30]SAM_PROTO_GetShiftState done [00:39:30]FM_GetShiftState done [00:39:30]req_shift_opened done [00:39:30]requested_item shift.open_date is exist - process it [00:39:30]req_shift_open_date [00:39:30]req_shift_open_date done [00:39:30]requested_item shift.sale.total is exist - process it [00:39:30]SAM_PROTO_GetShiftData [00:39:30]wFMCommunicate request_size=4 [00:39:30]MH_SAM_APDU [00:39:30]CAPDU: 80 13 02 00 [00:39:30]Write to MH i2c: E2 08 00 66 00 80 13 02 00 00 00 00 00 E4 [00:39:30]Write i2c OK [00:39:30]MH_I2C_Read... [00:39:31]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:39:31]Read from MH i2c: E2 [00:39:31]MH_I2C_Read... [00:39:31]Read from MH i2c: E2 FD 00 [00:39:31]MH_I2C_Read... [00:39:31]Read from MH i2c: E2 FD 00 66 00 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 B0 36 70 04 02 00 B0 36 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 CF 05 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 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 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 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 A1 [00:39:31]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 B0 36 70 04 02 00 B0 36 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 CF 05 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 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 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 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:39:31]wFMCommunicate OK [00:39:31]wFMCommunicate request_size=4 [00:39:31]MH_SAM_APDU [00:39:31]CAPDU: 80 17 00 00 [00:39:31]Write to MH i2c: E2 08 00 67 00 80 17 00 00 00 00 00 00 E7 [00:39:31]Write i2c OK [00:39:31]MH_I2C_Read... [00:39:31]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:39:31]Read from MH i2c: E2 [00:39:31]MH_I2C_Read... [00:39:31]Read from MH i2c: E2 FD 00 [00:39:31]MH_I2C_Read... [00:39:31]Read from MH i2c: E2 FD 00 67 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 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 FB [00:39:31]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:39:31]wFMCommunicate OK [00:39:31]wFMCommunicate request_size=4 [00:39:31]MH_SAM_APDU [00:39:31]CAPDU: 80 17 00 00 [00:39:31]Write to MH i2c: E2 08 00 68 00 80 17 00 00 00 00 00 00 E8 [00:39:31]Write i2c OK [00:39:31]MH_I2C_Read... [00:39:31]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:39:31]Read from MH i2c: E2 [00:39:31]MH_I2C_Read... [00:39:31]Read from MH i2c: E2 FD 00 [00:39:31]MH_I2C_Read... [00:39:31]Read from MH i2c: E2 FD 00 68 00 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 A0 [00:39:31]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:39:31]wFMCommunicate OK [00:39:31]wFMCommunicate request_size=4 [00:39:31]MH_SAM_APDU [00:39:31]CAPDU: 80 17 00 00 [00:39:31]Write to MH i2c: E2 08 00 69 00 80 17 00 00 00 00 00 00 E9 [00:39:31]Write i2c OK [00:39:31]MH_I2C_Read... [00:39:32]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:39:32]Read from MH i2c: E2 [00:39:32]MH_I2C_Read... [00:39:32]Read from MH i2c: E2 FD 00 [00:39:32]MH_I2C_Read... [00:39:32]Read from MH i2c: E2 FD 00 69 00 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 68 [00:39:32]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:39:32]wFMCommunicate OK [00:39:32]wFMCommunicate request_size=4 [00:39:32]MH_SAM_APDU [00:39:32]CAPDU: 80 17 00 00 [00:39:32]Write to MH i2c: E2 08 00 6A 00 80 17 00 00 00 00 00 00 EA [00:39:32]Write i2c OK [00:39:32]MH_I2C_Read... [00:39:32]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 193! [00:39:32]Read from MH i2c: E2 [00:39:32]MH_I2C_Read... [00:39:32]Read from MH i2c: E2 C4 00 [00:39:32]MH_I2C_Read... [00:39:32]Read from MH i2c: E2 C4 00 6A 00 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 CE [00:39:32]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:39:32]wFMCommunicate OK [00:39:32]SAM_PROTO_GetShiftData done [00:39:32]requested_item shift.sale.total_cash is exist - process it [00:39:32]requested_item shift.sale_refund.total is exist - process it [00:39:32]requested_item shift.sale_refund.total_cash is exist - process it [00:39:32]produce_requested_data done [00:39:32]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57247,"shift.num":498,"shift.opened":1,"shift.open_date":1721089930,"shift.sale.total":140.00,"shift.sale.total_cash":140.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [00:39:32]process_action_free close_receipt [00:39:32]json_value_free [00:39:32]json_value_free done [00:39:32]process_json_proto returns [00:39:32]Send response to host [00:39:32]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57247,"shift.num":498,"shift.opened":1,"shift.open_date":1721089930,"shift.sale.total":140.00,"shift.sale.total_cash":140.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [00:39:32]free response buf [00:39:32]execute_script done [00:39:32]execute_script returns [00:39:32]free content buf [00:39:32]Sock 9.Close socket [00:39:32]Sock 9.Thread stoped [00:39:34]OFD Sender: No OFD packet to send [00:39:39]OFD Sender: No OFD packet to send [00:39:44]OFD Sender: No OFD packet to send [00:39:49]OFD Sender: No OFD packet to send [00:39:54]OFD Sender: No OFD packet to send [00:39:59]OFD Sender: No OFD packet to send [00:40:04]OFD Sender: No OFD packet to send [00:40:09]OFD Sender: No OFD packet to send [00:40:14]OFD Sender: No OFD packet to send [00:40:19]OFD Sender: No OFD packet to send [00:40:24]OFD Sender: No OFD packet to send [00:40:29]OFD Sender: No OFD packet to send [00:40:34]OFD Sender: No OFD packet to send [00:40:39]OFD Sender: No OFD packet to send [00:40:44]OFD Sender: No OFD packet to send [00:40:49]OFD Sender: No OFD packet to send [00:40:54]OFD Sender: No OFD packet to send [00:40:59]OFD Sender: No OFD packet to send [00:41:04]OFD Sender: No OFD packet to send [00:41:09]OFD Sender: No OFD packet to send [00:41:14]OFD Sender: No OFD packet to send [00:41:19]OFD Sender: No OFD packet to send [00:41:24]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:04]OFD Sender: No OFD packet to send [00:45:09]OFD Sender: No OFD packet to send [00:45:15]OFD Sender: No OFD packet to send [00:45:20]OFD Sender: No OFD packet to send [00:45:25]OFD Sender: No OFD packet to send [00:45:30]OFD Sender: No OFD packet to send [00:45:35]OFD Sender: No OFD packet to send [00:45:40]OFD Sender: No OFD packet to send [00:45:45]OFD Sender: No OFD packet to send [00:45:50]OFD Sender: No OFD packet to send [00:45:55]OFD Sender: No OFD packet to send [00:46:00]OFD Sender: No OFD packet to send [00:46:05]OFD Sender: No OFD packet to send [00:46:10]OFD Sender: No OFD packet to send [00:46:15]OFD Sender: No OFD packet to send [00:46:20]OFD Sender: No OFD packet to send [00:46:25]OFD Sender: No OFD packet to send [00:46:30]OFD Sender: No OFD packet to send [00:46:35]OFD Sender: No OFD packet to send [00:46:40]OFD Sender: No OFD packet to send [00:46:45]OFD Sender: No OFD packet to send [00:46:50]OFD Sender: No OFD packet to send [00:46:55]OFD Sender: No OFD packet to send [00:47:00]OFD Sender: No OFD packet to send [00:47:05]OFD Sender: No OFD packet to send [00:47:10]OFD Sender: No OFD packet to send [00:47:15]OFD Sender: No OFD packet to send [00:47:20]OFD Sender: No OFD packet to send [00:47:25]OFD Sender: No OFD packet to send [00:47:30]OFD Sender: No OFD packet to send [00:47:35]OFD Sender: No OFD packet to send [00:47:40]OFD Sender: No OFD packet to send [00:47:45]OFD Sender: No OFD packet to send [00:47:50]OFD Sender: No OFD packet to send [00:47:55]OFD Sender: No OFD packet to send [00:47:59]accept exits with 7 [00:47:59]New connection [00:47:59]New thread 3066768740 created [00:47:59]Thread 3066912100 joined [00:47:59]Waiting for new connection... [00:47:59] Sock 7.Parse request [00:47:59]Sock 7.Check first char [00:47:59]Sock 7.First char is OK [00:47:59]request: POST /json_proto HTTP/1.0 [00:47:59]Method: POST [00:47:59]URL: /json_proto [00:47:59]Method is POST - this is cgi request [00:47:59]url: /json_proto [00:47:59]query_string will be loaded in cgi processing [00:47:59]execute_cgi json_proto POST (null) [00:47:59]execute_cgi path=json_proto method=POST [00:47:59]POST find Content-Length [00:47:59]Host: 172.17.39.4:8080 [00:47:59]Content-Length: 2438 [00:47:59]Content-Type: application/json [00:47:59] [00:47:59]POST finish read [00:47:59]Found Content-Length = 2438 [00:47:59]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129683", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 140.00, "quantity" : 3.000, "sum" : 420.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4600682557456", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FLash up energy \u044D\u043D \u0436/\u0431 0,5/0,45\u043B", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "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 }]} ,{ "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 }]} ,{ "code": "4870202522015", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Maxi \u0427\u0430\u0439 \u0413\u0440\u0443\u0448\u0435\u0432\u044B\u0439 1,2\u043B", "price" : 110.00, "quantity" : 1.000, "sum" : 110.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": "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" : 1067.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:47:59]execute_script... [00:47: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)129683", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 140.00, "quantity" : 3.000, "sum" : 420.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4600682557456", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FLash up energy \u044D\u043D \u0436/\u0431 0,5/0,45\u043B", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "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 }]} ,{ "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 }]} ,{ "code": "4870202522015", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Maxi \u0427\u0430\u0439 \u0413\u0440\u0443\u0448\u0435\u0432\u044B\u0439 1,2\u043B", "price" : 110.00, "quantity" : 1.000, "sum" : 110.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": "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" : 1067.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:47:59]POST & json_proto [00:47:59]process_json_proto [00:47:59]json parsed OK: [00:47:59]protocol is kg_v1.0 [00:47:59]action value=close_receipt [00:47:59]process_action close_receipt [00:47:59]cmd_close_receipt [00:47:59]MH_GetDate [00:47:59]Write to MH i2c: F0 00 00 6B 00 5A [00:47:59]Write i2c OK [00:47:59]MH_I2C_Read... [00:47:59]Read from MH i2c: F0 [00:47:59]MH_I2C_Read... [00:47:59]Read from MH i2c: F0 09 00 [00:47:59]MH_I2C_Read... [00:47:59]Read from MH i2c: F0 09 00 6B 00 00 40 C3 95 66 2D 25 5D 64 74 [00:47:59]GetLastDocTimeStamp 1721090367 [00:47:59]current date 1721090880 [00:47:59]FM_GetShiftState [00:47:59]SAM_PROTO_GetShiftState [00:47:59]wFMCommunicate request_size=4 [00:47:59]MH_SAM_APDU [00:47:59]CAPDU: 80 13 01 00 [00:47:59]Write to MH i2c: E2 08 00 6C 00 80 13 01 00 00 00 00 00 E9 [00:47:59]Write i2c OK [00:47:59]MH_I2C_Read... [00:47:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:47:59]Read from MH i2c: E2 [00:47:59]MH_I2C_Read... [00:47:59]Read from MH i2c: E2 0E 00 [00:47:59]MH_I2C_Read... [00:47:59]Read from MH i2c: E2 0E 00 6C 00 00 09 00 01 8A BF 95 66 00 00 00 00 90 00 39 [00:47:59]RAPDU: 09 00 01 8A BF 95 66 00 00 00 00 90 00 [00:47:59]wFMCommunicate OK [00:47:59]SAM_PROTO_GetShiftState done [00:47:59]FM_GetShiftState done [00:47:59]opened in 1721089930 [00:47:59]opened+sec_in_day 1721176330 [00:47:59]quantity*price = 42000 [00:47:59]sum+1 = 42001 [00:47:59]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4600682557456 Напиток FLash up energy эн ж/б 0,5/0,45л 1.000 * 85.00 = 85.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4870022003305 Напиток Gorilla эн нат ж/б 0,5/0,45л 1.000 * 110.00 = 110.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4700000480302 Напиток энерг Nitro манго-клуб 0.45 ж/б 1.000 * 95.00 = 95.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4870202522015 Напиток Maxi Чай Грушевый 1,2л 1.000 * 110.00 = 110.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 5449000189332 Холодный чай Fuse персик 1л 1.000 * 107.00 = 107.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 48743587 Сигареты Winston XStyle Silver 1.000 * 140.00 = 140.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 1067.00 НСП 1% : 9.44 НДС 12% : 113.31 Наличными: 1067.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 2 16.07.2024 00:48 Смена: 498 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57248 ФПД: 110048540231431 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240716T004800&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57248&fm=110048540231431&tin=02508201610067®Number=0000000000091208&sum=106700 0 [00:48:00]StoreToDocumentArchive [00:48:00]shift 498 fd 57248 [00:48:00]save to /storage/0498/doc_00057248 [00:48:00]save last doc name /storage/0498/doc_00057248 to /storage/kkm_last_doc_name [00:48:00]save OK [00:48:00]Clear old archive folders... [00:48:00]ProcessDocumentItem done err = 0, tmpTLVsize=997 [00:48:00]tlvbuf is 006D9890 [00:48:00]SAM_PROTO_ClearQueue [00:48:00]wFMCommunicate request_size=4 [00:48:00]MH_SAM_APDU [00:48:00]CAPDU: 80 09 00 00 [00:48:00]Write to MH i2c: E2 08 00 79 00 80 09 00 00 00 00 00 00 EB [00:48:00]Write i2c OK [00:48:00]MH_I2C_Read... [00:48:00]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:48:00]Read from MH i2c: E2 [00:48:00]MH_I2C_Read... [00:48:00]Read from MH i2c: E2 03 00 [00:48:00]MH_I2C_Read... [00:48:00]Read from MH i2c: E2 03 00 79 00 00 90 00 ED [00:48:00]RAPDU: 90 00 [00:48:00]wFMCommunicate OK [00:48:00]SAM_PROTO_ClearQueue done [00:48:00]KKMCreateOFDPacket [00:48:00]OFDProtocolAddRootSTLVToBuf [00:48:00]FM_MakeSignedData [00:48:00]FM_MakeSignedData [00:48:00]SAM_PROTO_SignData [00:48:00]wFMCommunicate request_size=4 [00:48:00]MH_SAM_APDU [00:48:00]CAPDU: 80 0D 01 02 [00:48:00]Write to MH i2c: E2 08 00 7A 00 80 0D 01 02 00 00 00 00 F3 [00:48:00]Write i2c OK [00:48:00]MH_I2C_Read... [00:48:00]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:48:01]Read from MH i2c: E2 [00:48:01]MH_I2C_Read... [00:48:01]Read from MH i2c: E2 03 00 [00:48:01]MH_I2C_Read... [00:48:01]Read from MH i2c: E2 03 00 7A 00 00 90 00 EE [00:48:01]RAPDU: 90 00 [00:48:01]wFMCommunicate OK [00:48:01]wFMCommunicate request_size=255 [00:48:01]MH_SAM_APDU [00:48:01]CAPDU: 80 0D 02 02 FA 03 00 E5 03 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 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 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 32 [00:48:01]Write to MH i2c: E2 02 01 7B 00 80 0D 02 02 FA 00 03 00 E5 03 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 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 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 32 00 00 0E [00:48:01]Write i2c OK [00:48:01]MH_I2C_Read... [00:48:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:48:01]Read from MH i2c: E2 [00:48:01]MH_I2C_Read... [00:48:01]Read from MH i2c: E2 03 00 [00:48:01]MH_I2C_Read... [00:48:01]Read from MH i2c: E2 03 00 7B 00 00 90 00 EF [00:48:01]RAPDU: 90 00 [00:48:01]wFMCommunicate OK [00:48:01]wFMCommunicate request_size=255 [00:48:01]MH_SAM_APDU [00:48:01]CAPDU: 80 0D 02 02 FA 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 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 23 04 75 00 8A 04 0D [00:48:01]Write to MH i2c: E2 02 01 7C 00 80 0D 02 02 FA 00 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 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 23 04 75 00 8A 04 0D 00 00 35 [00:48:01]Write i2c OK [00:48:01]MH_I2C_Read... [00:48:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:48:01]Read from MH i2c: E2 [00:48:01]MH_I2C_Read... [00:48:01]Read from MH i2c: E2 03 00 [00:48:01]MH_I2C_Read... [00:48:01]Read from MH i2c: E2 03 00 7C 00 00 90 00 F0 [00:48:01]RAPDU: 90 00 [00:48:01]wFMCommunicate OK [00:48:01]wFMCommunicate request_size=255 [00:48:01]MH_SAM_APDU [00:48:01]CAPDU: 80 0D 02 02 FA 00 34 38 37 30 32 30 32 35 32 32 30 31 35 06 04 31 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 61 78 69 20 D0 A7 D0 B0 D0 B9 20 D0 93 D1 80 D1 83 D1 88 D0 B5 D0 B2 D1 8B D0 B9 20 31 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 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 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 [00:48:01]Write to MH i2c: E2 02 01 7D 00 80 0D 02 02 FA 00 00 34 38 37 30 32 30 32 35 32 32 30 31 35 06 04 31 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 61 78 69 20 D0 A7 D0 B0 D0 B9 20 D0 93 D1 80 D1 83 D1 88 D0 B5 D0 B2 D1 8B D0 B9 20 31 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 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 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 00 79 [00:48:01]Write i2c OK [00:48:01]MH_I2C_Read... [00:48:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:48:01]Read from MH i2c: E2 [00:48:01]MH_I2C_Read... [00:48:01]Read from MH i2c: E2 03 00 [00:48:01]MH_I2C_Read... [00:48:01]Read from MH i2c: E2 03 00 7D 00 00 90 00 F1 [00:48:01]RAPDU: 90 00 [00:48:01]wFMCommunicate OK [00:48:01]wFMCommunicate request_size=255 [00:48:01]MH_SAM_APDU [00:48:01]CAPDU: 80 0D 02 02 FA 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 CC A0 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B0 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 43 2C 00 00 00 00 07 04 06 00 CC A0 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 40 C3 95 66 0E 04 04 00 F2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 A0 DF 00 00 35 04 06 00 64 16 AC 26 07 [00:48:01]Write to MH i2c: E2 02 01 7E 00 80 0D 02 02 FA 00 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 CC A0 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B0 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 43 2C 00 00 00 00 07 04 06 00 CC A0 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 40 C3 95 66 0E 04 04 00 F2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 A0 DF 00 00 35 04 06 00 64 16 AC 26 07 00 00 79 [00:48:01]Write i2c OK [00:48:01]MH_I2C_Read... [00:48:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:48:02]Read from MH i2c: E2 [00:48:02]MH_I2C_Read... [00:48:02]Read from MH i2c: E2 03 00 [00:48:02]MH_I2C_Read... [00:48:02]Read from MH i2c: E2 03 00 7E 00 00 90 00 F2 [00:48:02]RAPDU: 90 00 [00:48:02]wFMCommunicate OK [00:48:02]wFMCommunicate request_size=6 [00:48:02]MH_SAM_APDU [00:48:02]CAPDU: 80 0D 02 02 01 07 [00:48:02]Write to MH i2c: E2 09 00 7F 00 80 0D 02 02 01 00 07 00 00 02 [00:48:02]Write i2c OK [00:48:02]MH_I2C_Read... [00:48:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:48:02]Read from MH i2c: E2 [00:48:02]MH_I2C_Read... [00:48:02]Read from MH i2c: E2 03 00 [00:48:02]MH_I2C_Read... [00:48:02]Read from MH i2c: E2 03 00 7F 00 00 90 00 F3 [00:48:02]RAPDU: 90 00 [00:48:02]wFMCommunicate OK [00:48:02]wFMCommunicate request_size=4 [00:48:02]MH_SAM_APDU [00:48:02]CAPDU: 80 0D 03 02 [00:48:02]Write to MH i2c: E2 08 00 80 00 80 0D 03 02 00 00 00 00 FB [00:48:02]Write i2c OK [00:48:02]MH_I2C_Read... [00:48:02]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:48:02]Read from MH i2c: E2 [00:48:02]MH_I2C_Read... [00:48:02]Read from MH i2c: E2 0B 00 [00:48:02]MH_I2C_Read... [00:48:02]Read from MH i2c: E2 0B 00 80 00 00 4E 3A 38 F7 A8 D0 B3 9E 90 00 7C [00:48:02]RAPDU: 4E 3A 38 F7 A8 D0 B3 9E 90 00 [00:48:02]wFMCommunicate OK [00:48:02]SAM_PROTO_SignData done [00:48:02]FM_MakeSignedData done [00:48:02]CreateOFDProtocolMessage [00:48:02]wFMCommunicate request_size=4 [00:48:02]MH_SAM_APDU [00:48:02]CAPDU: 80 11 00 00 [00:48:02]Write to MH i2c: E2 08 00 81 00 80 11 00 00 00 00 00 00 FB [00:48:02]Write i2c OK [00:48:02]MH_I2C_Read... [00:48:02]Read from MH i2c: E2 [00:48:02]MH_I2C_Read... [00:48:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:48:02]Read from MH i2c: E2 17 00 [00:48:02]MH_I2C_Read... [00:48:02]Read from MH i2c: E2 17 00 81 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 55 [00:48: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:48:02]wFMCommunicate OK [00:48:02]CreateOFDProtocolMessage done [00:48:02]OFDSenderStorePacket 57248 [00:48:02]StoreOFDPacket docnum=57248 [00:48: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 F9 03 00 00 73 46 F1 03 58 40 5A 03 01 00 03 00 E5 03 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 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 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 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 23 04 75 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 30 31 35 06 04 31 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 61 78 69 20 D0 A7 D0 B0 D0 B9 20 D0 93 D1 80 D1 83 D1 88 D0 B5 D0 B2 D1 8B D0 B9 20 31 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 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 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 CC A0 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B0 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 43 2C 00 00 00 00 07 04 06 00 CC A0 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 40 C3 95 66 0E 04 04 00 F2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 A0 DF 00 00 35 04 06 00 64 16 AC 26 07 07 4E 3A 38 F7 A8 D0 B3 9E [00:48:02]CheckFolder [00:48:02]dirname=/storage/ofd_packets [00:48:02]CheckFolder done [00:48:02]ProducePacketName [00:48:02]name=ofd_packets/00057248 [00:48:02]NVStorageSaveData ofd_packets/00057248 [00:48:02]File name is /storage/ofd_packets/00057248 [00:48:02]Write 1047 bytes [00:48:02]NVStorageSaveData done [00:48:02]OFDSenderStorePacket done [00:48:02]KKMCreateOFDPacket done [00:48:02]NVStorageSaveData kkm_last_timestamp [00:48:02]File name is /storage/kkm_last_timestamp [00:48:02]Write 4 bytes [00:48:02]NVStorageSaveData done [00:48:02]ExternCall_PrintAddStr [00:48:02]wPrintStart [00:48:02]Write to MH i2c: 01 00 00 82 00 82 [00:48:02]Write i2c OK [00:48:02]MH_I2C_Read... [00:48:02]Read from MH i2c: 01 [00:48:02]MH_I2C_Read... [00:48:02]Read from MH i2c: 01 07 00 [00:48:02]MH_I2C_Read... [00:48:02]Read from MH i2c: 01 07 00 82 00 00 00 00 00 00 FF 0F 97 [00:48:02]RasterBufferAndPrint [00:48:02]line Счет N : (3)129683 [00:48:02]line ИНН: 02508201610067 [00:48:02]line Контрольно-Кассовый Чек [00:48:02]line ПРОДАЖА [00:48:02]line Товар: 48743570 [00:48:02]line Сигареты Winston XStyle Blue [00:48:02]line 3.000 * 140.00 [00:48:02]line = 420.00 [00:48:02]line НДС 12% НСП 1% [00:48:02]line > о реализуемом товаре [00:48:02]line Товар: 4600682557456 [00:48:02]line Напиток FLash up energy эн ж/б 0,5/0,45л [00:48:02]line 1.000 * 85.00 [00:48:02]line = 85.00 [00:48:02]line НДС 12% НСП 1% [00:48:02]line > о реализуемом товаре [00:48:02]line Товар: 4870022003305 [00:48:02]line Напиток Gorilla эн нат ж/б 0,5/0,45л [00:48:02]line 1.000 * 110.00 [00:48:02]line = 110.00 [00:48:02]line НДС 12% НСП 1% [00:48:02]line > о реализуемом товаре [00:48:02]line Товар: 4700000480302 [00:48:02]line Напиток энерг Nitro манго-клуб 0.45 ж/б [00:48:02]line 1.000 * 95.00 [00:48:02]line = 95.00 [00:48:02]line НДС 12% НСП 1% [00:48:02]line > о реализуемом товаре [00:48:02]line Товар: 4870202522015 [00:48:02]line Напиток Maxi Чай Грушевый 1,2л [00:48:02]line 1.000 * 110.00 [00:48:02]line = 110.00 [00:48:02]line НДС 12% НСП 1% [00:48:02]line > о реализуемом товаре [00:48:02]line Товар: 5449000189332 [00:48:02]line Холодный чай Fuse персик 1л [00:48:02]line 1.000 * 107.00 [00:48:02]line = 107.00 [00:48:02]line НДС 12% НСП 1% [00:48:02]line > о реализуемом товаре [00:48:02]line Товар: 48743587 [00:48:02]line Сигареты Winston XStyle Silver [00:48:02]line 1.000 * 140.00 [00:48:02]line = 140.00 [00:48:02]line НДС 12% НСП 1% [00:48:02]line > о реализуемом товаре [00:48:02]line ИТОГО: 1067.00 [00:48:02]line НСП 1% : 9.44 [00:48:02]line НДС 12% : 113.31 [00:48:02]line Наличными: 1067.00 [00:48:02]line Безнал.: 0.00 [00:48:02]line Место: АЗС № 132 "Партнер Нефть" [00:48:02]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [00:48:02]line СНО: Общий режим [00:48:02]line Чек 2 16.07.2024 00:48 [00:48:02]line Смена: 498 ФФД: 1.0 [00:48:02]line ЗНМ: 0300000132 [00:48:02]line РНМ: 0000000000091208 [00:48:02]line Версия ККМ: 001 [00:48:02]line ФМ: 0000000000874857 [00:48:02]line ФД: 57248 [00:48:02]line ФПД: 110048540231431 [00:48:02]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240716T004800&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57248&fm=110048540231431&tin=02508201610067®Number=0000000000091208&sum=106700 [00:48:02]line 0 [00:48:02]written 0, free lines is 4095 [00:48:02]OFD Sender: Processing packet 57248 [packets to send 38, broken 37] [00:48:02]ProducePacketName [00:48:02]name=ofd_packets/00057248 [00:48:02]OFD Sender: To server: pG, [00:48:02]CommunicateWithHost lk.salyk.kg:30040 [00:48:02]ConnectInit lk.salyk.kg [00:48:02]Connected sock=10 [00:48: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 F9 03 00 00 73 46 F1 03 58 40 5A 03 01 00 03 00 E5 03 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 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 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 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 23 04 75 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 30 31 35 06 04 31 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 61 78 69 20 D0 A7 D0 B0 D0 B9 20 D0 93 D1 80 D1 83 D1 88 D0 B5 D0 B2 D1 8B D0 B9 20 31 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 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 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 CC A0 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B0 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 43 2C 00 00 00 00 07 04 06 00 CC A0 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 40 C3 95 66 0E 04 04 00 F2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 A0 DF 00 00 35 04 06 00 64 16 AC 26 07 07 4E 3A 38 F7 A8 D0 B3 9E [00:48: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 E0 5C 47 00 B1 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 A0 DF 00 00 F4 03 04 00 8E 69 95 66 B6 04 01 00 00 03 D1 FA F6 ED 84 92 F1 [00:48:03]CommunicateWithHost err = 0 [00:48:03]CheckOFDResponse [00:48:03]1017 (14) - 77093643461234 [00:48:03]1041 (16) - 0000000000874857 [00:48:03]1040 (4) - 57248 [00:48:03]1012 (4) - 15.07.2024 18:25 [00:48:03]1206 (1) - 0 [00:48:03]OFD Sender: Remove packet 57248 [00:48:03]ProducePacketName [00:48:03]name=ofd_packets/00057248 [00:48:03]NVStorageDeleteData [00:48:03]Write to MH i2c: 01 00 00 D3 00 D3 [00:48:03]Write i2c OK [00:48:03]MH_I2C_Read... [00:48:03]Read from MH i2c: 01 [00:48:03]MH_I2C_Read... [00:48:03]Read from MH i2c: 01 07 00 [00:48:03]MH_I2C_Read... [00:48:03]Read from MH i2c: 01 07 00 D3 00 00 00 00 00 00 9D 0A 81 [00:48:03]RasterBufferAndPrint [00:48:03]line [00:48:03]line [00:48:03]line [00:48:03]line [00:48:03]line [00:48:03]written 0, free lines is 2727 [00:48:03]MH_Cut [00:48:03]Write to MH i2c: D1 01 00 DA 00 01 AC [00:48:03]Write i2c OK [00:48:03]MH_I2C_Read... [00:48:03]Read from MH i2c: D1 [00:48:03]MH_I2C_Read... [00:48:03]Read from MH i2c: D1 01 00 [00:48:03]MH_I2C_Read... [00:48:03]Read from MH i2c: D1 01 00 DA 00 00 AB [00:48:03]Write to MH i2c: 01 00 00 DB 00 DB [00:48:03]Write i2c OK [00:48:03]MH_I2C_Read... [00:48:03]OFD Sender: No OFD packet to send [00:48:04]*** Cut start [00:48:04]*** Partial cut [00:48:04]*** CUTSNS_PIN = 1 [00:48:04]*** CUTSNS_PIN = 0 [00:48:04]*** Brake cut motor [00:48:05]Read from MH i2c: 01 [00:48:05]MH_I2C_Read... [00:48:05]*** Stop cut motor [00:48:05]*** Cut end [00:48:05]Read from MH i2c: 01 07 00 [00:48:05]MH_I2C_Read... [00:48:05]Read from MH i2c: 01 07 00 DB 00 00 00 00 00 00 FF 0F F0 [00:48:05]process_action close_receipt done [00:48:05]requested_data is exist [00:48:05]produce_requested_data [00:48:05]requested_item fm.sn is exist - process it [00:48:05]wFMCommunicate request_size=4 [00:48:05]MH_SAM_APDU [00:48:05]CAPDU: 80 11 00 00 [00:48:05]Write to MH i2c: E2 08 00 DC 00 80 11 00 00 00 00 00 00 56 [00:48:05]Write i2c OK [00:48:05]MH_I2C_Read... [00:48:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:48:05]Read from MH i2c: E2 [00:48:05]MH_I2C_Read... [00:48:05]Read from MH i2c: E2 17 00 [00:48:05]MH_I2C_Read... [00:48:05]Read from MH i2c: E2 17 00 DC 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 B0 [00:48: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:48:05]wFMCommunicate OK [00:48:05]requested_item fd.num is exist - process it [00:48:05]SAM_PROTO_GetFieldsCounters [00:48:05]wFMCommunicate request_size=4 [00:48:05]MH_SAM_APDU [00:48:05]CAPDU: 80 13 00 00 [00:48:05]Write to MH i2c: E2 08 00 DD 00 80 13 00 00 00 00 00 00 59 [00:48:05]Write i2c OK [00:48:05]MH_I2C_Read... [00:48:05]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:48:05]Read from MH i2c: E2 [00:48:05]MH_I2C_Read... [00:48:05]Read from MH i2c: E2 62 00 [00:48:05]MH_I2C_Read... [00:48:05]Read from MH i2c: E2 62 00 DD 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 A0 DF 00 00 0E 04 04 00 F2 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 F4 [00:48:05]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 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 A0 DF 00 00 0E 04 04 00 F2 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:48:05]wFMCommunicate OK [00:48:05]SAM_PROTO_GetFieldsCounters done [00:48:05]requested_item shift.num is exist - process it [00:48:05]requested_item shift.opened is exist - process it [00:48:05]req_shift_opened [00:48:05]FM_GetShiftState [00:48:05]SAM_PROTO_GetShiftState [00:48:05]wFMCommunicate request_size=4 [00:48:05]MH_SAM_APDU [00:48:05]CAPDU: 80 13 01 00 [00:48:05]Write to MH i2c: E2 08 00 DE 00 80 13 01 00 00 00 00 00 5B [00:48:05]Write i2c OK [00:48:05]MH_I2C_Read... [00:48:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:48:05]Read from MH i2c: E2 [00:48:05]MH_I2C_Read... [00:48:05]Read from MH i2c: E2 0E 00 [00:48:05]MH_I2C_Read... [00:48:05]Read from MH i2c: E2 0E 00 DE 00 00 09 00 01 8A BF 95 66 00 00 00 00 90 00 AB [00:48:05]RAPDU: 09 00 01 8A BF 95 66 00 00 00 00 90 00 [00:48:05]wFMCommunicate OK [00:48:05]SAM_PROTO_GetShiftState done [00:48:05]FM_GetShiftState done [00:48:05]req_shift_opened done [00:48:05]requested_item shift.open_date is exist - process it [00:48:05]req_shift_open_date [00:48:05]req_shift_open_date done [00:48:05]requested_item shift.sale.total is exist - process it [00:48:05]SAM_PROTO_GetShiftData [00:48:05]wFMCommunicate request_size=4 [00:48:05]MH_SAM_APDU [00:48:05]CAPDU: 80 13 02 00 [00:48:05]Write to MH i2c: E2 08 00 DF 00 80 13 02 00 00 00 00 00 5D [00:48:05]Write i2c OK [00:48:05]MH_I2C_Read... [00:48:06]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:48:06]Read from MH i2c: E2 [00:48:06]MH_I2C_Read... [00:48:06]Read from MH i2c: E2 FD 00 [00:48:06]MH_I2C_Read... [00:48:06]Read from MH i2c: E2 FD 00 DF 00 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 03 00 7C D7 01 70 04 03 00 7C D7 01 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 12 32 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 2C 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 00 EF 90 00 1E [00:48:06]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 03 00 7C D7 01 70 04 03 00 7C D7 01 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 12 32 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 2C 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 00 EF 90 00 [00:48:06]wFMCommunicate OK [00:48:06]wFMCommunicate request_size=4 [00:48:06]MH_SAM_APDU [00:48:06]CAPDU: 80 17 00 00 [00:48:06]Write to MH i2c: E2 08 00 E0 00 80 17 00 00 00 00 00 00 60 [00:48:06]Write i2c OK [00:48:06]MH_I2C_Read... [00:48:06]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:48:06]Read from MH i2c: E2 [00:48:06]MH_I2C_Read... [00:48:06]Read from MH i2c: E2 FD 00 [00:48:06]MH_I2C_Read... [00:48:06]Read from MH i2c: E2 FD 00 E0 00 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 86 [00:48:06]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:48:06]wFMCommunicate OK [00:48:06]wFMCommunicate request_size=4 [00:48:06]MH_SAM_APDU [00:48:06]CAPDU: 80 17 00 00 [00:48:06]Write to MH i2c: E2 08 00 E1 00 80 17 00 00 00 00 00 00 61 [00:48:06]Write i2c OK [00:48:06]MH_I2C_Read... [00:48:06]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:48:06]Read from MH i2c: E2 [00:48:06]MH_I2C_Read... [00:48:06]Read from MH i2c: E2 FD 00 [00:48:06]MH_I2C_Read... [00:48:06]Read from MH i2c: E2 FD 00 E1 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 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 14 [00:48:06]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:48:06]wFMCommunicate OK [00:48:06]wFMCommunicate request_size=4 [00:48:06]MH_SAM_APDU [00:48:06]CAPDU: 80 17 00 00 [00:48:06]Write to MH i2c: E2 08 00 E2 00 80 17 00 00 00 00 00 00 62 [00:48:06]Write i2c OK [00:48:06]MH_I2C_Read... [00:48:07]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:48:07]Read from MH i2c: E2 [00:48:07]MH_I2C_Read... [00:48:07]Read from MH i2c: E2 FD 00 [00:48:07]MH_I2C_Read... [00:48:07]Read from MH i2c: E2 FD 00 E2 00 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 D4 [00:48:07]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:48:07]wFMCommunicate OK [00:48:07]wFMCommunicate request_size=4 [00:48:07]MH_SAM_APDU [00:48:07]CAPDU: 80 17 00 00 [00:48:07]Write to MH i2c: E2 08 00 E3 00 80 17 00 00 00 00 00 00 63 [00:48:07]Write i2c OK [00:48:07]MH_I2C_Read... [00:48:07]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 196! [00:48:07]Read from MH i2c: E2 [00:48:07]MH_I2C_Read... [00:48:07]Read from MH i2c: E2 C7 00 [00:48:07]MH_I2C_Read... [00:48:07]Read from MH i2c: E2 C7 00 E3 00 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 56 [00:48:07]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:48:07]wFMCommunicate OK [00:48:07]SAM_PROTO_GetShiftData done [00:48:07]requested_item shift.sale.total_cash is exist - process it [00:48:07]requested_item shift.sale_refund.total is exist - process it [00:48:07]requested_item shift.sale_refund.total_cash is exist - process it [00:48:07]produce_requested_data done [00:48:07]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57248,"shift.num":498,"shift.opened":1,"shift.open_date":1721089930,"shift.sale.total":1207.00,"shift.sale.total_cash":1207.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [00:48:07]process_action_free close_receipt [00:48:07]json_value_free [00:48:07]json_value_free done [00:48:07]process_json_proto returns [00:48:07]Send response to host [00:48:07]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57248,"shift.num":498,"shift.opened":1,"shift.open_date":1721089930,"shift.sale.total":1207.00,"shift.sale.total_cash":1207.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [00:48:07]free response buf [00:48:07]execute_script done [00:48:07]execute_script returns [00:48:07]free content buf [00:48:07]Sock 7.Close socket [00:48:07]Sock 7.Thread stoped [00:48:08]OFD Sender: No OFD packet to send [00:48:13]OFD Sender: No OFD packet to send [00:48:18]OFD Sender: No OFD packet to send [00:48:20]accept exits with 9 [00:48:20]New connection [00:48:20]New thread 3066912100 created [00:48:20]Thread 3066768740 joined [00:48:20]Waiting for new connection... [00:48:20] Sock 9.Parse request [00:48:20]Sock 9.Check first char [00:48:20]Sock 9.First char is OK [00:48:20]request: POST /json_proto HTTP/1.0 [00:48:20]Method: POST [00:48:20]URL: /json_proto [00:48:20]Method is POST - this is cgi request [00:48:20]url: /json_proto [00:48:20]query_string will be loaded in cgi processing [00:48:20]execute_cgi json_proto POST (null) [00:48:20]execute_cgi path=json_proto method=POST [00:48:20]POST find Content-Length [00:48:20]Host: 172.17.39.4:8080 [00:48:20]Content-Length: 725 [00:48:20]Content-Type: application/json [00:48:20] [00:48:20]POST finish read [00:48:20]Found Content-Length = 725 [00:48:20]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129684", "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" ] } } [00:48:20]execute_script... [00:48: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)129684", "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" ] } } [00:48:20]POST & json_proto [00:48:20]process_json_proto [00:48:20]json parsed OK: [00:48:20]protocol is kg_v1.0 [00:48:20]action value=close_receipt [00:48:20]process_action close_receipt [00:48:20]cmd_close_receipt [00:48:20]MH_GetDate [00:48:20]Write to MH i2c: F0 00 00 E4 00 D3 [00:48:20]Write i2c OK [00:48:20]MH_I2C_Read... [00:48:20]Read from MH i2c: F0 [00:48:20]MH_I2C_Read... [00:48:20]Read from MH i2c: F0 09 00 [00:48:20]MH_I2C_Read... [00:48:20]Read from MH i2c: F0 09 00 E4 00 00 55 C3 95 66 2D 25 5D 64 02 [00:48:20]GetLastDocTimeStamp 1721090880 [00:48:20]current date 1721090901 [00:48:20]FM_GetShiftState [00:48:20]SAM_PROTO_GetShiftState [00:48:20]wFMCommunicate request_size=4 [00:48:20]MH_SAM_APDU [00:48:20]CAPDU: 80 13 01 00 [00:48:20]Write to MH i2c: E2 08 00 E5 00 80 13 01 00 00 00 00 00 62 [00:48:20]Write i2c OK [00:48:20]MH_I2C_Read... [00:48:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:48:20]Read from MH i2c: E2 [00:48:20]MH_I2C_Read... [00:48:20]Read from MH i2c: E2 0E 00 [00:48:20]MH_I2C_Read... [00:48:20]Read from MH i2c: E2 0E 00 E5 00 00 09 00 01 8A BF 95 66 00 00 00 00 90 00 B2 [00:48:20]RAPDU: 09 00 01 8A BF 95 66 00 00 00 00 90 00 [00:48:20]wFMCommunicate OK [00:48:20]SAM_PROTO_GetShiftState done [00:48:20]FM_GetShiftState done [00:48:20]opened in 1721089930 [00:48:20]opened+sec_in_day 1721176330 [00:48:20]quantity*price = 14000 [00:48:20]sum+1 = 14001 [00:48:20]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 СНО: Общий режим Чек 3 16.07.2024 00:48 Смена: 498 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57249 ФПД: 270737587993168 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240716T004821&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57249&fm=270737587993168&tin=02508201610067®Number=0000000000091208&sum=14000 0 [00:48:21]StoreToDocumentArchive [00:48:21]shift 498 fd 57249 [00:48:21]save to /storage/0498/doc_00057249 [00:48:21]save last doc name /storage/0498/doc_00057249 to /storage/kkm_last_doc_name [00:48:21]save OK [00:48:21]Clear old archive folders... [00:48:21]ProcessDocumentItem done err = 0, tmpTLVsize=273 [00:48:21]tlvbuf is 006EA990 [00:48:21]SAM_PROTO_ClearQueue [00:48:21]wFMCommunicate request_size=4 [00:48:21]MH_SAM_APDU [00:48:21]CAPDU: 80 09 00 00 [00:48:21]Write to MH i2c: E2 08 00 F2 00 80 09 00 00 00 00 00 00 64 [00:48:21]Write i2c OK [00:48:21]MH_I2C_Read... [00:48:21]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:48:21]Read from MH i2c: E2 [00:48:21]MH_I2C_Read... [00:48:21]Read from MH i2c: E2 03 00 [00:48:21]MH_I2C_Read... [00:48:21]Read from MH i2c: E2 03 00 F2 00 00 90 00 66 [00:48:21]RAPDU: 90 00 [00:48:21]wFMCommunicate OK [00:48:21]SAM_PROTO_ClearQueue done [00:48:21]KKMCreateOFDPacket [00:48:21]OFDProtocolAddRootSTLVToBuf [00:48:21]FM_MakeSignedData [00:48:21]FM_MakeSignedData [00:48:21]SAM_PROTO_SignData [00:48:21]wFMCommunicate request_size=4 [00:48:21]MH_SAM_APDU [00:48:21]CAPDU: 80 0D 01 02 [00:48:21]Write to MH i2c: E2 08 00 F3 00 80 0D 01 02 00 00 00 00 6C [00:48:21]Write i2c OK [00:48:21]MH_I2C_Read... [00:48:21]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:48:21]Read from MH i2c: E2 [00:48:21]MH_I2C_Read... [00:48:21]Read from MH i2c: E2 03 00 [00:48:21]MH_I2C_Read... [00:48:21]Read from MH i2c: E2 03 00 F3 00 00 90 00 67 [00:48:21]RAPDU: 90 00 [00:48:21]wFMCommunicate OK [00:48:21]wFMCommunicate request_size=255 [00:48:21]MH_SAM_APDU [00:48:21]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 03 00 00 00 F4 03 04 00 55 C3 95 66 0E 04 04 00 F2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 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:48:21]Write to MH i2c: E2 02 01 F4 00 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 03 00 00 00 F4 03 04 00 55 C3 95 66 0E 04 04 00 F2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 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 65 [00:48:21]Write i2c OK [00:48:21]MH_I2C_Read... [00:48:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:48:22]Read from MH i2c: E2 [00:48:22]MH_I2C_Read... [00:48:22]Read from MH i2c: E2 03 00 [00:48:22]MH_I2C_Read... [00:48:22]Read from MH i2c: E2 03 00 F4 00 00 90 00 68 [00:48:22]RAPDU: 90 00 [00:48:22]wFMCommunicate OK [00:48:22]wFMCommunicate request_size=32 [00:48:22]MH_SAM_APDU [00:48:22]CAPDU: 80 0D 02 02 1B 30 30 30 38 37 34 38 35 37 10 04 04 00 A1 DF 00 00 35 04 06 00 F6 3C 01 C2 7A 50 [00:48:22]Write to MH i2c: E2 23 00 F5 00 80 0D 02 02 1B 00 30 30 30 38 37 34 38 35 37 10 04 04 00 A1 DF 00 00 35 04 06 00 F6 3C 01 C2 7A 50 00 00 12 [00:48:22]Write i2c OK [00:48:22]MH_I2C_Read... [00:48:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:48:22]Read from MH i2c: E2 [00:48:22]MH_I2C_Read... [00:48:22]Read from MH i2c: E2 03 00 [00:48:22]MH_I2C_Read... [00:48:22]Read from MH i2c: E2 03 00 F5 00 00 90 00 69 [00:48:22]RAPDU: 90 00 [00:48:22]wFMCommunicate OK [00:48:22]wFMCommunicate request_size=4 [00:48:22]MH_SAM_APDU [00:48:22]CAPDU: 80 0D 03 02 [00:48:22]Write to MH i2c: E2 08 00 F6 00 80 0D 03 02 00 00 00 00 71 [00:48:22]Write i2c OK [00:48:22]MH_I2C_Read... [00:48:22]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:48:22]Read from MH i2c: E2 [00:48:22]MH_I2C_Read... [00:48:22]Read from MH i2c: E2 0B 00 [00:48:22]MH_I2C_Read... [00:48:22]Read from MH i2c: E2 0B 00 F6 00 00 14 1F 5B 2A 1A 34 C6 A0 90 00 DE [00:48:22]RAPDU: 14 1F 5B 2A 1A 34 C6 A0 90 00 [00:48:22]wFMCommunicate OK [00:48:22]SAM_PROTO_SignData done [00:48:22]FM_MakeSignedData done [00:48:22]CreateOFDProtocolMessage [00:48:22]wFMCommunicate request_size=4 [00:48:22]MH_SAM_APDU [00:48:22]CAPDU: 80 11 00 00 [00:48:22]Write to MH i2c: E2 08 00 F7 00 80 11 00 00 00 00 00 00 71 [00:48:22]Write i2c OK [00:48:22]MH_I2C_Read... [00:48:22]Read from MH i2c: E2 [00:48:22]MH_I2C_Read... [00:48:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:48:22]Read from MH i2c: E2 17 00 [00:48:22]MH_I2C_Read... [00:48:22]Read from MH i2c: E2 17 00 F7 00 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:48:22]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:22]wFMCommunicate OK [00:48:22]CreateOFDProtocolMessage done [00:48:22]OFDSenderStorePacket 57249 [00:48:22]StoreOFDPacket docnum=57249 [00:48: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 25 01 00 00 17 F0 1D 01 42 0E 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 03 00 00 00 F4 03 04 00 55 C3 95 66 0E 04 04 00 F2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 A1 DF 00 00 35 04 06 00 F6 3C 01 C2 7A 50 14 1F 5B 2A 1A 34 C6 A0 [00:48:22]CheckFolder [00:48:22]dirname=/storage/ofd_packets [00:48:22]CheckFolder done [00:48:22]ProducePacketName [00:48:22]name=ofd_packets/00057249 [00:48:22]NVStorageSaveData ofd_packets/00057249 [00:48:22]File name is /storage/ofd_packets/00057249 [00:48:22]Write 323 bytes [00:48:22]NVStorageSaveData done [00:48:22]OFDSenderStorePacket done [00:48:22]KKMCreateOFDPacket done [00:48:22]NVStorageSaveData kkm_last_timestamp [00:48:22]File name is /storage/kkm_last_timestamp [00:48:22]Write 4 bytes [00:48:22]NVStorageSaveData done [00:48:22]ExternCall_PrintAddStr [00:48:22]wPrintStart [00:48:22]Write to MH i2c: 01 00 00 F8 00 F8 [00:48:22]Write i2c OK [00:48:22]MH_I2C_Read... [00:48:22]Read from MH i2c: 01 [00:48:22]MH_I2C_Read... [00:48:22]Read from MH i2c: 01 07 00 [00:48:22]MH_I2C_Read... [00:48:22]Read from MH i2c: 01 07 00 F8 00 00 00 00 00 00 FF 0F 0D [00:48:22]RasterBufferAndPrint [00:48:22]line Счет N : (3)129684 [00:48:22]line ИНН: 02508201610067 [00:48:22]line Контрольно-Кассовый Чек [00:48:22]line ПРОДАЖА [00:48:22]line Товар: 48743570 [00:48:22]line Сигареты Winston XStyle Blue [00:48:22]line 1.000 * 140.00 [00:48:22]line = 140.00 [00:48:22]line НДС 12% НСП 1% [00:48:22]line > о реализуемом товаре [00:48:22]line ИТОГО: 140.00 [00:48:22]line НСП 1% : 1.24 [00:48:22]line НДС 12% : 14.87 [00:48:22]line Наличными: 140.00 [00:48:22]line Безнал.: 0.00 [00:48:22]line Место: АЗС № 132 "Партнер Нефть" [00:48:22]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [00:48:22]line СНО: Общий режим [00:48:22]line Чек 3 16.07.2024 00:48 [00:48:22]line Смена: 498 ФФД: 1.0 [00:48:22]line ЗНМ: 0300000132 [00:48:22]line РНМ: 0000000000091208 [00:48:22]line Версия ККМ: 001 [00:48:22]line ФМ: 0000000000874857 [00:48:22]line ФД: 57249 [00:48:22]line ФПД: 270737587993168 [00:48:22]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240716T004821&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57249&fm=270737587993168&tin=02508201610067®Number=0000000000091208&sum=14000 [00:48:22]line 0 [00:48:22]OFD Sender: Processing packet 57249 [packets to send 38, broken 37] [00:48:22]ProducePacketName [00:48:22]name=ofd_packets/00057249 [00:48:22]OFD Sender: To server: pG, [00:48:22]CommunicateWithHost lk.salyk.kg:30040 [00:48:22]ConnectInit lk.salyk.kg [00:48:22]written 0, free lines is 4095 [00:48:22]Connected sock=10 [00:48: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 25 01 00 00 17 F0 1D 01 42 0E 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 03 00 00 00 F4 03 04 00 55 C3 95 66 0E 04 04 00 F2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 A1 DF 00 00 35 04 06 00 F6 3C 01 C2 7A 50 14 1F 5B 2A 1A 34 C6 A0 [00:48: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 33 01 47 00 46 9C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 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 A1 DF 00 00 F4 03 04 00 A2 69 95 66 B6 04 01 00 00 4B 21 8E 79 7A 87 5B A5 [00:48:22]CommunicateWithHost err = 0 [00:48:22]CheckOFDResponse [00:48:22]1017 (14) - 77093643461234 [00:48:22]1041 (16) - 0000000000874857 [00:48:22]1040 (4) - 57249 [00:48:22]1012 (4) - 15.07.2024 18:25 [00:48:22]1206 (1) - 0 [00:48:22]OFD Sender: Remove packet 57249 [00:48:22]ProducePacketName [00:48:22]name=ofd_packets/00057249 [00:48:22]NVStorageDeleteData [00:48:22]Write to MH i2c: 01 00 00 20 01 21 [00:48:22]Write i2c OK [00:48:22]MH_I2C_Read... [00:48:22]Read from MH i2c: 01 [00:48:22]MH_I2C_Read... [00:48:22]Read from MH i2c: 01 07 00 [00:48:22]MH_I2C_Read... [00:48:22]Read from MH i2c: 01 07 00 20 01 00 00 00 00 00 5D 0D 92 [00:48:22]RasterBufferAndPrint [00:48:22]line [00:48:23]line [00:48:23]line [00:48:23]line [00:48:23]line [00:48:23]written 0, free lines is 3439 [00:48:23]MH_Cut [00:48:23]Write to MH i2c: D1 01 00 27 01 01 FA [00:48:23]Write i2c OK [00:48:23]MH_I2C_Read... [00:48:23]Read from MH i2c: D1 [00:48:23]MH_I2C_Read... [00:48:23]Read from MH i2c: D1 01 00 [00:48:23]MH_I2C_Read... [00:48:23]Read from MH i2c: D1 01 00 27 01 00 F9 [00:48:23]Write to MH i2c: 01 00 00 28 01 29 [00:48:23]Write i2c OK [00:48:23]MH_I2C_Read... [00:48:23]OFD Sender: No OFD packet to send [00:48:23]*** Cut start [00:48:23]*** Partial cut [00:48:23]*** CUTSNS_PIN = 1 [00:48:23]*** CUTSNS_PIN = 0 [00:48:23]*** Brake cut motor [00:48:24]Read from MH i2c: 01 [00:48:24]MH_I2C_Read... [00:48:24]*** Stop cut motor [00:48:24]*** Cut end [00:48:24]Read from MH i2c: 01 07 00 [00:48:24]MH_I2C_Read... [00:48:24]Read from MH i2c: 01 07 00 28 01 00 00 00 00 00 FF 0F 3E [00:48:24]process_action close_receipt done [00:48:24]requested_data is exist [00:48:24]produce_requested_data [00:48:24]requested_item fm.sn is exist - process it [00:48:24]wFMCommunicate request_size=4 [00:48:24]MH_SAM_APDU [00:48:24]CAPDU: 80 11 00 00 [00:48:24]Write to MH i2c: E2 08 00 29 01 80 11 00 00 00 00 00 00 A4 [00:48:24]Write i2c OK [00:48:24]MH_I2C_Read... [00:48:24]Read from MH i2c: E2 [00:48:24]MH_I2C_Read... [00:48:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:48:24]Read from MH i2c: E2 17 00 [00:48:24]MH_I2C_Read... [00:48:24]Read from MH i2c: E2 17 00 29 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 FE [00:48:24]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:24]wFMCommunicate OK [00:48:24]requested_item fd.num is exist - process it [00:48:24]SAM_PROTO_GetFieldsCounters [00:48:24]wFMCommunicate request_size=4 [00:48:24]MH_SAM_APDU [00:48:24]CAPDU: 80 13 00 00 [00:48:24]Write to MH i2c: E2 08 00 2A 01 80 13 00 00 00 00 00 00 A7 [00:48:24]Write i2c OK [00:48:24]MH_I2C_Read... [00:48:24]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:48:24]Read from MH i2c: E2 [00:48:24]MH_I2C_Read... [00:48:24]Read from MH i2c: E2 62 00 [00:48:24]MH_I2C_Read... [00:48:24]Read from MH i2c: E2 62 00 2A 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 A1 DF 00 00 0E 04 04 00 F2 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 46 [00:48: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 A1 DF 00 00 0E 04 04 00 F2 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:48:24]wFMCommunicate OK [00:48:24]SAM_PROTO_GetFieldsCounters done [00:48:24]requested_item shift.num is exist - process it [00:48:24]requested_item shift.opened is exist - process it [00:48:24]req_shift_opened [00:48:24]FM_GetShiftState [00:48:24]SAM_PROTO_GetShiftState [00:48:24]wFMCommunicate request_size=4 [00:48:24]MH_SAM_APDU [00:48:24]CAPDU: 80 13 01 00 [00:48:24]Write to MH i2c: E2 08 00 2B 01 80 13 01 00 00 00 00 00 A9 [00:48:24]Write i2c OK [00:48:24]MH_I2C_Read... [00:48:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:48:24]Read from MH i2c: E2 [00:48:24]MH_I2C_Read... [00:48:24]Read from MH i2c: E2 0E 00 [00:48:24]MH_I2C_Read... [00:48:24]Read from MH i2c: E2 0E 00 2B 01 00 09 00 01 8A BF 95 66 00 00 00 00 90 00 F9 [00:48:24]RAPDU: 09 00 01 8A BF 95 66 00 00 00 00 90 00 [00:48:24]wFMCommunicate OK [00:48:24]SAM_PROTO_GetShiftState done [00:48:24]FM_GetShiftState done [00:48:24]req_shift_opened done [00:48:24]requested_item shift.open_date is exist - process it [00:48:24]req_shift_open_date [00:48:24]req_shift_open_date done [00:48:24]requested_item shift.sale.total is exist - process it [00:48:24]SAM_PROTO_GetShiftData [00:48:24]wFMCommunicate request_size=4 [00:48:24]MH_SAM_APDU [00:48:24]CAPDU: 80 13 02 00 [00:48:24]Write to MH i2c: E2 08 00 2C 01 80 13 02 00 00 00 00 00 AB [00:48:24]Write i2c OK [00:48:24]MH_I2C_Read... [00:48:25]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:48:25]Read from MH i2c: E2 [00:48:25]MH_I2C_Read... [00:48:25]Read from MH i2c: E2 FD 00 [00:48:25]MH_I2C_Read... [00:48:25]Read from MH i2c: E2 FD 00 2C 01 00 AA 04 AA 04 A6 04 6E 04 04 00 03 00 00 00 69 04 97 00 6F 04 04 00 03 00 00 00 B1 04 03 00 2C 0E 02 70 04 03 00 2C 0E 02 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 E1 37 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 A8 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 00 EF 90 00 8E [00:48:25]RAPDU: AA 04 AA 04 A6 04 6E 04 04 00 03 00 00 00 69 04 97 00 6F 04 04 00 03 00 00 00 B1 04 03 00 2C 0E 02 70 04 03 00 2C 0E 02 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 E1 37 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 A8 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 00 EF 90 00 [00:48:25]wFMCommunicate OK [00:48:25]wFMCommunicate request_size=4 [00:48:25]MH_SAM_APDU [00:48:25]CAPDU: 80 17 00 00 [00:48:25]Write to MH i2c: E2 08 00 2D 01 80 17 00 00 00 00 00 00 AE [00:48:25]Write i2c OK [00:48:25]MH_I2C_Read... [00:48:25]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:48:25]Read from MH i2c: E2 [00:48:25]MH_I2C_Read... [00:48:25]Read from MH i2c: E2 FD 00 [00:48:25]MH_I2C_Read... [00:48:25]Read from MH i2c: E2 FD 00 2D 01 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 D4 [00:48:25]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:48:25]wFMCommunicate OK [00:48:25]wFMCommunicate request_size=4 [00:48:25]MH_SAM_APDU [00:48:25]CAPDU: 80 17 00 00 [00:48:25]Write to MH i2c: E2 08 00 2E 01 80 17 00 00 00 00 00 00 AF [00:48:25]Write i2c OK [00:48:25]MH_I2C_Read... [00:48:25]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:48:25]Read from MH i2c: E2 [00:48:25]MH_I2C_Read... [00:48:25]Read from MH i2c: E2 FD 00 [00:48:25]MH_I2C_Read... [00:48:25]Read from MH i2c: E2 FD 00 2E 01 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 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 62 [00:48:26]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:48:26]wFMCommunicate OK [00:48:26]wFMCommunicate request_size=4 [00:48:26]MH_SAM_APDU [00:48:26]CAPDU: 80 17 00 00 [00:48:26]Write to MH i2c: E2 08 00 2F 01 80 17 00 00 00 00 00 00 B0 [00:48:26]Write i2c OK [00:48:26]MH_I2C_Read... [00:48:26]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:48:26]Read from MH i2c: E2 [00:48:26]MH_I2C_Read... [00:48:26]Read from MH i2c: E2 FD 00 [00:48:26]MH_I2C_Read... [00:48:26]Read from MH i2c: E2 FD 00 2F 01 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 22 [00:48:26]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:48:26]wFMCommunicate OK [00:48:26]wFMCommunicate request_size=4 [00:48:26]MH_SAM_APDU [00:48:26]CAPDU: 80 17 00 00 [00:48:26]Write to MH i2c: E2 08 00 30 01 80 17 00 00 00 00 00 00 B1 [00:48:26]Write i2c OK [00:48:26]MH_I2C_Read... [00:48:26]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 196! [00:48:26]Read from MH i2c: E2 [00:48:26]MH_I2C_Read... [00:48:26]Read from MH i2c: E2 C7 00 [00:48:26]MH_I2C_Read... [00:48:26]Read from MH i2c: E2 C7 00 30 01 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 A4 [00:48:26]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:48:26]wFMCommunicate OK [00:48:26]SAM_PROTO_GetShiftData done [00:48:26]requested_item shift.sale.total_cash is exist - process it [00:48:26]requested_item shift.sale_refund.total is exist - process it [00:48:26]requested_item shift.sale_refund.total_cash is exist - process it [00:48:26]produce_requested_data done [00:48:26]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57249,"shift.num":498,"shift.opened":1,"shift.open_date":1721089930,"shift.sale.total":1347.00,"shift.sale.total_cash":1347.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [00:48:26]process_action_free close_receipt [00:48:26]json_value_free [00:48:26]json_value_free done [00:48:26]process_json_proto returns [00:48:26]Send response to host [00:48:26]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57249,"shift.num":498,"shift.opened":1,"shift.open_date":1721089930,"shift.sale.total":1347.00,"shift.sale.total_cash":1347.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [00:48:26]free response buf [00:48:26]execute_script done [00:48:26]execute_script returns [00:48:26]free content buf [00:48:26]Sock 9.Close socket [00:48:26]Sock 9.Thread stoped [00:48:28]OFD Sender: No OFD packet to send [00:48:33]OFD Sender: No OFD packet to send [00:48:38]OFD Sender: No OFD packet to send [00:48:43]OFD Sender: No OFD packet to send [00:48:48]OFD Sender: No OFD packet to send [00:48:53]OFD Sender: No OFD packet to send [00:48:58]OFD Sender: No OFD packet to send [00:49:03]OFD Sender: No OFD packet to send [00:49:08]OFD Sender: No OFD packet to send [00:49:13]OFD Sender: No OFD packet to send [00:49:18]OFD Sender: No OFD packet to send [00:49:23]OFD Sender: No OFD packet to send [00:49:28]OFD Sender: No OFD packet to send [00:49:33]OFD Sender: No OFD packet to send [00:49:38]OFD Sender: No OFD packet to send [00:49:43]OFD Sender: No OFD packet to send [00:49:48]OFD Sender: No OFD packet to send [00:49:53]OFD Sender: No OFD packet to send [00:49:58]OFD Sender: No OFD packet to send [00:50:03]OFD Sender: No OFD packet to send [00:50:08]OFD Sender: No OFD packet to send [00:50:13]OFD Sender: No OFD packet to send [00:50:18]OFD Sender: No OFD packet to send [00:50:23]OFD Sender: No OFD packet to send [00:50:28]OFD Sender: No OFD packet to send [00:50:33]OFD Sender: No OFD packet to send [00:50:38]OFD Sender: No OFD packet to send [00:50:42]accept exits with 7 [00:50:42]New connection [00:50:42]New thread 3066768740 created [00:50:42]Thread 3066912100 joined [00:50:42]Waiting for new connection... [00:50:42] Sock 7.Parse request [00:50:42]Sock 7.Check first char [00:50:42]Sock 7.First char is OK [00:50:42]request: POST /json_proto HTTP/1.0 [00:50:42]Method: POST [00:50:42]URL: /json_proto [00:50:42]Method is POST - this is cgi request [00:50:42]url: /json_proto [00:50:42]query_string will be loaded in cgi processing [00:50:42]execute_cgi json_proto POST (null) [00:50:42]execute_cgi path=json_proto method=POST [00:50:42]POST find Content-Length [00:50:42]Host: 172.17.39.4:8080 [00:50:42]Content-Length: 919 [00:50:42]Content-Type: application/json [00:50:42] [00:50:42]POST finish read [00:50:42]Found Content-Length = 919 [00:50:42]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129685", "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 }]} ], "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" : 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:50:42]execute_script... [00:50: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)129685", "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 }]} ], "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" : 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:50:42]POST & json_proto [00:50:42]process_json_proto [00:50:42]json parsed OK: [00:50:42]protocol is kg_v1.0 [00:50:42]action value=close_receipt [00:50:42]process_action close_receipt [00:50:42]cmd_close_receipt [00:50:42]MH_GetDate [00:50:42]Write to MH i2c: F0 00 00 31 01 21 [00:50:42]Write i2c OK [00:50:42]MH_I2C_Read... [00:50:42]Read from MH i2c: F0 [00:50:42]MH_I2C_Read... [00:50:42]Read from MH i2c: F0 09 00 [00:50:42]MH_I2C_Read... [00:50:42]Read from MH i2c: F0 09 00 31 01 00 E3 C3 95 66 2D 25 5D 64 DE [00:50:42]GetLastDocTimeStamp 1721090901 [00:50:42]current date 1721091043 [00:50:42]FM_GetShiftState [00:50:42]SAM_PROTO_GetShiftState [00:50:42]wFMCommunicate request_size=4 [00:50:42]MH_SAM_APDU [00:50:42]CAPDU: 80 13 01 00 [00:50:42]Write to MH i2c: E2 08 00 32 01 80 13 01 00 00 00 00 00 B0 [00:50:42]Write i2c OK [00:50:42]MH_I2C_Read... [00:50:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:50:42]Read from MH i2c: E2 [00:50:42]MH_I2C_Read... [00:50:42]Read from MH i2c: E2 0E 00 [00:50:42]MH_I2C_Read... [00:50:42]Read from MH i2c: E2 0E 00 32 01 00 09 00 01 8A BF 95 66 00 00 00 00 90 00 00 [00:50:42]RAPDU: 09 00 01 8A BF 95 66 00 00 00 00 90 00 [00:50:42]wFMCommunicate OK [00:50:42]SAM_PROTO_GetShiftState done [00:50:42]FM_GetShiftState done [00:50:42]opened in 1721089930 [00:50:42]opened+sec_in_day 1721176330 [00:50:42]quantity*price = 21000 [00:50:42]sum+1 = 21001 [00:50:42]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 210.00 НСП 1% : 1.86 НДС 12% : 22.30 Наличными: 0.00 Безнал.: 210.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 4 16.07.2024 00:50 Смена: 498 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000874857 ФД: 57250 ФПД: 13324877279980 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240716T005043&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57250&fm=13324877279980&tin=02508201610067®Number=0000000000091208&sum=21000 0 [00:50:43]StoreToDocumentArchive [00:50:43]shift 498 fd 57250 [00:50:43]save to /storage/0498/doc_00057250 [00:50:43]save last doc name /storage/0498/doc_00057250 to /storage/kkm_last_doc_name [00:50:43]save OK [00:50:43]Clear old archive folders... [00:50:43]ProcessDocumentItem done err = 0, tmpTLVsize=266 [00:50:43]tlvbuf is 006E3C40 [00:50:43]SAM_PROTO_ClearQueue [00:50:43]wFMCommunicate request_size=4 [00:50:43]MH_SAM_APDU [00:50:43]CAPDU: 80 09 00 00 [00:50:43]Write to MH i2c: E2 08 00 3F 01 80 09 00 00 00 00 00 00 B2 [00:50:43]Write i2c OK [00:50:43]MH_I2C_Read... [00:50:43]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:50:43]Read from MH i2c: E2 [00:50:43]MH_I2C_Read... [00:50:43]Read from MH i2c: E2 03 00 [00:50:43]MH_I2C_Read... [00:50:43]Read from MH i2c: E2 03 00 3F 01 00 90 00 B4 [00:50:43]RAPDU: 90 00 [00:50:43]wFMCommunicate OK [00:50:43]SAM_PROTO_ClearQueue done [00:50:43]KKMCreateOFDPacket [00:50:43]OFDProtocolAddRootSTLVToBuf [00:50:43]FM_MakeSignedData [00:50:43]FM_MakeSignedData [00:50:43]SAM_PROTO_SignData [00:50:43]wFMCommunicate request_size=4 [00:50:43]MH_SAM_APDU [00:50:43]CAPDU: 80 0D 01 02 [00:50:43]Write to MH i2c: E2 08 00 40 01 80 0D 01 02 00 00 00 00 BA [00:50:43]Write i2c OK [00:50:43]MH_I2C_Read... [00:50:43]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:50:43]Read from MH i2c: E2 [00:50:43]MH_I2C_Read... [00:50:43]Read from MH i2c: E2 03 00 [00:50:43]MH_I2C_Read... [00:50:43]Read from MH i2c: E2 03 00 40 01 00 90 00 B5 [00:50:43]RAPDU: 90 00 [00:50:43]wFMCommunicate OK [00:50:43]wFMCommunicate request_size=255 [00:50:43]MH_SAM_APDU [00:50:43]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 00 00 00 00 00 00 39 04 06 00 08 52 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 E3 C3 95 66 0E 04 04 00 F2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 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:50:43]Write to MH i2c: E2 02 01 41 01 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 00 00 00 00 00 00 39 04 06 00 08 52 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 E3 C3 95 66 0E 04 04 00 F2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 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 31 [00:50:43]Write i2c OK [00:50:43]MH_I2C_Read... [00:50:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:50:44]Read from MH i2c: E2 [00:50:44]MH_I2C_Read... [00:50:44]Read from MH i2c: E2 03 00 [00:50:44]MH_I2C_Read... [00:50:44]Read from MH i2c: E2 03 00 41 01 00 90 00 B6 [00:50:44]RAPDU: 90 00 [00:50:44]wFMCommunicate OK [00:50:44]wFMCommunicate request_size=25 [00:50:44]MH_SAM_APDU [00:50:44]CAPDU: 80 0D 02 02 14 35 37 10 04 04 00 A2 DF 00 00 35 04 06 00 0C 1E 70 93 B2 EC [00:50:44]Write to MH i2c: E2 1C 00 42 01 80 0D 02 02 14 00 35 37 10 04 04 00 A2 DF 00 00 35 04 06 00 0C 1E 70 93 B2 EC 00 00 F4 [00:50:44]Write i2c OK [00:50:44]MH_I2C_Read... [00:50:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:50:44]Read from MH i2c: E2 [00:50:44]MH_I2C_Read... [00:50:44]Read from MH i2c: E2 03 00 [00:50:44]MH_I2C_Read... [00:50:44]Read from MH i2c: E2 03 00 42 01 00 90 00 B7 [00:50:44]RAPDU: 90 00 [00:50:44]wFMCommunicate OK [00:50:44]wFMCommunicate request_size=4 [00:50:44]MH_SAM_APDU [00:50:44]CAPDU: 80 0D 03 02 [00:50:44]Write to MH i2c: E2 08 00 43 01 80 0D 03 02 00 00 00 00 BF [00:50:44]Write i2c OK [00:50:44]MH_I2C_Read... [00:50:44]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:50:44]Read from MH i2c: E2 [00:50:44]MH_I2C_Read... [00:50:44]Read from MH i2c: E2 0B 00 [00:50:44]MH_I2C_Read... [00:50:44]Read from MH i2c: E2 0B 00 43 01 00 F6 7E D9 85 2D 16 1E 69 90 00 5C [00:50:44]RAPDU: F6 7E D9 85 2D 16 1E 69 90 00 [00:50:44]wFMCommunicate OK [00:50:44]SAM_PROTO_SignData done [00:50:44]FM_MakeSignedData done [00:50:44]CreateOFDProtocolMessage [00:50:44]wFMCommunicate request_size=4 [00:50:44]MH_SAM_APDU [00:50:44]CAPDU: 80 11 00 00 [00:50:44]Write to MH i2c: E2 08 00 44 01 80 11 00 00 00 00 00 00 BF [00:50:44]Write i2c OK [00:50:44]MH_I2C_Read... [00:50:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:50:44]Read from MH i2c: E2 [00:50:44]MH_I2C_Read... [00:50:44]Read from MH i2c: E2 17 00 [00:50:44]MH_I2C_Read... [00:50:44]Read from MH i2c: E2 17 00 44 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 19 [00:50:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [00:50:44]wFMCommunicate OK [00:50:44]CreateOFDProtocolMessage done [00:50:44]OFDSenderStorePacket 57250 [00:50:44]StoreOFDPacket docnum=57250 [00:50: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 1E 01 00 00 66 C8 16 01 73 06 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 00 00 00 00 00 00 39 04 06 00 08 52 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 E3 C3 95 66 0E 04 04 00 F2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 A2 DF 00 00 35 04 06 00 0C 1E 70 93 B2 EC F6 7E D9 85 2D 16 1E 69 [00:50:44]CheckFolder [00:50:44]dirname=/storage/ofd_packets [00:50:44]CheckFolder done [00:50:44]ProducePacketName [00:50:44]name=ofd_packets/00057250 [00:50:44]NVStorageSaveData ofd_packets/00057250 [00:50:44]File name is /storage/ofd_packets/00057250 [00:50:44]Write 316 bytes [00:50:44]NVStorageSaveData done [00:50:44]OFDSenderStorePacket done [00:50:44]KKMCreateOFDPacket done [00:50:44]NVStorageSaveData kkm_last_timestamp [00:50:44]File name is /storage/kkm_last_timestamp [00:50:44]Write 4 bytes [00:50:44]NVStorageSaveData done [00:50:44]ExternCall_PrintAddStr [00:50:44]wPrintStart [00:50:44]Write to MH i2c: 01 00 00 45 01 46 [00:50:44]Write i2c OK [00:50:44]MH_I2C_Read... [00:50:44]Read from MH i2c: 01 [00:50:44]MH_I2C_Read... [00:50:44]Read from MH i2c: 01 07 00 [00:50:44]MH_I2C_Read... [00:50:44]Read from MH i2c: 01 07 00 45 01 00 00 00 00 00 FF 0F 5B [00:50:44]RasterBufferAndPrint [00:50:44]line Счет N : (3)129685 [00:50:44]line ИНН: 02508201610067 [00:50:44]line Контрольно-Кассовый Чек [00:50:44]line ПРОДАЖА [00:50:44]line Товар: 4870001570095 [00:50:44]line Напиток Pepsi 2л [00:50:44]line 1.000 * 210.00 [00:50:44]line = 210.00 [00:50:44]line НДС 12% НСП 1% [00:50:44]line > о реализуемом товаре [00:50:44]line ИТОГО: 210.00 [00:50:44]line НСП 1% : 1.86 [00:50:44]line НДС 12% : 22.30 [00:50:44]line Наличными: 0.00 [00:50:44]line Безнал.: 210.00 [00:50:44]line Место: АЗС № 132 "Партнер Нефть" [00:50:44]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [00:50:44]line СНО: Общий режим [00:50:44]line Чек 4 16.07.2024 00:50 [00:50:44]line Смена: 498 ФФД: 1.0 [00:50:44]line ЗНМ: 0300000132 [00:50:44]line РНМ: 0000000000091208 [00:50:44]line Версия ККМ: 001 [00:50:44]line Платежная система: АКБ Кыргызстан [00:50:44]line ФМ: 0000000000874857 [00:50:44]line ФД: 57250 [00:50:44]line ФПД: 13324877279980 [00:50:44]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240716T005043&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57250&fm=13324877279980&tin=02508201610067®Number=0000000000091208&sum=21000 [00:50:44]line 0 [00:50:44]OFD Sender: Processing packet 57250 [packets to send 38, broken 37] [00:50:44]ProducePacketName [00:50:44]name=ofd_packets/00057250 [00:50:44]OFD Sender: To server: pG, [00:50:44]CommunicateWithHost lk.salyk.kg:30040 [00:50:44]ConnectInit lk.salyk.kg [00:50:44]written 0, free lines is 4095 [00:50:44]Connected sock=9 [00:50: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 1E 01 00 00 66 C8 16 01 73 06 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 00 00 00 00 00 00 39 04 06 00 08 52 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 E3 C3 95 66 0E 04 04 00 F2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 A2 DF 00 00 35 04 06 00 0C 1E 70 93 B2 EC F6 7E D9 85 2D 16 1E 69 [00:50: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 BC AF 47 00 8E 35 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 A2 DF 00 00 F4 03 04 00 30 6A 95 66 B6 04 01 00 00 E0 5C 25 6B 19 E6 F8 7A [00:50:45]CommunicateWithHost err = 0 [00:50:45]CheckOFDResponse [00:50:45]1017 (14) - 77093643461234 [00:50:45]1041 (16) - 0000000000874857 [00:50:45]1040 (4) - 57250 [00:50:45]1012 (4) - 15.07.2024 18:28 [00:50:45]1206 (1) - 0 [00:50:45]OFD Sender: Remove packet 57250 [00:50:45]ProducePacketName [00:50:45]name=ofd_packets/00057250 [00:50:45]NVStorageDeleteData [00:50:45]Write to MH i2c: 01 00 00 6F 01 70 [00:50:45]Write i2c OK [00:50:45]MH_I2C_Read... [00:50:45]Read from MH i2c: 01 [00:50:45]MH_I2C_Read... [00:50:45]Read from MH i2c: 01 07 00 [00:50:45]MH_I2C_Read... [00:50:45]Read from MH i2c: 01 07 00 6F 01 00 00 00 00 00 F8 0C 7B [00:50:45]RasterBufferAndPrint [00:50:45]line [00:50:45]line [00:50:45]line [00:50:45]line [00:50:45]line [00:50:45]written 0, free lines is 3327 [00:50:45]MH_Cut [00:50:45]Write to MH i2c: D1 01 00 76 01 01 49 [00:50:45]Write i2c OK [00:50:45]MH_I2C_Read... [00:50:45]Read from MH i2c: D1 [00:50:45]MH_I2C_Read... [00:50:45]Read from MH i2c: D1 01 00 [00:50:45]MH_I2C_Read... [00:50:45]Read from MH i2c: D1 01 00 76 01 00 48 [00:50:45]Write to MH i2c: 01 00 00 77 01 78 [00:50:45]Write i2c OK [00:50:45]MH_I2C_Read... [00:50:45]OFD Sender: No OFD packet to send [00:50:45]*** Cut start [00:50:45]*** Partial cut [00:50:45]*** CUTSNS_PIN = 1 [00:50:45]*** CUTSNS_PIN = 0 [00:50:46]*** Brake cut motor [00:50:46]Read from MH i2c: 01 [00:50:46]MH_I2C_Read... [00:50:46]*** Stop cut motor [00:50:46]*** Cut end [00:50:46]Read from MH i2c: 01 07 00 [00:50:46]MH_I2C_Read... [00:50:46]Read from MH i2c: 01 07 00 77 01 00 00 00 00 00 FF 0F 8D [00:50:46]process_action close_receipt done [00:50:46]requested_data is exist [00:50:46]produce_requested_data [00:50:46]requested_item fm.sn is exist - process it [00:50:46]wFMCommunicate request_size=4 [00:50:46]MH_SAM_APDU [00:50:46]CAPDU: 80 11 00 00 [00:50:46]Write to MH i2c: E2 08 00 78 01 80 11 00 00 00 00 00 00 F3 [00:50:46]Write i2c OK [00:50:46]MH_I2C_Read... [00:50:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:50:46]Read from MH i2c: E2 [00:50:46]MH_I2C_Read... [00:50:46]Read from MH i2c: E2 17 00 [00:50:46]MH_I2C_Read... [00:50:46]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:50:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [00:50:46]wFMCommunicate OK [00:50:46]requested_item fd.num is exist - process it [00:50:46]SAM_PROTO_GetFieldsCounters [00:50:46]wFMCommunicate request_size=4 [00:50:46]MH_SAM_APDU [00:50:46]CAPDU: 80 13 00 00 [00:50:46]Write to MH i2c: E2 08 00 79 01 80 13 00 00 00 00 00 00 F6 [00:50:46]Write i2c OK [00:50:46]MH_I2C_Read... [00:50:46]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:50:46]Read from MH i2c: E2 [00:50:46]MH_I2C_Read... [00:50:46]Read from MH i2c: E2 62 00 [00:50:46]MH_I2C_Read... [00:50:46]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 A2 DF 00 00 0E 04 04 00 F2 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 99 [00:50: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 A2 DF 00 00 0E 04 04 00 F2 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:50:46]wFMCommunicate OK [00:50:46]SAM_PROTO_GetFieldsCounters done [00:50:46]requested_item shift.num is exist - process it [00:50:46]requested_item shift.opened is exist - process it [00:50:46]req_shift_opened [00:50:46]FM_GetShiftState [00:50:46]SAM_PROTO_GetShiftState [00:50:46]wFMCommunicate request_size=4 [00:50:46]MH_SAM_APDU [00:50:46]CAPDU: 80 13 01 00 [00:50:46]Write to MH i2c: E2 08 00 7A 01 80 13 01 00 00 00 00 00 F8 [00:50:46]Write i2c OK [00:50:46]MH_I2C_Read... [00:50:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:50:46]Read from MH i2c: E2 [00:50:46]MH_I2C_Read... [00:50:46]Read from MH i2c: E2 0E 00 [00:50:46]MH_I2C_Read... [00:50:46]Read from MH i2c: E2 0E 00 7A 01 00 09 00 01 8A BF 95 66 00 00 00 00 90 00 48 [00:50:46]RAPDU: 09 00 01 8A BF 95 66 00 00 00 00 90 00 [00:50:46]wFMCommunicate OK [00:50:46]SAM_PROTO_GetShiftState done [00:50:46]FM_GetShiftState done [00:50:46]req_shift_opened done [00:50:46]requested_item shift.open_date is exist - process it [00:50:46]req_shift_open_date [00:50:46]req_shift_open_date done [00:50:46]requested_item shift.sale.total is exist - process it [00:50:46]SAM_PROTO_GetShiftData [00:50:46]wFMCommunicate request_size=4 [00:50:46]MH_SAM_APDU [00:50:46]CAPDU: 80 13 02 00 [00:50:46]Write to MH i2c: E2 08 00 7B 01 80 13 02 00 00 00 00 00 FA [00:50:46]Write i2c OK [00:50:46]MH_I2C_Read... [00:50:47]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:50:47]Read from MH i2c: E2 [00:50:47]MH_I2C_Read... [00:50:47]Read from MH i2c: E2 FD 00 [00:50:47]MH_I2C_Read... [00:50:47]Read from MH i2c: E2 FD 00 7B 01 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 34 60 02 70 04 03 00 2C 0E 02 72 04 02 00 08 52 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 97 40 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 62 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 26 [00:50:47]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 34 60 02 70 04 03 00 2C 0E 02 72 04 02 00 08 52 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 97 40 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 62 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:50:47]wFMCommunicate OK [00:50:47]wFMCommunicate request_size=4 [00:50:47]MH_SAM_APDU [00:50:47]CAPDU: 80 17 00 00 [00:50:47]Write to MH i2c: E2 08 00 7C 01 80 17 00 00 00 00 00 00 FD [00:50:47]Write i2c OK [00:50:47]MH_I2C_Read... [00:50:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:50:47]Read from MH i2c: E2 [00:50:47]MH_I2C_Read... [00:50:47]Read from MH i2c: E2 FD 00 [00:50:47]MH_I2C_Read... [00:50:47]Read from MH i2c: E2 FD 00 7C 01 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 12 [00:50:47]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:50:47]wFMCommunicate OK [00:50:47]wFMCommunicate request_size=4 [00:50:47]MH_SAM_APDU [00:50:47]CAPDU: 80 17 00 00 [00:50:47]Write to MH i2c: E2 08 00 7D 01 80 17 00 00 00 00 00 00 FE [00:50:47]Write i2c OK [00:50:47]MH_I2C_Read... [00:50:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:50:47]Read from MH i2c: E2 [00:50:47]MH_I2C_Read... [00:50:47]Read from MH i2c: E2 FD 00 [00:50:47]MH_I2C_Read... [00:50:47]Read from MH i2c: E2 FD 00 7D 01 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 BF [00:50:47]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:50:47]wFMCommunicate OK [00:50:47]wFMCommunicate request_size=4 [00:50:47]MH_SAM_APDU [00:50:47]CAPDU: 80 17 00 00 [00:50:47]Write to MH i2c: E2 08 00 7E 01 80 17 00 00 00 00 00 00 FF [00:50:47]Write i2c OK [00:50:47]MH_I2C_Read... [00:50:48]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:50:48]Read from MH i2c: E2 [00:50:48]MH_I2C_Read... [00:50:48]Read from MH i2c: E2 FD 00 [00:50:48]MH_I2C_Read... [00:50:48]Read from MH i2c: E2 FD 00 7E 01 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 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 74 [00:50:48]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:50:48]wFMCommunicate OK [00:50:48]wFMCommunicate request_size=4 [00:50:48]MH_SAM_APDU [00:50:48]CAPDU: 80 17 00 00 [00:50:48]Write to MH i2c: E2 08 00 7F 01 80 17 00 00 00 00 00 00 00 [00:50:48]Write i2c OK [00:50:48]MH_I2C_Read... [00:50:48]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 198! [00:50:48]Read from MH i2c: E2 [00:50:48]MH_I2C_Read... [00:50:48]Read from MH i2c: E2 C9 00 [00:50:48]MH_I2C_Read... [00:50:48]Read from MH i2c: E2 C9 00 7F 01 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 [00:50:48]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:50:48]wFMCommunicate OK [00:50:48]SAM_PROTO_GetShiftData done [00:50:48]requested_item shift.sale.total_cash is exist - process it [00:50:48]requested_item shift.sale_refund.total is exist - process it [00:50:48]requested_item shift.sale_refund.total_cash is exist - process it [00:50:48]produce_requested_data done [00:50:48]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57250,"shift.num":498,"shift.opened":1,"shift.open_date":1721089930,"shift.sale.total":1557.00,"shift.sale.total_cash":1347.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [00:50:48]process_action_free close_receipt [00:50:48]json_value_free [00:50:48]json_value_free done [00:50:48]process_json_proto returns [00:50:48]Send response to host [00:50:48]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57250,"shift.num":498,"shift.opened":1,"shift.open_date":1721089930,"shift.sale.total":1557.00,"shift.sale.total_cash":1347.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [00:50:48]free response buf [00:50:48]execute_script done [00:50:48]execute_script returns [00:50:48]free content buf [00:50:48]Sock 7.Close socket [00:50:48]Sock 7.Thread stoped [00:50:50]OFD Sender: No OFD packet to send [00:50:55]OFD Sender: No OFD packet to send [00:51:00]OFD Sender: No OFD packet to send [00:51:05]OFD Sender: No OFD packet to send [00:51:10]OFD Sender: No OFD packet to send [00:51:15]OFD Sender: No OFD packet to send [00:51:20]OFD Sender: No OFD packet to send [00:51:25]OFD Sender: No OFD packet to send [00:51:30]OFD Sender: No OFD packet to send [00:51:35]OFD Sender: No OFD packet to send [00:51:40]OFD Sender: No OFD packet to send [00:51:45]OFD Sender: No OFD packet to send [00:51:50]OFD Sender: No OFD packet to send [00:51:55]OFD Sender: No OFD packet to send [00:52:00]OFD Sender: No OFD packet to send [00:52:05]OFD Sender: No OFD packet to send [00:52:10]OFD Sender: No OFD packet to send [00:52:15]OFD Sender: No OFD packet to send [00:52:20]OFD Sender: No OFD packet to send [00:52:25]OFD Sender: No OFD packet to send [00:52:30]OFD Sender: No OFD packet to send [00:52:35]OFD Sender: No OFD packet to send [00:52:40]OFD Sender: No OFD packet to send [00:52:45]OFD Sender: No OFD packet to send [00:52:50]OFD Sender: No OFD packet to send [00:52:55]OFD Sender: No OFD packet to send [00:53:00]OFD Sender: No OFD packet to send [00:53:05]OFD Sender: No OFD packet to send [00:53:10]OFD Sender: No OFD packet to send [00:53:15]OFD Sender: No OFD packet to send [00:53:20]OFD Sender: No OFD packet to send [00:53:25]OFD Sender: No OFD packet to send [00:53:30]OFD Sender: No OFD packet to send [00:53:35]OFD Sender: No OFD packet to send [00:53:40]OFD Sender: No OFD packet to send [00:53:45]OFD Sender: No OFD packet to send [00:53:50]OFD Sender: No OFD packet to send [00:53:55]OFD Sender: No OFD packet to send [00:54:00]accept exits with 10 [00:54:00]New connection [00:54:00]New thread 3066912100 created [00:54:00]Thread 3066768740 joined [00:54:00]Waiting for new connection... [00:54:00] Sock 10.Parse request [00:54:00]Sock 10.Check first char [00:54:00]Sock 10.First char is OK [00:54:00]request: POST /json_proto HTTP/1.0 [00:54:00]Method: POST [00:54:00]URL: /json_proto [00:54:00]Method is POST - this is cgi request [00:54:00]url: /json_proto [00:54:00]query_string will be loaded in cgi processing [00:54:00]execute_cgi json_proto POST (null) [00:54:00]execute_cgi path=json_proto method=POST [00:54:00]POST find Content-Length [00:54:00]Host: 172.17.39.4:8080 [00:54:00]Content-Length: 1296 [00:54:00]Content-Type: application/json [00:54:00] [00:54:00]POST finish read [00:54:00]Found Content-Length = 1296 [00:54:00]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129686", "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 }]} ,{ "code": "5449000189318", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043B\u0438\u043C\u043E\u043D 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" : 214.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:54:00]execute_script... [00:54:00]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129686", "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 }]} ,{ "code": "5449000189318", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043B\u0438\u043C\u043E\u043D 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" : 214.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:54:00]POST & json_proto [00:54:00]process_json_proto [00:54:00]json parsed OK: [00:54:00]protocol is kg_v1.0 [00:54:00]action value=close_receipt [00:54:00]process_action close_receipt [00:54:00]cmd_close_receipt [00:54:00]MH_GetDate [00:54:00]Write to MH i2c: F0 00 00 80 01 70 [00:54:00]Write i2c OK [00:54:00]MH_I2C_Read... [00:54:00]Read from MH i2c: F0 [00:54:00]MH_I2C_Read... [00:54:00]Read from MH i2c: F0 09 00 [00:54:00]MH_I2C_Read... [00:54:00]Read from MH i2c: F0 09 00 80 01 00 A8 C4 95 66 2D 25 5D 64 F3 [00:54:00]GetLastDocTimeStamp 1721091043 [00:54:00]current date 1721091240 [00:54:00]FM_GetShiftState [00:54:00]SAM_PROTO_GetShiftState [00:54:00]wFMCommunicate request_size=4 [00:54:00]MH_SAM_APDU [00:54:00]CAPDU: 80 13 01 00 [00:54:00]Write to MH i2c: E2 08 00 81 01 80 13 01 00 00 00 00 00 FF [00:54:00]Write i2c OK [00:54:00]MH_I2C_Read... [00:54:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:54:00]Read from MH i2c: E2 [00:54:00]MH_I2C_Read... [00:54:00]Read from MH i2c: E2 0E 00 [00:54:00]MH_I2C_Read... [00:54:00]Read from MH i2c: E2 0E 00 81 01 00 09 00 01 8A BF 95 66 00 00 00 00 90 00 4F [00:54:00]RAPDU: 09 00 01 8A BF 95 66 00 00 00 00 90 00 [00:54:00]wFMCommunicate OK [00:54:00]SAM_PROTO_GetShiftState done [00:54:00]FM_GetShiftState done [00:54:00]opened in 1721089930 [00:54:00]opened+sec_in_day 1721176330 [00:54:00]quantity*price = 10700 [00:54:00]sum+1 = 10701 [00:54:00]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 5449000189318 Холодный чай Fuse лимон 1л 1.000 * 107.00 = 107.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 214.00 НСП 1% : 1.90 НДС 12% : 22.72 Наличными: 0.00 Безнал.: 214.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 5 16.07.2024 00:54 Смена: 498 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000874857 ФД: 57251 ФПД: 188029674688969 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240716T005401&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57251&fm=188029674688969&tin=02508201610067®Number=0000000000091208&sum=21400 0 [00:54:01]StoreToDocumentArchive [00:54:01]shift 498 fd 57251 [00:54:01]save to /storage/0498/doc_00057251 [00:54:01]save last doc name /storage/0498/doc_00057251 to /storage/kkm_last_doc_name [00:54:01]save OK [00:54:01]Clear old archive folders... [00:54:01]ProcessDocumentItem done err = 0, tmpTLVsize=413 [00:54:01]tlvbuf is 00722110 [00:54:01]SAM_PROTO_ClearQueue [00:54:01]wFMCommunicate request_size=4 [00:54:01]MH_SAM_APDU [00:54:01]CAPDU: 80 09 00 00 [00:54:01]Write to MH i2c: E2 08 00 8E 01 80 09 00 00 00 00 00 00 01 [00:54:01]Write i2c OK [00:54:01]MH_I2C_Read... [00:54:01]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:54:01]Read from MH i2c: E2 [00:54:01]MH_I2C_Read... [00:54:01]Read from MH i2c: E2 03 00 [00:54:01]MH_I2C_Read... [00:54:01]Read from MH i2c: E2 03 00 8E 01 00 90 00 03 [00:54:01]RAPDU: 90 00 [00:54:01]wFMCommunicate OK [00:54:01]SAM_PROTO_ClearQueue done [00:54:01]KKMCreateOFDPacket [00:54:01]OFDProtocolAddRootSTLVToBuf [00:54:01]FM_MakeSignedData [00:54:01]FM_MakeSignedData [00:54:01]SAM_PROTO_SignData [00:54:01]wFMCommunicate request_size=4 [00:54:01]MH_SAM_APDU [00:54:01]CAPDU: 80 0D 01 02 [00:54:01]Write to MH i2c: E2 08 00 8F 01 80 0D 01 02 00 00 00 00 09 [00:54:01]Write i2c OK [00:54:01]MH_I2C_Read... [00:54:01]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:54:01]Read from MH i2c: E2 [00:54:01]MH_I2C_Read... [00:54:01]Read from MH i2c: E2 03 00 [00:54:01]MH_I2C_Read... [00:54:01]Read from MH i2c: E2 03 00 8F 01 00 90 00 04 [00:54:01]RAPDU: 90 00 [00:54:01]wFMCommunicate OK [00:54:01]wFMCommunicate request_size=255 [00:54:01]MH_SAM_APDU [00:54:01]CAPDU: 80 0D 02 02 FA 03 00 9D 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 23 04 6F 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 31 38 06 04 2B 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 BB D0 B8 D0 BC D0 BE D0 BD 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:54:01]Write to MH i2c: E2 02 01 90 01 80 0D 02 02 FA 00 03 00 9D 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 23 04 6F 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 31 38 06 04 2B 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 BB D0 B8 D0 BC D0 BE D0 BD 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 D0 [00:54:01]Write i2c OK [00:54:01]MH_I2C_Read... [00:54:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:54:01]Read from MH i2c: E2 [00:54:01]MH_I2C_Read... [00:54:01]Read from MH i2c: E2 03 00 [00:54:01]MH_I2C_Read... [00:54:01]Read from MH i2c: E2 03 00 90 01 00 90 00 05 [00:54:01]RAPDU: 90 00 [00:54:01]wFMCommunicate OK [00:54:01]wFMCommunicate request_size=172 [00:54:01]MH_SAM_APDU [00:54:01]CAPDU: 80 0D 02 02 A7 00 01 FC 03 06 00 98 53 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BE 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E0 08 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 98 53 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 A9 C4 95 66 0E 04 04 00 F2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 A3 DF 00 00 35 04 06 00 AB 03 11 F7 91 C9 [00:54:01]Write to MH i2c: E2 AF 00 91 01 80 0D 02 02 A7 00 00 01 FC 03 06 00 98 53 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BE 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E0 08 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 98 53 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 A9 C4 95 66 0E 04 04 00 F2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 A3 DF 00 00 35 04 06 00 AB 03 11 F7 91 C9 00 00 0D [00:54:01]Write i2c OK [00:54:01]MH_I2C_Read... [00:54:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:54:02]Read from MH i2c: E2 [00:54:02]MH_I2C_Read... [00:54:02]Read from MH i2c: E2 03 00 [00:54:02]MH_I2C_Read... [00:54:02]Read from MH i2c: E2 03 00 91 01 00 90 00 06 [00:54:02]RAPDU: 90 00 [00:54:02]wFMCommunicate OK [00:54:02]wFMCommunicate request_size=4 [00:54:02]MH_SAM_APDU [00:54:02]CAPDU: 80 0D 03 02 [00:54:02]Write to MH i2c: E2 08 00 92 01 80 0D 03 02 00 00 00 00 0E [00:54:02]Write i2c OK [00:54:02]MH_I2C_Read... [00:54:02]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:54:02]Read from MH i2c: E2 [00:54:02]MH_I2C_Read... [00:54:02]Read from MH i2c: E2 0B 00 [00:54:02]MH_I2C_Read... [00:54:02]Read from MH i2c: E2 0B 00 92 01 00 77 3A 56 28 98 D7 F1 B3 90 00 51 [00:54:02]RAPDU: 77 3A 56 28 98 D7 F1 B3 90 00 [00:54:02]wFMCommunicate OK [00:54:02]SAM_PROTO_SignData done [00:54:02]FM_MakeSignedData done [00:54:02]CreateOFDProtocolMessage [00:54:02]wFMCommunicate request_size=4 [00:54:02]MH_SAM_APDU [00:54:02]CAPDU: 80 11 00 00 [00:54:02]Write to MH i2c: E2 08 00 93 01 80 11 00 00 00 00 00 00 0E [00:54:02]Write i2c OK [00:54:02]MH_I2C_Read... [00:54:02]Read from MH i2c: E2 [00:54:02]MH_I2C_Read... [00:54:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:54:02]Read from MH i2c: E2 17 00 [00:54:02]MH_I2C_Read... [00:54:02]Read from MH i2c: E2 17 00 93 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 68 [00:54: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:54:02]wFMCommunicate OK [00:54:02]CreateOFDProtocolMessage done [00:54:02]OFDSenderStorePacket 57251 [00:54:02]StoreOFDPacket docnum=57251 [00:54: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 B1 01 00 00 4B B0 A9 01 F4 C6 5A 03 01 00 03 00 9D 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 23 04 6F 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 31 38 06 04 2B 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 BB D0 B8 D0 BC D0 BE D0 BD 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 98 53 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BE 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E0 08 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 98 53 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 A9 C4 95 66 0E 04 04 00 F2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 A3 DF 00 00 35 04 06 00 AB 03 11 F7 91 C9 77 3A 56 28 98 D7 F1 B3 [00:54:02]CheckFolder [00:54:02]dirname=/storage/ofd_packets [00:54:02]CheckFolder done [00:54:02]ProducePacketName [00:54:02]name=ofd_packets/00057251 [00:54:02]NVStorageSaveData ofd_packets/00057251 [00:54:02]File name is /storage/ofd_packets/00057251 [00:54:02]Write 463 bytes [00:54:02]NVStorageSaveData done [00:54:02]OFDSenderStorePacket done [00:54:02]KKMCreateOFDPacket done [00:54:02]NVStorageSaveData kkm_last_timestamp [00:54:02]File name is /storage/kkm_last_timestamp [00:54:02]Write 4 bytes [00:54:02]NVStorageSaveData done [00:54:02]ExternCall_PrintAddStr [00:54:02]wPrintStart [00:54:02]Write to MH i2c: 01 00 00 94 01 95 [00:54:02]Write i2c OK [00:54:02]MH_I2C_Read... [00:54:02]Read from MH i2c: 01 [00:54:02]MH_I2C_Read... [00:54:02]Read from MH i2c: 01 07 00 [00:54:02]MH_I2C_Read... [00:54:02]Read from MH i2c: 01 07 00 94 01 00 00 00 00 00 FF 0F AA [00:54:02]RasterBufferAndPrint [00:54:02]line Счет N : (3)129686 [00:54:02]line ИНН: 02508201610067 [00:54:02]line Контрольно-Кассовый Чек [00:54:02]line ПРОДАЖА [00:54:02]line Товар: 5449000189356 [00:54:02]line Холодный чай Fuse манго ананас 1л [00:54:02]line 1.000 * 107.00 [00:54:02]line = 107.00 [00:54:02]line НДС 12% НСП 1% [00:54:02]line > о реализуемом товаре [00:54:02]line Товар: 5449000189318 [00:54:02]line Холодный чай Fuse лимон 1л [00:54:02]line 1.000 * 107.00 [00:54:02]line = 107.00 [00:54:02]line НДС 12% НСП 1% [00:54:02]line > о реализуемом товаре [00:54:02]line ИТОГО: 214.00 [00:54:02]line НСП 1% : 1.90 [00:54:02]line НДС 12% : 22.72 [00:54:02]line Наличными: 0.00 [00:54:02]line Безнал.: 214.00 [00:54:02]line Место: АЗС № 132 "Партнер Нефть" [00:54:02]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [00:54:02]line СНО: Общий режим [00:54:02]line Чек 5 16.07.2024 00:54 [00:54:02]line Смена: 498 ФФД: 1.0 [00:54:02]line ЗНМ: 0300000132 [00:54:02]line РНМ: 0000000000091208 [00:54:02]line Версия ККМ: 001 [00:54:02]line Платежная система: АКБ Кыргызстан [00:54:02]line ФМ: 0000000000874857 [00:54:02]line ФД: 57251 [00:54:02]line ФПД: 188029674688969 [00:54:02]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240716T005401&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57251&fm=188029674688969&tin=02508201610067®Number=0000000000091208&sum=21400 [00:54:02]line 0 [00:54:02]written 0, free lines is 4095 [00:54:02]OFD Sender: Processing packet 57251 [packets to send 38, broken 37] [00:54:02]ProducePacketName [00:54:02]name=ofd_packets/00057251 [00:54:02]OFD Sender: To server: pG, [00:54:02]CommunicateWithHost lk.salyk.kg:30040 [00:54:02]ConnectInit lk.salyk.kg [00:54:02]Connected sock=9 [00:54: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 B1 01 00 00 4B B0 A9 01 F4 C6 5A 03 01 00 03 00 9D 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 23 04 6F 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 31 38 06 04 2B 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 BB D0 B8 D0 BC D0 BE D0 BD 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 98 53 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BE 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E0 08 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 98 53 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 A9 C4 95 66 0E 04 04 00 F2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 A3 DF 00 00 35 04 06 00 AB 03 11 F7 91 C9 77 3A 56 28 98 D7 F1 B3 [00:54: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 44 76 47 00 05 EA A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 A3 DF 00 00 F4 03 04 00 F5 6A 95 66 B6 04 01 00 00 DF 0D 7C 1C 38 1F 22 3E [00:54:02]CommunicateWithHost err = 0 [00:54:02]CheckOFDResponse [00:54:02]1017 (14) - 77093643461234 [00:54:02]1041 (16) - 0000000000874857 [00:54:02]1040 (4) - 57251 [00:54:02]1012 (4) - 15.07.2024 18:31 [00:54:02]1206 (1) - 0 [00:54:02]OFD Sender: Remove packet 57251 [00:54:02]ProducePacketName [00:54:02]name=ofd_packets/00057251 [00:54:02]NVStorageDeleteData [00:54:02]Write to MH i2c: 01 00 00 C5 01 C6 [00:54:02]Write i2c OK [00:54:02]MH_I2C_Read... [00:54:02]Read from MH i2c: 01 [00:54:02]MH_I2C_Read... [00:54:02]Read from MH i2c: 01 07 00 [00:54:02]MH_I2C_Read... [00:54:02]Read from MH i2c: 01 07 00 C5 01 00 00 00 00 00 77 0C 50 [00:54:02]RasterBufferAndPrint [00:54:02]line [00:54:02]line [00:54:02]line [00:54:02]line [00:54:02]line [00:54:02]written 0, free lines is 3197 [00:54:02]MH_Cut [00:54:02]Write to MH i2c: D1 01 00 CC 01 01 9F [00:54:02]Write i2c OK [00:54:02]MH_I2C_Read... [00:54:02]Read from MH i2c: D1 [00:54:02]MH_I2C_Read... [00:54:02]Read from MH i2c: D1 01 00 [00:54:02]MH_I2C_Read... [00:54:02]Read from MH i2c: D1 01 00 CC 01 00 9E [00:54:02]Write to MH i2c: 01 00 00 CD 01 CE [00:54:02]Write i2c OK [00:54:02]MH_I2C_Read... [00:54:03]OFD Sender: No OFD packet to send [00:54:03]*** Cut start [00:54:03]*** Partial cut [00:54:03]*** CUTSNS_PIN = 1 [00:54:03]*** CUTSNS_PIN = 0 [00:54:03]*** Brake cut motor [00:54:04]Read from MH i2c: 01 [00:54:04]MH_I2C_Read... [00:54:04]*** Stop cut motor [00:54:04]*** Cut end [00:54:04]Read from MH i2c: 01 07 00 [00:54:04]MH_I2C_Read... [00:54:04]Read from MH i2c: 01 07 00 CD 01 00 00 00 00 00 FF 0F E3 [00:54:04]process_action close_receipt done [00:54:04]requested_data is exist [00:54:04]produce_requested_data [00:54:04]requested_item fm.sn is exist - process it [00:54:04]wFMCommunicate request_size=4 [00:54:04]MH_SAM_APDU [00:54:04]CAPDU: 80 11 00 00 [00:54:04]Write to MH i2c: E2 08 00 CE 01 80 11 00 00 00 00 00 00 49 [00:54:04]Write i2c OK [00:54:04]MH_I2C_Read... [00:54:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:54:04]Read from MH i2c: E2 [00:54:04]MH_I2C_Read... [00:54:04]Read from MH i2c: E2 17 00 [00:54:04]MH_I2C_Read... [00:54:04]Read from MH i2c: E2 17 00 CE 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 A3 [00:54: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:54:04]wFMCommunicate OK [00:54:04]requested_item fd.num is exist - process it [00:54:04]SAM_PROTO_GetFieldsCounters [00:54:04]wFMCommunicate request_size=4 [00:54:04]MH_SAM_APDU [00:54:04]CAPDU: 80 13 00 00 [00:54:04]Write to MH i2c: E2 08 00 CF 01 80 13 00 00 00 00 00 00 4C [00:54:04]Write i2c OK [00:54:04]MH_I2C_Read... [00:54:04]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:54:04]Read from MH i2c: E2 [00:54:04]MH_I2C_Read... [00:54:04]Read from MH i2c: E2 62 00 [00:54:04]MH_I2C_Read... [00:54:04]Read from MH i2c: E2 62 00 CF 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 A3 DF 00 00 0E 04 04 00 F2 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 F3 [00:54: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 A3 DF 00 00 0E 04 04 00 F2 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:54:04]wFMCommunicate OK [00:54:04]SAM_PROTO_GetFieldsCounters done [00:54:04]requested_item shift.num is exist - process it [00:54:04]requested_item shift.opened is exist - process it [00:54:04]req_shift_opened [00:54:04]FM_GetShiftState [00:54:04]SAM_PROTO_GetShiftState [00:54:04]wFMCommunicate request_size=4 [00:54:04]MH_SAM_APDU [00:54:04]CAPDU: 80 13 01 00 [00:54:04]Write to MH i2c: E2 08 00 D0 01 80 13 01 00 00 00 00 00 4E [00:54:04]Write i2c OK [00:54:04]MH_I2C_Read... [00:54:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:54:04]Read from MH i2c: E2 [00:54:04]MH_I2C_Read... [00:54:04]Read from MH i2c: E2 0E 00 [00:54:04]MH_I2C_Read... [00:54:04]Read from MH i2c: E2 0E 00 D0 01 00 09 00 01 8A BF 95 66 00 00 00 00 90 00 9E [00:54:04]RAPDU: 09 00 01 8A BF 95 66 00 00 00 00 90 00 [00:54:04]wFMCommunicate OK [00:54:04]SAM_PROTO_GetShiftState done [00:54:04]FM_GetShiftState done [00:54:04]req_shift_opened done [00:54:04]requested_item shift.open_date is exist - process it [00:54:04]req_shift_open_date [00:54:04]req_shift_open_date done [00:54:04]requested_item shift.sale.total is exist - process it [00:54:04]SAM_PROTO_GetShiftData [00:54:04]wFMCommunicate request_size=4 [00:54:04]MH_SAM_APDU [00:54:04]CAPDU: 80 13 02 00 [00:54:04]Write to MH i2c: E2 08 00 D1 01 80 13 02 00 00 00 00 00 50 [00:54:04]Write i2c OK [00:54:04]MH_I2C_Read... [00:54:04]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:54:04]Read from MH i2c: E2 [00:54:04]MH_I2C_Read... [00:54:04]Read from MH i2c: E2 FD 00 [00:54:04]MH_I2C_Read... [00:54:04]Read from MH i2c: E2 FD 00 D1 01 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 CC B3 02 70 04 03 00 2C 0E 02 72 04 02 00 A0 A5 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 77 49 EF 03 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 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 FC [00:54:04]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 CC B3 02 70 04 03 00 2C 0E 02 72 04 02 00 A0 A5 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 77 49 EF 03 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 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:54:04]wFMCommunicate OK [00:54:04]wFMCommunicate request_size=4 [00:54:04]MH_SAM_APDU [00:54:04]CAPDU: 80 17 00 00 [00:54:04]Write to MH i2c: E2 08 00 D2 01 80 17 00 00 00 00 00 00 53 [00:54:04]Write i2c OK [00:54:04]MH_I2C_Read... [00:54:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:54:05]Read from MH i2c: E2 [00:54:05]MH_I2C_Read... [00:54:05]Read from MH i2c: E2 FD 00 [00:54:05]MH_I2C_Read... [00:54:05]Read from MH i2c: E2 FD 00 D2 01 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 68 [00:54:05]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:54:05]wFMCommunicate OK [00:54:05]wFMCommunicate request_size=4 [00:54:05]MH_SAM_APDU [00:54:05]CAPDU: 80 17 00 00 [00:54:05]Write to MH i2c: E2 08 00 D3 01 80 17 00 00 00 00 00 00 54 [00:54:05]Write i2c OK [00:54:05]MH_I2C_Read... [00:54:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:54:05]Read from MH i2c: E2 [00:54:05]MH_I2C_Read... [00:54:05]Read from MH i2c: E2 FD 00 [00:54:05]MH_I2C_Read... [00:54:05]Read from MH i2c: E2 FD 00 D3 01 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 15 [00:54:05]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:54:05]wFMCommunicate OK [00:54:05]wFMCommunicate request_size=4 [00:54:05]MH_SAM_APDU [00:54:05]CAPDU: 80 17 00 00 [00:54:05]Write to MH i2c: E2 08 00 D4 01 80 17 00 00 00 00 00 00 55 [00:54:05]Write i2c OK [00:54:05]MH_I2C_Read... [00:54:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:54:05]Read from MH i2c: E2 [00:54:05]MH_I2C_Read... [00:54:05]Read from MH i2c: E2 FD 00 [00:54:05]MH_I2C_Read... [00:54:05]Read from MH i2c: E2 FD 00 D4 01 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 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 CA [00:54:05]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:54:05]wFMCommunicate OK [00:54:05]wFMCommunicate request_size=4 [00:54:05]MH_SAM_APDU [00:54:05]CAPDU: 80 17 00 00 [00:54:05]Write to MH i2c: E2 08 00 D5 01 80 17 00 00 00 00 00 00 56 [00:54:05]Write i2c OK [00:54:05]MH_I2C_Read... [00:54:06]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 198! [00:54:06]Read from MH i2c: E2 [00:54:06]MH_I2C_Read... [00:54:06]Read from MH i2c: E2 C9 00 [00:54:06]MH_I2C_Read... [00:54:06]Read from MH i2c: E2 C9 00 D5 01 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 [00:54:06]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:54:06]wFMCommunicate OK [00:54:06]SAM_PROTO_GetShiftData done [00:54:06]requested_item shift.sale.total_cash is exist - process it [00:54:06]requested_item shift.sale_refund.total is exist - process it [00:54:06]requested_item shift.sale_refund.total_cash is exist - process it [00:54:06]produce_requested_data done [00:54:06]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57251,"shift.num":498,"shift.opened":1,"shift.open_date":1721089930,"shift.sale.total":1771.00,"shift.sale.total_cash":1347.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [00:54:06]process_action_free close_receipt [00:54:06]json_value_free [00:54:06]json_value_free done [00:54:06]process_json_proto returns [00:54:06]Send response to host [00:54:06]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57251,"shift.num":498,"shift.opened":1,"shift.open_date":1721089930,"shift.sale.total":1771.00,"shift.sale.total_cash":1347.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [00:54:06]free response buf [00:54:06]execute_script done [00:54:06]execute_script returns [00:54:06]free content buf [00:54:06]Sock 10.Close socket [00:54:06]Sock 10.Thread stoped [00:54:08]OFD Sender: No OFD packet to send [00:54:13]OFD Sender: No OFD packet to send [00:54:18]OFD Sender: No OFD packet to send [00:54:23]OFD Sender: No OFD packet to send [00:54:28]OFD Sender: No OFD packet to send [00:54:33]OFD Sender: No OFD packet to send [00:54:38]OFD Sender: No OFD packet to send [00:54:43]OFD Sender: No OFD packet to send [00:54:48]OFD Sender: No OFD packet to send [00:54:53]OFD Sender: No OFD packet to send [00:54:58]OFD Sender: No OFD packet to send [00:55:03]OFD Sender: No OFD packet to send [00:55:08]OFD Sender: No OFD packet to send [00:55:13]OFD Sender: No OFD packet to send [00:55:18]OFD Sender: No OFD packet to send [00:55:20]accept exits with 7 [00:55:20]New connection [00:55:20]New thread 3066768740 created [00:55:20]Thread 3066912100 joined [00:55:20]Waiting for new connection... [00:55:20] Sock 7.Parse request [00:55:20]Sock 7.Check first char [00:55:20]Sock 7.First char is OK [00:55:20]request: POST /json_proto HTTP/1.0 [00:55:20]Method: POST [00:55:20]URL: /json_proto [00:55:20]Method is POST - this is cgi request [00:55:20]url: /json_proto [00:55:20]query_string will be loaded in cgi processing [00:55:20]execute_cgi json_proto POST (null) [00:55:20]execute_cgi path=json_proto method=POST [00:55:20]POST find Content-Length [00:55:20]Host: 172.17.39.4:8080 [00:55:20]Content-Length: 946 [00:55:20]Content-Type: application/json [00:55:20] [00:55:20]POST finish read [00:55:20]Found Content-Length = 946 [00:55:20]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129687", "tax_sys" : 0, "items" : [ { "code": "4630007400389", "name": "\u0421\u0435\u043C\u0435\u0447\u043A\u0438 \u0414\u0416\u0418\u041D\u041D 140\u0433", "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" ] } } [00:55:20]execute_script... [00:55: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)129687", "tax_sys" : 0, "items" : [ { "code": "4630007400389", "name": "\u0421\u0435\u043C\u0435\u0447\u043A\u0438 \u0414\u0416\u0418\u041D\u041D 140\u0433", "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" ] } } [00:55:20]POST & json_proto [00:55:20]process_json_proto [00:55:20]json parsed OK: [00:55:20]protocol is kg_v1.0 [00:55:20]action value=close_receipt [00:55:20]process_action close_receipt [00:55:20]cmd_close_receipt [00:55:20]MH_GetDate [00:55:20]Write to MH i2c: F0 00 00 D6 01 C6 [00:55:20]Write i2c OK [00:55:20]MH_I2C_Read... [00:55:20]Read from MH i2c: F0 [00:55:20]MH_I2C_Read... [00:55:20]Read from MH i2c: F0 09 00 [00:55:20]MH_I2C_Read... [00:55:20]Read from MH i2c: F0 09 00 D6 01 00 F9 C4 95 66 2D 25 5D 64 9A [00:55:20]GetLastDocTimeStamp 1721091241 [00:55:20]current date 1721091321 [00:55:20]FM_GetShiftState [00:55:20]SAM_PROTO_GetShiftState [00:55:20]wFMCommunicate request_size=4 [00:55:20]MH_SAM_APDU [00:55:20]CAPDU: 80 13 01 00 [00:55:20]Write to MH i2c: E2 08 00 D7 01 80 13 01 00 00 00 00 00 55 [00:55:20]Write i2c OK [00:55:20]MH_I2C_Read... [00:55:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:55:20]Read from MH i2c: E2 [00:55:20]MH_I2C_Read... [00:55:20]Read from MH i2c: E2 0E 00 [00:55:20]MH_I2C_Read... [00:55:20]Read from MH i2c: E2 0E 00 D7 01 00 09 00 01 8A BF 95 66 00 00 00 00 90 00 A5 [00:55:20]RAPDU: 09 00 01 8A BF 95 66 00 00 00 00 90 00 [00:55:20]wFMCommunicate OK [00:55:20]SAM_PROTO_GetShiftState done [00:55:20]FM_GetShiftState done [00:55:20]opened in 1721089930 [00:55:20]opened+sec_in_day 1721176330 [00:55:20]quantity*price = 13000 [00:55:20]sum+1 = 13001 [00:55:20]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 СНО: Общий режим Чек 6 16.07.2024 00:55 Смена: 498 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000874857 ФД: 57252 ФПД: 206654343841090 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240716T005521&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57252&fm=206654343841090&tin=02508201610067®Number=0000000000091208&sum=13000 0 [00:55:21]StoreToDocumentArchive [00:55:21]shift 498 fd 57252 [00:55:21]save to /storage/0498/doc_00057252 [00:55:21]save last doc name /storage/0498/doc_00057252 to /storage/kkm_last_doc_name [00:55:21]save OK [00:55:21]Clear old archive folders... [00:55:21]ProcessDocumentItem done err = 0, tmpTLVsize=273 [00:55:21]tlvbuf is 0071C880 [00:55:21]SAM_PROTO_ClearQueue [00:55:21]wFMCommunicate request_size=4 [00:55:21]MH_SAM_APDU [00:55:21]CAPDU: 80 09 00 00 [00:55:21]Write to MH i2c: E2 08 00 E4 01 80 09 00 00 00 00 00 00 57 [00:55:21]Write i2c OK [00:55:21]MH_I2C_Read... [00:55:21]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:55:21]Read from MH i2c: E2 [00:55:21]MH_I2C_Read... [00:55:21]Read from MH i2c: E2 03 00 [00:55:21]MH_I2C_Read... [00:55:21]Read from MH i2c: E2 03 00 E4 01 00 90 00 59 [00:55:21]RAPDU: 90 00 [00:55:21]wFMCommunicate OK [00:55:21]SAM_PROTO_ClearQueue done [00:55:21]KKMCreateOFDPacket [00:55:21]OFDProtocolAddRootSTLVToBuf [00:55:21]FM_MakeSignedData [00:55:21]FM_MakeSignedData [00:55:21]SAM_PROTO_SignData [00:55:21]wFMCommunicate request_size=4 [00:55:21]MH_SAM_APDU [00:55:21]CAPDU: 80 0D 01 02 [00:55:21]Write to MH i2c: E2 08 00 E5 01 80 0D 01 02 00 00 00 00 5F [00:55:21]Write i2c OK [00:55:21]MH_I2C_Read... [00:55:21]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:55:21]Read from MH i2c: E2 [00:55:21]MH_I2C_Read... [00:55:21]Read from MH i2c: E2 03 00 [00:55:21]MH_I2C_Read... [00:55:21]Read from MH i2c: E2 03 00 E5 01 00 90 00 5A [00:55:21]RAPDU: 90 00 [00:55:21]wFMCommunicate OK [00:55:21]wFMCommunicate request_size=255 [00:55:21]MH_SAM_APDU [00:55:21]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 33 38 39 06 04 1F 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 31 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 06 00 00 00 F4 03 04 00 F9 C4 95 66 0E 04 04 00 F2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 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:55:21]Write to MH i2c: E2 02 01 E6 01 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 33 38 39 06 04 1F 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 31 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 06 00 00 00 F4 03 04 00 F9 C4 95 66 0E 04 04 00 F2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 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 E3 [00:55:21]Write i2c OK [00:55:21]MH_I2C_Read... [00:55:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:55:22]Read from MH i2c: E2 [00:55:22]MH_I2C_Read... [00:55:22]Read from MH i2c: E2 03 00 [00:55:22]MH_I2C_Read... [00:55:22]Read from MH i2c: E2 03 00 E6 01 00 90 00 5B [00:55:22]RAPDU: 90 00 [00:55:22]wFMCommunicate OK [00:55:22]wFMCommunicate request_size=32 [00:55:22]MH_SAM_APDU [00:55:22]CAPDU: 80 0D 02 02 1B 30 30 30 38 37 34 38 35 37 10 04 04 00 A4 DF 00 00 35 04 06 00 BB F3 76 C1 85 42 [00:55:22]Write to MH i2c: E2 23 00 E7 01 80 0D 02 02 1B 00 30 30 30 38 37 34 38 35 37 10 04 04 00 A4 DF 00 00 35 04 06 00 BB F3 76 C1 85 42 00 00 F5 [00:55:22]Write i2c OK [00:55:22]MH_I2C_Read... [00:55:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:55:22]Read from MH i2c: E2 [00:55:22]MH_I2C_Read... [00:55:22]Read from MH i2c: E2 03 00 [00:55:22]MH_I2C_Read... [00:55:22]Read from MH i2c: E2 03 00 E7 01 00 90 00 5C [00:55:22]RAPDU: 90 00 [00:55:22]wFMCommunicate OK [00:55:22]wFMCommunicate request_size=4 [00:55:22]MH_SAM_APDU [00:55:22]CAPDU: 80 0D 03 02 [00:55:22]Write to MH i2c: E2 08 00 E8 01 80 0D 03 02 00 00 00 00 64 [00:55:22]Write i2c OK [00:55:22]MH_I2C_Read... [00:55:22]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:55:22]Read from MH i2c: E2 [00:55:22]MH_I2C_Read... [00:55:22]Read from MH i2c: E2 0B 00 [00:55:22]MH_I2C_Read... [00:55:22]Read from MH i2c: E2 0B 00 E8 01 00 02 28 63 5B D9 16 53 A1 90 00 30 [00:55:22]RAPDU: 02 28 63 5B D9 16 53 A1 90 00 [00:55:22]wFMCommunicate OK [00:55:22]SAM_PROTO_SignData done [00:55:22]FM_MakeSignedData done [00:55:22]CreateOFDProtocolMessage [00:55:22]wFMCommunicate request_size=4 [00:55:22]MH_SAM_APDU [00:55:22]CAPDU: 80 11 00 00 [00:55:22]Write to MH i2c: E2 08 00 E9 01 80 11 00 00 00 00 00 00 64 [00:55:22]Write i2c OK [00:55:22]MH_I2C_Read... [00:55:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:55:22]Read from MH i2c: E2 [00:55:22]MH_I2C_Read... [00:55:22]Read from MH i2c: E2 17 00 [00:55:22]MH_I2C_Read... [00:55:22]Read from MH i2c: E2 17 00 E9 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 BE [00:55:22]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:22]wFMCommunicate OK [00:55:22]CreateOFDProtocolMessage done [00:55:22]OFDSenderStorePacket 57252 [00:55:22]StoreOFDPacket docnum=57252 [00:55: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 25 01 00 00 E4 B7 1D 01 29 A6 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 33 38 39 06 04 1F 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 31 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 06 00 00 00 F4 03 04 00 F9 C4 95 66 0E 04 04 00 F2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 A4 DF 00 00 35 04 06 00 BB F3 76 C1 85 42 02 28 63 5B D9 16 53 A1 [00:55:22]CheckFolder [00:55:22]dirname=/storage/ofd_packets [00:55:22]CheckFolder done [00:55:22]ProducePacketName [00:55:22]name=ofd_packets/00057252 [00:55:22]NVStorageSaveData ofd_packets/00057252 [00:55:22]File name is /storage/ofd_packets/00057252 [00:55:22]Write 323 bytes [00:55:22]NVStorageSaveData done [00:55:22]OFDSenderStorePacket done [00:55:22]KKMCreateOFDPacket done [00:55:22]NVStorageSaveData kkm_last_timestamp [00:55:22]File name is /storage/kkm_last_timestamp [00:55:22]Write 4 bytes [00:55:22]NVStorageSaveData done [00:55:22]ExternCall_PrintAddStr [00:55:22]wPrintStart [00:55:22]Write to MH i2c: 01 00 00 EA 01 EB [00:55:22]Write i2c OK [00:55:22]MH_I2C_Read... [00:55:22]Read from MH i2c: 01 [00:55:22]MH_I2C_Read... [00:55:22]Read from MH i2c: 01 07 00 [00:55:22]MH_I2C_Read... [00:55:22]Read from MH i2c: 01 07 00 EA 01 00 00 00 00 00 FF 0F 00 [00:55:22]RasterBufferAndPrint [00:55:22]line Счет N : (3)129687 [00:55:22]line ИНН: 02508201610067 [00:55:22]line Контрольно-Кассовый Чек [00:55:22]line ПРОДАЖА [00:55:22]line Товар: 4630007400389 [00:55:22]line Семечки ДЖИНН 140г [00:55:22]line 1.000 * 130.00 [00:55:22]line = 130.00 [00:55:22]line НДС 12% НСП 1% [00:55:22]line > о реализуемом товаре [00:55:22]line ИТОГО: 130.00 [00:55:22]line НСП 1% : 1.15 [00:55:22]line НДС 12% : 13.80 [00:55:22]line Наличными: 0.00 [00:55:22]line Безнал.: 130.00 [00:55:22]line Место: АЗС № 132 "Партнер Нефть" [00:55:22]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [00:55:22]line СНО: Общий режим [00:55:22]line Чек 6 16.07.2024 00:55 [00:55:22]line Смена: 498 ФФД: 1.0 [00:55:22]line ЗНМ: 0300000132 [00:55:22]line РНМ: 0000000000091208 [00:55:22]line Версия ККМ: 001 [00:55:22]line Платежная система: АКБ Кыргызстан [00:55:22]line ФМ: 0000000000874857 [00:55:22]line ФД: 57252 [00:55:22]line ФПД: 206654343841090 [00:55:22]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240716T005521&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57252&fm=206654343841090&tin=02508201610067®Number=0000000000091208&sum=13000 [00:55:22]OFD Sender: Processing packet 57252 [packets to send 38, broken 37] [00:55:22]ProducePacketName [00:55:22]name=ofd_packets/00057252 [00:55:22]OFD Sender: To server: pG, [00:55:22]CommunicateWithHost lk.salyk.kg:30040 [00:55:22]ConnectInit lk.salyk.kg [00:55:22]line 0 [00:55:22]written 0, free lines is 4095 [00:55:22]Connected sock=11 [00:55: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 25 01 00 00 E4 B7 1D 01 29 A6 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 33 38 39 06 04 1F 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 31 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 06 00 00 00 F4 03 04 00 F9 C4 95 66 0E 04 04 00 F2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 A4 DF 00 00 35 04 06 00 BB F3 76 C1 85 42 02 28 63 5B D9 16 53 A1 [00:55:23]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 50 20 47 00 67 96 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 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 A4 DF 00 00 F4 03 04 00 46 6B 95 66 B6 04 01 00 00 F9 FF 3E 1D 9F EA 07 E6 [00:55:23]CommunicateWithHost err = 0 [00:55:23]CheckOFDResponse [00:55:23]1017 (14) - 77093643461234 [00:55:23]1041 (16) - 0000000000874857 [00:55:23]1040 (4) - 57252 [00:55:23]1012 (4) - 15.07.2024 18:32 [00:55:23]1206 (1) - 0 [00:55:23]OFD Sender: Remove packet 57252 [00:55:23]ProducePacketName [00:55:23]name=ofd_packets/00057252 [00:55:23]NVStorageDeleteData [00:55:23]Write to MH i2c: 01 00 00 14 02 16 [00:55:23]Write i2c OK [00:55:23]MH_I2C_Read... [00:55:23]Read from MH i2c: 01 [00:55:23]MH_I2C_Read... [00:55:23]Read from MH i2c: 01 07 00 [00:55:23]MH_I2C_Read... [00:55:23]Read from MH i2c: 01 07 00 14 02 00 00 00 00 00 F0 0C 19 [00:55:23]RasterBufferAndPrint [00:55:23]line [00:55:23]line [00:55:23]line [00:55:23]line [00:55:23]line [00:55:23]written 0, free lines is 3317 [00:55:23]MH_Cut [00:55:23]Write to MH i2c: D1 01 00 1B 02 01 EF [00:55:23]Write i2c OK [00:55:23]MH_I2C_Read... [00:55:23]Read from MH i2c: D1 [00:55:23]MH_I2C_Read... [00:55:23]Read from MH i2c: D1 01 00 [00:55:23]MH_I2C_Read... [00:55:23]Read from MH i2c: D1 01 00 1B 02 00 EE [00:55:23]Write to MH i2c: 01 00 00 1C 02 1E [00:55:23]Write i2c OK [00:55:23]MH_I2C_Read... [00:55:23]OFD Sender: No OFD packet to send [00:55:23]*** Cut start [00:55:23]*** Partial cut [00:55:23]*** CUTSNS_PIN = 1 [00:55:23]*** CUTSNS_PIN = 0 [00:55:24]*** Brake cut motor [00:55:24]Read from MH i2c: 01 [00:55:24]MH_I2C_Read... [00:55:24]*** Stop cut motor [00:55:24]*** Cut end [00:55:24]Read from MH i2c: 01 07 00 [00:55:24]MH_I2C_Read... [00:55:24]Read from MH i2c: 01 07 00 1C 02 00 00 00 00 00 FF 0F 33 [00:55:24]process_action close_receipt done [00:55:24]requested_data is exist [00:55:24]produce_requested_data [00:55:24]requested_item fm.sn is exist - process it [00:55:24]wFMCommunicate request_size=4 [00:55:24]MH_SAM_APDU [00:55:24]CAPDU: 80 11 00 00 [00:55:24]Write to MH i2c: E2 08 00 1D 02 80 11 00 00 00 00 00 00 99 [00:55:24]Write i2c OK [00:55:24]MH_I2C_Read... [00:55:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:55:24]Read from MH i2c: E2 [00:55:24]MH_I2C_Read... [00:55:24]Read from MH i2c: E2 17 00 [00:55:24]MH_I2C_Read... [00:55:24]Read from MH i2c: E2 17 00 1D 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 F3 [00:55:24]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:24]wFMCommunicate OK [00:55:24]requested_item fd.num is exist - process it [00:55:24]SAM_PROTO_GetFieldsCounters [00:55:24]wFMCommunicate request_size=4 [00:55:24]MH_SAM_APDU [00:55:24]CAPDU: 80 13 00 00 [00:55:24]Write to MH i2c: E2 08 00 1E 02 80 13 00 00 00 00 00 00 9C [00:55:24]Write i2c OK [00:55:24]MH_I2C_Read... [00:55:24]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:55:24]Read from MH i2c: E2 [00:55:24]MH_I2C_Read... [00:55:24]Read from MH i2c: E2 62 00 [00:55:24]MH_I2C_Read... [00:55:24]Read from MH i2c: E2 62 00 1E 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 A4 DF 00 00 0E 04 04 00 F2 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 47 [00:55: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 A4 DF 00 00 0E 04 04 00 F2 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:55:24]wFMCommunicate OK [00:55:24]SAM_PROTO_GetFieldsCounters done [00:55:24]requested_item shift.num is exist - process it [00:55:24]requested_item shift.opened is exist - process it [00:55:24]req_shift_opened [00:55:24]FM_GetShiftState [00:55:24]SAM_PROTO_GetShiftState [00:55:24]wFMCommunicate request_size=4 [00:55:24]MH_SAM_APDU [00:55:24]CAPDU: 80 13 01 00 [00:55:24]Write to MH i2c: E2 08 00 1F 02 80 13 01 00 00 00 00 00 9E [00:55:24]Write i2c OK [00:55:24]MH_I2C_Read... [00:55:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:55:24]Read from MH i2c: E2 [00:55:24]MH_I2C_Read... [00:55:24]Read from MH i2c: E2 0E 00 [00:55:24]MH_I2C_Read... [00:55:24]Read from MH i2c: E2 0E 00 1F 02 00 09 00 01 8A BF 95 66 00 00 00 00 90 00 EE [00:55:24]RAPDU: 09 00 01 8A BF 95 66 00 00 00 00 90 00 [00:55:24]wFMCommunicate OK [00:55:24]SAM_PROTO_GetShiftState done [00:55:24]FM_GetShiftState done [00:55:24]req_shift_opened done [00:55:24]requested_item shift.open_date is exist - process it [00:55:24]req_shift_open_date [00:55:24]req_shift_open_date done [00:55:24]requested_item shift.sale.total is exist - process it [00:55:24]SAM_PROTO_GetShiftData [00:55:24]wFMCommunicate request_size=4 [00:55:24]MH_SAM_APDU [00:55:24]CAPDU: 80 13 02 00 [00:55:24]Write to MH i2c: E2 08 00 20 02 80 13 02 00 00 00 00 00 A0 [00:55:24]Write i2c OK [00:55:24]MH_I2C_Read... [00:55:25]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:55:25]Read from MH i2c: E2 [00:55:25]MH_I2C_Read... [00:55:25]Read from MH i2c: E2 FD 00 [00:55:25]MH_I2C_Read... [00:55:25]Read from MH i2c: E2 FD 00 20 02 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 94 E6 02 70 04 03 00 2C 0E 02 72 04 02 00 68 D8 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 DB 4E EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 93 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 20 [00:55:25]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 94 E6 02 70 04 03 00 2C 0E 02 72 04 02 00 68 D8 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 DB 4E EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 93 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:55:25]wFMCommunicate OK [00:55:25]wFMCommunicate request_size=4 [00:55:25]MH_SAM_APDU [00:55:25]CAPDU: 80 17 00 00 [00:55:25]Write to MH i2c: E2 08 00 21 02 80 17 00 00 00 00 00 00 A3 [00:55:25]Write i2c OK [00:55:25]MH_I2C_Read... [00:55:25]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:55:25]Read from MH i2c: E2 [00:55:25]MH_I2C_Read... [00:55:25]Read from MH i2c: E2 FD 00 [00:55:25]MH_I2C_Read... [00:55:25]Read from MH i2c: E2 FD 00 21 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 B8 [00:55:25]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:55:25]wFMCommunicate OK [00:55:25]wFMCommunicate request_size=4 [00:55:25]MH_SAM_APDU [00:55:25]CAPDU: 80 17 00 00 [00:55:25]Write to MH i2c: E2 08 00 22 02 80 17 00 00 00 00 00 00 A4 [00:55:25]Write i2c OK [00:55:25]MH_I2C_Read... [00:55:25]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:55:25]Read from MH i2c: E2 [00:55:25]MH_I2C_Read... [00:55:25]Read from MH i2c: E2 FD 00 [00:55:25]MH_I2C_Read... [00:55:25]Read from MH i2c: E2 FD 00 22 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 65 [00:55:25]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:55:25]wFMCommunicate OK [00:55:25]wFMCommunicate request_size=4 [00:55:25]MH_SAM_APDU [00:55:25]CAPDU: 80 17 00 00 [00:55:25]Write to MH i2c: E2 08 00 23 02 80 17 00 00 00 00 00 00 A5 [00:55:25]Write i2c OK [00:55:25]MH_I2C_Read... [00:55:26]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:55:26]Read from MH i2c: E2 [00:55:26]MH_I2C_Read... [00:55:26]Read from MH i2c: E2 FD 00 [00:55:26]MH_I2C_Read... [00:55:26]Read from MH i2c: E2 FD 00 23 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 1A [00:55:26]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:55:26]wFMCommunicate OK [00:55:26]wFMCommunicate request_size=4 [00:55:26]MH_SAM_APDU [00:55:26]CAPDU: 80 17 00 00 [00:55:26]Write to MH i2c: E2 08 00 24 02 80 17 00 00 00 00 00 00 A6 [00:55:26]Write i2c OK [00:55:26]MH_I2C_Read... [00:55:26]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 198! [00:55:26]Read from MH i2c: E2 [00:55:26]MH_I2C_Read... [00:55:26]Read from MH i2c: E2 C9 00 [00:55:26]MH_I2C_Read... [00:55:26]Read from MH i2c: E2 C9 00 24 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 8A [00:55:26]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:55:26]wFMCommunicate OK [00:55:26]SAM_PROTO_GetShiftData done [00:55:26]requested_item shift.sale.total_cash is exist - process it [00:55:26]requested_item shift.sale_refund.total is exist - process it [00:55:26]requested_item shift.sale_refund.total_cash is exist - process it [00:55:26]produce_requested_data done [00:55:26]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57252,"shift.num":498,"shift.opened":1,"shift.open_date":1721089930,"shift.sale.total":1901.00,"shift.sale.total_cash":1347.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [00:55:26]process_action_free close_receipt [00:55:26]json_value_free [00:55:26]json_value_free done [00:55:26]process_json_proto returns [00:55:26]Send response to host [00:55:26]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57252,"shift.num":498,"shift.opened":1,"shift.open_date":1721089930,"shift.sale.total":1901.00,"shift.sale.total_cash":1347.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [00:55:26]free response buf [00:55:26]execute_script done [00:55:26]execute_script returns [00:55:26]free content buf [00:55:26]Sock 7.Close socket [00:55:26]Sock 7.Thread stoped [00:55:28]OFD Sender: No OFD packet to send [00:55:33]OFD Sender: No OFD packet to send [00:55:38]OFD Sender: No OFD packet to send [00:55:43]OFD Sender: No OFD packet to send [00:55:48]OFD Sender: No OFD packet to send [00:55:53]OFD Sender: No OFD packet to send [00:55:58]OFD Sender: No OFD packet to send [00:56:03]OFD Sender: No OFD packet to send [00:56:08]OFD Sender: No OFD packet to send [00:56:13]OFD Sender: No OFD packet to send [00:56:18]OFD Sender: No OFD packet to send [00:56:23]OFD Sender: No OFD packet to send [00:56:28]OFD Sender: No OFD packet to send [00:56:33]OFD Sender: No OFD packet to send [00:56:38]OFD Sender: No OFD packet to send [00:56:43]OFD Sender: No OFD packet to send [00:56:48]OFD Sender: No OFD packet to send [00:56:53]OFD Sender: No OFD packet to send [00:56:58]OFD Sender: No OFD packet to send [00:57:03]OFD Sender: No OFD packet to send [00:57:08]OFD Sender: No OFD packet to send [00:57:13]OFD Sender: No OFD packet to send [00:57:18]OFD Sender: No OFD packet to send [00:57:23]OFD Sender: No OFD packet to send [00:57:28]OFD Sender: No OFD packet to send [00:57:33]OFD Sender: No OFD packet to send [00:57:38]OFD Sender: No OFD packet to send [00:57:43]OFD Sender: No OFD packet to send [00:57:48]OFD Sender: No OFD packet to send [00:57:53]OFD Sender: No OFD packet to send [00:57:58]OFD Sender: No OFD packet to send [00:58:03]OFD Sender: No OFD packet to send [00:58:08]OFD Sender: No OFD packet to send [00:58:13]OFD Sender: No OFD packet to send [00:58:18]OFD Sender: No OFD packet to send [00:58:23]OFD Sender: No OFD packet to send [00:58:28]OFD Sender: No OFD packet to send [00:58:33]OFD Sender: No OFD packet to send [00:58:38]OFD Sender: No OFD packet to send [00:58:43]OFD Sender: No OFD packet to send [00:58:48]OFD Sender: No OFD packet to send [00:58:53]OFD Sender: No OFD packet to send [00:58:58]OFD Sender: No OFD packet to send [00:59:03]OFD Sender: No OFD packet to send [00:59:08]OFD Sender: No OFD packet to send [00:59:13]OFD Sender: No OFD packet to send [00:59:18]OFD Sender: No OFD packet to send [00:59:23]OFD Sender: No OFD packet to send [00:59:28]OFD Sender: No OFD packet to send [00:59:33]OFD Sender: No OFD packet to send [00:59:38]OFD Sender: No OFD packet to send [00:59:43]OFD Sender: No OFD packet to send [00:59:48]OFD Sender: No OFD packet to send [00:59:53]OFD Sender: No OFD packet to send [00:59:58]OFD Sender: No OFD packet to send [01:00:03]OFD Sender: No OFD packet to send [01:00:08]OFD Sender: No OFD packet to send [01:00:13]OFD Sender: No OFD packet to send [01:00:18]OFD Sender: No OFD packet to send [01:00:23]OFD Sender: No OFD packet to send [01:00:28]OFD Sender: No OFD packet to send [01:00:33]OFD Sender: No OFD packet to send [01:00:38]accept exits with 9 [01:00:38]New connection [01:00:38]New thread 3066912100 created [01:00:38]Thread 3066768740 joined [01:00:38]Waiting for new connection... [01:00:38] Sock 9.Parse request [01:00:38]Sock 9.Check first char [01:00:38]Sock 9.First char is OK [01:00:38]request: POST /json_proto HTTP/1.0 [01:00:38]Method: POST [01:00:38]URL: /json_proto [01:00:38]Method is POST - this is cgi request [01:00:38]url: /json_proto [01:00:38]query_string will be loaded in cgi processing [01:00:38]execute_cgi json_proto POST (null) [01:00:38]execute_cgi path=json_proto method=POST [01:00:38]POST find Content-Length [01:00:38]Host: 172.17.39.4:8080 [01:00:38]Content-Length: 873 [01:00:38]Content-Type: application/json [01:00:38] [01:00:38]POST finish read [01:00:38]Found Content-Length = 873 [01:00:38]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129688", "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" ] } } [01:00:38]execute_script... [01:00: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)129688", "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" ] } } [01:00:38]POST & json_proto [01:00:38]process_json_proto [01:00:38]json parsed OK: [01:00:38]protocol is kg_v1.0 [01:00:38]action value=close_receipt [01:00:38]process_action close_receipt [01:00:38]cmd_close_receipt [01:00:38]MH_GetDate [01:00:38]Write to MH i2c: F0 00 00 25 02 16 [01:00:38]Write i2c OK [01:00:38]MH_I2C_Read... [01:00:38]Read from MH i2c: F0 [01:00:38]MH_I2C_Read... [01:00:38]Read from MH i2c: F0 09 00 [01:00:38]MH_I2C_Read... [01:00:38]Read from MH i2c: F0 09 00 25 02 00 37 C6 95 66 2D 25 5D 64 2A [01:00:38]GetLastDocTimeStamp 1721091321 [01:00:38]current date 1721091639 [01:00:38]FM_GetShiftState [01:00:38]SAM_PROTO_GetShiftState [01:00:38]wFMCommunicate request_size=4 [01:00:38]MH_SAM_APDU [01:00:38]CAPDU: 80 13 01 00 [01:00:38]Write to MH i2c: E2 08 00 26 02 80 13 01 00 00 00 00 00 A5 [01:00:38]Write i2c OK [01:00:38]MH_I2C_Read... [01:00:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:00:38]Read from MH i2c: E2 [01:00:38]MH_I2C_Read... [01:00:38]Read from MH i2c: E2 0E 00 [01:00:38]MH_I2C_Read... [01:00:38]Read from MH i2c: E2 0E 00 26 02 00 09 00 01 8A BF 95 66 00 00 00 00 90 00 F5 [01:00:38]RAPDU: 09 00 01 8A BF 95 66 00 00 00 00 90 00 [01:00:38]wFMCommunicate OK [01:00:38]SAM_PROTO_GetShiftState done [01:00:38]FM_GetShiftState done [01:00:38]opened in 1721089930 [01:00:38]opened+sec_in_day 1721176330 [01:00:38]quantity*price = 13000 [01:00:38]sum+1 = 13001 [01:00:38]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 СНО: Общий режим Чек 7 16.07.2024 01:00 Смена: 498 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000874857 ФД: 57253 ФПД: 238332017213431 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240716T010039&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57253&fm=238332017213431&tin=02508201610067®Number=0000000000091208&sum=13000 0 [01:00:39]StoreToDocumentArchive [01:00:39]shift 498 fd 57253 [01:00:39]save to /storage/0498/doc_00057253 [01:00:39]save last doc name /storage/0498/doc_00057253 to /storage/kkm_last_doc_name [01:00:39]save OK [01:00:39]Clear old archive folders... [01:00:39]ProcessDocumentItem done err = 0, tmpTLVsize=252 [01:00:39]tlvbuf is 007130B0 [01:00:39]SAM_PROTO_ClearQueue [01:00:39]wFMCommunicate request_size=4 [01:00:39]MH_SAM_APDU [01:00:39]CAPDU: 80 09 00 00 [01:00:39]Write to MH i2c: E2 08 00 33 02 80 09 00 00 00 00 00 00 A7 [01:00:39]Write i2c OK [01:00:39]MH_I2C_Read... [01:00:39]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [01:00:40]Read from MH i2c: E2 [01:00:40]MH_I2C_Read... [01:00:40]Read from MH i2c: E2 03 00 [01:00:40]MH_I2C_Read... [01:00:40]Read from MH i2c: E2 03 00 33 02 00 90 00 A9 [01:00:40]RAPDU: 90 00 [01:00:40]wFMCommunicate OK [01:00:40]SAM_PROTO_ClearQueue done [01:00:40]KKMCreateOFDPacket [01:00:40]OFDProtocolAddRootSTLVToBuf [01:00:40]FM_MakeSignedData [01:00:40]FM_MakeSignedData [01:00:40]SAM_PROTO_SignData [01:00:40]wFMCommunicate request_size=4 [01:00:40]MH_SAM_APDU [01:00:40]CAPDU: 80 0D 01 02 [01:00:40]Write to MH i2c: E2 08 00 34 02 80 0D 01 02 00 00 00 00 AF [01:00:40]Write i2c OK [01:00:40]MH_I2C_Read... [01:00:40]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [01:00:40]Read from MH i2c: E2 [01:00:40]MH_I2C_Read... [01:00:40]Read from MH i2c: E2 03 00 [01:00:40]MH_I2C_Read... [01:00:40]Read from MH i2c: E2 03 00 34 02 00 90 00 AA [01:00:40]RAPDU: 90 00 [01:00:40]wFMCommunicate OK [01:00:40]wFMCommunicate request_size=255 [01:00:40]MH_SAM_APDU [01:00:40]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 07 00 00 00 F4 03 04 00 37 C6 95 66 0E 04 04 00 F2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 A5 DF 00 00 35 04 06 00 [01:00:40]Write to MH i2c: E2 02 01 35 02 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 07 00 00 00 F4 03 04 00 37 C6 95 66 0E 04 04 00 F2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 A5 DF 00 00 35 04 06 00 00 00 40 [01:00:40]Write i2c OK [01:00:40]MH_I2C_Read... [01:00:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:00:40]Read from MH i2c: E2 [01:00:40]MH_I2C_Read... [01:00:40]Read from MH i2c: E2 03 00 [01:00:40]MH_I2C_Read... [01:00:40]Read from MH i2c: E2 03 00 35 02 00 90 00 AB [01:00:40]RAPDU: 90 00 [01:00:40]wFMCommunicate OK [01:00:40]wFMCommunicate request_size=11 [01:00:40]MH_SAM_APDU [01:00:40]CAPDU: 80 0D 02 02 06 D8 C2 FF 39 7F F7 [01:00:40]Write to MH i2c: E2 0E 00 36 02 80 0D 02 02 06 00 D8 C2 FF 39 7F F7 00 00 06 [01:00:40]Write i2c OK [01:00:40]MH_I2C_Read... [01:00:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:00:40]Read from MH i2c: E2 [01:00:40]MH_I2C_Read... [01:00:40]Read from MH i2c: E2 03 00 [01:00:40]MH_I2C_Read... [01:00:40]Read from MH i2c: E2 03 00 36 02 00 90 00 AC [01:00:40]RAPDU: 90 00 [01:00:40]wFMCommunicate OK [01:00:40]wFMCommunicate request_size=4 [01:00:40]MH_SAM_APDU [01:00:40]CAPDU: 80 0D 03 02 [01:00:40]Write to MH i2c: E2 08 00 37 02 80 0D 03 02 00 00 00 00 B4 [01:00:40]Write i2c OK [01:00:40]MH_I2C_Read... [01:00:40]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [01:00:40]Read from MH i2c: E2 [01:00:40]MH_I2C_Read... [01:00:40]Read from MH i2c: E2 0B 00 [01:00:40]MH_I2C_Read... [01:00:40]Read from MH i2c: E2 0B 00 37 02 00 EB BD 46 67 05 3D DF 72 90 00 9D [01:00:40]RAPDU: EB BD 46 67 05 3D DF 72 90 00 [01:00:40]wFMCommunicate OK [01:00:40]SAM_PROTO_SignData done [01:00:40]FM_MakeSignedData done [01:00:40]CreateOFDProtocolMessage [01:00:40]wFMCommunicate request_size=4 [01:00:40]MH_SAM_APDU [01:00:40]CAPDU: 80 11 00 00 [01:00:40]Write to MH i2c: E2 08 00 38 02 80 11 00 00 00 00 00 00 B4 [01:00:40]Write i2c OK [01:00:40]MH_I2C_Read... [01:00:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:00:40]Read from MH i2c: E2 [01:00:40]MH_I2C_Read... [01:00:40]Read from MH i2c: E2 17 00 [01:00:40]MH_I2C_Read... [01:00:40]Read from MH i2c: E2 17 00 38 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 0E [01:00: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:00:40]wFMCommunicate OK [01:00:40]CreateOFDProtocolMessage done [01:00:40]OFDSenderStorePacket 57253 [01:00:40]StoreOFDPacket docnum=57253 [01:00: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 10 01 00 00 1C EC 08 01 29 F4 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 07 00 00 00 F4 03 04 00 37 C6 95 66 0E 04 04 00 F2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 A5 DF 00 00 35 04 06 00 D8 C2 FF 39 7F F7 EB BD 46 67 05 3D DF 72 [01:00:40]CheckFolder [01:00:40]dirname=/storage/ofd_packets [01:00:40]CheckFolder done [01:00:40]ProducePacketName [01:00:40]name=ofd_packets/00057253 [01:00:40]NVStorageSaveData ofd_packets/00057253 [01:00:40]File name is /storage/ofd_packets/00057253 [01:00:40]Write 302 bytes [01:00:40]NVStorageSaveData done [01:00:40]OFDSenderStorePacket done [01:00:40]KKMCreateOFDPacket done [01:00:40]NVStorageSaveData kkm_last_timestamp [01:00:40]File name is /storage/kkm_last_timestamp [01:00:40]Write 4 bytes [01:00:40]NVStorageSaveData done [01:00:40]ExternCall_PrintAddStr [01:00:40]wPrintStart [01:00:40]Write to MH i2c: 01 00 00 39 02 3B [01:00:40]Write i2c OK [01:00:40]MH_I2C_Read... [01:00:40]Read from MH i2c: 01 [01:00:40]MH_I2C_Read... [01:00:40]Read from MH i2c: 01 07 00 [01:00:40]MH_I2C_Read... [01:00:40]Read from MH i2c: 01 07 00 39 02 00 00 00 00 00 FF 0F 50 [01:00:40]RasterBufferAndPrint [01:00:40]line Счет N : (3)129688 [01:00:40]line ИНН: 02508201610067 [01:00:40]line Контрольно-Кассовый Чек [01:00:40]line ПРОДАЖА [01:00:40]line Товар: 48744539 [01:00:40]line LD Compact Blue [01:00:40]line 1.000 * 130.00 [01:00:40]line = 130.00 [01:00:40]line НДС 12% НСП 1% [01:00:40]line > о реализуемом товаре [01:00:40]line ИТОГО: 130.00 [01:00:40]line НСП 1% : 1.15 [01:00:40]line НДС 12% : 13.80 [01:00:40]line Наличными: 0.00 [01:00:40]line Безнал.: 130.00 [01:00:40]line Место: АЗС № 132 "Партнер Нефть" [01:00:40]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [01:00:40]line СНО: Общий режим [01:00:40]line Чек 7 16.07.2024 01:00 [01:00:40]line Смена: 498 ФФД: 1.0 [01:00:40]line ЗНМ: 0300000132 [01:00:40]line РНМ: 0000000000091208 [01:00:40]line Версия ККМ: 001 [01:00:40]line Платежная система: АКБ Кыргызстан [01:00:40]line ФМ: 0000000000874857 [01:00:40]line ФД: 57253 [01:00:40]line ФПД: 238332017213431 [01:00:40]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240716T010039&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57253&fm=238332017213431&tin=02508201610067®Number=0000000000091208&sum=13000 [01:00:40]line 0 [01:00:40]OFD Sender: Processing packet 57253 [packets to send 38, broken 37] [01:00:40]ProducePacketName [01:00:40]name=ofd_packets/00057253 [01:00:40]OFD Sender: To server: pG, [01:00:40]CommunicateWithHost lk.salyk.kg:30040 [01:00:40]ConnectInit lk.salyk.kg [01:00:40]written 0, free lines is 4095 [01:00:40]Connected sock=10 [01:00: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 10 01 00 00 1C EC 08 01 29 F4 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 07 00 00 00 F4 03 04 00 37 C6 95 66 0E 04 04 00 F2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 A5 DF 00 00 35 04 06 00 D8 C2 FF 39 7F F7 EB BD 46 67 05 3D DF 72 [01:00: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 6D 4E 47 00 CA 46 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 A5 DF 00 00 F4 03 04 00 84 6C 95 66 B6 04 01 00 00 B6 DA 06 F8 7F 19 AB E5 [01:00:41]CommunicateWithHost err = 0 [01:00:41]CheckOFDResponse [01:00:41]1017 (14) - 77093643461234 [01:00:41]1041 (16) - 0000000000874857 [01:00:41]1040 (4) - 57253 [01:00:41]1012 (4) - 15.07.2024 18:37 [01:00:41]1206 (1) - 0 [01:00:41]OFD Sender: Remove packet 57253 [01:00:41]ProducePacketName [01:00:41]name=ofd_packets/00057253 [01:00:41]NVStorageDeleteData [01:00:41]Write to MH i2c: 01 00 00 63 02 65 [01:00:41]Write i2c OK [01:00:41]MH_I2C_Read... [01:00:41]Read from MH i2c: 01 [01:00:41]MH_I2C_Read... [01:00:41]Read from MH i2c: 01 07 00 [01:00:41]MH_I2C_Read... [01:00:41]Read from MH i2c: 01 07 00 63 02 00 00 00 00 00 EA 0C 62 [01:00:41]RasterBufferAndPrint [01:00:41]line [01:00:41]line [01:00:41]line [01:00:41]line [01:00:41]line [01:00:41]written 0, free lines is 3312 [01:00:41]MH_Cut [01:00:41]Write to MH i2c: D1 01 00 6A 02 01 3E [01:00:41]Write i2c OK [01:00:41]MH_I2C_Read... [01:00:41]Read from MH i2c: D1 [01:00:41]MH_I2C_Read... [01:00:41]Read from MH i2c: D1 01 00 [01:00:41]MH_I2C_Read... [01:00:41]Read from MH i2c: D1 01 00 6A 02 00 3D [01:00:41]Write to MH i2c: 01 00 00 6B 02 6D [01:00:41]Write i2c OK [01:00:41]MH_I2C_Read... [01:00:41]OFD Sender: No OFD packet to send [01:00:41]*** Cut start [01:00:41]*** Partial cut [01:00:41]*** CUTSNS_PIN = 1 [01:00:42]*** CUTSNS_PIN = 0 [01:00:42]*** Brake cut motor [01:00:42]Read from MH i2c: 01 [01:00:42]MH_I2C_Read... [01:00:42]*** Stop cut motor [01:00:42]*** Cut end [01:00:42]Read from MH i2c: 01 07 00 [01:00:42]MH_I2C_Read... [01:00:42]Read from MH i2c: 01 07 00 6B 02 00 00 00 00 00 FF 0F 82 [01:00:42]process_action close_receipt done [01:00:42]requested_data is exist [01:00:42]produce_requested_data [01:00:42]requested_item fm.sn is exist - process it [01:00:42]wFMCommunicate request_size=4 [01:00:42]MH_SAM_APDU [01:00:42]CAPDU: 80 11 00 00 [01:00:42]Write to MH i2c: E2 08 00 6C 02 80 11 00 00 00 00 00 00 E8 [01:00:42]Write i2c OK [01:00:42]MH_I2C_Read... [01:00:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:00:42]Read from MH i2c: E2 [01:00:42]MH_I2C_Read... [01:00:42]Read from MH i2c: E2 17 00 [01:00:42]MH_I2C_Read... [01:00:42]Read from MH i2c: E2 17 00 6C 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 42 [01:00:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [01:00:42]wFMCommunicate OK [01:00:42]requested_item fd.num is exist - process it [01:00:42]SAM_PROTO_GetFieldsCounters [01:00:42]wFMCommunicate request_size=4 [01:00:42]MH_SAM_APDU [01:00:42]CAPDU: 80 13 00 00 [01:00:42]Write to MH i2c: E2 08 00 6D 02 80 13 00 00 00 00 00 00 EB [01:00:42]Write i2c OK [01:00:42]MH_I2C_Read... [01:00:42]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [01:00:42]Read from MH i2c: E2 [01:00:42]MH_I2C_Read... [01:00:42]Read from MH i2c: E2 62 00 [01:00:42]MH_I2C_Read... [01:00:42]Read from MH i2c: E2 62 00 6D 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 A5 DF 00 00 0E 04 04 00 F2 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 9A [01:00: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 A5 DF 00 00 0E 04 04 00 F2 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 [01:00:42]wFMCommunicate OK [01:00:42]SAM_PROTO_GetFieldsCounters done [01:00:42]requested_item shift.num is exist - process it [01:00:42]requested_item shift.opened is exist - process it [01:00:42]req_shift_opened [01:00:42]FM_GetShiftState [01:00:42]SAM_PROTO_GetShiftState [01:00:42]wFMCommunicate request_size=4 [01:00:42]MH_SAM_APDU [01:00:42]CAPDU: 80 13 01 00 [01:00:42]Write to MH i2c: E2 08 00 6E 02 80 13 01 00 00 00 00 00 ED [01:00:42]Write i2c OK [01:00:42]MH_I2C_Read... [01:00:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:00:42]Read from MH i2c: E2 [01:00:42]MH_I2C_Read... [01:00:42]Read from MH i2c: E2 0E 00 [01:00:42]MH_I2C_Read... [01:00:42]Read from MH i2c: E2 0E 00 6E 02 00 09 00 01 8A BF 95 66 00 00 00 00 90 00 3D [01:00:42]RAPDU: 09 00 01 8A BF 95 66 00 00 00 00 90 00 [01:00:42]wFMCommunicate OK [01:00:42]SAM_PROTO_GetShiftState done [01:00:42]FM_GetShiftState done [01:00:42]req_shift_opened done [01:00:42]requested_item shift.open_date is exist - process it [01:00:42]req_shift_open_date [01:00:42]req_shift_open_date done [01:00:42]requested_item shift.sale.total is exist - process it [01:00:42]SAM_PROTO_GetShiftData [01:00:42]wFMCommunicate request_size=4 [01:00:42]MH_SAM_APDU [01:00:42]CAPDU: 80 13 02 00 [01:00:42]Write to MH i2c: E2 08 00 6F 02 80 13 02 00 00 00 00 00 EF [01:00:42]Write i2c OK [01:00:42]MH_I2C_Read... [01:00:43]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [01:00:43]Read from MH i2c: E2 [01:00:43]MH_I2C_Read... [01:00:43]Read from MH i2c: E2 FD 00 [01:00:43]MH_I2C_Read... [01:00:43]Read from MH i2c: E2 FD 00 6F 02 00 AD 04 AA 04 A9 04 6E 04 04 00 07 00 00 00 69 04 9A 00 6F 04 04 00 07 00 00 00 B1 04 03 00 5C 19 03 70 04 03 00 2C 0E 02 72 04 03 00 30 0B 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 3F 54 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 06 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 4B [01:00:43]RAPDU: AD 04 AA 04 A9 04 6E 04 04 00 07 00 00 00 69 04 9A 00 6F 04 04 00 07 00 00 00 B1 04 03 00 5C 19 03 70 04 03 00 2C 0E 02 72 04 03 00 30 0B 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 3F 54 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 06 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:00:43]wFMCommunicate OK [01:00:43]wFMCommunicate request_size=4 [01:00:43]MH_SAM_APDU [01:00:43]CAPDU: 80 17 00 00 [01:00:43]Write to MH i2c: E2 08 00 70 02 80 17 00 00 00 00 00 00 F2 [01:00:43]Write i2c OK [01:00:43]MH_I2C_Read... [01:00:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [01:00:43]Read from MH i2c: E2 [01:00:43]MH_I2C_Read... [01:00:43]Read from MH i2c: E2 FD 00 [01:00:43]MH_I2C_Read... [01:00:43]Read from MH i2c: E2 FD 00 70 02 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 04 [01:00:43]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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:00:43]wFMCommunicate OK [01:00:43]wFMCommunicate request_size=4 [01:00:43]MH_SAM_APDU [01:00:43]CAPDU: 80 17 00 00 [01:00:43]Write to MH i2c: E2 08 00 71 02 80 17 00 00 00 00 00 00 F3 [01:00:43]Write i2c OK [01:00:43]MH_I2C_Read... [01:00:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [01:00:43]Read from MH i2c: E2 [01:00:43]MH_I2C_Read... [01:00:43]Read from MH i2c: E2 FD 00 [01:00:43]MH_I2C_Read... [01:00:43]Read from MH i2c: E2 FD 00 71 02 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 B7 [01:00:43]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:00:43]wFMCommunicate OK [01:00:43]wFMCommunicate request_size=4 [01:00:43]MH_SAM_APDU [01:00:43]CAPDU: 80 17 00 00 [01:00:43]Write to MH i2c: E2 08 00 72 02 80 17 00 00 00 00 00 00 F4 [01:00:43]Write i2c OK [01:00:43]MH_I2C_Read... [01:00:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [01:00:44]Read from MH i2c: E2 [01:00:44]MH_I2C_Read... [01:00:44]Read from MH i2c: E2 FD 00 [01:00:44]MH_I2C_Read... [01:00:44]Read from MH i2c: E2 FD 00 72 02 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 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 69 [01:00:44]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:00:44]wFMCommunicate OK [01:00:44]wFMCommunicate request_size=4 [01:00:44]MH_SAM_APDU [01:00:44]CAPDU: 80 17 00 00 [01:00:44]Write to MH i2c: E2 08 00 73 02 80 17 00 00 00 00 00 00 F5 [01:00:44]Write i2c OK [01:00:44]MH_I2C_Read... [01:00:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [01:00:44]Read from MH i2c: E2 [01:00:44]MH_I2C_Read... [01:00:44]Read from MH i2c: E2 CA 00 [01:00:44]MH_I2C_Read... [01:00:44]Read from MH i2c: E2 CA 00 73 02 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 DA [01:00:44]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:00:44]wFMCommunicate OK [01:00:44]SAM_PROTO_GetShiftData done [01:00:44]requested_item shift.sale.total_cash is exist - process it [01:00:44]requested_item shift.sale_refund.total is exist - process it [01:00:44]requested_item shift.sale_refund.total_cash is exist - process it [01:00:44]produce_requested_data done [01:00:44]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57253,"shift.num":498,"shift.opened":1,"shift.open_date":1721089930,"shift.sale.total":2031.00,"shift.sale.total_cash":1347.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [01:00:44]process_action_free close_receipt [01:00:44]json_value_free [01:00:44]json_value_free done [01:00:44]process_json_proto returns [01:00:44]Send response to host [01:00:44]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57253,"shift.num":498,"shift.opened":1,"shift.open_date":1721089930,"shift.sale.total":2031.00,"shift.sale.total_cash":1347.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [01:00:44]free response buf [01:00:44]execute_script done [01:00:44]execute_script returns [01:00:44]free content buf [01:00:44]Sock 9.Close socket [01:00:44]Sock 9.Thread stoped [01:00:46]OFD Sender: No OFD packet to send [01:00:51]OFD Sender: No OFD packet to send [01:00:56]OFD Sender: No OFD packet to send [01:01:01]OFD Sender: No OFD packet to send [01:01:06]OFD Sender: No OFD packet to send [01:01:11]OFD Sender: No OFD packet to send [01:01:16]OFD Sender: No OFD packet to send [01:01:21]OFD Sender: No OFD packet to send [01:01:26]OFD Sender: No OFD packet to send [01:01:31]OFD Sender: No OFD packet to send [01:01:36]OFD Sender: No OFD packet to send [01:01:41]OFD Sender: No OFD packet to send [01:01:46]OFD Sender: No OFD packet to send [01:01:51]OFD Sender: No OFD packet to send [01:01:56]OFD Sender: No OFD packet to send [01:02:01]OFD Sender: No OFD packet to send [01:02:06]OFD Sender: No OFD packet to send [01:02:11]OFD Sender: No OFD packet to send [01:02:16]OFD Sender: No OFD packet to send [01:02:21]OFD Sender: No OFD packet to send [01:02:26]OFD Sender: No OFD packet to send [01:02:31]OFD Sender: No OFD packet to send [01:02:36]OFD Sender: No OFD packet to send [01:02:38]accept exits with 7 [01:02:38]New connection [01:02:38]New thread 3066768740 created [01:02:38]Thread 3066912100 joined [01:02:38]Waiting for new connection... [01:02:38] Sock 7.Parse request [01:02:38]Sock 7.Check first char [01:02:38]Sock 7.First char is OK [01:02:38]request: POST /json_proto HTTP/1.0 [01:02:38]Method: POST [01:02:38]URL: /json_proto [01:02:38]Method is POST - this is cgi request [01:02:38]url: /json_proto [01:02:38]query_string will be loaded in cgi processing [01:02:38]execute_cgi json_proto POST (null) [01:02:38]execute_cgi path=json_proto method=POST [01:02:38]POST find Content-Length [01:02:38]Host: 172.17.39.4:8080 [01:02:38]Content-Length: 1198 [01:02:38]Content-Type: application/json [01:02:38] [01:02:38]POST finish read [01:02:38]Found Content-Length = 1198 [01:02:38]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129689", "tax_sys" : 0, "items" : [ { "code": "4870145004753", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Garage hard lemon \u0441\u0442 0,4\u043B", "price" : 120.00, "quantity" : 1.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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 }]} ], "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" : 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" ] } } [01:02:38]execute_script... [01:02: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)129689", "tax_sys" : 0, "items" : [ { "code": "4870145004753", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Garage hard lemon \u0441\u0442 0,4\u043B", "price" : 120.00, "quantity" : 1.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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 }]} ], "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" : 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" ] } } [01:02:38]POST & json_proto [01:02:38]process_json_proto [01:02:38]json parsed OK: [01:02:38]protocol is kg_v1.0 [01:02:38]action value=close_receipt [01:02:38]process_action close_receipt [01:02:38]cmd_close_receipt [01:02:38]MH_GetDate [01:02:38]Write to MH i2c: F0 00 00 74 02 65 [01:02:38]Write i2c OK [01:02:38]MH_I2C_Read... [01:02:38]Read from MH i2c: F0 [01:02:38]MH_I2C_Read... [01:02:38]Read from MH i2c: F0 09 00 [01:02:38]MH_I2C_Read... [01:02:38]Read from MH i2c: F0 09 00 74 02 00 AF C6 95 66 2D 25 5D 64 F1 [01:02:38]GetLastDocTimeStamp 1721091639 [01:02:38]current date 1721091759 [01:02:38]FM_GetShiftState [01:02:38]SAM_PROTO_GetShiftState [01:02:38]wFMCommunicate request_size=4 [01:02:38]MH_SAM_APDU [01:02:38]CAPDU: 80 13 01 00 [01:02:38]Write to MH i2c: E2 08 00 75 02 80 13 01 00 00 00 00 00 F4 [01:02:38]Write i2c OK [01:02:38]MH_I2C_Read... [01:02:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:02:38]Read from MH i2c: E2 [01:02:38]MH_I2C_Read... [01:02:38]Read from MH i2c: E2 0E 00 [01:02:38]MH_I2C_Read... [01:02:38]Read from MH i2c: E2 0E 00 75 02 00 09 00 01 8A BF 95 66 00 00 00 00 90 00 44 [01:02:38]RAPDU: 09 00 01 8A BF 95 66 00 00 00 00 90 00 [01:02:38]wFMCommunicate OK [01:02:38]SAM_PROTO_GetShiftState done [01:02:38]FM_GetShiftState done [01:02:38]opened in 1721089930 [01:02:38]opened+sec_in_day 1721176330 [01:02:38]quantity*price = 12000 [01:02:38]sum+1 = 12001 [01:02:38]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700001610043 Пиво Арпа 1,5л ПЭТ 1.000 * 325.00 = 325.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 445.00 НСП 1% : 3.94 НДС 12% : 47.25 Наличными: 0.00 Безнал.: 445.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 8 16.07.2024 01:02 Смена: 498 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000874857 ФД: 57254 ФПД: 217805239273849 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240716T010239&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57254&fm=217805239273849&tin=02508201610067®Number=0000000000091208&sum=44500 0 [01:02:40]StoreToDocumentArchive [01:02:40]shift 498 fd 57254 [01:02:40]save to /storage/0498/doc_00057254 [01:02:40]save last doc name /storage/0498/doc_00057254 to /storage/kkm_last_doc_name [01:02:40]save OK [01:02:40]Clear old archive folders... [01:02:40]ProcessDocumentItem done err = 0, tmpTLVsize=387 [01:02:40]tlvbuf is 006DEF50 [01:02:40]SAM_PROTO_ClearQueue [01:02:40]wFMCommunicate request_size=4 [01:02:40]MH_SAM_APDU [01:02:40]CAPDU: 80 09 00 00 [01:02:40]Write to MH i2c: E2 08 00 82 02 80 09 00 00 00 00 00 00 F6 [01:02:40]Write i2c OK [01:02:40]MH_I2C_Read... [01:02:40]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [01:02:40]Read from MH i2c: E2 [01:02:40]MH_I2C_Read... [01:02:40]Read from MH i2c: E2 03 00 [01:02:40]MH_I2C_Read... [01:02:40]Read from MH i2c: E2 03 00 82 02 00 90 00 F8 [01:02:40]RAPDU: 90 00 [01:02:40]wFMCommunicate OK [01:02:40]SAM_PROTO_ClearQueue done [01:02:40]KKMCreateOFDPacket [01:02:40]OFDProtocolAddRootSTLVToBuf [01:02:40]FM_MakeSignedData [01:02:40]FM_MakeSignedData [01:02:40]SAM_PROTO_SignData [01:02:40]wFMCommunicate request_size=4 [01:02:40]MH_SAM_APDU [01:02:40]CAPDU: 80 0D 01 02 [01:02:40]Write to MH i2c: E2 08 00 83 02 80 0D 01 02 00 00 00 00 FE [01:02:40]Write i2c OK [01:02:40]MH_I2C_Read... [01:02:40]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [01:02:40]Read from MH i2c: E2 [01:02:40]MH_I2C_Read... [01:02:40]Read from MH i2c: E2 03 00 [01:02:40]MH_I2C_Read... [01:02:40]Read from MH i2c: E2 03 00 83 02 00 90 00 F9 [01:02:40]RAPDU: 90 00 [01:02:40]wFMCommunicate OK [01:02:40]wFMCommunicate request_size=255 [01:02:40]MH_SAM_APDU [01:02:40]CAPDU: 80 0D 02 02 FA 03 00 83 01 1E 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 38 37 30 31 34 35 30 30 34 37 35 33 06 04 2B 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 61 72 61 67 65 20 68 61 72 64 20 6C 65 6D 6F 6E 20 D1 81 D1 82 20 30 2C 34 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 D4 AD 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 [01:02:40]Write to MH i2c: E2 02 01 84 02 80 0D 02 02 FA 00 03 00 83 01 1E 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 38 37 30 31 34 35 30 30 34 37 35 33 06 04 2B 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 61 72 61 67 65 20 68 61 72 64 20 6C 65 6D 6F 6E 20 D1 81 D1 82 20 30 2C 34 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 D4 AD 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 00 00 8F [01:02:40]Write i2c OK [01:02:40]MH_I2C_Read... [01:02:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:02:40]Read from MH i2c: E2 [01:02:40]MH_I2C_Read... [01:02:40]Read from MH i2c: E2 03 00 [01:02:40]MH_I2C_Read... [01:02:40]Read from MH i2c: E2 03 00 84 02 00 90 00 FA [01:02:40]RAPDU: 90 00 [01:02:40]wFMCommunicate OK [01:02:40]wFMCommunicate request_size=146 [01:02:40]MH_SAM_APDU [01:02:40]CAPDU: 80 0D 02 02 8D 03 06 00 8A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 75 12 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D4 AD 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 AF C6 95 66 0E 04 04 00 F2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 A6 DF 00 00 35 04 06 00 C6 17 BB EA C9 79 [01:02:40]Write to MH i2c: E2 95 00 85 02 80 0D 02 02 8D 00 03 06 00 8A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 75 12 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D4 AD 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 AF C6 95 66 0E 04 04 00 F2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 A6 DF 00 00 35 04 06 00 C6 17 BB EA C9 79 00 00 9A [01:02:40]Write i2c OK [01:02:40]MH_I2C_Read... [01:02:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:02:40]Read from MH i2c: E2 [01:02:40]MH_I2C_Read... [01:02:40]Read from MH i2c: E2 03 00 [01:02:40]MH_I2C_Read... [01:02:40]Read from MH i2c: E2 03 00 85 02 00 90 00 FB [01:02:40]RAPDU: 90 00 [01:02:40]wFMCommunicate OK [01:02:40]wFMCommunicate request_size=4 [01:02:40]MH_SAM_APDU [01:02:40]CAPDU: 80 0D 03 02 [01:02:40]Write to MH i2c: E2 08 00 86 02 80 0D 03 02 00 00 00 00 03 [01:02:40]Write i2c OK [01:02:40]MH_I2C_Read... [01:02:40]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [01:02:40]Read from MH i2c: E2 [01:02:40]MH_I2C_Read... [01:02:40]Read from MH i2c: E2 0B 00 [01:02:40]MH_I2C_Read... [01:02:40]Read from MH i2c: E2 0B 00 86 02 00 5D 09 DE 83 84 66 C7 61 90 00 DD [01:02:40]RAPDU: 5D 09 DE 83 84 66 C7 61 90 00 [01:02:40]wFMCommunicate OK [01:02:40]SAM_PROTO_SignData done [01:02:40]FM_MakeSignedData done [01:02:40]CreateOFDProtocolMessage [01:02:40]wFMCommunicate request_size=4 [01:02:40]MH_SAM_APDU [01:02:40]CAPDU: 80 11 00 00 [01:02:40]Write to MH i2c: E2 08 00 87 02 80 11 00 00 00 00 00 00 03 [01:02:40]Write i2c OK [01:02:40]MH_I2C_Read... [01:02:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:02:40]Read from MH i2c: E2 [01:02:40]MH_I2C_Read... [01:02:40]Read from MH i2c: E2 17 00 [01:02:40]MH_I2C_Read... [01:02:40]Read from MH i2c: E2 17 00 87 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 5D [01:02: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:02:40]wFMCommunicate OK [01:02:40]CreateOFDProtocolMessage done [01:02:40]OFDSenderStorePacket 57254 [01:02:40]StoreOFDPacket docnum=57254 [01:02: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 97 01 00 00 C9 DE 8F 01 AA 95 5A 03 01 00 03 00 83 01 1E 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 38 37 30 31 34 35 30 30 34 37 35 33 06 04 2B 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 61 72 61 67 65 20 68 61 72 64 20 6C 65 6D 6F 6E 20 D1 81 D1 82 20 30 2C 34 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 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 75 12 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D4 AD 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 AF C6 95 66 0E 04 04 00 F2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 A6 DF 00 00 35 04 06 00 C6 17 BB EA C9 79 5D 09 DE 83 84 66 C7 61 [01:02:40]CheckFolder [01:02:40]dirname=/storage/ofd_packets [01:02:40]CheckFolder done [01:02:40]ProducePacketName [01:02:40]name=ofd_packets/00057254 [01:02:40]NVStorageSaveData ofd_packets/00057254 [01:02:40]File name is /storage/ofd_packets/00057254 [01:02:41]Write 437 bytes [01:02:41]NVStorageSaveData done [01:02:41]OFDSenderStorePacket done [01:02:41]KKMCreateOFDPacket done [01:02:41]NVStorageSaveData kkm_last_timestamp [01:02:41]File name is /storage/kkm_last_timestamp [01:02:41]Write 4 bytes [01:02:41]NVStorageSaveData done [01:02:41]ExternCall_PrintAddStr [01:02:41]wPrintStart [01:02:41]Write to MH i2c: 01 00 00 88 02 8A [01:02:41]Write i2c OK [01:02:41]MH_I2C_Read... [01:02:41]Read from MH i2c: 01 [01:02:41]MH_I2C_Read... [01:02:41]Read from MH i2c: 01 07 00 [01:02:41]MH_I2C_Read... [01:02:41]Read from MH i2c: 01 07 00 88 02 00 00 00 00 00 FF 0F 9F [01:02:41]RasterBufferAndPrint [01:02:41]line Счет N : (3)129689 [01:02:41]line ИНН: 02508201610067 [01:02:41]line Контрольно-Кассовый Чек [01:02:41]line ПРОДАЖА [01:02:41]line Товар: 4870145004753 [01:02:41]line Напиток Garage hard lemon ст 0,4л [01:02:41]line 1.000 * 120.00 [01:02:41]line = 120.00 [01:02:41]line НДС 12% НСП 1% [01:02:41]line > о реализуемом товаре [01:02:41]line Товар: 4700001610043 [01:02:41]line Пиво Арпа 1,5л ПЭТ [01:02:41]line 1.000 * 325.00 [01:02:41]line = 325.00 [01:02:41]line НДС 12% НСП 1% [01:02:41]line > о реализуемом товаре [01:02:41]line ИТОГО: 445.00 [01:02:41]line НСП 1% : 3.94 [01:02:41]line НДС 12% : 47.25 [01:02:41]line Наличными: 0.00 [01:02:41]line Безнал.: 445.00 [01:02:41]line Место: АЗС № 132 "Партнер Нефть" [01:02:41]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [01:02:41]line СНО: Общий режим [01:02:41]line Чек 8 16.07.2024 01:02 [01:02:41]line Смена: 498 ФФД: 1.0 [01:02:41]line ЗНМ: 0300000132 [01:02:41]line РНМ: 0000000000091208 [01:02:41]line Версия ККМ: 001 [01:02:41]line Платежная система: АКБ Кыргызстан [01:02:41]line ФМ: 0000000000874857 [01:02:41]line ФД: 57254 [01:02:41]line ФПД: 217805239273849 [01:02:41]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240716T010239&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57254&fm=217805239273849&tin=02508201610067®Number=0000000000091208&sum=44500 [01:02:41]line 0 [01:02:41]written 0, free lines is 4095 [01:02:41]OFD Sender: Processing packet 57254 [packets to send 38, broken 37] [01:02:41]ProducePacketName [01:02:41]name=ofd_packets/00057254 [01:02:41]OFD Sender: To server: pG, [01:02:41]CommunicateWithHost lk.salyk.kg:30040 [01:02:41]ConnectInit lk.salyk.kg [01:02:41]Connected sock=10 [01:02: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 97 01 00 00 C9 DE 8F 01 AA 95 5A 03 01 00 03 00 83 01 1E 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 38 37 30 31 34 35 30 30 34 37 35 33 06 04 2B 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 61 72 61 67 65 20 68 61 72 64 20 6C 65 6D 6F 6E 20 D1 81 D1 82 20 30 2C 34 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 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 75 12 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D4 AD 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 AF C6 95 66 0E 04 04 00 F2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 A6 DF 00 00 35 04 06 00 C6 17 BB EA C9 79 5D 09 DE 83 84 66 C7 61 [01:02: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 BE D9 47 00 1B 97 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 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 A6 DF 00 00 F4 03 04 00 FC 6C 95 66 B6 04 01 00 00 32 10 C3 C7 6D E3 8C 85 [01:02:41]CommunicateWithHost err = 0 [01:02:41]CheckOFDResponse [01:02:41]1017 (14) - 77093643461234 [01:02:41]1041 (16) - 0000000000874857 [01:02:41]1040 (4) - 57254 [01:02:41]1012 (4) - 15.07.2024 18:39 [01:02:41]1206 (1) - 0 [01:02:41]OFD Sender: Remove packet 57254 [01:02:41]ProducePacketName [01:02:41]name=ofd_packets/00057254 [01:02:41]NVStorageDeleteData [01:02:41]Write to MH i2c: 01 00 00 B9 02 BB [01:02:41]Write i2c OK [01:02:41]MH_I2C_Read... [01:02:41]Read from MH i2c: 01 [01:02:41]MH_I2C_Read... [01:02:41]Read from MH i2c: 01 07 00 [01:02:41]MH_I2C_Read... [01:02:41]Read from MH i2c: 01 07 00 B9 02 00 00 00 00 00 86 0C 54 [01:02:41]RasterBufferAndPrint [01:02:41]line [01:02:41]line [01:02:41]line [01:02:41]line [01:02:41]line [01:02:41]written 0, free lines is 3212 [01:02:41]MH_Cut [01:02:41]Write to MH i2c: D1 01 00 C0 02 01 94 [01:02:41]Write i2c OK [01:02:41]MH_I2C_Read... [01:02:41]Read from MH i2c: D1 [01:02:41]MH_I2C_Read... [01:02:41]Read from MH i2c: D1 01 00 [01:02:41]MH_I2C_Read... [01:02:41]Read from MH i2c: D1 01 00 C0 02 00 93 [01:02:41]Write to MH i2c: 01 00 00 C1 02 C3 [01:02:41]Write i2c OK [01:02:41]MH_I2C_Read... [01:02:41]OFD Sender: No OFD packet to send [01:02:42]*** Cut start [01:02:42]*** Partial cut [01:02:42]*** CUTSNS_PIN = 1 [01:02:42]*** CUTSNS_PIN = 0 [01:02:42]*** Brake cut motor [01:02:42]Read from MH i2c: 01 [01:02:43]MH_I2C_Read... [01:02:43]*** Stop cut motor [01:02:43]*** Cut end [01:02:43]Read from MH i2c: 01 07 00 [01:02:43]MH_I2C_Read... [01:02:43]Read from MH i2c: 01 07 00 C1 02 00 00 00 00 00 FF 0F D8 [01:02:43]process_action close_receipt done [01:02:43]requested_data is exist [01:02:43]produce_requested_data [01:02:43]requested_item fm.sn is exist - process it [01:02:43]wFMCommunicate request_size=4 [01:02:43]MH_SAM_APDU [01:02:43]CAPDU: 80 11 00 00 [01:02:43]Write to MH i2c: E2 08 00 C2 02 80 11 00 00 00 00 00 00 3E [01:02:43]Write i2c OK [01:02:43]MH_I2C_Read... [01:02:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:02:43]Read from MH i2c: E2 [01:02:43]MH_I2C_Read... [01:02:43]Read from MH i2c: E2 17 00 [01:02:43]MH_I2C_Read... [01:02:43]Read from MH i2c: E2 17 00 C2 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 98 [01:02: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:02:43]wFMCommunicate OK [01:02:43]requested_item fd.num is exist - process it [01:02:43]SAM_PROTO_GetFieldsCounters [01:02:43]wFMCommunicate request_size=4 [01:02:43]MH_SAM_APDU [01:02:43]CAPDU: 80 13 00 00 [01:02:43]Write to MH i2c: E2 08 00 C3 02 80 13 00 00 00 00 00 00 41 [01:02:43]Write i2c OK [01:02:43]MH_I2C_Read... [01:02:43]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [01:02:43]Read from MH i2c: E2 [01:02:43]MH_I2C_Read... [01:02:43]Read from MH i2c: E2 62 00 [01:02:43]MH_I2C_Read... [01:02:43]Read from MH i2c: E2 62 00 C3 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 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 A6 DF 00 00 0E 04 04 00 F2 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 F4 [01:02: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 A6 DF 00 00 0E 04 04 00 F2 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 [01:02:43]wFMCommunicate OK [01:02:43]SAM_PROTO_GetFieldsCounters done [01:02:43]requested_item shift.num is exist - process it [01:02:43]requested_item shift.opened is exist - process it [01:02:43]req_shift_opened [01:02:43]FM_GetShiftState [01:02:43]SAM_PROTO_GetShiftState [01:02:43]wFMCommunicate request_size=4 [01:02:43]MH_SAM_APDU [01:02:43]CAPDU: 80 13 01 00 [01:02:43]Write to MH i2c: E2 08 00 C4 02 80 13 01 00 00 00 00 00 43 [01:02:43]Write i2c OK [01:02:43]MH_I2C_Read... [01:02:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:02:43]Read from MH i2c: E2 [01:02:43]MH_I2C_Read... [01:02:43]Read from MH i2c: E2 0E 00 [01:02:43]MH_I2C_Read... [01:02:43]Read from MH i2c: E2 0E 00 C4 02 00 09 00 01 8A BF 95 66 00 00 00 00 90 00 93 [01:02:43]RAPDU: 09 00 01 8A BF 95 66 00 00 00 00 90 00 [01:02:43]wFMCommunicate OK [01:02:43]SAM_PROTO_GetShiftState done [01:02:43]FM_GetShiftState done [01:02:43]req_shift_opened done [01:02:43]requested_item shift.open_date is exist - process it [01:02:43]req_shift_open_date [01:02:43]req_shift_open_date done [01:02:43]requested_item shift.sale.total is exist - process it [01:02:43]SAM_PROTO_GetShiftData [01:02:43]wFMCommunicate request_size=4 [01:02:43]MH_SAM_APDU [01:02:43]CAPDU: 80 13 02 00 [01:02:43]Write to MH i2c: E2 08 00 C5 02 80 13 02 00 00 00 00 00 45 [01:02:43]Write i2c OK [01:02:43]MH_I2C_Read... [01:02:43]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [01:02:43]Read from MH i2c: E2 [01:02:43]MH_I2C_Read... [01:02:43]Read from MH i2c: E2 FD 00 [01:02:43]MH_I2C_Read... [01:02:43]Read from MH i2c: E2 FD 00 C5 02 00 AD 04 AA 04 A9 04 6E 04 04 00 08 00 00 00 69 04 9A 00 6F 04 04 00 08 00 00 00 B1 04 03 00 30 C7 03 70 04 03 00 2C 0E 02 72 04 03 00 04 B9 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 B4 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 90 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 B9 [01:02:43]RAPDU: AD 04 AA 04 A9 04 6E 04 04 00 08 00 00 00 69 04 9A 00 6F 04 04 00 08 00 00 00 B1 04 03 00 30 C7 03 70 04 03 00 2C 0E 02 72 04 03 00 04 B9 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 B4 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 90 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:02:43]wFMCommunicate OK [01:02:43]wFMCommunicate request_size=4 [01:02:43]MH_SAM_APDU [01:02:43]CAPDU: 80 17 00 00 [01:02:43]Write to MH i2c: E2 08 00 C6 02 80 17 00 00 00 00 00 00 48 [01:02:43]Write i2c OK [01:02:43]MH_I2C_Read... [01:02:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [01:02:43]Read from MH i2c: E2 [01:02:43]MH_I2C_Read... [01:02:43]Read from MH i2c: E2 FD 00 [01:02:43]MH_I2C_Read... [01:02:43]Read from MH i2c: E2 FD 00 C6 02 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 5A [01:02:43]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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:02:44]wFMCommunicate OK [01:02:44]wFMCommunicate request_size=4 [01:02:44]MH_SAM_APDU [01:02:44]CAPDU: 80 17 00 00 [01:02:44]Write to MH i2c: E2 08 00 C7 02 80 17 00 00 00 00 00 00 49 [01:02:44]Write i2c OK [01:02:44]MH_I2C_Read... [01:02:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [01:02:44]Read from MH i2c: E2 [01:02:44]MH_I2C_Read... [01:02:44]Read from MH i2c: E2 FD 00 [01:02:44]MH_I2C_Read... [01:02:44]Read from MH i2c: E2 FD 00 C7 02 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 0D [01:02:44]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:02:44]wFMCommunicate OK [01:02:44]wFMCommunicate request_size=4 [01:02:44]MH_SAM_APDU [01:02:44]CAPDU: 80 17 00 00 [01:02:44]Write to MH i2c: E2 08 00 C8 02 80 17 00 00 00 00 00 00 4A [01:02:44]Write i2c OK [01:02:44]MH_I2C_Read... [01:02:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [01:02:44]Read from MH i2c: E2 [01:02:44]MH_I2C_Read... [01:02:44]Read from MH i2c: E2 FD 00 [01:02:44]MH_I2C_Read... [01:02:44]Read from MH i2c: E2 FD 00 C8 02 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 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 BF [01:02:44]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:02:44]wFMCommunicate OK [01:02:44]wFMCommunicate request_size=4 [01:02:44]MH_SAM_APDU [01:02:44]CAPDU: 80 17 00 00 [01:02:44]Write to MH i2c: E2 08 00 C9 02 80 17 00 00 00 00 00 00 4B [01:02:44]Write i2c OK [01:02:44]MH_I2C_Read... [01:02:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [01:02:44]Read from MH i2c: E2 [01:02:44]MH_I2C_Read... [01:02:44]Read from MH i2c: E2 CA 00 [01:02:44]MH_I2C_Read... [01:02:44]Read from MH i2c: E2 CA 00 C9 02 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 30 [01:02:44]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:02:44]wFMCommunicate OK [01:02:44]SAM_PROTO_GetShiftData done [01:02:44]requested_item shift.sale.total_cash is exist - process it [01:02:44]requested_item shift.sale_refund.total is exist - process it [01:02:44]requested_item shift.sale_refund.total_cash is exist - process it [01:02:44]produce_requested_data done [01:02:44]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57254,"shift.num":498,"shift.opened":1,"shift.open_date":1721089930,"shift.sale.total":2476.00,"shift.sale.total_cash":1347.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [01:02:44]process_action_free close_receipt [01:02:44]json_value_free [01:02:44]json_value_free done [01:02:44]process_json_proto returns [01:02:44]Send response to host [01:02:44]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57254,"shift.num":498,"shift.opened":1,"shift.open_date":1721089930,"shift.sale.total":2476.00,"shift.sale.total_cash":1347.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [01:02:44]free response buf [01:02:44]execute_script done [01:02:44]execute_script returns [01:02:44]free content buf [01:02:44]Sock 7.Close socket [01:02:44]Sock 7.Thread stoped [01:02:47]OFD Sender: No OFD packet to send [01:02:52]OFD Sender: No OFD packet to send [01:02:57]OFD Sender: No OFD packet to send [01:03:02]OFD Sender: No OFD packet to send [01:03:07]OFD Sender: No OFD packet to send [01:03:12]OFD Sender: No OFD packet to send [01:03:17]OFD Sender: No OFD packet to send [01:03:22]OFD Sender: No OFD packet to send [01:03:27]OFD Sender: No OFD packet to send [01:03:32]OFD Sender: No OFD packet to send [01:03:37]OFD Sender: No OFD packet to send [01:03:42]OFD Sender: No OFD packet to send [01:03:47]OFD Sender: No OFD packet to send [01:03:52]OFD Sender: No OFD packet to send [01:03:57]OFD Sender: No OFD packet to send [01:04:02]OFD Sender: No OFD packet to send [01:04:07]OFD Sender: No OFD packet to send [01:04:12]OFD Sender: No OFD packet to send [01:04:17]OFD Sender: No OFD packet to send [01:04:22]OFD Sender: No OFD packet to send [01:04:27]OFD Sender: No OFD packet to send [01:04:32]OFD Sender: No OFD packet to send [01:04:37]OFD Sender: No OFD packet to send [01:04:42]OFD Sender: No OFD packet to send [01:04:47]OFD Sender: No OFD packet to send [01:04:52]OFD Sender: No OFD packet to send [01:04:57]OFD Sender: No OFD packet to send [01:05:02]OFD Sender: No OFD packet to send [01:05:07]OFD Sender: No OFD packet to send [01:05:12]OFD Sender: No OFD packet to send [01:05:17]OFD Sender: No OFD packet to send [01:05:22]OFD Sender: No OFD packet to send [01:05:27]OFD Sender: No OFD packet to send [01:05:32]OFD Sender: No OFD packet to send [01:05:37]OFD Sender: No OFD packet to send [01:05:42]OFD Sender: No OFD packet to send [01:05:47]OFD Sender: No OFD packet to send [01:05:52]OFD Sender: No OFD packet to send [01:05:57]OFD Sender: No OFD packet to send [01:06:02]OFD Sender: No OFD packet to send [01:06:07]OFD Sender: No OFD packet to send [01:06:12]OFD Sender: No OFD packet to send [01:06:17]OFD Sender: No OFD packet to send [01:06:22]OFD Sender: No OFD packet to send [01:06:27]OFD Sender: No OFD packet to send [01:06:32]OFD Sender: No OFD packet to send [01:06:37]OFD Sender: No OFD packet to send [01:06:42]OFD Sender: No OFD packet to send [01:06:47]OFD Sender: No OFD packet to send [01:06:52]OFD Sender: No OFD packet to send [01:06:57]OFD Sender: No OFD packet to send [01:07:02]OFD Sender: No OFD packet to send [01:07:07]OFD Sender: No OFD packet to send [01:07:12]OFD Sender: No OFD packet to send [01:07:17]OFD Sender: No OFD packet to send [01:07:22]OFD Sender: No OFD packet to send [01:07:27]OFD Sender: No OFD packet to send [01:07:32]OFD Sender: No OFD packet to send [01:07:37]OFD Sender: No OFD packet to send [01:07:42]OFD Sender: No OFD packet to send [01:07:47]OFD Sender: No OFD packet to send [01:07:52]OFD Sender: No OFD packet to send [01:07:57]OFD Sender: No OFD packet to send [01:08:02]OFD Sender: No OFD packet to send [01:08:07]OFD Sender: No OFD packet to send [01:08:12]OFD Sender: No OFD packet to send [01:08:17]OFD Sender: No OFD packet to send [01:08:22]OFD Sender: No OFD packet to send [01:08:27]OFD Sender: No OFD packet to send [01:08:32]OFD Sender: No OFD packet to send [01:08:37]OFD Sender: No OFD packet to send [01:08:42]OFD Sender: No OFD packet to send [01:08:47]OFD Sender: No OFD packet to send [01:08:52]OFD Sender: No OFD packet to send [01:08:57]OFD Sender: No OFD packet to send [01:09:02]OFD Sender: No OFD packet to send [01:09:07]OFD Sender: No OFD packet to send [01:09:12]OFD Sender: No OFD packet to send [01:09:17]OFD Sender: No OFD packet to send [01:09:22]OFD Sender: No OFD packet to send [01:09:27]OFD Sender: No OFD packet to send [01:09:32]OFD Sender: No OFD packet to send [01:09:37]OFD Sender: No OFD packet to send [01:09:42]OFD Sender: No OFD packet to send [01:09:47]OFD Sender: No OFD packet to send [01:09:52]OFD Sender: No OFD packet to send [01:09:57]OFD Sender: No OFD packet to send [01:10:02]OFD Sender: No OFD packet to send [01:10:07]OFD Sender: No OFD packet to send [01:10:12]OFD Sender: No OFD packet to send [01:10:17]OFD Sender: No OFD packet to send [01:10:22]OFD Sender: No OFD packet to send [01:10:27]OFD Sender: No OFD packet to send [01:10:32]OFD Sender: No OFD packet to send [01:10:37]OFD Sender: No OFD packet to send [01:10:42]OFD Sender: No OFD packet to send [01:10:47]OFD Sender: No OFD packet to send [01:10:52]OFD Sender: No OFD packet to send [01:10:57]OFD Sender: No OFD packet to send [01:11:02]OFD Sender: No OFD packet to send [01:11:07]OFD Sender: No OFD packet to send [01:11:12]OFD Sender: No OFD packet to send [01:11:17]OFD Sender: No OFD packet to send [01:11:22]OFD Sender: No OFD packet to send [01:11:27]OFD Sender: No OFD packet to send [01:11:32]OFD Sender: No OFD packet to send [01:11:37]OFD Sender: No OFD packet to send [01:11:42]OFD Sender: No OFD packet to send [01:11:47]OFD Sender: No OFD packet to send [01:11:52]OFD Sender: No OFD packet to send [01:11:57]OFD Sender: No OFD packet to send [01:12:02]OFD Sender: No OFD packet to send [01:12:07]OFD Sender: No OFD packet to send [01:12:12]OFD Sender: No OFD packet to send [01:12:17]OFD Sender: No OFD packet to send [01:12:22]OFD Sender: No OFD packet to send [01:12:27]OFD Sender: No OFD packet to send [01:12:32]OFD Sender: No OFD packet to send [01:12:37]OFD Sender: No OFD packet to send [01:12:42]OFD Sender: No OFD packet to send [01:12:47]OFD Sender: No OFD packet to send [01:12:52]OFD Sender: No OFD packet to send [01:12:57]OFD Sender: No OFD packet to send [01:13:02]OFD Sender: No OFD packet to send [01:13:07]OFD Sender: No OFD packet to send [01:13:12]OFD Sender: No OFD packet to send [01:13:17]OFD Sender: No OFD packet to send [01:13:22]OFD Sender: No OFD packet to send [01:13:27]OFD Sender: No OFD packet to send [01:13:32]OFD Sender: No OFD packet to send [01:13:37]OFD Sender: No OFD packet to send [01:13:42]OFD Sender: No OFD packet to send [01:13:47]OFD Sender: No OFD packet to send [01:13:52]OFD Sender: No OFD packet to send [01:13:57]OFD Sender: No OFD packet to send [01:14:02]OFD Sender: No OFD packet to send [01:14:07]OFD Sender: No OFD packet to send [01:14:12]OFD Sender: No OFD packet to send [01:14:17]OFD Sender: No OFD packet to send [01:14:22]OFD Sender: No OFD packet to send [01:14:27]OFD Sender: No OFD packet to send [01:14:32]OFD Sender: No OFD packet to send [01:14:37]OFD Sender: No OFD packet to send [01:14:42]OFD Sender: No OFD packet to send [01:14:47]OFD Sender: No OFD packet to send [01:14:52]OFD Sender: No OFD packet to send [01:14:57]OFD Sender: No OFD packet to send [01:15:02]OFD Sender: No OFD packet to send [01:15:07]OFD Sender: No OFD packet to send [01:15:12]OFD Sender: No OFD packet to send [01:15:17]OFD Sender: No OFD packet to send [01:15:22]OFD Sender: No OFD packet to send [01:15:27]OFD Sender: No OFD packet to send [01:15:32]OFD Sender: No OFD packet to send [01:15:37]OFD Sender: No OFD packet to send [01:15:42]OFD Sender: No OFD packet to send [01:15:47]OFD Sender: No OFD packet to send [01:15:52]OFD Sender: No OFD packet to send [01:15:57]OFD Sender: No OFD packet to send [01:16:02]OFD Sender: No OFD packet to send [01:16:07]OFD Sender: No OFD packet to send [01:16:12]OFD Sender: No OFD packet to send [01:16:17]OFD Sender: No OFD packet to send [01:16:22]OFD Sender: No OFD packet to send [01:16:27]OFD Sender: No OFD packet to send [01:16:32]OFD Sender: No OFD packet to send [01:16:37]OFD Sender: No OFD packet to send [01:16:42]OFD Sender: No OFD packet to send [01:16:47]OFD Sender: No OFD packet to send [01:16:52]OFD Sender: No OFD packet to send [01:16:57]OFD Sender: No OFD packet to send [01:17:02]OFD Sender: No OFD packet to send [01:17:07]OFD Sender: No OFD packet to send [01:17:12]OFD Sender: No OFD packet to send [01:17:17]OFD Sender: No OFD packet to send [01:17:22]OFD Sender: No OFD packet to send [01:17:27]OFD Sender: No OFD packet to send [01:17:32]OFD Sender: No OFD packet to send [01:17:37]OFD Sender: No OFD packet to send [01:17:42]OFD Sender: No OFD packet to send [01:17:47]OFD Sender: No OFD packet to send [01:17:52]OFD Sender: No OFD packet to send [01:17:57]OFD Sender: No OFD packet to send [01:18:02]OFD Sender: No OFD packet to send [01:18:07]OFD Sender: No OFD packet to send [01:18:12]OFD Sender: No OFD packet to send [01:18:17]OFD Sender: No OFD packet to send [01:18:22]OFD Sender: No OFD packet to send [01:18:27]OFD Sender: No OFD packet to send [01:18:32]OFD Sender: No OFD packet to send [01:18:37]OFD Sender: No OFD packet to send [01:18:42]OFD Sender: No OFD packet to send [01:18:47]OFD Sender: No OFD packet to send [01:18:52]OFD Sender: No OFD packet to send [01:18:57]OFD Sender: No OFD packet to send [01:19:02]OFD Sender: No OFD packet to send [01:19:07]OFD Sender: No OFD packet to send [01:19:08]accept exits with 9 [01:19:08]New connection [01:19:08]New thread 3066912100 created [01:19:08]Thread 3066768740 joined [01:19:08]Waiting for new connection... [01:19:08] Sock 9.Parse request [01:19:08]Sock 9.Check first char [01:19:08]Sock 9.First char is OK [01:19:08]request: POST /json_proto HTTP/1.0 [01:19:08]Method: POST [01:19:08]URL: /json_proto [01:19:08]Method is POST - this is cgi request [01:19:08]url: /json_proto [01:19:08]query_string will be loaded in cgi processing [01:19:08]execute_cgi json_proto POST (null) [01:19:08]execute_cgi path=json_proto method=POST [01:19:08]POST find Content-Length [01:19:08]Host: 172.17.39.4:8080 [01:19:08]Content-Length: 1641 [01:19:08]Content-Type: application/json [01:19:08] [01:19:08]POST finish read [01:19:08]Found Content-Length = 1641 [01:19:08]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129690", "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": "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": "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 }]} ,{ "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" : 856.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:19:08]execute_script... [01:19: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)129690", "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": "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": "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 }]} ,{ "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" : 856.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:19:08]POST & json_proto [01:19:08]process_json_proto [01:19:08]json parsed OK: [01:19:08]protocol is kg_v1.0 [01:19:08]action value=close_receipt [01:19:08]process_action close_receipt [01:19:08]cmd_close_receipt [01:19:08]MH_GetDate [01:19:08]Write to MH i2c: F0 00 00 CA 02 BB [01:19:08]Write i2c OK [01:19:08]MH_I2C_Read... [01:19:08]Read from MH i2c: F0 [01:19:08]MH_I2C_Read... [01:19:08]Read from MH i2c: F0 09 00 [01:19:08]MH_I2C_Read... [01:19:08]Read from MH i2c: F0 09 00 CA 02 00 8D CA 95 66 2D 25 5D 64 29 [01:19:08]GetLastDocTimeStamp 1721091759 [01:19:08]current date 1721092749 [01:19:08]FM_GetShiftState [01:19:08]SAM_PROTO_GetShiftState [01:19:08]wFMCommunicate request_size=4 [01:19:08]MH_SAM_APDU [01:19:08]CAPDU: 80 13 01 00 [01:19:08]Write to MH i2c: E2 08 00 CB 02 80 13 01 00 00 00 00 00 4A [01:19:08]Write i2c OK [01:19:08]MH_I2C_Read... [01:19:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:19:08]Read from MH i2c: E2 [01:19:08]MH_I2C_Read... [01:19:08]Read from MH i2c: E2 0E 00 [01:19:08]MH_I2C_Read... [01:19:08]Read from MH i2c: E2 0E 00 CB 02 00 09 00 01 8A BF 95 66 00 00 00 00 90 00 9A [01:19:08]RAPDU: 09 00 01 8A BF 95 66 00 00 00 00 90 00 [01:19:08]wFMCommunicate OK [01:19:08]SAM_PROTO_GetShiftState done [01:19:08]FM_GetShiftState done [01:19:08]opened in 1721089930 [01:19:08]opened+sec_in_day 1721176330 [01:19:08]quantity*price = 51000 [01:19:08]sum+1 = 51001 [01:19:08]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% > о реализуемом товаре Товар: 4700000480050 Напиток Nitro Energy эн green ж/б 0,45л 1.000 * 95.00 = 95.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4870001570071 Напиток Pepsi 1л 1.000 * 111.00 = 111.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 856.00 НСП 1% : 7.57 НДС 12% : 90.91 Наличными: 0.00 Безнал.: 856.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 9 16.07.2024 01:19 Смена: 498 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000874857 ФД: 57255 ФПД: 27085692286194 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240716T011909&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57255&fm=27085692286194&tin=02508201610067®Number=0000000000091208&sum=85600 0 [01:19:09]StoreToDocumentArchive [01:19:09]shift 498 fd 57255 [01:19:09]save to /storage/0498/doc_00057255 [01:19:09]save last doc name /storage/0498/doc_00057255 to /storage/kkm_last_doc_name [01:19:09]save OK [01:19:09]Clear old archive folders... [01:19:09]ProcessDocumentItem done err = 0, tmpTLVsize=584 [01:19:09]tlvbuf is 006E0C30 [01:19:09]SAM_PROTO_ClearQueue [01:19:09]wFMCommunicate request_size=4 [01:19:09]MH_SAM_APDU [01:19:09]CAPDU: 80 09 00 00 [01:19:09]Write to MH i2c: E2 08 00 D8 02 80 09 00 00 00 00 00 00 4C [01:19:09]Write i2c OK [01:19:09]MH_I2C_Read... [01:19:09]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [01:19:09]Read from MH i2c: E2 [01:19:09]MH_I2C_Read... [01:19:09]Read from MH i2c: E2 03 00 [01:19:09]MH_I2C_Read... [01:19:09]Read from MH i2c: E2 03 00 D8 02 00 90 00 4E [01:19:09]RAPDU: 90 00 [01:19:09]wFMCommunicate OK [01:19:09]SAM_PROTO_ClearQueue done [01:19:09]KKMCreateOFDPacket [01:19:09]OFDProtocolAddRootSTLVToBuf [01:19:09]FM_MakeSignedData [01:19:09]FM_MakeSignedData [01:19:09]SAM_PROTO_SignData [01:19:09]wFMCommunicate request_size=4 [01:19:09]MH_SAM_APDU [01:19:09]CAPDU: 80 0D 01 02 [01:19:09]Write to MH i2c: E2 08 00 D9 02 80 0D 01 02 00 00 00 00 54 [01:19:09]Write i2c OK [01:19:09]MH_I2C_Read... [01:19:09]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [01:19:09]Read from MH i2c: E2 [01:19:09]MH_I2C_Read... [01:19:09]Read from MH i2c: E2 03 00 [01:19:09]MH_I2C_Read... [01:19:09]Read from MH i2c: E2 03 00 D9 02 00 90 00 4F [01:19:09]RAPDU: 90 00 [01:19:09]wFMCommunicate OK [01:19:09]wFMCommunicate request_size=255 [01:19:09]MH_SAM_APDU [01:19:09]CAPDU: 80 0D 02 02 FA 03 00 48 02 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 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 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 [01:19:09]Write to MH i2c: E2 02 01 DA 02 80 0D 02 02 FA 00 03 00 48 02 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 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 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 00 00 22 [01:19:09]Write i2c OK [01:19:09]MH_I2C_Read... [01:19:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:19:10]Read from MH i2c: E2 [01:19:10]MH_I2C_Read... [01:19:10]Read from MH i2c: E2 03 00 [01:19:10]MH_I2C_Read... [01:19:10]Read from MH i2c: E2 03 00 DA 02 00 90 00 50 [01:19:10]RAPDU: 90 00 [01:19:10]wFMCommunicate OK [01:19:10]wFMCommunicate request_size=255 [01:19:10]MH_SAM_APDU [01:19:10]CAPDU: 80 0D 02 02 FA 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 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 4E 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F5 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 83 23 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 60 4E 01 00 00 00 1F 04 02 00 01 [01:19:10]Write to MH i2c: E2 02 01 DB 02 80 0D 02 02 FA 00 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 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 4E 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F5 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 83 23 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 60 4E 01 00 00 00 1F 04 02 00 01 00 00 1D [01:19:10]Write i2c OK [01:19:10]MH_I2C_Read... [01:19:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:19:10]Read from MH i2c: E2 [01:19:10]MH_I2C_Read... [01:19:10]Read from MH i2c: E2 03 00 [01:19:10]MH_I2C_Read... [01:19:10]Read from MH i2c: E2 03 00 DB 02 00 90 00 51 [01:19:10]RAPDU: 90 00 [01:19:10]wFMCommunicate OK [01:19:10]wFMCommunicate request_size=93 [01:19:10]MH_SAM_APDU [01:19:10]CAPDU: 80 0D 02 02 58 00 12 04 04 00 09 00 00 00 F4 03 04 00 8D CA 95 66 0E 04 04 00 F2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 A7 DF 00 00 35 04 06 00 18 A2 61 11 34 F2 [01:19:10]Write to MH i2c: E2 60 00 DC 02 80 0D 02 02 58 00 00 12 04 04 00 09 00 00 00 F4 03 04 00 8D CA 95 66 0E 04 04 00 F2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 A7 DF 00 00 35 04 06 00 18 A2 61 11 34 F2 00 00 F0 [01:19:10]Write i2c OK [01:19:10]MH_I2C_Read... [01:19:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:19:10]Read from MH i2c: E2 [01:19:10]MH_I2C_Read... [01:19:10]Read from MH i2c: E2 03 00 [01:19:10]MH_I2C_Read... [01:19:10]Read from MH i2c: E2 03 00 DC 02 00 90 00 52 [01:19:10]RAPDU: 90 00 [01:19:10]wFMCommunicate OK [01:19:10]wFMCommunicate request_size=4 [01:19:10]MH_SAM_APDU [01:19:10]CAPDU: 80 0D 03 02 [01:19:10]Write to MH i2c: E2 08 00 DD 02 80 0D 03 02 00 00 00 00 5A [01:19:10]Write i2c OK [01:19:10]MH_I2C_Read... [01:19:10]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [01:19:10]Read from MH i2c: E2 [01:19:10]MH_I2C_Read... [01:19:10]Read from MH i2c: E2 0B 00 [01:19:10]MH_I2C_Read... [01:19:10]Read from MH i2c: E2 0B 00 DD 02 00 57 81 E1 18 0B 03 9E 62 90 00 3A [01:19:10]RAPDU: 57 81 E1 18 0B 03 9E 62 90 00 [01:19:10]wFMCommunicate OK [01:19:10]SAM_PROTO_SignData done [01:19:10]FM_MakeSignedData done [01:19:10]CreateOFDProtocolMessage [01:19:10]wFMCommunicate request_size=4 [01:19:10]MH_SAM_APDU [01:19:10]CAPDU: 80 11 00 00 [01:19:10]Write to MH i2c: E2 08 00 DE 02 80 11 00 00 00 00 00 00 5A [01:19:10]Write i2c OK [01:19:10]MH_I2C_Read... [01:19:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:19:10]Read from MH i2c: E2 [01:19:10]MH_I2C_Read... [01:19:10]Read from MH i2c: E2 17 00 [01:19:10]MH_I2C_Read... [01:19:10]Read from MH i2c: E2 17 00 DE 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 B4 [01:19:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [01:19:10]wFMCommunicate OK [01:19:10]CreateOFDProtocolMessage done [01:19:10]OFDSenderStorePacket 57255 [01:19:10]StoreOFDPacket docnum=57255 [01:19: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 5C 02 00 00 E3 BE 54 02 B9 DD 5A 03 01 00 03 00 48 02 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 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 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 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 4E 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F5 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 83 23 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 60 4E 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 8D CA 95 66 0E 04 04 00 F2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 A7 DF 00 00 35 04 06 00 18 A2 61 11 34 F2 57 81 E1 18 0B 03 9E 62 [01:19:10]CheckFolder [01:19:10]dirname=/storage/ofd_packets [01:19:10]CheckFolder done [01:19:10]ProducePacketName [01:19:10]name=ofd_packets/00057255 [01:19:10]NVStorageSaveData ofd_packets/00057255 [01:19:10]File name is /storage/ofd_packets/00057255 [01:19:10]Write 634 bytes [01:19:10]NVStorageSaveData done [01:19:10]OFDSenderStorePacket done [01:19:10]KKMCreateOFDPacket done [01:19:10]NVStorageSaveData kkm_last_timestamp [01:19:10]File name is /storage/kkm_last_timestamp [01:19:10]Write 4 bytes [01:19:10]NVStorageSaveData done [01:19:10]ExternCall_PrintAddStr [01:19:10]wPrintStart [01:19:10]Write to MH i2c: 01 00 00 DF 02 E1 [01:19:10]Write i2c OK [01:19:10]MH_I2C_Read... [01:19:10]Read from MH i2c: 01 [01:19:10]MH_I2C_Read... [01:19:10]Read from MH i2c: 01 07 00 [01:19:10]MH_I2C_Read... [01:19:10]Read from MH i2c: 01 07 00 DF 02 00 00 00 00 00 FF 0F F6 [01:19:10]RasterBufferAndPrint [01:19:10]line Счет N : (3)129690 [01:19:10]line ИНН: 02508201610067 [01:19:10]line Контрольно-Кассовый Чек [01:19:10]line ПРОДАЖА [01:19:10]line Товар: 4700002083327 [01:19:10]line Водка Level 0,5 [01:19:10]line 1.000 * 510.00 [01:19:10]line = 510.00 [01:19:10]line НДС 12% НСП 1% [01:19:10]line > о реализуемом товаре [01:19:10]line Товар: 48743570 [01:19:11]line Сигареты Winston XStyle Blue [01:19:11]line 1.000 * 140.00 [01:19:11]line = 140.00 [01:19:11]line НДС 12% НСП 1% [01:19:11]line > о реализуемом товаре [01:19:11]line Товар: 4700000480050 [01:19:11]line Напиток Nitro Energy эн green ж/б 0,45л [01:19:11]line 1.000 * 95.00 [01:19:11]line = 95.00 [01:19:11]line НДС 12% НСП 1% [01:19:11]line > о реализуемом товаре [01:19:11]line Товар: 4870001570071 [01:19:11]line Напиток Pepsi 1л [01:19:11]line 1.000 * 111.00 [01:19:11]line = 111.00 [01:19:11]line НДС 12% НСП 1% [01:19:11]line > о реализуемом товаре [01:19:11]line ИТОГО: 856.00 [01:19:11]line НСП 1% : 7.57 [01:19:11]line НДС 12% : 90.91 [01:19:11]line Наличными: 0.00 [01:19:11]line Безнал.: 856.00 [01:19:11]line Место: АЗС № 132 "Партнер Нефть" [01:19:11]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [01:19:11]line СНО: Общий режим [01:19:11]line Чек 9 16.07.2024 01:19 [01:19:11]line Смена: 498 ФФД: 1.0 [01:19:11]line ЗНМ: 0300000132 [01:19:11]line РНМ: 0000000000091208 [01:19:11]line Версия ККМ: 001 [01:19:11]line Платежная система: АКБ Кыргызстан [01:19:11]line ФМ: 0000000000874857 [01:19:11]line ФД: 57255 [01:19:11]line ФПД: 27085692286194 [01:19:11]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240716T011909&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57255&fm=27085692286194&tin=02508201610067®Number=0000000000091208&sum=85600 [01:19:11]line 0 [01:19:11]OFD Sender: Processing packet 57255 [packets to send 38, broken 37] [01:19:11]ProducePacketName [01:19:11]name=ofd_packets/00057255 [01:19:11]OFD Sender: To server: pG, [01:19:11]CommunicateWithHost lk.salyk.kg:30040 [01:19:11]ConnectInit lk.salyk.kg [01:19:11]written 0, free lines is 4095 [01:19:11]Connected sock=10 [01:19: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 5C 02 00 00 E3 BE 54 02 B9 DD 5A 03 01 00 03 00 48 02 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 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 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 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 4E 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F5 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 83 23 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 60 4E 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 8D CA 95 66 0E 04 04 00 F2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 A7 DF 00 00 35 04 06 00 18 A2 61 11 34 F2 57 81 E1 18 0B 03 9E 62 [01:19: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 B3 B2 47 00 91 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 A7 DF 00 00 F4 03 04 00 DA 70 95 66 B6 04 01 00 00 24 D9 3B A6 82 8A 62 53 [01:19:11]CommunicateWithHost err = 0 [01:19:11]CheckOFDResponse [01:19:11]1017 (14) - 77093643461234 [01:19:11]1041 (16) - 0000000000874857 [01:19:11]1040 (4) - 57255 [01:19:11]1012 (4) - 15.07.2024 18:56 [01:19:11]1206 (1) - 0 [01:19:11]OFD Sender: Remove packet 57255 [01:19:11]ProducePacketName [01:19:11]name=ofd_packets/00057255 [01:19:11]NVStorageDeleteData [01:19:11]Write to MH i2c: 01 00 00 1C 03 1F [01:19:11]Write i2c OK [01:19:11]MH_I2C_Read... [01:19:11]Read from MH i2c: 01 [01:19:11]MH_I2C_Read... [01:19:11]Read from MH i2c: 01 07 00 [01:19:11]MH_I2C_Read... [01:19:11]Read from MH i2c: 01 07 00 1C 03 00 00 00 00 00 C9 0B FA [01:19:11]RasterBufferAndPrint [01:19:11]line [01:19:11]line [01:19:11]line [01:19:11]line [01:19:11]line [01:19:11]written 0, free lines is 3024 [01:19:11]MH_Cut [01:19:11]Write to MH i2c: D1 01 00 23 03 01 F8 [01:19:11]Write i2c OK [01:19:11]MH_I2C_Read... [01:19:11]Read from MH i2c: D1 [01:19:11]MH_I2C_Read... [01:19:11]Read from MH i2c: D1 01 00 [01:19:11]MH_I2C_Read... [01:19:11]Read from MH i2c: D1 01 00 23 03 00 F7 [01:19:11]Write to MH i2c: 01 00 00 24 03 27 [01:19:11]Write i2c OK [01:19:11]MH_I2C_Read... [01:19:11]OFD Sender: No OFD packet to send [01:19:12]*** Cut start [01:19:12]*** Partial cut [01:19:12]*** CUTSNS_PIN = 1 [01:19:12]*** CUTSNS_PIN = 0 [01:19:12]*** Brake cut motor [01:19:13]Read from MH i2c: 01 [01:19:13]MH_I2C_Read... [01:19:13]*** Stop cut motor [01:19:13]*** Cut end [01:19:13]Read from MH i2c: 01 07 00 [01:19:13]MH_I2C_Read... [01:19:13]Read from MH i2c: 01 07 00 24 03 00 00 00 00 00 FF 0F 3C [01:19:13]process_action close_receipt done [01:19:13]requested_data is exist [01:19:13]produce_requested_data [01:19:13]requested_item fm.sn is exist - process it [01:19:13]wFMCommunicate request_size=4 [01:19:13]MH_SAM_APDU [01:19:13]CAPDU: 80 11 00 00 [01:19:13]Write to MH i2c: E2 08 00 25 03 80 11 00 00 00 00 00 00 A2 [01:19:13]Write i2c OK [01:19:13]MH_I2C_Read... [01:19:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:19:13]Read from MH i2c: E2 [01:19:13]MH_I2C_Read... [01:19:13]Read from MH i2c: E2 17 00 [01:19:13]MH_I2C_Read... [01:19:13]Read from MH i2c: E2 17 00 25 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 FC [01:19:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [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]Read from MH i2c: A0 01 00 02 00 00 A2 [00:00:10]*** Starting fw at address 01020100 (2007E328 010249C5) [00:00:10]*** Waiting for read because exit forced [00:00:10]*** 10 ms more... [00:00:10]*** MH1903S init start (LINUX_LIGHT) [00:00:10]*** Compilation Date Jun 20 2023 Time 12:36:20 [00:00:10]*** Serial: 3139303353513838 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: 37266820+1683825965=1721092785 [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 B2 CA 95 66 2D 25 5D 64 89 [01:19:46]Current date/time: 16.07.2024 01:19 [01:19:46]FM_Init [01:19:46]wFMConnect [01:19:46]MH_SAM_On [01:19:46]Write to MH i2c: E0 00 00 08 00 E7 [01:19:46]Write i2c OK [01:19:46]MH_I2C_Read... [01:19:46]*** iso7816_init finished! [01:19:46]*** atr: [01:19:46]*** 0F 3B D5 18 FF 81 91 FE [01:19:46]*** 1F C3 80 73 C8 21 10 0A [01:19:46]*** 00 00 00 00 00 00 00 00 [01:19:46]*** 00 00 00 00 00 00 00 00 [01:19:46]*** 00 00 00 00 00 00 00 00 [01:19:46]*** 00 00 00 00 00 00 00 00 [01:19:46]*** 00 00 00 00 00 00 00 00 [01:19:46]*** 00 00 00 00 00 00 00 00 [01:19:46]Read from MH i2c: E0 [01:19:46]MH_I2C_Read... [01:19:46]Read from MH i2c: E0 10 00 [01:19:46]MH_I2C_Read... [01:19:46]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 [01:19:46]ATR: 3B D5 18 FF 81 91 FE 1F C3 80 73 C8 21 10 0A [01:19:46]wFMCommunicate request_size=10 [01:19:46]MH_SAM_APDU [01:19:46]CAPDU: 00 A4 04 00 05 01 02 03 04 05 [01:19:46]Write to MH i2c: E2 0D 00 09 00 00 A4 04 00 05 00 01 02 03 04 05 00 00 B3 [01:19:46]Write i2c OK [01:19:46]MH_I2C_Read... [01:19:46]*** iso7816_exchange 00 A4 04 00... Resp OK rsp.len_out = 0! [01:19:46]Read from MH i2c: E2 [01:19:46]MH_I2C_Read... [01:19:46]Read from MH i2c: E2 03 00 [01:19:46]MH_I2C_Read... [01:19:46]Read from MH i2c: E2 03 00 09 00 00 90 00 7D [01:19:46]RAPDU: 90 00 [01:19:46]wFMCommunicate OK [01:19:46]wFMCommunicate request_size=4 [01:19:46]MH_SAM_APDU [01:19:46]CAPDU: 80 11 00 00 [01:19:46]Write to MH i2c: E2 08 00 0A 00 80 11 00 00 00 00 00 00 84 [01:19:46]Write i2c OK [01:19:46]MH_I2C_Read... [01:19:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:19:46]Read from MH i2c: E2 [01:19:46]MH_I2C_Read... [01:19:46]Read from MH i2c: E2 17 00 [01:19:46]MH_I2C_Read... [01:19:46]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 [01: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 [01:19:46]wFMCommunicate OK [01:19:46]Detected FM SN is 0000000000874857 [01:19:46]Stored FM SN is 0000000000874857 [01:19:46]wFMCommunicate request_size=9 [01:19:46]MH_SAM_APDU [01:19:46]CAPDU: 80 16 00 00 04 4B 69 00 00 [01:19:46]Write to MH i2c: E2 0C 00 0B 00 80 16 00 00 04 00 4B 69 00 00 00 00 46 [01:19:46]Write i2c OK [01:19:46]MH_I2C_Read... [01:19:46]*** iso7816_exchange 80 16 00 00... Resp OK rsp.len_out = 0! [01:19:46]Read from MH i2c: E2 [01:19:46]MH_I2C_Read... [01:19:46]Read from MH i2c: E2 03 00 [01:19:46]MH_I2C_Read... [01:19:46]Read from MH i2c: E2 03 00 0B 00 00 90 00 7F [01:19:46]RAPDU: 90 00 [01:19:46]wFMCommunicate OK [01:19:46]FM PIN OK [01:19:46]wFMCommunicate request_size=8 [01:19:46]MH_SAM_APDU [01:19:46]CAPDU: 80 14 04 00 03 02 00 01 [01:19:46]Write to MH i2c: E2 0B 00 0C 00 80 14 04 00 03 00 02 00 01 00 00 96 [01:19:46]Write i2c OK [01:19:46]MH_I2C_Read... [01:19:46]*** iso7816_exchange 80 14 04 00... Resp OK rsp.len_out = 0! [01:19:46]Read from MH i2c: E2 [01:19:46]MH_I2C_Read... [01:19:46]Read from MH i2c: E2 03 00 [01:19:46]MH_I2C_Read... [01:19:46]Read from MH i2c: E2 03 00 0C 00 00 90 00 80 [01:19:46]RAPDU: 90 00 [01:19:46]wFMCommunicate OK [01:19:46]wFMCommunicate request_size=13 [01:19:46]MH_SAM_APDU [01:19:46]CAPDU: 80 14 04 01 08 07 00 01 02 03 04 05 06 [01:19:46]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 [01:19:46]Write i2c OK [01:19:46]MH_I2C_Read... [01:19:46]*** iso7816_exchange 80 14 04 01... Resp OK rsp.len_out = 0! [01:19:46]Read from MH i2c: E2 [01:19:46]MH_I2C_Read... [01:19:46]Read from MH i2c: E2 03 00 [01:19:46]MH_I2C_Read... [01:19:46]Read from MH i2c: E2 03 00 0D 00 00 90 00 81 [01:19:46]RAPDU: 90 00 [01:19:46]wFMCommunicate OK [01:19:46]wFMCommunicate request_size=4 [01:19:46]MH_SAM_APDU [01:19:46]CAPDU: 80 11 00 00 [01:19:46]Write to MH i2c: E2 08 00 0E 00 80 11 00 00 00 00 00 00 88 [01:19:46]Write i2c OK [01:19:46]MH_I2C_Read... [01:19:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:19:46]Read from MH i2c: E2 [01:19:46]MH_I2C_Read... [01:19:46]Read from MH i2c: E2 17 00 [01:19:46]MH_I2C_Read... [01:19:46]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 [01: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 [01:19:46]wFMCommunicate OK [01:19:46]DocumentArchiveInit [01:19:46]Start Httpd... [01:19:46]Httpd thread 3067489636 created [01:19:46]Write to MH i2c: 01 00 00 0F 00 0F [01:19:46]Write i2c OK [01:19:46]MH_I2C_Read... [01:19:46]Read from MH i2c: 01 [01:19:46]MH_I2C_Read... [01:19:46]Read from MH i2c: 01 07 00 [01:19:46]MH_I2C_Read... [01:19:46]Read from MH i2c: 01 07 00 0F 00 00 00 00 00 00 FF 0F 24 [01:19:46]Allocated Socket 6 [01:19:46]Bind OK [01:19:46]Listen OK [01:19:46]httpd running on port 8080 [01:19:46]Waiting for new connection... [01:19:46]MH Int Process started [01:19:46]OFD Sender: No OFD packet to send [01:19:51]OFD Sender: No OFD packet to send [01:19:56]OFD Sender: No OFD packet to send [01:20:01]OFD Sender: No OFD packet to send [01:20:06]OFD Sender: No OFD packet to send [01:20:11]OFD Sender: No OFD packet to send [01:20:16]OFD Sender: No OFD packet to send [01:20:21]OFD Sender: No OFD packet to send [01:20:26]OFD Sender: No OFD packet to send [01:20:31]OFD Sender: No OFD packet to send [01:20:36]OFD Sender: No OFD packet to send [01:20:41]OFD Sender: No OFD packet to send [01:20:46]OFD Sender: No OFD packet to send [01:20:51]OFD Sender: No OFD packet to send [01:20:56]OFD Sender: No OFD packet to send [01:21:01]OFD Sender: No OFD packet to send [01:21:06]OFD Sender: No OFD packet to send [01:21:11]OFD Sender: No OFD packet to send [01:21:16]OFD Sender: No OFD packet to send [01:21:21]OFD Sender: No OFD packet to send [01:21:26]OFD Sender: No OFD packet to send [01:21:31]OFD Sender: No OFD packet to send [01:21:36]OFD Sender: No OFD packet to send [01:21:41]OFD Sender: No OFD packet to send [01:21:46]OFD Sender: No OFD packet to send [01:21:51]OFD Sender: No OFD packet to send [01:21:56]OFD Sender: No OFD packet to send [01:22:01]OFD Sender: No OFD packet to send [01:22:06]OFD Sender: No OFD packet to send [01:22:06]accept exits with 7 [01:22:06]New connection [01:22:06]New thread 3067202916 created [01:22:06]Waiting for new connection... [01:22:06] Sock 7.Parse request [01:22:06]Sock 7.Check first char [01:22:06]Sock 7.First char is OK [01:22:06]request: POST /json_proto HTTP/1.0 [01:22:06]Method: POST [01:22:06]URL: /json_proto [01:22:06]Method is POST - this is cgi request [01:22:06]url: /json_proto [01:22:06]query_string will be loaded in cgi processing [01:22:06]execute_cgi json_proto POST (null) [01:22:06]execute_cgi path=json_proto method=POST [01:22:06]POST find Content-Length [01:22:06]Host: 172.17.39.4:8080 [01:22:06]Content-Length: 959 [01:22:06]Content-Type: application/json [01:22:06] [01:22:06]POST finish read [01:22:06]Found Content-Length = 959 [01:22:06]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129691", "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 }]} ], "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" : 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" ] } } [01:22:06]execute_script... [01:22:06]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129691", "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 }]} ], "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" : 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" ] } } [01:22:06]POST & json_proto [01:22:06]process_json_proto [01:22:06]json parsed OK: [01:22:06]protocol is kg_v1.0 [01:22:06]action value=close_receipt [01:22:06]process_action close_receipt [01:22:06]cmd_close_receipt [01:22:06]MH_GetDate [01:22:06]Write to MH i2c: F0 00 00 10 00 FF [01:22:06]Write i2c OK [01:22:06]MH_I2C_Read... [01:22:06]Read from MH i2c: F0 [01:22:06]MH_I2C_Read... [01:22:06]Read from MH i2c: F0 09 00 [01:22:06]MH_I2C_Read... [01:22:06]Read from MH i2c: F0 09 00 10 00 00 3F CB 95 66 2D 25 5D 64 20 [01:22:06]GetLastDocTimeStamp 48 [01:22:06]current date 1721092927 [01:22:06]FM_GetShiftState [01:22:06]SAM_PROTO_GetShiftState [01:22:06]wFMCommunicate request_size=4 [01:22:06]MH_SAM_APDU [01:22:06]CAPDU: 80 13 01 00 [01:22:06]Write to MH i2c: E2 08 00 11 00 80 13 01 00 00 00 00 00 8E [01:22:06]Write i2c OK [01:22:06]MH_I2C_Read... [01:22:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:22:06]Read from MH i2c: E2 [01:22:06]MH_I2C_Read... [01:22:06]Read from MH i2c: E2 0E 00 [01:22:06]MH_I2C_Read... [01:22:06]Read from MH i2c: E2 0E 00 11 00 00 09 00 01 8A BF 95 66 00 00 00 00 90 00 DE [01:22:06]RAPDU: 09 00 01 8A BF 95 66 00 00 00 00 90 00 [01:22:06]wFMCommunicate OK [01:22:06]SAM_PROTO_GetShiftState done [01:22:06]FM_GetShiftState done [01:22:06]opened in 1721089930 [01:22:06]opened+sec_in_day 1721176330 [01:22:06]quantity*price = 9500 [01:22:06]sum+1 = 9501 [01:22:06]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 95.00 НСП 1% : 0.84 НДС 12% : 10.09 Наличными: 0.00 Безнал.: 95.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 10 16.07.2024 01:22 Смена: 498 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000874857 ФД: 57256 ФПД: 233307226249860 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240716T012207&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57256&fm=233307226249860&tin=02508201610067®Number=0000000000091208&sum=9500 0 [01:22:08]StoreToDocumentArchive [01:22:08]shift 498 fd 57256 [01:22:08]save to /storage/0498/doc_00057256 [01:22:08]save last doc name /storage/0498/doc_00057256 to /storage/kkm_last_doc_name [01:22:08]save OK [01:22:08]Clear old archive folders... [01:22:08]ProcessDocumentItem done err = 0, tmpTLVsize=293 [01:22:08]tlvbuf is 00C3ED80 [01:22:08]SAM_PROTO_ClearQueue [01:22:08]wFMCommunicate request_size=4 [01:22:08]MH_SAM_APDU [01:22:08]CAPDU: 80 09 00 00 [01:22:08]Write to MH i2c: E2 08 00 1E 00 80 09 00 00 00 00 00 00 90 [01:22:08]Write i2c OK [01:22:08]MH_I2C_Read... [01:22:08]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [01:22:08]Read from MH i2c: E2 [01:22:08]MH_I2C_Read... [01:22:08]Read from MH i2c: E2 03 00 [01:22:08]MH_I2C_Read... [01:22:08]Read from MH i2c: E2 03 00 1E 00 00 90 00 92 [01:22:08]RAPDU: 90 00 [01:22:08]wFMCommunicate OK [01:22:08]SAM_PROTO_ClearQueue done [01:22:08]KKMCreateOFDPacket [01:22:08]OFDProtocolAddRootSTLVToBuf [01:22:08]FM_MakeSignedData [01:22:08]FM_MakeSignedData [01:22:08]SAM_PROTO_SignData [01:22:08]wFMCommunicate request_size=4 [01:22:08]MH_SAM_APDU [01:22:08]CAPDU: 80 0D 01 02 [01:22:08]Write to MH i2c: E2 08 00 1F 00 80 0D 01 02 00 00 00 00 98 [01:22:08]Write i2c OK [01:22:08]MH_I2C_Read... [01:22:08]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [01:22:08]Read from MH i2c: E2 [01:22:08]MH_I2C_Read... [01:22:08]Read from MH i2c: E2 03 00 [01:22:08]MH_I2C_Read... [01:22:08]Read from MH i2c: E2 03 00 1F 00 00 90 00 93 [01:22:08]RAPDU: 90 00 [01:22:08]wFMCommunicate OK [01:22:08]wFMCommunicate request_size=255 [01:22:08]MH_SAM_APDU [01:22:08]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 00 00 00 00 00 00 39 04 06 00 1C 25 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0A 00 00 00 F4 03 04 00 3F CB 95 66 0E 04 04 00 F2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 [01:22:08]Write to MH i2c: E2 02 01 20 00 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 00 00 00 00 00 00 39 04 06 00 1C 25 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0A 00 00 00 F4 03 04 00 3F CB 95 66 0E 04 04 00 F2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 00 00 3A [01:22:08]Write i2c OK [01:22:08]MH_I2C_Read... [01:22:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:22:08]Read from MH i2c: E2 [01:22:08]MH_I2C_Read... [01:22:08]Read from MH i2c: E2 03 00 [01:22:08]MH_I2C_Read... [01:22:08]Read from MH i2c: E2 03 00 20 00 00 90 00 94 [01:22:08]RAPDU: 90 00 [01:22:08]wFMCommunicate OK [01:22:08]wFMCommunicate request_size=52 [01:22:08]MH_SAM_APDU [01:22:08]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 A8 DF 00 00 35 04 06 00 D4 31 12 58 1A 84 [01:22:08]Write to MH i2c: E2 37 00 21 00 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 A8 DF 00 00 35 04 06 00 D4 31 12 58 1A 84 00 00 F4 [01:22:08]Write i2c OK [01:22:08]MH_I2C_Read... [01:22:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:22:08]Read from MH i2c: E2 [01:22:08]MH_I2C_Read... [01:22:08]Read from MH i2c: E2 03 00 [01:22:08]MH_I2C_Read... [01:22:08]Read from MH i2c: E2 03 00 21 00 00 90 00 95 [01:22:08]RAPDU: 90 00 [01:22:08]wFMCommunicate OK [01:22:08]wFMCommunicate request_size=4 [01:22:08]MH_SAM_APDU [01:22:08]CAPDU: 80 0D 03 02 [01:22:08]Write to MH i2c: E2 08 00 22 00 80 0D 03 02 00 00 00 00 9D [01:22:08]Write i2c OK [01:22:08]MH_I2C_Read... [01:22:08]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [01:22:08]Read from MH i2c: E2 [01:22:08]MH_I2C_Read... [01:22:08]Read from MH i2c: E2 0B 00 [01:22:08]MH_I2C_Read... [01:22:08]Read from MH i2c: E2 0B 00 22 00 00 90 6D AF 83 EA 82 38 2F 90 00 A0 [01:22:08]RAPDU: 90 6D AF 83 EA 82 38 2F 90 00 [01:22:08]wFMCommunicate OK [01:22:08]SAM_PROTO_SignData done [01:22:08]FM_MakeSignedData done [01:22:08]CreateOFDProtocolMessage [01:22:08]wFMCommunicate request_size=4 [01:22:08]MH_SAM_APDU [01:22:08]CAPDU: 80 11 00 00 [01:22:08]Write to MH i2c: E2 08 00 23 00 80 11 00 00 00 00 00 00 9D [01:22:08]Write i2c OK [01:22:08]MH_I2C_Read... [01:22:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:22:08]Read from MH i2c: E2 [01:22:08]MH_I2C_Read... [01:22:08]Read from MH i2c: E2 17 00 [01:22:08]MH_I2C_Read... [01:22:08]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 [01:22:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [01:22:08]wFMCommunicate OK [01:22:08]CreateOFDProtocolMessage done [01:22:08]OFDSenderStorePacket 57256 [01:22:08]StoreOFDPacket docnum=57256 [01:22:08]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 17 E9 31 01 E1 74 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 00 00 00 00 00 00 39 04 06 00 1C 25 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0A 00 00 00 F4 03 04 00 3F CB 95 66 0E 04 04 00 F2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 A8 DF 00 00 35 04 06 00 D4 31 12 58 1A 84 90 6D AF 83 EA 82 38 2F [01:22:08]CheckFolder [01:22:08]dirname=/storage/ofd_packets [01:22:08]CheckFolder done [01:22:08]ProducePacketName [01:22:08]name=ofd_packets/00057256 [01:22:08]NVStorageSaveData ofd_packets/00057256 [01:22:08]File name is /storage/ofd_packets/00057256 [01:22:08]Write 343 bytes [01:22:08]NVStorageSaveData done [01:22:08]OFDSenderStorePacket done [01:22:08]KKMCreateOFDPacket done [01:22:08]NVStorageSaveData kkm_last_timestamp [01:22:08]File name is /storage/kkm_last_timestamp [01:22:08]Write 4 bytes [01:22:08]NVStorageSaveData done [01:22:08]ExternCall_PrintAddStr [01:22:08]wPrintStart [01:22:08]Write to MH i2c: 01 00 00 24 00 24 [01:22:08]Write i2c OK [01:22:08]MH_I2C_Read... [01:22:08]Read from MH i2c: 01 [01:22:08]MH_I2C_Read... [01:22:08]Read from MH i2c: 01 07 00 [01:22:08]MH_I2C_Read... [01:22:08]Read from MH i2c: 01 07 00 24 00 00 00 00 00 00 FF 0F 39 [01:22:08]RasterBufferAndPrint [01:22:08]line Счет N : (3)129691 [01:22:08]line ИНН: 02508201610067 [01:22:08]line Контрольно-Кассовый Чек [01:22:08]line ПРОДАЖА [01:22:08]line Товар: 4700000480050 [01:22:08]line Напиток Nitro Energy эн green ж/б 0,45л [01:22:08]line 1.000 * 95.00 [01:22:08]line = 95.00 [01:22:08]line НДС 12% НСП 1% [01:22:08]line > о реализуемом товаре [01:22:08]line ИТОГО: 95.00 [01:22:08]line НСП 1% : 0.84 [01:22:08]line НДС 12% : 10.09 [01:22:08]line Наличными: 0.00 [01:22:08]line Безнал.: 95.00 [01:22:08]line Место: АЗС № 132 "Партнер Нефть" [01:22:08]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [01:22:08]line СНО: Общий режим [01:22:08]line Чек 10 16.07.2024 01:22 [01:22:08]line Смена: 498 ФФД: 1.0 [01:22:08]line ЗНМ: 0300000132 [01:22:08]line РНМ: 0000000000091208 [01:22:08]line Версия ККМ: 001 [01:22:08]line Платежная система: АКБ Кыргызстан [01:22:08]line ФМ: 0000000000874857 [01:22:08]line ФД: 57256 [01:22:08]line ФПД: 233307226249860 [01:22:09]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240716T012207&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57256&fm=233307226249860&tin=02508201610067®Number=0000000000091208&sum=9500 [01:22:09]OFD Sender: Processing packet 57256 [packets to send 38, broken 37] [01:22:09]ProducePacketName [01:22:09]name=ofd_packets/00057256 [01:22:09]OFD Sender: To server: pG, [01:22:09]CommunicateWithHost lk.salyk.kg:30040 [01:22:09]ConnectInit lk.salyk.kg [01:22:09]line 0 [01:22:09]written 0, free lines is 4095 [01:22:09]Connected sock=10 [01:22:09]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 17 E9 31 01 E1 74 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 00 00 00 00 00 00 39 04 06 00 1C 25 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0A 00 00 00 F4 03 04 00 3F CB 95 66 0E 04 04 00 F2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 A8 DF 00 00 35 04 06 00 D4 31 12 58 1A 84 90 6D AF 83 EA 82 38 2F [01:22:09]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 8F 47 00 05 AF A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 A8 DF 00 00 F4 03 04 00 8C 71 95 66 B6 04 01 00 00 79 F5 69 96 56 4A 86 FB [01:22:09]CommunicateWithHost err = 0 [01:22:09]CheckOFDResponse [01:22:09]1017 (14) - 77093643461234 [01:22:09]1041 (16) - 0000000000874857 [01:22:09]1040 (4) - 57256 [01:22:09]1012 (4) - 15.07.2024 18:59 [01:22:09]1206 (1) - 0 [01:22:09]OFD Sender: Remove packet 57256 [01:22:09]ProducePacketName [01:22:09]name=ofd_packets/00057256 [01:22:09]NVStorageDeleteData [01:22:09]Write to MH i2c: 01 00 00 4F 00 4F [01:22:09]Write i2c OK [01:22:09]MH_I2C_Read... [01:22:09]Read from MH i2c: 01 [01:22:09]MH_I2C_Read... [01:22:09]Read from MH i2c: 01 07 00 [01:22:09]MH_I2C_Read... [01:22:09]Read from MH i2c: 01 07 00 4F 00 00 00 00 00 00 EA 0C 4C [01:22:09]RasterBufferAndPrint [01:22:09]line [01:22:09]line [01:22:09]line [01:22:09]line [01:22:09]line [01:22:09]written 0, free lines is 3315 [01:22:09]MH_Cut [01:22:09]Write to MH i2c: D1 01 00 56 00 01 28 [01:22:09]Write i2c OK [01:22:09]MH_I2C_Read... [01:22:09]Read from MH i2c: D1 [01:22:09]MH_I2C_Read... [01:22:09]Read from MH i2c: D1 01 00 [01:22:09]MH_I2C_Read... [01:22:09]Read from MH i2c: D1 01 00 56 00 00 27 [01:22:09]Write to MH i2c: 01 00 00 57 00 57 [01:22:09]Write i2c OK [01:22:09]MH_I2C_Read... [01:22:09]OFD Sender: No OFD packet to send [01:22:10]*** Cut start [01:22:10]*** Partial cut [01:22:10]*** CUTSNS_PIN = 1 [01:22:10]*** CUTSNS_PIN = 0 [01:22:10]*** Brake cut motor [01:22:10]Read from MH i2c: 01 [01:22:10]MH_I2C_Read... [01:22:10]*** Stop cut motor [01:22:10]*** Cut end [01:22:10]Read from MH i2c: 01 07 00 [01:22:10]MH_I2C_Read... [01:22:10]Read from MH i2c: 01 07 00 57 00 00 00 00 00 00 FF 0F 6C [01:22:10]process_action close_receipt done [01:22:10]requested_data is exist [01:22:10]produce_requested_data [01:22:10]requested_item fm.sn is exist - process it [01:22:10]wFMCommunicate request_size=4 [01:22:10]MH_SAM_APDU [01:22:10]CAPDU: 80 11 00 00 [01:22:10]Write to MH i2c: E2 08 00 58 00 80 11 00 00 00 00 00 00 D2 [01:22:10]Write i2c OK [01:22:10]MH_I2C_Read... [01:22:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:22:10]Read from MH i2c: E2 [01:22:10]MH_I2C_Read... [01:22:10]Read from MH i2c: E2 17 00 [01:22:10]MH_I2C_Read... [01:22:10]Read from MH i2c: E2 17 00 58 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 2C [01:22:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [01:22:10]wFMCommunicate OK [01:22:10]requested_item fd.num is exist - process it [01:22:10]SAM_PROTO_GetFieldsCounters [01:22:10]wFMCommunicate request_size=4 [01:22:10]MH_SAM_APDU [01:22:10]CAPDU: 80 13 00 00 [01:22:10]Write to MH i2c: E2 08 00 59 00 80 13 00 00 00 00 00 00 D5 [01:22:10]Write i2c OK [01:22:10]MH_I2C_Read... [01:22:11]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [01:22:11]Read from MH i2c: E2 [01:22:11]MH_I2C_Read... [01:22:11]Read from MH i2c: E2 62 00 [01:22:11]MH_I2C_Read... [01:22:11]Read from MH i2c: E2 62 00 59 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 A8 DF 00 00 0E 04 04 00 F2 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 90 [01:22: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 A8 DF 00 00 0E 04 04 00 F2 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:22:11]wFMCommunicate OK [01:22:11]SAM_PROTO_GetFieldsCounters done [01:22:11]requested_item shift.num is exist - process it [01:22:11]requested_item shift.opened is exist - process it [01:22:11]req_shift_opened [01:22:11]FM_GetShiftState [01:22:11]SAM_PROTO_GetShiftState [01:22:11]wFMCommunicate request_size=4 [01:22:11]MH_SAM_APDU [01:22:11]CAPDU: 80 13 01 00 [01:22:11]Write to MH i2c: E2 08 00 5A 00 80 13 01 00 00 00 00 00 D7 [01:22:11]Write i2c OK [01:22:11]MH_I2C_Read... [01:22:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:22:11]Read from MH i2c: E2 [01:22:11]MH_I2C_Read... [01:22:11]Read from MH i2c: E2 0E 00 [01:22:11]MH_I2C_Read... [01:22:11]Read from MH i2c: E2 0E 00 5A 00 00 09 00 01 8A BF 95 66 00 00 00 00 90 00 27 [01:22:11]RAPDU: 09 00 01 8A BF 95 66 00 00 00 00 90 00 [01:22:11]wFMCommunicate OK [01:22:11]SAM_PROTO_GetShiftState done [01:22:11]FM_GetShiftState done [01:22:11]req_shift_opened done [01:22:11]requested_item shift.open_date is exist - process it [01:22:11]req_shift_open_date [01:22:11]req_shift_open_date done [01:22:11]requested_item shift.sale.total is exist - process it [01:22:11]SAM_PROTO_GetShiftData [01:22:11]wFMCommunicate request_size=4 [01:22:11]MH_SAM_APDU [01:22:11]CAPDU: 80 13 02 00 [01:22:11]Write to MH i2c: E2 08 00 5B 00 80 13 02 00 00 00 00 00 D9 [01:22:11]Write i2c OK [01:22:11]MH_I2C_Read... [01:22:11]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [01:22:11]Read from MH i2c: E2 [01:22:11]MH_I2C_Read... [01:22:11]Read from MH i2c: E2 FD 00 [01:22:11]MH_I2C_Read... [01:22:11]Read from MH i2c: E2 FD 00 5B 00 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 AC 3A 05 70 04 03 00 2C 0E 02 72 04 03 00 80 2C 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 28 8E EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 D9 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 1B [01:22:11]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 AC 3A 05 70 04 03 00 2C 0E 02 72 04 03 00 80 2C 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 28 8E EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 D9 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:22:11]wFMCommunicate OK [01:22:11]wFMCommunicate request_size=4 [01:22:11]MH_SAM_APDU [01:22:11]CAPDU: 80 17 00 00 [01:22:11]Write to MH i2c: E2 08 00 5C 00 80 17 00 00 00 00 00 00 DC [01:22:11]Write i2c OK [01:22:11]MH_I2C_Read... [01:22:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [01:22:11]Read from MH i2c: E2 [01:22:11]MH_I2C_Read... [01:22:11]Read from MH i2c: E2 FD 00 [01:22:11]MH_I2C_Read... [01:22:11]Read from MH i2c: E2 FD 00 5C 00 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 EE [01:22:11]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:22:11]wFMCommunicate OK [01:22:11]wFMCommunicate request_size=4 [01:22:11]MH_SAM_APDU [01:22:11]CAPDU: 80 17 00 00 [01:22:11]Write to MH i2c: E2 08 00 5D 00 80 17 00 00 00 00 00 00 DD [01:22:11]Write i2c OK [01:22:11]MH_I2C_Read... [01:22:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [01:22:12]Read from MH i2c: E2 [01:22:12]MH_I2C_Read... [01:22:12]Read from MH i2c: E2 FD 00 [01:22:12]MH_I2C_Read... [01:22:12]Read from MH i2c: E2 FD 00 5D 00 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 A1 [01:22:12]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:22:12]wFMCommunicate OK [01:22:12]wFMCommunicate request_size=4 [01:22:12]MH_SAM_APDU [01:22:12]CAPDU: 80 17 00 00 [01:22:12]Write to MH i2c: E2 08 00 5E 00 80 17 00 00 00 00 00 00 DE [01:22:12]Write i2c OK [01:22:12]MH_I2C_Read... [01:22:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [01:22:12]Read from MH i2c: E2 [01:22:12]MH_I2C_Read... [01:22:12]Read from MH i2c: E2 FD 00 [01:22:12]MH_I2C_Read... [01:22:12]Read from MH i2c: E2 FD 00 5E 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 53 [01:22:12]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:22:12]wFMCommunicate OK [01:22:12]wFMCommunicate request_size=4 [01:22:12]MH_SAM_APDU [01:22:12]CAPDU: 80 17 00 00 [01:22:12]Write to MH i2c: E2 08 00 5F 00 80 17 00 00 00 00 00 00 DF [01:22:12]Write i2c OK [01:22:12]MH_I2C_Read... [01:22:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [01:22:12]Read from MH i2c: E2 [01:22:12]MH_I2C_Read... [01:22:12]Read from MH i2c: E2 CA 00 [01:22:12]MH_I2C_Read... [01:22:12]Read from MH i2c: E2 CA 00 5F 00 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 C4 [01:22:12]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:22:12]wFMCommunicate OK [01:22:12]SAM_PROTO_GetShiftData done [01:22:12]requested_item shift.sale.total_cash is exist - process it [01:22:12]requested_item shift.sale_refund.total is exist - process it [01:22:12]requested_item shift.sale_refund.total_cash is exist - process it [01:22:12]produce_requested_data done [01:22:12]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57256,"shift.num":498,"shift.opened":1,"shift.open_date":1721089930,"shift.sale.total":3427.00,"shift.sale.total_cash":1347.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [01:22:12]process_action_free close_receipt [01:22:12]json_value_free [01:22:12]json_value_free done [01:22:12]process_json_proto returns [01:22:12]Send response to host [01:22:12]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57256,"shift.num":498,"shift.opened":1,"shift.open_date":1721089930,"shift.sale.total":3427.00,"shift.sale.total_cash":1347.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [01:22:12]free response buf [01:22:12]execute_script done [01:22:12]execute_script returns [01:22:12]free content buf [01:22:12]Sock 7.Close socket [01:22:12]Sock 7.Thread stoped [01:22:14]OFD Sender: No OFD packet to send [01:22:19]OFD Sender: No OFD packet to send [01:22:24]OFD Sender: No OFD packet to send [01:22:29]OFD Sender: No OFD packet to send [01:22:34]OFD Sender: No OFD packet to send [01:22:39]OFD Sender: No OFD packet to send [01:22:44]OFD Sender: No OFD packet to send [01:22: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:09]accept exits with 9 [01:23:09]New connection [01:23:09]New thread 3067059556 created [01:23:09]Thread 3067202916 joined [01:23:09]Waiting for new connection... [01:23:09] Sock 9.Parse request [01:23:09]Sock 9.Check first char [01:23:09]Sock 9.First char is OK [01:23:09]request: POST /json_proto HTTP/1.0 [01:23:09]Method: POST [01:23:09]URL: /json_proto [01:23:09]Method is POST - this is cgi request [01:23:09]url: /json_proto [01:23:09]query_string will be loaded in cgi processing [01:23:09]execute_cgi json_proto POST (null) [01:23:09]execute_cgi path=json_proto method=POST [01:23:09]POST find Content-Length [01:23:09]Host: 172.17.39.4:8080 [01:23:09]Content-Length: 1014 [01:23:09]Content-Type: application/json [01:23:09] [01:23:09]POST finish read [01:23:09]Found Content-Length = 1014 [01:23:09]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129692", "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 }]} ,{ "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" : 247.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:23:09]execute_script... [01:23: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)129692", "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 }]} ,{ "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" : 247.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:23:09]POST & json_proto [01:23:09]process_json_proto [01:23:09]json parsed OK: [01:23:09]protocol is kg_v1.0 [01:23:09]action value=close_receipt [01:23:09]process_action close_receipt [01:23:09]cmd_close_receipt [01:23:09]MH_GetDate [01:23:09]Write to MH i2c: F0 00 00 60 00 4F [01:23:09]Write i2c OK [01:23:09]MH_I2C_Read... [01:23:09]Read from MH i2c: F0 [01:23:09]MH_I2C_Read... [01:23:09]Read from MH i2c: F0 09 00 [01:23:09]MH_I2C_Read... [01:23:09]Read from MH i2c: F0 09 00 60 00 00 7D CB 95 66 2D 25 5D 64 AE [01:23:09]GetLastDocTimeStamp 1721092927 [01:23:09]current date 1721092989 [01:23:09]FM_GetShiftState [01:23:09]SAM_PROTO_GetShiftState [01:23:09]wFMCommunicate request_size=4 [01:23:09]MH_SAM_APDU [01:23:09]CAPDU: 80 13 01 00 [01:23:09]Write to MH i2c: E2 08 00 61 00 80 13 01 00 00 00 00 00 DE [01:23:09]Write i2c OK [01:23:09]MH_I2C_Read... [01:23:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:23:09]Read from MH i2c: E2 [01:23:09]MH_I2C_Read... [01:23:09]Read from MH i2c: E2 0E 00 [01:23:09]MH_I2C_Read... [01:23:09]Read from MH i2c: E2 0E 00 61 00 00 09 00 01 8A BF 95 66 00 00 00 00 90 00 2E [01:23:09]RAPDU: 09 00 01 8A BF 95 66 00 00 00 00 90 00 [01:23:09]wFMCommunicate OK [01:23:09]SAM_PROTO_GetShiftState done [01:23:09]FM_GetShiftState done [01:23:09]opened in 1721089930 [01:23:09]opened+sec_in_day 1721176330 [01:23:09]quantity*price = 14000 [01:23:09]sum+1 = 14001 [01:23:09]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 5449000189332 Холодный чай Fuse персик 1л 1.000 * 107.00 = 107.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 247.00 НСП 1% : 2.19 НДС 12% : 26.23 Наличными: 247.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 11 16.07.2024 01:23 Смена: 498 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57257 ФПД: 205869433735665 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240716T012309&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57257&fm=205869433735665&tin=02508201610067®Number=0000000000091208&sum=24700 0 [01:23:10]StoreToDocumentArchive [01:23:10]shift 498 fd 57257 [01:23:10]save to /storage/0498/doc_00057257 [01:23:10]save last doc name /storage/0498/doc_00057257 to /storage/kkm_last_doc_name [01:23:10]save OK [01:23:10]Clear old archive folders... [01:23:10]ProcessDocumentItem done err = 0, tmpTLVsize=388 [01:23:10]tlvbuf is 00C44060 [01:23:10]SAM_PROTO_ClearQueue [01:23:10]wFMCommunicate request_size=4 [01:23:10]MH_SAM_APDU [01:23:10]CAPDU: 80 09 00 00 [01:23:10]Write to MH i2c: E2 08 00 6E 00 80 09 00 00 00 00 00 00 E0 [01:23:10]Write i2c OK [01:23:10]MH_I2C_Read... [01:23:10]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [01:23:10]Read from MH i2c: E2 [01:23:10]MH_I2C_Read... [01:23:10]Read from MH i2c: E2 03 00 [01:23:10]MH_I2C_Read... [01:23:10]Read from MH i2c: E2 03 00 6E 00 00 90 00 E2 [01:23:10]RAPDU: 90 00 [01:23:10]wFMCommunicate OK [01:23:10]SAM_PROTO_ClearQueue done [01:23:10]KKMCreateOFDPacket [01:23:10]OFDProtocolAddRootSTLVToBuf [01:23:10]FM_MakeSignedData [01:23:10]FM_MakeSignedData [01:23:10]SAM_PROTO_SignData [01:23:10]wFMCommunicate request_size=4 [01:23:10]MH_SAM_APDU [01:23:10]CAPDU: 80 0D 01 02 [01:23:10]Write to MH i2c: E2 08 00 6F 00 80 0D 01 02 00 00 00 00 E8 [01:23:10]Write i2c OK [01:23:10]MH_I2C_Read... [01:23:10]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [01:23:10]Read from MH i2c: E2 [01:23:10]MH_I2C_Read... [01:23:10]Read from MH i2c: E2 03 00 [01:23:10]MH_I2C_Read... [01:23:10]Read from MH i2c: E2 03 00 6F 00 00 90 00 E3 [01:23:10]RAPDU: 90 00 [01:23:10]wFMCommunicate OK [01:23:10]wFMCommunicate request_size=255 [01:23:10]MH_SAM_APDU [01:23:10]CAPDU: 80 0D 02 02 FA 03 00 84 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 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 7C 60 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 [01:23:10]Write to MH i2c: E2 02 01 70 00 80 0D 02 02 FA 00 03 00 84 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 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 7C 60 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 00 00 44 [01:23:10]Write i2c OK [01:23:10]MH_I2C_Read... [01:23:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:23:10]Read from MH i2c: E2 [01:23:10]MH_I2C_Read... [01:23:10]Read from MH i2c: E2 03 00 [01:23:10]MH_I2C_Read... [01:23:10]Read from MH i2c: E2 03 00 70 00 00 90 00 E4 [01:23:10]RAPDU: 90 00 [01:23:10]wFMCommunicate OK [01:23:10]wFMCommunicate request_size=147 [01:23:10]MH_SAM_APDU [01:23:10]CAPDU: 80 0D 02 02 8E F7 03 06 00 DB 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3F 0A 00 00 00 00 07 04 06 00 7C 60 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 7D CB 95 66 0E 04 04 00 F2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 A9 DF 00 00 35 04 06 00 BB 3C B6 77 C9 F1 [01:23:10]Write to MH i2c: E2 96 00 71 00 80 0D 02 02 8E 00 F7 03 06 00 DB 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3F 0A 00 00 00 00 07 04 06 00 7C 60 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 7D CB 95 66 0E 04 04 00 F2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 A9 DF 00 00 35 04 06 00 BB 3C B6 77 C9 F1 00 00 DD [01:23:10]Write i2c OK [01:23:10]MH_I2C_Read... [01:23:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:23:11]Read from MH i2c: E2 [01:23:11]MH_I2C_Read... [01:23:11]Read from MH i2c: E2 03 00 [01:23:11]MH_I2C_Read... [01:23:11]Read from MH i2c: E2 03 00 71 00 00 90 00 E5 [01:23:11]RAPDU: 90 00 [01:23:11]wFMCommunicate OK [01:23:11]wFMCommunicate request_size=4 [01:23:11]MH_SAM_APDU [01:23:11]CAPDU: 80 0D 03 02 [01:23:11]Write to MH i2c: E2 08 00 72 00 80 0D 03 02 00 00 00 00 ED [01:23:11]Write i2c OK [01:23:11]MH_I2C_Read... [01:23:11]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [01:23:11]Read from MH i2c: E2 [01:23:11]MH_I2C_Read... [01:23:11]Read from MH i2c: E2 0B 00 [01:23:11]MH_I2C_Read... [01:23:11]Read from MH i2c: E2 0B 00 72 00 00 15 3D 89 2D 11 5A 3E 1E 90 00 BD [01:23:11]RAPDU: 15 3D 89 2D 11 5A 3E 1E 90 00 [01:23:11]wFMCommunicate OK [01:23:11]SAM_PROTO_SignData done [01:23:11]FM_MakeSignedData done [01:23:11]CreateOFDProtocolMessage [01:23:11]wFMCommunicate request_size=4 [01:23:11]MH_SAM_APDU [01:23:11]CAPDU: 80 11 00 00 [01:23:11]Write to MH i2c: E2 08 00 73 00 80 11 00 00 00 00 00 00 ED [01:23:11]Write i2c OK [01:23:11]MH_I2C_Read... [01:23:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:23:11]Read from MH i2c: E2 [01:23:11]MH_I2C_Read... [01:23:11]Read from MH i2c: E2 17 00 [01:23:11]MH_I2C_Read... [01:23:11]Read from MH i2c: E2 17 00 73 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 47 [01:23:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [01:23:11]wFMCommunicate OK [01:23:11]CreateOFDProtocolMessage done [01:23:11]OFDSenderStorePacket 57257 [01:23:11]StoreOFDPacket docnum=57257 [01:23: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 98 01 00 00 27 71 90 01 89 7A 5A 03 01 00 03 00 84 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 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 7C 60 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 DB 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3F 0A 00 00 00 00 07 04 06 00 7C 60 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 7D CB 95 66 0E 04 04 00 F2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 A9 DF 00 00 35 04 06 00 BB 3C B6 77 C9 F1 15 3D 89 2D 11 5A 3E 1E [01:23:11]CheckFolder [01:23:11]dirname=/storage/ofd_packets [01:23:11]CheckFolder done [01:23:11]ProducePacketName [01:23:11]name=ofd_packets/00057257 [01:23:11]NVStorageSaveData ofd_packets/00057257 [01:23:11]File name is /storage/ofd_packets/00057257 [01:23:11]Write 438 bytes [01:23:11]NVStorageSaveData done [01:23:11]OFDSenderStorePacket done [01:23:11]KKMCreateOFDPacket done [01:23:11]NVStorageSaveData kkm_last_timestamp [01:23:11]File name is /storage/kkm_last_timestamp [01:23:11]Write 4 bytes [01:23:11]NVStorageSaveData done [01:23:11]ExternCall_PrintAddStr [01:23:11]wPrintStart [01:23:11]Write to MH i2c: 01 00 00 74 00 74 [01:23:11]Write i2c OK [01:23:11]MH_I2C_Read... [01:23:11]Read from MH i2c: 01 [01:23:11]MH_I2C_Read... [01:23:11]Read from MH i2c: 01 07 00 [01:23:11]MH_I2C_Read... [01:23:11]Read from MH i2c: 01 07 00 74 00 00 00 00 00 00 FF 0F 89 [01:23:11]RasterBufferAndPrint [01:23:11]line Счет N : (3)129692 [01:23:11]line ИНН: 02508201610067 [01:23:11]line Контрольно-Кассовый Чек [01:23:11]line ПРОДАЖА [01:23:11]line Товар: 47802995 [01:23:11]line Сигареты Winston XS Silver [01:23:11]line 1.000 * 140.00 [01:23:11]line = 140.00 [01:23:11]line НДС 12% НСП 1% [01:23:11]line > о реализуемом товаре [01:23:11]line Товар: 5449000189332 [01:23:11]line Холодный чай Fuse персик 1л [01:23:11]line 1.000 * 107.00 [01:23:11]line = 107.00 [01:23:11]line НДС 12% НСП 1% [01:23:11]line > о реализуемом товаре [01:23:11]line ИТОГО: 247.00 [01:23:11]line НСП 1% : 2.19 [01:23:11]line НДС 12% : 26.23 [01:23:11]line Наличными: 247.00 [01:23:11]line Безнал.: 0.00 [01:23:11]line Место: АЗС № 132 "Партнер Нефть" [01:23:11]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [01:23:11]line СНО: Общий режим [01:23:11]line Чек 11 16.07.2024 01:23 [01:23:11]line Смена: 498 ФФД: 1.0 [01:23:11]line ЗНМ: 0300000132 [01:23:11]line РНМ: 0000000000091208 [01:23:11]line Версия ККМ: 001 [01:23:11]line ФМ: 0000000000874857 [01:23:11]line ФД: 57257 [01:23:11]line ФПД: 205869433735665 [01:23:11]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240716T012309&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57257&fm=205869433735665&tin=02508201610067®Number=0000000000091208&sum=24700 [01:23:11]line 0 [01:23:11]OFD Sender: Processing packet 57257 [packets to send 38, broken 37] [01:23:11]ProducePacketName [01:23:11]name=ofd_packets/00057257 [01:23:11]OFD Sender: To server: pG, [01:23:11]CommunicateWithHost lk.salyk.kg:30040 [01:23:11]ConnectInit lk.salyk.kg [01:23:11]written 0, free lines is 4095 [01:23:11]Connected sock=10 [01:23: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 98 01 00 00 27 71 90 01 89 7A 5A 03 01 00 03 00 84 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 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 7C 60 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 DB 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3F 0A 00 00 00 00 07 04 06 00 7C 60 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 7D CB 95 66 0E 04 04 00 F2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 A9 DF 00 00 35 04 06 00 BB 3C B6 77 C9 F1 15 3D 89 2D 11 5A 3E 1E [01: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 94 3F 47 00 3D 9D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 A9 DF 00 00 F4 03 04 00 CA 71 95 66 B6 04 01 00 00 0D B4 95 99 B8 FC FB 11 [01:23:11]CommunicateWithHost err = 0 [01:23:11]CheckOFDResponse [01:23:11]1017 (14) - 77093643461234 [01:23:11]1041 (16) - 0000000000874857 [01:23:11]1040 (4) - 57257 [01:23:11]1012 (4) - 15.07.2024 19:00 [01:23:11]1206 (1) - 0 [01:23:11]OFD Sender: Remove packet 57257 [01:23:11]ProducePacketName [01:23:11]name=ofd_packets/00057257 [01:23:11]NVStorageDeleteData [01:23:11]Write to MH i2c: 01 00 00 A2 00 A2 [01:23:11]Write i2c OK [01:23:11]MH_I2C_Read... [01:23:11]Read from MH i2c: 01 [01:23:11]MH_I2C_Read... [01:23:11]Read from MH i2c: 01 07 00 [01:23:11]MH_I2C_Read... [01:23:11]Read from MH i2c: 01 07 00 A2 00 00 00 00 00 00 B5 0C 6A [01:23:11]RasterBufferAndPrint [01:23:11]line [01:23:11]line [01:23:11]line [01:23:11]line [01:23:11]line [01:23:11]written 0, free lines is 3258 [01:23:12]MH_Cut [01:23:12]Write to MH i2c: D1 01 00 A9 00 01 7B [01:23:12]Write i2c OK [01:23:12]MH_I2C_Read... [01:23:12]Read from MH i2c: D1 [01:23:12]MH_I2C_Read... [01:23:12]Read from MH i2c: D1 01 00 [01:23:12]MH_I2C_Read... [01:23:12]Read from MH i2c: D1 01 00 A9 00 00 7A [01:23:12]Write to MH i2c: 01 00 00 AA 00 AA [01:23:12]Write i2c OK [01:23:12]MH_I2C_Read... [01:23:12]OFD Sender: No OFD packet to send [01:23:12]*** Cut start [01:23:12]*** Partial cut [01:23:12]*** CUTSNS_PIN = 1 [01:23:12]*** CUTSNS_PIN = 0 [01:23:13]*** Brake cut motor [01:23:13]Read from MH i2c: 01 [01:23:13]MH_I2C_Read... [01:23:13]*** Stop cut motor [01:23:13]*** Cut end [01:23:13]Read from MH i2c: 01 07 00 [01:23:13]MH_I2C_Read... [01:23:13]Read from MH i2c: 01 07 00 AA 00 00 00 00 00 00 FF 0F BF [01:23:13]process_action close_receipt done [01:23:13]requested_data is exist [01:23:13]produce_requested_data [01:23:13]requested_item fm.sn is exist - process it [01:23:13]wFMCommunicate request_size=4 [01:23:13]MH_SAM_APDU [01:23:13]CAPDU: 80 11 00 00 [01:23:13]Write to MH i2c: E2 08 00 AB 00 80 11 00 00 00 00 00 00 25 [01:23:13]Write i2c OK [01:23:13]MH_I2C_Read... [01:23:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:23:13]Read from MH i2c: E2 [01:23:13]MH_I2C_Read... [01:23:13]Read from MH i2c: E2 17 00 [01:23:13]MH_I2C_Read... [01:23:13]Read from MH i2c: E2 17 00 AB 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 7F [01:23:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [01:23:13]wFMCommunicate OK [01:23:13]requested_item fd.num is exist - process it [01:23:13]SAM_PROTO_GetFieldsCounters [01:23:13]wFMCommunicate request_size=4 [01:23:13]MH_SAM_APDU [01:23:13]CAPDU: 80 13 00 00 [01:23:13]Write to MH i2c: E2 08 00 AC 00 80 13 00 00 00 00 00 00 28 [01:23:13]Write i2c OK [01:23:13]MH_I2C_Read... [01:23:13]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [01:23:13]Read from MH i2c: E2 [01:23:13]MH_I2C_Read... [01:23:13]Read from MH i2c: E2 62 00 [01:23:13]MH_I2C_Read... [01:23:13]Read from MH i2c: E2 62 00 AC 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 A9 DF 00 00 0E 04 04 00 F2 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 E7 [01:23: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 A9 DF 00 00 0E 04 04 00 F2 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:23:13]wFMCommunicate OK [01:23:13]SAM_PROTO_GetFieldsCounters done [01:23:13]requested_item shift.num is exist - process it [01:23:13]requested_item shift.opened is exist - process it [01:23:13]req_shift_opened [01:23:13]FM_GetShiftState [01:23:13]SAM_PROTO_GetShiftState [01:23:13]wFMCommunicate request_size=4 [01:23:13]MH_SAM_APDU [01:23:13]CAPDU: 80 13 01 00 [01:23:13]Write to MH i2c: E2 08 00 AD 00 80 13 01 00 00 00 00 00 2A [01:23:13]Write i2c OK [01:23:13]MH_I2C_Read... [01:23:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:23:13]Read from MH i2c: E2 [01:23:13]MH_I2C_Read... [01:23:13]Read from MH i2c: E2 0E 00 [01:23:13]MH_I2C_Read... [01:23:13]Read from MH i2c: E2 0E 00 AD 00 00 09 00 01 8A BF 95 66 00 00 00 00 90 00 7A [01:23:13]RAPDU: 09 00 01 8A BF 95 66 00 00 00 00 90 00 [01:23:13]wFMCommunicate OK [01:23:13]SAM_PROTO_GetShiftState done [01:23:13]FM_GetShiftState done [01:23:13]req_shift_opened done [01:23:13]requested_item shift.open_date is exist - process it [01:23:13]req_shift_open_date [01:23:13]req_shift_open_date done [01:23:13]requested_item shift.sale.total is exist - process it [01:23:13]SAM_PROTO_GetShiftData [01:23:13]wFMCommunicate request_size=4 [01:23:13]MH_SAM_APDU [01:23:13]CAPDU: 80 13 02 00 [01:23:13]Write to MH i2c: E2 08 00 AE 00 80 13 02 00 00 00 00 00 2C [01:23:13]Write i2c OK [01:23:13]MH_I2C_Read... [01:23:14]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [01:23:14]Read from MH i2c: E2 [01:23:14]MH_I2C_Read... [01:23:14]Read from MH i2c: E2 FD 00 [01:23:14]MH_I2C_Read... [01:23:14]Read from MH i2c: E2 FD 00 AE 00 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 28 9B 05 70 04 03 00 A8 6E 02 72 04 03 00 80 2C 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 67 98 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 B4 0C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 4E [01:23:14]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 28 9B 05 70 04 03 00 A8 6E 02 72 04 03 00 80 2C 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 67 98 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 B4 0C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:23:14]wFMCommunicate OK [01:23:14]wFMCommunicate request_size=4 [01:23:14]MH_SAM_APDU [01:23:14]CAPDU: 80 17 00 00 [01:23:14]Write to MH i2c: E2 08 00 AF 00 80 17 00 00 00 00 00 00 2F [01:23:14]Write i2c OK [01:23:14]MH_I2C_Read... [01:23:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [01:23:14]Read from MH i2c: E2 [01:23:14]MH_I2C_Read... [01:23:14]Read from MH i2c: E2 FD 00 [01:23:14]MH_I2C_Read... [01:23:14]Read from MH i2c: E2 FD 00 AF 00 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 41 [01:23:14]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:23:14]wFMCommunicate OK [01:23:14]wFMCommunicate request_size=4 [01:23:14]MH_SAM_APDU [01:23:14]CAPDU: 80 17 00 00 [01:23:14]Write to MH i2c: E2 08 00 B0 00 80 17 00 00 00 00 00 00 30 [01:23:14]Write i2c OK [01:23:14]MH_I2C_Read... [01:23:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [01:23:14]Read from MH i2c: E2 [01:23:14]MH_I2C_Read... [01:23:14]Read from MH i2c: E2 FD 00 [01:23:14]MH_I2C_Read... [01:23:14]Read from MH i2c: E2 FD 00 B0 00 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 F4 [01:23:14]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:23:14]wFMCommunicate OK [01:23:14]wFMCommunicate request_size=4 [01:23:14]MH_SAM_APDU [01:23:14]CAPDU: 80 17 00 00 [01:23:14]Write to MH i2c: E2 08 00 B1 00 80 17 00 00 00 00 00 00 31 [01:23:14]Write i2c OK [01:23:14]MH_I2C_Read... [01:23:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [01:23:14]Read from MH i2c: E2 [01:23:14]MH_I2C_Read... [01:23:14]Read from MH i2c: E2 FD 00 [01:23:14]MH_I2C_Read... [01:23:14]Read from MH i2c: E2 FD 00 B1 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 A6 [01:23:14]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:23:15]wFMCommunicate OK [01:23:15]wFMCommunicate request_size=4 [01:23:15]MH_SAM_APDU [01:23:15]CAPDU: 80 17 00 00 [01:23:15]Write to MH i2c: E2 08 00 B2 00 80 17 00 00 00 00 00 00 32 [01:23:15]Write i2c OK [01:23:15]MH_I2C_Read... [01:23:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [01:23:15]Read from MH i2c: E2 [01:23:15]MH_I2C_Read... [01:23:15]Read from MH i2c: E2 CA 00 [01:23:15]MH_I2C_Read... [01:23:15]Read from MH i2c: E2 CA 00 B2 00 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 17 [01:23:15]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:23:15]wFMCommunicate OK [01:23:15]SAM_PROTO_GetShiftData done [01:23:15]requested_item shift.sale.total_cash is exist - process it [01:23:15]requested_item shift.sale_refund.total is exist - process it [01:23:15]requested_item shift.sale_refund.total_cash is exist - process it [01:23:15]produce_requested_data done [01:23:15]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57257,"shift.num":498,"shift.opened":1,"shift.open_date":1721089930,"shift.sale.total":3674.00,"shift.sale.total_cash":1594.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [01:23:15]process_action_free close_receipt [01:23:15]json_value_free [01:23:15]json_value_free done [01:23:15]process_json_proto returns [01:23:15]Send response to host [01:23:15]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57257,"shift.num":498,"shift.opened":1,"shift.open_date":1721089930,"shift.sale.total":3674.00,"shift.sale.total_cash":1594.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [01:23:15]free response buf [01:23:15]execute_script done [01:23:15]execute_script returns [01:23:15]free content buf [01:23:15]Sock 9.Close socket [01:23:15]Sock 9.Thread stoped [01:23:17]OFD Sender: No OFD packet to send [01:23:22]OFD Sender: No OFD packet to send [01:23:27]OFD Sender: No OFD packet to send [01:23:32]OFD Sender: No OFD packet to send [01:23:37]OFD Sender: No OFD packet to send [01:23:42]OFD Sender: No OFD packet to send [01:23:47]OFD Sender: No OFD packet to send [01:23:52]OFD Sender: No OFD packet to send [01:23:57]OFD Sender: No OFD packet to send [01:24:02]OFD Sender: No OFD packet to send [01:24:07]OFD Sender: No OFD packet to send [01:24:12]OFD Sender: No OFD packet to send [01:24:17]OFD Sender: No OFD packet to send [01:24:22]OFD Sender: No OFD packet to send [01:24:27]OFD Sender: No OFD packet to send [01:24:32]OFD Sender: No OFD packet to send [01:24:37]OFD Sender: No OFD packet to send [01:24:42]OFD Sender: No OFD packet to send [01:24:47]OFD Sender: No OFD packet to send [01:24:52]OFD Sender: No OFD packet to send [01:24:57]OFD Sender: No OFD packet to send [01:25:02]OFD Sender: No OFD packet to send [01:25:07]OFD Sender: No OFD packet to send [01:25:12]OFD Sender: No OFD packet to send [01:25:17]OFD Sender: No OFD packet to send [01:25:22]OFD Sender: No OFD packet to send [01:25:27]OFD Sender: No OFD packet to send [01:25:32]OFD Sender: No OFD packet to send [01:25:37]OFD Sender: No OFD packet to send [01:25:42]OFD Sender: No OFD packet to send [01:25:47]OFD Sender: No OFD packet to send [01:25:52]OFD Sender: No OFD packet to send [01:25:57]OFD Sender: No OFD packet to send [01:26:02]OFD Sender: No OFD packet to send [01:26:07]OFD Sender: No OFD packet to send [01:26:12]OFD Sender: No OFD packet to send [01:26:17]OFD Sender: No OFD packet to send [01:26:22]OFD Sender: No OFD packet to send [01:26:27]OFD Sender: No OFD packet to send [01:26:32]OFD Sender: No OFD packet to send [01:26:37]OFD Sender: No OFD packet to send [01:26:42]OFD Sender: No OFD packet to send [01:26:47]OFD Sender: No OFD packet to send [01:26:52]OFD Sender: No OFD packet to send [01:26:57]OFD Sender: No OFD packet to send [01:27:02]OFD Sender: No OFD packet to send [01:30:14]ConnectInit Can't connect to host [01:30:15]OFD Sender: No OFD packet to send [01:30:20]OFD Sender: No OFD packet to send [01:30:25]OFD Sender: No OFD packet to send [01:30:30]OFD Sender: No OFD packet to send [01:30:35]OFD Sender: No OFD packet to send [01:30:40]OFD Sender: No OFD packet to send [01:30:45]OFD Sender: No OFD packet to send [01:30:50]OFD Sender: No OFD packet to send [01:30:55]OFD Sender: No OFD packet to send [01:31:00]OFD Sender: No OFD packet to send [01:31:05]OFD Sender: No OFD packet to send [01:31:10]OFD Sender: No OFD packet to send [01:31:15]OFD Sender: No OFD packet to send [01:31:20]OFD Sender: No OFD packet to send [01:31:25]OFD Sender: No OFD packet to send [01:31:30]OFD Sender: No OFD packet to send [01:31:35]OFD Sender: No OFD packet to send [01:31:40]OFD Sender: No OFD packet to send [01:31:45]OFD Sender: No OFD packet to send [01:31:50]OFD Sender: No OFD packet to send [01:31:55]OFD Sender: No OFD packet to send [01:31:56]accept exits with 8 [01:31:56]New connection [01:31:56]New thread 3066998116 created [01:31:56]Thread 3066854756 joined [01:31:56]Waiting for new connection... [01:31:56] Sock 8.Parse request [01:31:56]Sock 8.Check first char [01:31:56]Sock 8.First char is OK [01:31:56]request: POST /json_proto HTTP/1.0 [01:31:56]Method: POST [01:31:56]URL: /json_proto [01:31:56]Method is POST - this is cgi request [01:31:56]url: /json_proto [01:31:56]query_string will be loaded in cgi processing [01:31:56]execute_cgi json_proto POST (null) [01:31:56]execute_cgi path=json_proto method=POST [01:31:56]POST find Content-Length [01:31:56]Host: 172.17.39.4:8080 [01:31:56]Content-Length: 941 [01:31:56]Content-Type: application/json [01:31:56] [01:31:56]POST finish read [01:31:56]Found Content-Length = 941 [01:31:56]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129693", "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 }]} ], "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" : 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" ] } } [01:31:56]execute_script... [01:31: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)129693", "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 }]} ], "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" : 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" ] } } [01:31:56]POST & json_proto [01:31:56]process_json_proto [01:31:56]json parsed OK: [01:31:56]protocol is kg_v1.0 [01:31:56]action value=close_receipt [01:31:56]process_action close_receipt [01:31:56]cmd_close_receipt [01:31:56]MH_GetDate [01:31:56]Write to MH i2c: F0 00 00 2A 00 19 [01:31:56]Write i2c OK [01:31:56]MH_I2C_Read... [01:31:56]Read from MH i2c: F0 [01:31:56]MH_I2C_Read... [01:31:56]Read from MH i2c: F0 09 00 [01:31:56]MH_I2C_Read... [01:31:56]Read from MH i2c: F0 09 00 2A 00 00 8C CD 95 66 2D 25 5D 64 89 [01:31:56]GetLastDocTimeStamp 1721092989 [01:31:56]current date 1721093516 [01:31:56]FM_GetShiftState [01:31:56]SAM_PROTO_GetShiftState [01:31:56]wFMCommunicate request_size=4 [01:31:56]MH_SAM_APDU [01:31:56]CAPDU: 80 13 01 00 [01:31:56]Write to MH i2c: E2 08 00 2B 00 80 13 01 00 00 00 00 00 A8 [01:31:56]Write i2c OK [01:31:56]MH_I2C_Read... [01:31:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:31:56]Read from MH i2c: E2 [01:31:56]MH_I2C_Read... [01:31:56]Read from MH i2c: E2 0E 00 [01:31:56]MH_I2C_Read... [01:31:56]Read from MH i2c: E2 0E 00 2B 00 00 09 00 01 8A BF 95 66 00 00 00 00 90 00 F8 [01:31:56]RAPDU: 09 00 01 8A BF 95 66 00 00 00 00 90 00 [01:31:56]wFMCommunicate OK [01:31:56]SAM_PROTO_GetShiftState done [01:31:56]FM_GetShiftState done [01:31:56]opened in 1721089930 [01:31:56]opened+sec_in_day 1721176330 [01:31:56]quantity*price = 32500 [01:31:56]sum+1 = 32501 [01:31:56]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 325.00 НСП 1% : 2.88 НДС 12% : 34.51 Наличными: 0.00 Безнал.: 325.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 12 16.07.2024 01:31 Смена: 498 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000874857 ФД: 57258 ФПД: 92664316262178 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240716T013156&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57258&fm=92664316262178&tin=02508201610067®Number=0000000000091208&sum=32500 0 [01:31:57]StoreToDocumentArchive [01:31:57]shift 498 fd 57258 [01:31:57]save to /storage/0498/doc_00057258 [01:31:57]save last doc name /storage/0498/doc_00057258 to /storage/kkm_last_doc_name [01:31:57]save OK [01:31:57]Clear old archive folders... [01:31:57]ProcessDocumentItem done err = 0, tmpTLVsize=272 [01:31:57]tlvbuf is 00282050 [01:31:57]SAM_PROTO_ClearQueue [01:31:57]wFMCommunicate request_size=4 [01:31:57]MH_SAM_APDU [01:31:57]CAPDU: 80 09 00 00 [01:31:57]Write to MH i2c: E2 08 00 38 00 80 09 00 00 00 00 00 00 AA [01:31:57]Write i2c OK [01:31:57]MH_I2C_Read... [01:31:57]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [01:31:57]Read from MH i2c: E2 [01:31:57]MH_I2C_Read... [01:31:57]Read from MH i2c: E2 03 00 [01:31:57]MH_I2C_Read... [01:31:57]Read from MH i2c: E2 03 00 38 00 00 90 00 AC [01:31:57]RAPDU: 90 00 [01:31:57]wFMCommunicate OK [01:31:57]SAM_PROTO_ClearQueue done [01:31:57]KKMCreateOFDPacket [01:31:57]OFDProtocolAddRootSTLVToBuf [01:31:57]FM_MakeSignedData [01:31:57]FM_MakeSignedData [01:31:57]SAM_PROTO_SignData [01:31:57]wFMCommunicate request_size=4 [01:31:57]MH_SAM_APDU [01:31:57]CAPDU: 80 0D 01 02 [01:31:57]Write to MH i2c: E2 08 00 39 00 80 0D 01 02 00 00 00 00 B2 [01:31:57]Write i2c OK [01:31:57]MH_I2C_Read... [01:31:57]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [01:31:57]Read from MH i2c: E2 [01:31:57]MH_I2C_Read... [01:31:57]Read from MH i2c: E2 03 00 [01:31:57]MH_I2C_Read... [01:31:57]Read from MH i2c: E2 03 00 39 00 00 90 00 AD [01:31:57]RAPDU: 90 00 [01:31:57]wFMCommunicate OK [01:31:57]wFMCommunicate request_size=255 [01:31:57]MH_SAM_APDU [01:31:57]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 00 00 00 00 00 00 39 04 06 00 F4 7E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 8C CD 95 66 0E 04 04 00 F2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 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:31:57]Write to MH i2c: E2 02 01 3A 00 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 00 00 00 00 00 00 39 04 06 00 F4 7E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 8C CD 95 66 0E 04 04 00 F2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 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 6D [01:31:57]Write i2c OK [01:31:57]MH_I2C_Read... [01:31:57]Read from MH i2c: E2 [01:31:57]MH_I2C_Read... [01:31:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:31:57]Read from MH i2c: E2 03 00 [01:31:57]MH_I2C_Read... [01:31:57]Read from MH i2c: E2 03 00 3A 00 00 90 00 AE [01:31:57]RAPDU: 90 00 [01:31:57]wFMCommunicate OK [01:31:57]wFMCommunicate request_size=31 [01:31:57]MH_SAM_APDU [01:31:57]CAPDU: 80 0D 02 02 1A 30 30 38 37 34 38 35 37 10 04 04 00 AA DF 00 00 35 04 06 00 54 47 17 A7 77 22 [01:31:57]Write to MH i2c: E2 22 00 3B 00 80 0D 02 02 1A 00 30 30 38 37 34 38 35 37 10 04 04 00 AA DF 00 00 35 04 06 00 54 47 17 A7 77 22 00 00 62 [01:31:57]Write i2c OK [01:31:57]MH_I2C_Read... [01:31:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:31:57]Read from MH i2c: E2 [01:31:57]MH_I2C_Read... [01:31:57]Read from MH i2c: E2 03 00 [01:31:57]MH_I2C_Read... [01:31:57]Read from MH i2c: E2 03 00 3B 00 00 90 00 AF [01:31:57]RAPDU: 90 00 [01:31:57]wFMCommunicate OK [01:31:57]wFMCommunicate request_size=4 [01:31:57]MH_SAM_APDU [01:31:57]CAPDU: 80 0D 03 02 [01:31:57]Write to MH i2c: E2 08 00 3C 00 80 0D 03 02 00 00 00 00 B7 [01:31:57]Write i2c OK [01:31:57]MH_I2C_Read... [01:31:57]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [01:31:57]Read from MH i2c: E2 [01:31:57]MH_I2C_Read... [01:31:57]Read from MH i2c: E2 0B 00 [01:31:57]MH_I2C_Read... [01:31:57]Read from MH i2c: E2 0B 00 3C 00 00 AD 61 D7 34 CF 8A 21 A5 90 00 F0 [01:31:57]RAPDU: AD 61 D7 34 CF 8A 21 A5 90 00 [01:31:57]wFMCommunicate OK [01:31:57]SAM_PROTO_SignData done [01:31:57]FM_MakeSignedData done [01:31:57]CreateOFDProtocolMessage [01:31:57]wFMCommunicate request_size=4 [01:31:57]MH_SAM_APDU [01:31:57]CAPDU: 80 11 00 00 [01:31:57]Write to MH i2c: E2 08 00 3D 00 80 11 00 00 00 00 00 00 B7 [01:31:57]Write i2c OK [01:31:57]MH_I2C_Read... [01:31:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:31:57]Read from MH i2c: E2 [01:31:57]MH_I2C_Read... [01:31:57]Read from MH i2c: E2 17 00 [01:31:57]MH_I2C_Read... [01:31:57]Read from MH i2c: E2 17 00 3D 00 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:31:57]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:57]wFMCommunicate OK [01:31:57]CreateOFDProtocolMessage done [01:31:57]OFDSenderStorePacket 57258 [01:31:57]StoreOFDPacket docnum=57258 [01:31: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 A2 7B 1C 01 50 05 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 00 00 00 00 00 00 39 04 06 00 F4 7E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 8C CD 95 66 0E 04 04 00 F2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 AA DF 00 00 35 04 06 00 54 47 17 A7 77 22 AD 61 D7 34 CF 8A 21 A5 [01:31:57]CheckFolder [01:31:57]dirname=/storage/ofd_packets [01:31:57]CheckFolder done [01:31:57]ProducePacketName [01:31:57]name=ofd_packets/00057258 [01:31:57]NVStorageSaveData ofd_packets/00057258 [01:31:57]File name is /storage/ofd_packets/00057258 [01:31:57]Write 322 bytes [01:31:57]NVStorageSaveData done [01:31:57]OFDSenderStorePacket done [01:31:57]KKMCreateOFDPacket done [01:31:57]NVStorageSaveData kkm_last_timestamp [01:31:57]File name is /storage/kkm_last_timestamp [01:31:57]Write 4 bytes [01:31:57]NVStorageSaveData done [01:31:57]ExternCall_PrintAddStr [01:31:57]wPrintStart [01:31:57]Write to MH i2c: 01 00 00 3E 00 3E [01:31:57]Write i2c OK [01:31:57]MH_I2C_Read... [01:31:57]Read from MH i2c: 01 [01:31:57]MH_I2C_Read... [01:31:57]Read from MH i2c: 01 07 00 [01:31:57]MH_I2C_Read... [01:31:57]Read from MH i2c: 01 07 00 3E 00 00 00 00 00 00 FF 0F 53 [01:31:57]RasterBufferAndPrint [01:31:57]line Счет N : (3)129693 [01:31:57]line ИНН: 02508201610067 [01:31:57]line Контрольно-Кассовый Чек [01:31:57]line ПРОДАЖА [01:31:57]line Товар: 4700001610043 [01:31:57]line Пиво Арпа 1,5л ПЭТ [01:31:57]line 1.000 * 325.00 [01:31:57]line = 325.00 [01:31:57]line НДС 12% НСП 1% [01:31:57]line > о реализуемом товаре [01:31:57]line ИТОГО: 325.00 [01:31:57]line НСП 1% : 2.88 [01:31:57]line НДС 12% : 34.51 [01:31:57]line Наличными: 0.00 [01:31:57]line Безнал.: 325.00 [01:31:57]line Место: АЗС № 132 "Партнер Нефть" [01:31:57]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [01:31:57]line СНО: Общий режим [01:31:57]line Чек 12 16.07.2024 01:31 [01:31:57]line Смена: 498 ФФД: 1.0 [01:31:57]line ЗНМ: 0300000132 [01:31:57]line РНМ: 0000000000091208 [01:31:57]line Версия ККМ: 001 [01:31:57]line Платежная система: АКБ Кыргызстан [01:31:57]line ФМ: 0000000000874857 [01:31:57]line ФД: 57258 [01:31:57]line ФПД: 92664316262178 [01:31:57]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240716T013156&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57258&fm=92664316262178&tin=02508201610067®Number=0000000000091208&sum=32500 [01:31:57]line 0 [01:31:57]written 0, free lines is 4095 [01:31:57]OFD Sender: Processing packet 57258 [packets to send 38, broken 37] [01:31:57]ProducePacketName [01:31:57]name=ofd_packets/00057258 [01:31:57]OFD Sender: To server: pG, [01:31:57]CommunicateWithHost lk.salyk.kg:30040 [01:31:57]ConnectInit lk.salyk.kg [01:31:58]Connected sock=10 [01:31: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 24 01 00 00 A2 7B 1C 01 50 05 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 00 00 00 00 00 00 39 04 06 00 F4 7E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 8C CD 95 66 0E 04 04 00 F2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 AA DF 00 00 35 04 06 00 54 47 17 A7 77 22 AD 61 D7 34 CF 8A 21 A5 [01:31: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 5A 3B 47 00 3A E8 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 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 AA DF 00 00 F4 03 04 00 D8 73 95 66 B6 04 01 00 00 19 24 B9 94 02 85 85 19 [01:31:58]CommunicateWithHost err = 0 [01:31:58]CheckOFDResponse [01:31:58]1017 (14) - 77093643461234 [01:31:58]1041 (16) - 0000000000874857 [01:31:58]1040 (4) - 57258 [01:31:58]1012 (4) - 15.07.2024 19:09 [01:31:58]1206 (1) - 0 [01:31:58]OFD Sender: Remove packet 57258 [01:31:58]ProducePacketName [01:31:58]name=ofd_packets/00057258 [01:31:58]NVStorageDeleteData [01:31:58]Write to MH i2c: 01 00 00 68 00 68 [01:31:58]Write i2c OK [01:31:58]MH_I2C_Read... [01:31:58]Read from MH i2c: 01 [01:31:58]MH_I2C_Read... [01:31:58]Read from MH i2c: 01 07 00 [01:31:58]MH_I2C_Read... [01:31:58]Read from MH i2c: 01 07 00 68 00 00 00 00 00 00 F6 0C 71 [01:31:58]RasterBufferAndPrint [01:31:58]line [01:31:58]line [01:31:58]line [01:31:58]line [01:31:58]line [01:31:58]written 0, free lines is 3327 [01:31:58]MH_Cut [01:31:58]Write to MH i2c: D1 01 00 6F 00 01 41 [01:31:58]Write i2c OK [01:31:58]MH_I2C_Read... [01:31:58]Read from MH i2c: D1 [01:31:58]MH_I2C_Read... [01:31:58]Read from MH i2c: D1 01 00 [01:31:58]MH_I2C_Read... [01:31:58]Read from MH i2c: D1 01 00 6F 00 00 40 [01:31:58]Write to MH i2c: 01 00 00 70 00 70 [01:31:58]Write i2c OK [01:31:58]MH_I2C_Read... [01:31:58]OFD Sender: No OFD packet to send [01:31:59]*** Cut start [01:31:59]*** Partial cut [01:31:59]*** CUTSNS_PIN = 1 [01:31:59]*** CUTSNS_PIN = 0 [01:31:59]*** Brake cut motor [01:31:59]Read from MH i2c: 01 [01:31:59]MH_I2C_Read... [01:31:59]*** Stop cut motor [01:31:59]*** Cut end [01:31:59]Read from MH i2c: 01 07 00 [01:31:59]MH_I2C_Read... [01:31:59]Read from MH i2c: 01 07 00 70 00 00 00 00 00 00 FF 0F 85 [01:31:59]process_action close_receipt done [01:31:59]requested_data is exist [01:31:59]produce_requested_data [01:31:59]requested_item fm.sn is exist - process it [01:31:59]wFMCommunicate request_size=4 [01:31:59]MH_SAM_APDU [01:31:59]CAPDU: 80 11 00 00 [01:31:59]Write to MH i2c: E2 08 00 71 00 80 11 00 00 00 00 00 00 EB [01:31:59]Write i2c OK [01:31:59]MH_I2C_Read... [01:31:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:31:59]Read from MH i2c: E2 [01:31:59]MH_I2C_Read... [01:31:59]Read from MH i2c: E2 17 00 [01:31:59]MH_I2C_Read... [01:31:59]Read from MH i2c: E2 17 00 71 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 45 [01:31: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:31:59]wFMCommunicate OK [01:31:59]requested_item fd.num is exist - process it [01:31:59]SAM_PROTO_GetFieldsCounters [01:31:59]wFMCommunicate request_size=4 [01:31:59]MH_SAM_APDU [01:31:59]CAPDU: 80 13 00 00 [01:31:59]Write to MH i2c: E2 08 00 72 00 80 13 00 00 00 00 00 00 EE [01:31:59]Write i2c OK [01:31:59]MH_I2C_Read... [01:31:59]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [01:31:59]Read from MH i2c: E2 [01:31:59]MH_I2C_Read... [01:31:59]Read from MH i2c: E2 62 00 [01:31:59]MH_I2C_Read... [01:31:59]Read from MH i2c: E2 62 00 72 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 AA DF 00 00 0E 04 04 00 F2 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 B1 [01:31: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 AA DF 00 00 0E 04 04 00 F2 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:31:59]wFMCommunicate OK [01:31:59]SAM_PROTO_GetFieldsCounters done [01:31:59]requested_item shift.num is exist - process it [01:31:59]requested_item shift.opened is exist - process it [01:31:59]req_shift_opened [01:31:59]FM_GetShiftState [01:31:59]SAM_PROTO_GetShiftState [01:31:59]wFMCommunicate request_size=4 [01:31:59]MH_SAM_APDU [01:31:59]CAPDU: 80 13 01 00 [01:31:59]Write to MH i2c: E2 08 00 73 00 80 13 01 00 00 00 00 00 F0 [01:31:59]Write i2c OK [01:31:59]MH_I2C_Read... [01:31:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:31:59]Read from MH i2c: E2 [01:31:59]MH_I2C_Read... [01:31:59]Read from MH i2c: E2 0E 00 [01:31:59]MH_I2C_Read... [01:31:59]Read from MH i2c: E2 0E 00 73 00 00 09 00 01 8A BF 95 66 00 00 00 00 90 00 40 [01:31:59]RAPDU: 09 00 01 8A BF 95 66 00 00 00 00 90 00 [01:31:59]wFMCommunicate OK [01:31:59]SAM_PROTO_GetShiftState done [01:31:59]FM_GetShiftState done [01:31:59]req_shift_opened done [01:31:59]requested_item shift.open_date is exist - process it [01:31:59]req_shift_open_date [01:31:59]req_shift_open_date done [01:31:59]requested_item shift.sale.total is exist - process it [01:31:59]SAM_PROTO_GetShiftData [01:31:59]wFMCommunicate request_size=4 [01:31:59]MH_SAM_APDU [01:31:59]CAPDU: 80 13 02 00 [01:31:59]Write to MH i2c: E2 08 00 74 00 80 13 02 00 00 00 00 00 F2 [01:31:59]Write i2c OK [01:31:59]MH_I2C_Read... [01:32:00]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [01:32:00]Read from MH i2c: E2 [01:32:00]MH_I2C_Read... [01:32:00]Read from MH i2c: E2 FD 00 [01:32:00]MH_I2C_Read... [01:32:00]Read from MH i2c: E2 FD 00 74 00 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 1C 1A 06 70 04 03 00 A8 6E 02 72 04 03 00 74 AB 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 E2 A5 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 D4 0D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 A6 [01:32:00]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 1C 1A 06 70 04 03 00 A8 6E 02 72 04 03 00 74 AB 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 E2 A5 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 D4 0D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:32:00]wFMCommunicate OK [01:32:00]wFMCommunicate request_size=4 [01:32:00]MH_SAM_APDU [01:32:00]CAPDU: 80 17 00 00 [01:32:00]Write to MH i2c: E2 08 00 75 00 80 17 00 00 00 00 00 00 F5 [01:32:00]Write i2c OK [01:32:00]MH_I2C_Read... [01:32:00]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [01:32:00]Read from MH i2c: E2 [01:32:00]MH_I2C_Read... [01:32:00]Read from MH i2c: E2 FD 00 [01:32:00]MH_I2C_Read... [01:32:00]Read from MH i2c: E2 FD 00 75 00 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 07 [01:32: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 [01:32:00]wFMCommunicate OK [01:32:00]wFMCommunicate request_size=4 [01:32:00]MH_SAM_APDU [01:32:00]CAPDU: 80 17 00 00 [01:32:00]Write to MH i2c: E2 08 00 76 00 80 17 00 00 00 00 00 00 F6 [01:32:00]Write i2c OK [01:32:00]MH_I2C_Read... [01:32:00]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [01:32:00]Read from MH i2c: E2 [01:32:00]MH_I2C_Read... [01:32:00]Read from MH i2c: E2 FD 00 [01:32:00]MH_I2C_Read... [01:32:00]Read from MH i2c: E2 FD 00 76 00 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 BA [01:32: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 [01:32:00]wFMCommunicate OK [01:32:00]wFMCommunicate request_size=4 [01:32:00]MH_SAM_APDU [01:32:00]CAPDU: 80 17 00 00 [01:32:00]Write to MH i2c: E2 08 00 77 00 80 17 00 00 00 00 00 00 F7 [01:32:00]Write i2c OK [01:32:00]MH_I2C_Read... [01:32:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [01:32:01]Read from MH i2c: E2 [01:32:01]MH_I2C_Read... [01:32:01]Read from MH i2c: E2 FD 00 [01:32:01]MH_I2C_Read... [01:32:01]Read from MH i2c: E2 FD 00 77 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 6C [01:32: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 [01:32:01]wFMCommunicate OK [01:32:01]wFMCommunicate request_size=4 [01:32:01]MH_SAM_APDU [01:32:01]CAPDU: 80 17 00 00 [01:32:01]Write to MH i2c: E2 08 00 78 00 80 17 00 00 00 00 00 00 F8 [01:32:01]Write i2c OK [01:32:01]MH_I2C_Read... [01:32:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [01:32:01]Read from MH i2c: E2 [01:32:01]MH_I2C_Read... [01:32:01]Read from MH i2c: E2 CA 00 [01:32:01]MH_I2C_Read... [01:32:01]Read from MH i2c: E2 CA 00 78 00 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 DD [01:32: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 [01:32:01]wFMCommunicate OK [01:32:01]SAM_PROTO_GetShiftData done [01:32:01]requested_item shift.sale.total_cash is exist - process it [01:32:01]requested_item shift.sale_refund.total is exist - process it [01:32:01]requested_item shift.sale_refund.total_cash is exist - process it [01:32:01]produce_requested_data done [01:32:01]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57258,"shift.num":498,"shift.opened":1,"shift.open_date":1721089930,"shift.sale.total":3999.00,"shift.sale.total_cash":1594.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [01:32:01]process_action_free close_receipt [01:32:01]json_value_free [01:32:01]json_value_free done [01:32:01]process_json_proto returns [01:32:01]Send response to host [01:32:01]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57258,"shift.num":498,"shift.opened":1,"shift.open_date":1721089930,"shift.sale.total":3999.00,"shift.sale.total_cash":1594.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [01:32:01]free response buf [01:32:01]execute_script done [01:32:01]execute_script returns [01:32:01]free content buf [01:32:01]Sock 8.Close socket [01:32:01]Sock 8.Thread stoped [01:32:03]OFD Sender: No OFD packet to send [01:32:06]accept exits with 9 [01:32:06]New connection [01:32:06]New thread 3066854756 created [01:32:06]Thread 3066998116 joined [01:32:06]Waiting for new connection... [01:32:06] Sock 9.Parse request [01:32:06]Sock 9.Check first char [01:32:06]Sock 9.First char is OK [01:32:06]request: POST /json_proto HTTP/1.0 [01:32:06]Method: POST [01:32:06]URL: /json_proto [01:32:06]Method is POST - this is cgi request [01:32:06]url: /json_proto [01:32:06]query_string will be loaded in cgi processing [01:32:06]execute_cgi json_proto POST (null) [01:32:06]execute_cgi path=json_proto method=POST [01:32:06]POST find Content-Length [01:32:06]Host: 172.17.39.4:8080 [01:32:06]Content-Length: 967 [01:32:06]Content-Type: application/json [01:32:06] [01:32:06]POST finish read [01:32:06]Found Content-Length = 967 [01:32:06]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129694", "tax_sys" : 0, "items" : [ { "code": "4607010740016", "name": "\u0421\u0443\u0445 \u041A\u0438\u0440\u0438\u0435\u0448\u043A\u0438 \u0431\u0435\u043A\u043E\u043D 40\u0433", "price" : 21.00, "quantity" : 1.000, "sum" : 21.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" : 21.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:32:06]execute_script... [01:32:06]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129694", "tax_sys" : 0, "items" : [ { "code": "4607010740016", "name": "\u0421\u0443\u0445 \u041A\u0438\u0440\u0438\u0435\u0448\u043A\u0438 \u0431\u0435\u043A\u043E\u043D 40\u0433", "price" : 21.00, "quantity" : 1.000, "sum" : 21.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" : 21.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:32:06]POST & json_proto [01:32:06]process_json_proto [01:32:06]json parsed OK: [01:32:06]protocol is kg_v1.0 [01:32:06]action value=close_receipt [01:32:06]process_action close_receipt [01:32:06]cmd_close_receipt [01:32:06]MH_GetDate [01:32:06]Write to MH i2c: F0 00 00 79 00 68 [01:32:06]Write i2c OK [01:32:06]MH_I2C_Read... [01:32:06]Read from MH i2c: F0 [01:32:06]MH_I2C_Read... [01:32:06]Read from MH i2c: F0 09 00 [01:32:06]MH_I2C_Read... [01:32:06]Read from MH i2c: F0 09 00 79 00 00 96 CD 95 66 2D 25 5D 64 E2 [01:32:06]GetLastDocTimeStamp 1721093516 [01:32:06]current date 1721093526 [01:32:06]FM_GetShiftState [01:32:06]SAM_PROTO_GetShiftState [01:32:06]wFMCommunicate request_size=4 [01:32:06]MH_SAM_APDU [01:32:06]CAPDU: 80 13 01 00 [01:32:06]Write to MH i2c: E2 08 00 7A 00 80 13 01 00 00 00 00 00 F7 [01:32:06]Write i2c OK [01:32:06]MH_I2C_Read... [01:32:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:32:06]Read from MH i2c: E2 [01:32:06]MH_I2C_Read... [01:32:06]Read from MH i2c: E2 0E 00 [01:32:06]MH_I2C_Read... [01:32:06]Read from MH i2c: E2 0E 00 7A 00 00 09 00 01 8A BF 95 66 00 00 00 00 90 00 47 [01:32:06]RAPDU: 09 00 01 8A BF 95 66 00 00 00 00 90 00 [01:32:06]wFMCommunicate OK [01:32:06]SAM_PROTO_GetShiftState done [01:32:06]FM_GetShiftState done [01:32:06]opened in 1721089930 [01:32:06]opened+sec_in_day 1721176330 [01:32:06]quantity*price = 2100 [01:32:06]sum+1 = 2101 [01:32:06]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 21.00 НСП 1% : 0.19 НДС 12% : 2.23 Наличными: 0.00 Безнал.: 21.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 13 16.07.2024 01:32 Смена: 498 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000874857 ФД: 57259 ФПД: 89389955787768 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240716T013206&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57259&fm=89389955787768&tin=02508201610067®Number=0000000000091208&sum=2100 0 [01:32:07]StoreToDocumentArchive [01:32:07]shift 498 fd 57259 [01:32:07]save to /storage/0498/doc_00057259 [01:32:07]save last doc name /storage/0498/doc_00057259 to /storage/kkm_last_doc_name [01:32:07]save OK [01:32:07]Clear old archive folders... [01:32:07]ProcessDocumentItem done err = 0, tmpTLVsize=281 [01:32:07]tlvbuf is 00286AC0 [01:32:07]SAM_PROTO_ClearQueue [01:32:07]wFMCommunicate request_size=4 [01:32:07]MH_SAM_APDU [01:32:07]CAPDU: 80 09 00 00 [01:32:07]Write to MH i2c: E2 08 00 87 00 80 09 00 00 00 00 00 00 F9 [01:32:07]Write i2c OK [01:32:07]MH_I2C_Read... [01:32:07]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [01:32:07]Read from MH i2c: E2 [01:32:07]MH_I2C_Read... [01:32:07]Read from MH i2c: E2 03 00 [01:32:07]MH_I2C_Read... [01:32:07]Read from MH i2c: E2 03 00 87 00 00 90 00 FB [01:32:07]RAPDU: 90 00 [01:32:07]wFMCommunicate OK [01:32:07]SAM_PROTO_ClearQueue done [01:32:07]KKMCreateOFDPacket [01:32:07]OFDProtocolAddRootSTLVToBuf [01:32:07]FM_MakeSignedData [01:32:07]FM_MakeSignedData [01:32:07]SAM_PROTO_SignData [01:32:07]wFMCommunicate request_size=4 [01:32:07]MH_SAM_APDU [01:32:07]CAPDU: 80 0D 01 02 [01:32:07]Write to MH i2c: E2 08 00 88 00 80 0D 01 02 00 00 00 00 01 [01:32:07]Write i2c OK [01:32:07]MH_I2C_Read... [01:32:07]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [01:32:07]Read from MH i2c: E2 [01:32:07]MH_I2C_Read... [01:32:07]Read from MH i2c: E2 03 00 [01:32:07]MH_I2C_Read... [01:32:07]Read from MH i2c: E2 03 00 88 00 00 90 00 FC [01:32:07]RAPDU: 90 00 [01:32:07]wFMCommunicate OK [01:32:07]wFMCommunicate request_size=255 [01:32:07]MH_SAM_APDU [01:32:07]CAPDU: 80 0D 02 02 FA 03 00 19 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 31 30 37 34 30 30 31 36 06 04 27 00 D0 A1 D1 83 D1 85 20 D0 9A D0 B8 D1 80 D0 B8 D0 B5 D1 88 D0 BA D0 B8 20 D0 B1 D0 B5 D0 BA D0 BE D0 BD 20 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 08 00 00 00 00 13 04 06 00 34 08 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 08 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DF 00 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 34 08 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 96 CD 95 66 0E 04 04 00 F2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 [01:32:07]Write to MH i2c: E2 02 01 89 00 80 0D 02 02 FA 00 03 00 19 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 31 30 37 34 30 30 31 36 06 04 27 00 D0 A1 D1 83 D1 85 20 D0 9A D0 B8 D1 80 D0 B8 D0 B5 D1 88 D0 BA D0 B8 20 D0 B1 D0 B5 D0 BA D0 BE D0 BD 20 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 08 00 00 00 00 13 04 06 00 34 08 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 08 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DF 00 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 34 08 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 96 CD 95 66 0E 04 04 00 F2 01 00 00 B9 04 01 00 01 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 03 [01:32:07]Write i2c OK [01:32:07]MH_I2C_Read... [01:32:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:32:07]Read from MH i2c: E2 [01:32:07]MH_I2C_Read... [01:32:07]Read from MH i2c: E2 03 00 [01:32:07]MH_I2C_Read... [01:32:07]Read from MH i2c: E2 03 00 89 00 00 90 00 FD [01:32:07]RAPDU: 90 00 [01:32:07]wFMCommunicate OK [01:32:07]wFMCommunicate request_size=40 [01:32:07]MH_SAM_APDU [01:32:07]CAPDU: 80 0D 02 02 23 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 AB DF 00 00 35 04 06 00 51 4C B8 8F AB F8 [01:32:07]Write to MH i2c: E2 2B 00 8A 00 80 0D 02 02 23 00 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 AB DF 00 00 35 04 06 00 51 4C B8 8F AB F8 00 00 D9 [01:32:07]Write i2c OK [01:32:07]MH_I2C_Read... [01:32:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:32:07]Read from MH i2c: E2 [01:32:07]MH_I2C_Read... [01:32:07]Read from MH i2c: E2 03 00 [01:32:07]MH_I2C_Read... [01:32:07]Read from MH i2c: E2 03 00 8A 00 00 90 00 FE [01:32:07]RAPDU: 90 00 [01:32:07]wFMCommunicate OK [01:32:07]wFMCommunicate request_size=4 [01:32:07]MH_SAM_APDU [01:32:07]CAPDU: 80 0D 03 02 [01:32:07]Write to MH i2c: E2 08 00 8B 00 80 0D 03 02 00 00 00 00 06 [01:32:07]Write i2c OK [01:32:07]MH_I2C_Read... [01:32:07]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [01:32:07]Read from MH i2c: E2 [01:32:07]MH_I2C_Read... [01:32:07]Read from MH i2c: E2 0B 00 [01:32:07]MH_I2C_Read... [01:32:07]Read from MH i2c: E2 0B 00 8B 00 00 86 38 A9 59 D4 4F 10 2A 90 00 24 [01:32:07]RAPDU: 86 38 A9 59 D4 4F 10 2A 90 00 [01:32:07]wFMCommunicate OK [01:32:07]SAM_PROTO_SignData done [01:32:07]FM_MakeSignedData done [01:32:07]CreateOFDProtocolMessage [01:32:07]wFMCommunicate request_size=4 [01:32:07]MH_SAM_APDU [01:32:07]CAPDU: 80 11 00 00 [01:32:07]Write to MH i2c: E2 08 00 8C 00 80 11 00 00 00 00 00 00 06 [01:32:07]Write i2c OK [01:32:07]MH_I2C_Read... [01:32:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:32:08]Read from MH i2c: E2 [01:32:08]MH_I2C_Read... [01:32:08]Read from MH i2c: E2 17 00 [01:32:08]MH_I2C_Read... [01:32:08]Read from MH i2c: E2 17 00 8C 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 60 [01:32:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [01:32:08]wFMCommunicate OK [01:32:08]CreateOFDProtocolMessage done [01:32:08]OFDSenderStorePacket 57259 [01:32:08]StoreOFDPacket docnum=57259 [01:32:08]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 2D 01 00 00 E9 17 25 01 05 B4 5A 03 01 00 03 00 19 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 31 30 37 34 30 30 31 36 06 04 27 00 D0 A1 D1 83 D1 85 20 D0 9A D0 B8 D1 80 D0 B8 D0 B5 D1 88 D0 BA D0 B8 20 D0 B1 D0 B5 D0 BA D0 BE D0 BD 20 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 08 00 00 00 00 13 04 06 00 34 08 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 08 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DF 00 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 34 08 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 96 CD 95 66 0E 04 04 00 F2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 AB DF 00 00 35 04 06 00 51 4C B8 8F AB F8 86 38 A9 59 D4 4F 10 2A [01:32:08]CheckFolder [01:32:08]dirname=/storage/ofd_packets [01:32:08]CheckFolder done [01:32:08]ProducePacketName [01:32:08]name=ofd_packets/00057259 [01:32:08]NVStorageSaveData ofd_packets/00057259 [01:32:08]File name is /storage/ofd_packets/00057259 [01:32:08]Write 331 bytes [01:32:08]NVStorageSaveData done [01:32:08]OFDSenderStorePacket done [01:32:08]KKMCreateOFDPacket done [01:32:08]NVStorageSaveData kkm_last_timestamp [01:32:08]File name is /storage/kkm_last_timestamp [01:32:08]Write 4 bytes [01:32:08]NVStorageSaveData done [01:32:08]ExternCall_PrintAddStr [01:32:08]wPrintStart [01:32:08]Write to MH i2c: 01 00 00 8D 00 8D [01:32:08]Write i2c OK [01:32:08]MH_I2C_Read... [01:32:08]Read from MH i2c: 01 [01:32:08]MH_I2C_Read... [01:32:08]Read from MH i2c: 01 07 00 [01:32:08]MH_I2C_Read... [01:32:08]Read from MH i2c: 01 07 00 8D 00 00 00 00 00 00 FF 0F A2 [01:32:08]RasterBufferAndPrint [01:32:08]line Счет N : (3)129694 [01:32:08]line ИНН: 02508201610067 [01:32:08]line Контрольно-Кассовый Чек [01:32:08]line ПРОДАЖА [01:32:08]line Товар: 4607010740016 [01:32:08]line Сух Кириешки бекон 40г [01:32:08]line 1.000 * 21.00 [01:32:08]line = 21.00 [01:32:08]line НДС 12% НСП 1% [01:32:08]line > о реализуемом товаре [01:32:08]line ИТОГО: 21.00 [01:32:08]line НСП 1% : 0.19 [01:32:08]line НДС 12% : 2.23 [01:32:08]line Наличными: 0.00 [01:32:08]line Безнал.: 21.00 [01:32:08]line Место: АЗС № 132 "Партнер Нефть" [01:32:08]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [01:32:08]line СНО: Общий режим [01:32:08]line Чек 13 16.07.2024 01:32 [01:32:08]line Смена: 498 ФФД: 1.0 [01:32:08]line ЗНМ: 0300000132 [01:32:08]line РНМ: 0000000000091208 [01:32:08]line Версия ККМ: 001 [01:32:08]line Платежная система: АКБ Кыргызстан [01:32:08]line ФМ: 0000000000874857 [01:32:08]line ФД: 57259 [01:32:08]line ФПД: 89389955787768 [01:32:08]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240716T013206&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57259&fm=89389955787768&tin=02508201610067®Number=0000000000091208&sum=2100 [01:32:08]line 0 [01:32:08]written 0, free lines is 4095 [01:32:08]OFD Sender: Processing packet 57259 [packets to send 38, broken 37] [01:32:08]ProducePacketName [01:32:08]name=ofd_packets/00057259 [01:32:08]OFD Sender: To server: pG, [01:32:08]CommunicateWithHost lk.salyk.kg:30040 [01:32:08]ConnectInit lk.salyk.kg [01:32:08]Connected sock=10 [01:32:08]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 2D 01 00 00 E9 17 25 01 05 B4 5A 03 01 00 03 00 19 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 31 30 37 34 30 30 31 36 06 04 27 00 D0 A1 D1 83 D1 85 20 D0 9A D0 B8 D1 80 D0 B8 D0 B5 D1 88 D0 BA D0 B8 20 D0 B1 D0 B5 D0 BA D0 BE D0 BD 20 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 08 00 00 00 00 13 04 06 00 34 08 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 08 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DF 00 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 34 08 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 96 CD 95 66 0E 04 04 00 F2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 AB DF 00 00 35 04 06 00 51 4C B8 8F AB F8 86 38 A9 59 D4 4F 10 2A [01:32:08]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 C8 65 47 00 08 C5 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 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 AB DF 00 00 F4 03 04 00 E2 73 95 66 B6 04 01 00 00 1A 0C 16 98 A4 92 66 D7 [01:32:08]CommunicateWithHost err = 0 [01:32:08]CheckOFDResponse [01:32:08]1017 (14) - 77093643461234 [01:32:08]1041 (16) - 0000000000874857 [01:32:08]1040 (4) - 57259 [01:32:08]1012 (4) - 15.07.2024 19:09 [01:32:08]1206 (1) - 0 [01:32:08]OFD Sender: Remove packet 57259 [01:32:08]ProducePacketName [01:32:08]name=ofd_packets/00057259 [01:32:08]NVStorageDeleteData [01:32:08]Write to MH i2c: 01 00 00 B7 00 B7 [01:32:08]Write i2c OK [01:32:08]MH_I2C_Read... [01:32:08]Read from MH i2c: 01 [01:32:08]MH_I2C_Read... [01:32:08]Read from MH i2c: 01 07 00 [01:32:08]MH_I2C_Read... [01:32:08]Read from MH i2c: 01 07 00 B7 00 00 00 00 00 00 03 0D CE [01:32:08]RasterBufferAndPrint [01:32:08]line [01:32:08]line [01:32:08]line [01:32:08]line [01:32:08]line [01:32:08]written 0, free lines is 3348 [01:32:08]MH_Cut [01:32:08]Write to MH i2c: D1 01 00 BE 00 01 90 [01:32:08]Write i2c OK [01:32:08]MH_I2C_Read... [01:32:08]Read from MH i2c: D1 [01:32:08]MH_I2C_Read... [01:32:08]Read from MH i2c: D1 01 00 [01:32:08]MH_I2C_Read... [01:32:08]Read from MH i2c: D1 01 00 BE 00 00 8F [01:32:08]Write to MH i2c: 01 00 00 BF 00 BF [01:32:08]Write i2c OK [01:32:08]MH_I2C_Read... [01:32:08]OFD Sender: No OFD packet to send [01:32:09]*** Cut start [01:32:09]*** Partial cut [01:32:09]*** CUTSNS_PIN = 1 [01:32:09]*** CUTSNS_PIN = 0 [01:32:09]*** Brake cut motor [01:32:09]Read from MH i2c: 01 [01:32:09]MH_I2C_Read... [01:32:09]*** Stop cut motor [01:32:09]*** Cut end [01:32:09]Read from MH i2c: 01 07 00 [01:32:09]MH_I2C_Read... [01:32:09]Read from MH i2c: 01 07 00 BF 00 00 00 00 00 00 FF 0F D4 [01:32:09]process_action close_receipt done [01:32:09]requested_data is exist [01:32:09]produce_requested_data [01:32:09]requested_item fm.sn is exist - process it [01:32:09]wFMCommunicate request_size=4 [01:32:09]MH_SAM_APDU [01:32:09]CAPDU: 80 11 00 00 [01:32:09]Write to MH i2c: E2 08 00 C0 00 80 11 00 00 00 00 00 00 3A [01:32:09]Write i2c OK [01:32:09]MH_I2C_Read... [01:32:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:32:09]Read from MH i2c: E2 [01:32:09]MH_I2C_Read... [01:32:09]Read from MH i2c: E2 17 00 [01:32:09]MH_I2C_Read... [01:32:09]Read from MH i2c: E2 17 00 C0 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 94 [01:32:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [01:32:09]wFMCommunicate OK [01:32:09]requested_item fd.num is exist - process it [01:32:09]SAM_PROTO_GetFieldsCounters [01:32:09]wFMCommunicate request_size=4 [01:32:09]MH_SAM_APDU [01:32:09]CAPDU: 80 13 00 00 [01:32:09]Write to MH i2c: E2 08 00 C1 00 80 13 00 00 00 00 00 00 3D [01:32:09]Write i2c OK [01:32:09]MH_I2C_Read... [01:32:10]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [01:32:10]Read from MH i2c: E2 [01:32:10]MH_I2C_Read... [01:32:10]Read from MH i2c: E2 62 00 [01:32:10]MH_I2C_Read... [01:32:10]Read from MH i2c: E2 62 00 C1 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 AB DF 00 00 0E 04 04 00 F2 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 04 [01:32: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 AB DF 00 00 0E 04 04 00 F2 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:32:10]wFMCommunicate OK [01:32:10]SAM_PROTO_GetFieldsCounters done [01:32:10]requested_item shift.num is exist - process it [01:32:10]requested_item shift.opened is exist - process it [01:32:10]req_shift_opened [01:32:10]FM_GetShiftState [01:32:10]SAM_PROTO_GetShiftState [01:32:10]wFMCommunicate request_size=4 [01:32:10]MH_SAM_APDU [01:32:10]CAPDU: 80 13 01 00 [01:32:10]Write to MH i2c: E2 08 00 C2 00 80 13 01 00 00 00 00 00 3F [01:32:10]Write i2c OK [01:32:10]MH_I2C_Read... [01:32:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:32:10]Read from MH i2c: E2 [01:32:10]MH_I2C_Read... [01:32:10]Read from MH i2c: E2 0E 00 [01:32:10]MH_I2C_Read... [01:32:10]Read from MH i2c: E2 0E 00 C2 00 00 09 00 01 8A BF 95 66 00 00 00 00 90 00 8F [01:32:10]RAPDU: 09 00 01 8A BF 95 66 00 00 00 00 90 00 [01:32:10]wFMCommunicate OK [01:32:10]SAM_PROTO_GetShiftState done [01:32:10]FM_GetShiftState done [01:32:10]req_shift_opened done [01:32:10]requested_item shift.open_date is exist - process it [01:32:10]req_shift_open_date [01:32:10]req_shift_open_date done [01:32:10]requested_item shift.sale.total is exist - process it [01:32:10]SAM_PROTO_GetShiftData [01:32:10]wFMCommunicate request_size=4 [01:32:10]MH_SAM_APDU [01:32:10]CAPDU: 80 13 02 00 [01:32:10]Write to MH i2c: E2 08 00 C3 00 80 13 02 00 00 00 00 00 41 [01:32:10]Write i2c OK [01:32:10]MH_I2C_Read... [01:32:10]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [01:32:10]Read from MH i2c: E2 [01:32:10]MH_I2C_Read... [01:32:10]Read from MH i2c: E2 FD 00 [01:32:10]MH_I2C_Read... [01:32:10]Read from MH i2c: E2 FD 00 C3 00 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 50 22 06 70 04 03 00 A8 6E 02 72 04 03 00 A8 B3 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 C1 A6 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E7 0D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 62 [01:32:10]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 50 22 06 70 04 03 00 A8 6E 02 72 04 03 00 A8 B3 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 C1 A6 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E7 0D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:32:10]wFMCommunicate OK [01:32:10]wFMCommunicate request_size=4 [01:32:10]MH_SAM_APDU [01:32:10]CAPDU: 80 17 00 00 [01:32:10]Write to MH i2c: E2 08 00 C4 00 80 17 00 00 00 00 00 00 44 [01:32:10]Write i2c OK [01:32:10]MH_I2C_Read... [01:32:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [01:32:11]Read from MH i2c: E2 [01:32:11]MH_I2C_Read... [01:32:11]Read from MH i2c: E2 FD 00 [01:32:11]MH_I2C_Read... [01:32:11]Read from MH i2c: E2 FD 00 C4 00 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 56 [01:32:11]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:32:11]wFMCommunicate OK [01:32:11]wFMCommunicate request_size=4 [01:32:11]MH_SAM_APDU [01:32:11]CAPDU: 80 17 00 00 [01:32:11]Write to MH i2c: E2 08 00 C5 00 80 17 00 00 00 00 00 00 45 [01:32:11]Write i2c OK [01:32:11]MH_I2C_Read... [01:32:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [01:32:11]Read from MH i2c: E2 [01:32:11]MH_I2C_Read... [01:32:11]Read from MH i2c: E2 FD 00 [01:32:11]MH_I2C_Read... [01:32:11]Read from MH i2c: E2 FD 00 C5 00 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 09 [01:32:11]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:32:11]wFMCommunicate OK [01:32:11]wFMCommunicate request_size=4 [01:32:11]MH_SAM_APDU [01:32:11]CAPDU: 80 17 00 00 [01:32:11]Write to MH i2c: E2 08 00 C6 00 80 17 00 00 00 00 00 00 46 [01:32:11]Write i2c OK [01:32:11]MH_I2C_Read... [01:32:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [01:32:11]Read from MH i2c: E2 [01:32:11]MH_I2C_Read... [01:32:11]Read from MH i2c: E2 FD 00 [01:32:11]MH_I2C_Read... [01:32:11]Read from MH i2c: E2 FD 00 C6 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 BB [01:32:11]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:32:11]wFMCommunicate OK [01:32:11]wFMCommunicate request_size=4 [01:32:11]MH_SAM_APDU [01:32:11]CAPDU: 80 17 00 00 [01:32:11]Write to MH i2c: E2 08 00 C7 00 80 17 00 00 00 00 00 00 47 [01:32:11]Write i2c OK [01:32:11]MH_I2C_Read... [01:32:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [01:32:12]Read from MH i2c: E2 [01:32:12]MH_I2C_Read... [01:32:12]Read from MH i2c: E2 CA 00 [01:32:12]MH_I2C_Read... [01:32:12]Read from MH i2c: E2 CA 00 C7 00 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 2C [01:32:12]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:32:12]wFMCommunicate OK [01:32:12]SAM_PROTO_GetShiftData done [01:32:12]requested_item shift.sale.total_cash is exist - process it [01:32:12]requested_item shift.sale_refund.total is exist - process it [01:32:12]requested_item shift.sale_refund.total_cash is exist - process it [01:32:12]produce_requested_data done [01:32:12]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57259,"shift.num":498,"shift.opened":1,"shift.open_date":1721089930,"shift.sale.total":4020.00,"shift.sale.total_cash":1594.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [01:32:12]process_action_free close_receipt [01:32:12]json_value_free [01:32:12]json_value_free done [01:32:12]process_json_proto returns [01:32:12]Send response to host [01:32:12]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57259,"shift.num":498,"shift.opened":1,"shift.open_date":1721089930,"shift.sale.total":4020.00,"shift.sale.total_cash":1594.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [01:32:12]free response buf [01:32:12]execute_script done [01:32:12]execute_script returns [01:32:12]free content buf [01:32:12]Sock 9.Close socket [01:32:12]Sock 9.Thread stoped [01:32:13]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]accept exits with 8 [01:35:44]New connection [01:35:44]New thread 3066998116 created [01:35:44]Thread 3066854756 joined [01:35:44]Waiting for new connection... [01:35:44] Sock 8.Parse request [01:35:44]Sock 8.Check first char [01:35:44]Sock 8.First char is OK [01:35:44]request: POST /json_proto HTTP/1.0 [01:35:44]Method: POST [01:35:44]URL: /json_proto [01:35:44]Method is POST - this is cgi request [01:35:44]url: /json_proto [01:35:44]query_string will be loaded in cgi processing [01:35:44]execute_cgi json_proto POST (null) [01:35:44]execute_cgi path=json_proto method=POST [01:35:44]POST find Content-Length [01:35:44]Host: 172.17.39.4:8080 [01:35:44]Content-Length: 806 [01:35:44]Content-Type: application/json [01:35:44] [01:35:44]POST finish read [01:35:44]Found Content-Length = 806 [01:35:44]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129695", "tax_sys" : 0, "items" : [ { "code": "4870202522701", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Maxi \u0427\u0430\u0439 \u0447\u0435\u0440\u043D\u044B\u0439 \u041C\u0430\u043B\u0438\u043D\u0430 1,2", "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" ] } } [01:35:44]execute_script... [01:35: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)129695", "tax_sys" : 0, "items" : [ { "code": "4870202522701", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Maxi \u0427\u0430\u0439 \u0447\u0435\u0440\u043D\u044B\u0439 \u041C\u0430\u043B\u0438\u043D\u0430 1,2", "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" ] } } [01:35:44]POST & json_proto [01:35:44]process_json_proto [01:35:44]json parsed OK: [01:35:44]protocol is kg_v1.0 [01:35:44]action value=close_receipt [01:35:44]process_action close_receipt [01:35:44]cmd_close_receipt [01:35:44]MH_GetDate [01:35:44]Write to MH i2c: F0 00 00 C8 00 B7 [01:35:44]Write i2c OK [01:35:44]MH_I2C_Read... [01:35:44]Read from MH i2c: F0 [01:35:44]MH_I2C_Read... [01:35:44]Read from MH i2c: F0 09 00 [01:35:44]MH_I2C_Read... [01:35:44]Read from MH i2c: F0 09 00 C8 00 00 70 CE 95 66 2D 25 5D 64 0C [01:35:44]GetLastDocTimeStamp 1721093526 [01:35:44]current date 1721093744 [01:35:44]FM_GetShiftState [01:35:44]SAM_PROTO_GetShiftState [01:35:44]wFMCommunicate request_size=4 [01:35:44]MH_SAM_APDU [01:35:44]CAPDU: 80 13 01 00 [01:35:44]Write to MH i2c: E2 08 00 C9 00 80 13 01 00 00 00 00 00 46 [01:35:44]Write i2c OK [01:35:44]MH_I2C_Read... [01:35:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:35:44]Read from MH i2c: E2 [01:35:44]MH_I2C_Read... [01:35:44]Read from MH i2c: E2 0E 00 [01:35:44]MH_I2C_Read... [01:35:44]Read from MH i2c: E2 0E 00 C9 00 00 09 00 01 8A BF 95 66 00 00 00 00 90 00 96 [01:35:44]RAPDU: 09 00 01 8A BF 95 66 00 00 00 00 90 00 [01:35:44]wFMCommunicate OK [01:35:44]SAM_PROTO_GetShiftState done [01:35:44]FM_GetShiftState done [01:35:44]opened in 1721089930 [01:35:44]opened+sec_in_day 1721176330 [01:35:44]quantity*price = 11000 [01:35:44]sum+1 = 11001 [01:35:44]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 СНО: Общий режим Чек 14 16.07.2024 01:35 Смена: 498 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57260 ФПД: 41978649529375 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240716T013544&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57260&fm=41978649529375&tin=02508201610067®Number=0000000000091208&sum=11000 0 [01:35:45]StoreToDocumentArchive [01:35:45]shift 498 fd 57260 [01:35:45]save to /storage/0498/doc_00057260 [01:35:45]save last doc name /storage/0498/doc_00057260 to /storage/kkm_last_doc_name [01:35:45]save OK [01:35:45]Clear old archive folders... [01:35:45]ProcessDocumentItem done err = 0, tmpTLVsize=298 [01:35:45]tlvbuf is 00278220 [01:35:45]SAM_PROTO_ClearQueue [01:35:45]wFMCommunicate request_size=4 [01:35:45]MH_SAM_APDU [01:35:45]CAPDU: 80 09 00 00 [01:35:45]Write to MH i2c: E2 08 00 D6 00 80 09 00 00 00 00 00 00 48 [01:35:45]Write i2c OK [01:35:45]MH_I2C_Read... [01:35:45]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [01:35:45]Read from MH i2c: E2 [01:35:45]MH_I2C_Read... [01:35:45]Read from MH i2c: E2 03 00 [01:35:45]MH_I2C_Read... [01:35:45]Read from MH i2c: E2 03 00 D6 00 00 90 00 4A [01:35:45]RAPDU: 90 00 [01:35:45]wFMCommunicate OK [01:35:45]SAM_PROTO_ClearQueue done [01:35:45]KKMCreateOFDPacket [01:35:45]OFDProtocolAddRootSTLVToBuf [01:35:45]FM_MakeSignedData [01:35:45]FM_MakeSignedData [01:35:45]SAM_PROTO_SignData [01:35:45]wFMCommunicate request_size=4 [01:35:45]MH_SAM_APDU [01:35:45]CAPDU: 80 0D 01 02 [01:35:45]Write to MH i2c: E2 08 00 D7 00 80 0D 01 02 00 00 00 00 50 [01:35:45]Write i2c OK [01:35:45]MH_I2C_Read... [01:35:45]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [01:35:45]Read from MH i2c: E2 [01:35:45]MH_I2C_Read... [01:35:45]Read from MH i2c: E2 03 00 [01:35:45]MH_I2C_Read... [01:35:45]Read from MH i2c: E2 03 00 D7 00 00 90 00 4B [01:35:45]RAPDU: 90 00 [01:35:45]wFMCommunicate OK [01:35:45]wFMCommunicate request_size=255 [01:35:45]MH_SAM_APDU [01:35:45]CAPDU: 80 0D 02 02 FA 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 37 30 31 06 04 38 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 61 78 69 20 D0 A7 D0 B0 D0 B9 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D0 9C D0 B0 D0 BB D0 B8 D0 BD D0 B0 20 31 2C 32 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 0E 00 00 00 F4 03 04 00 70 CE 95 66 0E 04 04 00 F2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 [01:35:45]Write to MH i2c: E2 02 01 D8 00 80 0D 02 02 FA 00 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 37 30 31 06 04 38 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 61 78 69 20 D0 A7 D0 B0 D0 B9 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D0 9C D0 B0 D0 BB D0 B8 D0 BD D0 B0 20 31 2C 32 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 0E 00 00 00 F4 03 04 00 70 CE 95 66 0E 04 04 00 F2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 00 00 B8 [01:35:45]Write i2c OK [01:35:45]MH_I2C_Read... [01:35:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:35:45]Read from MH i2c: E2 [01:35:45]MH_I2C_Read... [01:35:45]Read from MH i2c: E2 03 00 [01:35:45]MH_I2C_Read... [01:35:45]Read from MH i2c: E2 03 00 D8 00 00 90 00 4C [01:35:45]RAPDU: 90 00 [01:35:45]wFMCommunicate OK [01:35:45]wFMCommunicate request_size=57 [01:35:45]MH_SAM_APDU [01:35:45]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 AC DF 00 00 35 04 06 00 26 2D EA 7E 4C 1F [01:35:45]Write to MH i2c: E2 3C 00 D9 00 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 AC DF 00 00 35 04 06 00 26 2D EA 7E 4C 1F 00 00 C3 [01:35:45]Write i2c OK [01:35:45]MH_I2C_Read... [01:35:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:35:45]Read from MH i2c: E2 [01:35:45]MH_I2C_Read... [01:35:45]Read from MH i2c: E2 03 00 [01:35:45]MH_I2C_Read... [01:35:45]Read from MH i2c: E2 03 00 D9 00 00 90 00 4D [01:35:45]RAPDU: 90 00 [01:35:45]wFMCommunicate OK [01:35:45]wFMCommunicate request_size=4 [01:35:45]MH_SAM_APDU [01:35:45]CAPDU: 80 0D 03 02 [01:35:45]Write to MH i2c: E2 08 00 DA 00 80 0D 03 02 00 00 00 00 55 [01:35:45]Write i2c OK [01:35:45]MH_I2C_Read... [01:35:45]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [01:35:45]Read from MH i2c: E2 [01:35:45]MH_I2C_Read... [01:35:45]Read from MH i2c: E2 0B 00 [01:35:45]MH_I2C_Read... [01:35:45]Read from MH i2c: E2 0B 00 DA 00 00 13 83 CE F9 AE A3 A5 88 90 00 31 [01:35:45]RAPDU: 13 83 CE F9 AE A3 A5 88 90 00 [01:35:45]wFMCommunicate OK [01:35:45]SAM_PROTO_SignData done [01:35:45]FM_MakeSignedData done [01:35:45]CreateOFDProtocolMessage [01:35:45]wFMCommunicate request_size=4 [01:35:45]MH_SAM_APDU [01:35:45]CAPDU: 80 11 00 00 [01:35:45]Write to MH i2c: E2 08 00 DB 00 80 11 00 00 00 00 00 00 55 [01:35:45]Write i2c OK [01:35:45]MH_I2C_Read... [01:35:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:35:45]Read from MH i2c: E2 [01:35:45]MH_I2C_Read... [01:35:45]Read from MH i2c: E2 17 00 [01:35:45]MH_I2C_Read... [01:35:45]Read from MH i2c: E2 17 00 DB 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 AF [01:35: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:35:45]wFMCommunicate OK [01:35:45]CreateOFDProtocolMessage done [01:35:45]OFDSenderStorePacket 57260 [01:35:45]StoreOFDPacket docnum=57260 [01:35:45]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 3A 9A 36 01 61 A4 5A 03 01 00 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 37 30 31 06 04 38 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 61 78 69 20 D0 A7 D0 B0 D0 B9 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D0 9C D0 B0 D0 BB D0 B8 D0 BD D0 B0 20 31 2C 32 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 0E 00 00 00 F4 03 04 00 70 CE 95 66 0E 04 04 00 F2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 AC DF 00 00 35 04 06 00 26 2D EA 7E 4C 1F 13 83 CE F9 AE A3 A5 88 [01:35:45]CheckFolder [01:35:45]dirname=/storage/ofd_packets [01:35:45]CheckFolder done [01:35:45]ProducePacketName [01:35:45]name=ofd_packets/00057260 [01:35:45]NVStorageSaveData ofd_packets/00057260 [01:35:45]File name is /storage/ofd_packets/00057260 [01:35:45]Write 348 bytes [01:35:45]NVStorageSaveData done [01:35:45]OFDSenderStorePacket done [01:35:45]KKMCreateOFDPacket done [01:35:45]NVStorageSaveData kkm_last_timestamp [01:35:45]File name is /storage/kkm_last_timestamp [01:35:45]Write 4 bytes [01:35:45]NVStorageSaveData done [01:35:45]ExternCall_PrintAddStr [01:35:45]wPrintStart [01:35:45]Write to MH i2c: 01 00 00 DC 00 DC [01:35:45]Write i2c OK [01:35:45]MH_I2C_Read... [01:35:45]Read from MH i2c: 01 [01:35:45]MH_I2C_Read... [01:35:45]Read from MH i2c: 01 07 00 [01:35:45]MH_I2C_Read... [01:35:45]Read from MH i2c: 01 07 00 DC 00 00 00 00 00 00 FF 0F F1 [01:35:45]RasterBufferAndPrint [01:35:45]line Счет N : (3)129695 [01:35:45]line ИНН: 02508201610067 [01:35:45]line Контрольно-Кассовый Чек [01:35:45]line ПРОДАЖА [01:35:45]line Товар: 4870202522701 [01:35:45]line Напиток Maxi Чай черный Малина 1,2 [01:35:45]line 1.000 * 110.00 [01:35:45]line = 110.00 [01:35:45]line НДС 12% НСП 1% [01:35:45]line > о реализуемом товаре [01:35:45]line ИТОГО: 110.00 [01:35:45]line НСП 1% : 0.97 [01:35:45]line НДС 12% : 11.68 [01:35:45]line Наличными: 110.00 [01:35:45]line Безнал.: 0.00 [01:35:45]line Место: АЗС № 132 "Партнер Нефть" [01:35:45]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [01:35:45]line СНО: Общий режим [01:35:45]line Чек 14 16.07.2024 01:35 [01:35:45]line Смена: 498 ФФД: 1.0 [01:35:45]line ЗНМ: 0300000132 [01:35:45]line РНМ: 0000000000091208 [01:35:45]line Версия ККМ: 001 [01:35:45]line ФМ: 0000000000874857 [01:35:45]line ФД: 57260 [01:35:45]line ФПД: 41978649529375 [01:35:45]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240716T013544&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57260&fm=41978649529375&tin=02508201610067®Number=0000000000091208&sum=11000 [01:35:46]OFD Sender: Processing packet 57260 [packets to send 38, broken 37] [01:35:46]ProducePacketName [01:35:46]name=ofd_packets/00057260 [01:35:46]OFD Sender: To server: pG, [01:35:46]CommunicateWithHost lk.salyk.kg:30040 [01:35:46]ConnectInit lk.salyk.kg [01:35:46]line 0 [01:35:46]written 0, free lines is 4095 [01:35:46]Connected sock=10 [01:35:46]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 3E 01 00 00 3A 9A 36 01 61 A4 5A 03 01 00 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 37 30 31 06 04 38 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 61 78 69 20 D0 A7 D0 B0 D0 B9 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D0 9C D0 B0 D0 BB D0 B8 D0 BD D0 B0 20 31 2C 32 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 0E 00 00 00 F4 03 04 00 70 CE 95 66 0E 04 04 00 F2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 AC DF 00 00 35 04 06 00 26 2D EA 7E 4C 1F 13 83 CE F9 AE A3 A5 88 [01:35: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 AB ED 47 00 00 45 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 AC DF 00 00 F4 03 04 00 BD 74 95 66 B6 04 01 00 00 81 7F 2C CB A6 C1 94 F6 [01:35:46]CommunicateWithHost err = 0 [01:35:46]CheckOFDResponse [01:35:46]1017 (14) - 77093643461234 [01:35:46]1041 (16) - 0000000000874857 [01:35:46]1040 (4) - 57260 [01:35:46]1012 (4) - 15.07.2024 19:13 [01:35:46]1206 (1) - 0 [01:35:46]OFD Sender: Remove packet 57260 [01:35:46]ProducePacketName [01:35:46]name=ofd_packets/00057260 [01:35:46]NVStorageDeleteData [01:35:46]Write to MH i2c: 01 00 00 05 01 06 [01:35:46]Write i2c OK [01:35:46]MH_I2C_Read... [01:35:46]Read from MH i2c: 01 [01:35:46]MH_I2C_Read... [01:35:46]Read from MH i2c: 01 07 00 [01:35:46]MH_I2C_Read... [01:35:46]Read from MH i2c: 01 07 00 05 01 00 00 00 00 00 E5 0C FE [01:35:46]RasterBufferAndPrint [01:35:46]line [01:35:46]line [01:35:46]line [01:35:46]line [01:35:46]line [01:35:46]written 0, free lines is 3307 [01:35:46]MH_Cut [01:35:46]Write to MH i2c: D1 01 00 0C 01 01 DF [01:35:46]Write i2c OK [01:35:46]MH_I2C_Read... [01:35:46]Read from MH i2c: D1 [01:35:46]MH_I2C_Read... [01:35:46]Read from MH i2c: D1 01 00 [01:35:46]MH_I2C_Read... [01:35:46]Read from MH i2c: D1 01 00 0C 01 00 DE [01:35:46]Write to MH i2c: 01 00 00 0D 01 0E [01:35:46]Write i2c OK [01:35:46]MH_I2C_Read... [01:35:47]OFD Sender: No OFD packet to send [01:35:47]*** Cut start [01:35:47]*** Partial cut [01:35:47]*** CUTSNS_PIN = 1 [01:35:47]*** CUTSNS_PIN = 0 [01:35:47]*** Brake cut motor [01:35:47]Read from MH i2c: 01 [01:35:48]MH_I2C_Read... [01:35:48]*** Stop cut motor [01:35:48]*** Cut end [01:35:48]Read from MH i2c: 01 07 00 [01:35:48]MH_I2C_Read... [01:35:48]Read from MH i2c: 01 07 00 0D 01 00 00 00 00 00 FF 0F 23 [01:35:48]process_action close_receipt done [01:35:48]requested_data is exist [01:35:48]produce_requested_data [01:35:48]requested_item fm.sn is exist - process it [01:35:48]wFMCommunicate request_size=4 [01:35:48]MH_SAM_APDU [01:35:48]CAPDU: 80 11 00 00 [01:35:48]Write to MH i2c: E2 08 00 0E 01 80 11 00 00 00 00 00 00 89 [01:35:48]Write i2c OK [01:35:48]MH_I2C_Read... [01:35:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:35:48]Read from MH i2c: E2 [01:35:48]MH_I2C_Read... [01:35:48]Read from MH i2c: E2 17 00 [01:35:48]MH_I2C_Read... [01:35:48]Read from MH i2c: E2 17 00 0E 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 E3 [01:35: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:35:48]wFMCommunicate OK [01:35:48]requested_item fd.num is exist - process it [01:35:48]SAM_PROTO_GetFieldsCounters [01:35:48]wFMCommunicate request_size=4 [01:35:48]MH_SAM_APDU [01:35:48]CAPDU: 80 13 00 00 [01:35:48]Write to MH i2c: E2 08 00 0F 01 80 13 00 00 00 00 00 00 8C [01:35:48]Write i2c OK [01:35:48]MH_I2C_Read... [01:35:48]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [01:35:48]Read from MH i2c: E2 [01:35:48]MH_I2C_Read... [01:35:48]Read from MH i2c: E2 62 00 [01:35:48]MH_I2C_Read... [01:35:48]Read from MH i2c: E2 62 00 0F 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 AC DF 00 00 0E 04 04 00 F2 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 57 [01:35: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 AC DF 00 00 0E 04 04 00 F2 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:35:48]wFMCommunicate OK [01:35:48]SAM_PROTO_GetFieldsCounters done [01:35:48]requested_item shift.num is exist - process it [01:35:48]requested_item shift.opened is exist - process it [01:35:48]req_shift_opened [01:35:48]FM_GetShiftState [01:35:48]SAM_PROTO_GetShiftState [01:35:48]wFMCommunicate request_size=4 [01:35:48]MH_SAM_APDU [01:35:48]CAPDU: 80 13 01 00 [01:35:48]Write to MH i2c: E2 08 00 10 01 80 13 01 00 00 00 00 00 8E [01:35:48]Write i2c OK [01:35:48]MH_I2C_Read... [01:35:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:35:48]Read from MH i2c: E2 [01:35:48]MH_I2C_Read... [01:35:48]Read from MH i2c: E2 0E 00 [01:35:48]MH_I2C_Read... [01:35:48]Read from MH i2c: E2 0E 00 10 01 00 09 00 01 8A BF 95 66 00 00 00 00 90 00 DE [01:35:48]RAPDU: 09 00 01 8A BF 95 66 00 00 00 00 90 00 [01:35:48]wFMCommunicate OK [01:35:48]SAM_PROTO_GetShiftState done [01:35:48]FM_GetShiftState done [01:35:48]req_shift_opened done [01:35:48]requested_item shift.open_date is exist - process it [01:35:48]req_shift_open_date [01:35:48]req_shift_open_date done [01:35:48]requested_item shift.sale.total is exist - process it [01:35:48]SAM_PROTO_GetShiftData [01:35:48]wFMCommunicate request_size=4 [01:35:48]MH_SAM_APDU [01:35:48]CAPDU: 80 13 02 00 [01:35:48]Write to MH i2c: E2 08 00 11 01 80 13 02 00 00 00 00 00 90 [01:35:48]Write i2c OK [01:35:48]MH_I2C_Read... [01:35:48]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [01:35:48]Read from MH i2c: E2 [01:35:48]MH_I2C_Read... [01:35:48]Read from MH i2c: E2 FD 00 [01:35:48]MH_I2C_Read... [01:35:48]Read from MH i2c: E2 FD 00 11 01 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 48 4D 06 70 04 03 00 A0 99 02 72 04 03 00 A8 B3 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 51 AB EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 48 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 F0 [01:35:48]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 48 4D 06 70 04 03 00 A0 99 02 72 04 03 00 A8 B3 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 51 AB EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 48 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:35:48]wFMCommunicate OK [01:35:48]wFMCommunicate request_size=4 [01:35:48]MH_SAM_APDU [01:35:48]CAPDU: 80 17 00 00 [01:35:48]Write to MH i2c: E2 08 00 12 01 80 17 00 00 00 00 00 00 93 [01:35:48]Write i2c OK [01:35:48]MH_I2C_Read... [01:35:48]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [01:35:48]Read from MH i2c: E2 [01:35:48]MH_I2C_Read... [01:35:49]Read from MH i2c: E2 FD 00 [01:35:49]MH_I2C_Read... [01:35:49]Read from MH i2c: E2 FD 00 12 01 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 A5 [01:35:49]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:35:49]wFMCommunicate OK [01:35:49]wFMCommunicate request_size=4 [01:35:49]MH_SAM_APDU [01:35:49]CAPDU: 80 17 00 00 [01:35:49]Write to MH i2c: E2 08 00 13 01 80 17 00 00 00 00 00 00 94 [01:35:49]Write i2c OK [01:35:49]MH_I2C_Read... [01:35:49]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [01:35:49]Read from MH i2c: E2 [01:35:49]MH_I2C_Read... [01:35:49]Read from MH i2c: E2 FD 00 [01:35:49]MH_I2C_Read... [01:35:49]Read from MH i2c: E2 FD 00 13 01 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 58 [01:35:49]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:35:49]wFMCommunicate OK [01:35:49]wFMCommunicate request_size=4 [01:35:49]MH_SAM_APDU [01:35:49]CAPDU: 80 17 00 00 [01:35:49]Write to MH i2c: E2 08 00 14 01 80 17 00 00 00 00 00 00 95 [01:35:49]Write i2c OK [01:35:49]MH_I2C_Read... [01:35:49]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [01:35:49]Read from MH i2c: E2 [01:35:49]MH_I2C_Read... [01:35:49]Read from MH i2c: E2 FD 00 [01:35:49]MH_I2C_Read... [01:35:49]Read from MH i2c: E2 FD 00 14 01 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 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 0A [01:35:49]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:35:49]wFMCommunicate OK [01:35:49]wFMCommunicate request_size=4 [01:35:49]MH_SAM_APDU [01:35:49]CAPDU: 80 17 00 00 [01:35:49]Write to MH i2c: E2 08 00 15 01 80 17 00 00 00 00 00 00 96 [01:35:49]Write i2c OK [01:35:49]MH_I2C_Read... [01:35:49]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [01:35:49]Read from MH i2c: E2 [01:35:49]MH_I2C_Read... [01:35:49]Read from MH i2c: E2 CA 00 [01:35:49]MH_I2C_Read... [01:35:49]Read from MH i2c: E2 CA 00 15 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 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 7B [01:35:49]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:35:49]wFMCommunicate OK [01:35:49]SAM_PROTO_GetShiftData done [01:35:49]requested_item shift.sale.total_cash is exist - process it [01:35:49]requested_item shift.sale_refund.total is exist - process it [01:35:49]requested_item shift.sale_refund.total_cash is exist - process it [01:35:49]produce_requested_data done [01:35:49]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57260,"shift.num":498,"shift.opened":1,"shift.open_date":1721089930,"shift.sale.total":4130.00,"shift.sale.total_cash":1704.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [01:35:49]process_action_free close_receipt [01:35:49]json_value_free [01:35:49]json_value_free done [01:35:49]process_json_proto returns [01:35:49]Send response to host [01:35:49]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57260,"shift.num":498,"shift.opened":1,"shift.open_date":1721089930,"shift.sale.total":4130.00,"shift.sale.total_cash":1704.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [01:35:49]free response buf [01:35:49]execute_script done [01:35:49]execute_script returns [01:35:49]free content buf [01:35:49]Sock 8.Close socket [01:35:49]Sock 8.Thread stoped [01:35:52]OFD Sender: No OFD packet to send [01:35:57]OFD Sender: No OFD packet to send [01:36:02]OFD Sender: No OFD packet to send [01:36:07]OFD Sender: No OFD packet to send [01:36:12]OFD Sender: No OFD packet to send [01:36:17]OFD Sender: No OFD packet to send [01:36:22]OFD Sender: No OFD packet to send [01:36:27]OFD Sender: No OFD packet to send [01:36:32]OFD Sender: No OFD packet to send [01:36:37]OFD Sender: No OFD packet to send [01:36:42]OFD Sender: No OFD packet to send [01:36:47]OFD Sender: No OFD packet to send [01:36:52]OFD Sender: No OFD packet to send [01:36:57]OFD Sender: No OFD packet to send [01:37:02]OFD Sender: No OFD packet to send [01:37:07]OFD Sender: No OFD packet to send [01:37:12]OFD Sender: No OFD packet to send [01:37:17]OFD Sender: No OFD packet to send [01:37:22]OFD Sender: No OFD packet to send [01:37:27]OFD Sender: No OFD packet to send [01:37:32]OFD Sender: No OFD packet to send [01:37:37]OFD Sender: No OFD packet to send [01:37:42]OFD Sender: No OFD packet to send [01:37:47]OFD Sender: No OFD packet to send [01:37:52]OFD Sender: No OFD packet to send [01:37:57]OFD Sender: No OFD packet to send [01:38:02]OFD Sender: No OFD packet to send [01:38:06]accept exits with 9 [01:38:06]New connection [01:38:06]New thread 3066854756 created [01:38:06]Thread 3066998116 joined [01:38:06]Waiting for new connection... [01:38:06] Sock 9.Parse request [01:38:06]Sock 9.Check first char [01:38:06]Sock 9.First char is OK [01:38:06]request: POST /json_proto HTTP/1.0 [01:38:06]Method: POST [01:38:06]URL: /json_proto [01:38:06]Method is POST - this is cgi request [01:38:06]url: /json_proto [01:38:06]query_string will be loaded in cgi processing [01:38:06]execute_cgi json_proto POST (null) [01:38:06]execute_cgi path=json_proto method=POST [01:38:06]POST find Content-Length [01:38:06]Host: 172.17.39.4:8080 [01:38:06]Content-Length: 725 [01:38:06]Content-Type: application/json [01:38:06] [01:38:06]POST finish read [01:38:06]Found Content-Length = 725 [01:38:06]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129696", "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" ] } } [01:38:06]execute_script... [01:38:06]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129696", "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" ] } } [01:38:06]POST & json_proto [01:38:06]process_json_proto [01:38:06]json parsed OK: [01:38:06]protocol is kg_v1.0 [01:38:06]action value=close_receipt [01:38:06]process_action close_receipt [01:38:06]cmd_close_receipt [01:38:06]MH_GetDate [01:38:06]Write to MH i2c: F0 00 00 16 01 06 [01:38:06]Write i2c OK [01:38:06]MH_I2C_Read... [01:38:06]Read from MH i2c: F0 [01:38:06]MH_I2C_Read... [01:38:06]Read from MH i2c: F0 09 00 [01:38:06]MH_I2C_Read... [01:38:06]Read from MH i2c: F0 09 00 16 01 00 FE CE 95 66 2D 25 5D 64 E9 [01:38:06]GetLastDocTimeStamp 1721093744 [01:38:06]current date 1721093886 [01:38:06]FM_GetShiftState [01:38:06]SAM_PROTO_GetShiftState [01:38:06]wFMCommunicate request_size=4 [01:38:06]MH_SAM_APDU [01:38:06]CAPDU: 80 13 01 00 [01:38:06]Write to MH i2c: E2 08 00 17 01 80 13 01 00 00 00 00 00 95 [01:38:06]Write i2c OK [01:38:06]MH_I2C_Read... [01:38:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:38:06]Read from MH i2c: E2 [01:38:06]MH_I2C_Read... [01:38:06]Read from MH i2c: E2 0E 00 [01:38:06]MH_I2C_Read... [01:38:06]Read from MH i2c: E2 0E 00 17 01 00 09 00 01 8A BF 95 66 00 00 00 00 90 00 E5 [01:38:06]RAPDU: 09 00 01 8A BF 95 66 00 00 00 00 90 00 [01:38:06]wFMCommunicate OK [01:38:06]SAM_PROTO_GetShiftState done [01:38:06]FM_GetShiftState done [01:38:06]opened in 1721089930 [01:38:06]opened+sec_in_day 1721176330 [01:38:06]quantity*price = 14000 [01:38:06]sum+1 = 14001 [01:38:06]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 СНО: Общий режим Чек 15 16.07.2024 01:38 Смена: 498 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57261 ФПД: 23486341705730 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240716T013806&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57261&fm=23486341705730&tin=02508201610067®Number=0000000000091208&sum=14000 0 [01:38:07]StoreToDocumentArchive [01:38:07]shift 498 fd 57261 [01:38:07]save to /storage/0498/doc_00057261 [01:38:07]save last doc name /storage/0498/doc_00057261 to /storage/kkm_last_doc_name [01:38:07]save OK [01:38:07]Clear old archive folders... [01:38:07]ProcessDocumentItem done err = 0, tmpTLVsize=273 [01:38:07]tlvbuf is 0026F690 [01:38:07]SAM_PROTO_ClearQueue [01:38:07]wFMCommunicate request_size=4 [01:38:07]MH_SAM_APDU [01:38:07]CAPDU: 80 09 00 00 [01:38:07]Write to MH i2c: E2 08 00 24 01 80 09 00 00 00 00 00 00 97 [01:38:07]Write i2c OK [01:38:07]MH_I2C_Read... [01:38:07]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [01:38:07]Read from MH i2c: E2 [01:38:07]MH_I2C_Read... [01:38:07]Read from MH i2c: E2 03 00 [01:38:07]MH_I2C_Read... [01:38:07]Read from MH i2c: E2 03 00 24 01 00 90 00 99 [01:38:07]RAPDU: 90 00 [01:38:07]wFMCommunicate OK [01:38:07]SAM_PROTO_ClearQueue done [01:38:07]KKMCreateOFDPacket [01:38:07]OFDProtocolAddRootSTLVToBuf [01:38:07]FM_MakeSignedData [01:38:07]FM_MakeSignedData [01:38:07]SAM_PROTO_SignData [01:38:07]wFMCommunicate request_size=4 [01:38:07]MH_SAM_APDU [01:38:07]CAPDU: 80 0D 01 02 [01:38:07]Write to MH i2c: E2 08 00 25 01 80 0D 01 02 00 00 00 00 9F [01:38:07]Write i2c OK [01:38:07]MH_I2C_Read... [01:38:07]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [01:38:07]Read from MH i2c: E2 [01:38:07]MH_I2C_Read... [01:38:07]Read from MH i2c: E2 03 00 [01:38:07]MH_I2C_Read... [01:38:07]Read from MH i2c: E2 03 00 25 01 00 90 00 9A [01:38:07]RAPDU: 90 00 [01:38:07]wFMCommunicate OK [01:38:07]wFMCommunicate request_size=255 [01:38:07]MH_SAM_APDU [01:38:07]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 0F 00 00 00 F4 03 04 00 FE CE 95 66 0E 04 04 00 F2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 [01:38:07]Write to MH i2c: E2 02 01 26 01 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 0F 00 00 00 F4 03 04 00 FE CE 95 66 0E 04 04 00 F2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 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 58 [01:38:07]Write i2c OK [01:38:07]MH_I2C_Read... [01:38:07]Read from MH i2c: E2 [01:38:07]MH_I2C_Read... [01:38:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:38:07]Read from MH i2c: E2 03 00 [01:38:07]MH_I2C_Read... [01:38:07]Read from MH i2c: E2 03 00 26 01 00 90 00 9B [01:38:07]RAPDU: 90 00 [01:38:07]wFMCommunicate OK [01:38:07]wFMCommunicate request_size=32 [01:38:07]MH_SAM_APDU [01:38:07]CAPDU: 80 0D 02 02 1B 30 30 30 38 37 34 38 35 37 10 04 04 00 AD DF 00 00 35 04 06 00 15 5C 57 0D F0 02 [01:38:07]Write to MH i2c: E2 23 00 27 01 80 0D 02 02 1B 00 30 30 30 38 37 34 38 35 37 10 04 04 00 AD DF 00 00 35 04 06 00 15 5C 57 0D F0 02 00 00 59 [01:38:07]Write i2c OK [01:38:07]MH_I2C_Read... [01:38:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:38:07]Read from MH i2c: E2 [01:38:07]MH_I2C_Read... [01:38:07]Read from MH i2c: E2 03 00 [01:38:07]MH_I2C_Read... [01:38:07]Read from MH i2c: E2 03 00 27 01 00 90 00 9C [01:38:07]RAPDU: 90 00 [01:38:07]wFMCommunicate OK [01:38:07]wFMCommunicate request_size=4 [01:38:07]MH_SAM_APDU [01:38:07]CAPDU: 80 0D 03 02 [01:38:07]Write to MH i2c: E2 08 00 28 01 80 0D 03 02 00 00 00 00 A4 [01:38:07]Write i2c OK [01:38:07]MH_I2C_Read... [01:38:07]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [01:38:07]Read from MH i2c: E2 [01:38:07]MH_I2C_Read... [01:38:07]Read from MH i2c: E2 0B 00 [01:38:07]MH_I2C_Read... [01:38:07]Read from MH i2c: E2 0B 00 28 01 00 19 0D 00 3C BA AE E0 A7 90 00 F6 [01:38:07]RAPDU: 19 0D 00 3C BA AE E0 A7 90 00 [01:38:07]wFMCommunicate OK [01:38:07]SAM_PROTO_SignData done [01:38:07]FM_MakeSignedData done [01:38:07]CreateOFDProtocolMessage [01:38:07]wFMCommunicate request_size=4 [01:38:07]MH_SAM_APDU [01:38:07]CAPDU: 80 11 00 00 [01:38:07]Write to MH i2c: E2 08 00 29 01 80 11 00 00 00 00 00 00 A4 [01:38:07]Write i2c OK [01:38:07]MH_I2C_Read... [01:38:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:38:07]Read from MH i2c: E2 [01:38:07]MH_I2C_Read... [01:38:07]Read from MH i2c: E2 17 00 [01:38:07]MH_I2C_Read... [01:38:07]Read from MH i2c: E2 17 00 29 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 FE [01:38:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [01:38:07]wFMCommunicate OK [01:38:07]CreateOFDProtocolMessage done [01:38:07]OFDSenderStorePacket 57261 [01:38:07]StoreOFDPacket docnum=57261 [01:38:07]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 FB 92 1D 01 88 61 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 0F 00 00 00 F4 03 04 00 FE CE 95 66 0E 04 04 00 F2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 AD DF 00 00 35 04 06 00 15 5C 57 0D F0 02 19 0D 00 3C BA AE E0 A7 [01:38:07]CheckFolder [01:38:07]dirname=/storage/ofd_packets [01:38:07]CheckFolder done [01:38:07]ProducePacketName [01:38:07]name=ofd_packets/00057261 [01:38:07]NVStorageSaveData ofd_packets/00057261 [01:38:07]File name is /storage/ofd_packets/00057261 [01:38:07]Write 323 bytes [01:38:07]NVStorageSaveData done [01:38:07]OFDSenderStorePacket done [01:38:07]KKMCreateOFDPacket done [01:38:07]NVStorageSaveData kkm_last_timestamp [01:38:07]File name is /storage/kkm_last_timestamp [01:38:07]Write 4 bytes [01:38:07]NVStorageSaveData done [01:38:07]ExternCall_PrintAddStr [01:38:07]wPrintStart [01:38:07]Write to MH i2c: 01 00 00 2A 01 2B [01:38:07]Write i2c OK [01:38:07]MH_I2C_Read... [01:38:07]Read from MH i2c: 01 [01:38:07]MH_I2C_Read... [01:38:07]Read from MH i2c: 01 07 00 [01:38:07]MH_I2C_Read... [01:38:07]Read from MH i2c: 01 07 00 2A 01 00 00 00 00 00 FF 0F 40 [01:38:07]RasterBufferAndPrint [01:38:07]line Счет N : (3)129696 [01:38:07]line ИНН: 02508201610067 [01:38:07]line Контрольно-Кассовый Чек [01:38:07]line ПРОДАЖА [01:38:07]line Товар: 48743570 [01:38:07]line Сигареты Winston XStyle Blue [01:38:07]line 1.000 * 140.00 [01:38:07]line = 140.00 [01:38:07]line НДС 12% НСП 1% [01:38:07]line > о реализуемом товаре [01:38:07]line ИТОГО: 140.00 [01:38:07]line НСП 1% : 1.24 [01:38:07]line НДС 12% : 14.87 [01:38:07]line Наличными: 140.00 [01:38:07]line Безнал.: 0.00 [01:38:07]line Место: АЗС № 132 "Партнер Нефть" [01:38:07]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [01:38:07]line СНО: Общий режим [01:38:07]line Чек 15 16.07.2024 01:38 [01:38:07]line Смена: 498 ФФД: 1.0 [01:38:07]line ЗНМ: 0300000132 [01:38:07]line РНМ: 0000000000091208 [01:38:07]line Версия ККМ: 001 [01:38:07]line ФМ: 0000000000874857 [01:38:07]line ФД: 57261 [01:38:07]line ФПД: 23486341705730 [01:38:07]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240716T013806&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57261&fm=23486341705730&tin=02508201610067®Number=0000000000091208&sum=14000 [01:38:07]line 0 [01:38:07]written 0, free lines is 4095 [01:38:07]OFD Sender: Processing packet 57261 [packets to send 38, broken 37] [01:38:07]ProducePacketName [01:38:07]name=ofd_packets/00057261 [01:38:07]OFD Sender: To server: pG, [01:38:07]CommunicateWithHost lk.salyk.kg:30040 [01:38:07]ConnectInit lk.salyk.kg [01:38:07]Connected sock=10 [01:38: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 25 01 00 00 FB 92 1D 01 88 61 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 0F 00 00 00 F4 03 04 00 FE CE 95 66 0E 04 04 00 F2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 AD DF 00 00 35 04 06 00 15 5C 57 0D F0 02 19 0D 00 3C BA AE E0 A7 [01:38:08]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 21 47 00 8F 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 AD DF 00 00 F4 03 04 00 4A 75 95 66 B6 04 01 00 00 EA 02 DD 20 22 6E 00 5A [01:38:08]CommunicateWithHost err = 0 [01:38:08]CheckOFDResponse [01:38:08]1017 (14) - 77093643461234 [01:38:08]1041 (16) - 0000000000874857 [01:38:08]1040 (4) - 57261 [01:38:08]1012 (4) - 15.07.2024 19:15 [01:38:08]1206 (1) - 0 [01:38:08]OFD Sender: Remove packet 57261 [01:38:08]ProducePacketName [01:38:08]name=ofd_packets/00057261 [01:38:08]NVStorageDeleteData [01:38:08]Write to MH i2c: 01 00 00 52 01 53 [01:38:08]Write i2c OK [01:38:08]MH_I2C_Read... [01:38:08]Read from MH i2c: 01 [01:38:08]MH_I2C_Read... [01:38:08]Read from MH i2c: 01 07 00 [01:38:08]MH_I2C_Read... [01:38:08]Read from MH i2c: 01 07 00 52 01 00 00 00 00 00 00 0D 67 [01:38:08]RasterBufferAndPrint [01:38:08]line [01:38:08]line [01:38:08]line [01:38:08]line [01:38:08]line [01:38:08]written 0, free lines is 3334 [01:38:08]MH_Cut [01:38:08]Write to MH i2c: D1 01 00 59 01 01 2C [01:38:08]Write i2c OK [01:38:08]MH_I2C_Read... [01:38:08]Read from MH i2c: D1 [01:38:08]MH_I2C_Read... [01:38:08]Read from MH i2c: D1 01 00 [01:38:08]MH_I2C_Read... [01:38:08]Read from MH i2c: D1 01 00 59 01 00 2B [01:38:08]Write to MH i2c: 01 00 00 5A 01 5B [01:38:08]Write i2c OK [01:38:08]MH_I2C_Read... [01:38:08]OFD Sender: No OFD packet to send [01:38:08]*** Cut start [01:38:08]*** Partial cut [01:38:08]*** CUTSNS_PIN = 1 [01:38:09]*** CUTSNS_PIN = 0 [01:38:09]*** Brake cut motor [01:38:09]Read from MH i2c: 01 [01:38:09]MH_I2C_Read... [01:38:09]*** Stop cut motor [01:38:09]*** Cut end [01:38:09]Read from MH i2c: 01 07 00 [01:38:09]MH_I2C_Read... [01:38:09]Read from MH i2c: 01 07 00 5A 01 00 00 00 00 00 FF 0F 70 [01:38:09]process_action close_receipt done [01:38:09]requested_data is exist [01:38:09]produce_requested_data [01:38:09]requested_item fm.sn is exist - process it [01:38:09]wFMCommunicate request_size=4 [01:38:09]MH_SAM_APDU [01:38:09]CAPDU: 80 11 00 00 [01:38:09]Write to MH i2c: E2 08 00 5B 01 80 11 00 00 00 00 00 00 D6 [01:38:09]Write i2c OK [01:38:09]MH_I2C_Read... [01:38:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:38:09]Read from MH i2c: E2 [01:38:09]MH_I2C_Read... [01:38:09]Read from MH i2c: E2 17 00 [01:38:09]MH_I2C_Read... [01:38:09]Read from MH i2c: E2 17 00 5B 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 30 [01:38:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [01:38:09]wFMCommunicate OK [01:38:09]requested_item fd.num is exist - process it [01:38:09]SAM_PROTO_GetFieldsCounters [01:38:09]wFMCommunicate request_size=4 [01:38:09]MH_SAM_APDU [01:38:09]CAPDU: 80 13 00 00 [01:38:09]Write to MH i2c: E2 08 00 5C 01 80 13 00 00 00 00 00 00 D9 [01:38:09]Write i2c OK [01:38:09]MH_I2C_Read... [01:38:09]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [01:38:09]Read from MH i2c: E2 [01:38:09]MH_I2C_Read... [01:38:09]Read from MH i2c: E2 62 00 [01:38:09]MH_I2C_Read... [01:38:09]Read from MH i2c: E2 62 00 5C 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 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 AD DF 00 00 0E 04 04 00 F2 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 A8 [01:38: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 AD DF 00 00 0E 04 04 00 F2 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 [01:38:09]wFMCommunicate OK [01:38:09]SAM_PROTO_GetFieldsCounters done [01:38:09]requested_item shift.num is exist - process it [01:38:09]requested_item shift.opened is exist - process it [01:38:09]req_shift_opened [01:38:09]FM_GetShiftState [01:38:09]SAM_PROTO_GetShiftState [01:38:09]wFMCommunicate request_size=4 [01:38:09]MH_SAM_APDU [01:38:09]CAPDU: 80 13 01 00 [01:38:09]Write to MH i2c: E2 08 00 5D 01 80 13 01 00 00 00 00 00 DB [01:38:09]Write i2c OK [01:38:09]MH_I2C_Read... [01:38:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:38:09]Read from MH i2c: E2 [01:38:09]MH_I2C_Read... [01:38:09]Read from MH i2c: E2 0E 00 [01:38:09]MH_I2C_Read... [01:38:09]Read from MH i2c: E2 0E 00 5D 01 00 09 00 01 8A BF 95 66 00 00 00 00 90 00 2B [01:38:09]RAPDU: 09 00 01 8A BF 95 66 00 00 00 00 90 00 [01:38:09]wFMCommunicate OK [01:38:09]SAM_PROTO_GetShiftState done [01:38:09]FM_GetShiftState done [01:38:09]req_shift_opened done [01:38:09]requested_item shift.open_date is exist - process it [01:38:09]req_shift_open_date [01:38:09]req_shift_open_date done [01:38:09]requested_item shift.sale.total is exist - process it [01:38:09]SAM_PROTO_GetShiftData [01:38:09]wFMCommunicate request_size=4 [01:38:09]MH_SAM_APDU [01:38:09]CAPDU: 80 13 02 00 [01:38:09]Write to MH i2c: E2 08 00 5E 01 80 13 02 00 00 00 00 00 DD [01:38:09]Write i2c OK [01:38:09]MH_I2C_Read... [01:38:10]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [01:38:10]Read from MH i2c: E2 [01:38:10]MH_I2C_Read... [01:38:10]Read from MH i2c: E2 FD 00 [01:38:10]MH_I2C_Read... [01:38:10]Read from MH i2c: E2 FD 00 5E 01 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 F8 83 06 70 04 03 00 50 D0 02 72 04 03 00 A8 B3 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 20 B1 EF 03 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 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 5D [01:38:10]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 F8 83 06 70 04 03 00 50 D0 02 72 04 03 00 A8 B3 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 20 B1 EF 03 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 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:38:10]wFMCommunicate OK [01:38:10]wFMCommunicate request_size=4 [01:38:10]MH_SAM_APDU [01:38:10]CAPDU: 80 17 00 00 [01:38:10]Write to MH i2c: E2 08 00 5F 01 80 17 00 00 00 00 00 00 E0 [01:38:10]Write i2c OK [01:38:10]MH_I2C_Read... [01:38:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [01:38:10]Read from MH i2c: E2 [01:38:10]MH_I2C_Read... [01:38:10]Read from MH i2c: E2 FD 00 [01:38:10]MH_I2C_Read... [01:38:10]Read from MH i2c: E2 FD 00 5F 01 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 F2 [01:38:10]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:38:10]wFMCommunicate OK [01:38:10]wFMCommunicate request_size=4 [01:38:10]MH_SAM_APDU [01:38:10]CAPDU: 80 17 00 00 [01:38:10]Write to MH i2c: E2 08 00 60 01 80 17 00 00 00 00 00 00 E1 [01:38:10]Write i2c OK [01:38:10]MH_I2C_Read... [01:38:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [01:38:10]Read from MH i2c: E2 [01:38:10]MH_I2C_Read... [01:38:10]Read from MH i2c: E2 FD 00 [01:38:10]MH_I2C_Read... [01:38:10]Read from MH i2c: E2 FD 00 60 01 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 A5 [01:38:10]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:38:10]wFMCommunicate OK [01:38:10]wFMCommunicate request_size=4 [01:38:10]MH_SAM_APDU [01:38:10]CAPDU: 80 17 00 00 [01:38:10]Write to MH i2c: E2 08 00 61 01 80 17 00 00 00 00 00 00 E2 [01:38:10]Write i2c OK [01:38:10]MH_I2C_Read... [01:38:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [01:38:11]Read from MH i2c: E2 [01:38:11]MH_I2C_Read... [01:38:11]Read from MH i2c: E2 FD 00 [01:38:11]MH_I2C_Read... [01:38:11]Read from MH i2c: E2 FD 00 61 01 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 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 57 [01:38:11]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:38:11]wFMCommunicate OK [01:38:11]wFMCommunicate request_size=4 [01:38:11]MH_SAM_APDU [01:38:11]CAPDU: 80 17 00 00 [01:38:11]Write to MH i2c: E2 08 00 62 01 80 17 00 00 00 00 00 00 E3 [01:38:11]Write i2c OK [01:38:11]MH_I2C_Read... [01:38:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [01:38:11]Read from MH i2c: E2 [01:38:11]MH_I2C_Read... [01:38:11]Read from MH i2c: E2 CA 00 [01:38:11]MH_I2C_Read... [01:38:11]Read from MH i2c: E2 CA 00 62 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 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 C8 [01:38: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 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:38:11]wFMCommunicate OK [01:38:11]SAM_PROTO_GetShiftData done [01:38:11]requested_item shift.sale.total_cash is exist - process it [01:38:11]requested_item shift.sale_refund.total is exist - process it [01:38:11]requested_item shift.sale_refund.total_cash is exist - process it [01:38:11]produce_requested_data done [01:38:11]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57261,"shift.num":498,"shift.opened":1,"shift.open_date":1721089930,"shift.sale.total":4270.00,"shift.sale.total_cash":1844.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [01:38:11]process_action_free close_receipt [01:38:11]json_value_free [01:38:11]json_value_free done [01:38:11]process_json_proto returns [01:38:11]Send response to host [01:38:11]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57261,"shift.num":498,"shift.opened":1,"shift.open_date":1721089930,"shift.sale.total":4270.00,"shift.sale.total_cash":1844.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [01:38:11]free response buf [01:38:11]execute_script done [01:38:11]execute_script returns [01:38:11]free content buf [01:38:11]Sock 9.Close socket [01:38:11]Sock 9.Thread stoped [01:38:13]OFD Sender: No OFD packet to send [01:38:18]OFD Sender: No OFD packet to send [01:38:23]OFD Sender: No OFD packet to send [01:38:28]OFD Sender: No OFD packet to send [01:38:33]OFD Sender: No OFD packet to send [01:38:36]accept exits with 8 [01:38:36]New connection [01:38:36]New thread 3066998116 created [01:38:36]Thread 3066854756 joined [01:38:36]Waiting for new connection... [01:38:36] Sock 8.Parse request [01:38:36]Sock 8.Check first char [01:38:36]Sock 8.First char is OK [01:38:36]request: POST /json_proto HTTP/1.0 [01:38:36]Method: POST [01:38:36]URL: /json_proto [01:38:36]Method is POST - this is cgi request [01:38:36]url: /json_proto [01:38:36]query_string will be loaded in cgi processing [01:38:36]execute_cgi json_proto POST (null) [01:38:36]execute_cgi path=json_proto method=POST [01:38:36]POST find Content-Length [01:38:36]Host: 172.17.39.4:8080 [01:38:36]Content-Length: 810 [01:38:36]Content-Type: application/json [01:38:36] [01:38:36]POST finish read [01:38:36]Found Content-Length = 810 [01:38:36]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129697", "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" ] } } [01:38:36]execute_script... [01:38: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)129697", "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" ] } } [01:38:36]POST & json_proto [01:38:36]process_json_proto [01:38:36]json parsed OK: [01:38:36]protocol is kg_v1.0 [01:38:36]action value=close_receipt [01:38:36]process_action close_receipt [01:38:36]cmd_close_receipt [01:38:36]MH_GetDate [01:38:36]Write to MH i2c: F0 00 00 63 01 53 [01:38:36]Write i2c OK [01:38:36]MH_I2C_Read... [01:38:36]Read from MH i2c: F0 [01:38:36]MH_I2C_Read... [01:38:36]Read from MH i2c: F0 09 00 [01:38:36]MH_I2C_Read... [01:38:36]Read from MH i2c: F0 09 00 63 01 00 1C CF 95 66 2D 25 5D 64 55 [01:38:36]GetLastDocTimeStamp 1721093886 [01:38:36]current date 1721093916 [01:38:36]FM_GetShiftState [01:38:36]SAM_PROTO_GetShiftState [01:38:36]wFMCommunicate request_size=4 [01:38:36]MH_SAM_APDU [01:38:36]CAPDU: 80 13 01 00 [01:38:36]Write to MH i2c: E2 08 00 64 01 80 13 01 00 00 00 00 00 E2 [01:38:36]Write i2c OK [01:38:36]MH_I2C_Read... [01:38:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:38:36]Read from MH i2c: E2 [01:38:36]MH_I2C_Read... [01:38:36]Read from MH i2c: E2 0E 00 [01:38:36]MH_I2C_Read... [01:38:36]Read from MH i2c: E2 0E 00 64 01 00 09 00 01 8A BF 95 66 00 00 00 00 90 00 32 [01:38:36]RAPDU: 09 00 01 8A BF 95 66 00 00 00 00 90 00 [01:38:36]wFMCommunicate OK [01:38:36]SAM_PROTO_GetShiftState done [01:38:36]FM_GetShiftState done [01:38:36]opened in 1721089930 [01:38:36]opened+sec_in_day 1721176330 [01:38:36]quantity*price = 10700 [01:38:36]sum+1 = 10701 [01:38:36]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 СНО: Общий режим Чек 16 16.07.2024 01:38 Смена: 498 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57262 ФПД: 1257730832384 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240716T013836&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57262&fm=1257730832384&tin=02508201610067®Number=0000000000091208&sum=10700 0 [01:38:37]StoreToDocumentArchive [01:38:37]shift 498 fd 57262 [01:38:37]save to /storage/0498/doc_00057262 [01:38:37]save last doc name /storage/0498/doc_00057262 to /storage/kkm_last_doc_name [01:38:37]save OK [01:38:37]Clear old archive folders... [01:38:37]ProcessDocumentItem done err = 0, tmpTLVsize=298 [01:38:37]tlvbuf is 002DC150 [01:38:37]SAM_PROTO_ClearQueue [01:38:37]wFMCommunicate request_size=4 [01:38:37]MH_SAM_APDU [01:38:37]CAPDU: 80 09 00 00 [01:38:37]Write to MH i2c: E2 08 00 71 01 80 09 00 00 00 00 00 00 E4 [01:38:37]Write i2c OK [01:38:37]MH_I2C_Read... [01:38:37]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [01:38:37]Read from MH i2c: E2 [01:38:37]MH_I2C_Read... [01:38:37]Read from MH i2c: E2 03 00 [01:38:37]MH_I2C_Read... [01:38:37]Read from MH i2c: E2 03 00 71 01 00 90 00 E6 [01:38:37]RAPDU: 90 00 [01:38:37]wFMCommunicate OK [01:38:37]SAM_PROTO_ClearQueue done [01:38:37]KKMCreateOFDPacket [01:38:37]OFDProtocolAddRootSTLVToBuf [01:38:37]FM_MakeSignedData [01:38:37]FM_MakeSignedData [01:38:37]SAM_PROTO_SignData [01:38:37]wFMCommunicate request_size=4 [01:38:37]MH_SAM_APDU [01:38:37]CAPDU: 80 0D 01 02 [01:38:37]Write to MH i2c: E2 08 00 72 01 80 0D 01 02 00 00 00 00 EC [01:38:37]Write i2c OK [01:38:37]MH_I2C_Read... [01:38:37]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [01:38:37]Read from MH i2c: E2 [01:38:37]MH_I2C_Read... [01:38:37]Read from MH i2c: E2 03 00 [01:38:37]MH_I2C_Read... [01:38:37]Read from MH i2c: E2 03 00 72 01 00 90 00 E7 [01:38:37]RAPDU: 90 00 [01:38:37]wFMCommunicate OK [01:38:37]wFMCommunicate request_size=255 [01:38:37]MH_SAM_APDU [01:38:37]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 10 00 00 00 F4 03 04 00 1C CF 95 66 0E 04 04 00 F2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 [01:38:37]Write to MH i2c: E2 02 01 73 01 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 10 00 00 00 F4 03 04 00 1C CF 95 66 0E 04 04 00 F2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 00 00 DA [01:38:37]Write i2c OK [01:38:37]MH_I2C_Read... [01:38:37]Read from MH i2c: E2 [01:38:37]MH_I2C_Read... [01:38:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:38:37]Read from MH i2c: E2 03 00 [01:38:37]MH_I2C_Read... [01:38:37]Read from MH i2c: E2 03 00 73 01 00 90 00 E8 [01:38:37]RAPDU: 90 00 [01:38:37]wFMCommunicate OK [01:38:37]wFMCommunicate request_size=57 [01:38:37]MH_SAM_APDU [01:38:37]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 AE DF 00 00 35 04 06 00 01 24 D6 99 78 00 [01:38:37]Write to MH i2c: E2 3C 00 74 01 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 AE DF 00 00 35 04 06 00 01 24 D6 99 78 00 00 00 47 [01:38:37]Write i2c OK [01:38:37]MH_I2C_Read... [01:38:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:38:37]Read from MH i2c: E2 [01:38:37]MH_I2C_Read... [01:38:37]Read from MH i2c: E2 03 00 [01:38:37]MH_I2C_Read... [01:38:37]Read from MH i2c: E2 03 00 74 01 00 90 00 E9 [01:38:37]RAPDU: 90 00 [01:38:37]wFMCommunicate OK [01:38:37]wFMCommunicate request_size=4 [01:38:37]MH_SAM_APDU [01:38:37]CAPDU: 80 0D 03 02 [01:38:37]Write to MH i2c: E2 08 00 75 01 80 0D 03 02 00 00 00 00 F1 [01:38:37]Write i2c OK [01:38:37]MH_I2C_Read... [01:38:37]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [01:38:37]Read from MH i2c: E2 [01:38:37]MH_I2C_Read... [01:38:37]Read from MH i2c: E2 0B 00 [01:38:37]MH_I2C_Read... [01:38:37]Read from MH i2c: E2 0B 00 75 01 00 9E 1C CA B1 E8 71 67 4B 90 00 32 [01:38:37]RAPDU: 9E 1C CA B1 E8 71 67 4B 90 00 [01:38:37]wFMCommunicate OK [01:38:37]SAM_PROTO_SignData done [01:38:37]FM_MakeSignedData done [01:38:37]CreateOFDProtocolMessage [01:38:37]wFMCommunicate request_size=4 [01:38:37]MH_SAM_APDU [01:38:37]CAPDU: 80 11 00 00 [01:38:37]Write to MH i2c: E2 08 00 76 01 80 11 00 00 00 00 00 00 F1 [01:38:37]Write i2c OK [01:38:37]MH_I2C_Read... [01:38:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:38:37]Read from MH i2c: E2 [01:38:37]MH_I2C_Read... [01:38:37]Read from MH i2c: E2 17 00 [01:38:37]MH_I2C_Read... [01:38:37]Read from MH i2c: E2 17 00 76 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 4B [01:38:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [01:38:37]wFMCommunicate OK [01:38:37]CreateOFDProtocolMessage done [01:38:37]OFDSenderStorePacket 57262 [01:38:37]StoreOFDPacket docnum=57262 [01:38: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 3E 01 00 00 0D 01 36 01 C6 08 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 10 00 00 00 F4 03 04 00 1C CF 95 66 0E 04 04 00 F2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 AE DF 00 00 35 04 06 00 01 24 D6 99 78 00 9E 1C CA B1 E8 71 67 4B [01:38:37]CheckFolder [01:38:37]dirname=/storage/ofd_packets [01:38:37]CheckFolder done [01:38:37]ProducePacketName [01:38:37]name=ofd_packets/00057262 [01:38:37]NVStorageSaveData ofd_packets/00057262 [01:38:37]File name is /storage/ofd_packets/00057262 [01:38:37]Write 348 bytes [01:38:37]NVStorageSaveData done [01:38:37]OFDSenderStorePacket done [01:38:37]KKMCreateOFDPacket done [01:38:37]NVStorageSaveData kkm_last_timestamp [01:38:37]File name is /storage/kkm_last_timestamp [01:38:37]Write 4 bytes [01:38:37]NVStorageSaveData done [01:38:37]ExternCall_PrintAddStr [01:38:37]wPrintStart [01:38:37]Write to MH i2c: 01 00 00 77 01 78 [01:38:37]Write i2c OK [01:38:37]MH_I2C_Read... [01:38:37]Read from MH i2c: 01 [01:38:37]MH_I2C_Read... [01:38:37]Read from MH i2c: 01 07 00 [01:38:37]MH_I2C_Read... [01:38:37]Read from MH i2c: 01 07 00 77 01 00 00 00 00 00 FF 0F 8D [01:38:37]RasterBufferAndPrint [01:38:37]line Счет N : (3)129697 [01:38:37]line ИНН: 02508201610067 [01:38:37]line Контрольно-Кассовый Чек [01:38:37]line ПРОДАЖА [01:38:37]line Товар: 5449000189356 [01:38:37]line Холодный чай Fuse манго ананас 1л [01:38:37]line 1.000 * 107.00 [01:38:37]line = 107.00 [01:38:37]line НДС 12% НСП 1% [01:38:37]line > о реализуемом товаре [01:38:37]line ИТОГО: 107.00 [01:38:37]line НСП 1% : 0.95 [01:38:37]line НДС 12% : 11.36 [01:38:37]line Наличными: 107.00 [01:38:37]line Безнал.: 0.00 [01:38:37]line Место: АЗС № 132 "Партнер Нефть" [01:38:37]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [01:38:37]line СНО: Общий режим [01:38:37]line Чек 16 16.07.2024 01:38 [01:38:37]line Смена: 498 ФФД: 1.0 [01:38:37]line ЗНМ: 0300000132 [01:38:37]line РНМ: 0000000000091208 [01:38:37]line Версия ККМ: 001 [01:38:37]line ФМ: 0000000000874857 [01:38:37]line ФД: 57262 [01:38:37]line ФПД: 1257730832384 [01:38:37]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240716T013836&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57262&fm=1257730832384&tin=02508201610067®Number=0000000000091208&sum=10700 [01:38:37]line 0 [01:38:37]written 0, free lines is 4095 [01:38:37]OFD Sender: Processing packet 57262 [packets to send 38, broken 37] [01:38:37]ProducePacketName [01:38:37]name=ofd_packets/00057262 [01:38:37]OFD Sender: To server: pG, [01:38:37]CommunicateWithHost lk.salyk.kg:30040 [01:38:37]ConnectInit lk.salyk.kg [01:38:38]Connected sock=9 [01:38: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 3E 01 00 00 0D 01 36 01 C6 08 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 10 00 00 00 F4 03 04 00 1C CF 95 66 0E 04 04 00 F2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 AE DF 00 00 35 04 06 00 01 24 D6 99 78 00 9E 1C CA B1 E8 71 67 4B [01:38: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 A9 3D 47 00 36 5A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 AE DF 00 00 F4 03 04 00 68 75 95 66 B6 04 01 00 00 F1 A3 75 9A 56 15 EB 60 [01:38:38]CommunicateWithHost err = 0 [01:38:38]CheckOFDResponse [01:38:38]1017 (14) - 77093643461234 [01:38:38]1041 (16) - 0000000000874857 [01:38:38]1040 (4) - 57262 [01:38:38]1012 (4) - 15.07.2024 19:15 [01:38:38]1206 (1) - 0 [01:38:38]OFD Sender: Remove packet 57262 [01:38:38]ProducePacketName [01:38:38]name=ofd_packets/00057262 [01:38:38]NVStorageDeleteData [01:38:38]Write to MH i2c: 01 00 00 A0 01 A1 [01:38:38]Write i2c OK [01:38:38]MH_I2C_Read... [01:38:38]Read from MH i2c: 01 [01:38:38]MH_I2C_Read... [01:38:38]Read from MH i2c: 01 07 00 [01:38:38]MH_I2C_Read... [01:38:38]Read from MH i2c: 01 07 00 A0 01 00 00 00 00 00 EB 0C 9F [01:38:38]RasterBufferAndPrint [01:38:38]line [01:38:38]line [01:38:38]line [01:38:38]line [01:38:38]line [01:38:38]written 0, free lines is 3313 [01:38:38]MH_Cut [01:38:38]Write to MH i2c: D1 01 00 A7 01 01 7A [01:38:38]Write i2c OK [01:38:38]MH_I2C_Read... [01:38:38]Read from MH i2c: D1 [01:38:38]MH_I2C_Read... [01:38:38]Read from MH i2c: D1 01 00 [01:38:38]MH_I2C_Read... [01:38:38]Read from MH i2c: D1 01 00 A7 01 00 79 [01:38:38]Write to MH i2c: 01 00 00 A8 01 A9 [01:38:38]Write i2c OK [01:38:38]MH_I2C_Read... [01:38:38]OFD Sender: No OFD packet to send [01:38:39]*** Cut start [01:38:39]*** Partial cut [01:38:39]*** CUTSNS_PIN = 1 [01:38:39]*** CUTSNS_PIN = 0 [01:38:39]*** Brake cut motor [01:38:39]Read from MH i2c: 01 [01:38:39]MH_I2C_Read... [01:38:39]*** Stop cut motor [01:38:39]*** Cut end [01:38:39]Read from MH i2c: 01 07 00 [01:38:39]MH_I2C_Read... [01:38:39]Read from MH i2c: 01 07 00 A8 01 00 00 00 00 00 FF 0F BE [01:38:39]process_action close_receipt done [01:38:39]requested_data is exist [01:38:39]produce_requested_data [01:38:39]requested_item fm.sn is exist - process it [01:38:39]wFMCommunicate request_size=4 [01:38:39]MH_SAM_APDU [01:38:39]CAPDU: 80 11 00 00 [01:38:39]Write to MH i2c: E2 08 00 A9 01 80 11 00 00 00 00 00 00 24 [01:38:39]Write i2c OK [01:38:39]MH_I2C_Read... [01:38:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:38:39]Read from MH i2c: E2 [01:38:39]MH_I2C_Read... [01:38:39]Read from MH i2c: E2 17 00 [01:38:39]MH_I2C_Read... [01:38:39]Read from MH i2c: E2 17 00 A9 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 7E [01: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 [01:38:39]wFMCommunicate OK [01:38:39]requested_item fd.num is exist - process it [01:38:39]SAM_PROTO_GetFieldsCounters [01:38:39]wFMCommunicate request_size=4 [01:38:39]MH_SAM_APDU [01:38:39]CAPDU: 80 13 00 00 [01:38:39]Write to MH i2c: E2 08 00 AA 01 80 13 00 00 00 00 00 00 27 [01:38:39]Write i2c OK [01:38:39]MH_I2C_Read... [01:38:39]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [01:38:39]Read from MH i2c: E2 [01:38:39]MH_I2C_Read... [01:38:39]Read from MH i2c: E2 62 00 [01:38:39]MH_I2C_Read... [01:38:39]Read from MH i2c: E2 62 00 AA 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 AE DF 00 00 0E 04 04 00 F2 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 FA [01:38: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 AE DF 00 00 0E 04 04 00 F2 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 [01:38:39]wFMCommunicate OK [01:38:39]SAM_PROTO_GetFieldsCounters done [01:38:39]requested_item shift.num is exist - process it [01:38:39]requested_item shift.opened is exist - process it [01:38:39]req_shift_opened [01:38:39]FM_GetShiftState [01:38:39]SAM_PROTO_GetShiftState [01:38:39]wFMCommunicate request_size=4 [01:38:39]MH_SAM_APDU [01:38:39]CAPDU: 80 13 01 00 [01:38:39]Write to MH i2c: E2 08 00 AB 01 80 13 01 00 00 00 00 00 29 [01:38:39]Write i2c OK [01:38:39]MH_I2C_Read... [01:38:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:38:39]Read from MH i2c: E2 [01:38:39]MH_I2C_Read... [01:38:39]Read from MH i2c: E2 0E 00 [01:38:39]MH_I2C_Read... [01:38:39]Read from MH i2c: E2 0E 00 AB 01 00 09 00 01 8A BF 95 66 00 00 00 00 90 00 79 [01:38:39]RAPDU: 09 00 01 8A BF 95 66 00 00 00 00 90 00 [01:38:39]wFMCommunicate OK [01:38:39]SAM_PROTO_GetShiftState done [01:38:39]FM_GetShiftState done [01:38:39]req_shift_opened done [01:38:39]requested_item shift.open_date is exist - process it [01:38:39]req_shift_open_date [01:38:39]req_shift_open_date done [01:38:39]requested_item shift.sale.total is exist - process it [01:38:39]SAM_PROTO_GetShiftData [01:38:39]wFMCommunicate request_size=4 [01:38:39]MH_SAM_APDU [01:38:39]CAPDU: 80 13 02 00 [01:38:39]Write to MH i2c: E2 08 00 AC 01 80 13 02 00 00 00 00 00 2B [01:38:39]Write i2c OK [01:38:39]MH_I2C_Read... [01:38:40]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [01:38:40]Read from MH i2c: E2 [01:38:40]MH_I2C_Read... [01:38:40]Read from MH i2c: E2 FD 00 [01:38:40]MH_I2C_Read... [01:38:40]Read from MH i2c: E2 FD 00 AC 01 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 C4 AD 06 70 04 03 00 1C FA 02 72 04 03 00 A8 B3 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 90 B5 EF 03 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 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 6D [01:38:40]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 C4 AD 06 70 04 03 00 1C FA 02 72 04 03 00 A8 B3 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 90 B5 EF 03 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 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 [01:38:40]wFMCommunicate OK [01:38:40]wFMCommunicate request_size=4 [01:38:40]MH_SAM_APDU [01:38:40]CAPDU: 80 17 00 00 [01:38:40]Write to MH i2c: E2 08 00 AD 01 80 17 00 00 00 00 00 00 2E [01:38:40]Write i2c OK [01:38:40]MH_I2C_Read... [01:38:40]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [01:38:40]Read from MH i2c: E2 [01:38:40]MH_I2C_Read... [01:38:40]Read from MH i2c: E2 FD 00 [01:38:40]MH_I2C_Read... [01:38:40]Read from MH i2c: E2 FD 00 AD 01 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 40 [01:38:40]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:38:40]wFMCommunicate OK [01:38:40]wFMCommunicate request_size=4 [01:38:40]MH_SAM_APDU [01:38:40]CAPDU: 80 17 00 00 [01:38:40]Write to MH i2c: E2 08 00 AE 01 80 17 00 00 00 00 00 00 2F [01:38:40]Write i2c OK [01:38:40]MH_I2C_Read... [01:38:40]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [01:38:40]Read from MH i2c: E2 [01:38:40]MH_I2C_Read... [01:38:40]Read from MH i2c: E2 FD 00 [01:38:40]MH_I2C_Read... [01:38:40]Read from MH i2c: E2 FD 00 AE 01 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 F3 [01:38:40]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:38:41]wFMCommunicate OK [01:38:41]wFMCommunicate request_size=4 [01:38:41]MH_SAM_APDU [01:38:41]CAPDU: 80 17 00 00 [01:38:41]Write to MH i2c: E2 08 00 AF 01 80 17 00 00 00 00 00 00 30 [01:38:41]Write i2c OK [01:38:41]MH_I2C_Read... [01:38:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [01:38:41]Read from MH i2c: E2 [01:38:41]MH_I2C_Read... [01:38:41]Read from MH i2c: E2 FD 00 [01:38:41]MH_I2C_Read... [01:38:41]Read from MH i2c: E2 FD 00 AF 01 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 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 A5 [01:38:41]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:38:41]wFMCommunicate OK [01:38:41]wFMCommunicate request_size=4 [01:38:41]MH_SAM_APDU [01:38:41]CAPDU: 80 17 00 00 [01:38:41]Write to MH i2c: E2 08 00 B0 01 80 17 00 00 00 00 00 00 31 [01:38:41]Write i2c OK [01:38:41]MH_I2C_Read... [01:38:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [01:38:41]Read from MH i2c: E2 [01:38:41]MH_I2C_Read... [01:38:41]Read from MH i2c: E2 CA 00 [01:38:41]MH_I2C_Read... [01:38:41]Read from MH i2c: E2 CA 00 B0 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 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 [01:38:41]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:38:41]wFMCommunicate OK [01:38:41]SAM_PROTO_GetShiftData done [01:38:41]requested_item shift.sale.total_cash is exist - process it [01:38:41]requested_item shift.sale_refund.total is exist - process it [01:38:41]requested_item shift.sale_refund.total_cash is exist - process it [01:38:41]produce_requested_data done [01:38:41]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57262,"shift.num":498,"shift.opened":1,"shift.open_date":1721089930,"shift.sale.total":4377.00,"shift.sale.total_cash":1951.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [01:38:41]process_action_free close_receipt [01:38:41]json_value_free [01:38:41]json_value_free done [01:38:41]process_json_proto returns [01:38:41]Send response to host [01:38:41]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57262,"shift.num":498,"shift.opened":1,"shift.open_date":1721089930,"shift.sale.total":4377.00,"shift.sale.total_cash":1951.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [01:38:41]free response buf [01:38:41]execute_script done [01:38:41]execute_script returns [01:38:41]free content buf [01:38:41]Sock 8.Close socket [01:38:41]Sock 8.Thread stoped [01:38:43]OFD Sender: No OFD packet to send [01:38:48]OFD Sender: No OFD packet to send [01:38:53]OFD Sender: No OFD packet to send [01:38:58]OFD Sender: No OFD packet to send [01:39:03]OFD Sender: No OFD packet to send [01:39:08]OFD Sender: No OFD packet to send [01:39:13]OFD Sender: No OFD packet to send [01:39:18]OFD Sender: No OFD packet to send [01:39:23]OFD Sender: No OFD packet to send [01:39:28]OFD Sender: No OFD packet to send [01:39:33]OFD Sender: No OFD packet to send [01:39:38]OFD Sender: No OFD packet to send [01:39:43]OFD Sender: No OFD packet to send [01:39:48]OFD Sender: No OFD packet to send [01:39:53]OFD Sender: No OFD packet to send [01:39:58]OFD Sender: No OFD packet to send [01:40:03]OFD Sender: No OFD packet to send [01:40:08]OFD Sender: No OFD packet to send [01:40:13]OFD Sender: No OFD packet to send [01:40:18]OFD Sender: No OFD packet to send [01:40:23]OFD Sender: No OFD packet to send [01:40:28]OFD Sender: No OFD packet to send [01:40:33]OFD Sender: No OFD packet to send [01:40:38]OFD Sender: No OFD packet to send [01:40:43]OFD Sender: No OFD packet to send [01:40:48]OFD Sender: No OFD packet to send [01:40:53]OFD Sender: No OFD packet to send [01:40:58]OFD Sender: No OFD packet to send [01:41:03]OFD Sender: No OFD packet to send [01:41:08]OFD Sender: No OFD packet to send [01:41:13]OFD Sender: No OFD packet to send [01:41:18]OFD Sender: No OFD packet to send [01:41:23]OFD Sender: No OFD packet to send [01:41:28]OFD Sender: No OFD packet to send [01:41:33]OFD Sender: No OFD packet to send [01:41:38]OFD Sender: No OFD packet to send [01:41:43]OFD Sender: No OFD packet to send [01:41:48]OFD Sender: No OFD packet to send [01:41:53]OFD Sender: No OFD packet to send [01:41:58]OFD Sender: No OFD packet to send [01:42:03]OFD Sender: No OFD packet to send [01:42:08]OFD Sender: No OFD packet to send [01:42:13]OFD Sender: No OFD packet to send [01:42:18]OFD Sender: No OFD packet to send [01:42:24]OFD Sender: No OFD packet to send [01:42:29]OFD Sender: No OFD packet to send [01:42:34]OFD Sender: No OFD packet to send [01:42:39]OFD Sender: No OFD packet to send [01:42:44]OFD Sender: No OFD packet to send [01:42:49]OFD Sender: No OFD packet to send [01:42:54]OFD Sender: No OFD packet to send [01:42:59]OFD Sender: No OFD packet to send [01:43:04]OFD Sender: No OFD packet to send [01:43:09]OFD Sender: No OFD packet to send [01:43:14]OFD Sender: No OFD packet to send [01:43:19]OFD Sender: No OFD packet to send [01:43:24]OFD Sender: No OFD packet to send [01:43:29]OFD Sender: No OFD packet to send [01:43:34]OFD Sender: No OFD packet to send [01:43:39]OFD Sender: No OFD packet to send [01:43:44]OFD Sender: No OFD packet to send [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:49]OFD Sender: No OFD packet to send [01:45:54]OFD Sender: No OFD packet to send [01:45:59]OFD Sender: No OFD packet to send [01:46:04]OFD Sender: No OFD packet to send [01:46:09]OFD Sender: No OFD packet to send [01:46:14]OFD Sender: No OFD packet to send [01:46:19]OFD Sender: No OFD packet to send [01:46:24]OFD Sender: No OFD packet to send [01:46:29]OFD Sender: No OFD packet to send [01:46:34]OFD Sender: No OFD packet to send [01:46:39]OFD Sender: No OFD packet to send [01:46:44]OFD Sender: No OFD packet to send [01:46:49]OFD Sender: No OFD packet to send [01:46:54]OFD Sender: No OFD packet to send [01:46:59]OFD Sender: No OFD packet to send [01:47:04]OFD Sender: No OFD packet to send [01:47:09]OFD Sender: No OFD packet to send [01:47:14]OFD Sender: No OFD packet to send [01:47:19]OFD Sender: No OFD packet to send [01:47:24]OFD Sender: No OFD packet to send [01:47:29]OFD Sender: No OFD packet to send [01:47:34]OFD Sender: No OFD packet to send [01:47:39]OFD Sender: No OFD packet to send [01:47:44]OFD Sender: No OFD packet to send [01:47:49]OFD Sender: No OFD packet to send [01:47:54]OFD Sender: No OFD packet to send [01:47:59]OFD Sender: No OFD packet to send [01:48:04]OFD Sender: No OFD packet to send [01:48:09]OFD Sender: No OFD packet to send [01:48:14]OFD Sender: No OFD packet to send [01:48:19]OFD Sender: No OFD packet to send [01:48:24]OFD Sender: No OFD packet to send [01:48:29]OFD Sender: No OFD packet to send [01:48:34]OFD Sender: No OFD packet to send [01:48:39]OFD Sender: No OFD packet to send [01:48:44]OFD Sender: No OFD packet to send [01:48:49]OFD Sender: No OFD packet to send [01:48:54]OFD Sender: No OFD packet to send [01:48:59]OFD Sender: No OFD packet to send [01:49:04]OFD Sender: No OFD packet to send [01:49:09]OFD Sender: No OFD packet to send [01:49:14]OFD Sender: No OFD packet to send [01:49:19]OFD Sender: No OFD packet to send [01:49:24]OFD Sender: No OFD packet to send [01:49:29]OFD Sender: No OFD packet to send [01:49:34]OFD Sender: No OFD packet to send [01:49:39]OFD Sender: No OFD packet to send [01:49:44]OFD Sender: No OFD packet to send [01:49:49]OFD Sender: No OFD packet to send [01:49:54]OFD Sender: No OFD packet to send [01:49:59]OFD Sender: No OFD packet to send [01:50:04]OFD Sender: No OFD packet to send [01:50:09]OFD Sender: No OFD packet to send [01:50:14]OFD Sender: No OFD packet to send [01:50:19]OFD Sender: No OFD packet to send [01:50:24]OFD Sender: No OFD packet to send [01:50:29]OFD Sender: No OFD packet to send [01:50:34]OFD Sender: No OFD packet to send [01:50:39]OFD Sender: No OFD packet to send [01:50:44]OFD Sender: No OFD packet to send [01:50:49]OFD Sender: No OFD packet to send [01:50:54]OFD Sender: No OFD packet to send [01:50:59]OFD Sender: No OFD packet to send [01:51:04]OFD Sender: No OFD packet to send [01:51:09]OFD Sender: No OFD packet to send [01:51:14]OFD Sender: No OFD packet to send [01:51:19]OFD Sender: No OFD packet to send [01:51:24]OFD Sender: No OFD packet to send [01:51:29]OFD Sender: No OFD packet to send [01:51:34]OFD Sender: No OFD packet to send [01:51:39]OFD Sender: No OFD packet to send [01:51:44]OFD Sender: No OFD packet to send [01:51:49]OFD Sender: No OFD packet to send [01:51:54]OFD Sender: No OFD packet to send [01:51:59]OFD Sender: No OFD packet to send [01:52:04]OFD Sender: No OFD packet to send [01:52:09]OFD Sender: No OFD packet to send [01:52:14]OFD Sender: No OFD packet to send [01:52:19]OFD Sender: No OFD packet to send [01:52:24]OFD Sender: No OFD packet to send [01:52:29]OFD Sender: No OFD packet to send [01:52:34]OFD Sender: No OFD packet to send [01:52:39]OFD Sender: No OFD packet to send [01:52:44]OFD Sender: No OFD packet to send [01:52:49]OFD Sender: No OFD packet to send [01:52:54]OFD Sender: No OFD packet to send [01:52:59]OFD Sender: No OFD packet to send [01:53:04]OFD Sender: No OFD packet to send [01:53:09]OFD Sender: No OFD packet to send [01:53:14]OFD Sender: No OFD packet to send [01:53:19]OFD Sender: No OFD packet to send [01:53:24]OFD Sender: No OFD packet to send [01:53:29]OFD Sender: No OFD packet to send [01:53:34]OFD Sender: No OFD packet to send [01:53:39]OFD Sender: No OFD packet to send [01:53:44]OFD Sender: No OFD packet to send [01:53:49]OFD Sender: No OFD packet to send [01:53:54]OFD Sender: No OFD packet to send [01:53:59]OFD Sender: No OFD packet to send [01:54:04]OFD Sender: No OFD packet to send [01:54:06]accept exits with 10 [01:54:06]New connection [01:54:06]New thread 3066854756 created [01:54:06]Thread 3066998116 joined [01:54:06]Waiting for new connection... [01:54:06] Sock 10.Parse request [01:54:06]Sock 10.Check first char [01:54:06]Sock 10.First char is OK [01:54:06]request: POST /json_proto HTTP/1.0 [01:54:06]Method: POST [01:54:06]URL: /json_proto [01:54:06]Method is POST - this is cgi request [01:54:06]url: /json_proto [01:54:06]query_string will be loaded in cgi processing [01:54:06]execute_cgi json_proto POST (null) [01:54:06]execute_cgi path=json_proto method=POST [01:54:06]POST find Content-Length [01:54:06]Host: 172.17.39.4:8080 [01:54:06]Content-Length: 760 [01:54:06]Content-Type: application/json [01:54:06] [01:54:06]POST finish read [01:54:06]Found Content-Length = 760 [01:54:06]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129698", "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" ] } } [01:54:06]execute_script... [01:54:06]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129698", "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" ] } } [01:54:06]POST & json_proto [01:54:06]process_json_proto [01:54:06]json parsed OK: [01:54:06]protocol is kg_v1.0 [01:54:06]action value=close_receipt [01:54:06]process_action close_receipt [01:54:06]cmd_close_receipt [01:54:06]MH_GetDate [01:54:06]Write to MH i2c: F0 00 00 B1 01 A1 [01:54:06]Write i2c OK [01:54:06]MH_I2C_Read... [01:54:06]Read from MH i2c: F0 [01:54:06]MH_I2C_Read... [01:54:06]Read from MH i2c: F0 09 00 [01:54:06]MH_I2C_Read... [01:54:06]Read from MH i2c: F0 09 00 B1 01 00 BE D2 95 66 2D 25 5D 64 48 [01:54:06]GetLastDocTimeStamp 1721093916 [01:54:06]current date 1721094846 [01:54:06]FM_GetShiftState [01:54:06]SAM_PROTO_GetShiftState [01:54:06]wFMCommunicate request_size=4 [01:54:06]MH_SAM_APDU [01:54:06]CAPDU: 80 13 01 00 [01:54:06]Write to MH i2c: E2 08 00 B2 01 80 13 01 00 00 00 00 00 30 [01:54:06]Write i2c OK [01:54:06]MH_I2C_Read... [01:54:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:54:06]Read from MH i2c: E2 [01:54:06]MH_I2C_Read... [01:54:06]Read from MH i2c: E2 0E 00 [01:54:06]MH_I2C_Read... [01:54:06]Read from MH i2c: E2 0E 00 B2 01 00 09 00 01 8A BF 95 66 00 00 00 00 90 00 80 [01:54:06]RAPDU: 09 00 01 8A BF 95 66 00 00 00 00 90 00 [01:54:06]wFMCommunicate OK [01:54:06]SAM_PROTO_GetShiftState done [01:54:06]FM_GetShiftState done [01:54:06]opened in 1721089930 [01:54:06]opened+sec_in_day 1721176330 [01:54:06]quantity*price = 19000 [01:54:06]sum+1 = 19001 [01:54:06]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 СНО: Общий режим Чек 17 16.07.2024 01:54 Смена: 498 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57263 ФПД: 258102975364473 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240716T015406&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57263&fm=258102975364473&tin=02508201610067®Number=0000000000091208&sum=19000 0 [01:54:07]StoreToDocumentArchive [01:54:07]shift 498 fd 57263 [01:54:07]save to /storage/0498/doc_00057263 [01:54:07]save last doc name /storage/0498/doc_00057263 to /storage/kkm_last_doc_name [01:54:07]save OK [01:54:07]Clear old archive folders... [01:54:07]ProcessDocumentItem done err = 0, tmpTLVsize=293 [01:54:07]tlvbuf is B6EB3970 [01:54:07]SAM_PROTO_ClearQueue [01:54:07]wFMCommunicate request_size=4 [01:54:07]MH_SAM_APDU [01:54:07]CAPDU: 80 09 00 00 [01:54:07]Write to MH i2c: E2 08 00 BF 01 80 09 00 00 00 00 00 00 32 [01:54:07]Write i2c OK [01:54:07]MH_I2C_Read... [01:54:07]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [01:54:07]Read from MH i2c: E2 [01:54:07]MH_I2C_Read... [01:54:07]Read from MH i2c: E2 03 00 [01:54:07]MH_I2C_Read... [01:54:07]Read from MH i2c: E2 03 00 BF 01 00 90 00 34 [01:54:07]RAPDU: 90 00 [01:54:07]wFMCommunicate OK [01:54:07]SAM_PROTO_ClearQueue done [01:54:07]KKMCreateOFDPacket [01:54:07]OFDProtocolAddRootSTLVToBuf [01:54:07]FM_MakeSignedData [01:54:07]FM_MakeSignedData [01:54:07]SAM_PROTO_SignData [01:54:07]wFMCommunicate request_size=4 [01:54:07]MH_SAM_APDU [01:54:07]CAPDU: 80 0D 01 02 [01:54:07]Write to MH i2c: E2 08 00 C0 01 80 0D 01 02 00 00 00 00 3A [01:54:07]Write i2c OK [01:54:07]MH_I2C_Read... [01:54:07]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [01:54:07]Read from MH i2c: E2 [01:54:07]MH_I2C_Read... [01:54:07]Read from MH i2c: E2 03 00 [01:54:07]MH_I2C_Read... [01:54:07]Read from MH i2c: E2 03 00 C0 01 00 90 00 35 [01:54:07]RAPDU: 90 00 [01:54:07]wFMCommunicate OK [01:54:07]wFMCommunicate request_size=255 [01:54:07]MH_SAM_APDU [01:54:07]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 11 00 00 00 F4 03 04 00 BE D2 95 66 0E 04 04 00 F2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 [01:54:07]Write to MH i2c: E2 02 01 C1 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 11 00 00 00 F4 03 04 00 BE D2 95 66 0E 04 04 00 F2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 00 00 61 [01:54:07]Write i2c OK [01:54:07]MH_I2C_Read... [01:54:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:54:07]Read from MH i2c: E2 [01:54:07]MH_I2C_Read... [01:54:07]Read from MH i2c: E2 03 00 [01:54:07]MH_I2C_Read... [01:54:07]Read from MH i2c: E2 03 00 C1 01 00 90 00 36 [01:54:07]RAPDU: 90 00 [01:54:07]wFMCommunicate OK [01:54:07]wFMCommunicate request_size=52 [01:54:07]MH_SAM_APDU [01:54:07]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 AF DF 00 00 35 04 06 00 EA BE 48 29 7D 79 [01:54:07]Write to MH i2c: E2 37 00 C2 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 AF DF 00 00 35 04 06 00 EA BE 48 29 7D 79 00 00 9F [01:54:07]Write i2c OK [01:54:07]MH_I2C_Read... [01:54:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:54:07]Read from MH i2c: E2 [01:54:07]MH_I2C_Read... [01:54:07]Read from MH i2c: E2 03 00 [01:54:07]MH_I2C_Read... [01:54:07]Read from MH i2c: E2 03 00 C2 01 00 90 00 37 [01:54:07]RAPDU: 90 00 [01:54:07]wFMCommunicate OK [01:54:07]wFMCommunicate request_size=4 [01:54:07]MH_SAM_APDU [01:54:07]CAPDU: 80 0D 03 02 [01:54:07]Write to MH i2c: E2 08 00 C3 01 80 0D 03 02 00 00 00 00 3F [01:54:07]Write i2c OK [01:54:07]MH_I2C_Read... [01:54:07]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [01:54:07]Read from MH i2c: E2 [01:54:07]MH_I2C_Read... [01:54:07]Read from MH i2c: E2 0B 00 [01:54:07]MH_I2C_Read... [01:54:07]Read from MH i2c: E2 0B 00 C3 01 00 F1 0B 79 6F 26 C0 28 E1 90 00 13 [01:54:07]RAPDU: F1 0B 79 6F 26 C0 28 E1 90 00 [01:54:07]wFMCommunicate OK [01:54:07]SAM_PROTO_SignData done [01:54:07]FM_MakeSignedData done [01:54:07]CreateOFDProtocolMessage [01:54:07]wFMCommunicate request_size=4 [01:54:07]MH_SAM_APDU [01:54:07]CAPDU: 80 11 00 00 [01:54:07]Write to MH i2c: E2 08 00 C4 01 80 11 00 00 00 00 00 00 3F [01:54:07]Write i2c OK [01:54:07]MH_I2C_Read... [01:54:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:54:07]Read from MH i2c: E2 [01:54:07]MH_I2C_Read... [01:54:07]Read from MH i2c: E2 17 00 [01:54:07]MH_I2C_Read... [01:54:07]Read from MH i2c: E2 17 00 C4 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 99 [01:54:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [01:54:07]wFMCommunicate OK [01:54:07]CreateOFDProtocolMessage done [01:54:07]OFDSenderStorePacket 57263 [01:54:07]StoreOFDPacket docnum=57263 [01:54:07]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 9E 0C 31 01 06 13 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 11 00 00 00 F4 03 04 00 BE D2 95 66 0E 04 04 00 F2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 AF DF 00 00 35 04 06 00 EA BE 48 29 7D 79 F1 0B 79 6F 26 C0 28 E1 [01:54:07]CheckFolder [01:54:07]dirname=/storage/ofd_packets [01:54:07]CheckFolder done [01:54:07]ProducePacketName [01:54:07]name=ofd_packets/00057263 [01:54:07]NVStorageSaveData ofd_packets/00057263 [01:54:07]File name is /storage/ofd_packets/00057263 [01:54:07]Write 343 bytes [01:54:07]NVStorageSaveData done [01:54:07]OFDSenderStorePacket done [01:54:07]KKMCreateOFDPacket done [01:54:07]NVStorageSaveData kkm_last_timestamp [01:54:07]File name is /storage/kkm_last_timestamp [01:54:07]Write 4 bytes [01:54:07]NVStorageSaveData done [01:54:07]ExternCall_PrintAddStr [01:54:07]wPrintStart [01:54:07]Write to MH i2c: 01 00 00 C5 01 C6 [01:54:07]Write i2c OK [01:54:07]MH_I2C_Read... [01:54:07]Read from MH i2c: 01 [01:54:07]MH_I2C_Read... [01:54:07]Read from MH i2c: 01 07 00 [01:54:07]MH_I2C_Read... [01:54:07]Read from MH i2c: 01 07 00 C5 01 00 00 00 00 00 FF 0F DB [01:54:07]RasterBufferAndPrint [01:54:07]line Счет N : (3)129698 [01:54:07]line ИНН: 02508201610067 [01:54:07]line Контрольно-Кассовый Чек [01:54:07]line ПРОДАЖА [01:54:07]line Товар: 4700000480050 [01:54:07]line Напиток Nitro Energy эн green ж/б 0,45л [01:54:07]line 2.000 * 95.00 [01:54:07]line = 190.00 [01:54:07]line НДС 12% НСП 1% [01:54:07]line > о реализуемом товаре [01:54:07]line ИТОГО: 190.00 [01:54:07]line НСП 1% : 1.68 [01:54:07]line НДС 12% : 20.18 [01:54:07]line Наличными: 190.00 [01:54:07]line Безнал.: 0.00 [01:54:07]line Место: АЗС № 132 "Партнер Нефть" [01:54:07]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [01:54:07]line СНО: Общий режим [01:54:07]line Чек 17 16.07.2024 01:54 [01:54:07]line Смена: 498 ФФД: 1.0 [01:54:07]line ЗНМ: 0300000132 [01:54:07]line РНМ: 0000000000091208 [01:54:07]line Версия ККМ: 001 [01:54:08]line ФМ: 0000000000874857 [01:54:08]line ФД: 57263 [01:54:08]line ФПД: 258102975364473 [01:54:08]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240716T015406&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57263&fm=258102975364473&tin=02508201610067®Number=0000000000091208&sum=19000 [01:54:08]line 0 [01:54:08]OFD Sender: Processing packet 57263 [packets to send 38, broken 37] [01:54:08]ProducePacketName [01:54:08]name=ofd_packets/00057263 [01:54:08]OFD Sender: To server: pG, [01:54:08]CommunicateWithHost lk.salyk.kg:30040 [01:54:08]ConnectInit lk.salyk.kg [01:54:08]written 0, free lines is 4095 [01:54:08]Connected sock=9 [01:54:08]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 9E 0C 31 01 06 13 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 11 00 00 00 F4 03 04 00 BE D2 95 66 0E 04 04 00 F2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 AF DF 00 00 35 04 06 00 EA BE 48 29 7D 79 F1 0B 79 6F 26 C0 28 E1 [01:54:08]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 50 23 47 00 B0 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 AF DF 00 00 F4 03 04 00 0B 79 95 66 B6 04 01 00 00 A2 64 E8 C8 E4 16 FD E7 [01:54:08]CommunicateWithHost err = 0 [01:54:08]CheckOFDResponse [01:54:08]1017 (14) - 77093643461234 [01:54:08]1041 (16) - 0000000000874857 [01:54:08]1040 (4) - 57263 [01:54:08]1012 (4) - 15.07.2024 19:31 [01:54:08]1206 (1) - 0 [01:54:08]OFD Sender: Remove packet 57263 [01:54:08]ProducePacketName [01:54:08]name=ofd_packets/00057263 [01:54:08]NVStorageDeleteData [01:54:08]Write to MH i2c: 01 00 00 EE 01 EF [01:54:08]Write i2c OK [01:54:08]MH_I2C_Read... [01:54:08]Read from MH i2c: 01 [01:54:08]MH_I2C_Read... [01:54:08]Read from MH i2c: 01 07 00 [01:54:08]MH_I2C_Read... [01:54:08]Read from MH i2c: 01 07 00 EE 01 00 00 00 00 00 FE 0C 00 [01:54:08]RasterBufferAndPrint [01:54:08]line [01:54:08]line [01:54:08]line [01:54:08]line [01:54:08]line [01:54:08]written 0, free lines is 3332 [01:54:08]MH_Cut [01:54:08]Write to MH i2c: D1 01 00 F5 01 01 C8 [01:54:08]Write i2c OK [01:54:08]MH_I2C_Read... [01:54:08]Read from MH i2c: D1 [01:54:08]MH_I2C_Read... [01:54:08]Read from MH i2c: D1 01 00 [01:54:08]MH_I2C_Read... [01:54:08]Read from MH i2c: D1 01 00 F5 01 00 C7 [01:54:08]Write to MH i2c: 01 00 00 F6 01 F7 [01:54:08]Write i2c OK [01:54:08]MH_I2C_Read... [01:54:08]OFD Sender: No OFD packet to send [01:54:09]*** Cut start [01:54:09]*** Partial cut [01:54:09]*** CUTSNS_PIN = 1 [01:54:09]*** CUTSNS_PIN = 0 [01:54:09]*** Brake cut motor [01:54:09]Read from MH i2c: 01 [01:54:09]MH_I2C_Read... [01:54:09]*** Stop cut motor [01:54:09]*** Cut end [01:54:09]Read from MH i2c: 01 07 00 [01:54:09]MH_I2C_Read... [01:54:09]Read from MH i2c: 01 07 00 F6 01 00 00 00 00 00 FF 0F 0C [01:54:09]process_action close_receipt done [01:54:09]requested_data is exist [01:54:09]produce_requested_data [01:54:09]requested_item fm.sn is exist - process it [01:54:09]wFMCommunicate request_size=4 [01:54:09]MH_SAM_APDU [01:54:09]CAPDU: 80 11 00 00 [01:54:09]Write to MH i2c: E2 08 00 F7 01 80 11 00 00 00 00 00 00 72 [01:54:09]Write i2c OK [01:54:09]MH_I2C_Read... [01:54:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:54:10]Read from MH i2c: E2 [01:54:10]MH_I2C_Read... [01:54:10]Read from MH i2c: E2 17 00 [01:54:10]MH_I2C_Read... [01:54:10]Read from MH i2c: E2 17 00 F7 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 CC [01:54:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [01:54:10]wFMCommunicate OK [01:54:10]requested_item fd.num is exist - process it [01:54:10]SAM_PROTO_GetFieldsCounters [01:54:10]wFMCommunicate request_size=4 [01:54:10]MH_SAM_APDU [01:54:10]CAPDU: 80 13 00 00 [01:54:10]Write to MH i2c: E2 08 00 F8 01 80 13 00 00 00 00 00 00 75 [01:54:10]Write i2c OK [01:54:10]MH_I2C_Read... [01:54:10]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [01:54:10]Read from MH i2c: E2 [01:54:10]MH_I2C_Read... [01:54:10]Read from MH i2c: E2 62 00 [01:54:10]MH_I2C_Read... [01:54:10]Read from MH i2c: E2 62 00 F8 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 AF DF 00 00 0E 04 04 00 F2 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 4C [01:54: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 AF DF 00 00 0E 04 04 00 F2 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 [01:54:10]wFMCommunicate OK [01:54:10]SAM_PROTO_GetFieldsCounters done [01:54:10]requested_item shift.num is exist - process it [01:54:10]requested_item shift.opened is exist - process it [01:54:10]req_shift_opened [01:54:10]FM_GetShiftState [01:54:10]SAM_PROTO_GetShiftState [01:54:10]wFMCommunicate request_size=4 [01:54:10]MH_SAM_APDU [01:54:10]CAPDU: 80 13 01 00 [01:54:10]Write to MH i2c: E2 08 00 F9 01 80 13 01 00 00 00 00 00 77 [01:54:10]Write i2c OK [01:54:10]MH_I2C_Read... [01:54:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:54:10]Read from MH i2c: E2 [01:54:10]MH_I2C_Read... [01:54:10]Read from MH i2c: E2 0E 00 [01:54:10]MH_I2C_Read... [01:54:10]Read from MH i2c: E2 0E 00 F9 01 00 09 00 01 8A BF 95 66 00 00 00 00 90 00 C7 [01:54:10]RAPDU: 09 00 01 8A BF 95 66 00 00 00 00 90 00 [01:54:10]wFMCommunicate OK [01:54:10]SAM_PROTO_GetShiftState done [01:54:10]FM_GetShiftState done [01:54:10]req_shift_opened done [01:54:10]requested_item shift.open_date is exist - process it [01:54:10]req_shift_open_date [01:54:10]req_shift_open_date done [01:54:10]requested_item shift.sale.total is exist - process it [01:54:10]SAM_PROTO_GetShiftData [01:54:10]wFMCommunicate request_size=4 [01:54:10]MH_SAM_APDU [01:54:10]CAPDU: 80 13 02 00 [01:54:10]Write to MH i2c: E2 08 00 FA 01 80 13 02 00 00 00 00 00 79 [01:54:10]Write i2c OK [01:54:10]MH_I2C_Read... [01:54:10]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [01:54:10]Read from MH i2c: E2 [01:54:10]MH_I2C_Read... [01:54:10]Read from MH i2c: E2 FD 00 [01:54:10]MH_I2C_Read... [01:54:10]Read from MH i2c: E2 FD 00 FA 01 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 FC F7 06 70 04 03 00 54 44 03 72 04 03 00 A8 B3 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 72 BD EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 CB 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 54 [01:54:10]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 FC F7 06 70 04 03 00 54 44 03 72 04 03 00 A8 B3 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 72 BD EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 CB 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 [01:54:10]wFMCommunicate OK [01:54:10]wFMCommunicate request_size=4 [01:54:10]MH_SAM_APDU [01:54:10]CAPDU: 80 17 00 00 [01:54:10]Write to MH i2c: E2 08 00 FB 01 80 17 00 00 00 00 00 00 7C [01:54:10]Write i2c OK [01:54:10]MH_I2C_Read... [01:54:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [01:54:10]Read from MH i2c: E2 [01:54:10]MH_I2C_Read... [01:54:10]Read from MH i2c: E2 FD 00 [01:54:10]MH_I2C_Read... [01:54:10]Read from MH i2c: E2 FD 00 FB 01 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 8E [01:54:10]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:54:10]wFMCommunicate OK [01:54:10]wFMCommunicate request_size=4 [01:54:10]MH_SAM_APDU [01:54:10]CAPDU: 80 17 00 00 [01:54:10]Write to MH i2c: E2 08 00 FC 01 80 17 00 00 00 00 00 00 7D [01:54:10]Write i2c OK [01:54:10]MH_I2C_Read... [01:54:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [01:54:11]Read from MH i2c: E2 [01:54:11]MH_I2C_Read... [01:54:11]Read from MH i2c: E2 FD 00 [01:54:11]MH_I2C_Read... [01:54:11]Read from MH i2c: E2 FD 00 FC 01 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 41 [01:54:11]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:54:11]wFMCommunicate OK [01:54:11]wFMCommunicate request_size=4 [01:54:11]MH_SAM_APDU [01:54:11]CAPDU: 80 17 00 00 [01:54:11]Write to MH i2c: E2 08 00 FD 01 80 17 00 00 00 00 00 00 7E [01:54:11]Write i2c OK [01:54:11]MH_I2C_Read... [01:54:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [01:54:11]Read from MH i2c: E2 [01:54:11]MH_I2C_Read... [01:54:11]Read from MH i2c: E2 FD 00 [01:54:11]MH_I2C_Read... [01:54:11]Read from MH i2c: E2 FD 00 FD 01 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 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 F3 [01:54:11]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:54:11]wFMCommunicate OK [01:54:11]wFMCommunicate request_size=4 [01:54:11]MH_SAM_APDU [01:54:11]CAPDU: 80 17 00 00 [01:54:11]Write to MH i2c: E2 08 00 FE 01 80 17 00 00 00 00 00 00 7F [01:54:11]Write i2c OK [01:54:11]MH_I2C_Read... [01:54:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [01:54:11]Read from MH i2c: E2 [01:54:11]MH_I2C_Read... [01:54:11]Read from MH i2c: E2 CA 00 [01:54:11]MH_I2C_Read... [01:54:11]Read from MH i2c: E2 CA 00 FE 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 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 [01:54: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 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:54:11]wFMCommunicate OK [01:54:11]SAM_PROTO_GetShiftData done [01:54:11]requested_item shift.sale.total_cash is exist - process it [01:54:11]requested_item shift.sale_refund.total is exist - process it [01:54:11]requested_item shift.sale_refund.total_cash is exist - process it [01:54:11]produce_requested_data done [01:54:11]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57263,"shift.num":498,"shift.opened":1,"shift.open_date":1721089930,"shift.sale.total":4567.00,"shift.sale.total_cash":2141.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [01:54:11]process_action_free close_receipt [01:54:11]json_value_free [01:54:11]json_value_free done [01:54:11]process_json_proto returns [01:54:11]Send response to host [01:54:11]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57263,"shift.num":498,"shift.opened":1,"shift.open_date":1721089930,"shift.sale.total":4567.00,"shift.sale.total_cash":2141.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [01:54:11]free response buf [01:54:11]execute_script done [01:54:11]execute_script returns [01:54:11]free content buf [01:54:11]Sock 10.Close socket [01:54:11]Sock 10.Thread stoped [01:54:14]OFD Sender: No OFD packet to send [01:54:19]OFD Sender: No OFD packet to send [01:54:24]OFD Sender: No OFD packet to send [01:54:29]OFD Sender: No OFD packet to send [01:54:34]OFD Sender: No OFD packet to send [01:54:39]OFD Sender: No OFD packet to send [01:54:44]OFD Sender: No OFD packet to send [01:54:49]OFD Sender: No OFD packet to send [01:54:54]OFD Sender: No OFD packet to send [01:54:59]OFD Sender: No OFD packet to send [01:55:04]OFD Sender: No OFD packet to send [01:55:09]OFD Sender: No OFD packet to send [01:55:14]OFD Sender: No OFD packet to send [01:55:19]OFD Sender: No OFD packet to send [01:55:24]OFD Sender: No OFD packet to send [01:55:29]OFD Sender: No OFD packet to send [01:55:34]OFD Sender: No OFD packet to send [01:55:39]OFD Sender: No OFD packet to send [01:55:44]OFD Sender: No OFD packet to send [01:55:49]OFD Sender: No OFD packet to send [01:55:54]OFD Sender: No OFD packet to send [01:55:59]OFD Sender: No OFD packet to send [01:56:04]OFD Sender: No OFD packet to send [01:56:09]OFD Sender: No OFD packet to send [01:56:14]OFD Sender: No OFD packet to send [01:56:19]OFD Sender: No OFD packet to send [01:56:24]OFD Sender: No OFD packet to send [01:56:29]OFD Sender: No OFD packet to send [01:56:34]OFD Sender: No OFD packet to send [01:56:39]OFD Sender: No OFD packet to send [01:56:44]OFD Sender: No OFD packet to send [01:56:49]OFD Sender: No OFD packet to send [01:56:54]OFD Sender: No OFD packet to send [01:56:59]OFD Sender: No OFD packet to send [01:57:04]OFD Sender: No OFD packet to send [01:57:09]OFD Sender: No OFD packet to send [01:57:14]OFD Sender: No OFD packet to send [01:57:19]OFD Sender: No OFD packet to send [01:57:24]OFD Sender: No OFD packet to send [01:57:29]OFD Sender: No OFD packet to send [01:57:34]OFD Sender: No OFD packet to send [01:57:39]OFD Sender: No OFD packet to send [01:57:44]OFD Sender: No OFD packet to send [01:57:49]OFD Sender: No OFD packet to send [01:57:54]OFD Sender: No OFD packet to send [01:57:59]OFD Sender: No OFD packet to send [01:58:04]OFD Sender: No OFD packet to send [01:58:09]OFD Sender: No OFD packet to send [01:58:14]OFD Sender: No OFD packet to send [01:58:19]OFD Sender: No OFD packet to send [01:58:24]OFD Sender: No OFD packet to send [01:58:29]OFD Sender: No OFD packet to send [01:58:34]OFD Sender: No OFD packet to send [01:58:39]OFD Sender: No OFD packet to send [01:58:44]OFD Sender: No OFD packet to send [01:58:49]OFD Sender: No OFD packet to send [01:58:54]OFD Sender: No OFD packet to send [01:58:59]OFD Sender: No OFD packet to send [01:59:04]OFD Sender: No OFD packet to send [01:59:09]OFD Sender: No OFD packet to send [01:59:14]OFD Sender: No OFD packet to send [01:59:19]OFD Sender: No OFD packet to send [01:59:24]OFD Sender: No OFD packet to send [01:59:29]OFD Sender: No OFD packet to send [01:59:34]OFD Sender: No OFD packet to send [01:59:39]OFD Sender: No OFD packet to send [01:59:44]OFD Sender: No OFD packet to send [01:59:49]OFD Sender: No OFD packet to send [01:59:54]OFD Sender: No OFD packet to send [01:59:58]accept exits with 8 [01:59:58]New connection [01:59:58]New thread 3066998116 created [01:59:58]Thread 3066854756 joined [01:59:58]Waiting for new connection... [01:59:58] Sock 8.Parse request [01:59:58]Sock 8.Check first char [01:59:58]Sock 8.First char is OK [01:59:58]request: POST /json_proto HTTP/1.0 [01:59:58]Method: POST [01:59:58]URL: /json_proto [01:59:58]Method is POST - this is cgi request [01:59:58]url: /json_proto [01:59:58]query_string will be loaded in cgi processing [01:59:58]execute_cgi json_proto POST (null) [01:59:58]execute_cgi path=json_proto method=POST [01:59:58]POST find Content-Length [01:59:58]Host: 172.17.39.4:8080 [01:59:58]Content-Length: 1528 [01:59:58]Content-Type: application/json [01:59:58] [01:59:58]POST finish read [01:59:58]Found Content-Length = 1528 [01:59:58]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129699", "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" : 3.000, "sum" : 540.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4690329003378", "name": "\u0421\u0443\u0445\u0430\u0440\u0438\u043A\u0438 \u041A\u0418\u0420\u0418\u0415\u0428\u041A\u0418 \u0448\u0430\u0448\u043B\u044B\u043A,\u043A\u0435\u0442\u0447 Heinz 60\u0433", "price" : 57.00, "quantity" : 1.000, "sum" : 57.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 }]} ], "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" : 737.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:59:58]execute_script... [01:59: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)129699", "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" : 3.000, "sum" : 540.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4690329003378", "name": "\u0421\u0443\u0445\u0430\u0440\u0438\u043A\u0438 \u041A\u0418\u0420\u0418\u0415\u0428\u041A\u0418 \u0448\u0430\u0448\u043B\u044B\u043A,\u043A\u0435\u0442\u0447 Heinz 60\u0433", "price" : 57.00, "quantity" : 1.000, "sum" : 57.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 }]} ], "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" : 737.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:59:58]POST & json_proto [01:59:58]process_json_proto [01:59:58]json parsed OK: [01:59:58]protocol is kg_v1.0 [01:59:58]action value=close_receipt [01:59:58]process_action close_receipt [01:59:58]cmd_close_receipt [01:59:58]MH_GetDate [01:59:58]Write to MH i2c: F0 00 00 FF 01 EF [01:59:58]Write i2c OK [01:59:58]MH_I2C_Read... [01:59:58]Read from MH i2c: F0 [01:59:58]MH_I2C_Read... [01:59:58]Read from MH i2c: F0 09 00 [01:59:58]MH_I2C_Read... [01:59:58]Read from MH i2c: F0 09 00 FF 01 00 1E D4 95 66 2D 25 5D 64 F8 [01:59:58]GetLastDocTimeStamp 1721094846 [01:59:58]current date 1721095198 [01:59:58]FM_GetShiftState [01:59:58]SAM_PROTO_GetShiftState [01:59:58]wFMCommunicate request_size=4 [01:59:58]MH_SAM_APDU [01:59:58]CAPDU: 80 13 01 00 [01:59:58]Write to MH i2c: E2 08 00 00 02 80 13 01 00 00 00 00 00 7F [01:59:58]Write i2c OK [01:59:58]MH_I2C_Read... [01:59:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:59:58]Read from MH i2c: E2 [01:59:58]MH_I2C_Read... [01:59:58]Read from MH i2c: E2 0E 00 [01:59:58]MH_I2C_Read... [01:59:58]Read from MH i2c: E2 0E 00 00 02 00 09 00 01 8A BF 95 66 00 00 00 00 90 00 CF [01:59:58]RAPDU: 09 00 01 8A BF 95 66 00 00 00 00 90 00 [01:59:58]wFMCommunicate OK [01:59:58]SAM_PROTO_GetShiftState done [01:59:58]FM_GetShiftState done [01:59:58]opened in 1721089930 [01:59:58]opened+sec_in_day 1721176330 [01:59:58]quantity*price = 54000 [01:59:58]sum+1 = 54001 [01:59:58]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4690329003378 Сухарики КИРИЕШКИ шашлык,кетч Heinz 60г 1.000 * 57.00 = 57.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 48743570 Сигареты Winston XStyle Blue 1.000 * 140.00 = 140.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 737.00 НСП 1% : 6.52 НДС 12% : 78.26 Наличными: 0.00 Безнал.: 737.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 18 16.07.2024 01:59 Смена: 498 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000874857 ФД: 57264 ФПД: 204701025334375 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240716T015959&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57264&fm=204701025334375&tin=02508201610067®Number=0000000000091208&sum=73700 0 [01:59:59]StoreToDocumentArchive [01:59:59]shift 498 fd 57264 [01:59:59]save to /storage/0498/doc_00057264 [01:59:59]save last doc name /storage/0498/doc_00057264 to /storage/kkm_last_doc_name [01:59:59]save OK [01:59:59]Clear old archive folders... [01:59:59]ProcessDocumentItem done err = 0, tmpTLVsize=513 [01:59:59]tlvbuf is B6F60860 [01:59:59]SAM_PROTO_ClearQueue [01:59:59]wFMCommunicate request_size=4 [01:59:59]MH_SAM_APDU [01:59:59]CAPDU: 80 09 00 00 [01:59:59]Write to MH i2c: E2 08 00 0D 02 80 09 00 00 00 00 00 00 81 [01:59:59]Write i2c OK [01:59:59]MH_I2C_Read... [01:59:59]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [02:00:00]Read from MH i2c: E2 [02:00:00]MH_I2C_Read... [02:00:00]Read from MH i2c: E2 03 00 [02:00:00]MH_I2C_Read... [02:00:00]Read from MH i2c: E2 03 00 0D 02 00 90 00 83 [02:00:00]RAPDU: 90 00 [02:00:00]wFMCommunicate OK [02:00:00]SAM_PROTO_ClearQueue done [02:00:00]KKMCreateOFDPacket [02:00:00]OFDProtocolAddRootSTLVToBuf [02:00:00]FM_MakeSignedData [02:00:00]FM_MakeSignedData [02:00:00]SAM_PROTO_SignData [02:00:00]wFMCommunicate request_size=4 [02:00:00]MH_SAM_APDU [02:00:00]CAPDU: 80 0D 01 02 [02:00:00]Write to MH i2c: E2 08 00 0E 02 80 0D 01 02 00 00 00 00 89 [02:00:00]Write i2c OK [02:00:00]MH_I2C_Read... [02:00:00]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [02:00:00]Read from MH i2c: E2 [02:00:00]MH_I2C_Read... [02:00:00]Read from MH i2c: E2 03 00 [02:00:00]MH_I2C_Read... [02:00:00]Read from MH i2c: E2 03 00 0E 02 00 90 00 84 [02:00:00]RAPDU: 90 00 [02:00:00]wFMCommunicate OK [02:00:00]wFMCommunicate request_size=255 [02:00:00]MH_SAM_APDU [02:00:00]CAPDU: 80 0D 02 02 FA 03 00 01 02 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 B8 0B 00 00 00 00 00 37 04 06 00 50 46 00 00 00 00 13 04 06 00 F0 D2 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 34 36 39 30 33 32 39 30 30 33 33 37 38 06 04 42 00 D0 A1 D1 83 D1 85 D0 B0 D1 80 D0 B8 D0 BA D0 B8 20 D0 9A D0 98 D0 A0 D0 98 D0 95 D0 A8 D0 9A D0 98 20 D1 88 D0 B0 D1 88 D0 BB D1 8B D0 BA 2C D0 BA D0 B5 D1 82 D1 87 20 48 65 69 6E 7A 20 36 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 44 16 00 00 00 00 13 04 06 00 44 16 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 [02:00:00]Write to MH i2c: E2 02 01 0F 02 80 0D 02 02 FA 00 03 00 01 02 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 B8 0B 00 00 00 00 00 37 04 06 00 50 46 00 00 00 00 13 04 06 00 F0 D2 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 34 36 39 30 33 32 39 30 30 33 33 37 38 06 04 42 00 D0 A1 D1 83 D1 85 D0 B0 D1 80 D0 B8 D0 BA D0 B8 20 D0 9A D0 98 D0 A0 D0 98 D0 95 D0 A8 D0 9A D0 98 20 D1 88 D0 B0 D1 88 D0 BB D1 8B D0 BA 2C D0 BA D0 B5 D1 82 D1 87 20 48 65 69 6E 7A 20 36 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 44 16 00 00 00 00 13 04 06 00 44 16 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 00 00 B2 [02:00:00]Write i2c OK [02:00:00]MH_I2C_Read... [02:00:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:00:00]Read from MH i2c: E2 [02:00:00]MH_I2C_Read... [02:00:00]Read from MH i2c: E2 03 00 [02:00:00]MH_I2C_Read... [02:00:00]Read from MH i2c: E2 03 00 0F 02 00 90 00 85 [02:00:00]RAPDU: 90 00 [02:00:00]wFMCommunicate OK [02:00:00]wFMCommunicate request_size=255 [02:00:00]MH_SAM_APDU [02:00:00]CAPDU: 80 0D 02 02 FA 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 1F 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8C 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 92 1E 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 E4 1F 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 1F D4 95 66 0E 04 04 00 F2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 [02:00:00]Write to MH i2c: E2 02 01 10 02 80 0D 02 02 FA 00 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 1F 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8C 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 92 1E 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 E4 1F 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 1F D4 95 66 0E 04 04 00 F2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 00 00 22 [02:00:00]Write i2c OK [02:00:00]MH_I2C_Read... [02:00:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:00:00]Read from MH i2c: E2 [02:00:00]MH_I2C_Read... [02:00:00]Read from MH i2c: E2 03 00 [02:00:00]MH_I2C_Read... [02:00:00]Read from MH i2c: E2 03 00 10 02 00 90 00 86 [02:00:00]RAPDU: 90 00 [02:00:00]wFMCommunicate OK [02:00:00]wFMCommunicate request_size=22 [02:00:00]MH_SAM_APDU [02:00:00]CAPDU: 80 0D 02 02 11 04 04 00 B0 DF 00 00 35 04 06 00 BA 2C AB E6 74 67 [02:00:00]Write to MH i2c: E2 19 00 11 02 80 0D 02 02 11 00 04 04 00 B0 DF 00 00 35 04 06 00 BA 2C AB E6 74 67 00 00 D7 [02:00:00]Write i2c OK [02:00:00]MH_I2C_Read... [02:00:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:00:00]Read from MH i2c: E2 [02:00:00]MH_I2C_Read... [02:00:00]Read from MH i2c: E2 03 00 [02:00:00]MH_I2C_Read... [02:00:00]Read from MH i2c: E2 03 00 11 02 00 90 00 87 [02:00:00]RAPDU: 90 00 [02:00:00]wFMCommunicate OK [02:00:00]wFMCommunicate request_size=4 [02:00:00]MH_SAM_APDU [02:00:00]CAPDU: 80 0D 03 02 [02:00:00]Write to MH i2c: E2 08 00 12 02 80 0D 03 02 00 00 00 00 8F [02:00:00]Write i2c OK [02:00:00]MH_I2C_Read... [02:00:00]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [02:00:00]Read from MH i2c: E2 [02:00:00]MH_I2C_Read... [02:00:00]Read from MH i2c: E2 0B 00 [02:00:00]MH_I2C_Read... [02:00:00]Read from MH i2c: E2 0B 00 12 02 00 D3 CB 84 AE 22 CA 24 DE 90 00 4E [02:00:00]RAPDU: D3 CB 84 AE 22 CA 24 DE 90 00 [02:00:00]wFMCommunicate OK [02:00:00]SAM_PROTO_SignData done [02:00:00]FM_MakeSignedData done [02:00:00]CreateOFDProtocolMessage [02:00:00]wFMCommunicate request_size=4 [02:00:00]MH_SAM_APDU [02:00:00]CAPDU: 80 11 00 00 [02:00:00]Write to MH i2c: E2 08 00 13 02 80 11 00 00 00 00 00 00 8F [02:00:00]Write i2c OK [02:00:00]MH_I2C_Read... [02:00:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:00:00]Read from MH i2c: E2 [02:00:00]MH_I2C_Read... [02:00:00]Read from MH i2c: E2 17 00 [02:00:00]MH_I2C_Read... [02:00:00]Read from MH i2c: E2 17 00 13 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 E9 [02:00: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:00:00]wFMCommunicate OK [02:00:00]CreateOFDProtocolMessage done [02:00:00]OFDSenderStorePacket 57264 [02:00:00]StoreOFDPacket docnum=57264 [02:00: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 15 02 00 00 E3 B6 0D 02 6B 90 5A 03 01 00 03 00 01 02 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 B8 0B 00 00 00 00 00 37 04 06 00 50 46 00 00 00 00 13 04 06 00 F0 D2 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 34 36 39 30 33 32 39 30 30 33 33 37 38 06 04 42 00 D0 A1 D1 83 D1 85 D0 B0 D1 80 D0 B8 D0 BA D0 B8 20 D0 9A D0 98 D0 A0 D0 98 D0 95 D0 A8 D0 9A D0 98 20 D1 88 D0 B0 D1 88 D0 BB D1 8B D0 BA 2C D0 BA D0 B5 D1 82 D1 87 20 48 65 69 6E 7A 20 36 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 44 16 00 00 00 00 13 04 06 00 44 16 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 1F 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8C 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 92 1E 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 E4 1F 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 1F D4 95 66 0E 04 04 00 F2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 B0 DF 00 00 35 04 06 00 BA 2C AB E6 74 67 D3 CB 84 AE 22 CA 24 DE [02:00:00]CheckFolder [02:00:00]dirname=/storage/ofd_packets [02:00:00]CheckFolder done [02:00:00]ProducePacketName [02:00:00]name=ofd_packets/00057264 [02:00:00]NVStorageSaveData ofd_packets/00057264 [02:00:00]File name is /storage/ofd_packets/00057264 [02:00:00]Write 563 bytes [02:00:00]NVStorageSaveData done [02:00:00]OFDSenderStorePacket done [02:00:00]KKMCreateOFDPacket done [02:00:00]NVStorageSaveData kkm_last_timestamp [02:00:00]File name is /storage/kkm_last_timestamp [02:00:00]Write 4 bytes [02:00:00]NVStorageSaveData done [02:00:00]ExternCall_PrintAddStr [02:00:00]wPrintStart [02:00:00]Write to MH i2c: 01 00 00 14 02 16 [02:00:00]Write i2c OK [02:00:00]MH_I2C_Read... [02:00:00]Read from MH i2c: 01 [02:00:00]MH_I2C_Read... [02:00:00]Read from MH i2c: 01 07 00 [02:00:00]MH_I2C_Read... [02:00:00]Read from MH i2c: 01 07 00 14 02 00 00 00 00 00 FF 0F 2B [02:00:00]RasterBufferAndPrint [02:00:00]line Счет N : (3)129699 [02:00:00]line ИНН: 02508201610067 [02:00:00]line Контрольно-Кассовый Чек [02:00:00]line ПРОДАЖА [02:00:00]line Товар: 4700000480517 [02:00:00]line Пиво Живое 1л ПЭТ [02:00:00]line 3.000 * 180.00 [02:00:00]line = 540.00 [02:00:00]line НДС 12% НСП 1% [02:00:00]line > о реализуемом товаре [02:00:00]line Товар: 4690329003378 [02:00:00]line Сухарики КИРИЕШКИ шашлык,кетч Heinz 60г [02:00:00]line 1.000 * 57.00 [02:00:00]line = 57.00 [02:00:00]line НДС 12% НСП 1% [02:00:01]line > о реализуемом товаре [02:00:01]line Товар: 48743570 [02:00:01]line Сигареты Winston XStyle Blue [02:00:01]line 1.000 * 140.00 [02:00:01]line = 140.00 [02:00:01]line НДС 12% НСП 1% [02:00:01]line > о реализуемом товаре [02:00:01]line ИТОГО: 737.00 [02:00:01]line НСП 1% : 6.52 [02:00:01]line НДС 12% : 78.26 [02:00:01]line Наличными: 0.00 [02:00:01]line Безнал.: 737.00 [02:00:01]line Место: АЗС № 132 "Партнер Нефть" [02:00:01]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [02:00:01]line СНО: Общий режим [02:00:01]line Чек 18 16.07.2024 01:59 [02:00:01]line Смена: 498 ФФД: 1.0 [02:00:01]line ЗНМ: 0300000132 [02:00:01]line РНМ: 0000000000091208 [02:00:01]line Версия ККМ: 001 [02:00:01]line Платежная система: АКБ Кыргызстан [02:00:01]line ФМ: 0000000000874857 [02:00:01]line ФД: 57264 [02:00:01]line ФПД: 204701025334375 [02:00:01]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240716T015959&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57264&fm=204701025334375&tin=02508201610067®Number=0000000000091208&sum=73700 [02:00:01]line 0 [02:00:01]OFD Sender: Processing packet 57264 [packets to send 38, broken 37] [02:00:01]ProducePacketName [02:00:01]name=ofd_packets/00057264 [02:00:01]OFD Sender: To server: pG, [02:00:01]CommunicateWithHost lk.salyk.kg:30040 [02:00:01]ConnectInit lk.salyk.kg [02:00:01]written 0, free lines is 4095 [02:00:01]Connected sock=10 [02:00: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 15 02 00 00 E3 B6 0D 02 6B 90 5A 03 01 00 03 00 01 02 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 B8 0B 00 00 00 00 00 37 04 06 00 50 46 00 00 00 00 13 04 06 00 F0 D2 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 34 36 39 30 33 32 39 30 30 33 33 37 38 06 04 42 00 D0 A1 D1 83 D1 85 D0 B0 D1 80 D0 B8 D0 BA D0 B8 20 D0 9A D0 98 D0 A0 D0 98 D0 95 D0 A8 D0 9A D0 98 20 D1 88 D0 B0 D1 88 D0 BB D1 8B D0 BA 2C D0 BA D0 B5 D1 82 D1 87 20 48 65 69 6E 7A 20 36 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 44 16 00 00 00 00 13 04 06 00 44 16 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 1F 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8C 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 92 1E 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 E4 1F 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 1F D4 95 66 0E 04 04 00 F2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 B0 DF 00 00 35 04 06 00 BA 2C AB E6 74 67 D3 CB 84 AE 22 CA 24 DE [02:00: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 6E 11 47 00 50 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 B0 DF 00 00 F4 03 04 00 6C 7A 95 66 B6 04 01 00 00 D1 C4 A4 DC 0E AA C8 89 [02:00:01]CommunicateWithHost err = 0 [02:00:01]CheckOFDResponse [02:00:01]1017 (14) - 77093643461234 [02:00:01]1041 (16) - 0000000000874857 [02:00:01]1040 (4) - 57264 [02:00:01]1012 (4) - 15.07.2024 19:37 [02:00:01]1206 (1) - 0 [02:00:01]OFD Sender: Remove packet 57264 [02:00:01]ProducePacketName [02:00:01]name=ofd_packets/00057264 [02:00:01]NVStorageDeleteData [02:00:01]Write to MH i2c: 01 00 00 4B 02 4D [02:00:01]Write i2c OK [02:00:01]MH_I2C_Read... [02:00:01]Read from MH i2c: 01 [02:00:01]MH_I2C_Read... [02:00:01]Read from MH i2c: 01 07 00 [02:00:01]MH_I2C_Read... [02:00:01]Read from MH i2c: 01 07 00 4B 02 00 00 00 00 00 1D 0C 7D [02:00:01]RasterBufferAndPrint [02:00:01]line [02:00:01]line [02:00:01]line [02:00:01]line [02:00:01]line [02:00:01]written 0, free lines is 3107 [02:00:01]MH_Cut [02:00:01]Write to MH i2c: D1 01 00 52 02 01 26 [02:00:01]Write i2c OK [02:00:01]MH_I2C_Read... [02:00:01]Read from MH i2c: D1 [02:00:01]MH_I2C_Read... [02:00:01]Read from MH i2c: D1 01 00 [02:00:01]MH_I2C_Read... [02:00:01]Read from MH i2c: D1 01 00 52 02 00 25 [02:00:01]Write to MH i2c: 01 00 00 53 02 55 [02:00:01]Write i2c OK [02:00:01]MH_I2C_Read... [02:00:01]OFD Sender: No OFD packet to send [02:00:02]*** Cut start [02:00:02]*** Partial cut [02:00:02]*** CUTSNS_PIN = 1 [02:00:02]*** CUTSNS_PIN = 0 [02:00:02]*** Brake cut motor [02:00:03]Read from MH i2c: 01 [02:00:03]MH_I2C_Read... [02:00:03]*** Stop cut motor [02:00:03]*** Cut end [02:00:03]Read from MH i2c: 01 07 00 [02:00:03]MH_I2C_Read... [02:00:03]Read from MH i2c: 01 07 00 53 02 00 00 00 00 00 FF 0F 6A [02:00:03]process_action close_receipt done [02:00:03]requested_data is exist [02:00:03]produce_requested_data [02:00:03]requested_item fm.sn is exist - process it [02:00:03]wFMCommunicate request_size=4 [02:00:03]MH_SAM_APDU [02:00:03]CAPDU: 80 11 00 00 [02:00:03]Write to MH i2c: E2 08 00 54 02 80 11 00 00 00 00 00 00 D0 [02:00:03]Write i2c OK [02:00:03]MH_I2C_Read... [02:00:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:00:03]Read from MH i2c: E2 [02:00:03]MH_I2C_Read... [02:00:03]Read from MH i2c: E2 17 00 [02:00:03]MH_I2C_Read... [02:00:03]Read from MH i2c: E2 17 00 54 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 2A [02:00:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [02:00:03]wFMCommunicate OK [02:00:03]requested_item fd.num is exist - process it [02:00:03]SAM_PROTO_GetFieldsCounters [02:00:03]wFMCommunicate request_size=4 [02:00:03]MH_SAM_APDU [02:00:03]CAPDU: 80 13 00 00 [02:00:03]Write to MH i2c: E2 08 00 55 02 80 13 00 00 00 00 00 00 D3 [02:00:03]Write i2c OK [02:00:03]MH_I2C_Read... [02:00:03]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [02:00:03]Read from MH i2c: E2 [02:00:03]MH_I2C_Read... [02:00:03]Read from MH i2c: E2 62 00 [02:00:03]MH_I2C_Read... [02:00:03]Read from MH i2c: E2 62 00 55 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 B0 DF 00 00 0E 04 04 00 F2 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 AE [02:00: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 B0 DF 00 00 0E 04 04 00 F2 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:00:03]wFMCommunicate OK [02:00:03]SAM_PROTO_GetFieldsCounters done [02:00:03]requested_item shift.num is exist - process it [02:00:03]requested_item shift.opened is exist - process it [02:00:03]req_shift_opened [02:00:03]FM_GetShiftState [02:00:03]SAM_PROTO_GetShiftState [02:00:03]wFMCommunicate request_size=4 [02:00:03]MH_SAM_APDU [02:00:03]CAPDU: 80 13 01 00 [02:00:03]Write to MH i2c: E2 08 00 56 02 80 13 01 00 00 00 00 00 D5 [02:00:03]Write i2c OK [02:00:03]MH_I2C_Read... [02:00:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:00:03]Read from MH i2c: E2 [02:00:03]MH_I2C_Read... [02:00:03]Read from MH i2c: E2 0E 00 [02:00:03]MH_I2C_Read... [02:00:03]Read from MH i2c: E2 0E 00 56 02 00 09 00 01 8A BF 95 66 00 00 00 00 90 00 25 [02:00:03]RAPDU: 09 00 01 8A BF 95 66 00 00 00 00 90 00 [02:00:03]wFMCommunicate OK [02:00:03]SAM_PROTO_GetShiftState done [02:00:03]FM_GetShiftState done [02:00:03]req_shift_opened done [02:00:03]requested_item shift.open_date is exist - process it [02:00:03]req_shift_open_date [02:00:03]req_shift_open_date done [02:00:03]requested_item shift.sale.total is exist - process it [02:00:03]SAM_PROTO_GetShiftData [02:00:03]wFMCommunicate request_size=4 [02:00:03]MH_SAM_APDU [02:00:03]CAPDU: 80 13 02 00 [02:00:03]Write to MH i2c: E2 08 00 57 02 80 13 02 00 00 00 00 00 D7 [02:00:03]Write i2c OK [02:00:03]MH_I2C_Read... [02:00:03]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [02:00:03]Read from MH i2c: E2 [02:00:03]MH_I2C_Read... [02:00:03]Read from MH i2c: E2 FD 00 [02:00:03]MH_I2C_Read... [02:00:03]Read from MH i2c: E2 FD 00 57 02 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 E0 17 08 70 04 03 00 54 44 03 72 04 03 00 8C D3 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 04 DC EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 57 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 FF [02:00:03]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 E0 17 08 70 04 03 00 54 44 03 72 04 03 00 8C D3 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 04 DC EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 57 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:00:03]wFMCommunicate OK [02:00:03]wFMCommunicate request_size=4 [02:00:03]MH_SAM_APDU [02:00:03]CAPDU: 80 17 00 00 [02:00:03]Write to MH i2c: E2 08 00 58 02 80 17 00 00 00 00 00 00 DA [02:00:03]Write i2c OK [02:00:03]MH_I2C_Read... [02:00:04]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [02:00:04]Read from MH i2c: E2 [02:00:04]MH_I2C_Read... [02:00:04]Read from MH i2c: E2 FD 00 [02:00:04]MH_I2C_Read... [02:00:04]Read from MH i2c: E2 FD 00 58 02 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 EC [02:00:04]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:00:04]wFMCommunicate OK [02:00:04]wFMCommunicate request_size=4 [02:00:04]MH_SAM_APDU [02:00:04]CAPDU: 80 17 00 00 [02:00:04]Write to MH i2c: E2 08 00 59 02 80 17 00 00 00 00 00 00 DB [02:00:04]Write i2c OK [02:00:04]MH_I2C_Read... [02:00:04]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [02:00:04]Read from MH i2c: E2 [02:00:04]MH_I2C_Read... [02:00:04]Read from MH i2c: E2 FD 00 [02:00:04]MH_I2C_Read... [02:00:04]Read from MH i2c: E2 FD 00 59 02 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 9F [02:00:04]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:00:04]wFMCommunicate OK [02:00:04]wFMCommunicate request_size=4 [02:00:04]MH_SAM_APDU [02:00:04]CAPDU: 80 17 00 00 [02:00:04]Write to MH i2c: E2 08 00 5A 02 80 17 00 00 00 00 00 00 DC [02:00:04]Write i2c OK [02:00:04]MH_I2C_Read... [02:00:04]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [02:00:04]Read from MH i2c: E2 [02:00:04]MH_I2C_Read... [02:00:04]Read from MH i2c: E2 FD 00 [02:00:04]MH_I2C_Read... [02:00:04]Read from MH i2c: E2 FD 00 5A 02 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 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 51 [02:00:04]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:00:04]wFMCommunicate OK [02:00:04]wFMCommunicate request_size=4 [02:00:04]MH_SAM_APDU [02:00:04]CAPDU: 80 17 00 00 [02:00:04]Write to MH i2c: E2 08 00 5B 02 80 17 00 00 00 00 00 00 DD [02:00:04]Write i2c OK [02:00:04]MH_I2C_Read... [02:00:05]Read from MH i2c: E2 [02:00:05]MH_I2C_Read... [02:00:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [02:00:05]Read from MH i2c: E2 CA 00 [02:00:05]MH_I2C_Read... [02:00:05]Read from MH i2c: E2 CA 00 5B 02 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 C2 [02:00:05]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:00:05]wFMCommunicate OK [02:00:05]SAM_PROTO_GetShiftData done [02:00:05]requested_item shift.sale.total_cash is exist - process it [02:00:05]requested_item shift.sale_refund.total is exist - process it [02:00:05]requested_item shift.sale_refund.total_cash is exist - process it [02:00:05]produce_requested_data done [02:00:05]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57264,"shift.num":498,"shift.opened":1,"shift.open_date":1721089930,"shift.sale.total":5304.00,"shift.sale.total_cash":2141.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [02:00:05]process_action_free close_receipt [02:00:05]json_value_free [02:00:05]json_value_free done [02:00:05]process_json_proto returns [02:00:05]Send response to host [02:00:05]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57264,"shift.num":498,"shift.opened":1,"shift.open_date":1721089930,"shift.sale.total":5304.00,"shift.sale.total_cash":2141.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [02:00:05]free response buf [02:00:05]execute_script done [02:00:05]execute_script returns [02:00:05]free content buf [02:00:05]Sock 8.Close socket [02:00:05]Sock 8.Thread stoped [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:27]OFD Sender: No OFD packet to send [02:00:32]OFD Sender: No OFD packet to send [02:00:37]OFD Sender: No OFD packet to send [02:00:42]OFD Sender: No OFD packet to send [02:00:47]OFD Sender: No OFD packet to send [02:00:52]OFD Sender: No OFD packet to send [02:00:57]OFD Sender: No OFD packet to send [02:01:02]OFD Sender: No OFD packet to send [02:01:07]OFD Sender: No OFD packet to send [02:01:12]OFD Sender: No OFD packet to send [02:01:17]OFD Sender: No OFD packet to send [02:01:22]OFD Sender: No OFD packet to send [02:01:27]OFD Sender: No OFD packet to send [02:01:32]OFD Sender: No OFD packet to send [02:01:37]OFD Sender: No OFD packet to send [02:01:42]OFD Sender: No OFD packet to send [02:01:47]OFD Sender: No OFD packet to send [02:01:52]OFD Sender: No OFD packet to send [02:01:57]OFD Sender: No OFD packet to send [02:02:02]OFD Sender: No OFD packet to send [02:02:07]OFD Sender: No OFD packet to send [02:02:12]OFD Sender: No OFD packet to send [02:02:17]OFD Sender: No OFD packet to send [02:02:22]OFD Sender: No OFD packet to send [02:02:27]OFD Sender: No OFD packet to send [02:02:32]OFD Sender: No OFD packet to send [02:02:37]OFD Sender: No OFD packet to send [02:02:42]OFD Sender: No OFD packet to send [02:02:47]OFD Sender: No OFD packet to send [02:02:52]OFD Sender: No OFD packet to send [02:02:57]OFD Sender: No OFD packet to send [02:03:02]OFD Sender: No OFD packet to send [02:03:07]OFD Sender: No OFD packet to send [02:03:12]OFD Sender: No OFD packet to send [02:03:17]OFD Sender: No OFD packet to send [02:03:22]OFD Sender: No OFD packet to send [02:03:27]OFD Sender: No OFD packet to send [02:03:32]OFD Sender: No OFD packet to send [02:03:37]OFD Sender: No OFD packet to send [02:03:42]OFD Sender: No OFD packet to send [02:03:47]OFD Sender: No OFD packet to send [02:03:52]OFD Sender: No OFD packet to send [02:03:57]OFD Sender: No OFD packet to send [02:04:02]OFD Sender: No OFD packet to send [02:04:07]OFD Sender: No OFD packet to send [02:04:12]OFD Sender: No OFD packet to send [02:04:17]OFD Sender: No OFD packet to send [02:04:22]OFD Sender: No OFD packet to send [02:04:27]OFD Sender: No OFD packet to send [02:04:32]OFD Sender: No OFD packet to send [02:04:37]OFD Sender: No OFD packet to send [02:04:42]OFD Sender: No OFD packet to send [02:04:47]OFD Sender: No OFD packet to send [02:04:52]OFD Sender: No OFD packet to send [02:04:57]OFD Sender: No OFD packet to send [02:05:02]OFD Sender: No OFD packet to send [02:05:03]accept exits with 9 [02:05:03]New connection [02:05:03]New thread 3066854756 created [02:05:03]Thread 3066998116 joined [02:05:03]Waiting for new connection... [02:05:03] Sock 9.Parse request [02:05:03]Sock 9.Check first char [02:05:03]Sock 9.First char is OK [02:05:03]request: POST /json_proto HTTP/1.0 [02:05:03]Method: POST [02:05:03]URL: /json_proto [02:05:03]Method is POST - this is cgi request [02:05:03]url: /json_proto [02:05:03]query_string will be loaded in cgi processing [02:05:03]execute_cgi json_proto POST (null) [02:05:03]execute_cgi path=json_proto method=POST [02:05:03]POST find Content-Length [02:05:03]Host: 172.17.39.4:8080 [02:05:03]Content-Length: 945 [02:05:03]Content-Type: application/json [02:05:03] [02:05:03]POST finish read [02:05:03]Found Content-Length = 945 [02:05:03]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129700", "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" : 2.000, "sum" : 360.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" : 360.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:03]execute_script... [02:05:03]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129700", "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" : 2.000, "sum" : 360.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" : 360.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:03]POST & json_proto [02:05:03]process_json_proto [02:05:03]json parsed OK: [02:05:03]protocol is kg_v1.0 [02:05:03]action value=close_receipt [02:05:03]process_action close_receipt [02:05:03]cmd_close_receipt [02:05:03]MH_GetDate [02:05:03]Write to MH i2c: F0 00 00 5C 02 4D [02:05:03]Write i2c OK [02:05:03]MH_I2C_Read... [02:05:03]Read from MH i2c: F0 [02:05:03]MH_I2C_Read... [02:05:03]Read from MH i2c: F0 09 00 [02:05:03]MH_I2C_Read... [02:05:03]Read from MH i2c: F0 09 00 5C 02 00 50 D5 95 66 2D 25 5D 64 89 [02:05:03]GetLastDocTimeStamp 1721095199 [02:05:03]current date 1721095504 [02:05:03]FM_GetShiftState [02:05:03]SAM_PROTO_GetShiftState [02:05:03]wFMCommunicate request_size=4 [02:05:03]MH_SAM_APDU [02:05:03]CAPDU: 80 13 01 00 [02:05:03]Write to MH i2c: E2 08 00 5D 02 80 13 01 00 00 00 00 00 DC [02:05:03]Write i2c OK [02:05:03]MH_I2C_Read... [02:05:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:05:03]Read from MH i2c: E2 [02:05:03]MH_I2C_Read... [02:05:03]Read from MH i2c: E2 0E 00 [02:05:03]MH_I2C_Read... [02:05:03]Read from MH i2c: E2 0E 00 5D 02 00 09 00 01 8A BF 95 66 00 00 00 00 90 00 2C [02:05:03]RAPDU: 09 00 01 8A BF 95 66 00 00 00 00 90 00 [02:05:03]wFMCommunicate OK [02:05:03]SAM_PROTO_GetShiftState done [02:05:03]FM_GetShiftState done [02:05:03]opened in 1721089930 [02:05:03]opened+sec_in_day 1721176330 [02:05:03]quantity*price = 36000 [02:05:03]sum+1 = 36001 [02:05:03]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 360.00 НСП 1% : 3.19 НДС 12% : 38.23 Наличными: 0.00 Безнал.: 360.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 19 16.07.2024 02:05 Смена: 498 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000874857 ФД: 57265 ФПД: 260148126677375 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240716T020504&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57265&fm=260148126677375&tin=02508201610067®Number=0000000000091208&sum=36000 0 [02:05:05]StoreToDocumentArchive [02:05:05]shift 498 fd 57265 [02:05:05]save to /storage/0498/doc_00057265 [02:05:05]save last doc name /storage/0498/doc_00057265 to /storage/kkm_last_doc_name [02:05:05]save OK [02:05:05]Clear old archive folders... [02:05:05]ProcessDocumentItem done err = 0, tmpTLVsize=272 [02:05:05]tlvbuf is 002CFF70 [02:05:05]SAM_PROTO_ClearQueue [02:05:05]wFMCommunicate request_size=4 [02:05:05]MH_SAM_APDU [02:05:05]CAPDU: 80 09 00 00 [02:05:05]Write to MH i2c: E2 08 00 6A 02 80 09 00 00 00 00 00 00 DE [02:05:05]Write i2c OK [02:05:05]MH_I2C_Read... [02:05:05]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [02:05:05]Read from MH i2c: E2 [02:05:05]MH_I2C_Read... [02:05:05]Read from MH i2c: E2 03 00 [02:05:05]MH_I2C_Read... [02:05:05]Read from MH i2c: E2 03 00 6A 02 00 90 00 E0 [02:05:05]RAPDU: 90 00 [02:05:05]wFMCommunicate OK [02:05:05]SAM_PROTO_ClearQueue done [02:05:05]KKMCreateOFDPacket [02:05:05]OFDProtocolAddRootSTLVToBuf [02:05:05]FM_MakeSignedData [02:05:05]FM_MakeSignedData [02:05:05]SAM_PROTO_SignData [02:05:05]wFMCommunicate request_size=4 [02:05:05]MH_SAM_APDU [02:05:05]CAPDU: 80 0D 01 02 [02:05:05]Write to MH i2c: E2 08 00 6B 02 80 0D 01 02 00 00 00 00 E6 [02:05:05]Write i2c OK [02:05:05]MH_I2C_Read... [02:05:05]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [02:05:05]Read from MH i2c: E2 [02:05:05]MH_I2C_Read... [02:05:05]Read from MH i2c: E2 03 00 [02:05:05]MH_I2C_Read... [02:05:05]Read from MH i2c: E2 03 00 6B 02 00 90 00 E1 [02:05:05]RAPDU: 90 00 [02:05:05]wFMCommunicate OK [02:05:05]wFMCommunicate request_size=255 [02:05:05]MH_SAM_APDU [02:05:05]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 D0 07 00 00 00 00 00 37 04 06 00 50 46 00 00 00 00 13 04 06 00 A0 8C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 8C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3F 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EF 0E 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 A0 8C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 50 D5 95 66 0E 04 04 00 F2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 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:05:05]Write to MH i2c: E2 02 01 6C 02 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 D0 07 00 00 00 00 00 37 04 06 00 50 46 00 00 00 00 13 04 06 00 A0 8C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 8C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3F 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EF 0E 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 A0 8C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 50 D5 95 66 0E 04 04 00 F2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 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 B2 [02:05:05]Write i2c OK [02:05:05]MH_I2C_Read... [02:05:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:05:05]Read from MH i2c: E2 [02:05:05]MH_I2C_Read... [02:05:05]Read from MH i2c: E2 03 00 [02:05:05]MH_I2C_Read... [02:05:05]Read from MH i2c: E2 03 00 6C 02 00 90 00 E2 [02:05:05]RAPDU: 90 00 [02:05:05]wFMCommunicate OK [02:05:05]wFMCommunicate request_size=31 [02:05:05]MH_SAM_APDU [02:05:05]CAPDU: 80 0D 02 02 1A 30 30 38 37 34 38 35 37 10 04 04 00 B1 DF 00 00 35 04 06 00 EC 9A 74 AD F9 7F [02:05:05]Write to MH i2c: E2 22 00 6D 02 80 0D 02 02 1A 00 30 30 38 37 34 38 35 37 10 04 04 00 B1 DF 00 00 35 04 06 00 EC 9A 74 AD F9 7F 00 00 CA [02:05:05]Write i2c OK [02:05:05]MH_I2C_Read... [02:05:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:05:05]Read from MH i2c: E2 [02:05:05]MH_I2C_Read... [02:05:05]Read from MH i2c: E2 03 00 [02:05:05]MH_I2C_Read... [02:05:05]Read from MH i2c: E2 03 00 6D 02 00 90 00 E3 [02:05:05]RAPDU: 90 00 [02:05:05]wFMCommunicate OK [02:05:05]wFMCommunicate request_size=4 [02:05:05]MH_SAM_APDU [02:05:05]CAPDU: 80 0D 03 02 [02:05:05]Write to MH i2c: E2 08 00 6E 02 80 0D 03 02 00 00 00 00 EB [02:05:05]Write i2c OK [02:05:05]MH_I2C_Read... [02:05:05]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [02:05:05]Read from MH i2c: E2 [02:05:05]MH_I2C_Read... [02:05:05]Read from MH i2c: E2 0B 00 [02:05:05]MH_I2C_Read... [02:05:05]Read from MH i2c: E2 0B 00 6E 02 00 34 9C 0E 7D 03 47 F3 0E 90 00 92 [02:05:05]RAPDU: 34 9C 0E 7D 03 47 F3 0E 90 00 [02:05:05]wFMCommunicate OK [02:05:05]SAM_PROTO_SignData done [02:05:05]FM_MakeSignedData done [02:05:05]CreateOFDProtocolMessage [02:05:05]wFMCommunicate request_size=4 [02:05:05]MH_SAM_APDU [02:05:05]CAPDU: 80 11 00 00 [02:05:05]Write to MH i2c: E2 08 00 6F 02 80 11 00 00 00 00 00 00 EB [02:05:05]Write i2c OK [02:05:05]MH_I2C_Read... [02:05:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:05:05]Read from MH i2c: E2 [02:05:05]MH_I2C_Read... [02:05:05]Read from MH i2c: E2 17 00 [02:05:05]MH_I2C_Read... [02:05:05]Read from MH i2c: E2 17 00 6F 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 45 [02:05:05]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:05]wFMCommunicate OK [02:05:05]CreateOFDProtocolMessage done [02:05:05]OFDSenderStorePacket 57265 [02:05:05]StoreOFDPacket docnum=57265 [02:05: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 24 01 00 00 19 53 1C 01 94 CB 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 D0 07 00 00 00 00 00 37 04 06 00 50 46 00 00 00 00 13 04 06 00 A0 8C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 8C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3F 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EF 0E 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 A0 8C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 50 D5 95 66 0E 04 04 00 F2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 B1 DF 00 00 35 04 06 00 EC 9A 74 AD F9 7F 34 9C 0E 7D 03 47 F3 0E [02:05:05]CheckFolder [02:05:05]dirname=/storage/ofd_packets [02:05:05]CheckFolder done [02:05:05]ProducePacketName [02:05:05]name=ofd_packets/00057265 [02:05:05]NVStorageSaveData ofd_packets/00057265 [02:05:05]File name is /storage/ofd_packets/00057265 [02:05:05]Write 322 bytes [02:05:05]NVStorageSaveData done [02:05:05]OFDSenderStorePacket done [02:05:05]KKMCreateOFDPacket done [02:05:05]NVStorageSaveData kkm_last_timestamp [02:05:05]File name is /storage/kkm_last_timestamp [02:05:05]Write 4 bytes [02:05:05]NVStorageSaveData done [02:05:05]ExternCall_PrintAddStr [02:05:05]wPrintStart [02:05:05]Write to MH i2c: 01 00 00 70 02 72 [02:05:05]Write i2c OK [02:05:05]MH_I2C_Read... [02:05:05]Read from MH i2c: 01 [02:05:05]MH_I2C_Read... [02:05:05]Read from MH i2c: 01 07 00 [02:05:05]MH_I2C_Read... [02:05:05]Read from MH i2c: 01 07 00 70 02 00 00 00 00 00 FF 0F 87 [02:05:05]RasterBufferAndPrint [02:05:05]line Счет N : (3)129700 [02:05:05]line ИНН: 02508201610067 [02:05:05]line Контрольно-Кассовый Чек [02:05:05]line ПРОДАЖА [02:05:05]line Товар: 4700000480517 [02:05:05]line Пиво Живое 1л ПЭТ [02:05:05]line 2.000 * 180.00 [02:05:05]line = 360.00 [02:05:05]line НДС 12% НСП 1% [02:05:05]line > о реализуемом товаре [02:05:05]line ИТОГО: 360.00 [02:05:05]line НСП 1% : 3.19 [02:05:05]line НДС 12% : 38.23 [02:05:05]line Наличными: 0.00 [02:05:05]line Безнал.: 360.00 [02:05:05]line Место: АЗС № 132 "Партнер Нефть" [02:05:05]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [02:05:05]line СНО: Общий режим [02:05:05]line Чек 19 16.07.2024 02:05 [02:05:05]line Смена: 498 ФФД: 1.0 [02:05:05]line ЗНМ: 0300000132 [02:05:05]line РНМ: 0000000000091208 [02:05:05]line Версия ККМ: 001 [02:05:05]line Платежная система: АКБ Кыргызстан [02:05:05]line ФМ: 0000000000874857 [02:05:05]line ФД: 57265 [02:05:05]line ФПД: 260148126677375 [02:05:05]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240716T020504&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57265&fm=260148126677375&tin=02508201610067®Number=0000000000091208&sum=36000 [02:05:05]OFD Sender: Processing packet 57265 [packets to send 38, broken 37] [02:05:05]ProducePacketName [02:05:05]name=ofd_packets/00057265 [02:05:05]OFD Sender: To server: pG, [02:05:05]CommunicateWithHost lk.salyk.kg:30040 [02:05:05]ConnectInit lk.salyk.kg [02:05:05]line 0 [02:05:05]written 0, free lines is 4095 [02:05:06]Connected sock=10 [02:05: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 24 01 00 00 19 53 1C 01 94 CB 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 D0 07 00 00 00 00 00 37 04 06 00 50 46 00 00 00 00 13 04 06 00 A0 8C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 8C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3F 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EF 0E 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 A0 8C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 50 D5 95 66 0E 04 04 00 F2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 B1 DF 00 00 35 04 06 00 EC 9A 74 AD F9 7F 34 9C 0E 7D 03 47 F3 0E [02:05: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 DF 53 47 00 73 05 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 B1 DF 00 00 F4 03 04 00 9C 7B 95 66 B6 04 01 00 00 13 51 80 7C 8D D7 30 34 [02:05:06]CommunicateWithHost err = 0 [02:05:06]CheckOFDResponse [02:05:06]1017 (14) - 77093643461234 [02:05:06]1041 (16) - 0000000000874857 [02:05:06]1040 (4) - 57265 [02:05:06]1012 (4) - 15.07.2024 19:42 [02:05:06]1206 (1) - 0 [02:05:06]OFD Sender: Remove packet 57265 [02:05:06]ProducePacketName [02:05:06]name=ofd_packets/00057265 [02:05:06]NVStorageDeleteData [02:05:06]Write to MH i2c: 01 00 00 9A 02 9C [02:05:06]Write i2c OK [02:05:06]MH_I2C_Read... [02:05:06]Read from MH i2c: 01 [02:05:06]MH_I2C_Read... [02:05:06]Read from MH i2c: 01 07 00 [02:05:06]MH_I2C_Read... [02:05:06]Read from MH i2c: 01 07 00 9A 02 00 00 00 00 00 02 0D B2 [02:05:06]RasterBufferAndPrint [02:05:06]line [02:05:06]line [02:05:06]line [02:05:06]line [02:05:06]line [02:05:06]written 0, free lines is 3336 [02:05:06]MH_Cut [02:05:06]Write to MH i2c: D1 01 00 A1 02 01 75 [02:05:06]Write i2c OK [02:05:06]MH_I2C_Read... [02:05:06]Read from MH i2c: D1 [02:05:06]MH_I2C_Read... [02:05:06]Read from MH i2c: D1 01 00 [02:05:06]MH_I2C_Read... [02:05:06]Read from MH i2c: D1 01 00 A1 02 00 74 [02:05:06]Write to MH i2c: 01 00 00 A2 02 A4 [02:05:06]Write i2c OK [02:05:06]MH_I2C_Read... [02:05:06]OFD Sender: No OFD packet to send [02:05:07]*** Cut start [02:05:07]*** Partial cut [02:05:07]*** CUTSNS_PIN = 1 [02:05:07]*** CUTSNS_PIN = 0 [02:05:07]*** Brake cut motor [02:05:07]Read from MH i2c: 01 [02:05:07]MH_I2C_Read... [02:05:07]*** Stop cut motor [02:05:07]*** Cut end [02:05:07]Read from MH i2c: 01 07 00 [02:05:07]MH_I2C_Read... [02:05:07]Read from MH i2c: 01 07 00 A2 02 00 00 00 00 00 FF 0F B9 [02:05:07]process_action close_receipt done [02:05:07]requested_data is exist [02:05:07]produce_requested_data [02:05:07]requested_item fm.sn is exist - process it [02:05:07]wFMCommunicate request_size=4 [02:05:07]MH_SAM_APDU [02:05:07]CAPDU: 80 11 00 00 [02:05:07]Write to MH i2c: E2 08 00 A3 02 80 11 00 00 00 00 00 00 1F [02:05:07]Write i2c OK [02:05:07]MH_I2C_Read... [02:05:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:05:07]Read from MH i2c: E2 [02:05:07]MH_I2C_Read... [02:05:07]Read from MH i2c: E2 17 00 [02:05:07]MH_I2C_Read... [02:05:07]Read from MH i2c: E2 17 00 A3 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 79 [02:05:07]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:07]wFMCommunicate OK [02:05:07]requested_item fd.num is exist - process it [02:05:07]SAM_PROTO_GetFieldsCounters [02:05:07]wFMCommunicate request_size=4 [02:05:07]MH_SAM_APDU [02:05:07]CAPDU: 80 13 00 00 [02:05:07]Write to MH i2c: E2 08 00 A4 02 80 13 00 00 00 00 00 00 22 [02:05:07]Write i2c OK [02:05:07]MH_I2C_Read... [02:05:07]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [02:05:07]Read from MH i2c: E2 [02:05:07]MH_I2C_Read... [02:05:07]Read from MH i2c: E2 62 00 [02:05:07]MH_I2C_Read... [02:05:07]Read from MH i2c: E2 62 00 A4 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 B1 DF 00 00 0E 04 04 00 F2 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 01 [02:05: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 B1 DF 00 00 0E 04 04 00 F2 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 [02:05:07]wFMCommunicate OK [02:05:07]SAM_PROTO_GetFieldsCounters done [02:05:07]requested_item shift.num is exist - process it [02:05:07]requested_item shift.opened is exist - process it [02:05:07]req_shift_opened [02:05:07]FM_GetShiftState [02:05:07]SAM_PROTO_GetShiftState [02:05:07]wFMCommunicate request_size=4 [02:05:07]MH_SAM_APDU [02:05:07]CAPDU: 80 13 01 00 [02:05:07]Write to MH i2c: E2 08 00 A5 02 80 13 01 00 00 00 00 00 24 [02:05:07]Write i2c OK [02:05:07]MH_I2C_Read... [02:05:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:05:08]Read from MH i2c: E2 [02:05:08]MH_I2C_Read... [02:05:08]Read from MH i2c: E2 0E 00 [02:05:08]MH_I2C_Read... [02:05:08]Read from MH i2c: E2 0E 00 A5 02 00 09 00 01 8A BF 95 66 00 00 00 00 90 00 74 [02:05:08]RAPDU: 09 00 01 8A BF 95 66 00 00 00 00 90 00 [02:05:08]wFMCommunicate OK [02:05:08]SAM_PROTO_GetShiftState done [02:05:08]FM_GetShiftState done [02:05:08]req_shift_opened done [02:05:08]requested_item shift.open_date is exist - process it [02:05:08]req_shift_open_date [02:05:08]req_shift_open_date done [02:05:08]requested_item shift.sale.total is exist - process it [02:05:08]SAM_PROTO_GetShiftData [02:05:08]wFMCommunicate request_size=4 [02:05:08]MH_SAM_APDU [02:05:08]CAPDU: 80 13 02 00 [02:05:08]Write to MH i2c: E2 08 00 A6 02 80 13 02 00 00 00 00 00 26 [02:05:08]Write i2c OK [02:05:08]MH_I2C_Read... [02:05:08]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [02:05:08]Read from MH i2c: E2 [02:05:08]MH_I2C_Read... [02:05:08]Read from MH i2c: E2 FD 00 [02:05:08]MH_I2C_Read... [02:05:08]Read from MH i2c: E2 FD 00 A6 02 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 80 A4 08 70 04 03 00 54 44 03 72 04 03 00 2C 60 05 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 F3 EA EF 03 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 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 E8 [02:05:08]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 80 A4 08 70 04 03 00 54 44 03 72 04 03 00 2C 60 05 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 F3 EA EF 03 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 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 [02:05:08]wFMCommunicate OK [02:05:08]wFMCommunicate request_size=4 [02:05:08]MH_SAM_APDU [02:05:08]CAPDU: 80 17 00 00 [02:05:08]Write to MH i2c: E2 08 00 A7 02 80 17 00 00 00 00 00 00 29 [02:05:08]Write i2c OK [02:05:08]MH_I2C_Read... [02:05:08]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [02:05:08]Read from MH i2c: E2 [02:05:08]MH_I2C_Read... [02:05:08]Read from MH i2c: E2 FD 00 [02:05:08]MH_I2C_Read... [02:05:08]Read from MH i2c: E2 FD 00 A7 02 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 3B [02:05:08]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:08]wFMCommunicate OK [02:05:08]wFMCommunicate request_size=4 [02:05:08]MH_SAM_APDU [02:05:08]CAPDU: 80 17 00 00 [02:05:08]Write to MH i2c: E2 08 00 A8 02 80 17 00 00 00 00 00 00 2A [02:05:08]Write i2c OK [02:05:08]MH_I2C_Read... [02:05:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [02:05:09]Read from MH i2c: E2 [02:05:09]MH_I2C_Read... [02:05:09]Read from MH i2c: E2 FD 00 [02:05:09]MH_I2C_Read... [02:05:09]Read from MH i2c: E2 FD 00 A8 02 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 EE [02:05:09]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:09]wFMCommunicate OK [02:05:09]wFMCommunicate request_size=4 [02:05:09]MH_SAM_APDU [02:05:09]CAPDU: 80 17 00 00 [02:05:09]Write to MH i2c: E2 08 00 A9 02 80 17 00 00 00 00 00 00 2B [02:05:09]Write i2c OK [02:05:09]MH_I2C_Read... [02:05:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [02:05:09]Read from MH i2c: E2 [02:05:09]MH_I2C_Read... [02:05:09]Read from MH i2c: E2 FD 00 [02:05:09]MH_I2C_Read... [02:05:09]Read from MH i2c: E2 FD 00 A9 02 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 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 A0 [02:05:09]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:09]wFMCommunicate OK [02:05:09]wFMCommunicate request_size=4 [02:05:09]MH_SAM_APDU [02:05:09]CAPDU: 80 17 00 00 [02:05:09]Write to MH i2c: E2 08 00 AA 02 80 17 00 00 00 00 00 00 2C [02:05:09]Write i2c OK [02:05:09]MH_I2C_Read... [02:05:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [02:05:09]Read from MH i2c: E2 [02:05:09]MH_I2C_Read... [02:05:09]Read from MH i2c: E2 CA 00 [02:05:09]MH_I2C_Read... [02:05:09]Read from MH i2c: E2 CA 00 AA 02 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 11 [02:05:09]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:09]wFMCommunicate OK [02:05:09]SAM_PROTO_GetShiftData done [02:05:09]requested_item shift.sale.total_cash is exist - process it [02:05:09]requested_item shift.sale_refund.total is exist - process it [02:05:09]requested_item shift.sale_refund.total_cash is exist - process it [02:05:09]produce_requested_data done [02:05:09]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57265,"shift.num":498,"shift.opened":1,"shift.open_date":1721089930,"shift.sale.total":5664.00,"shift.sale.total_cash":2141.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [02:05:09]process_action_free close_receipt [02:05:09]json_value_free [02:05:09]json_value_free done [02:05:09]process_json_proto returns [02:05:09]Send response to host [02:05:09]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57265,"shift.num":498,"shift.opened":1,"shift.open_date":1721089930,"shift.sale.total":5664.00,"shift.sale.total_cash":2141.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [02:05:09]free response buf [02:05:09]execute_script done [02:05:09]execute_script returns [02:05:09]free content buf [02:05:09]Sock 9.Close socket [02:05:09]Sock 9.Thread stoped [02:05:11]OFD Sender: No OFD packet to send [02:05:16]OFD Sender: No OFD packet to send [02:05:21]OFD Sender: No OFD packet to send [02:05:26]OFD Sender: No OFD packet to send [02:05:31]OFD Sender: No OFD packet to send [02:05:36]OFD Sender: No OFD packet to send [02:05:41]OFD Sender: No OFD packet to send [02:05:46]OFD Sender: No OFD packet to send [02:05:51]OFD Sender: No OFD packet to send [02:05:56]OFD Sender: No OFD packet to send [02:06:01]OFD Sender: No OFD packet to send [02:06:06]OFD Sender: No OFD packet to send [02:06:11]OFD Sender: No OFD packet to send [02:06:14]accept exits with 8 [02:06:14]New connection [02:06:14]New thread 3066998116 created [02:06:14]Thread 3066854756 joined [02:06:14]Waiting for new connection... [02:06:14] Sock 8.Parse request [02:06:14]Sock 8.Check first char [02:06:14]Sock 8.First char is OK [02:06:14]request: POST /json_proto HTTP/1.0 [02:06:14]Method: POST [02:06:14]URL: /json_proto [02:06:14]Method is POST - this is cgi request [02:06:14]url: /json_proto [02:06:14]query_string will be loaded in cgi processing [02:06:14]execute_cgi json_proto POST (null) [02:06:14]execute_cgi path=json_proto method=POST [02:06:14]POST find Content-Length [02:06:14]Host: 172.17.39.4:8080 [02:06:14]Content-Length: 734 [02:06:14]Content-Type: application/json [02:06:14] [02:06:14]POST finish read [02:06:14]Found Content-Length = 734 [02:06:14]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129701", "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" ] } } [02:06:14]execute_script... [02:06: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)129701", "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" ] } } [02:06:14]POST & json_proto [02:06:14]process_json_proto [02:06:14]json parsed OK: [02:06:14]protocol is kg_v1.0 [02:06:14]action value=close_receipt [02:06:14]process_action close_receipt [02:06:14]cmd_close_receipt [02:06:14]MH_GetDate [02:06:14]Write to MH i2c: F0 00 00 AB 02 9C [02:06:14]Write i2c OK [02:06:14]MH_I2C_Read... [02:06:14]Read from MH i2c: F0 [02:06:14]MH_I2C_Read... [02:06:14]Read from MH i2c: F0 09 00 [02:06:14]MH_I2C_Read... [02:06:14]Read from MH i2c: F0 09 00 AB 02 00 96 D5 95 66 2D 25 5D 64 1E [02:06:14]GetLastDocTimeStamp 1721095504 [02:06:14]current date 1721095574 [02:06:14]FM_GetShiftState [02:06:14]SAM_PROTO_GetShiftState [02:06:14]wFMCommunicate request_size=4 [02:06:14]MH_SAM_APDU [02:06:14]CAPDU: 80 13 01 00 [02:06:14]Write to MH i2c: E2 08 00 AC 02 80 13 01 00 00 00 00 00 2B [02:06:14]Write i2c OK [02:06:14]MH_I2C_Read... [02:06:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:06:14]Read from MH i2c: E2 [02:06:14]MH_I2C_Read... [02:06:14]Read from MH i2c: E2 0E 00 [02:06:14]MH_I2C_Read... [02:06:14]Read from MH i2c: E2 0E 00 AC 02 00 09 00 01 8A BF 95 66 00 00 00 00 90 00 7B [02:06:14]RAPDU: 09 00 01 8A BF 95 66 00 00 00 00 90 00 [02:06:14]wFMCommunicate OK [02:06:14]SAM_PROTO_GetShiftState done [02:06:14]FM_GetShiftState done [02:06:14]opened in 1721089930 [02:06:14]opened+sec_in_day 1721176330 [02:06:14]quantity*price = 5000 [02:06:14]sum+1 = 5001 [02:06:14]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 СНО: Общий режим Чек 20 16.07.2024 02:06 Смена: 498 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57266 ФПД: 220814405260064 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240716T020614&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57266&fm=220814405260064&tin=02508201610067®Number=0000000000091208&sum=5000 0 [02:06:15]StoreToDocumentArchive [02:06:15]shift 498 fd 57266 [02:06:15]save to /storage/0498/doc_00057266 [02:06:15]save last doc name /storage/0498/doc_00057266 to /storage/kkm_last_doc_name [02:06:15]save OK [02:06:15]Clear old archive folders... [02:06:15]ProcessDocumentItem done err = 0, tmpTLVsize=269 [02:06:15]tlvbuf is 002D9950 [02:06:15]SAM_PROTO_ClearQueue [02:06:15]wFMCommunicate request_size=4 [02:06:15]MH_SAM_APDU [02:06:15]CAPDU: 80 09 00 00 [02:06:15]Write to MH i2c: E2 08 00 B9 02 80 09 00 00 00 00 00 00 2D [02:06:15]Write i2c OK [02:06:15]MH_I2C_Read... [02:06:15]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [02:06:15]Read from MH i2c: E2 [02:06:15]MH_I2C_Read... [02:06:15]Read from MH i2c: E2 03 00 [02:06:15]MH_I2C_Read... [02:06:15]Read from MH i2c: E2 03 00 B9 02 00 90 00 2F [02:06:15]RAPDU: 90 00 [02:06:15]wFMCommunicate OK [02:06:15]SAM_PROTO_ClearQueue done [02:06:15]KKMCreateOFDPacket [02:06:15]OFDProtocolAddRootSTLVToBuf [02:06:15]FM_MakeSignedData [02:06:15]FM_MakeSignedData [02:06:15]SAM_PROTO_SignData [02:06:15]wFMCommunicate request_size=4 [02:06:15]MH_SAM_APDU [02:06:15]CAPDU: 80 0D 01 02 [02:06:15]Write to MH i2c: E2 08 00 BA 02 80 0D 01 02 00 00 00 00 35 [02:06:15]Write i2c OK [02:06:15]MH_I2C_Read... [02:06:15]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [02:06:15]Read from MH i2c: E2 [02:06:15]MH_I2C_Read... [02:06:15]Read from MH i2c: E2 03 00 [02:06:15]MH_I2C_Read... [02:06:15]Read from MH i2c: E2 03 00 BA 02 00 90 00 30 [02:06:15]RAPDU: 90 00 [02:06:15]wFMCommunicate OK [02:06:15]wFMCommunicate request_size=255 [02:06:15]MH_SAM_APDU [02:06:15]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 14 00 00 00 F4 03 04 00 96 D5 95 66 0E 04 04 00 F2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 [02:06:15]Write to MH i2c: E2 02 01 BB 02 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 14 00 00 00 F4 03 04 00 96 D5 95 66 0E 04 04 00 F2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 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 B4 [02:06:15]Write i2c OK [02:06:15]MH_I2C_Read... [02:06:15]Read from MH i2c: E2 [02:06:15]MH_I2C_Read... [02:06:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:06:15]Read from MH i2c: E2 03 00 [02:06:15]MH_I2C_Read... [02:06:15]Read from MH i2c: E2 03 00 BB 02 00 90 00 31 [02:06:15]RAPDU: 90 00 [02:06:15]wFMCommunicate OK [02:06:15]wFMCommunicate request_size=28 [02:06:15]MH_SAM_APDU [02:06:15]CAPDU: 80 0D 02 02 17 37 34 38 35 37 10 04 04 00 B2 DF 00 00 35 04 06 00 C8 D4 5C 2F D3 20 [02:06:15]Write to MH i2c: E2 1F 00 BC 02 80 0D 02 02 17 00 37 34 38 35 37 10 04 04 00 B2 DF 00 00 35 04 06 00 C8 D4 5C 2F D3 20 00 00 77 [02:06:15]Write i2c OK [02:06:15]MH_I2C_Read... [02:06:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:06:15]Read from MH i2c: E2 [02:06:15]MH_I2C_Read... [02:06:15]Read from MH i2c: E2 03 00 [02:06:15]MH_I2C_Read... [02:06:15]Read from MH i2c: E2 03 00 BC 02 00 90 00 32 [02:06:15]RAPDU: 90 00 [02:06:15]wFMCommunicate OK [02:06:15]wFMCommunicate request_size=4 [02:06:15]MH_SAM_APDU [02:06:15]CAPDU: 80 0D 03 02 [02:06:15]Write to MH i2c: E2 08 00 BD 02 80 0D 03 02 00 00 00 00 3A [02:06:15]Write i2c OK [02:06:15]MH_I2C_Read... [02:06:15]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [02:06:15]Read from MH i2c: E2 [02:06:15]MH_I2C_Read... [02:06:15]Read from MH i2c: E2 0B 00 [02:06:15]MH_I2C_Read... [02:06:15]Read from MH i2c: E2 0B 00 BD 02 00 1E 5A 0B CD E3 37 EB 99 90 00 29 [02:06:15]RAPDU: 1E 5A 0B CD E3 37 EB 99 90 00 [02:06:15]wFMCommunicate OK [02:06:15]SAM_PROTO_SignData done [02:06:15]FM_MakeSignedData done [02:06:15]CreateOFDProtocolMessage [02:06:15]wFMCommunicate request_size=4 [02:06:15]MH_SAM_APDU [02:06:15]CAPDU: 80 11 00 00 [02:06:15]Write to MH i2c: E2 08 00 BE 02 80 11 00 00 00 00 00 00 3A [02:06:15]Write i2c OK [02:06:15]MH_I2C_Read... [02:06:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:06:15]Read from MH i2c: E2 [02:06:15]MH_I2C_Read... [02:06:15]Read from MH i2c: E2 17 00 [02:06:15]MH_I2C_Read... [02:06:15]Read from MH i2c: E2 17 00 BE 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 94 [02:06:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [02:06:15]wFMCommunicate OK [02:06:15]CreateOFDProtocolMessage done [02:06:15]OFDSenderStorePacket 57266 [02:06:15]StoreOFDPacket docnum=57266 [02:06: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 21 01 00 00 D0 71 19 01 F5 39 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 14 00 00 00 F4 03 04 00 96 D5 95 66 0E 04 04 00 F2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 B2 DF 00 00 35 04 06 00 C8 D4 5C 2F D3 20 1E 5A 0B CD E3 37 EB 99 [02:06:15]CheckFolder [02:06:15]dirname=/storage/ofd_packets [02:06:15]CheckFolder done [02:06:15]ProducePacketName [02:06:15]name=ofd_packets/00057266 [02:06:15]NVStorageSaveData ofd_packets/00057266 [02:06:15]File name is /storage/ofd_packets/00057266 [02:06:15]Write 319 bytes [02:06:15]NVStorageSaveData done [02:06:15]OFDSenderStorePacket done [02:06:15]KKMCreateOFDPacket done [02:06:15]NVStorageSaveData kkm_last_timestamp [02:06:15]File name is /storage/kkm_last_timestamp [02:06:15]Write 4 bytes [02:06:15]NVStorageSaveData done [02:06:15]ExternCall_PrintAddStr [02:06:15]wPrintStart [02:06:15]Write to MH i2c: 01 00 00 BF 02 C1 [02:06:15]Write i2c OK [02:06:15]MH_I2C_Read... [02:06:15]Read from MH i2c: 01 [02:06:15]MH_I2C_Read... [02:06:15]Read from MH i2c: 01 07 00 [02:06:15]MH_I2C_Read... [02:06:15]Read from MH i2c: 01 07 00 BF 02 00 00 00 00 00 FF 0F D6 [02:06:15]RasterBufferAndPrint [02:06:15]line Счет N : (3)129701 [02:06:15]line ИНН: 02508201610067 [02:06:15]line Контрольно-Кассовый Чек [02:06:15]line ПРОДАЖА [02:06:15]line Товар: 4700000160358 [02:06:15]line Вода Легенда 1л [02:06:15]line 1.000 * 50.00 [02:06:15]line = 50.00 [02:06:15]line НДС 12% НСП 1% [02:06:15]line > о реализуемом товаре [02:06:15]line ИТОГО: 50.00 [02:06:15]line НСП 1% : 0.44 [02:06:15]line НДС 12% : 5.31 [02:06:15]line Наличными: 50.00 [02:06:15]line Безнал.: 0.00 [02:06:15]line Место: АЗС № 132 "Партнер Нефть" [02:06:15]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [02:06:15]line СНО: Общий режим [02:06:15]line Чек 20 16.07.2024 02:06 [02:06:15]line Смена: 498 ФФД: 1.0 [02:06:15]line ЗНМ: 0300000132 [02:06:15]line РНМ: 0000000000091208 [02:06:15]line Версия ККМ: 001 [02:06:15]line ФМ: 0000000000874857 [02:06:15]line ФД: 57266 [02:06:15]line ФПД: 220814405260064 [02:06:15]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240716T020614&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57266&fm=220814405260064&tin=02508201610067®Number=0000000000091208&sum=5000 [02:06:15]line 0 [02:06:15]written 0, free lines is 4095 [02:06:15]OFD Sender: Processing packet 57266 [packets to send 38, broken 37] [02:06:15]ProducePacketName [02:06:15]name=ofd_packets/00057266 [02:06:15]OFD Sender: To server: pG, [02:06:16]CommunicateWithHost lk.salyk.kg:30040 [02:06:16]ConnectInit lk.salyk.kg [02:06:16]Write to MH i2c: 01 00 00 E7 02 E9 [02:06:16]Write i2c OK [02:06:16]MH_I2C_Read... [02:06:16]Read from MH i2c: 01 [02:06:16]MH_I2C_Read... [02:06:16]Read from MH i2c: 01 07 00 [02:06:16]MH_I2C_Read... [02:06:16]Read from MH i2c: 01 07 00 E7 02 00 00 00 00 00 03 0D 00 [02:06:16]RasterBufferAndPrint [02:06:16]line [02:06:16]line [02:06:16]line [02:06:16]line [02:06:16]line [02:06:16]written 0, free lines is 3337 [02:06:16]MH_Cut [02:06:16]Write to MH i2c: D1 01 00 EE 02 01 C2 [02:06:16]Write i2c OK [02:06:16]MH_I2C_Read... [02:06:16]Read from MH i2c: D1 [02:06:16]MH_I2C_Read... [02:06:16]Read from MH i2c: D1 01 00 [02:06:16]MH_I2C_Read... [02:06:16]Read from MH i2c: D1 01 00 EE 02 00 C1 [02:06:16]Write to MH i2c: 01 00 00 EF 02 F1 [02:06:16]Write i2c OK [02:06:16]MH_I2C_Read... [02:06:16]Connected sock=10 [02:06: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 21 01 00 00 D0 71 19 01 F5 39 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 14 00 00 00 F4 03 04 00 96 D5 95 66 0E 04 04 00 F2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 B2 DF 00 00 35 04 06 00 C8 D4 5C 2F D3 20 1E 5A 0B CD E3 37 EB 99 [02:06: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 71 25 47 00 92 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 B2 DF 00 00 F4 03 04 00 E3 7B 95 66 B6 04 01 00 00 3F B5 45 D1 B5 BD FA B2 [02:06:16]CommunicateWithHost err = 0 [02:06:16]CheckOFDResponse [02:06:16]1017 (14) - 77093643461234 [02:06:16]1041 (16) - 0000000000874857 [02:06:16]1040 (4) - 57266 [02:06:16]1012 (4) - 15.07.2024 19:43 [02:06:16]1206 (1) - 0 [02:06:16]OFD Sender: Remove packet 57266 [02:06:16]ProducePacketName [02:06:16]name=ofd_packets/00057266 [02:06:16]NVStorageDeleteData [02:06:16]*** Cut start [02:06:16]*** Partial cut [02:06:16]*** CUTSNS_PIN = 1 [02:06:16]OFD Sender: No OFD packet to send [02:06:16]*** CUTSNS_PIN = 0 [02:06:17]*** Brake cut motor [02:06:17]Read from MH i2c: 01 [02:06:17]MH_I2C_Read... [02:06:17]*** Stop cut motor [02:06:17]*** Cut end [02:06:17]Read from MH i2c: 01 07 00 [02:06:17]MH_I2C_Read... [02:06:17]Read from MH i2c: 01 07 00 EF 02 00 00 00 00 00 FF 0F 06 [02:06:17]process_action close_receipt done [02:06:17]requested_data is exist [02:06:17]produce_requested_data [02:06:17]requested_item fm.sn is exist - process it [02:06:17]wFMCommunicate request_size=4 [02:06:17]MH_SAM_APDU [02:06:17]CAPDU: 80 11 00 00 [02:06:17]Write to MH i2c: E2 08 00 F0 02 80 11 00 00 00 00 00 00 6C [02:06:17]Write i2c OK [02:06:17]MH_I2C_Read... [02:06:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:06:17]Read from MH i2c: E2 [02:06:17]MH_I2C_Read... [02:06:17]Read from MH i2c: E2 17 00 [02:06:17]MH_I2C_Read... [02:06:17]Read from MH i2c: E2 17 00 F0 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 C6 [02:06:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [02:06:17]wFMCommunicate OK [02:06:17]requested_item fd.num is exist - process it [02:06:17]SAM_PROTO_GetFieldsCounters [02:06:17]wFMCommunicate request_size=4 [02:06:17]MH_SAM_APDU [02:06:17]CAPDU: 80 13 00 00 [02:06:17]Write to MH i2c: E2 08 00 F1 02 80 13 00 00 00 00 00 00 6F [02:06:17]Write i2c OK [02:06:17]MH_I2C_Read... [02:06:17]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [02:06:17]Read from MH i2c: E2 [02:06:17]MH_I2C_Read... [02:06:17]Read from MH i2c: E2 62 00 [02:06:17]MH_I2C_Read... [02:06:17]Read from MH i2c: E2 62 00 F1 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 B2 DF 00 00 0E 04 04 00 F2 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 52 [02:06: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 B2 DF 00 00 0E 04 04 00 F2 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 [02:06:17]wFMCommunicate OK [02:06:17]SAM_PROTO_GetFieldsCounters done [02:06:17]requested_item shift.num is exist - process it [02:06:17]requested_item shift.opened is exist - process it [02:06:17]req_shift_opened [02:06:17]FM_GetShiftState [02:06:17]SAM_PROTO_GetShiftState [02:06:17]wFMCommunicate request_size=4 [02:06:17]MH_SAM_APDU [02:06:17]CAPDU: 80 13 01 00 [02:06:17]Write to MH i2c: E2 08 00 F2 02 80 13 01 00 00 00 00 00 71 [02:06:17]Write i2c OK [02:06:17]MH_I2C_Read... [02:06:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:06:17]Read from MH i2c: E2 [02:06:17]MH_I2C_Read... [02:06:17]Read from MH i2c: E2 0E 00 [02:06:17]MH_I2C_Read... [02:06:17]Read from MH i2c: E2 0E 00 F2 02 00 09 00 01 8A BF 95 66 00 00 00 00 90 00 C1 [02:06:17]RAPDU: 09 00 01 8A BF 95 66 00 00 00 00 90 00 [02:06:17]wFMCommunicate OK [02:06:17]SAM_PROTO_GetShiftState done [02:06:17]FM_GetShiftState done [02:06:17]req_shift_opened done [02:06:17]requested_item shift.open_date is exist - process it [02:06:17]req_shift_open_date [02:06:17]req_shift_open_date done [02:06:17]requested_item shift.sale.total is exist - process it [02:06:17]SAM_PROTO_GetShiftData [02:06:17]wFMCommunicate request_size=4 [02:06:17]MH_SAM_APDU [02:06:17]CAPDU: 80 13 02 00 [02:06:17]Write to MH i2c: E2 08 00 F3 02 80 13 02 00 00 00 00 00 73 [02:06:17]Write i2c OK [02:06:17]MH_I2C_Read... [02:06:18]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [02:06:18]Read from MH i2c: E2 [02:06:18]MH_I2C_Read... [02:06:18]Read from MH i2c: E2 FD 00 [02:06:18]MH_I2C_Read... [02:06:18]Read from MH i2c: E2 FD 00 F3 02 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 08 B8 08 70 04 03 00 DC 57 03 72 04 03 00 2C 60 05 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 06 ED EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 C2 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 B0 [02:06:18]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 08 B8 08 70 04 03 00 DC 57 03 72 04 03 00 2C 60 05 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 06 ED EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 C2 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 [02:06:18]wFMCommunicate OK [02:06:18]wFMCommunicate request_size=4 [02:06:18]MH_SAM_APDU [02:06:18]CAPDU: 80 17 00 00 [02:06:18]Write to MH i2c: E2 08 00 F4 02 80 17 00 00 00 00 00 00 76 [02:06:18]Write i2c OK [02:06:18]MH_I2C_Read... [02:06:18]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [02:06:18]Read from MH i2c: E2 [02:06:18]MH_I2C_Read... [02:06:18]Read from MH i2c: E2 FD 00 [02:06:18]MH_I2C_Read... [02:06:18]Read from MH i2c: E2 FD 00 F4 02 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 88 [02:06:18]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:06:18]wFMCommunicate OK [02:06:18]wFMCommunicate request_size=4 [02:06:18]MH_SAM_APDU [02:06:18]CAPDU: 80 17 00 00 [02:06:18]Write to MH i2c: E2 08 00 F5 02 80 17 00 00 00 00 00 00 77 [02:06:18]Write i2c OK [02:06:18]MH_I2C_Read... [02:06:18]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [02:06:18]Read from MH i2c: E2 [02:06:18]MH_I2C_Read... [02:06:18]Read from MH i2c: E2 FD 00 [02:06:18]MH_I2C_Read... [02:06:18]Read from MH i2c: E2 FD 00 F5 02 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 3B [02:06:18]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:06:18]wFMCommunicate OK [02:06:18]wFMCommunicate request_size=4 [02:06:18]MH_SAM_APDU [02:06:18]CAPDU: 80 17 00 00 [02:06:18]Write to MH i2c: E2 08 00 F6 02 80 17 00 00 00 00 00 00 78 [02:06:18]Write i2c OK [02:06:18]MH_I2C_Read... [02:06:19]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [02:06:19]Read from MH i2c: E2 [02:06:19]MH_I2C_Read... [02:06:19]Read from MH i2c: E2 FD 00 [02:06:19]MH_I2C_Read... [02:06:19]Read from MH i2c: E2 FD 00 F6 02 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 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 ED [02:06:19]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:06:19]wFMCommunicate OK [02:06:19]wFMCommunicate request_size=4 [02:06:19]MH_SAM_APDU [02:06:19]CAPDU: 80 17 00 00 [02:06:19]Write to MH i2c: E2 08 00 F7 02 80 17 00 00 00 00 00 00 79 [02:06:19]Write i2c OK [02:06:19]MH_I2C_Read... [02:06:19]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [02:06:19]Read from MH i2c: E2 [02:06:19]MH_I2C_Read... [02:06:19]Read from MH i2c: E2 CA 00 [02:06:19]MH_I2C_Read... [02:06:19]Read from MH i2c: E2 CA 00 F7 02 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 5E [02:06:19]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:06:19]wFMCommunicate OK [02:06:19]SAM_PROTO_GetShiftData done [02:06:19]requested_item shift.sale.total_cash is exist - process it [02:06:19]requested_item shift.sale_refund.total is exist - process it [02:06:19]requested_item shift.sale_refund.total_cash is exist - process it [02:06:19]produce_requested_data done [02:06:19]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57266,"shift.num":498,"shift.opened":1,"shift.open_date":1721089930,"shift.sale.total":5714.00,"shift.sale.total_cash":2191.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [02:06:19]process_action_free close_receipt [02:06:19]json_value_free [02:06:19]json_value_free done [02:06:19]process_json_proto returns [02:06:19]Send response to host [02:06:19]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57266,"shift.num":498,"shift.opened":1,"shift.open_date":1721089930,"shift.sale.total":5714.00,"shift.sale.total_cash":2191.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [02:06:19]free response buf [02:06:19]execute_script done [02:06:19]execute_script returns [02:06:19]free content buf [02:06:19]Sock 8.Close socket [02:06:19]Sock 8.Thread stoped [02:06:21]OFD Sender: No OFD packet to send [02:06:26]OFD Sender: No OFD packet to send [02:06:31]OFD Sender: No OFD packet to send [02:06:36]OFD Sender: No OFD packet to send [02:06:41]OFD Sender: No OFD packet to send [02:06:46]OFD Sender: No OFD packet to send [02:06:51]OFD Sender: No OFD packet to send [02:06:56]OFD Sender: No OFD packet to send [02:07:01]OFD Sender: No OFD packet to send [02:07:07]OFD Sender: No OFD packet to send [02:07:11]accept exits with 9 [02:07:11]New connection [02:07:11]New thread 3066854756 created [02:07:11]Thread 3066998116 joined [02:07:11]Waiting for new connection... [02:07:11] Sock 9.Parse request [02:07:11]Sock 9.Check first char [02:07:11]Sock 9.First char is OK [02:07:11]request: POST /json_proto HTTP/1.0 [02:07:11]Method: POST [02:07:11]URL: /json_proto [02:07:11]Method is POST - this is cgi request [02:07:11]url: /json_proto [02:07:11]query_string will be loaded in cgi processing [02:07:11]execute_cgi json_proto POST (null) [02:07:11]execute_cgi path=json_proto method=POST [02:07:11]POST find Content-Length [02:07:11]Host: 172.17.39.4:8080 [02:07:11]Content-Length: 725 [02:07:11]Content-Type: application/json [02:07:11] [02:07:11]POST finish read [02:07:11]Found Content-Length = 725 [02:07:11]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129702", "tax_sys" : 0, "items" : [ { "code": "48742344", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B LD Super Slims Pink", "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" ] } } [02:07:11]execute_script... [02:07:11]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129702", "tax_sys" : 0, "items" : [ { "code": "48742344", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B LD Super Slims Pink", "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" ] } } [02:07:11]POST & json_proto [02:07:11]process_json_proto [02:07:11]json parsed OK: [02:07:11]protocol is kg_v1.0 [02:07:11]action value=close_receipt [02:07:11]process_action close_receipt [02:07:11]cmd_close_receipt [02:07:11]MH_GetDate [02:07:11]Write to MH i2c: F0 00 00 F8 02 E9 [02:07:11]Write i2c OK [02:07:11]MH_I2C_Read... [02:07:11]Read from MH i2c: F0 [02:07:11]MH_I2C_Read... [02:07:11]Read from MH i2c: F0 09 00 [02:07:11]MH_I2C_Read... [02:07:11]Read from MH i2c: F0 09 00 F8 02 00 CF D5 95 66 2D 25 5D 64 A4 [02:07:11]GetLastDocTimeStamp 1721095574 [02:07:11]current date 1721095631 [02:07:11]FM_GetShiftState [02:07:11]SAM_PROTO_GetShiftState [02:07:11]wFMCommunicate request_size=4 [02:07:11]MH_SAM_APDU [02:07:11]CAPDU: 80 13 01 00 [02:07:11]Write to MH i2c: E2 08 00 F9 02 80 13 01 00 00 00 00 00 78 [02:07:11]Write i2c OK [02:07:11]MH_I2C_Read... [02:07:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:07:11]Read from MH i2c: E2 [02:07:11]MH_I2C_Read... [02:07:11]Read from MH i2c: E2 0E 00 [02:07:11]MH_I2C_Read... [02:07:11]Read from MH i2c: E2 0E 00 F9 02 00 09 00 01 8A BF 95 66 00 00 00 00 90 00 C8 [02:07:11]RAPDU: 09 00 01 8A BF 95 66 00 00 00 00 90 00 [02:07:11]wFMCommunicate OK [02:07:11]SAM_PROTO_GetShiftState done [02:07:11]FM_GetShiftState done [02:07:11]opened in 1721089930 [02:07:11]opened+sec_in_day 1721176330 [02:07:11]quantity*price = 13000 [02:07:11]sum+1 = 13001 [02:07:11]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 СНО: Общий режим Чек 21 16.07.2024 02:07 Смена: 498 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57267 ФПД: 70217881158919 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240716T020711&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57267&fm=70217881158919&tin=02508201610067®Number=0000000000091208&sum=13000 0 [02:07:12]StoreToDocumentArchive [02:07:12]shift 498 fd 57267 [02:07:12]save to /storage/0498/doc_00057267 [02:07:12]save last doc name /storage/0498/doc_00057267 to /storage/kkm_last_doc_name [02:07:12]save OK [02:07:12]Clear old archive folders... [02:07:12]ProcessDocumentItem done err = 0, tmpTLVsize=273 [02:07:12]tlvbuf is 0026F130 [02:07:12]SAM_PROTO_ClearQueue [02:07:12]wFMCommunicate request_size=4 [02:07:12]MH_SAM_APDU [02:07:12]CAPDU: 80 09 00 00 [02:07:12]Write to MH i2c: E2 08 00 06 03 80 09 00 00 00 00 00 00 7B [02:07:12]Write i2c OK [02:07:12]MH_I2C_Read... [02:07:12]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [02:07:12]Read from MH i2c: E2 [02:07:12]MH_I2C_Read... [02:07:12]Read from MH i2c: E2 03 00 [02:07:12]MH_I2C_Read... [02:07:12]Read from MH i2c: E2 03 00 06 03 00 90 00 7D [02:07:12]RAPDU: 90 00 [02:07:12]wFMCommunicate OK [02:07:12]SAM_PROTO_ClearQueue done [02:07:12]KKMCreateOFDPacket [02:07:12]OFDProtocolAddRootSTLVToBuf [02:07:12]FM_MakeSignedData [02:07:12]FM_MakeSignedData [02:07:12]SAM_PROTO_SignData [02:07:12]wFMCommunicate request_size=4 [02:07:12]MH_SAM_APDU [02:07:12]CAPDU: 80 0D 01 02 [02:07:12]Write to MH i2c: E2 08 00 07 03 80 0D 01 02 00 00 00 00 83 [02:07:12]Write i2c OK [02:07:12]MH_I2C_Read... [02:07:12]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [02:07:12]Read from MH i2c: E2 [02:07:12]MH_I2C_Read... [02:07:12]Read from MH i2c: E2 03 00 [02:07:12]MH_I2C_Read... [02:07:12]Read from MH i2c: E2 03 00 07 03 00 90 00 7E [02:07:12]RAPDU: 90 00 [02:07:12]wFMCommunicate OK [02:07:12]wFMCommunicate request_size=255 [02:07:12]MH_SAM_APDU [02:07:12]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 32 33 34 34 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 53 75 70 65 72 20 53 6C 69 6D 73 20 50 69 6E 6B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 15 00 00 00 F4 03 04 00 CF D5 95 66 0E 04 04 00 F2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 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:07:12]Write to MH i2c: E2 02 01 08 03 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 32 33 34 34 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 53 75 70 65 72 20 53 6C 69 6D 73 20 50 69 6E 6B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 15 00 00 00 F4 03 04 00 CF D5 95 66 0E 04 04 00 F2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 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 6A [02:07:12]Write i2c OK [02:07:12]MH_I2C_Read... [02:07:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:07:12]Read from MH i2c: E2 [02:07:12]MH_I2C_Read... [02:07:12]Read from MH i2c: E2 03 00 [02:07:12]MH_I2C_Read... [02:07:12]Read from MH i2c: E2 03 00 08 03 00 90 00 7F [02:07:12]RAPDU: 90 00 [02:07:12]wFMCommunicate OK [02:07:12]wFMCommunicate request_size=32 [02:07:12]MH_SAM_APDU [02:07:12]CAPDU: 80 0D 02 02 1B 30 30 30 38 37 34 38 35 37 10 04 04 00 B3 DF 00 00 35 04 06 00 3F DC DF DD 05 07 [02:07:12]Write to MH i2c: E2 23 00 09 03 80 0D 02 02 1B 00 30 30 30 38 37 34 38 35 37 10 04 04 00 B3 DF 00 00 35 04 06 00 3F DC DF DD 05 07 00 00 5F [02:07:12]Write i2c OK [02:07:12]MH_I2C_Read... [02:07:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:07:12]Read from MH i2c: E2 [02:07:12]MH_I2C_Read... [02:07:12]Read from MH i2c: E2 03 00 [02:07:12]MH_I2C_Read... [02:07:12]Read from MH i2c: E2 03 00 09 03 00 90 00 80 [02:07:12]RAPDU: 90 00 [02:07:12]wFMCommunicate OK [02:07:12]wFMCommunicate request_size=4 [02:07:12]MH_SAM_APDU [02:07:12]CAPDU: 80 0D 03 02 [02:07:12]Write to MH i2c: E2 08 00 0A 03 80 0D 03 02 00 00 00 00 88 [02:07:12]Write i2c OK [02:07:12]MH_I2C_Read... [02:07:12]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [02:07:12]Read from MH i2c: E2 [02:07:12]MH_I2C_Read... [02:07:12]Read from MH i2c: E2 0B 00 [02:07:12]MH_I2C_Read... [02:07:12]Read from MH i2c: E2 0B 00 0A 03 00 A4 E0 F2 79 03 8C E9 85 90 00 75 [02:07:12]RAPDU: A4 E0 F2 79 03 8C E9 85 90 00 [02:07:12]wFMCommunicate OK [02:07:12]SAM_PROTO_SignData done [02:07:12]FM_MakeSignedData done [02:07:12]CreateOFDProtocolMessage [02:07:12]wFMCommunicate request_size=4 [02:07:12]MH_SAM_APDU [02:07:12]CAPDU: 80 11 00 00 [02:07:12]Write to MH i2c: E2 08 00 0B 03 80 11 00 00 00 00 00 00 88 [02:07:12]Write i2c OK [02:07:12]MH_I2C_Read... [02:07:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:07:12]Read from MH i2c: E2 [02:07:12]MH_I2C_Read... [02:07:12]Read from MH i2c: E2 17 00 [02:07:12]MH_I2C_Read... [02:07:12]Read from MH i2c: E2 17 00 0B 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 E2 [02:07:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [02:07:12]wFMCommunicate OK [02:07:12]CreateOFDProtocolMessage done [02:07:12]OFDSenderStorePacket 57267 [02:07:12]StoreOFDPacket docnum=57267 [02:07: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 25 01 00 00 4A D3 1D 01 55 49 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 32 33 34 34 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 53 75 70 65 72 20 53 6C 69 6D 73 20 50 69 6E 6B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 15 00 00 00 F4 03 04 00 CF D5 95 66 0E 04 04 00 F2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 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 DF 00 00 35 04 06 00 3F DC DF DD 05 07 A4 E0 F2 79 03 8C E9 85 [02:07:12]CheckFolder [02:07:12]dirname=/storage/ofd_packets [02:07:12]CheckFolder done [02:07:12]ProducePacketName [02:07:12]name=ofd_packets/00057267 [02:07:12]NVStorageSaveData ofd_packets/00057267 [02:07:12]File name is /storage/ofd_packets/00057267 [02:07:12]Write 323 bytes [02:07:12]NVStorageSaveData done [02:07:12]OFDSenderStorePacket done [02:07:12]KKMCreateOFDPacket done [02:07:12]NVStorageSaveData kkm_last_timestamp [02:07:12]File name is /storage/kkm_last_timestamp [02:07:12]Write 4 bytes [02:07:12]NVStorageSaveData done [02:07:12]ExternCall_PrintAddStr [02:07:12]wPrintStart [02:07:12]Write to MH i2c: 01 00 00 0C 03 0F [02:07:12]Write i2c OK [02:07:12]MH_I2C_Read... [02:07:12]Read from MH i2c: 01 [02:07:12]MH_I2C_Read... [02:07:12]Read from MH i2c: 01 07 00 [02:07:12]MH_I2C_Read... [02:07:12]Read from MH i2c: 01 07 00 0C 03 00 00 00 00 00 FF 0F 24 [02:07:12]RasterBufferAndPrint [02:07:12]line Счет N : (3)129702 [02:07:12]line ИНН: 02508201610067 [02:07:12]line Контрольно-Кассовый Чек [02:07:12]line ПРОДАЖА [02:07:12]line Товар: 48742344 [02:07:12]line Сигареты LD Super Slims Pink [02:07:12]line 1.000 * 130.00 [02:07:12]line = 130.00 [02:07:12]line НДС 12% НСП 1% [02:07:12]line > о реализуемом товаре [02:07:12]line ИТОГО: 130.00 [02:07:12]line НСП 1% : 1.15 [02:07:12]line НДС 12% : 13.80 [02:07:12]line Наличными: 130.00 [02:07:12]line Безнал.: 0.00 [02:07:12]line Место: АЗС № 132 "Партнер Нефть" [02:07:12]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [02:07:12]line СНО: Общий режим [02:07:12]line Чек 21 16.07.2024 02:07 [02:07:12]line Смена: 498 ФФД: 1.0 [02:07:12]line ЗНМ: 0300000132 [02:07:12]line РНМ: 0000000000091208 [02:07:12]line Версия ККМ: 001 [02:07:12]line ФМ: 0000000000874857 [02:07:12]line ФД: 57267 [02:07:12]line ФПД: 70217881158919 [02:07:12]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240716T020711&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57267&fm=70217881158919&tin=02508201610067®Number=0000000000091208&sum=13000 [02:07:12]line 0 [02:07:13]written 0, free lines is 4095 [02:07:13]OFD Sender: Processing packet 57267 [packets to send 38, broken 37] [02:07:13]ProducePacketName [02:07:13]name=ofd_packets/00057267 [02:07:13]OFD Sender: To server: pG, [02:07:13]CommunicateWithHost lk.salyk.kg:30040 [02:07:13]ConnectInit lk.salyk.kg [02:07:13]Connected sock=10 [02:07:13]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 4A D3 1D 01 55 49 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 32 33 34 34 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 53 75 70 65 72 20 53 6C 69 6D 73 20 50 69 6E 6B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 15 00 00 00 F4 03 04 00 CF D5 95 66 0E 04 04 00 F2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 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 DF 00 00 35 04 06 00 3F DC DF DD 05 07 A4 E0 F2 79 03 8C E9 85 [02:07:13]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 12 47 00 34 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 B3 DF 00 00 F4 03 04 00 1C 7C 95 66 B6 04 01 00 00 66 9E 44 7B 55 78 B7 CA [02:07:13]CommunicateWithHost err = 0 [02:07:13]CheckOFDResponse [02:07:13]1017 (14) - 77093643461234 [02:07:13]1041 (16) - 0000000000874857 [02:07:13]1040 (4) - 57267 [02:07:13]1012 (4) - 15.07.2024 19:44 [02:07:13]1206 (1) - 0 [02:07:13]OFD Sender: Remove packet 57267 [02:07:13]ProducePacketName [02:07:13]name=ofd_packets/00057267 [02:07:13]NVStorageDeleteData [02:07:13]Write to MH i2c: 01 00 00 34 03 37 [02:07:13]Write i2c OK [02:07:13]MH_I2C_Read... [02:07:13]Read from MH i2c: 01 [02:07:13]MH_I2C_Read... [02:07:13]Read from MH i2c: 01 07 00 [02:07:13]MH_I2C_Read... [02:07:13]Read from MH i2c: 01 07 00 34 03 00 00 00 00 00 00 0D 4B [02:07:13]RasterBufferAndPrint [02:07:13]line [02:07:13]line [02:07:13]line [02:07:13]line [02:07:13]line [02:07:13]written 0, free lines is 3334 [02:07:13]MH_Cut [02:07:13]Write to MH i2c: D1 01 00 3B 03 01 10 [02:07:13]Write i2c OK [02:07:13]MH_I2C_Read... [02:07:13]Read from MH i2c: D1 [02:07:13]MH_I2C_Read... [02:07:13]Read from MH i2c: D1 01 00 [02:07:13]MH_I2C_Read... [02:07:13]Read from MH i2c: D1 01 00 3B 03 00 0F [02:07:13]Write to MH i2c: 01 00 00 3C 03 3F [02:07:13]Write i2c OK [02:07:13]MH_I2C_Read... [02:07:14]OFD Sender: No OFD packet to send [02:07:14]*** Cut start [02:07:14]*** Partial cut [02:07:14]*** CUTSNS_PIN = 1 [02:07:14]*** CUTSNS_PIN = 0 [02:07:14]*** Brake cut motor [02:07:14]Read from MH i2c: 01 [02:07:14]MH_I2C_Read... [02:07:14]*** Stop cut motor [02:07:14]*** Cut end [02:07:14]Read from MH i2c: 01 07 00 [02:07:14]MH_I2C_Read... [02:07:14]Read from MH i2c: 01 07 00 3C 03 00 00 00 00 00 FF 0F 54 [02:07:14]process_action close_receipt done [02:07:14]requested_data is exist [02:07:14]produce_requested_data [02:07:14]requested_item fm.sn is exist - process it [02:07:14]wFMCommunicate request_size=4 [02:07:14]MH_SAM_APDU [02:07:14]CAPDU: 80 11 00 00 [02:07:14]Write to MH i2c: E2 08 00 3D 03 80 11 00 00 00 00 00 00 BA [02:07:14]Write i2c OK [02:07:14]MH_I2C_Read... [02:07:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:07:15]Read from MH i2c: E2 [02:07:15]MH_I2C_Read... [02:07:15]Read from MH i2c: E2 17 00 [02:07:15]MH_I2C_Read... [02:07:15]Read from MH i2c: E2 17 00 3D 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 14 [02:07:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [02:07:15]wFMCommunicate OK [02:07:15]requested_item fd.num is exist - process it [02:07:15]SAM_PROTO_GetFieldsCounters [02:07:15]wFMCommunicate request_size=4 [02:07:15]MH_SAM_APDU [02:07:15]CAPDU: 80 13 00 00 [02:07:15]Write to MH i2c: E2 08 00 3E 03 80 13 00 00 00 00 00 00 BD [02:07:15]Write i2c OK [02:07:15]MH_I2C_Read... [02:07:15]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [02:07:15]Read from MH i2c: E2 [02:07:15]MH_I2C_Read... [02:07:15]Read from MH i2c: E2 62 00 [02:07:15]MH_I2C_Read... [02:07:15]Read from MH i2c: E2 62 00 3E 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 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 DF 00 00 0E 04 04 00 F2 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 A4 [02:07: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 B3 DF 00 00 0E 04 04 00 F2 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 [02:07:15]wFMCommunicate OK [02:07:15]SAM_PROTO_GetFieldsCounters done [02:07:15]requested_item shift.num is exist - process it [02:07:15]requested_item shift.opened is exist - process it [02:07:15]req_shift_opened [02:07:15]FM_GetShiftState [02:07:15]SAM_PROTO_GetShiftState [02:07:15]wFMCommunicate request_size=4 [02:07:15]MH_SAM_APDU [02:07:15]CAPDU: 80 13 01 00 [02:07:15]Write to MH i2c: E2 08 00 3F 03 80 13 01 00 00 00 00 00 BF [02:07:15]Write i2c OK [02:07:15]MH_I2C_Read... [02:07:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:07:15]Read from MH i2c: E2 [02:07:15]MH_I2C_Read... [02:07:15]Read from MH i2c: E2 0E 00 [02:07:15]MH_I2C_Read... [02:07:15]Read from MH i2c: E2 0E 00 3F 03 00 09 00 01 8A BF 95 66 00 00 00 00 90 00 0F [02:07:15]RAPDU: 09 00 01 8A BF 95 66 00 00 00 00 90 00 [02:07:15]wFMCommunicate OK [02:07:15]SAM_PROTO_GetShiftState done [02:07:15]FM_GetShiftState done [02:07:15]req_shift_opened done [02:07:15]requested_item shift.open_date is exist - process it [02:07:15]req_shift_open_date [02:07:15]req_shift_open_date done [02:07:15]requested_item shift.sale.total is exist - process it [02:07:15]SAM_PROTO_GetShiftData [02:07:15]wFMCommunicate request_size=4 [02:07:15]MH_SAM_APDU [02:07:15]CAPDU: 80 13 02 00 [02:07:15]Write to MH i2c: E2 08 00 40 03 80 13 02 00 00 00 00 00 C1 [02:07:15]Write i2c OK [02:07:15]MH_I2C_Read... [02:07:15]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [02:07:15]Read from MH i2c: E2 [02:07:15]MH_I2C_Read... [02:07:15]Read from MH i2c: E2 FD 00 [02:07:15]MH_I2C_Read... [02:07:15]Read from MH i2c: E2 FD 00 40 03 00 AD 04 AA 04 A9 04 6E 04 04 00 15 00 00 00 69 04 9A 00 6F 04 04 00 15 00 00 00 B1 04 03 00 D0 EA 08 70 04 03 00 A4 8A 03 72 04 03 00 2C 60 05 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 6A F2 EF 03 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 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 D2 [02:07:15]RAPDU: AD 04 AA 04 A9 04 6E 04 04 00 15 00 00 00 69 04 9A 00 6F 04 04 00 15 00 00 00 B1 04 03 00 D0 EA 08 70 04 03 00 A4 8A 03 72 04 03 00 2C 60 05 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 6A F2 EF 03 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 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 [02:07:15]wFMCommunicate OK [02:07:15]wFMCommunicate request_size=4 [02:07:15]MH_SAM_APDU [02:07:15]CAPDU: 80 17 00 00 [02:07:15]Write to MH i2c: E2 08 00 41 03 80 17 00 00 00 00 00 00 C4 [02:07:15]Write i2c OK [02:07:15]MH_I2C_Read... [02:07:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [02:07:15]Read from MH i2c: E2 [02:07:15]MH_I2C_Read... [02:07:15]Read from MH i2c: E2 FD 00 [02:07:15]MH_I2C_Read... [02:07:15]Read from MH i2c: E2 FD 00 41 03 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 D6 [02:07:15]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:07:15]wFMCommunicate OK [02:07:15]wFMCommunicate request_size=4 [02:07:15]MH_SAM_APDU [02:07:15]CAPDU: 80 17 00 00 [02:07:15]Write to MH i2c: E2 08 00 42 03 80 17 00 00 00 00 00 00 C5 [02:07:15]Write i2c OK [02:07:15]MH_I2C_Read... [02:07:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [02:07:16]Read from MH i2c: E2 [02:07:16]MH_I2C_Read... [02:07:16]Read from MH i2c: E2 FD 00 [02:07:16]MH_I2C_Read... [02:07:16]Read from MH i2c: E2 FD 00 42 03 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 89 [02:07:16]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:07:16]wFMCommunicate OK [02:07:16]wFMCommunicate request_size=4 [02:07:16]MH_SAM_APDU [02:07:16]CAPDU: 80 17 00 00 [02:07:16]Write to MH i2c: E2 08 00 43 03 80 17 00 00 00 00 00 00 C6 [02:07:16]Write i2c OK [02:07:16]MH_I2C_Read... [02:07:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [02:07:16]Read from MH i2c: E2 [02:07:16]MH_I2C_Read... [02:07:16]Read from MH i2c: E2 FD 00 [02:07:16]MH_I2C_Read... [02:07:16]Read from MH i2c: E2 FD 00 43 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 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 3B [02:07:16]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:07:16]wFMCommunicate OK [02:07:16]wFMCommunicate request_size=4 [02:07:16]MH_SAM_APDU [02:07:16]CAPDU: 80 17 00 00 [02:07:16]Write to MH i2c: E2 08 00 44 03 80 17 00 00 00 00 00 00 C7 [02:07:16]Write i2c OK [02:07:16]MH_I2C_Read... [02:07:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [02:07:16]Read from MH i2c: E2 [02:07:16]MH_I2C_Read... [02:07:16]Read from MH i2c: E2 CA 00 [02:07:16]MH_I2C_Read... [02:07:16]Read from MH i2c: E2 CA 00 44 03 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 AC [02:07:16]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:07:16]wFMCommunicate OK [02:07:16]SAM_PROTO_GetShiftData done [02:07:16]requested_item shift.sale.total_cash is exist - process it [02:07:16]requested_item shift.sale_refund.total is exist - process it [02:07:16]requested_item shift.sale_refund.total_cash is exist - process it [02:07:16]produce_requested_data done [02:07:16]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57267,"shift.num":498,"shift.opened":1,"shift.open_date":1721089930,"shift.sale.total":5844.00,"shift.sale.total_cash":2321.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [02:07:16]process_action_free close_receipt [02:07:16]json_value_free [02:07:16]json_value_free done [02:07:16]process_json_proto returns [02:07:16]Send response to host [02:07:16]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57267,"shift.num":498,"shift.opened":1,"shift.open_date":1721089930,"shift.sale.total":5844.00,"shift.sale.total_cash":2321.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [02:07:16]free response buf [02:07:16]execute_script done [02:07:16]execute_script returns [02:07:16]free content buf [02:07:16]Sock 9.Close socket [02:07:16]Sock 9.Thread stoped [02:07:19]OFD Sender: No OFD packet to send [02:07:24]OFD Sender: No OFD packet to send [02:07:29]OFD Sender: No OFD packet to send [02:07:34]OFD Sender: No OFD packet to send [02:07:39]OFD Sender: No OFD packet to send [02:07:44]OFD Sender: No OFD packet to send [02:07:49]OFD Sender: No OFD packet to send [02:07:54]OFD Sender: No OFD packet to send [02:07:59]OFD Sender: No OFD packet to send [02:08:04]OFD Sender: No OFD packet to send [02:08:09]OFD Sender: No OFD packet to send [02:08:14]OFD Sender: No OFD packet to send [02:08:19]OFD Sender: No OFD packet to send [02:08:24]OFD Sender: No OFD packet to send [02:08:29]OFD Sender: No OFD packet to send [02:08:34]OFD Sender: No OFD packet to send [02:08:39]OFD Sender: No OFD packet to send [02:08:44]OFD Sender: No OFD packet to send [02:08:49]OFD Sender: No OFD packet to send [02:08:54]OFD Sender: No OFD packet to send [02:08:59]OFD Sender: No OFD packet to send [02:09:04]OFD Sender: No OFD packet to send [02:09:09]OFD Sender: No OFD packet to send [02:09:14]OFD Sender: No OFD packet to send [02:09:19]OFD Sender: No OFD packet to send [02:09:24]OFD Sender: No OFD packet to send [02:09:29]OFD Sender: No OFD packet to send [02:09:34]OFD Sender: No OFD packet to send [02:09:37]accept exits with 8 [02:09:37]New connection [02:09:37]New thread 3066998116 created [02:09:37]Thread 3066854756 joined [02:09:37]Waiting for new connection... [02:09:37] Sock 8.Parse request [02:09:37]Sock 8.Check first char [02:09:37]Sock 8.First char is OK [02:09:37]request: POST /json_proto HTTP/1.0 [02:09:37]Method: POST [02:09:37]URL: /json_proto [02:09:37]Method is POST - this is cgi request [02:09:37]url: /json_proto [02:09:37]query_string will be loaded in cgi processing [02:09:37]execute_cgi json_proto POST (null) [02:09:37]execute_cgi path=json_proto method=POST [02:09:37]POST find Content-Length [02:09:37]Host: 172.17.39.4:8080 [02:09:37]Content-Length: 764 [02:09:37]Content-Type: application/json [02:09:37] [02:09:37]POST finish read [02:09:37]Found Content-Length = 764 [02:09:37]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129703", "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" ] } } [02:09:37]execute_script... [02:09: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)129703", "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" ] } } [02:09:37]POST & json_proto [02:09:37]process_json_proto [02:09:37]json parsed OK: [02:09:37]protocol is kg_v1.0 [02:09:37]action value=close_receipt [02:09:37]process_action close_receipt [02:09:37]cmd_close_receipt [02:09:37]MH_GetDate [02:09:37]Write to MH i2c: F0 00 00 45 03 37 [02:09:37]Write i2c OK [02:09:37]MH_I2C_Read... [02:09:37]Read from MH i2c: F0 [02:09:37]MH_I2C_Read... [02:09:37]Read from MH i2c: F0 09 00 [02:09:37]MH_I2C_Read... [02:09:37]Read from MH i2c: F0 09 00 45 03 00 61 D6 95 66 2D 25 5D 64 85 [02:09:37]GetLastDocTimeStamp 1721095631 [02:09:37]current date 1721095777 [02:09:37]FM_GetShiftState [02:09:37]SAM_PROTO_GetShiftState [02:09:37]wFMCommunicate request_size=4 [02:09:37]MH_SAM_APDU [02:09:37]CAPDU: 80 13 01 00 [02:09:37]Write to MH i2c: E2 08 00 46 03 80 13 01 00 00 00 00 00 C6 [02:09:37]Write i2c OK [02:09:37]MH_I2C_Read... [02:09:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:09:37]Read from MH i2c: E2 [02:09:37]MH_I2C_Read... [02:09:37]Read from MH i2c: E2 0E 00 [02:09:37]MH_I2C_Read... [02:09:37]Read from MH i2c: E2 0E 00 46 03 00 09 00 01 8A BF 95 66 00 00 00 00 90 00 16 [02:09:37]RAPDU: 09 00 01 8A BF 95 66 00 00 00 00 90 00 [02:09:37]wFMCommunicate OK [02:09:37]SAM_PROTO_GetShiftState done [02:09:37]FM_GetShiftState done [02:09:37]opened in 1721089930 [02:09:37]opened+sec_in_day 1721176330 [02:09:37]quantity*price = 15500 [02:09:37]sum+1 = 15501 [02:09:37]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 СНО: Общий режим Чек 22 16.07.2024 02:09 Смена: 498 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57268 ФПД: 277136800401981 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240716T020937&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57268&fm=277136800401981&tin=02508201610067®Number=0000000000091208&sum=15500 0 [02:09:38]StoreToDocumentArchive [02:09:38]shift 498 fd 57268 [02:09:38]save to /storage/0498/doc_00057268 [02:09:38]save last doc name /storage/0498/doc_00057268 to /storage/kkm_last_doc_name [02:09:38]save OK [02:09:38]Clear old archive folders... [02:09:38]ProcessDocumentItem done err = 0, tmpTLVsize=280 [02:09:38]tlvbuf is 0026D030 [02:09:38]SAM_PROTO_ClearQueue [02:09:38]wFMCommunicate request_size=4 [02:09:38]MH_SAM_APDU [02:09:38]CAPDU: 80 09 00 00 [02:09:38]Write to MH i2c: E2 08 00 53 03 80 09 00 00 00 00 00 00 C8 [02:09:38]Write i2c OK [02:09:38]MH_I2C_Read... [02:09:38]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [02:09:38]Read from MH i2c: E2 [02:09:38]MH_I2C_Read... [02:09:38]Read from MH i2c: E2 03 00 [02:09:38]MH_I2C_Read... [02:09:38]Read from MH i2c: E2 03 00 53 03 00 90 00 CA [02:09:38]RAPDU: 90 00 [02:09:38]wFMCommunicate OK [02:09:38]SAM_PROTO_ClearQueue done [02:09:38]KKMCreateOFDPacket [02:09:38]OFDProtocolAddRootSTLVToBuf [02:09:38]FM_MakeSignedData [02:09:38]FM_MakeSignedData [02:09:38]SAM_PROTO_SignData [02:09:38]wFMCommunicate request_size=4 [02:09:38]MH_SAM_APDU [02:09:38]CAPDU: 80 0D 01 02 [02:09:38]Write to MH i2c: E2 08 00 54 03 80 0D 01 02 00 00 00 00 D0 [02:09:38]Write i2c OK [02:09:38]MH_I2C_Read... [02:09:38]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [02:09:38]Read from MH i2c: E2 [02:09:38]MH_I2C_Read... [02:09:38]Read from MH i2c: E2 03 00 [02:09:38]MH_I2C_Read... [02:09:38]Read from MH i2c: E2 03 00 54 03 00 90 00 CB [02:09:38]RAPDU: 90 00 [02:09:38]wFMCommunicate OK [02:09:38]wFMCommunicate request_size=255 [02:09:38]MH_SAM_APDU [02:09:38]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 16 00 00 00 F4 03 04 00 61 D6 95 66 0E 04 04 00 F2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 [02:09:38]Write to MH i2c: E2 02 01 55 03 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 16 00 00 00 F4 03 04 00 61 D6 95 66 0E 04 04 00 F2 01 00 00 B9 04 01 00 01 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 1F [02:09:38]Write i2c OK [02:09:38]MH_I2C_Read... [02:09:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:09:38]Read from MH i2c: E2 [02:09:38]MH_I2C_Read... [02:09:38]Read from MH i2c: E2 03 00 [02:09:38]MH_I2C_Read... [02:09:38]Read from MH i2c: E2 03 00 55 03 00 90 00 CC [02:09:38]RAPDU: 90 00 [02:09:38]wFMCommunicate OK [02:09:38]wFMCommunicate request_size=39 [02:09:38]MH_SAM_APDU [02:09:38]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 B4 DF 00 00 35 04 06 00 FC 0D F0 8A CA 3D [02:09:38]Write to MH i2c: E2 2A 00 56 03 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 B4 DF 00 00 35 04 06 00 FC 0D F0 8A CA 3D 00 00 B2 [02:09:38]Write i2c OK [02:09:38]MH_I2C_Read... [02:09:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:09:38]Read from MH i2c: E2 [02:09:38]MH_I2C_Read... [02:09:38]Read from MH i2c: E2 03 00 [02:09:38]MH_I2C_Read... [02:09:38]Read from MH i2c: E2 03 00 56 03 00 90 00 CD [02:09:38]RAPDU: 90 00 [02:09:38]wFMCommunicate OK [02:09:38]wFMCommunicate request_size=4 [02:09:38]MH_SAM_APDU [02:09:38]CAPDU: 80 0D 03 02 [02:09:38]Write to MH i2c: E2 08 00 57 03 80 0D 03 02 00 00 00 00 D5 [02:09:38]Write i2c OK [02:09:38]MH_I2C_Read... [02:09:38]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [02:09:38]Read from MH i2c: E2 [02:09:38]MH_I2C_Read... [02:09:38]Read from MH i2c: E2 0B 00 [02:09:38]MH_I2C_Read... [02:09:38]Read from MH i2c: E2 0B 00 57 03 00 99 10 DF 01 BF 45 76 25 90 00 FE [02:09:38]RAPDU: 99 10 DF 01 BF 45 76 25 90 00 [02:09:38]wFMCommunicate OK [02:09:38]SAM_PROTO_SignData done [02:09:38]FM_MakeSignedData done [02:09:38]CreateOFDProtocolMessage [02:09:38]wFMCommunicate request_size=4 [02:09:38]MH_SAM_APDU [02:09:38]CAPDU: 80 11 00 00 [02:09:38]Write to MH i2c: E2 08 00 58 03 80 11 00 00 00 00 00 00 D5 [02:09:38]Write i2c OK [02:09:38]MH_I2C_Read... [02:09:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:09:38]Read from MH i2c: E2 [02:09:38]MH_I2C_Read... [02:09:38]Read from MH i2c: E2 17 00 [02:09:38]MH_I2C_Read... [02:09:38]Read from MH i2c: E2 17 00 58 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 2F [02:09:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [02:09:38]wFMCommunicate OK [02:09:38]CreateOFDProtocolMessage done [02:09:38]OFDSenderStorePacket 57268 [02:09:38]StoreOFDPacket docnum=57268 [02:09: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 2C 01 00 00 58 61 24 01 05 B6 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 16 00 00 00 F4 03 04 00 61 D6 95 66 0E 04 04 00 F2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 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 DF 00 00 35 04 06 00 FC 0D F0 8A CA 3D 99 10 DF 01 BF 45 76 25 [02:09:38]CheckFolder [02:09:38]dirname=/storage/ofd_packets [02:09:38]CheckFolder done [02:09:38]ProducePacketName [02:09:38]name=ofd_packets/00057268 [02:09:38]NVStorageSaveData ofd_packets/00057268 [02:09:38]File name is /storage/ofd_packets/00057268 [02:09:38]Write 330 bytes [02:09:38]NVStorageSaveData done [02:09:38]OFDSenderStorePacket done [02:09:38]KKMCreateOFDPacket done [02:09:38]NVStorageSaveData kkm_last_timestamp [02:09:38]File name is /storage/kkm_last_timestamp [02:09:38]Write 4 bytes [02:09:38]NVStorageSaveData done [02:09:38]ExternCall_PrintAddStr [02:09:38]wPrintStart [02:09:38]Write to MH i2c: 01 00 00 59 03 5C [02:09:38]Write i2c OK [02:09:38]MH_I2C_Read... [02:09:38]Read from MH i2c: 01 [02:09:38]MH_I2C_Read... [02:09:38]Read from MH i2c: 01 07 00 [02:09:38]MH_I2C_Read... [02:09:38]Read from MH i2c: 01 07 00 59 03 00 00 00 00 00 FF 0F 71 [02:09:38]RasterBufferAndPrint [02:09:38]line Счет N : (3)129703 [02:09:38]line ИНН: 02508201610067 [02:09:38]line Контрольно-Кассовый Чек [02:09:38]line ПРОДАЖА [02:09:38]line Товар: 5449000000439 [02:09:38]line Напиток Кока-Кола 1,5л [02:09:38]line 1.000 * 155.00 [02:09:38]line = 155.00 [02:09:38]line НДС 12% НСП 1% [02:09:38]line > о реализуемом товаре [02:09:38]line ИТОГО: 155.00 [02:09:38]line НСП 1% : 1.37 [02:09:38]line НДС 12% : 16.46 [02:09:38]line Наличными: 155.00 [02:09:38]line Безнал.: 0.00 [02:09:38]line Место: АЗС № 132 "Партнер Нефть" [02:09:38]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [02:09:38]line СНО: Общий режим [02:09:38]line Чек 22 16.07.2024 02:09 [02:09:38]line Смена: 498 ФФД: 1.0 [02:09:38]line ЗНМ: 0300000132 [02:09:38]line РНМ: 0000000000091208 [02:09:38]line Версия ККМ: 001 [02:09:38]line ФМ: 0000000000874857 [02:09:38]line ФД: 57268 [02:09:38]line ФПД: 277136800401981 [02:09:39]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240716T020937&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57268&fm=277136800401981&tin=02508201610067®Number=0000000000091208&sum=15500 [02:09:39]line 0 [02:09:39]OFD Sender: Processing packet 57268 [packets to send 38, broken 37] [02:09:39]ProducePacketName [02:09:39]name=ofd_packets/00057268 [02:09:39]OFD Sender: To server: pG, [02:09:39]CommunicateWithHost lk.salyk.kg:30040 [02:09:39]ConnectInit lk.salyk.kg [02:09:39]written 0, free lines is 4095 [02:09:39]Connected sock=10 [02:09: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 2C 01 00 00 58 61 24 01 05 B6 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 16 00 00 00 F4 03 04 00 61 D6 95 66 0E 04 04 00 F2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 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 DF 00 00 35 04 06 00 FC 0D F0 8A CA 3D 99 10 DF 01 BF 45 76 25 [02:09: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 14 47 00 BE 72 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 B4 DF 00 00 F4 03 04 00 AE 7C 95 66 B6 04 01 00 00 B6 EF F3 62 F4 57 3A 98 [02:09:39]CommunicateWithHost err = 0 [02:09:39]CheckOFDResponse [02:09:39]1017 (14) - 77093643461234 [02:09:39]1041 (16) - 0000000000874857 [02:09:39]1040 (4) - 57268 [02:09:39]1012 (4) - 15.07.2024 19:46 [02:09:39]1206 (1) - 0 [02:09:39]OFD Sender: Remove packet 57268 [02:09:39]ProducePacketName [02:09:39]name=ofd_packets/00057268 [02:09:39]NVStorageDeleteData [02:09:39]Write to MH i2c: 01 00 00 81 03 84 [02:09:39]Write i2c OK [02:09:39]MH_I2C_Read... [02:09:39]Read from MH i2c: 01 [02:09:39]MH_I2C_Read... [02:09:39]Read from MH i2c: 01 07 00 [02:09:39]MH_I2C_Read... [02:09:39]Read from MH i2c: 01 07 00 81 03 00 00 00 00 00 09 0D A1 [02:09:39]RasterBufferAndPrint [02:09:39]line [02:09:39]line [02:09:39]line [02:09:39]line [02:09:39]line [02:09:39]written 0, free lines is 3344 [02:09:39]MH_Cut [02:09:39]Write to MH i2c: D1 01 00 88 03 01 5D [02:09:39]Write i2c OK [02:09:39]MH_I2C_Read... [02:09:39]Read from MH i2c: D1 [02:09:39]MH_I2C_Read... [02:09:39]Read from MH i2c: D1 01 00 [02:09:39]MH_I2C_Read... [02:09:39]Read from MH i2c: D1 01 00 88 03 00 5C [02:09:39]Write to MH i2c: 01 00 00 89 03 8C [02:09:39]Write i2c OK [02:09:39]MH_I2C_Read... [02:09:39]OFD Sender: No OFD packet to send [02:09:40]*** Cut start [02:09:40]*** Partial cut [02:09:40]*** CUTSNS_PIN = 1 [02:09:40]*** CUTSNS_PIN = 0 [02:09:40]*** Brake cut motor [02:09:40]Read from MH i2c: 01 [02:09:40]MH_I2C_Read... [02:09:40]*** Stop cut motor [02:09:40]*** Cut end [02:09:40]Read from MH i2c: 01 07 00 [02:09:40]MH_I2C_Read... [02:09:40]Read from MH i2c: 01 07 00 89 03 00 00 00 00 00 FF 0F A1 [02:09:40]process_action close_receipt done [02:09:40]requested_data is exist [02:09:40]produce_requested_data [02:09:40]requested_item fm.sn is exist - process it [02:09:40]wFMCommunicate request_size=4 [02:09:40]MH_SAM_APDU [02:09:40]CAPDU: 80 11 00 00 [02:09:40]Write to MH i2c: E2 08 00 8A 03 80 11 00 00 00 00 00 00 07 [02:09:40]Write i2c OK [02:09:40]MH_I2C_Read... [02:09:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:09:40]Read from MH i2c: E2 [02:09:40]MH_I2C_Read... [02:09:40]Read from MH i2c: E2 17 00 [02:09:40]MH_I2C_Read... [02:09:40]Read from MH i2c: E2 17 00 8A 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 61 [02:09:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [02:09:40]wFMCommunicate OK [02:09:40]requested_item fd.num is exist - process it [02:09:40]SAM_PROTO_GetFieldsCounters [02:09:40]wFMCommunicate request_size=4 [02:09:40]MH_SAM_APDU [02:09:40]CAPDU: 80 13 00 00 [02:09:40]Write to MH i2c: E2 08 00 8B 03 80 13 00 00 00 00 00 00 0A [02:09:40]Write i2c OK [02:09:40]MH_I2C_Read... [02:09:41]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [02:09:41]Read from MH i2c: E2 [02:09:41]MH_I2C_Read... [02:09:41]Read from MH i2c: E2 62 00 [02:09:41]MH_I2C_Read... [02:09:41]Read from MH i2c: E2 62 00 8B 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 B4 DF 00 00 0E 04 04 00 F2 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 F5 [02:09: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 B4 DF 00 00 0E 04 04 00 F2 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 [02:09:41]wFMCommunicate OK [02:09:41]SAM_PROTO_GetFieldsCounters done [02:09:41]requested_item shift.num is exist - process it [02:09:41]requested_item shift.opened is exist - process it [02:09:41]req_shift_opened [02:09:41]FM_GetShiftState [02:09:41]SAM_PROTO_GetShiftState [02:09:41]wFMCommunicate request_size=4 [02:09:41]MH_SAM_APDU [02:09:41]CAPDU: 80 13 01 00 [02:09:41]Write to MH i2c: E2 08 00 8C 03 80 13 01 00 00 00 00 00 0C [02:09:41]Write i2c OK [02:09:41]MH_I2C_Read... [02:09:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:09:41]Read from MH i2c: E2 [02:09:41]MH_I2C_Read... [02:09:41]Read from MH i2c: E2 0E 00 [02:09:41]MH_I2C_Read... [02:09:41]Read from MH i2c: E2 0E 00 8C 03 00 09 00 01 8A BF 95 66 00 00 00 00 90 00 5C [02:09:41]RAPDU: 09 00 01 8A BF 95 66 00 00 00 00 90 00 [02:09:41]wFMCommunicate OK [02:09:41]SAM_PROTO_GetShiftState done [02:09:41]FM_GetShiftState done [02:09:41]req_shift_opened done [02:09:41]requested_item shift.open_date is exist - process it [02:09:41]req_shift_open_date [02:09:41]req_shift_open_date done [02:09:41]requested_item shift.sale.total is exist - process it [02:09:41]SAM_PROTO_GetShiftData [02:09:41]wFMCommunicate request_size=4 [02:09:41]MH_SAM_APDU [02:09:41]CAPDU: 80 13 02 00 [02:09:41]Write to MH i2c: E2 08 00 8D 03 80 13 02 00 00 00 00 00 0E [02:09:41]Write i2c OK [02:09:41]MH_I2C_Read... [02:09:41]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [02:09:41]Read from MH i2c: E2 [02:09:41]MH_I2C_Read... [02:09:41]Read from MH i2c: E2 FD 00 [02:09:41]MH_I2C_Read... [02:09:41]Read from MH i2c: E2 FD 00 8D 03 00 AD 04 AA 04 A9 04 6E 04 04 00 16 00 00 00 69 04 9A 00 6F 04 04 00 16 00 00 00 B1 04 03 00 5C 27 09 70 04 03 00 30 C7 03 72 04 03 00 2C 60 05 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 D8 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 BE 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 B1 [02:09:41]RAPDU: AD 04 AA 04 A9 04 6E 04 04 00 16 00 00 00 69 04 9A 00 6F 04 04 00 16 00 00 00 B1 04 03 00 5C 27 09 70 04 03 00 30 C7 03 72 04 03 00 2C 60 05 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 D8 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 BE 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 [02:09:41]wFMCommunicate OK [02:09:41]wFMCommunicate request_size=4 [02:09:41]MH_SAM_APDU [02:09:41]CAPDU: 80 17 00 00 [02:09:41]Write to MH i2c: E2 08 00 8E 03 80 17 00 00 00 00 00 00 11 [02:09:41]Write i2c OK [02:09:41]MH_I2C_Read... [02:09:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [02:09:41]Read from MH i2c: E2 [02:09:41]MH_I2C_Read... [02:09:41]Read from MH i2c: E2 FD 00 [02:09:41]MH_I2C_Read... [02:09:41]Read from MH i2c: E2 FD 00 8E 03 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 23 [02:09: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 [02:09:41]wFMCommunicate OK [02:09:41]wFMCommunicate request_size=4 [02:09:41]MH_SAM_APDU [02:09:41]CAPDU: 80 17 00 00 [02:09:41]Write to MH i2c: E2 08 00 8F 03 80 17 00 00 00 00 00 00 12 [02:09:41]Write i2c OK [02:09:41]MH_I2C_Read... [02:09:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [02:09:42]Read from MH i2c: E2 [02:09:42]MH_I2C_Read... [02:09:42]Read from MH i2c: E2 FD 00 [02:09:42]MH_I2C_Read... [02:09:42]Read from MH i2c: E2 FD 00 8F 03 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 D6 [02:09: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 [02:09:42]wFMCommunicate OK [02:09:42]wFMCommunicate request_size=4 [02:09:42]MH_SAM_APDU [02:09:42]CAPDU: 80 17 00 00 [02:09:42]Write to MH i2c: E2 08 00 90 03 80 17 00 00 00 00 00 00 13 [02:09:42]Write i2c OK [02:09:42]MH_I2C_Read... [02:09:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [02:09:42]Read from MH i2c: E2 [02:09:42]MH_I2C_Read... [02:09:42]Read from MH i2c: E2 FD 00 [02:09:42]MH_I2C_Read... [02:09:42]Read from MH i2c: E2 FD 00 90 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 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 88 [02:09: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 [02:09:42]wFMCommunicate OK [02:09:42]wFMCommunicate request_size=4 [02:09:42]MH_SAM_APDU [02:09:42]CAPDU: 80 17 00 00 [02:09:42]Write to MH i2c: E2 08 00 91 03 80 17 00 00 00 00 00 00 14 [02:09:42]Write i2c OK [02:09:42]MH_I2C_Read... [02:09:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [02:09:42]Read from MH i2c: E2 [02:09:42]MH_I2C_Read... [02:09:42]Read from MH i2c: E2 CA 00 [02:09:42]MH_I2C_Read... [02:09:42]Read from MH i2c: E2 CA 00 91 03 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 F9 [02:09: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 [02:09:42]wFMCommunicate OK [02:09:42]SAM_PROTO_GetShiftData done [02:09:42]requested_item shift.sale.total_cash is exist - process it [02:09:42]requested_item shift.sale_refund.total is exist - process it [02:09:42]requested_item shift.sale_refund.total_cash is exist - process it [02:09:42]produce_requested_data done [02:09:42]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57268,"shift.num":498,"shift.opened":1,"shift.open_date":1721089930,"shift.sale.total":5999.00,"shift.sale.total_cash":2476.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [02:09:42]process_action_free close_receipt [02:09:42]json_value_free [02:09:42]json_value_free done [02:09:42]process_json_proto returns [02:09:42]Send response to host [02:09:42]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57268,"shift.num":498,"shift.opened":1,"shift.open_date":1721089930,"shift.sale.total":5999.00,"shift.sale.total_cash":2476.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [02:09:42]free response buf [02:09:42]execute_script done [02:09:42]execute_script returns [02:09:42]free content buf [02:09:42]Sock 8.Close socket [02:09:42]Sock 8.Thread stoped [02:09:44]OFD Sender: No OFD packet to send [02:09:49]OFD Sender: No OFD packet to send [02:09:54]OFD Sender: No OFD packet to send [02:10:00]OFD Sender: No OFD packet to send [02:10:05]OFD Sender: No OFD packet to send [02:10:10]OFD Sender: No OFD packet to send [02:10:15]OFD Sender: No OFD packet to send [02:10:20]OFD Sender: No OFD packet to send [02:10:25]OFD Sender: No OFD packet to send [02:10:30]OFD Sender: No OFD packet to send [02:10:35]OFD Sender: No OFD packet to send [02:10:40]OFD Sender: No OFD packet to send [02:10:45]OFD Sender: No OFD packet to send [02:10:50]OFD Sender: No OFD packet to send [02:10:55]OFD Sender: No OFD packet to send [02:11:00]OFD Sender: No OFD packet to send [02:11:05]OFD Sender: No OFD packet to send [02:11:10]OFD Sender: No OFD packet to send [02:11:15]OFD Sender: No OFD packet to send [02:11:20]OFD Sender: No OFD packet to send [02:11:25]OFD Sender: No OFD packet to send [02:11:30]OFD Sender: No OFD packet to send [02:11:35]OFD Sender: No OFD packet to send [02:11:40]OFD Sender: No OFD packet to send [02:11:45]OFD Sender: No OFD packet to send [02:11:50]OFD Sender: No OFD packet to send [02:11:55]OFD Sender: No OFD packet to send [02:12:00]OFD Sender: No OFD packet to send [02:12:05]OFD Sender: No OFD packet to send [02:12:10]OFD Sender: No OFD packet to send [02:12:15]OFD Sender: No OFD packet to send [02:12:20]OFD Sender: No OFD packet to send [02:12:25]OFD Sender: No OFD packet to send [02:12:30]OFD Sender: No OFD packet to send [02:12:35]OFD Sender: No OFD packet to send [02:12:40]OFD Sender: No OFD packet to send [02:12:45]OFD Sender: No OFD packet to send [02:12:50]OFD Sender: No OFD packet to send [02:12:55]OFD Sender: No OFD packet to send [02:13:00]OFD Sender: No OFD packet to send [02:13:05]OFD Sender: No OFD packet to send [02:13:10]OFD Sender: No OFD packet to send [02:13:15]OFD Sender: No OFD packet to send [02:13:20]OFD Sender: No OFD packet to send [02:13:25]OFD Sender: No OFD packet to send [02:13:30]OFD Sender: No OFD packet to send [02:13:35]OFD Sender: No OFD packet to send [02:13:40]OFD Sender: No OFD packet to send [02:13:45]OFD Sender: No OFD packet to send [02:13:50]OFD Sender: No OFD packet to send [02:13:55]OFD Sender: No OFD packet to send [02:14:00]OFD Sender: No OFD packet to send [02:14:05]OFD Sender: No OFD packet to send [02:14:10]OFD Sender: No OFD packet to send [02:14:15]OFD Sender: No OFD packet to send [02:14:20]OFD Sender: No OFD packet to send [02:14:25]OFD Sender: No OFD packet to send [02:14:30]OFD Sender: No OFD packet to send [02:14:35]OFD Sender: No OFD packet to send [02:14:40]OFD Sender: No OFD packet to send [02:14:45]OFD Sender: No OFD packet to send [02:14:50]OFD Sender: No OFD packet to send [02:14:55]OFD Sender: No OFD packet to send [02:15:00]OFD Sender: No OFD packet to send [02:15:05]OFD Sender: No OFD packet to send [02:15:10]OFD Sender: No OFD packet to send [02:15:15]OFD Sender: No OFD packet to send [02:15:20]OFD Sender: No OFD packet to send [02:15:25]OFD Sender: No OFD packet to send [02:15:30]OFD Sender: No OFD packet to send [02:15:35]OFD Sender: No OFD packet to send [02:15:40]OFD Sender: No OFD packet to send [02:15:45]OFD Sender: No OFD packet to send [02:15:50]OFD Sender: No OFD packet to send [02:15:55]OFD Sender: No OFD packet to send [02:16:00]OFD Sender: No OFD packet to send [02:16:05]OFD Sender: No OFD packet to send [02:16:10]OFD Sender: No OFD packet to send [02:16:15]OFD Sender: No OFD packet to send [02:16:20]OFD Sender: No OFD packet to send [02:16:25]OFD Sender: No OFD packet to send [02:16:30]OFD Sender: No OFD packet to send [02:16:35]OFD Sender: No OFD packet to send [02:16:40]OFD Sender: No OFD packet to send [02:16:45]OFD Sender: No OFD packet to send [02:16:50]OFD Sender: No OFD packet to send [02:16:55]OFD Sender: No OFD packet to send [02:16:56]accept exits with 9 [02:16:56]New connection [02:16:56]New thread 3066854756 created [02:16:56]Thread 3066998116 joined [02:16:56]Waiting for new connection... [02:16:56] Sock 9.Parse request [02:16:56]Sock 9.Check first char [02:16:56]Sock 9.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: 1865 [02:16:56]Content-Type: application/json [02:16:56] [02:16:56]POST finish read [02:16:56]Found Content-Length = 1865 [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)129704", "tax_sys" : 0, "items" : [ { "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" : 2.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700007110066", "name": "\u0421\u044D\u043D\u0434\u0432\u0438\u0447 \u0441 \u043C\u0430\u0439\u043E\u043D\u0435\u0437\u043E\u043C \u0422\u0430\u043B\u0430\u0441 \u0414\u0430\u0430\u043C\u044B", "price" : 70.00, "quantity" : 2.000, "sum" : 140.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": "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 }]} ], "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" : 695.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: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)129704", "tax_sys" : 0, "items" : [ { "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" : 2.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700007110066", "name": "\u0421\u044D\u043D\u0434\u0432\u0438\u0447 \u0441 \u043C\u0430\u0439\u043E\u043D\u0435\u0437\u043E\u043C \u0422\u0430\u043B\u0430\u0441 \u0414\u0430\u0430\u043C\u044B", "price" : 70.00, "quantity" : 2.000, "sum" : 140.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": "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 }]} ], "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" : 695.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:57]POST & json_proto [02:16:57]process_json_proto [02:16:57]json parsed OK: [02:16:57]protocol is kg_v1.0 [02:16:57]action value=close_receipt [02:16:57]process_action close_receipt [02:16:57]cmd_close_receipt [02:16:57]MH_GetDate [02:16:57]Write to MH i2c: F0 00 00 92 03 84 [02:16:57]Write i2c OK [02:16:57]MH_I2C_Read... [02:16:57]Read from MH i2c: F0 [02:16:57]MH_I2C_Read... [02:16:57]Read from MH i2c: F0 09 00 [02:16:57]MH_I2C_Read... [02:16:57]Read from MH i2c: F0 09 00 92 03 00 19 D8 95 66 2D 25 5D 64 8C [02:16:57]GetLastDocTimeStamp 1721095777 [02:16:57]current date 1721096217 [02:16:57]FM_GetShiftState [02:16:57]SAM_PROTO_GetShiftState [02:16:57]wFMCommunicate request_size=4 [02:16:57]MH_SAM_APDU [02:16:57]CAPDU: 80 13 01 00 [02:16:57]Write to MH i2c: E2 08 00 93 03 80 13 01 00 00 00 00 00 13 [02:16:57]Write i2c OK [02:16:57]MH_I2C_Read... [02:16:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:16:57]Read from MH i2c: E2 [02:16:57]MH_I2C_Read... [02:16:57]Read from MH i2c: E2 0E 00 [02:16:57]MH_I2C_Read... [02:16:57]Read from MH i2c: E2 0E 00 93 03 00 09 00 01 8A BF 95 66 00 00 00 00 90 00 63 [02:16:57]RAPDU: 09 00 01 8A BF 95 66 00 00 00 00 90 00 [02:16:57]wFMCommunicate OK [02:16:57]SAM_PROTO_GetShiftState done [02:16:57]FM_GetShiftState done [02:16:57]opened in 1721089930 [02:16:57]opened+sec_in_day 1721176330 [02:16:57]quantity*price = 14000 [02:16:57]sum+1 = 14001 [02:16:57]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700007110066 Сэндвич с майонезом Талас Даамы 2.000 * 70.00 = 140.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4870001570095 Напиток Pepsi 2л 1.000 * 210.00 = 210.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 5449000000286 Напиток Кока-Кола 2л 1.000 * 205.00 = 205.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 695.00 НСП 1% : 6.15 НДС 12% : 73.81 Наличными: 0.00 Безнал.: 695.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 23 16.07.2024 02:16 Смена: 498 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000874857 ФД: 57269 ФПД: 80920808651658 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240716T021657&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57269&fm=80920808651658&tin=02508201610067®Number=0000000000091208&sum=69500 0 [02:16:58]StoreToDocumentArchive [02:16:58]shift 498 fd 57269 [02:16:58]save to /storage/0498/doc_00057269 [02:16:58]save last doc name /storage/0498/doc_00057269 to /storage/kkm_last_doc_name [02:16:58]save OK [02:16:58]Clear old archive folders... [02:16:58]ProcessDocumentItem done err = 0, tmpTLVsize=632 [02:16:58]tlvbuf is 002DBB00 [02:16:58]SAM_PROTO_ClearQueue [02:16:58]wFMCommunicate request_size=4 [02:16:58]MH_SAM_APDU [02:16:58]CAPDU: 80 09 00 00 [02:16:58]Write to MH i2c: E2 08 00 A0 03 80 09 00 00 00 00 00 00 15 [02:16:58]Write i2c OK [02:16:58]MH_I2C_Read... [02:16:58]*** iso7816_exchange 80 09 00 00... 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 A0 03 00 90 00 17 [02:16:58]RAPDU: 90 00 [02:16:58]wFMCommunicate OK [02:16:58]SAM_PROTO_ClearQueue done [02:16:58]KKMCreateOFDPacket [02:16:58]OFDProtocolAddRootSTLVToBuf [02:16:58]FM_MakeSignedData [02:16:58]FM_MakeSignedData [02:16:58]SAM_PROTO_SignData [02:16:58]wFMCommunicate request_size=4 [02:16:58]MH_SAM_APDU [02:16:58]CAPDU: 80 0D 01 02 [02:16:58]Write to MH i2c: E2 08 00 A1 03 80 0D 01 02 00 00 00 00 1D [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 A1 03 00 90 00 18 [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 78 02 1E 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 D0 07 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7E 00 8A 04 0D 00 34 37 30 30 30 30 37 31 31 30 30 36 36 06 04 3A 00 D0 A1 D1 8D D0 BD D0 B4 D0 B2 D0 B8 D1 87 20 D1 81 20 D0 BC D0 B0 D0 B9 D0 BE D0 BD D0 B5 D0 B7 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 D0 07 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 B0 36 00 00 [02:16:58]Write to MH i2c: E2 02 01 A2 03 80 0D 02 02 FA 00 03 00 78 02 1E 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 D0 07 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7E 00 8A 04 0D 00 34 37 30 30 30 30 37 31 31 30 30 36 36 06 04 3A 00 D0 A1 D1 8D D0 BD D0 B4 D0 B2 D0 B8 D1 87 20 D1 81 20 D0 BC D0 B0 D0 B9 D0 BE D0 BD D0 B5 D0 B7 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 D0 07 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 AC [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 A2 03 00 90 00 19 [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 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 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 FC 03 06 00 7C 0F 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 67 02 [02:16:58]Write to MH i2c: E2 02 01 A3 03 80 0D 02 02 FA 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 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 FC 03 06 00 7C 0F 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 67 02 00 00 3A [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 A3 03 00 90 00 1A [02:16:58]RAPDU: 90 00 [02:16:58]wFMCommunicate OK [02:16:58]wFMCommunicate request_size=141 [02:16:58]MH_SAM_APDU [02:16:58]CAPDU: 80 0D 02 02 88 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D5 1C 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 7C 0F 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 19 D8 95 66 0E 04 04 00 F2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 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 DF 00 00 35 04 06 00 49 98 D8 0D FB 8A [02:16:58]Write to MH i2c: E2 90 00 A4 03 80 0D 02 02 88 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D5 1C 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 7C 0F 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 19 D8 95 66 0E 04 04 00 F2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 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 DF 00 00 35 04 06 00 49 98 D8 0D FB 8A 00 00 B2 [02:16:58]Write i2c OK [02:16:58]MH_I2C_Read... [02:16:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:16:59]Read from MH i2c: E2 [02:16:59]MH_I2C_Read... [02:16:59]Read from MH i2c: E2 03 00 [02:16:59]MH_I2C_Read... [02:16:59]Read from MH i2c: E2 03 00 A4 03 00 90 00 1B [02:16:59]RAPDU: 90 00 [02:16:59]wFMCommunicate OK [02:16:59]wFMCommunicate request_size=4 [02:16:59]MH_SAM_APDU [02:16:59]CAPDU: 80 0D 03 02 [02:16:59]Write to MH i2c: E2 08 00 A5 03 80 0D 03 02 00 00 00 00 23 [02:16:59]Write i2c OK [02:16:59]MH_I2C_Read... [02:16:59]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [02:16:59]Read from MH i2c: E2 [02:16:59]MH_I2C_Read... [02:16:59]Read from MH i2c: E2 0B 00 [02:16:59]MH_I2C_Read... [02:16:59]Read from MH i2c: E2 0B 00 A5 03 00 4B D3 D7 FE 3B 65 87 28 90 00 66 [02:16:59]RAPDU: 4B D3 D7 FE 3B 65 87 28 90 00 [02:16:59]wFMCommunicate OK [02:16:59]SAM_PROTO_SignData done [02:16:59]FM_MakeSignedData done [02:16:59]CreateOFDProtocolMessage [02:16:59]wFMCommunicate request_size=4 [02:16:59]MH_SAM_APDU [02:16:59]CAPDU: 80 11 00 00 [02:16:59]Write to MH i2c: E2 08 00 A6 03 80 11 00 00 00 00 00 00 23 [02:16:59]Write i2c OK [02:16:59]MH_I2C_Read... [02:16:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:16:59]Read from MH i2c: E2 [02:16:59]MH_I2C_Read... [02:16:59]Read from MH i2c: E2 17 00 [02:16:59]MH_I2C_Read... [02:16:59]Read from MH i2c: E2 17 00 A6 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 7D [02:16: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:16:59]wFMCommunicate OK [02:16:59]CreateOFDProtocolMessage done [02:16:59]OFDSenderStorePacket 57269 [02:16:59]StoreOFDPacket docnum=57269 [02:16: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 8C 02 00 00 E8 D4 84 02 80 0D 5A 03 01 00 03 00 78 02 1E 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 D0 07 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7E 00 8A 04 0D 00 34 37 30 30 30 30 37 31 31 30 30 36 36 06 04 3A 00 D0 A1 D1 8D D0 BD D0 B4 D0 B2 D0 B8 D1 87 20 D1 81 20 D0 BC D0 B0 D0 B9 D0 BE D0 BD D0 B5 D0 B7 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 D0 07 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 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 FC 03 06 00 7C 0F 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 67 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D5 1C 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 7C 0F 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 19 D8 95 66 0E 04 04 00 F2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 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 DF 00 00 35 04 06 00 49 98 D8 0D FB 8A 4B D3 D7 FE 3B 65 87 28 [02:16:59]CheckFolder [02:16:59]dirname=/storage/ofd_packets [02:16:59]CheckFolder done [02:16:59]ProducePacketName [02:16:59]name=ofd_packets/00057269 [02:16:59]NVStorageSaveData ofd_packets/00057269 [02:16:59]File name is /storage/ofd_packets/00057269 [02:16:59]Write 682 bytes [02:16:59]NVStorageSaveData done [02:16:59]OFDSenderStorePacket done [02:16:59]KKMCreateOFDPacket done [02:16:59]NVStorageSaveData kkm_last_timestamp [02:16:59]File name is /storage/kkm_last_timestamp [02:16:59]Write 4 bytes [02:16:59]NVStorageSaveData done [02:16:59]ExternCall_PrintAddStr [02:16:59]wPrintStart [02:16:59]Write to MH i2c: 01 00 00 A7 03 AA [02:16:59]OFD Sender: Processing packet 57269 [packets to send 38, broken 37] [02:16:59]ProducePacketName [02:16:59]name=ofd_packets/00057269 [02:16:59]Write i2c OK [02:16:59]MH_I2C_Read... [02:16:59]OFD Sender: To server: pG, [02:16:59]CommunicateWithHost lk.salyk.kg:30040 [02:16:59]ConnectInit lk.salyk.kg [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 A7 03 00 00 00 00 00 FF 0F BF [02:16:59]RasterBufferAndPrint [02:16:59]line Счет N : (3)129704 [02:16:59]line ИНН: 02508201610067 [02:16:59]line Контрольно-Кассовый Чек [02:16:59]line ПРОДАЖА [02:16:59]line Товар: 4700007110073 [02:16:59]line Сэндвич с кетчупом Талас Даамы [02:16:59]line 2.000 * 70.00 [02:16:59]line = 140.00 [02:16:59]line НДС 12% НСП 1% [02:16:59]line > о реализуемом товаре [02:16:59]line Товар: 4700007110066 [02:16:59]line Сэндвич с майонезом Талас Даамы [02:16:59]line 2.000 * 70.00 [02:16:59]line = 140.00 [02:16:59]line НДС 12% НСП 1% [02:16:59]line > о реализуемом товаре [02:16:59]line Товар: 4870001570095 [02:16:59]line Напиток Pepsi 2л [02:16:59]line 1.000 * 210.00 [02:16:59]line = 210.00 [02:16:59]line НДС 12% НСП 1% [02:16:59]line > о реализуемом товаре [02:16:59]line Товар: 5449000000286 [02:16:59]line Напиток Кока-Кола 2л [02:16:59]line 1.000 * 205.00 [02:16:59]line = 205.00 [02:16:59]line НДС 12% НСП 1% [02:16:59]line > о реализуемом товаре [02:16:59]line ИТОГО: 695.00 [02:16:59]line НСП 1% : 6.15 [02:16:59]line НДС 12% : 73.81 [02:16:59]line Наличными: 0.00 [02:16:59]line Безнал.: 695.00 [02:16:59]line Место: АЗС № 132 "Партнер Нефть" [02:16:59]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [02:16:59]line СНО: Общий режим [02:16:59]line Чек 23 16.07.2024 02:16 [02:16:59]line Смена: 498 ФФД: 1.0 [02:16:59]line ЗНМ: 0300000132 [02:16:59]line РНМ: 0000000000091208 [02:16:59]line Версия ККМ: 001 [02:16:59]line Платежная система: АКБ Кыргызстан [02:16:59]line ФМ: 0000000000874857 [02:16:59]line ФД: 57269 [02:16:59]line ФПД: 80920808651658 [02:16:59]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240716T021657&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57269&fm=80920808651658&tin=02508201610067®Number=0000000000091208&sum=69500 [02:16:59]line 0 [02:16:59]written 0, free lines is 4095 [02:16:59]Connected sock=8 [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 8C 02 00 00 E8 D4 84 02 80 0D 5A 03 01 00 03 00 78 02 1E 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 D0 07 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7E 00 8A 04 0D 00 34 37 30 30 30 30 37 31 31 30 30 36 36 06 04 3A 00 D0 A1 D1 8D D0 BD D0 B4 D0 B2 D0 B8 D1 87 20 D1 81 20 D0 BC D0 B0 D0 B9 D0 BE D0 BD D0 B5 D0 B7 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 D0 07 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 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 FC 03 06 00 7C 0F 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 67 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D5 1C 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 7C 0F 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 19 D8 95 66 0E 04 04 00 F2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 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 DF 00 00 35 04 06 00 49 98 D8 0D FB 8A 4B D3 D7 FE 3B 65 87 28 [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 22 4A 47 00 A4 17 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 B5 DF 00 00 F4 03 04 00 66 7E 95 66 B6 04 01 00 00 23 08 D9 86 40 7E 6B 5A [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) - 57269 [02:16:59]1012 (4) - 15.07.2024 19:54 [02:16:59]1206 (1) - 0 [02:16:59]OFD Sender: Remove packet 57269 [02:16:59]ProducePacketName [02:16:59]name=ofd_packets/00057269 [02:16:59]NVStorageDeleteData [02:17:00]Write to MH i2c: 01 00 00 E5 03 E8 [02:17:00]Write i2c OK [02:17:00]MH_I2C_Read... [02:17:00]Read from MH i2c: 01 [02:17:00]MH_I2C_Read... [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 E5 03 00 00 00 00 00 B6 0B B0 [02:17:00]RasterBufferAndPrint [02:17:00]line [02:17:00]line [02:17:00]line [02:17:00]line [02:17:00]line [02:17:00]written 0, free lines is 3006 [02:17:00]MH_Cut [02:17:00]Write to MH i2c: D1 01 00 EC 03 01 C1 [02:17:00]Write i2c OK [02:17:00]MH_I2C_Read... [02:17:00]Read from MH i2c: D1 [02:17:00]MH_I2C_Read... [02:17:00]Read from MH i2c: D1 01 00 [02:17:00]MH_I2C_Read... [02:17:00]Read from MH i2c: D1 01 00 EC 03 00 C0 [02:17:00]Write to MH i2c: 01 00 00 ED 03 F0 [02:17:00]Write i2c OK [02:17:00]MH_I2C_Read... [02:17:00]OFD Sender: No OFD packet to send [02:17:01]*** Cut start [02:17:01]*** Partial cut [02:17:01]*** CUTSNS_PIN = 1 [02:17:01]*** CUTSNS_PIN = 0 [02:17:01]*** Brake cut motor [02:17:01]Read from MH i2c: 01 [02:17:01]MH_I2C_Read... [02:17:01]*** Stop cut motor [02:17:01]*** Cut end [02:17:01]Read from MH i2c: 01 07 00 [02:17:01]MH_I2C_Read... [02:17:01]Read from MH i2c: 01 07 00 ED 03 00 00 00 00 00 FF 0F 05 [02:17:01]process_action close_receipt done [02:17:01]requested_data is exist [02:17:01]produce_requested_data [02:17:01]requested_item fm.sn is exist - process it [02:17:01]wFMCommunicate request_size=4 [02:17:01]MH_SAM_APDU [02:17:01]CAPDU: 80 11 00 00 [02:17:01]Write to MH i2c: E2 08 00 EE 03 80 11 00 00 00 00 00 00 6B [02:17:01]Write i2c OK [02:17:01]MH_I2C_Read... [02:17:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:17:01]Read from MH i2c: E2 [02:17:01]MH_I2C_Read... [02:17:01]Read from MH i2c: E2 17 00 [02:17:01]MH_I2C_Read... [02:17:01]Read from MH i2c: E2 17 00 EE 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 C5 [02:17:01]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:01]wFMCommunicate OK [02:17:01]requested_item fd.num is exist - process it [02:17:01]SAM_PROTO_GetFieldsCounters [02:17:01]wFMCommunicate request_size=4 [02:17:01]MH_SAM_APDU [02:17:01]CAPDU: 80 13 00 00 [02:17:01]Write to MH i2c: E2 08 00 EF 03 80 13 00 00 00 00 00 00 6E [02:17:01]Write i2c OK [02:17:01]MH_I2C_Read... [02:17:01]*** 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 EF 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 B5 DF 00 00 0E 04 04 00 F2 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 5D [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 B5 DF 00 00 0E 04 04 00 F2 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 [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 F0 03 80 13 01 00 00 00 00 00 70 [02:17:01]Write i2c OK [02:17:01]MH_I2C_Read... [02:17:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:17:02]Read from MH i2c: E2 [02:17:02]MH_I2C_Read... [02:17:02]Read from MH i2c: E2 0E 00 [02:17:02]MH_I2C_Read... [02:17:02]Read from MH i2c: E2 0E 00 F0 03 00 09 00 01 8A BF 95 66 00 00 00 00 90 00 C0 [02:17:02]RAPDU: 09 00 01 8A BF 95 66 00 00 00 00 90 00 [02:17:02]wFMCommunicate OK [02:17:02]SAM_PROTO_GetShiftState done [02:17:02]FM_GetShiftState done [02:17:02]req_shift_opened done [02:17:02]requested_item shift.open_date is exist - process it [02:17:02]req_shift_open_date [02:17:02]req_shift_open_date done [02:17:02]requested_item shift.sale.total is exist - process it [02:17:02]SAM_PROTO_GetShiftData [02:17:02]wFMCommunicate request_size=4 [02:17:02]MH_SAM_APDU [02:17:02]CAPDU: 80 13 02 00 [02:17:02]Write to MH i2c: E2 08 00 F1 03 80 13 02 00 00 00 00 00 72 [02:17:02]Write i2c OK [02:17:02]MH_I2C_Read... [02:17:02]*** iso7816_exchange 80 13 02 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 F1 03 00 AE 04 AA 04 AA 04 6E 04 04 00 17 00 00 00 69 04 9B 00 6F 04 04 00 17 00 00 00 B1 04 03 00 D8 36 0A 70 04 03 00 30 C7 03 72 04 03 00 A8 6F 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 AD 15 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 25 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 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 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 8F [02:17:02]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 17 00 00 00 69 04 9B 00 6F 04 04 00 17 00 00 00 B1 04 03 00 D8 36 0A 70 04 03 00 30 C7 03 72 04 03 00 A8 6F 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 AD 15 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 25 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 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 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 [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 F2 03 80 17 00 00 00 00 00 00 75 [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 F2 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 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 97 [02:17:02]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [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 F3 03 80 17 00 00 00 00 00 00 76 [02:17:02]Write i2c OK [02:17:02]MH_I2C_Read... [02:17:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [02:17:03]Read from MH i2c: E2 [02:17:03]MH_I2C_Read... [02:17:03]Read from MH i2c: E2 FD 00 [02:17:03]MH_I2C_Read... [02:17:03]Read from MH i2c: E2 FD 00 F3 03 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 2D [02:17:03]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [02:17:03]wFMCommunicate OK [02:17:03]wFMCommunicate request_size=4 [02:17:03]MH_SAM_APDU [02:17:03]CAPDU: 80 17 00 00 [02:17:03]Write to MH i2c: E2 08 00 F4 03 80 17 00 00 00 00 00 00 77 [02:17:03]Write i2c OK [02:17:03]MH_I2C_Read... [02:17:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [02:17:03]Read from MH i2c: E2 [02:17:03]MH_I2C_Read... [02:17:03]Read from MH i2c: E2 FD 00 [02:17:03]MH_I2C_Read... [02:17:03]Read from MH i2c: E2 FD 00 F4 03 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 E9 [02:17:03]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [02:17:03]wFMCommunicate OK [02:17:03]wFMCommunicate request_size=4 [02:17:03]MH_SAM_APDU [02:17:03]CAPDU: 80 17 00 00 [02:17:03]Write to MH i2c: E2 08 00 F5 03 80 17 00 00 00 00 00 00 78 [02:17:03]Write i2c OK [02:17:03]MH_I2C_Read... [02:17:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [02:17:03]Read from MH i2c: E2 [02:17:03]MH_I2C_Read... [02:17:03]Read from MH i2c: E2 CB 00 [02:17:03]MH_I2C_Read... [02:17:03]Read from MH i2c: E2 CB 00 F5 03 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 61 [02:17:03]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [02:17:03]wFMCommunicate OK [02:17:03]SAM_PROTO_GetShiftData done [02:17:03]requested_item shift.sale.total_cash is exist - process it [02:17:03]requested_item shift.sale_refund.total is exist - process it [02:17:03]requested_item shift.sale_refund.total_cash is exist - process it [02:17:03]produce_requested_data done [02:17:03]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57269,"shift.num":498,"shift.opened":1,"shift.open_date":1721089930,"shift.sale.total":6694.00,"shift.sale.total_cash":2476.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [02:17:03]process_action_free close_receipt [02:17:03]json_value_free [02:17:03]json_value_free done [02:17:03]process_json_proto returns [02:17:03]Send response to host [02:17:03]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57269,"shift.num":498,"shift.opened":1,"shift.open_date":1721089930,"shift.sale.total":6694.00,"shift.sale.total_cash":2476.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [02:17:03]free response buf [02:17:03]execute_script done [02:17:03]execute_script returns [02:17:03]free content buf [02:17:03]Sock 9.Close socket [02:17:03]Sock 9.Thread stoped [02:17:05]OFD Sender: No OFD packet to send [02:17:10]OFD Sender: No OFD packet to send [02:17:15]OFD Sender: No OFD packet to send [02:17:20]OFD Sender: No OFD packet to send [02:17:25]OFD Sender: No OFD packet to send [02:17:30]OFD Sender: No OFD packet to send [02:17:35]OFD Sender: No OFD packet to send [02:17:40]OFD Sender: No OFD packet to send [02:17:45]OFD Sender: No OFD packet to send [02:17:50]OFD Sender: No OFD packet to send [02:17:55]OFD Sender: No OFD packet to send [02:18:00]OFD Sender: No OFD packet to send [02:18:05]OFD Sender: No OFD packet to send [02:18:10]OFD Sender: No OFD packet to send [02:18:15]OFD Sender: No OFD packet to send [02:18:20]OFD Sender: No OFD packet to send [02:18:25]OFD Sender: No OFD packet to send [02:18:30]OFD Sender: No OFD packet to send [02:18:35]OFD Sender: No OFD packet to send [02:18:40]OFD Sender: No OFD packet to send [02:18:45]OFD Sender: No OFD packet to send [02:18:50]OFD Sender: No OFD packet to send [02:18:55]OFD Sender: No OFD packet to send [02:19:00]OFD Sender: No OFD packet to send [02:19:05]OFD Sender: No OFD packet to send [02:19:10]OFD Sender: No OFD packet to send [02:19:15]OFD Sender: No OFD packet to send [02:19:20]OFD Sender: No OFD packet to send [02:19:25]OFD Sender: No OFD packet to send [02:19:30]OFD Sender: No OFD packet to send [02:19:35]OFD Sender: No OFD packet to send [02:19:40]OFD Sender: No OFD packet to send [02:19:45]OFD Sender: No OFD packet to send [02:19:50]OFD Sender: No OFD packet to send [02:19:55]OFD Sender: No OFD packet to send [02:20:00]OFD Sender: No OFD packet to send [02:20:05]OFD Sender: No OFD packet to send [02:20:10]OFD Sender: No OFD packet to send [02:20:15]OFD Sender: No OFD packet to send [02:20:20]OFD Sender: No OFD packet to send [02:20:25]OFD Sender: No OFD packet to send [02:20:30]OFD Sender: No OFD packet to send [02:20:35]OFD Sender: No OFD packet to send [02:20:40]OFD Sender: No OFD packet to send [02:20:45]OFD Sender: No OFD packet to send [02:20:50]OFD Sender: No OFD packet to send [02:20:55]OFD Sender: No OFD packet to send [02:21:00]OFD Sender: No OFD packet to send [02:21:05]OFD Sender: No OFD packet to send [02:21:10]OFD Sender: No OFD packet to send [02:21:15]OFD Sender: No OFD packet to send [02:21:20]OFD Sender: No OFD packet to send [02:21:25]OFD Sender: No OFD packet to send [02:21:30]OFD Sender: No OFD packet to send [02:21:35]OFD Sender: No OFD packet to send [02:21:40]OFD Sender: No OFD packet to send [02:21:45]OFD Sender: No OFD packet to send [02:21:50]OFD Sender: No OFD packet to send [02:21:55]OFD Sender: No OFD packet to send [02:22:00]OFD Sender: No OFD packet to send [02:22:05]OFD Sender: No OFD packet to send [02:22:10]OFD Sender: No OFD packet to send [02:22:15]OFD Sender: No OFD packet to send [02:22:20]OFD Sender: No OFD packet to send [02:22:25]OFD Sender: No OFD packet to send [02:22:30]OFD Sender: No OFD packet to send [02:22:35]OFD Sender: No OFD packet to send [02:22:40]OFD Sender: No OFD packet to send [02:22:45]OFD Sender: No OFD packet to send [02:22:50]OFD Sender: No OFD packet to send [02:22:55]OFD Sender: No OFD packet to send [02:23:00]OFD Sender: No OFD packet to send [02:23:05]OFD Sender: No OFD packet to send [02:23:10]OFD Sender: No OFD packet to send [02:23:15]OFD Sender: No OFD packet to send [02:23:20]OFD Sender: No OFD packet to send [02:23:25]OFD Sender: No OFD packet to send [02:23:30]OFD Sender: No OFD packet to send [02:23:35]OFD Sender: No OFD packet to send [02:23:40]OFD Sender: No OFD packet to send [02:23:45]OFD Sender: No OFD packet to send [02:23:50]OFD Sender: No OFD packet to send [02:23:55]OFD Sender: No OFD packet to send [02:24:00]OFD Sender: No OFD packet to send [02:24:05]OFD Sender: No OFD packet to send [02:24:10]OFD Sender: No OFD packet to send [02:24:15]OFD Sender: No OFD packet to send [02:24:20]OFD Sender: No OFD packet to send [02:24:25]OFD Sender: No OFD packet to send [02:24:30]OFD Sender: No OFD packet to send [02:24:35]OFD Sender: No OFD packet to send [02:24:40]OFD Sender: No OFD packet to send [02:24:45]OFD Sender: No OFD packet to send [02:24:50]OFD Sender: No OFD packet to send [02:24:55]OFD Sender: No OFD packet to send [02:25:00]OFD Sender: No OFD packet to send [02:25:05]OFD Sender: No OFD packet to send [02:25:10]OFD Sender: No OFD packet to send [02:25:15]OFD Sender: No OFD packet to send [02:25:20]OFD Sender: No OFD packet to send [02:25:25]OFD Sender: No OFD packet to send [02:25:30]OFD Sender: No OFD packet to send [02:25:35]OFD Sender: No OFD packet to send [02:25:40]OFD Sender: No OFD packet to send [02:25:45]OFD Sender: No OFD packet to send [02:25:50]OFD Sender: No OFD packet to send [02:25:55]OFD Sender: No OFD packet to send [02:26:00]OFD Sender: No OFD packet to send [02:26:05]OFD Sender: No OFD packet to send [02:26:10]OFD Sender: No OFD packet to send [02:26:15]OFD Sender: No OFD packet to send [02:26:20]OFD Sender: No OFD packet to send [02:26:25]OFD Sender: No OFD packet to send [02:26:30]OFD Sender: No OFD packet to send [02:26:35]OFD Sender: No OFD packet to send [02:26:40]OFD Sender: No OFD packet to send [02:26:45]OFD Sender: No OFD packet to send [02:26:50]OFD Sender: No OFD packet to send [02:26:55]OFD Sender: No OFD packet to send [02:27:00]OFD Sender: No OFD packet to send [02:27:05]OFD Sender: No OFD packet to send [02:27:10]OFD Sender: No OFD packet to send [02:27:15]OFD Sender: No OFD packet to send [02:27:20]OFD Sender: No OFD packet to send [02:27:25]OFD Sender: No OFD packet to send [02:27:30]OFD Sender: No OFD packet to send [02:27:35]OFD Sender: No OFD packet to send [02:27:40]OFD Sender: No OFD packet to send [02:27:45]OFD Sender: No OFD packet to send [02:27:50]OFD Sender: No OFD packet to send [02:27:55]OFD Sender: No OFD packet to send [02:28:01]OFD Sender: No OFD packet to send [02:28:06]OFD Sender: No OFD packet to send [02:28:11]OFD Sender: No OFD packet to send [02:28:16]OFD Sender: No OFD packet to send [02:28:21]OFD Sender: No OFD packet to send [02:28:26]OFD Sender: No OFD packet to send [02:28:31]OFD Sender: No OFD packet to send [02:28:36]OFD Sender: No OFD packet to send [02:28:41]OFD Sender: No OFD packet to send [02:28:46]OFD Sender: No OFD packet to send [02:28:51]OFD Sender: No OFD packet to send [02:28:56]OFD Sender: No OFD packet to send [02:29:01]OFD Sender: No OFD packet to send [02:29:06]OFD Sender: No OFD packet to send [02:29:11]OFD Sender: No OFD packet to send [02:29:16]OFD Sender: No OFD packet to send [02:29:21]OFD Sender: No OFD packet to send [02:29:26]OFD Sender: No OFD packet to send [02:29:31]OFD Sender: No OFD packet to send [02:29:36]OFD Sender: No OFD packet to send [02:29:41]OFD Sender: No OFD packet to send [02:29:46]OFD Sender: No OFD packet to send [02:29:51]OFD Sender: No OFD packet to send [02:29:56]OFD Sender: No OFD packet to send [02:30:01]OFD Sender: No OFD packet to send [02:30:06]OFD Sender: No OFD packet to send [02:30:11]OFD Sender: No OFD packet to send [02:30:16]OFD Sender: No OFD packet to send [02:30:21]OFD Sender: No OFD packet to send [02:30:26]OFD Sender: No OFD packet to send [02:30:31]OFD Sender: No OFD packet to send [02:30:36]OFD Sender: No OFD packet to send [02:30:41]OFD Sender: No OFD packet to send [02:30:46]OFD Sender: No OFD packet to send [02:30:51]OFD Sender: No OFD packet to send [02:30:56]OFD Sender: No OFD packet to send [02:31:01]OFD Sender: No OFD packet to send [02:31:06]OFD Sender: No OFD packet to send [02:31:11]OFD Sender: No OFD packet to send [02:31:16]OFD Sender: No OFD packet to send [02:31:21]OFD Sender: No OFD packet to send [02:31:26]OFD Sender: No OFD packet to send [02:31:31]OFD Sender: No OFD packet to send [02:31:36]OFD Sender: No OFD packet to send [02:31:41]OFD Sender: No OFD packet to send [02:31:46]OFD Sender: No OFD packet to send [02:31:51]OFD Sender: No OFD packet to send [02:31:56]OFD Sender: No OFD packet to send [02:32:01]OFD Sender: No OFD packet to send [02:32:06]OFD Sender: No OFD packet to send [02:32:11]OFD Sender: No OFD packet to send [02:32:16]OFD Sender: No OFD packet to send [02:32:21]OFD Sender: No OFD packet to send [02:32:26]OFD Sender: No OFD packet to send [02:32:31]OFD Sender: No OFD packet to send [02:32:36]OFD Sender: No OFD packet to send [02:32:41]OFD Sender: No OFD packet to send [02:32:46]OFD Sender: No OFD packet to send [02:32:51]OFD Sender: No OFD packet to send [02:32:56]OFD Sender: No OFD packet to send [02:33:01]OFD Sender: No OFD packet to send [02:33:06]OFD Sender: No OFD packet to send [02:33:11]OFD Sender: No OFD packet to send [02:33:16]OFD Sender: No OFD packet to send [02:33:21]OFD Sender: No OFD packet to send [02:33:26]OFD Sender: No OFD packet to send [02:33:31]OFD Sender: No OFD packet to send [02:33:36]OFD Sender: No OFD packet to send [02:33:41]OFD Sender: No OFD packet to send [02:33:46]OFD Sender: No OFD packet to send [02:33:51]OFD Sender: No OFD packet to send [02:33:56]OFD Sender: No OFD packet to send [02:34:01]OFD Sender: No OFD packet to send [02:34:06]OFD Sender: No OFD packet to send [02:34:11]OFD Sender: No OFD packet to send [02:34:16]OFD Sender: No OFD packet to send [02:34:21]OFD Sender: No OFD packet to send [02:34:26]OFD Sender: No OFD packet to send [02:34:31]OFD Sender: No OFD packet to send [02:34:36]OFD Sender: No OFD packet to send [02:34:41]OFD Sender: No OFD packet to send [02:34:46]OFD Sender: No OFD packet to send [02:34:51]OFD Sender: No OFD packet to send [02:34:56]OFD Sender: No OFD packet to send [02:35:01]OFD Sender: No OFD packet to send [02:35:06]OFD Sender: No OFD packet to send [02:35:11]OFD Sender: No OFD packet to send [02:35:16]OFD Sender: No OFD packet to send [02:35:21]OFD Sender: No OFD packet to send [02:35:26]OFD Sender: No OFD packet to send [02:35:31]OFD Sender: No OFD packet to send [02:35:36]OFD Sender: No OFD packet to send [02:35:41]OFD Sender: No OFD packet to send [02:35:46]OFD Sender: No OFD packet to send [02:35:51]OFD Sender: No OFD packet to send [02:35:56]OFD Sender: No OFD packet to send [02:36:01]OFD Sender: No OFD packet to send [02:36:06]OFD Sender: No OFD packet to send [02:36:11]OFD Sender: No OFD packet to send [02:36:16]OFD Sender: No OFD packet to send [02:36:21]OFD Sender: No OFD packet to send [02:36:26]OFD Sender: No OFD packet to send [02:36:31]OFD Sender: No OFD packet to send [02:36:36]OFD Sender: No OFD packet to send [02:36:41]OFD Sender: No OFD packet to send [02:36:46]OFD Sender: No OFD packet to send [02:36:51]OFD Sender: No OFD packet to send [02:36:56]OFD Sender: No OFD packet to send [02:37:01]OFD Sender: No OFD packet to send [02:37:06]OFD Sender: No OFD packet to send [02:37:11]OFD Sender: No OFD packet to send [02:37:16]OFD Sender: No OFD packet to send [02:37:21]OFD Sender: No OFD packet to send [02:37:26]OFD Sender: No OFD packet to send [02:37:31]OFD Sender: No OFD packet to send [02:37:36]OFD Sender: No OFD packet to send [02:37:41]OFD Sender: No OFD packet to send [02:37:46]OFD Sender: No OFD packet to send [02:37:51]OFD Sender: No OFD packet to send [02:37:56]OFD Sender: No OFD packet to send [02:38:01]OFD Sender: No OFD packet to send [02:38:06]OFD Sender: No OFD packet to send [02:38:11]OFD Sender: No OFD packet to send [02:38:16]OFD Sender: No OFD packet to send [02:38:21]OFD Sender: No OFD packet to send [02:38:26]OFD Sender: No OFD packet to send [02:38:31]OFD Sender: No OFD packet to send [02:38:36]OFD Sender: No OFD packet to send [02:38:41]OFD Sender: No OFD packet to send [02:38:46]OFD Sender: No OFD packet to send [02:38:51]OFD Sender: No OFD packet to send [02:38:56]OFD Sender: No OFD packet to send [02:39:01]OFD Sender: No OFD packet to send [02:39:06]OFD Sender: No OFD packet to send [02:39:11]OFD Sender: No OFD packet to send [02:39:16]OFD Sender: No OFD packet to send [02:39:21]OFD Sender: No OFD packet to send [02:39:26]OFD Sender: No OFD packet to send [02:39:31]OFD Sender: No OFD packet to send [02:39:36]OFD Sender: No OFD packet to send [02:39:41]OFD Sender: No OFD packet to send [02:39:46]OFD Sender: No OFD packet to send [02:39:51]OFD Sender: No OFD packet to send [02:39:56]OFD Sender: No OFD packet to send [02:40:01]OFD Sender: No OFD packet to send [02:40:06]OFD Sender: No OFD packet to send [02:40:11]OFD Sender: No OFD packet to send [02:40:16]OFD Sender: No OFD packet to send [02:40:21]OFD Sender: No OFD packet to send [02:40:26]OFD Sender: No OFD packet to send [02:40:31]OFD Sender: No OFD packet to send [02:40:36]OFD Sender: No OFD packet to send [02:40:41]OFD Sender: No OFD packet to send [02:40:46]OFD Sender: No OFD packet to send [02:40:51]OFD Sender: No OFD packet to send [02:40:56]OFD Sender: No OFD packet to send [02:41:01]OFD Sender: No OFD packet to send [02:41:06]OFD Sender: No OFD packet to send [02:41:11]OFD Sender: No OFD packet to send [02:41:16]OFD Sender: No OFD packet to send [02:41:21]OFD Sender: No OFD packet to send [02:41:26]OFD Sender: No OFD packet to send [02:41:31]OFD Sender: No OFD packet to send [02:41:36]OFD Sender: No OFD packet to send [02:41:41]OFD Sender: No OFD packet to send [02:41:46]OFD Sender: No OFD packet to send [02:41:51]OFD Sender: No OFD packet to send [02:41:56]OFD Sender: No OFD packet to send [02:42:01]OFD Sender: No OFD packet to send [02:42:06]OFD Sender: No OFD packet to send [02:42:11]OFD Sender: No OFD packet to send [02:42:16]OFD Sender: No OFD packet to send [02:42:21]OFD Sender: No OFD packet to send [02:42:26]OFD Sender: No OFD packet to send [02:42:31]OFD Sender: No OFD packet to send [02:42:36]OFD Sender: No OFD packet to send [02:42:41]OFD Sender: No OFD packet to send [02:42:46]OFD Sender: No OFD packet to send [02:42:51]OFD Sender: No OFD packet to send [02:42:56]OFD Sender: No OFD packet to send [02:43:01]OFD Sender: No OFD packet to send [02:43:06]OFD Sender: No OFD packet to send [02:43:11]OFD Sender: No OFD packet to send [02:43:16]OFD Sender: No OFD packet to send [02:43:21]OFD Sender: No OFD packet to send [02:43:26]OFD Sender: No OFD packet to send [02:43:31]OFD Sender: No OFD packet to send [02:43:36]OFD Sender: No OFD packet to send [02:43:41]OFD Sender: No OFD packet to send [02:43:46]OFD Sender: No OFD packet to send [02:43:51]OFD Sender: No OFD packet to send [02:43:56]OFD Sender: No OFD packet to send [02:44:01]OFD Sender: No OFD packet to send [02:44:06]OFD Sender: No OFD packet to send [02:44:11]OFD Sender: No OFD packet to send [02:44:16]OFD Sender: No OFD packet to send [02:44:21]OFD Sender: No OFD packet to send [02:44:26]OFD Sender: No OFD packet to send [02:44:31]accept exits with 10 [02:44:31]New connection [02:44:31]New thread 3066998116 created [02:44:31]Thread 3066854756 joined [02:44:31]Waiting for new connection... [02:44:31] Sock 10.Parse request [02:44:31]Sock 10.Check first char [02:44:31]Sock 10.First char is OK [02:44:31]request: POST /json_proto HTTP/1.0 [02:44:31]Method: POST [02:44:31]URL: /json_proto [02:44:31]Method is POST - this is cgi request [02:44:31]url: /json_proto [02:44:31]query_string will be loaded in cgi processing [02:44:31]execute_cgi json_proto POST (null) [02:44:31]execute_cgi path=json_proto method=POST [02:44:31]POST find Content-Length [02:44:31]Host: 172.17.39.4:8080 [02:44:31]Content-Length: 815 [02:44:31]Content-Type: application/json [02:44:31] [02:44:31]POST finish read [02:44:31]Found Content-Length = 815 [02:44:31]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129705", "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" ] } } [02:44:31]execute_script... [02:44: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)129705", "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" ] } } [02:44:31]POST & json_proto [02:44:31]process_json_proto [02:44:31]json parsed OK: [02:44:31]protocol is kg_v1.0 [02:44:31]action value=close_receipt [02:44:31]process_action close_receipt [02:44:31]cmd_close_receipt [02:44:31]MH_GetDate [02:44:31]Write to MH i2c: F0 00 00 F6 03 E8 [02:44:31]Write i2c OK [02:44:31]MH_I2C_Read... [02:44:31]Read from MH i2c: F0 [02:44:31]MH_I2C_Read... [02:44:31]Read from MH i2c: F0 09 00 [02:44:31]MH_I2C_Read... [02:44:31]Read from MH i2c: F0 09 00 F6 03 00 8F DE 95 66 2D 25 5D 64 6C [02:44:31]GetLastDocTimeStamp 1721096217 [02:44:31]current date 1721097871 [02:44:31]FM_GetShiftState [02:44:31]SAM_PROTO_GetShiftState [02:44:31]wFMCommunicate request_size=4 [02:44:31]MH_SAM_APDU [02:44:31]CAPDU: 80 13 01 00 [02:44:31]Write to MH i2c: E2 08 00 F7 03 80 13 01 00 00 00 00 00 77 [02:44:31]Write i2c OK [02:44:31]MH_I2C_Read... [02:44:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:44:31]Read from MH i2c: E2 [02:44:31]MH_I2C_Read... [02:44:31]Read from MH i2c: E2 0E 00 [02:44:31]MH_I2C_Read... [02:44:31]Read from MH i2c: E2 0E 00 F7 03 00 09 00 01 8A BF 95 66 00 00 00 00 90 00 C7 [02:44:31]RAPDU: 09 00 01 8A BF 95 66 00 00 00 00 90 00 [02:44:31]wFMCommunicate OK [02:44:31]SAM_PROTO_GetShiftState done [02:44:31]FM_GetShiftState done [02:44:31]opened in 1721089930 [02:44:31]opened+sec_in_day 1721176330 [02:44:31]quantity*price = 11000 [02:44:31]sum+1 = 11001 [02:44:31]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 СНО: Общий режим Чек 24 16.07.2024 02:44 Смена: 498 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57270 ФПД: 242091380315912 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240716T024431&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57270&fm=242091380315912&tin=02508201610067®Number=0000000000091208&sum=11000 0 [02:44:32]StoreToDocumentArchive [02:44:32]shift 498 fd 57270 [02:44:32]save to /storage/0498/doc_00057270 [02:44:32]save last doc name /storage/0498/doc_00057270 to /storage/kkm_last_doc_name [02:44:32]save OK [02:44:32]Clear old archive folders... [02:44:32]ProcessDocumentItem done err = 0, tmpTLVsize=303 [02:44:32]tlvbuf is 002A6290 [02:44:32]SAM_PROTO_ClearQueue [02:44:32]wFMCommunicate request_size=4 [02:44:32]MH_SAM_APDU [02:44:32]CAPDU: 80 09 00 00 [02:44:32]Write to MH i2c: E2 08 00 04 04 80 09 00 00 00 00 00 00 7A [02:44:32]Write i2c OK [02:44:32]MH_I2C_Read... [02:44:32]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [02:44:32]Read from MH i2c: E2 [02:44:32]MH_I2C_Read... [02:44:32]Read from MH i2c: E2 03 00 [02:44:32]MH_I2C_Read... [02:44:32]Read from MH i2c: E2 03 00 04 04 00 90 00 7C [02:44:32]RAPDU: 90 00 [02:44:32]wFMCommunicate OK [02:44:32]SAM_PROTO_ClearQueue done [02:44:32]KKMCreateOFDPacket [02:44:32]OFDProtocolAddRootSTLVToBuf [02:44:32]FM_MakeSignedData [02:44:32]FM_MakeSignedData [02:44:32]SAM_PROTO_SignData [02:44:32]wFMCommunicate request_size=4 [02:44:32]MH_SAM_APDU [02:44:32]CAPDU: 80 0D 01 02 [02:44:32]Write to MH i2c: E2 08 00 05 04 80 0D 01 02 00 00 00 00 82 [02:44:32]Write i2c OK [02:44:32]MH_I2C_Read... [02:44:32]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [02:44:32]Read from MH i2c: E2 [02:44:32]MH_I2C_Read... [02:44:32]Read from MH i2c: E2 03 00 [02:44:32]MH_I2C_Read... [02:44:32]Read from MH i2c: E2 03 00 05 04 00 90 00 7D [02:44:32]RAPDU: 90 00 [02:44:32]wFMCommunicate OK [02:44:32]wFMCommunicate request_size=255 [02:44:32]MH_SAM_APDU [02:44:32]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 18 00 00 00 F4 03 04 00 8F DE 95 66 0E 04 04 00 F2 01 00 00 B9 04 01 00 01 0D [02:44:32]Write to MH i2c: E2 02 01 06 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 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 18 00 00 00 F4 03 04 00 8F DE 95 66 0E 04 04 00 F2 01 00 00 B9 04 01 00 01 0D 00 00 E5 [02:44:32]Write i2c OK [02:44:32]MH_I2C_Read... [02:44:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:44:32]Read from MH i2c: E2 [02:44:32]MH_I2C_Read... [02:44:32]Read from MH i2c: E2 03 00 [02:44:32]MH_I2C_Read... [02:44:32]Read from MH i2c: E2 03 00 06 04 00 90 00 7E [02:44:32]RAPDU: 90 00 [02:44:32]wFMCommunicate OK [02:44:32]wFMCommunicate request_size=62 [02:44:32]MH_SAM_APDU [02:44:32]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 B6 DF 00 00 35 04 06 00 DC 2E 4A BA 17 08 [02:44:32]Write to MH i2c: E2 41 00 07 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 B6 DF 00 00 35 04 06 00 DC 2E 4A BA 17 08 00 00 84 [02:44:32]Write i2c OK [02:44:32]MH_I2C_Read... [02:44:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:44:32]Read from MH i2c: E2 [02:44:32]MH_I2C_Read... [02:44:32]Read from MH i2c: E2 03 00 [02:44:32]MH_I2C_Read... [02:44:32]Read from MH i2c: E2 03 00 07 04 00 90 00 7F [02:44:32]RAPDU: 90 00 [02:44:32]wFMCommunicate OK [02:44:32]wFMCommunicate request_size=4 [02:44:32]MH_SAM_APDU [02:44:32]CAPDU: 80 0D 03 02 [02:44:32]Write to MH i2c: E2 08 00 08 04 80 0D 03 02 00 00 00 00 87 [02:44:32]Write i2c OK [02:44:32]MH_I2C_Read... [02:44:32]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [02:44:32]Read from MH i2c: E2 [02:44:32]MH_I2C_Read... [02:44:32]Read from MH i2c: E2 0B 00 [02:44:32]MH_I2C_Read... [02:44:32]Read from MH i2c: E2 0B 00 08 04 00 3C BE AA 4F F7 C4 93 D7 90 00 A0 [02:44:32]RAPDU: 3C BE AA 4F F7 C4 93 D7 90 00 [02:44:32]wFMCommunicate OK [02:44:32]SAM_PROTO_SignData done [02:44:32]FM_MakeSignedData done [02:44:32]CreateOFDProtocolMessage [02:44:32]wFMCommunicate request_size=4 [02:44:32]MH_SAM_APDU [02:44:32]CAPDU: 80 11 00 00 [02:44:32]Write to MH i2c: E2 08 00 09 04 80 11 00 00 00 00 00 00 87 [02:44:32]Write i2c OK [02:44:32]MH_I2C_Read... [02:44:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:44:32]Read from MH i2c: E2 [02:44:32]MH_I2C_Read... [02:44:32]Read from MH i2c: E2 17 00 [02:44:32]MH_I2C_Read... [02:44:32]Read from MH i2c: E2 17 00 09 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 E1 [02:44:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [02:44:32]wFMCommunicate OK [02:44:32]CreateOFDProtocolMessage done [02:44:32]OFDSenderStorePacket 57270 [02:44:32]StoreOFDPacket docnum=57270 [02:44: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 43 01 00 00 5A 82 3B 01 82 FE 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 18 00 00 00 F4 03 04 00 8F DE 95 66 0E 04 04 00 F2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 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 DF 00 00 35 04 06 00 DC 2E 4A BA 17 08 3C BE AA 4F F7 C4 93 D7 [02:44:32]CheckFolder [02:44:32]dirname=/storage/ofd_packets [02:44:32]CheckFolder done [02:44:32]ProducePacketName [02:44:32]name=ofd_packets/00057270 [02:44:32]NVStorageSaveData ofd_packets/00057270 [02:44:32]File name is /storage/ofd_packets/00057270 [02:44:32]Write 353 bytes [02:44:32]NVStorageSaveData done [02:44:32]OFDSenderStorePacket done [02:44:32]KKMCreateOFDPacket done [02:44:32]NVStorageSaveData kkm_last_timestamp [02:44:32]File name is /storage/kkm_last_timestamp [02:44:32]Write 4 bytes [02:44:32]NVStorageSaveData done [02:44:32]ExternCall_PrintAddStr [02:44:32]wPrintStart [02:44:32]Write to MH i2c: 01 00 00 0A 04 0E [02:44:32]Write i2c OK [02:44:32]MH_I2C_Read... [02:44:32]Read from MH i2c: 01 [02:44:32]MH_I2C_Read... [02:44:32]Read from MH i2c: 01 07 00 [02:44:32]MH_I2C_Read... [02:44:32]Read from MH i2c: 01 07 00 0A 04 00 00 00 00 00 FF 0F 23 [02:44:32]RasterBufferAndPrint [02:44:32]line Счет N : (3)129705 [02:44:32]line ИНН: 02508201610067 [02:44:32]line Контрольно-Кассовый Чек [02:44:32]line ПРОДАЖА [02:44:32]line Товар: 4870202521216 [02:44:32]line Напиток MAXI чай 1,2 зел.лимон (новый) [02:44:32]line 1.000 * 110.00 [02:44:32]line = 110.00 [02:44:32]line НДС 12% НСП 1% [02:44:32]line > о реализуемом товаре [02:44:32]line ИТОГО: 110.00 [02:44:32]line НСП 1% : 0.97 [02:44:32]line НДС 12% : 11.68 [02:44:32]line Наличными: 110.00 [02:44:32]line Безнал.: 0.00 [02:44:32]line Место: АЗС № 132 "Партнер Нефть" [02:44:32]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [02:44:32]line СНО: Общий режим [02:44:32]line Чек 24 16.07.2024 02:44 [02:44:32]line Смена: 498 ФФД: 1.0 [02:44:32]line ЗНМ: 0300000132 [02:44:32]line РНМ: 0000000000091208 [02:44:32]line Версия ККМ: 001 [02:44:32]line ФМ: 0000000000874857 [02:44:32]line ФД: 57270 [02:44:32]line ФПД: 242091380315912 [02:44:33]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240716T024431&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57270&fm=242091380315912&tin=02508201610067®Number=0000000000091208&sum=11000 [02:44:33]line 0 [02:44:33]OFD Sender: Processing packet 57270 [packets to send 38, broken 37] [02:44:33]ProducePacketName [02:44:33]name=ofd_packets/00057270 [02:44:33]OFD Sender: To server: pG, [02:44:33]CommunicateWithHost lk.salyk.kg:30040 [02:44:33]ConnectInit lk.salyk.kg [02:44:33]written 0, free lines is 4095 [02:44:33]Connected sock=9 [02:44: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 43 01 00 00 5A 82 3B 01 82 FE 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 18 00 00 00 F4 03 04 00 8F DE 95 66 0E 04 04 00 F2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 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 DF 00 00 35 04 06 00 DC 2E 4A BA 17 08 3C BE AA 4F F7 C4 93 D7 [02:44: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 B7 4C 47 00 7E 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 B6 DF 00 00 F4 03 04 00 DC 84 95 66 B6 04 01 00 00 7C BF 56 B6 95 B0 DF 0F [02:44:33]CommunicateWithHost err = 0 [02:44:33]CheckOFDResponse [02:44:33]1017 (14) - 77093643461234 [02:44:33]1041 (16) - 0000000000874857 [02:44:33]1040 (4) - 57270 [02:44:33]1012 (4) - 15.07.2024 20:21 [02:44:33]1206 (1) - 0 [02:44:33]OFD Sender: Remove packet 57270 [02:44:33]ProducePacketName [02:44:33]name=ofd_packets/00057270 [02:44:33]NVStorageDeleteData [02:44:33]Write to MH i2c: 01 00 00 33 04 37 [02:44:33]Write i2c OK [02:44:33]MH_I2C_Read... [02:44:33]Read from MH i2c: 01 [02:44:33]MH_I2C_Read... [02:44:33]Read from MH i2c: 01 07 00 [02:44:33]MH_I2C_Read... [02:44:33]Read from MH i2c: 01 07 00 33 04 00 00 00 00 00 FC 0C 46 [02:44:33]RasterBufferAndPrint [02:44:33]line [02:44:33]line [02:44:33]line [02:44:33]line [02:44:33]line [02:44:33]written 0, free lines is 3329 [02:44:33]MH_Cut [02:44:33]Write to MH i2c: D1 01 00 3A 04 01 10 [02:44:33]Write i2c OK [02:44:33]MH_I2C_Read... [02:44:33]Read from MH i2c: D1 [02:44:33]MH_I2C_Read... [02:44:33]Read from MH i2c: D1 01 00 [02:44:33]MH_I2C_Read... [02:44:33]Read from MH i2c: D1 01 00 3A 04 00 0F [02:44:33]Write to MH i2c: 01 00 00 3B 04 3F [02:44:33]Write i2c OK [02:44:33]MH_I2C_Read... [02:44:33]OFD Sender: No OFD packet to send [02:44:34]*** Cut start [02:44:34]*** Partial cut [02:44:34]*** CUTSNS_PIN = 1 [02:44:34]*** CUTSNS_PIN = 0 [02:44:34]*** Brake cut motor [02:44:34]Read from MH i2c: 01 [02:44:34]MH_I2C_Read... [02:44:34]*** Stop cut motor [02:44:34]*** Cut end [02:44:34]Read from MH i2c: 01 07 00 [02:44:34]MH_I2C_Read... [02:44:34]Read from MH i2c: 01 07 00 3B 04 00 00 00 00 00 FF 0F 54 [02:44:34]process_action close_receipt done [02:44:34]requested_data is exist [02:44:34]produce_requested_data [02:44:34]requested_item fm.sn is exist - process it [02:44:34]wFMCommunicate request_size=4 [02:44:34]MH_SAM_APDU [02:44:34]CAPDU: 80 11 00 00 [02:44:34]Write to MH i2c: E2 08 00 3C 04 80 11 00 00 00 00 00 00 BA [02:44:34]Write i2c OK [02:44:34]MH_I2C_Read... [02:44:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:44:34]Read from MH i2c: E2 [02:44:34]MH_I2C_Read... [02:44:34]Read from MH i2c: E2 17 00 [02:44:34]MH_I2C_Read... [02:44:34]Read from MH i2c: E2 17 00 3C 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 14 [02:44:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [02:44:34]wFMCommunicate OK [02:44:34]requested_item fd.num is exist - process it [02:44:34]SAM_PROTO_GetFieldsCounters [02:44:34]wFMCommunicate request_size=4 [02:44:34]MH_SAM_APDU [02:44:34]CAPDU: 80 13 00 00 [02:44:34]Write to MH i2c: E2 08 00 3D 04 80 13 00 00 00 00 00 00 BD [02:44:34]Write i2c OK [02:44:34]MH_I2C_Read... [02:44:35]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [02:44:35]Read from MH i2c: E2 [02:44:35]MH_I2C_Read... [02:44:35]Read from MH i2c: E2 62 00 [02:44:35]MH_I2C_Read... [02:44:35]Read from MH i2c: E2 62 00 3D 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 B6 DF 00 00 0E 04 04 00 F2 01 00 00 12 04 04 00 18 00 00 00 5E 04 04 00 18 00 00 00 57 04 04 00 19 00 00 00 19 04 04 00 00 00 00 00 90 00 B0 [02:44: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 B6 DF 00 00 0E 04 04 00 F2 01 00 00 12 04 04 00 18 00 00 00 5E 04 04 00 18 00 00 00 57 04 04 00 19 00 00 00 19 04 04 00 00 00 00 00 90 00 [02:44:35]wFMCommunicate OK [02:44:35]SAM_PROTO_GetFieldsCounters done [02:44:35]requested_item shift.num is exist - process it [02:44:35]requested_item shift.opened is exist - process it [02:44:35]req_shift_opened [02:44:35]FM_GetShiftState [02:44:35]SAM_PROTO_GetShiftState [02:44:35]wFMCommunicate request_size=4 [02:44:35]MH_SAM_APDU [02:44:35]CAPDU: 80 13 01 00 [02:44:35]Write to MH i2c: E2 08 00 3E 04 80 13 01 00 00 00 00 00 BF [02:44:35]Write i2c OK [02:44:35]MH_I2C_Read... [02:44:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:44:35]Read from MH i2c: E2 [02:44:35]MH_I2C_Read... [02:44:35]Read from MH i2c: E2 0E 00 [02:44:35]MH_I2C_Read... [02:44:35]Read from MH i2c: E2 0E 00 3E 04 00 09 00 01 8A BF 95 66 00 00 00 00 90 00 0F [02:44:35]RAPDU: 09 00 01 8A BF 95 66 00 00 00 00 90 00 [02:44:35]wFMCommunicate OK [02:44:35]SAM_PROTO_GetShiftState done [02:44:35]FM_GetShiftState done [02:44:35]req_shift_opened done [02:44:35]requested_item shift.open_date is exist - process it [02:44:35]req_shift_open_date [02:44:35]req_shift_open_date done [02:44:35]requested_item shift.sale.total is exist - process it [02:44:35]SAM_PROTO_GetShiftData [02:44:35]wFMCommunicate request_size=4 [02:44:35]MH_SAM_APDU [02:44:35]CAPDU: 80 13 02 00 [02:44:35]Write to MH i2c: E2 08 00 3F 04 80 13 02 00 00 00 00 00 C1 [02:44:35]Write i2c OK [02:44:35]MH_I2C_Read... [02:44:35]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [02:44:35]Read from MH i2c: E2 [02:44:35]MH_I2C_Read... [02:44:35]Read from MH i2c: E2 FD 00 [02:44:35]MH_I2C_Read... [02:44:35]Read from MH i2c: E2 FD 00 3F 04 00 AE 04 AA 04 AA 04 6E 04 04 00 18 00 00 00 69 04 9B 00 6F 04 04 00 18 00 00 00 B1 04 03 00 D0 61 0A 70 04 03 00 28 F2 03 72 04 03 00 A8 6F 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 3D 1A 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 86 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 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 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 [02:44:35]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 18 00 00 00 69 04 9B 00 6F 04 04 00 18 00 00 00 B1 04 03 00 D0 61 0A 70 04 03 00 28 F2 03 72 04 03 00 A8 6F 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 3D 1A 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 86 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 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 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 [02:44:35]wFMCommunicate OK [02:44:35]wFMCommunicate request_size=4 [02:44:35]MH_SAM_APDU [02:44:35]CAPDU: 80 17 00 00 [02:44:35]Write to MH i2c: E2 08 00 40 04 80 17 00 00 00 00 00 00 C4 [02:44:35]Write i2c OK [02:44:35]MH_I2C_Read... [02:44:35]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [02:44:35]Read from MH i2c: E2 [02:44:35]MH_I2C_Read... [02:44:35]Read from MH i2c: E2 FD 00 [02:44:35]MH_I2C_Read... [02:44:35]Read from MH i2c: E2 FD 00 40 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 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 E6 [02:44:35]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [02:44:35]wFMCommunicate OK [02:44:35]wFMCommunicate request_size=4 [02:44:35]MH_SAM_APDU [02:44:35]CAPDU: 80 17 00 00 [02:44:35]Write to MH i2c: E2 08 00 41 04 80 17 00 00 00 00 00 00 C5 [02:44:35]Write i2c OK [02:44:35]MH_I2C_Read... [02:44:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [02:44:36]Read from MH i2c: E2 [02:44:36]MH_I2C_Read... [02:44:36]Read from MH i2c: E2 FD 00 [02:44:36]MH_I2C_Read... [02:44:36]Read from MH i2c: E2 FD 00 41 04 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 7C [02:44:36]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [02:44:36]wFMCommunicate OK [02:44:36]wFMCommunicate request_size=4 [02:44:36]MH_SAM_APDU [02:44:36]CAPDU: 80 17 00 00 [02:44:36]Write to MH i2c: E2 08 00 42 04 80 17 00 00 00 00 00 00 C6 [02:44:36]Write i2c OK [02:44:36]MH_I2C_Read... [02:44:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [02:44:36]Read from MH i2c: E2 [02:44:36]MH_I2C_Read... [02:44:36]Read from MH i2c: E2 FD 00 [02:44:36]MH_I2C_Read... [02:44:36]Read from MH i2c: E2 FD 00 42 04 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 38 [02:44:36]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [02:44:36]wFMCommunicate OK [02:44:36]wFMCommunicate request_size=4 [02:44:36]MH_SAM_APDU [02:44:36]CAPDU: 80 17 00 00 [02:44:36]Write to MH i2c: E2 08 00 43 04 80 17 00 00 00 00 00 00 C7 [02:44:36]Write i2c OK [02:44:36]MH_I2C_Read... [02:44:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [02:44:36]Read from MH i2c: E2 [02:44:36]MH_I2C_Read... [02:44:36]Read from MH i2c: E2 CB 00 [02:44:36]MH_I2C_Read... [02:44:36]Read from MH i2c: E2 CB 00 43 04 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 B0 [02:44:36]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [02:44:36]wFMCommunicate OK [02:44:36]SAM_PROTO_GetShiftData done [02:44:36]requested_item shift.sale.total_cash is exist - process it [02:44:36]requested_item shift.sale_refund.total is exist - process it [02:44:36]requested_item shift.sale_refund.total_cash is exist - process it [02:44:36]produce_requested_data done [02:44:36]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57270,"shift.num":498,"shift.opened":1,"shift.open_date":1721089930,"shift.sale.total":6804.00,"shift.sale.total_cash":2586.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [02:44:36]process_action_free close_receipt [02:44:36]json_value_free [02:44:36]json_value_free done [02:44:36]process_json_proto returns [02:44:36]Send response to host [02:44:36]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57270,"shift.num":498,"shift.opened":1,"shift.open_date":1721089930,"shift.sale.total":6804.00,"shift.sale.total_cash":2586.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [02:44:36]free response buf [02:44:36]execute_script done [02:44:36]execute_script returns [02:44:36]free content buf [02:44:36]Sock 10.Close socket [02:44:36]Sock 10.Thread stoped [02:44:38]OFD Sender: No OFD packet to send [02:44:43]OFD Sender: No OFD packet to send [02:44:48]OFD Sender: No OFD packet to send [02:44:53]OFD Sender: No OFD packet to send [02:44:58]OFD Sender: No OFD packet to send [02:45:03]OFD Sender: No OFD packet to send [02:45:08]OFD Sender: No OFD packet to send [02:45:13]OFD Sender: No OFD packet to send [02:45:18]OFD Sender: No OFD packet to send [02:45:23]OFD Sender: No OFD packet to send [02:45:29]OFD Sender: No OFD packet to send [02:45:34]OFD Sender: No OFD packet to send [02:45:39]OFD Sender: No OFD packet to send [02:45:44]OFD Sender: No OFD packet to send [02:45:49]OFD Sender: No OFD packet to send [02:45:54]OFD Sender: No OFD packet to send [02:45:59]OFD Sender: No OFD packet to send [02:46:04]OFD Sender: No OFD packet to send [02:46:09]OFD Sender: No OFD packet to send [02:46:14]OFD Sender: No OFD packet to send [02:46:19]OFD Sender: No OFD packet to send [02:46:24]OFD Sender: No OFD packet to send [02:46:29]OFD Sender: No OFD packet to send [02:46:34]OFD Sender: No OFD packet to send [02:46:39]OFD Sender: No OFD packet to send [02:46:44]OFD Sender: No OFD packet to send [02:46:49]OFD Sender: No OFD packet to send [02:46:54]OFD Sender: No OFD packet to send [02:46:59]OFD Sender: No OFD packet to send [02:47:04]OFD Sender: No OFD packet to send [02:47:09]OFD Sender: No OFD packet to send [02:47:14]OFD Sender: No OFD packet to send [02:47:19]OFD Sender: No OFD packet to send [02:47:24]OFD Sender: No OFD packet to send [02:47:29]OFD Sender: No OFD packet to send [02:47:34]OFD Sender: No OFD packet to send [02:47:39]OFD Sender: No OFD packet to send [02:47:44]OFD Sender: No OFD packet to send [02:47:49]OFD Sender: No OFD packet to send [02:47:54]OFD Sender: No OFD packet to send [02:47:59]OFD Sender: No OFD packet to send [02:48:04]OFD Sender: No OFD packet to send [02:48:09]OFD Sender: No OFD packet to send [02:48:14]OFD Sender: No OFD packet to send [02:48:19]OFD Sender: No OFD packet to send [02:48:24]OFD Sender: No OFD packet to send [02:48:29]OFD Sender: No OFD packet to send [02:48:34]OFD Sender: No OFD packet to send [02:48:39]OFD Sender: No OFD packet to send [02:48:44]OFD Sender: No OFD packet to send [02:48:49]OFD Sender: No OFD packet to send [02:48:54]OFD Sender: No OFD packet to send [02:48:59]OFD Sender: No OFD packet to send [02:49:04]OFD Sender: No OFD packet to send [02:49:09]OFD Sender: No OFD packet to send [02:49:14]OFD Sender: No OFD packet to send [02:49:19]OFD Sender: No OFD packet to send [02:49:24]OFD Sender: No OFD packet to send [02:49:29]OFD Sender: No OFD packet to send [02:49:34]OFD Sender: No OFD packet to send [02:49:39]OFD Sender: No OFD packet to send [02:49:44]OFD Sender: No OFD packet to send [02:49:49]OFD Sender: No OFD packet to send [02:49:54]OFD Sender: No OFD packet to send [02:49:59]OFD Sender: No OFD packet to send [02:50:04]OFD Sender: No OFD packet to send [02:50:09]OFD Sender: No OFD packet to send [02:50:14]OFD Sender: No OFD packet to send [02:50:19]OFD Sender: No OFD packet to send [02:50:24]OFD Sender: No OFD packet to send [02:50:29]OFD Sender: No OFD packet to send [02:50:34]OFD Sender: No OFD packet to send [02:50:39]OFD Sender: No OFD packet to send [02:50:44]OFD Sender: No OFD packet to send [02:50:49]OFD Sender: No OFD packet to send [02:50:54]OFD Sender: No OFD packet to send [02:50:59]OFD Sender: No OFD packet to send [02:51:04]OFD Sender: No OFD packet to send [02:51:09]OFD Sender: No OFD packet to send [02:51:14]OFD Sender: No OFD packet to send [02:51:19]OFD Sender: No OFD packet to send [02:51:24]OFD Sender: No OFD packet to send [02:51:29]OFD Sender: No OFD packet to send [02:51:34]OFD Sender: No OFD packet to send [02:51:39]OFD Sender: No OFD packet to send [02:51:44]OFD Sender: No OFD packet to send [02:51:49]OFD Sender: No OFD packet to send [02:51:54]OFD Sender: No OFD packet to send [02:51:59]OFD Sender: No OFD packet to send [02:52:04]OFD Sender: No OFD packet to send [02:52:09]OFD Sender: No OFD packet to send [02:52:14]OFD Sender: No OFD packet to send [02:52:19]OFD Sender: No OFD packet to send [02:52:24]OFD Sender: No OFD packet to send [02:52:29]OFD Sender: No OFD packet to send [02:52:34]OFD Sender: No OFD packet to send [02:52:39]OFD Sender: No OFD packet to send [02:52:44]OFD Sender: No OFD packet to send [02:52:49]OFD Sender: No OFD packet to send [02:52:54]OFD Sender: No OFD packet to send [02:52:59]OFD Sender: No OFD packet to send [02:53:04]OFD Sender: No OFD packet to send [02:53:09]OFD Sender: No OFD packet to send [02:53:14]OFD Sender: No OFD packet to send [02:53:19]OFD Sender: No OFD packet to send [02:53:24]OFD Sender: No OFD packet to send [02:53:29]OFD Sender: No OFD packet to send [02:53:30]accept exits with 8 [02:53:30]New connection [02:53:30]New thread 3066854756 created [02:53:30]Thread 3066998116 joined [02:53:30]Waiting for new connection... [02:53:30] Sock 8.Parse request [02:53:30]Sock 8.Check first char [02:53:30]Sock 8.First char is OK [02:53:30]request: POST /json_proto HTTP/1.0 [02:53:30]Method: POST [02:53:30]URL: /json_proto [02:53:30]Method is POST - this is cgi request [02:53:30]url: /json_proto [02:53:30]query_string will be loaded in cgi processing [02:53:30]execute_cgi json_proto POST (null) [02:53:30]execute_cgi path=json_proto method=POST [02:53:30]POST find Content-Length [02:53:30]Host: 172.17.39.4:8080 [02:53:30]Content-Length: 945 [02:53:30]Content-Type: application/json [02:53:30] [02:53:30]POST finish read [02:53:30]Found Content-Length = 945 [02:53:30]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)856233", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 43", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.30, "quantity" : 10.560, "sum" : 700.13, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 700.13 } ] } , "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:53:30]execute_script... [02:53:30]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)856233", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 43", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.30, "quantity" : 10.560, "sum" : 700.13, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 700.13 } ] } , "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:53:30]POST & json_proto [02:53:30]process_json_proto [02:53:30]json parsed OK: [02:53:30]protocol is kg_v1.0 [02:53:30]action value=close_receipt [02:53:30]process_action close_receipt [02:53:30]cmd_close_receipt [02:53:30]MH_GetDate [02:53:30]Write to MH i2c: F0 00 00 44 04 37 [02:53:30]Write i2c OK [02:53:30]MH_I2C_Read... [02:53:30]Read from MH i2c: F0 [02:53:30]MH_I2C_Read... [02:53:30]Read from MH i2c: F0 09 00 [02:53:30]MH_I2C_Read... [02:53:30]Read from MH i2c: F0 09 00 44 04 00 AB E0 95 66 2D 25 5D 64 D9 [02:53:30]GetLastDocTimeStamp 1721097871 [02:53:30]current date 1721098411 [02:53:30]FM_GetShiftState [02:53:30]SAM_PROTO_GetShiftState [02:53:30]wFMCommunicate request_size=4 [02:53:30]MH_SAM_APDU [02:53:30]CAPDU: 80 13 01 00 [02:53:30]Write to MH i2c: E2 08 00 45 04 80 13 01 00 00 00 00 00 C6 [02:53:30]Write i2c OK [02:53:30]MH_I2C_Read... [02:53:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:53:30]Read from MH i2c: E2 [02:53:30]MH_I2C_Read... [02:53:30]Read from MH i2c: E2 0E 00 [02:53:30]MH_I2C_Read... [02:53:30]Read from MH i2c: E2 0E 00 45 04 00 09 00 01 8A BF 95 66 00 00 00 00 90 00 16 [02:53:30]RAPDU: 09 00 01 8A BF 95 66 00 00 00 00 90 00 [02:53:30]wFMCommunicate OK [02:53:30]SAM_PROTO_GetShiftState done [02:53:30]FM_GetShiftState done [02:53:30]opened in 1721089930 [02:53:30]opened+sec_in_day 1721176330 [02:53:30]quantity*price = 70012 [02:53:30]sum+1 = 70014 [02:53:30]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 700.13 НСП 1% : 6.20 НДС 12% : 74.35 Наличными: 0.00 Безнал.: 700.13 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 25 16.07.2024 02:53 Смена: 498 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000874857 ФД: 57271 ФПД: 119695289346586 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240716T025331&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57271&fm=119695289346586&tin=02508201610067®Number=0000000000091208&sum=70013 [02:53:32]StoreToDocumentArchive [02:53:32]shift 498 fd 57271 [02:53:32]save to /storage/0498/doc_00057271 [02:53:32]save last doc name /storage/0498/doc_00057271 to /storage/kkm_last_doc_name [02:53:32]save OK [02:53:32]Clear old archive folders... [02:53:32]ProcessDocumentItem done err = 0, tmpTLVsize=251 [02:53:32]tlvbuf is 002A6060 [02:53:32]SAM_PROTO_ClearQueue [02:53:32]wFMCommunicate request_size=4 [02:53:32]MH_SAM_APDU [02:53:32]CAPDU: 80 09 00 00 [02:53:32]Write to MH i2c: E2 08 00 52 04 80 09 00 00 00 00 00 00 C8 [02:53:32]Write i2c OK [02:53:32]MH_I2C_Read... [02:53:32]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [02:53:32]Read from MH i2c: E2 [02:53:32]MH_I2C_Read... [02:53:32]Read from MH i2c: E2 03 00 [02:53:32]MH_I2C_Read... [02:53:32]Read from MH i2c: E2 03 00 52 04 00 90 00 CA [02:53:32]RAPDU: 90 00 [02:53:32]wFMCommunicate OK [02:53:32]SAM_PROTO_ClearQueue done [02:53:32]KKMCreateOFDPacket [02:53:32]OFDProtocolAddRootSTLVToBuf [02:53:32]FM_MakeSignedData [02:53:32]FM_MakeSignedData [02:53:32]SAM_PROTO_SignData [02:53:32]wFMCommunicate request_size=4 [02:53:32]MH_SAM_APDU [02:53:32]CAPDU: 80 0D 01 02 [02:53:32]Write to MH i2c: E2 08 00 53 04 80 0D 01 02 00 00 00 00 D0 [02:53:32]Write i2c OK [02:53:32]MH_I2C_Read... [02:53:32]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [02:53:32]Read from MH i2c: E2 [02:53:32]MH_I2C_Read... [02:53:32]Read from MH i2c: E2 03 00 [02:53:32]MH_I2C_Read... [02:53:32]Read from MH i2c: E2 03 00 53 04 00 90 00 CB [02:53:32]RAPDU: 90 00 [02:53:32]wFMCommunicate OK [02:53:32]wFMCommunicate request_size=255 [02:53:32]MH_SAM_APDU [02:53:32]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 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 7D 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 00 00 00 00 00 00 39 04 06 00 7D 11 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 AB E0 95 66 0E 04 04 00 F2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 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 DF 00 00 35 04 06 00 6C [02:53:32]Write to MH i2c: E2 02 01 54 04 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 7D 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 00 00 00 00 00 00 39 04 06 00 7D 11 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 AB E0 95 66 0E 04 04 00 F2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 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 DF 00 00 35 04 06 00 6C 00 00 1B [02:53:32]Write i2c OK [02:53:32]MH_I2C_Read... [02:53:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:53:32]Read from MH i2c: E2 [02:53:32]MH_I2C_Read... [02:53:32]Read from MH i2c: E2 03 00 [02:53:32]MH_I2C_Read... [02:53:32]Read from MH i2c: E2 03 00 54 04 00 90 00 CC [02:53:32]RAPDU: 90 00 [02:53:32]wFMCommunicate OK [02:53:32]wFMCommunicate request_size=10 [02:53:32]MH_SAM_APDU [02:53:32]CAPDU: 80 0D 02 02 05 DC BB 33 EA 1A [02:53:32]Write to MH i2c: E2 0D 00 55 04 80 0D 02 02 05 00 DC BB 33 EA 1A 00 00 AB [02:53:32]Write i2c OK [02:53:32]MH_I2C_Read... [02:53:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:53:32]Read from MH i2c: E2 [02:53:32]MH_I2C_Read... [02:53:32]Read from MH i2c: E2 03 00 [02:53:32]MH_I2C_Read... [02:53:32]Read from MH i2c: E2 03 00 55 04 00 90 00 CD [02:53:32]RAPDU: 90 00 [02:53:32]wFMCommunicate OK [02:53:32]wFMCommunicate request_size=4 [02:53:32]MH_SAM_APDU [02:53:32]CAPDU: 80 0D 03 02 [02:53:32]Write to MH i2c: E2 08 00 56 04 80 0D 03 02 00 00 00 00 D5 [02:53:32]Write i2c OK [02:53:32]MH_I2C_Read... [02:53:32]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [02:53:32]Read from MH i2c: E2 [02:53:32]MH_I2C_Read... [02:53:32]Read from MH i2c: E2 0B 00 [02:53:32]MH_I2C_Read... [02:53:32]Read from MH i2c: E2 0B 00 56 04 00 BE 4D FA 29 1A 24 50 D4 90 00 66 [02:53:32]RAPDU: BE 4D FA 29 1A 24 50 D4 90 00 [02:53:32]wFMCommunicate OK [02:53:32]SAM_PROTO_SignData done [02:53:32]FM_MakeSignedData done [02:53:32]CreateOFDProtocolMessage [02:53:32]wFMCommunicate request_size=4 [02:53:32]MH_SAM_APDU [02:53:32]CAPDU: 80 11 00 00 [02:53:32]Write to MH i2c: E2 08 00 57 04 80 11 00 00 00 00 00 00 D5 [02:53:32]Write i2c OK [02:53:32]MH_I2C_Read... [02:53:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:53:32]Read from MH i2c: E2 [02:53:32]MH_I2C_Read... [02:53:32]Read from MH i2c: E2 17 00 [02:53:32]MH_I2C_Read... [02:53:32]Read from MH i2c: E2 17 00 57 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 2F [02:53:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [02:53:32]wFMCommunicate OK [02:53:32]CreateOFDProtocolMessage done [02:53:32]OFDSenderStorePacket 57271 [02:53:32]StoreOFDPacket docnum=57271 [02:53: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 0F 01 00 00 4C 2B 07 01 D0 BC 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 7D 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 00 00 00 00 00 00 39 04 06 00 7D 11 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 AB E0 95 66 0E 04 04 00 F2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 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 DF 00 00 35 04 06 00 6C DC BB 33 EA 1A BE 4D FA 29 1A 24 50 D4 [02:53:32]CheckFolder [02:53:32]dirname=/storage/ofd_packets [02:53:32]CheckFolder done [02:53:32]ProducePacketName [02:53:32]name=ofd_packets/00057271 [02:53:32]NVStorageSaveData ofd_packets/00057271 [02:53:32]File name is /storage/ofd_packets/00057271 [02:53:32]Write 301 bytes [02:53:32]NVStorageSaveData done [02:53:32]OFDSenderStorePacket done [02:53:32]KKMCreateOFDPacket done [02:53:32]NVStorageSaveData kkm_last_timestamp [02:53:32]File name is /storage/kkm_last_timestamp [02:53:32]Write 4 bytes [02:53:32]NVStorageSaveData done [02:53:32]ExternCall_PrintAddStr [02:53:32]wPrintStart [02:53:32]Write to MH i2c: 01 00 00 58 04 5C [02:53:32]Write i2c OK [02:53:32]MH_I2C_Read... [02:53:32]Read from MH i2c: 01 [02:53:32]MH_I2C_Read... [02:53:32]Read from MH i2c: 01 07 00 [02:53:32]MH_I2C_Read... [02:53:32]Read from MH i2c: 01 07 00 58 04 00 00 00 00 00 FF 0F 71 [02:53:32]RasterBufferAndPrint [02:53:32]line Счет N : (1)856233 [02:53:32]line ИНН: 02508201610067 [02:53:32]line Контрольно-Кассовый Чек [02:53:32]line ПРОДАЖА [02:53:32]line ТРК (МРК, ГНК) : 43 [02:53:32]line Товар: 2710124130 [02:53:32]line Аи-92-К-5 [02:53:32]line 10.560 * 66.30 [02:53:32]line = 700.13 [02:53:32]line НДС 12% НСП 1% [02:53:32]line > о реализуемом товаре [02:53:32]line ИТОГО: 700.13 [02:53:32]line НСП 1% : 6.20 [02:53:32]line НДС 12% : 74.35 [02:53:32]line Наличными: 0.00 [02:53:32]line Безнал.: 700.13 [02:53:32]line Место: АЗС № 132 "Партнер Нефть" [02:53:32]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [02:53:32]line СНО: Общий режим [02:53:32]line Чек 25 16.07.2024 02:53 [02:53:32]line Смена: 498 ФФД: 1.0 [02:53:32]line ЗНМ: 0300000132 [02:53:32]line РНМ: 0000000000091208 [02:53:32]line Версия ККМ: 001 [02:53:32]line Платежная система: АКБ Кыргызстан [02:53:32]line ФМ: 0000000000874857 [02:53:32]line ФД: 57271 [02:53:32]line ФПД: 119695289346586 [02:53:32]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240716T025331&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57271&fm=119695289346586&tin=02508201610067®Number=0000000000091208&sum=70013 [02:53:32]OFD Sender: Processing packet 57271 [packets to send 38, broken 37] [02:53:32]ProducePacketName [02:53:32]name=ofd_packets/00057271 [02:53:32]OFD Sender: To server: pG, [02:53:32]CommunicateWithHost lk.salyk.kg:30040 [02:53:32]ConnectInit lk.salyk.kg [02:53:32]written 0, free lines is 4095 [02:53:32]Connected sock=10 [02:53: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 0F 01 00 00 4C 2B 07 01 D0 BC 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 7D 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 00 00 00 00 00 00 39 04 06 00 7D 11 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 AB E0 95 66 0E 04 04 00 F2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 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 DF 00 00 35 04 06 00 6C DC BB 33 EA 1A BE 4D FA 29 1A 24 50 D4 [02:53: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 52 72 47 00 F5 BE A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 B7 DF 00 00 F4 03 04 00 F7 86 95 66 B6 04 01 00 00 51 2E 6F A6 20 CC 5C 66 [02:53:33]CommunicateWithHost err = 0 [02:53:33]CheckOFDResponse [02:53:33]1017 (14) - 77093643461234 [02:53:33]1041 (16) - 0000000000874857 [02:53:33]1040 (4) - 57271 [02:53:33]1012 (4) - 15.07.2024 20:30 [02:53:33]1206 (1) - 0 [02:53:33]OFD Sender: Remove packet 57271 [02:53:33]ProducePacketName [02:53:33]name=ofd_packets/00057271 [02:53:33]NVStorageDeleteData [02:53:33]Write to MH i2c: 01 00 00 82 04 86 [02:53:33]Write i2c OK [02:53:33]MH_I2C_Read... [02:53:33]Read from MH i2c: 01 [02:53:33]MH_I2C_Read... [02:53:33]Read from MH i2c: 01 07 00 [02:53:33]MH_I2C_Read... [02:53:33]Read from MH i2c: 01 07 00 82 04 00 00 00 00 00 F4 0C 8D [02:53:33]RasterBufferAndPrint [02:53:33]line [02:53:33]line [02:53:33]line [02:53:33]line [02:53:33]line [02:53:33]written 0, free lines is 3324 [02:53:33]MH_Cut [02:53:33]Write to MH i2c: D1 01 00 89 04 01 5F [02:53:33]Write i2c OK [02:53:33]MH_I2C_Read... [02:53:33]Read from MH i2c: D1 [02:53:33]MH_I2C_Read... [02:53:33]Read from MH i2c: D1 01 00 [02:53:33]MH_I2C_Read... [02:53:33]Read from MH i2c: D1 01 00 89 04 00 5E [02:53:33]Write to MH i2c: 01 00 00 8A 04 8E [02:53:33]Write i2c OK [02:53:33]MH_I2C_Read... [02:53:33]OFD Sender: No OFD packet to send [02:53:34]*** Cut start [02:53:34]*** Partial cut [02:53:34]*** CUTSNS_PIN = 1 [02:53:34]*** CUTSNS_PIN = 0 [02:53:34]*** Brake cut motor [02:53:34]Read from MH i2c: 01 [02:53:34]MH_I2C_Read... [02:53:34]*** Stop cut motor [02:53:34]*** Cut end [02:53:34]Read from MH i2c: 01 07 00 [02:53:34]MH_I2C_Read... [02:53:34]Read from MH i2c: 01 07 00 8A 04 00 00 00 00 00 FF 0F A3 [02:53:34]process_action close_receipt done [02:53:34]requested_data is exist [02:53:34]produce_requested_data [02:53:34]requested_item fm.sn is exist - process it [02:53:34]wFMCommunicate request_size=4 [02:53:34]MH_SAM_APDU [02:53:34]CAPDU: 80 11 00 00 [02:53:34]Write to MH i2c: E2 08 00 8B 04 80 11 00 00 00 00 00 00 09 [02:53:34]Write i2c OK [02:53:34]MH_I2C_Read... [02:53:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:53:34]Read from MH i2c: E2 [02:53:34]MH_I2C_Read... [02:53:34]Read from MH i2c: E2 17 00 [02:53:34]MH_I2C_Read... [02:53:34]Read from MH i2c: E2 17 00 8B 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 63 [02:53:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [02:53:34]wFMCommunicate OK [02:53:34]requested_item fd.num is exist - process it [02:53:34]SAM_PROTO_GetFieldsCounters [02:53:34]wFMCommunicate request_size=4 [02:53:34]MH_SAM_APDU [02:53:34]CAPDU: 80 13 00 00 [02:53:34]Write to MH i2c: E2 08 00 8C 04 80 13 00 00 00 00 00 00 0C [02:53:34]Write i2c OK [02:53:34]MH_I2C_Read... [02:53:34]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [02:53:34]Read from MH i2c: E2 [02:53:34]MH_I2C_Read... [02:53:34]Read from MH i2c: E2 62 00 [02:53:34]MH_I2C_Read... [02:53:34]Read from MH i2c: E2 62 00 8C 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 B7 DF 00 00 0E 04 04 00 F2 01 00 00 12 04 04 00 19 00 00 00 5E 04 04 00 19 00 00 00 57 04 04 00 1A 00 00 00 19 04 04 00 00 00 00 00 90 00 03 [02:53:34]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 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 DF 00 00 0E 04 04 00 F2 01 00 00 12 04 04 00 19 00 00 00 5E 04 04 00 19 00 00 00 57 04 04 00 1A 00 00 00 19 04 04 00 00 00 00 00 90 00 [02:53:34]wFMCommunicate OK [02:53:34]SAM_PROTO_GetFieldsCounters done [02:53:34]requested_item shift.num is exist - process it [02:53:34]requested_item shift.opened is exist - process it [02:53:34]req_shift_opened [02:53:34]FM_GetShiftState [02:53:34]SAM_PROTO_GetShiftState [02:53:34]wFMCommunicate request_size=4 [02:53:34]MH_SAM_APDU [02:53:34]CAPDU: 80 13 01 00 [02:53:34]Write to MH i2c: E2 08 00 8D 04 80 13 01 00 00 00 00 00 0E [02:53:34]Write i2c OK [02:53:34]MH_I2C_Read... [02:53:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:53:34]Read from MH i2c: E2 [02:53:34]MH_I2C_Read... [02:53:34]Read from MH i2c: E2 0E 00 [02:53:34]MH_I2C_Read... [02:53:34]Read from MH i2c: E2 0E 00 8D 04 00 09 00 01 8A BF 95 66 00 00 00 00 90 00 5E [02:53:34]RAPDU: 09 00 01 8A BF 95 66 00 00 00 00 90 00 [02:53:34]wFMCommunicate OK [02:53:34]SAM_PROTO_GetShiftState done [02:53:34]FM_GetShiftState done [02:53:34]req_shift_opened done [02:53:34]requested_item shift.open_date is exist - process it [02:53:34]req_shift_open_date [02:53:34]req_shift_open_date done [02:53:34]requested_item shift.sale.total is exist - process it [02:53:34]SAM_PROTO_GetShiftData [02:53:34]wFMCommunicate request_size=4 [02:53:34]MH_SAM_APDU [02:53:34]CAPDU: 80 13 02 00 [02:53:34]Write to MH i2c: E2 08 00 8E 04 80 13 02 00 00 00 00 00 10 [02:53:34]Write i2c OK [02:53:34]MH_I2C_Read... [02:53:35]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [02:53:35]Read from MH i2c: E2 [02:53:35]MH_I2C_Read... [02:53:35]Read from MH i2c: E2 FD 00 [02:53:35]MH_I2C_Read... [02:53:35]Read from MH i2c: E2 FD 00 8E 04 00 AE 04 AA 04 AA 04 6E 04 04 00 19 00 00 00 69 04 9B 00 6F 04 04 00 19 00 00 00 B1 04 03 00 4D 73 0B 70 04 03 00 28 F2 03 72 04 03 00 25 81 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 48 37 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 F2 19 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 23 [02:53:35]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 19 00 00 00 69 04 9B 00 6F 04 04 00 19 00 00 00 B1 04 03 00 4D 73 0B 70 04 03 00 28 F2 03 72 04 03 00 25 81 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 48 37 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 F2 19 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [02:53:35]wFMCommunicate OK [02:53:35]wFMCommunicate request_size=4 [02:53:35]MH_SAM_APDU [02:53:35]CAPDU: 80 17 00 00 [02:53:35]Write to MH i2c: E2 08 00 8F 04 80 17 00 00 00 00 00 00 13 [02:53:35]Write i2c OK [02:53:35]MH_I2C_Read... [02:53:35]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [02:53:35]Read from MH i2c: E2 [02:53:35]MH_I2C_Read... [02:53:35]Read from MH i2c: E2 FD 00 [02:53:35]MH_I2C_Read... [02:53:35]Read from MH i2c: E2 FD 00 8F 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 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 35 [02:53:35]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [02:53:35]wFMCommunicate OK [02:53:35]wFMCommunicate request_size=4 [02:53:35]MH_SAM_APDU [02:53:35]CAPDU: 80 17 00 00 [02:53:35]Write to MH i2c: E2 08 00 90 04 80 17 00 00 00 00 00 00 14 [02:53:35]Write i2c OK [02:53:35]MH_I2C_Read... [02:53:35]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [02:53:35]Read from MH i2c: E2 [02:53:35]MH_I2C_Read... [02:53:35]Read from MH i2c: E2 FD 00 [02:53:35]MH_I2C_Read... [02:53:35]Read from MH i2c: E2 FD 00 90 04 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 CB [02:53:35]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [02:53:35]wFMCommunicate OK [02:53:35]wFMCommunicate request_size=4 [02:53:35]MH_SAM_APDU [02:53:35]CAPDU: 80 17 00 00 [02:53:35]Write to MH i2c: E2 08 00 91 04 80 17 00 00 00 00 00 00 15 [02:53:35]Write i2c OK [02:53:35]MH_I2C_Read... [02:53:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [02:53:36]Read from MH i2c: E2 [02:53:36]MH_I2C_Read... [02:53:36]Read from MH i2c: E2 FD 00 [02:53:36]MH_I2C_Read... [02:53:36]Read from MH i2c: E2 FD 00 91 04 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 87 [02:53:36]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [02:53:36]wFMCommunicate OK [02:53:36]wFMCommunicate request_size=4 [02:53:36]MH_SAM_APDU [02:53:36]CAPDU: 80 17 00 00 [02:53:36]Write to MH i2c: E2 08 00 92 04 80 17 00 00 00 00 00 00 16 [02:53:36]Write i2c OK [02:53:36]MH_I2C_Read... [02:53:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [02:53:36]Read from MH i2c: E2 [02:53:36]MH_I2C_Read... [02:53:36]Read from MH i2c: E2 CB 00 [02:53:36]MH_I2C_Read... [02:53:36]Read from MH i2c: E2 CB 00 92 04 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 FF [02:53:36]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [02:53:36]wFMCommunicate OK [02:53:36]SAM_PROTO_GetShiftData done [02:53:36]requested_item shift.sale.total_cash is exist - process it [02:53:36]requested_item shift.sale_refund.total is exist - process it [02:53:36]requested_item shift.sale_refund.total_cash is exist - process it [02:53:36]produce_requested_data done [02:53:36]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57271,"shift.num":498,"shift.opened":1,"shift.open_date":1721089930,"shift.sale.total":7504.13,"shift.sale.total_cash":2586.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [02:53:36]process_action_free close_receipt [02:53:36]json_value_free [02:53:36]json_value_free done [02:53:36]process_json_proto returns [02:53:36]Send response to host [02:53:36]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57271,"shift.num":498,"shift.opened":1,"shift.open_date":1721089930,"shift.sale.total":7504.13,"shift.sale.total_cash":2586.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [02:53:36]free response buf [02:53:36]execute_script done [02:53:36]execute_script returns [02:53:36]free content buf [02:53:36]Sock 8.Close socket [02:53:36]Sock 8.Thread stoped [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:05]accept exits with 9 [02:54:05]New connection [02:54:05]New thread 3066998116 created [02:54:05]Thread 3066854756 joined [02:54:05]Waiting for new connection... [02:54:05] Sock 9.Parse request [02:54:05]Sock 9.Check first char [02:54:05]Sock 9.First char is OK [02:54:05]request: POST /json_proto HTTP/1.0 [02:54:05]Method: POST [02:54:05]URL: /json_proto [02:54:05]Method is POST - this is cgi request [02:54:05]url: /json_proto [02:54:05]query_string will be loaded in cgi processing [02:54:05]execute_cgi json_proto POST (null) [02:54:05]execute_cgi path=json_proto method=POST [02:54:05]POST find Content-Length [02:54:05]Host: 172.17.39.4:8080 [02:54:05]Content-Length: 734 [02:54:05]Content-Type: application/json [02:54:05] [02:54:05]POST finish read [02:54:05]Found Content-Length = 734 [02:54:05]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129706", "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" ] } } [02:54:05]execute_script... [02:54: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)129706", "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" ] } } [02:54:05]POST & json_proto [02:54:05]process_json_proto [02:54:05]json parsed OK: [02:54:05]protocol is kg_v1.0 [02:54:05]action value=close_receipt [02:54:05]process_action close_receipt [02:54:05]cmd_close_receipt [02:54:05]MH_GetDate [02:54:05]Write to MH i2c: F0 00 00 93 04 86 [02:54:05]Write i2c OK [02:54:05]MH_I2C_Read... [02:54:05]Read from MH i2c: F0 [02:54:05]MH_I2C_Read... [02:54:05]Read from MH i2c: F0 09 00 [02:54:05]MH_I2C_Read... [02:54:05]Read from MH i2c: F0 09 00 93 04 00 CD E0 95 66 2D 25 5D 64 4A [02:54:05]GetLastDocTimeStamp 1721098411 [02:54:05]current date 1721098445 [02:54:05]FM_GetShiftState [02:54:05]SAM_PROTO_GetShiftState [02:54:05]wFMCommunicate request_size=4 [02:54:05]MH_SAM_APDU [02:54:05]CAPDU: 80 13 01 00 [02:54:05]Write to MH i2c: E2 08 00 94 04 80 13 01 00 00 00 00 00 15 [02:54:05]Write i2c OK [02:54:05]MH_I2C_Read... [02:54:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:54:05]Read from MH i2c: E2 [02:54:05]MH_I2C_Read... [02:54:05]Read from MH i2c: E2 0E 00 [02:54:05]MH_I2C_Read... [02:54:05]Read from MH i2c: E2 0E 00 94 04 00 09 00 01 8A BF 95 66 00 00 00 00 90 00 65 [02:54:05]RAPDU: 09 00 01 8A BF 95 66 00 00 00 00 90 00 [02:54:05]wFMCommunicate OK [02:54:05]SAM_PROTO_GetShiftState done [02:54:05]FM_GetShiftState done [02:54:05]opened in 1721089930 [02:54:05]opened+sec_in_day 1721176330 [02:54:05]quantity*price = 5000 [02:54:05]sum+1 = 5001 [02:54:05]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 СНО: Общий режим Чек 26 16.07.2024 02:54 Смена: 498 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57272 ФПД: 222941728478491 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240716T025405&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57272&fm=222941728478491&tin=02508201610067®Number=0000000000091208&sum=5000 0 [02:54:06]StoreToDocumentArchive [02:54:06]shift 498 fd 57272 [02:54:06]save to /storage/0498/doc_00057272 [02:54:06]save last doc name /storage/0498/doc_00057272 to /storage/kkm_last_doc_name [02:54:06]save OK [02:54:06]Clear old archive folders... [02:54:06]ProcessDocumentItem done err = 0, tmpTLVsize=269 [02:54:06]tlvbuf is 002CA910 [02:54:06]SAM_PROTO_ClearQueue [02:54:06]wFMCommunicate request_size=4 [02:54:06]MH_SAM_APDU [02:54:06]CAPDU: 80 09 00 00 [02:54:06]Write to MH i2c: E2 08 00 A1 04 80 09 00 00 00 00 00 00 17 [02:54:06]Write i2c OK [02:54:06]MH_I2C_Read... [02:54:06]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [02:54:06]Read from MH i2c: E2 [02:54:06]MH_I2C_Read... [02:54:06]Read from MH i2c: E2 03 00 [02:54:06]MH_I2C_Read... [02:54:06]Read from MH i2c: E2 03 00 A1 04 00 90 00 19 [02:54:06]RAPDU: 90 00 [02:54:06]wFMCommunicate OK [02:54:06]SAM_PROTO_ClearQueue done [02:54:06]KKMCreateOFDPacket [02:54:06]OFDProtocolAddRootSTLVToBuf [02:54:06]FM_MakeSignedData [02:54:06]FM_MakeSignedData [02:54:06]SAM_PROTO_SignData [02:54:06]wFMCommunicate request_size=4 [02:54:06]MH_SAM_APDU [02:54:06]CAPDU: 80 0D 01 02 [02:54:06]Write to MH i2c: E2 08 00 A2 04 80 0D 01 02 00 00 00 00 1F [02:54:06]Write i2c OK [02:54:06]MH_I2C_Read... [02:54:06]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [02:54:06]Read from MH i2c: E2 [02:54:06]MH_I2C_Read... [02:54:06]Read from MH i2c: E2 03 00 [02:54:06]MH_I2C_Read... [02:54:06]Read from MH i2c: E2 03 00 A2 04 00 90 00 1A [02:54:06]RAPDU: 90 00 [02:54:06]wFMCommunicate OK [02:54:06]wFMCommunicate request_size=255 [02:54:06]MH_SAM_APDU [02:54:06]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 1A 00 00 00 F4 03 04 00 CD E0 95 66 0E 04 04 00 F2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 [02:54:06]Write to MH i2c: E2 02 01 A3 04 80 0D 02 02 FA 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 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 1A 00 00 00 F4 03 04 00 CD E0 95 66 0E 04 04 00 F2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 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 E6 [02:54:06]Write i2c OK [02:54:06]MH_I2C_Read... [02:54:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:54:06]Read from MH i2c: E2 [02:54:06]MH_I2C_Read... [02:54:06]Read from MH i2c: E2 03 00 [02:54:06]MH_I2C_Read... [02:54:06]Read from MH i2c: E2 03 00 A3 04 00 90 00 1B [02:54:06]RAPDU: 90 00 [02:54:06]wFMCommunicate OK [02:54:06]wFMCommunicate request_size=28 [02:54:06]MH_SAM_APDU [02:54:06]CAPDU: 80 0D 02 02 17 37 34 38 35 37 10 04 04 00 B8 DF 00 00 35 04 06 00 CA C3 AA 88 15 1B [02:54:06]Write to MH i2c: E2 1F 00 A4 04 80 0D 02 02 17 00 37 34 38 35 37 10 04 04 00 B8 DF 00 00 35 04 06 00 CA C3 AA 88 15 1B 00 00 3C [02:54:06]Write i2c OK [02:54:06]MH_I2C_Read... [02:54:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:54:06]Read from MH i2c: E2 [02:54:06]MH_I2C_Read... [02:54:06]Read from MH i2c: E2 03 00 [02:54:06]MH_I2C_Read... [02:54:06]Read from MH i2c: E2 03 00 A4 04 00 90 00 1C [02:54:06]RAPDU: 90 00 [02:54:06]wFMCommunicate OK [02:54:06]wFMCommunicate request_size=4 [02:54:06]MH_SAM_APDU [02:54:06]CAPDU: 80 0D 03 02 [02:54:06]Write to MH i2c: E2 08 00 A5 04 80 0D 03 02 00 00 00 00 24 [02:54:06]Write i2c OK [02:54:06]MH_I2C_Read... [02:54:06]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [02:54:06]Read from MH i2c: E2 [02:54:06]MH_I2C_Read... [02:54:06]Read from MH i2c: E2 0B 00 [02:54:06]MH_I2C_Read... [02:54:06]Read from MH i2c: E2 0B 00 A5 04 00 14 AE 77 EC B2 4F EB 76 90 00 AC [02:54:06]RAPDU: 14 AE 77 EC B2 4F EB 76 90 00 [02:54:06]wFMCommunicate OK [02:54:06]SAM_PROTO_SignData done [02:54:06]FM_MakeSignedData done [02:54:06]CreateOFDProtocolMessage [02:54:06]wFMCommunicate request_size=4 [02:54:06]MH_SAM_APDU [02:54:06]CAPDU: 80 11 00 00 [02:54:06]Write to MH i2c: E2 08 00 A6 04 80 11 00 00 00 00 00 00 24 [02:54:06]Write i2c OK [02:54:06]MH_I2C_Read... [02:54:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:54:06]Read from MH i2c: E2 [02:54:06]MH_I2C_Read... [02:54:06]Read from MH i2c: E2 17 00 [02:54:06]MH_I2C_Read... [02:54:06]Read from MH i2c: E2 17 00 A6 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 7E [02:54:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [02:54:06]wFMCommunicate OK [02:54:06]CreateOFDProtocolMessage done [02:54:06]OFDSenderStorePacket 57272 [02:54:06]StoreOFDPacket docnum=57272 [02:54: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 21 01 00 00 BA 5A 19 01 71 AB 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 1A 00 00 00 F4 03 04 00 CD E0 95 66 0E 04 04 00 F2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 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 DF 00 00 35 04 06 00 CA C3 AA 88 15 1B 14 AE 77 EC B2 4F EB 76 [02:54:06]CheckFolder [02:54:06]dirname=/storage/ofd_packets [02:54:06]CheckFolder done [02:54:06]ProducePacketName [02:54:06]name=ofd_packets/00057272 [02:54:06]NVStorageSaveData ofd_packets/00057272 [02:54:06]File name is /storage/ofd_packets/00057272 [02:54:06]Write 319 bytes [02:54:06]NVStorageSaveData done [02:54:06]OFDSenderStorePacket done [02:54:06]KKMCreateOFDPacket done [02:54:06]NVStorageSaveData kkm_last_timestamp [02:54:06]File name is /storage/kkm_last_timestamp [02:54:06]Write 4 bytes [02:54:06]NVStorageSaveData done [02:54:06]OFD Sender: Processing packet 57272 [packets to send 38, broken 37] [02:54:06]ProducePacketName [02:54:06]name=ofd_packets/00057272 [02:54:06]OFD Sender: To server: pG, [02:54:06]CommunicateWithHost lk.salyk.kg:30040 [02:54:06]ConnectInit lk.salyk.kg [02:54:06]ExternCall_PrintAddStr [02:54:06]wPrintStart [02:54:06]Write to MH i2c: 01 00 00 A7 04 AB [02:54:06]Write i2c OK [02:54:06]MH_I2C_Read... [02:54:06]Read from MH i2c: 01 [02:54:06]MH_I2C_Read... [02:54:06]Read from MH i2c: 01 07 00 [02:54:06]MH_I2C_Read... [02:54:06]Read from MH i2c: 01 07 00 A7 04 00 00 00 00 00 FF 0F C0 [02:54:06]RasterBufferAndPrint [02:54:06]line Счет N : (3)129706 [02:54:06]line ИНН: 02508201610067 [02:54:06]line Контрольно-Кассовый Чек [02:54:06]line ПРОДАЖА [02:54:06]line Товар: 4700000160358 [02:54:06]line Вода Легенда 1л [02:54:06]line 1.000 * 50.00 [02:54:06]line = 50.00 [02:54:06]line НДС 12% НСП 1% [02:54:06]line > о реализуемом товаре [02:54:06]line ИТОГО: 50.00 [02:54:06]line НСП 1% : 0.44 [02:54:06]line НДС 12% : 5.31 [02:54:06]line Наличными: 50.00 [02:54:06]line Безнал.: 0.00 [02:54:06]line Место: АЗС № 132 "Партнер Нефть" [02:54:06]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [02:54:06]line СНО: Общий режим [02:54:06]line Чек 26 16.07.2024 02:54 [02:54:06]line Смена: 498 ФФД: 1.0 [02:54:06]line ЗНМ: 0300000132 [02:54:06]line РНМ: 0000000000091208 [02:54:06]line Версия ККМ: 001 [02:54:06]line ФМ: 0000000000874857 [02:54:06]line ФД: 57272 [02:54:06]line ФПД: 222941728478491 [02:54:07]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240716T025405&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57272&fm=222941728478491&tin=02508201610067®Number=0000000000091208&sum=5000 [02:54:07]line 0 [02:54:07]Connected sock=11 [02:54: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 21 01 00 00 BA 5A 19 01 71 AB 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 1A 00 00 00 F4 03 04 00 CD E0 95 66 0E 04 04 00 F2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 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 DF 00 00 35 04 06 00 CA C3 AA 88 15 1B 14 AE 77 EC B2 4F EB 76 [02:54:07]written 0, free lines is 4095 [02:54: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 D7 C8 47 00 C9 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 B8 DF 00 00 F4 03 04 00 1A 87 95 66 B6 04 01 00 00 CB 71 52 19 6B 32 CF 15 [02:54:07]CommunicateWithHost err = 0 [02:54:07]CheckOFDResponse [02:54:07]1017 (14) - 77093643461234 [02:54:07]1041 (16) - 0000000000874857 [02:54:07]1040 (4) - 57272 [02:54:07]1012 (4) - 15.07.2024 20:31 [02:54:07]1206 (1) - 0 [02:54:07]OFD Sender: Remove packet 57272 [02:54:07]ProducePacketName [02:54:07]name=ofd_packets/00057272 [02:54:07]NVStorageDeleteData [02:54:07]Write to MH i2c: 01 00 00 CF 04 D3 [02:54:07]Write i2c OK [02:54:07]MH_I2C_Read... [02:54:07]Read from MH i2c: 01 [02:54:07]MH_I2C_Read... [02:54:07]Read from MH i2c: 01 07 00 [02:54:07]MH_I2C_Read... [02:54:07]Read from MH i2c: 01 07 00 CF 04 00 00 00 00 00 02 0D E9 [02:54:07]RasterBufferAndPrint [02:54:07]line [02:54:07]line [02:54:07]line [02:54:07]line [02:54:07]line [02:54:07]written 0, free lines is 3337 [02:54:07]MH_Cut [02:54:07]Write to MH i2c: D1 01 00 D6 04 01 AC [02:54:07]Write i2c OK [02:54:07]MH_I2C_Read... [02:54:07]Read from MH i2c: D1 [02:54:07]MH_I2C_Read... [02:54:07]Read from MH i2c: D1 01 00 [02:54:07]MH_I2C_Read... [02:54:07]Read from MH i2c: D1 01 00 D6 04 00 AB [02:54:07]Write to MH i2c: 01 00 00 D7 04 DB [02:54:07]Write i2c OK [02:54:07]MH_I2C_Read... [02:54:07]OFD Sender: No OFD packet to send [02:54:08]*** Cut start [02:54:08]*** Partial cut [02:54:08]*** CUTSNS_PIN = 1 [02:54:08]*** CUTSNS_PIN = 0 [02:54:08]*** Brake cut motor [02:54:08]Read from MH i2c: 01 [02:54:08]MH_I2C_Read... [02:54:08]*** Stop cut motor [02:54:08]*** Cut end [02:54:08]Read from MH i2c: 01 07 00 [02:54:08]MH_I2C_Read... [02:54:08]Read from MH i2c: 01 07 00 D7 04 00 00 00 00 00 FF 0F F0 [02:54:08]process_action close_receipt done [02:54:08]requested_data is exist [02:54:08]produce_requested_data [02:54:08]requested_item fm.sn is exist - process it [02:54:08]wFMCommunicate request_size=4 [02:54:08]MH_SAM_APDU [02:54:08]CAPDU: 80 11 00 00 [02:54:08]Write to MH i2c: E2 08 00 D8 04 80 11 00 00 00 00 00 00 56 [02:54:08]Write i2c OK [02:54:08]MH_I2C_Read... [02:54:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:54:09]Read from MH i2c: E2 [02:54:09]MH_I2C_Read... [02:54:09]Read from MH i2c: E2 17 00 [02:54:09]MH_I2C_Read... [02:54:09]Read from MH i2c: E2 17 00 D8 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 B0 [02:54:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [02:54:09]wFMCommunicate OK [02:54:09]requested_item fd.num is exist - process it [02:54:09]SAM_PROTO_GetFieldsCounters [02:54:09]wFMCommunicate request_size=4 [02:54:09]MH_SAM_APDU [02:54:09]CAPDU: 80 13 00 00 [02:54:09]Write to MH i2c: E2 08 00 D9 04 80 13 00 00 00 00 00 00 59 [02:54:09]Write i2c OK [02:54:09]MH_I2C_Read... [02:54:09]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [02:54:09]Read from MH i2c: E2 [02:54:09]MH_I2C_Read... [02:54:09]Read from MH i2c: E2 62 00 [02:54:09]MH_I2C_Read... [02:54:09]Read from MH i2c: E2 62 00 D9 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 B8 DF 00 00 0E 04 04 00 F2 01 00 00 12 04 04 00 1A 00 00 00 5E 04 04 00 1A 00 00 00 57 04 04 00 1B 00 00 00 19 04 04 00 00 00 00 00 90 00 54 [02:54: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 B8 DF 00 00 0E 04 04 00 F2 01 00 00 12 04 04 00 1A 00 00 00 5E 04 04 00 1A 00 00 00 57 04 04 00 1B 00 00 00 19 04 04 00 00 00 00 00 90 00 [02:54:09]wFMCommunicate OK [02:54:09]SAM_PROTO_GetFieldsCounters done [02:54:09]requested_item shift.num is exist - process it [02:54:09]requested_item shift.opened is exist - process it [02:54:09]req_shift_opened [02:54:09]FM_GetShiftState [02:54:09]SAM_PROTO_GetShiftState [02:54:09]wFMCommunicate request_size=4 [02:54:09]MH_SAM_APDU [02:54:09]CAPDU: 80 13 01 00 [02:54:09]Write to MH i2c: E2 08 00 DA 04 80 13 01 00 00 00 00 00 5B [02:54:09]Write i2c OK [02:54:09]MH_I2C_Read... [02:54:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:54:09]Read from MH i2c: E2 [02:54:09]MH_I2C_Read... [02:54:09]Read from MH i2c: E2 0E 00 [02:54:09]MH_I2C_Read... [02:54:09]Read from MH i2c: E2 0E 00 DA 04 00 09 00 01 8A BF 95 66 00 00 00 00 90 00 AB [02:54:09]RAPDU: 09 00 01 8A BF 95 66 00 00 00 00 90 00 [02:54:09]wFMCommunicate OK [02:54:09]SAM_PROTO_GetShiftState done [02:54:09]FM_GetShiftState done [02:54:09]req_shift_opened done [02:54:09]requested_item shift.open_date is exist - process it [02:54:09]req_shift_open_date [02:54:09]req_shift_open_date done [02:54:09]requested_item shift.sale.total is exist - process it [02:54:09]SAM_PROTO_GetShiftData [02:54:09]wFMCommunicate request_size=4 [02:54:09]MH_SAM_APDU [02:54:09]CAPDU: 80 13 02 00 [02:54:09]Write to MH i2c: E2 08 00 DB 04 80 13 02 00 00 00 00 00 5D [02:54:09]Write i2c OK [02:54:09]MH_I2C_Read... [02:54:09]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [02:54:09]Read from MH i2c: E2 [02:54:09]MH_I2C_Read... [02:54:09]Read from MH i2c: E2 FD 00 [02:54:09]MH_I2C_Read... [02:54:09]Read from MH i2c: E2 FD 00 DB 04 00 AE 04 AA 04 AA 04 6E 04 04 00 1A 00 00 00 69 04 9B 00 6F 04 04 00 1A 00 00 00 B1 04 03 00 D5 86 0B 70 04 03 00 B0 05 04 72 04 03 00 25 81 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 5B 39 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 1E 1A EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 EB [02:54:09]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 1A 00 00 00 69 04 9B 00 6F 04 04 00 1A 00 00 00 B1 04 03 00 D5 86 0B 70 04 03 00 B0 05 04 72 04 03 00 25 81 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 5B 39 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 1E 1A EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [02:54:09]wFMCommunicate OK [02:54:09]wFMCommunicate request_size=4 [02:54:09]MH_SAM_APDU [02:54:09]CAPDU: 80 17 00 00 [02:54:09]Write to MH i2c: E2 08 00 DC 04 80 17 00 00 00 00 00 00 60 [02:54:09]Write i2c OK [02:54:09]MH_I2C_Read... [02:54:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [02:54:09]Read from MH i2c: E2 [02:54:09]MH_I2C_Read... [02:54:09]Read from MH i2c: E2 FD 00 [02:54:09]MH_I2C_Read... [02:54:09]Read from MH i2c: E2 FD 00 DC 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 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 82 [02:54: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 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [02:54:09]wFMCommunicate OK [02:54:09]wFMCommunicate request_size=4 [02:54:09]MH_SAM_APDU [02:54:09]CAPDU: 80 17 00 00 [02:54:09]Write to MH i2c: E2 08 00 DD 04 80 17 00 00 00 00 00 00 61 [02:54:09]Write i2c OK [02:54:09]MH_I2C_Read... [02:54:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [02:54:10]Read from MH i2c: E2 [02:54:10]MH_I2C_Read... [02:54:10]Read from MH i2c: E2 FD 00 [02:54:10]MH_I2C_Read... [02:54:10]Read from MH i2c: E2 FD 00 DD 04 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 18 [02:54:10]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [02:54:10]wFMCommunicate OK [02:54:10]wFMCommunicate request_size=4 [02:54:10]MH_SAM_APDU [02:54:10]CAPDU: 80 17 00 00 [02:54:10]Write to MH i2c: E2 08 00 DE 04 80 17 00 00 00 00 00 00 62 [02:54:10]Write i2c OK [02:54:10]MH_I2C_Read... [02:54:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [02:54:10]Read from MH i2c: E2 [02:54:10]MH_I2C_Read... [02:54:10]Read from MH i2c: E2 FD 00 [02:54:10]MH_I2C_Read... [02:54:10]Read from MH i2c: E2 FD 00 DE 04 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 D4 [02:54:10]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [02:54:10]wFMCommunicate OK [02:54:10]wFMCommunicate request_size=4 [02:54:10]MH_SAM_APDU [02:54:10]CAPDU: 80 17 00 00 [02:54:10]Write to MH i2c: E2 08 00 DF 04 80 17 00 00 00 00 00 00 63 [02:54:10]Write i2c OK [02:54:10]MH_I2C_Read... [02:54:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [02:54:10]Read from MH i2c: E2 [02:54:10]MH_I2C_Read... [02:54:10]Read from MH i2c: E2 CB 00 [02:54:10]MH_I2C_Read... [02:54:10]Read from MH i2c: E2 CB 00 DF 04 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 4C [02:54:10]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [02:54:10]wFMCommunicate OK [02:54:10]SAM_PROTO_GetShiftData done [02:54:10]requested_item shift.sale.total_cash is exist - process it [02:54:10]requested_item shift.sale_refund.total is exist - process it [02:54:10]requested_item shift.sale_refund.total_cash is exist - process it [02:54:10]produce_requested_data done [02:54:10]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57272,"shift.num":498,"shift.opened":1,"shift.open_date":1721089930,"shift.sale.total":7554.13,"shift.sale.total_cash":2636.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [02:54:10]process_action_free close_receipt [02:54:10]json_value_free [02:54:10]json_value_free done [02:54:10]process_json_proto returns [02:54:10]Send response to host [02:54:10]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57272,"shift.num":498,"shift.opened":1,"shift.open_date":1721089930,"shift.sale.total":7554.13,"shift.sale.total_cash":2636.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [02:54:10]free response buf [02:54:10]execute_script done [02:54:10]execute_script returns [02:54:10]free content buf [02:54:10]Sock 9.Close socket [02:54:10]Sock 9.Thread stoped [02:54:12]OFD Sender: No OFD packet to send [02:54:17]OFD Sender: No OFD packet to send [02:54:22]OFD Sender: No OFD packet to send [02:54:27]OFD Sender: No OFD packet to send [02:54:32]OFD Sender: No OFD packet to send [02:54:37]OFD Sender: No OFD packet to send [02:54:42]OFD Sender: No OFD packet to send [02:54:47]OFD Sender: No OFD packet to send [02:54:52]OFD Sender: No OFD packet to send [02:54:57]OFD Sender: No OFD packet to send [02:55:02]OFD Sender: No OFD packet to send [02:55:07]OFD Sender: No OFD packet to send [02:55:12]OFD Sender: No OFD packet to send [02:55:17]OFD Sender: No OFD packet to send [02:55:22]OFD Sender: No OFD packet to send [02:55:27]OFD Sender: No OFD packet to send [02:55:32]OFD Sender: No OFD packet to send [02:55:37]OFD Sender: No OFD packet to send [02:55:42]OFD Sender: No OFD packet to send [02:55:47]OFD Sender: No OFD packet to send [02:55: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:33]OFD Sender: No OFD packet to send [02:58:38]OFD Sender: No OFD packet to send [02:58:43]OFD Sender: No OFD packet to send [02:58:48]OFD Sender: No OFD packet to send [02:58:53]OFD Sender: No OFD packet to send [02:58:58]OFD Sender: No OFD packet to send [02:59:03]OFD Sender: No OFD packet to send [02:59:08]OFD Sender: No OFD packet to send [02:59:13]OFD Sender: No OFD packet to send [02:59:18]OFD Sender: No OFD packet to send [02:59:23]OFD Sender: No OFD packet to send [02:59:28]OFD Sender: No OFD packet to send [02:59:33]OFD Sender: No OFD packet to send [02:59:38]OFD Sender: No OFD packet to send [02:59:43]OFD Sender: No OFD packet to send [02:59:48]OFD Sender: No OFD packet to send [02:59:53]OFD Sender: No OFD packet to send [02:59:58]OFD Sender: No OFD packet to send [03:00:03]OFD Sender: No OFD packet to send [03:00:08]OFD Sender: No OFD packet to send [03:00:13]OFD Sender: No OFD packet to send [03:00:18]OFD Sender: No OFD packet to send [03:00:23]OFD Sender: No OFD packet to send [03:00:28]OFD Sender: No OFD packet to send [03:00:33]OFD Sender: No OFD packet to send [03:00:38]OFD Sender: No OFD packet to send [03:00:43]OFD Sender: No OFD packet to send [03:00:48]OFD Sender: No OFD packet to send [03:00:53]OFD Sender: No OFD packet to send [03:00:58]OFD Sender: No OFD packet to send [03:01:03]OFD Sender: No OFD packet to send [03:01:08]OFD Sender: No OFD packet to send [03:01:13]OFD Sender: No OFD packet to send [03:01:18]OFD Sender: No OFD packet to send [03:01:23]OFD Sender: No OFD packet to send [03:01:28]OFD Sender: No OFD packet to send [03:01:33]OFD Sender: No OFD packet to send [03:01:38]OFD Sender: No OFD packet to send [03:01:43]OFD Sender: No OFD packet to send [03:01:48]OFD Sender: No OFD packet to send [03:01:53]OFD Sender: No OFD packet to send [03:01:58]OFD Sender: No OFD packet to send [03:02:03]OFD Sender: No OFD packet to send [03:02:08]OFD Sender: No OFD packet to send [03:02:13]OFD Sender: No OFD packet to send [03:02:18]OFD Sender: No OFD packet to send [03:02:23]OFD Sender: No OFD packet to send [03:02:28]OFD Sender: No OFD packet to send [03:02:33]OFD Sender: No OFD packet to send [03:02:38]OFD Sender: No OFD packet to send [03:02:43]OFD Sender: No OFD packet to send [03:02:48]OFD Sender: No OFD packet to send [03:02:53]OFD Sender: No OFD packet to send [03:02:58]OFD Sender: No OFD packet to send [03:03:03]OFD Sender: No OFD packet to send [03:03:08]OFD Sender: No OFD packet to send [03:03:13]OFD Sender: No OFD packet to send [03:03:18]OFD Sender: No OFD packet to send [03:03:23]OFD Sender: No OFD packet to send [03:03:28]OFD Sender: No OFD packet to send [03:03:33]OFD Sender: No OFD packet to send [03:03:38]OFD Sender: No OFD packet to send [03:03:43]OFD Sender: No OFD packet to send [03:03:48]OFD Sender: No OFD packet to send [03:03:53]OFD Sender: No OFD packet to send [03:03:58]OFD Sender: No OFD packet to send [03:04:03]OFD Sender: No OFD packet to send [03:04:08]OFD Sender: No OFD packet to send [03:04:13]OFD Sender: No OFD packet to send [03:04:18]OFD Sender: No OFD packet to send [03:04:23]OFD Sender: No OFD packet to send [03:04:28]OFD Sender: No OFD packet to send [03:04:33]OFD Sender: No OFD packet to send [03:04:38]OFD Sender: No OFD packet to send [03:04:43]OFD Sender: No OFD packet to send [03:04:48]OFD Sender: No OFD packet to send [03:04:53]OFD Sender: No OFD packet to send [03:04:58]OFD Sender: No OFD packet to send [03:05:03]OFD Sender: No OFD packet to send [03:05:08]OFD Sender: No OFD packet to send [03:05:13]OFD Sender: No OFD packet to send [03:05:18]OFD Sender: No OFD packet to send [03:05:23]OFD Sender: No OFD packet to send [03:05:28]OFD Sender: No OFD packet to send [03:05:33]OFD Sender: No OFD packet to send [03:05:38]OFD Sender: No OFD packet to send [03:05:43]OFD Sender: No OFD packet to send [03:05:48]OFD Sender: No OFD packet to send [03:05:53]OFD Sender: No OFD packet to send [03:05:58]OFD Sender: No OFD packet to send [03:06:03]OFD Sender: No OFD packet to send [03:06:08]OFD Sender: No OFD packet to send [03:06:13]OFD Sender: No OFD packet to send [03:06:18]OFD Sender: No OFD packet to send [03:06:23]OFD Sender: No OFD packet to send [03:06:28]OFD Sender: No OFD packet to send [03:06:33]OFD Sender: No OFD packet to send [03:06:38]OFD Sender: No OFD packet to send [03:06:43]OFD Sender: No OFD packet to send [03:06:48]OFD Sender: No OFD packet to send [03:06:53]OFD Sender: No OFD packet to send [03:06:58]OFD Sender: No OFD packet to send [03:07:03]OFD Sender: No OFD packet to send [03:07:08]OFD Sender: No OFD packet to send [03:07:13]OFD Sender: No OFD packet to send [03:07:18]OFD Sender: No OFD packet to send [03:07:23]OFD Sender: No OFD packet to send [03:07:28]OFD Sender: No OFD packet to send [03:07:33]OFD Sender: No OFD packet to send [03:07:38]OFD Sender: No OFD packet to send [03:07:43]OFD Sender: No OFD packet to send [03:07:48]OFD Sender: No OFD packet to send [03:07:53]OFD Sender: No OFD packet to send [03:07:58]OFD Sender: No OFD packet to send [03:08:03]OFD Sender: No OFD packet to send [03:08:08]OFD Sender: No OFD packet to send [03:08:13]OFD Sender: No OFD packet to send [03:08:18]OFD Sender: No OFD packet to send [03:08:23]OFD Sender: No OFD packet to send [03:08:28]OFD Sender: No OFD packet to send [03:08:33]OFD Sender: No OFD packet to send [03:08:38]OFD Sender: No OFD packet to send [03:08:43]OFD Sender: No OFD packet to send [03:08:48]OFD Sender: No OFD packet to send [03:08:53]OFD Sender: No OFD packet to send [03:08:58]OFD Sender: No OFD packet to send [03:09:03]OFD Sender: No OFD packet to send [03:09:08]OFD Sender: No OFD packet to send [03:09:13]OFD Sender: No OFD packet to send [03:09:18]OFD Sender: No OFD packet to send [03:09:23]OFD Sender: No OFD packet to send [03:09:28]OFD Sender: No OFD packet to send [03:09:33]OFD Sender: No OFD packet to send [03:09:38]OFD Sender: No OFD packet to send [03:09:43]OFD Sender: No OFD packet to send [03:09:48]OFD Sender: No OFD packet to send [03:09:53]OFD Sender: No OFD packet to send [03:09:58]OFD Sender: No OFD packet to send [03:10:03]OFD Sender: No OFD packet to send [03:10:08]OFD Sender: No OFD packet to send [03:10:13]OFD Sender: No OFD packet to send [03:10:18]OFD Sender: No OFD packet to send [03:10:23]OFD Sender: No OFD packet to send [03:10:28]OFD Sender: No OFD packet to send [03:10:33]OFD Sender: No OFD packet to send [03:10:38]OFD Sender: No OFD packet to send [03:10:41]accept exits with 8 [03:10:41]New connection [03:10:41]New thread 3066854756 created [03:10:41]Thread 3066998116 joined [03:10:41]Waiting for new connection... [03:10:41] Sock 8.Parse request [03:10:41]Sock 8.Check first char [03:10:41]Sock 8.First char is OK [03:10:41]request: POST /json_proto HTTP/1.0 [03:10:41]Method: POST [03:10:41]URL: /json_proto [03:10:41]Method is POST - this is cgi request [03:10:41]url: /json_proto [03:10:41]query_string will be loaded in cgi processing [03:10:41]execute_cgi json_proto POST (null) [03:10:41]execute_cgi path=json_proto method=POST [03:10:41]POST find Content-Length [03:10:41]Host: 172.17.39.4:8080 [03:10:41]Content-Length: 1296 [03:10:41]Content-Type: application/json [03:10:41] [03:10:41]POST finish read [03:10:41]Found Content-Length = 1296 [03:10:41]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129707", "tax_sys" : 0, "items" : [ { "code": "4700003010483", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Let`s Go! \u0441/\u0441 \u044F\u0431\u043B\u043E\u043A\u043E \u041F\u042D\u0422 0,5\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700007110066", "name": "\u0421\u044D\u043D\u0434\u0432\u0438\u0447 \u0441 \u043C\u0430\u0439\u043E\u043D\u0435\u0437\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 }]} ], "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" : 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" ] } } [03:10:41]execute_script... [03:10: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)129707", "tax_sys" : 0, "items" : [ { "code": "4700003010483", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Let`s Go! \u0441/\u0441 \u044F\u0431\u043B\u043E\u043A\u043E \u041F\u042D\u0422 0,5\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700007110066", "name": "\u0421\u044D\u043D\u0434\u0432\u0438\u0447 \u0441 \u043C\u0430\u0439\u043E\u043D\u0435\u0437\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 }]} ], "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" : 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" ] } } [03:10:41]POST & json_proto [03:10:41]process_json_proto [03:10:41]json parsed OK: [03:10:41]protocol is kg_v1.0 [03:10:41]action value=close_receipt [03:10:41]process_action close_receipt [03:10:41]cmd_close_receipt [03:10:41]MH_GetDate [03:10:41]Write to MH i2c: F0 00 00 E0 04 D3 [03:10:41]Write i2c OK [03:10:41]MH_I2C_Read... [03:10:41]Read from MH i2c: F0 [03:10:41]MH_I2C_Read... [03:10:41]Read from MH i2c: F0 09 00 [03:10:41]MH_I2C_Read... [03:10:41]Read from MH i2c: F0 09 00 E0 04 00 B1 E4 95 66 2D 25 5D 64 7F [03:10:41]GetLastDocTimeStamp 1721098445 [03:10:41]current date 1721099441 [03:10:41]FM_GetShiftState [03:10:41]SAM_PROTO_GetShiftState [03:10:41]wFMCommunicate request_size=4 [03:10:41]MH_SAM_APDU [03:10:41]CAPDU: 80 13 01 00 [03:10:41]Write to MH i2c: E2 08 00 E1 04 80 13 01 00 00 00 00 00 62 [03:10:41]Write i2c OK [03:10:41]MH_I2C_Read... [03:10:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [03:10:41]Read from MH i2c: E2 [03:10:41]MH_I2C_Read... [03:10:41]Read from MH i2c: E2 0E 00 [03:10:41]MH_I2C_Read... [03:10:41]Read from MH i2c: E2 0E 00 E1 04 00 09 00 01 8A BF 95 66 00 00 00 00 90 00 B2 [03:10:41]RAPDU: 09 00 01 8A BF 95 66 00 00 00 00 90 00 [03:10:41]wFMCommunicate OK [03:10:41]SAM_PROTO_GetShiftState done [03:10:41]FM_GetShiftState done [03:10:41]opened in 1721089930 [03:10:41]opened+sec_in_day 1721176330 [03:10:41]quantity*price = 4000 [03:10:41]sum+1 = 4001 [03:10:41]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700007110066 Сэндвич с майонезом Талас Даамы 1.000 * 70.00 = 70.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 110.00 НСП 1% : 0.97 НДС 12% : 11.68 Наличными: 0.00 Безнал.: 110.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 27 16.07.2024 03:10 Смена: 498 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 Платежная система: О! деньги ФМ: 0000000000874857 ФД: 57273 ФПД: 250855339059131 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240716T031042&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57273&fm=250855339059131&tin=02508201610067®Number=0000000000091208&sum=11000 0 [03:10:42]StoreToDocumentArchive [03:10:42]shift 498 fd 57273 [03:10:42]save to /storage/0498/doc_00057273 [03:10:42]save last doc name /storage/0498/doc_00057273 to /storage/kkm_last_doc_name [03:10:42]save OK [03:10:42]Clear old archive folders... [03:10:42]ProcessDocumentItem done err = 0, tmpTLVsize=428 [03:10:42]tlvbuf is 0026BA30 [03:10:42]SAM_PROTO_ClearQueue [03:10:42]wFMCommunicate request_size=4 [03:10:42]MH_SAM_APDU [03:10:42]CAPDU: 80 09 00 00 [03:10:42]Write to MH i2c: E2 08 00 EE 04 80 09 00 00 00 00 00 00 64 [03:10:42]Write i2c OK [03:10:42]MH_I2C_Read... [03:10:42]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [03:10:42]Read from MH i2c: E2 [03:10:42]MH_I2C_Read... [03:10:42]Read from MH i2c: E2 03 00 [03:10:42]MH_I2C_Read... [03:10:42]Read from MH i2c: E2 03 00 EE 04 00 90 00 66 [03:10:42]RAPDU: 90 00 [03:10:42]wFMCommunicate OK [03:10:42]SAM_PROTO_ClearQueue done [03:10:42]KKMCreateOFDPacket [03:10:42]OFDProtocolAddRootSTLVToBuf [03:10:42]FM_MakeSignedData [03:10:42]FM_MakeSignedData [03:10:42]SAM_PROTO_SignData [03:10:42]wFMCommunicate request_size=4 [03:10:42]MH_SAM_APDU [03:10:42]CAPDU: 80 0D 01 02 [03:10:42]Write to MH i2c: E2 08 00 EF 04 80 0D 01 02 00 00 00 00 6C [03:10:42]Write i2c OK [03:10:42]MH_I2C_Read... [03:10:42]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [03:10:42]Read from MH i2c: E2 [03:10:42]MH_I2C_Read... [03:10:42]Read from MH i2c: E2 03 00 [03:10:42]MH_I2C_Read... [03:10:42]Read from MH i2c: E2 03 00 EF 04 00 90 00 67 [03:10:42]RAPDU: 90 00 [03:10:42]wFMCommunicate OK [03:10:42]wFMCommunicate request_size=255 [03:10:42]MH_SAM_APDU [03:10:42]CAPDU: 80 0D 02 02 FA 03 00 AC 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 34 38 33 06 04 38 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 65 74 60 73 20 47 6F 21 20 D1 81 2F D1 81 20 D1 8F D0 B1 D0 BB D0 BE D0 BA D0 BE 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 7E 00 8A 04 0D 00 34 37 30 30 30 30 37 31 31 30 30 36 36 06 04 3A 00 D0 A1 D1 8D D0 BD D0 B4 D0 B2 D0 B8 D1 87 20 D1 81 20 D0 BC D0 B0 D0 B9 D0 BE D0 BD D0 B5 D0 B7 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 [03:10:42]Write to MH i2c: E2 02 01 F0 04 80 0D 02 02 FA 00 03 00 AC 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 34 38 33 06 04 38 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 65 74 60 73 20 47 6F 21 20 D1 81 2F D1 81 20 D1 8F D0 B1 D0 BB D0 BE D0 BA D0 BE 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 7E 00 8A 04 0D 00 34 37 30 30 30 30 37 31 31 30 30 36 36 06 04 3A 00 D0 A1 D1 8D D0 BD D0 B4 D0 B2 D0 B8 D1 87 20 D1 81 20 D0 BC D0 B0 D0 B9 D0 BE D0 BD D0 B5 D0 B7 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 DF [03:10:42]Write i2c OK [03:10:42]MH_I2C_Read... [03:10:43]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [03:10:43]Read from MH i2c: E2 [03:10:43]MH_I2C_Read... [03:10:43]Read from MH i2c: E2 03 00 [03:10:43]MH_I2C_Read... [03:10:43]Read from MH i2c: E2 03 00 F0 04 00 90 00 68 [03:10:43]RAPDU: 90 00 [03:10:43]wFMCommunicate OK [03:10:43]wFMCommunicate request_size=187 [03:10:43]MH_SAM_APDU [03:10:43]CAPDU: 80 0D 02 02 B6 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 1B 00 00 00 F4 03 04 00 B2 E4 95 66 0E 04 04 00 F2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 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 DF 00 00 35 04 06 00 E4 26 CF 5F E7 BB [03:10:43]Write to MH i2c: E2 BE 00 F1 04 80 0D 02 02 B6 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 1B 00 00 00 F4 03 04 00 B2 E4 95 66 0E 04 04 00 F2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 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 DF 00 00 35 04 06 00 E4 26 CF 5F E7 BB 00 00 1D [03:10:43]Write i2c OK [03:10:43]MH_I2C_Read... [03:10:43]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [03:10:43]Read from MH i2c: E2 [03:10:43]MH_I2C_Read... [03:10:43]Read from MH i2c: E2 03 00 [03:10:43]MH_I2C_Read... [03:10:43]Read from MH i2c: E2 03 00 F1 04 00 90 00 69 [03:10:43]RAPDU: 90 00 [03:10:43]wFMCommunicate OK [03:10:43]wFMCommunicate request_size=4 [03:10:43]MH_SAM_APDU [03:10:43]CAPDU: 80 0D 03 02 [03:10:43]Write to MH i2c: E2 08 00 F2 04 80 0D 03 02 00 00 00 00 71 [03:10:43]Write i2c OK [03:10:43]MH_I2C_Read... [03:10:43]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [03:10:43]Read from MH i2c: E2 [03:10:43]MH_I2C_Read... [03:10:43]Read from MH i2c: E2 0B 00 [03:10:43]MH_I2C_Read... [03:10:43]Read from MH i2c: E2 0B 00 F2 04 00 A9 1D 7A B8 3E 40 AB 55 90 00 E8 [03:10:43]RAPDU: A9 1D 7A B8 3E 40 AB 55 90 00 [03:10:43]wFMCommunicate OK [03:10:43]SAM_PROTO_SignData done [03:10:43]FM_MakeSignedData done [03:10:43]CreateOFDProtocolMessage [03:10:43]wFMCommunicate request_size=4 [03:10:43]MH_SAM_APDU [03:10:43]CAPDU: 80 11 00 00 [03:10:43]Write to MH i2c: E2 08 00 F3 04 80 11 00 00 00 00 00 00 71 [03:10:43]Write i2c OK [03:10:43]MH_I2C_Read... [03:10:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [03:10:43]Read from MH i2c: E2 [03:10:43]MH_I2C_Read... [03:10:43]Read from MH i2c: E2 17 00 [03:10:43]MH_I2C_Read... [03:10:43]Read from MH i2c: E2 17 00 F3 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 CB [03:10:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [03:10:43]wFMCommunicate OK [03:10:43]CreateOFDProtocolMessage done [03:10:43]OFDSenderStorePacket 57273 [03:10:43]StoreOFDPacket docnum=57273 [03:10: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 C0 01 00 00 16 AC B8 01 DC 62 5A 03 01 00 03 00 AC 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 34 38 33 06 04 38 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 65 74 60 73 20 47 6F 21 20 D1 81 2F D1 81 20 D1 8F D0 B1 D0 BB D0 BE D0 BA D0 BE 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 7E 00 8A 04 0D 00 34 37 30 30 30 30 37 31 31 30 30 36 36 06 04 3A 00 D0 A1 D1 8D D0 BD D0 B4 D0 B2 D0 B8 D1 87 20 D1 81 20 D0 BC D0 B0 D0 B9 D0 BE D0 BD D0 B5 D0 B7 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 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 1B 00 00 00 F4 03 04 00 B2 E4 95 66 0E 04 04 00 F2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 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 DF 00 00 35 04 06 00 E4 26 CF 5F E7 BB A9 1D 7A B8 3E 40 AB 55 [03:10:43]CheckFolder [03:10:43]dirname=/storage/ofd_packets [03:10:43]CheckFolder done [03:10:43]ProducePacketName [03:10:43]name=ofd_packets/00057273 [03:10:43]NVStorageSaveData ofd_packets/00057273 [03:10:43]File name is /storage/ofd_packets/00057273 [03:10:43]Write 478 bytes [03:10:43]NVStorageSaveData done [03:10:43]OFDSenderStorePacket done [03:10:43]KKMCreateOFDPacket done [03:10:43]NVStorageSaveData kkm_last_timestamp [03:10:43]File name is /storage/kkm_last_timestamp [03:10:43]Write 4 bytes [03:10:43]NVStorageSaveData done [03:10:43]ExternCall_PrintAddStr [03:10:43]wPrintStart [03:10:43]Write to MH i2c: 01 00 00 F4 04 F8 [03:10:43]Write i2c OK [03:10:43]MH_I2C_Read... [03:10:43]Read from MH i2c: 01 [03:10:43]MH_I2C_Read... [03:10:43]Read from MH i2c: 01 07 00 [03:10:43]MH_I2C_Read... [03:10:43]Read from MH i2c: 01 07 00 F4 04 00 00 00 00 00 FF 0F 0D [03:10:43]RasterBufferAndPrint [03:10:43]line Счет N : (3)129707 [03:10:43]line ИНН: 02508201610067 [03:10:43]line Контрольно-Кассовый Чек [03:10:43]line ПРОДАЖА [03:10:43]line Товар: 4700003010483 [03:10:43]line Напиток Let`s Go! с/с яблоко ПЭТ 0,5л [03:10:43]line 1.000 * 40.00 [03:10:43]line = 40.00 [03:10:43]line НДС 12% НСП 1% [03:10:43]line > о реализуемом товаре [03:10:43]line Товар: 4700007110066 [03:10:43]line Сэндвич с майонезом Талас Даамы [03:10:43]line 1.000 * 70.00 [03:10:43]line = 70.00 [03:10:43]line НДС 12% НСП 1% [03:10:43]line > о реализуемом товаре [03:10:43]line ИТОГО: 110.00 [03:10:43]line НСП 1% : 0.97 [03:10:43]line НДС 12% : 11.68 [03:10:43]line Наличными: 0.00 [03:10:43]line Безнал.: 110.00 [03:10:43]line Место: АЗС № 132 "Партнер Нефть" [03:10:43]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [03:10:43]line СНО: Общий режим [03:10:43]line Чек 27 16.07.2024 03:10 [03:10:43]line Смена: 498 ФФД: 1.0 [03:10:43]line ЗНМ: 0300000132 [03:10:43]line РНМ: 0000000000091208 [03:10:43]line Версия ККМ: 001 [03:10:43]line Платежная система: О! деньги [03:10:43]line ФМ: 0000000000874857 [03:10:43]line ФД: 57273 [03:10:43]line ФПД: 250855339059131 [03:10:43]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240716T031042&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57273&fm=250855339059131&tin=02508201610067®Number=0000000000091208&sum=11000 [03:10:43]line 0 [03:10:43]written 0, free lines is 4095 [03:10:43]OFD Sender: Processing packet 57273 [packets to send 38, broken 37] [03:10:43]ProducePacketName [03:10:43]name=ofd_packets/00057273 [03:10:43]OFD Sender: To server: pG, [03:10:43]CommunicateWithHost lk.salyk.kg:30040 [03:10:43]ConnectInit lk.salyk.kg [03:10:43]Connected sock=10 [03:10: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 C0 01 00 00 16 AC B8 01 DC 62 5A 03 01 00 03 00 AC 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 34 38 33 06 04 38 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 65 74 60 73 20 47 6F 21 20 D1 81 2F D1 81 20 D1 8F D0 B1 D0 BB D0 BE D0 BA D0 BE 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 7E 00 8A 04 0D 00 34 37 30 30 30 30 37 31 31 30 30 36 36 06 04 3A 00 D0 A1 D1 8D D0 BD D0 B4 D0 B2 D0 B8 D1 87 20 D1 81 20 D0 BC D0 B0 D0 B9 D0 BE D0 BD D0 B5 D0 B7 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 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 1B 00 00 00 F4 03 04 00 B2 E4 95 66 0E 04 04 00 F2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 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 DF 00 00 35 04 06 00 E4 26 CF 5F E7 BB A9 1D 7A B8 3E 40 AB 55 [03:10: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 CE D1 47 00 26 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 B9 DF 00 00 F4 03 04 00 FE 8A 95 66 B6 04 01 00 00 A8 1C D5 0C 41 27 B7 A7 [03:10:43]CommunicateWithHost err = 0 [03:10:43]CheckOFDResponse [03:10:43]1017 (14) - 77093643461234 [03:10:43]1041 (16) - 0000000000874857 [03:10:43]1040 (4) - 57273 [03:10:43]1012 (4) - 15.07.2024 20:47 [03:10:43]1206 (1) - 0 [03:10:43]OFD Sender: Remove packet 57273 [03:10:43]ProducePacketName [03:10:43]name=ofd_packets/00057273 [03:10:43]NVStorageDeleteData [03:10:43]Write to MH i2c: 01 00 00 26 05 2B [03:10:43]Write i2c OK [03:10:43]MH_I2C_Read... [03:10:43]Read from MH i2c: 01 [03:10:43]MH_I2C_Read... [03:10:43]Read from MH i2c: 01 07 00 [03:10:43]MH_I2C_Read... [03:10:43]Read from MH i2c: 01 07 00 26 05 00 00 00 00 00 4D 0C 8B [03:10:43]RasterBufferAndPrint [03:10:43]line [03:10:43]line [03:10:43]line [03:10:43]line [03:10:43]line [03:10:43]written 0, free lines is 3156 [03:10:43]MH_Cut [03:10:43]Write to MH i2c: D1 01 00 2D 05 01 04 [03:10:43]Write i2c OK [03:10:43]MH_I2C_Read... [03:10:43]Read from MH i2c: D1 [03:10:43]MH_I2C_Read... [03:10:43]Read from MH i2c: D1 01 00 [03:10:43]MH_I2C_Read... [03:10:43]Read from MH i2c: D1 01 00 2D 05 00 03 [03:10:43]Write to MH i2c: 01 00 00 2E 05 33 [03:10:43]Write i2c OK [03:10:43]MH_I2C_Read... [03:10:44]OFD Sender: No OFD packet to send [03:10:44]*** Cut start [03:10:44]*** Partial cut [03:10:44]*** CUTSNS_PIN = 1 [03:10:44]*** CUTSNS_PIN = 0 [03:10:45]*** Brake cut motor [03:10:45]Read from MH i2c: 01 [03:10:45]MH_I2C_Read... [03:10:45]*** Stop cut motor [03:10:45]*** Cut end [03:10:45]Read from MH i2c: 01 07 00 [03:10:45]MH_I2C_Read... [03:10:45]Read from MH i2c: 01 07 00 2E 05 00 00 00 00 00 FF 0F 48 [03:10:45]process_action close_receipt done [03:10:45]requested_data is exist [03:10:45]produce_requested_data [03:10:45]requested_item fm.sn is exist - process it [03:10:45]wFMCommunicate request_size=4 [03:10:45]MH_SAM_APDU [03:10:45]CAPDU: 80 11 00 00 [03:10:45]Write to MH i2c: E2 08 00 2F 05 80 11 00 00 00 00 00 00 AE [03:10:45]Write i2c OK [03:10:45]MH_I2C_Read... [03:10:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [03:10:45]Read from MH i2c: E2 [03:10:45]MH_I2C_Read... [03:10:45]Read from MH i2c: E2 17 00 [03:10:45]MH_I2C_Read... [03:10:45]Read from MH i2c: E2 17 00 2F 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 08 [03:10:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [03:10:45]wFMCommunicate OK [03:10:45]requested_item fd.num is exist - process it [03:10:45]SAM_PROTO_GetFieldsCounters [03:10:45]wFMCommunicate request_size=4 [03:10:45]MH_SAM_APDU [03:10:45]CAPDU: 80 13 00 00 [03:10:45]Write to MH i2c: E2 08 00 30 05 80 13 00 00 00 00 00 00 B1 [03:10:45]Write i2c OK [03:10:45]MH_I2C_Read... [03:10:45]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [03:10:45]Read from MH i2c: E2 [03:10:45]MH_I2C_Read... [03:10:45]Read from MH i2c: E2 62 00 [03:10:45]MH_I2C_Read... [03:10:45]Read from MH i2c: E2 62 00 30 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 B9 DF 00 00 0E 04 04 00 F2 01 00 00 12 04 04 00 1B 00 00 00 5E 04 04 00 1B 00 00 00 57 04 04 00 1C 00 00 00 19 04 04 00 00 00 00 00 90 00 B0 [03:10: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 B9 DF 00 00 0E 04 04 00 F2 01 00 00 12 04 04 00 1B 00 00 00 5E 04 04 00 1B 00 00 00 57 04 04 00 1C 00 00 00 19 04 04 00 00 00 00 00 90 00 [03:10:45]wFMCommunicate OK [03:10:45]SAM_PROTO_GetFieldsCounters done [03:10:45]requested_item shift.num is exist - process it [03:10:45]requested_item shift.opened is exist - process it [03:10:45]req_shift_opened [03:10:45]FM_GetShiftState [03:10:45]SAM_PROTO_GetShiftState [03:10:45]wFMCommunicate request_size=4 [03:10:45]MH_SAM_APDU [03:10:45]CAPDU: 80 13 01 00 [03:10:45]Write to MH i2c: E2 08 00 31 05 80 13 01 00 00 00 00 00 B3 [03:10:45]Write i2c OK [03:10:45]MH_I2C_Read... [03:10:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [03:10:45]Read from MH i2c: E2 [03:10:45]MH_I2C_Read... [03:10:45]Read from MH i2c: E2 0E 00 [03:10:45]MH_I2C_Read... [03:10:45]Read from MH i2c: E2 0E 00 31 05 00 09 00 01 8A BF 95 66 00 00 00 00 90 00 03 [03:10:45]RAPDU: 09 00 01 8A BF 95 66 00 00 00 00 90 00 [03:10:45]wFMCommunicate OK [03:10:45]SAM_PROTO_GetShiftState done [03:10:45]FM_GetShiftState done [03:10:45]req_shift_opened done [03:10:45]requested_item shift.open_date is exist - process it [03:10:45]req_shift_open_date [03:10:45]req_shift_open_date done [03:10:45]requested_item shift.sale.total is exist - process it [03:10:45]SAM_PROTO_GetShiftData [03:10:45]wFMCommunicate request_size=4 [03:10:45]MH_SAM_APDU [03:10:45]CAPDU: 80 13 02 00 [03:10:45]Write to MH i2c: E2 08 00 32 05 80 13 02 00 00 00 00 00 B5 [03:10:45]Write i2c OK [03:10:45]MH_I2C_Read... [03:10:46]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [03:10:46]Read from MH i2c: E2 [03:10:46]MH_I2C_Read... [03:10:46]Read from MH i2c: E2 FD 00 [03:10:46]MH_I2C_Read... [03:10:46]Read from MH i2c: E2 FD 00 32 05 00 AE 04 AA 04 AA 04 6E 04 04 00 1B 00 00 00 69 04 9B 00 6F 04 04 00 1B 00 00 00 B1 04 03 00 CD B1 0B 70 04 03 00 B0 05 04 72 04 03 00 1D AC 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 EB 3D 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 7F 1A EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 80 [03:10:46]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 1B 00 00 00 69 04 9B 00 6F 04 04 00 1B 00 00 00 B1 04 03 00 CD B1 0B 70 04 03 00 B0 05 04 72 04 03 00 1D AC 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 EB 3D 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 7F 1A EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [03:10:46]wFMCommunicate OK [03:10:46]wFMCommunicate request_size=4 [03:10:46]MH_SAM_APDU [03:10:46]CAPDU: 80 17 00 00 [03:10:46]Write to MH i2c: E2 08 00 33 05 80 17 00 00 00 00 00 00 B8 [03:10:46]Write i2c OK [03:10:46]MH_I2C_Read... [03:10:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [03:10:46]Read from MH i2c: E2 [03:10:46]MH_I2C_Read... [03:10:46]Read from MH i2c: E2 FD 00 [03:10:46]MH_I2C_Read... [03:10:46]Read from MH i2c: E2 FD 00 33 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 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 DA [03:10: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 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [03:10:46]wFMCommunicate OK [03:10:46]wFMCommunicate request_size=4 [03:10:46]MH_SAM_APDU [03:10:46]CAPDU: 80 17 00 00 [03:10:46]Write to MH i2c: E2 08 00 34 05 80 17 00 00 00 00 00 00 B9 [03:10:46]Write i2c OK [03:10:46]MH_I2C_Read... [03:10:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [03:10:46]Read from MH i2c: E2 [03:10:46]MH_I2C_Read... [03:10:46]Read from MH i2c: E2 FD 00 [03:10:46]MH_I2C_Read... [03:10:46]Read from MH i2c: E2 FD 00 34 05 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 70 [03:10:46]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [03:10:46]wFMCommunicate OK [03:10:46]wFMCommunicate request_size=4 [03:10:46]MH_SAM_APDU [03:10:46]CAPDU: 80 17 00 00 [03:10:46]Write to MH i2c: E2 08 00 35 05 80 17 00 00 00 00 00 00 BA [03:10:46]Write i2c OK [03:10:46]MH_I2C_Read... [03:10:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [03:10:46]Read from MH i2c: E2 [03:10:46]MH_I2C_Read... [03:10:46]Read from MH i2c: E2 FD 00 [03:10:46]MH_I2C_Read... [03:10:47]Read from MH i2c: E2 FD 00 35 05 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 2C [03:10:47]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [03:10:47]wFMCommunicate OK [03:10:47]wFMCommunicate request_size=4 [03:10:47]MH_SAM_APDU [03:10:47]CAPDU: 80 17 00 00 [03:10:47]Write to MH i2c: E2 08 00 36 05 80 17 00 00 00 00 00 00 BB [03:10:47]Write i2c OK [03:10:47]MH_I2C_Read... [03:10:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [03:10:47]Read from MH i2c: E2 [03:10:47]MH_I2C_Read... [03:10:47]Read from MH i2c: E2 CB 00 [03:10:47]MH_I2C_Read... [03:10:47]Read from MH i2c: E2 CB 00 36 05 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 A4 [03:10:47]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [03:10:47]wFMCommunicate OK [03:10:47]SAM_PROTO_GetShiftData done [03:10:47]requested_item shift.sale.total_cash is exist - process it [03:10:47]requested_item shift.sale_refund.total is exist - process it [03:10:47]requested_item shift.sale_refund.total_cash is exist - process it [03:10:47]produce_requested_data done [03:10:47]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57273,"shift.num":498,"shift.opened":1,"shift.open_date":1721089930,"shift.sale.total":7664.13,"shift.sale.total_cash":2636.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [03:10:47]process_action_free close_receipt [03:10:47]json_value_free [03:10:47]json_value_free done [03:10:47]process_json_proto returns [03:10:47]Send response to host [03:10:47]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57273,"shift.num":498,"shift.opened":1,"shift.open_date":1721089930,"shift.sale.total":7664.13,"shift.sale.total_cash":2636.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [03:10:47]free response buf [03:10:47]execute_script done [03:10:47]execute_script returns [03:10:47]free content buf [03:10:47]Sock 8.Close socket [03:10:47]Sock 8.Thread stoped [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:24]OFD Sender: No OFD packet to send [03:11:29]OFD Sender: No OFD packet to send [03:11:34]OFD Sender: No OFD packet to send [03:11:39]OFD Sender: No OFD packet to send [03:11:44]OFD Sender: No OFD packet to send [03:11:49]OFD Sender: No OFD packet to send [03:11:54]OFD Sender: No OFD packet to send [03:11:59]OFD Sender: No OFD packet to send [03:12:04]OFD Sender: No OFD packet to send [03:12:09]OFD Sender: No OFD packet to send [03:12:14]OFD Sender: No OFD packet to send [03:12:19]OFD Sender: No OFD packet to send [03:12:24]OFD Sender: No OFD packet to send [03:12:29]OFD Sender: No OFD packet to send [03:12:34]OFD Sender: No OFD packet to send [03:12:39]OFD Sender: No OFD packet to send [03:12:44]OFD Sender: No OFD packet to send [03:12:49]OFD Sender: No OFD packet to send [03:12:54]OFD Sender: No OFD packet to send [03:12:59]OFD Sender: No OFD packet to send [03:13:04]OFD Sender: No OFD packet to send [03:13:09]OFD Sender: No OFD packet to send [03:13:14]OFD Sender: No OFD packet to send [03:13:19]OFD Sender: No OFD packet to send [03:13:24]OFD Sender: No OFD packet to send [03:13:29]OFD Sender: No OFD packet to send [03:13:34]OFD Sender: No OFD packet to send [03:13:39]OFD Sender: No OFD packet to send [03:13:44]OFD Sender: No OFD packet to send [03:13:49]OFD Sender: No OFD packet to send [03:13:54]OFD Sender: No OFD packet to send [03:13:59]OFD Sender: No OFD packet to send [03:14:04]OFD Sender: No OFD packet to send [03:14:09]OFD Sender: No OFD packet to send [03:14:14]OFD Sender: No OFD packet to send [03:14:19]OFD Sender: No OFD packet to send [03:14:24]OFD Sender: No OFD packet to send [03:14:29]OFD Sender: No OFD packet to send [03:14:34]OFD Sender: No OFD packet to send [03:14:39]OFD Sender: No OFD packet to send [03:14:44]OFD Sender: No OFD packet to send [03:14:49]OFD Sender: No OFD packet to send [03:14:54]OFD Sender: No OFD packet to send [03:14:59]OFD Sender: No OFD packet to send [03:15:04]OFD Sender: No OFD packet to send [03:15:09]OFD Sender: No OFD packet to send [03:15:14]OFD Sender: No OFD packet to send [03:15:19]OFD Sender: No OFD packet to send [03:15:24]OFD Sender: No OFD packet to send [03:15:29]OFD Sender: No OFD packet to send [03:15:34]OFD Sender: No OFD packet to send [03:15:39]OFD Sender: No OFD packet to send [03:15:44]OFD Sender: No OFD packet to send [03:15:49]OFD Sender: No OFD packet to send [03:15:54]OFD Sender: No OFD packet to send [03:15:59]OFD Sender: No OFD packet to send [03:16:04]OFD Sender: No OFD packet to send [03:16:09]OFD Sender: No OFD packet to send [03:16:14]OFD Sender: No OFD packet to send [03:16:19]OFD Sender: No OFD packet to send [03:16:24]OFD Sender: No OFD packet to send [03:16:29]OFD Sender: No OFD packet to send [03:16:34]OFD Sender: No OFD packet to send [03:16:39]OFD Sender: No OFD packet to send [03:16:44]OFD Sender: No OFD packet to send [03:16:49]OFD Sender: No OFD packet to send [03:16:54]OFD Sender: No OFD packet to send [03:16:59]OFD Sender: No OFD packet to send [03:17:04]OFD Sender: No OFD packet to send [03:17:09]OFD Sender: No OFD packet to send [03:17:14]OFD Sender: No OFD packet to send [03:17:19]OFD Sender: No OFD packet to send [03:17:24]OFD Sender: No OFD packet to send [03:17:29]OFD Sender: No OFD packet to send [03:17:34]OFD Sender: No OFD packet to send [03:17:39]OFD Sender: No OFD packet to send [03:17:44]OFD Sender: No OFD packet to send [03:17:49]OFD Sender: No OFD packet to send [03:17:54]OFD Sender: No OFD packet to send [03:17:59]OFD Sender: No OFD packet to send [03:18:04]OFD Sender: No OFD packet to send [03:18:09]OFD Sender: No OFD packet to send [03:18:14]OFD Sender: No OFD packet to send [03:18:19]OFD Sender: No OFD packet to send [03:18:24]OFD Sender: No OFD packet to send [03:18:29]OFD Sender: No OFD packet to send [03:18:34]OFD Sender: No OFD packet to send [03:18:39]OFD Sender: No OFD packet to send [03:18:44]OFD Sender: No OFD packet to send [03:18:49]OFD Sender: No OFD packet to send [03:18:54]OFD Sender: No OFD packet to send [03:18:59]OFD Sender: No OFD packet to send [03:19:04]OFD Sender: No OFD packet to send [03:19:09]OFD Sender: No OFD packet to send [03:19:14]OFD Sender: No OFD packet to send [03:19:19]OFD Sender: No OFD packet to send [03:19:24]OFD Sender: No OFD packet to send [03:19:29]OFD Sender: No OFD packet to send [03:19:34]OFD Sender: No OFD packet to send [03:19:39]OFD Sender: No OFD packet to send [03:19:44]OFD Sender: No OFD packet to send [03:19:49]OFD Sender: No OFD packet to send [03:19:54]OFD Sender: No OFD packet to send [03:19:59]OFD Sender: No OFD packet to send [03:20:04]OFD Sender: No OFD packet to send [03:20:09]OFD Sender: No OFD packet to send [03:20:14]OFD Sender: No OFD packet to send [03:20:19]OFD Sender: No OFD packet to send [03:20:24]OFD Sender: No OFD packet to send [03:20:29]OFD Sender: No OFD packet to send [03:20:34]OFD Sender: No OFD packet to send [03:20:39]OFD Sender: No OFD packet to send [03:20:44]OFD Sender: No OFD packet to send [03:20:49]OFD Sender: No OFD packet to send [03:20:54]OFD Sender: No OFD packet to send [03:20:59]OFD Sender: No OFD packet to send [03:21:04]OFD Sender: No OFD packet to send [03:21:09]OFD Sender: No OFD packet to send [03:21:14]OFD Sender: No OFD packet to send [03:21:19]OFD Sender: No OFD packet to send [03:21:24]OFD Sender: No OFD packet to send [03:21:29]OFD Sender: No OFD packet to send [03:21:34]OFD Sender: No OFD packet to send [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 [03:22:39]OFD Sender: No OFD packet to send