[03:09:39]OFD Sender: No OFD packet to send [03:09:44]OFD Sender: No OFD packet to send [03:09:49]OFD Sender: No OFD packet to send [03:09:54]OFD Sender: No OFD packet to send [03:09:59]OFD Sender: No OFD packet to send [03:10:04]OFD Sender: No OFD packet to send [03:10:09]OFD Sender: No OFD packet to send [03:10:14]OFD Sender: No OFD packet to send [03:10:19]OFD Sender: No OFD packet to send [03:10:24]OFD Sender: No OFD packet to send [03:10:29]OFD Sender: No OFD packet to send [03:10:34]OFD Sender: No OFD packet to send [03:10:39]OFD Sender: No OFD packet to send [03:10:44]OFD Sender: No OFD packet to send [03:10:49]OFD Sender: No OFD packet to send [03:10:54]OFD Sender: No OFD packet to send [03:10:59]OFD Sender: No OFD packet to send [03:11:04]OFD Sender: No OFD packet to send [03:11:09]OFD Sender: No OFD packet to send [03:11:14]OFD Sender: No OFD packet to send [03:11:19]OFD Sender: No OFD packet to send [03:11: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:46]accept exits with 7 [03:12:46]New connection [03:12:46]New thread 3066551652 created [03:12:46]Thread 3066695012 joined [03:12:46]Waiting for new connection... [03:12:46] Sock 7.Parse request [03:12:46]Sock 7.Check first char [03:12:46]Sock 7.First char is OK [03:12:46]request: POST /json_proto HTTP/1.0 [03:12:46]Method: POST [03:12:46]URL: /json_proto [03:12:46]Method is POST - this is cgi request [03:12:46]url: /json_proto [03:12:46]query_string will be loaded in cgi processing [03:12:46]execute_cgi json_proto POST (null) [03:12:46]execute_cgi path=json_proto method=POST [03:12:46]POST find Content-Length [03:12:46]Host: 172.17.62.196:8080 [03:12:46]Content-Length: 648 [03:12:46]Content-Type: application/json [03:12:46] [03:12:46]POST finish read [03:12:46]Found Content-Length = 648 [03:12:46]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16937", "tax_sys" : 0, "items" : [ { "code": "8901086040008", "name": "\u0416\u0438\u0434/\u0441\u0442 \u041F\u041D \u043B\u0435\u0442\u043D\u044F\u044F 4,5\u043B", "price" : 170.00, "quantity" : 1.000, "sum" : 170.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 170.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [03:12:46]execute_script... [03:12:46]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16937", "tax_sys" : 0, "items" : [ { "code": "8901086040008", "name": "\u0416\u0438\u0434/\u0441\u0442 \u041F\u041D \u043B\u0435\u0442\u043D\u044F\u044F 4,5\u043B", "price" : 170.00, "quantity" : 1.000, "sum" : 170.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 170.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [03:12:46]POST & json_proto [03:12:46]process_json_proto [03:12:46]json parsed OK: [03:12:46]protocol is kg_v1.0 [03:12:46]action value=close_receipt [03:12:46]process_action close_receipt [03:12:46]cmd_close_receipt [03:12:46]MH_GetDate [03:12:46]Write to MH i2c: F0 00 00 DB 05 CF [03:12:46]Write i2c OK [03:12:46]MH_I2C_Read... [03:12:46]Read from MH i2c: F0 [03:12:46]MH_I2C_Read... [03:12:46]Read from MH i2c: F0 09 00 [03:12:46]MH_I2C_Read... [03:12:46]Read from MH i2c: F0 09 00 DB 05 00 30 D1 F4 66 CE CC 0E 66 41 [03:12:46]GetLastDocTimeStamp 1727318186 [03:12:46]current date 1727320368 [03:12:46]FM_GetShiftState [03:12:46]SAM_PROTO_GetShiftState [03:12:46]wFMCommunicate request_size=4 [03:12:46]MH_SAM_APDU [03:12:46]CAPDU: 80 13 01 00 [03:12:46]Write to MH i2c: E2 08 00 DC 05 80 13 01 00 00 00 00 00 5E [03:12:46]Write i2c OK [03:12:46]MH_I2C_Read... [03:12:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [03:12:46]Read from MH i2c: E2 [03:12:46]MH_I2C_Read... [03:12:46]Read from MH i2c: E2 0E 00 [03:12:46]MH_I2C_Read... [03:12:46]Read from MH i2c: E2 0E 00 DC 05 00 09 00 01 58 A7 F4 66 00 00 00 00 90 00 C3 [03:12:46]RAPDU: 09 00 01 58 A7 F4 66 00 00 00 00 90 00 [03:12:46]wFMCommunicate OK [03:12:46]SAM_PROTO_GetShiftState done [03:12:46]FM_GetShiftState done [03:12:46]opened in 1727309656 [03:12:46]opened+sec_in_day 1727396056 [03:12:46]quantity*price = 17000 [03:12:46]sum+1 = 17001 [03:12:46]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 170.00 НСП 1% : 1.50 НДС 12% : 18.05 Наличными: 170.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 6 26.09.2024 03:12 Смена: 184 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 19017 ФПД: 248722558338914 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T031248&type=1&operation_type=1&fn_number=0000000000959456&fd_number=19017&fm=248722558338914&tin=02508201610067®Number=0000000000152968&sum=17000 0 [03:12:47]StoreToDocumentArchive [03:12:47]shift 184 fd 19017 [03:12:47]save to /storage/0184/doc_00019017 [03:12:47]save last doc name /storage/0184/doc_00019017 to /storage/kkm_last_doc_name [03:12:47]save OK [03:12:47]Clear old archive folders... [03:12:47]ProcessDocumentItem done err = 0, tmpTLVsize=277 [03:12:47]tlvbuf is 01D72FE0 [03:12:47]SAM_PROTO_ClearQueue [03:12:47]wFMCommunicate request_size=4 [03:12:47]MH_SAM_APDU [03:12:47]CAPDU: 80 09 00 00 [03:12:47]Write to MH i2c: E2 08 00 E9 05 80 09 00 00 00 00 00 00 60 [03:12:47]Write i2c OK [03:12:47]MH_I2C_Read... [03:12:47]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [03:12:47]Read from MH i2c: E2 [03:12:47]MH_I2C_Read... [03:12:47]Read from MH i2c: E2 03 00 [03:12:47]MH_I2C_Read... [03:12:47]Read from MH i2c: E2 03 00 E9 05 00 90 00 62 [03:12:47]RAPDU: 90 00 [03:12:47]wFMCommunicate OK [03:12:47]SAM_PROTO_ClearQueue done [03:12:47]KKMCreateOFDPacket [03:12:47]OFDProtocolAddRootSTLVToBuf [03:12:47]FM_MakeSignedData [03:12:47]FM_MakeSignedData [03:12:47]SAM_PROTO_SignData [03:12:47]wFMCommunicate request_size=4 [03:12:47]MH_SAM_APDU [03:12:47]CAPDU: 80 0D 01 02 [03:12:47]Write to MH i2c: E2 08 00 EA 05 80 0D 01 02 00 00 00 00 68 [03:12:47]Write i2c OK [03:12:47]MH_I2C_Read... [03:12:47]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [03:12:47]Read from MH i2c: E2 [03:12:47]MH_I2C_Read... [03:12:47]Read from MH i2c: E2 03 00 [03:12:47]MH_I2C_Read... [03:12:47]Read from MH i2c: E2 03 00 EA 05 00 90 00 63 [03:12:47]RAPDU: 90 00 [03:12:47]wFMCommunicate OK [03:12:47]wFMCommunicate request_size=255 [03:12:47]MH_SAM_APDU [03:12:47]CAPDU: 80 0D 02 02 FA 03 00 15 01 1E 04 01 00 01 23 04 67 00 8A 04 0D 00 38 39 30 31 30 38 36 30 34 30 30 30 38 06 04 23 00 D0 96 D0 B8 D0 B4 2F D1 81 D1 82 20 D0 9F D0 9D 20 D0 BB D0 B5 D1 82 D0 BD D1 8F D1 8F 20 34 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 42 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 96 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0D 07 00 00 00 00 07 04 06 00 68 42 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 30 D1 F4 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 [03:12:47]Write to MH i2c: E2 02 01 EB 05 80 0D 02 02 FA 00 03 00 15 01 1E 04 01 00 01 23 04 67 00 8A 04 0D 00 38 39 30 31 30 38 36 30 34 30 30 30 38 06 04 23 00 D0 96 D0 B8 D0 B4 2F D1 81 D1 82 20 D0 9F D0 9D 20 D0 BB D0 B5 D1 82 D0 BD D1 8F D1 8F 20 34 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 42 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 96 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0D 07 00 00 00 00 07 04 06 00 68 42 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 30 D1 F4 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 00 00 B6 [03:12:47]Write i2c OK [03:12:47]MH_I2C_Read... [03:12:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [03:12:48]Read from MH i2c: E2 [03:12:48]MH_I2C_Read... [03:12:48]Read from MH i2c: E2 03 00 [03:12:48]MH_I2C_Read... [03:12:48]Read from MH i2c: E2 03 00 EB 05 00 90 00 64 [03:12:48]RAPDU: 90 00 [03:12:48]wFMCommunicate OK [03:12:48]wFMCommunicate request_size=36 [03:12:48]MH_SAM_APDU [03:12:48]CAPDU: 80 0D 02 02 1F 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 49 4A 00 00 35 04 06 00 E2 36 3B BC C7 62 [03:12:48]Write to MH i2c: E2 27 00 EC 05 80 0D 02 02 1F 00 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 49 4A 00 00 35 04 06 00 E2 36 3B BC C7 62 00 00 61 [03:12:48]Write i2c OK [03:12:48]MH_I2C_Read... [03:12:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [03:12:48]Read from MH i2c: E2 [03:12:48]MH_I2C_Read... [03:12:48]Read from MH i2c: E2 03 00 [03:12:48]MH_I2C_Read... [03:12:48]Read from MH i2c: E2 03 00 EC 05 00 90 00 65 [03:12:48]RAPDU: 90 00 [03:12:48]wFMCommunicate OK [03:12:48]wFMCommunicate request_size=4 [03:12:48]MH_SAM_APDU [03:12:48]CAPDU: 80 0D 03 02 [03:12:48]Write to MH i2c: E2 08 00 ED 05 80 0D 03 02 00 00 00 00 6D [03:12:48]Write i2c OK [03:12:48]MH_I2C_Read... [03:12:48]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [03:12:48]Read from MH i2c: E2 [03:12:48]MH_I2C_Read... [03:12:48]Read from MH i2c: E2 0B 00 [03:12:48]MH_I2C_Read... [03:12:48]Read from MH i2c: E2 0B 00 ED 05 00 DE 83 6A 7B 09 EC 05 16 90 00 C4 [03:12:48]RAPDU: DE 83 6A 7B 09 EC 05 16 90 00 [03:12:48]wFMCommunicate OK [03:12:48]SAM_PROTO_SignData done [03:12:48]FM_MakeSignedData done [03:12:48]CreateOFDProtocolMessage [03:12:48]wFMCommunicate request_size=4 [03:12:48]MH_SAM_APDU [03:12:48]CAPDU: 80 11 00 00 [03:12:48]Write to MH i2c: E2 08 00 EE 05 80 11 00 00 00 00 00 00 6D [03:12:48]Write i2c OK [03:12:48]MH_I2C_Read... [03:12:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [03:12:48]Read from MH i2c: E2 [03:12:48]MH_I2C_Read... [03:12:48]Read from MH i2c: E2 17 00 [03:12:48]MH_I2C_Read... [03:12:48]Read from MH i2c: E2 17 00 EE 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 C6 [03:12:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [03:12:48]wFMCommunicate OK [03:12:48]CreateOFDProtocolMessage done [03:12:48]OFDSenderStorePacket 19017 [03:12:48]StoreOFDPacket docnum=19017 [03:12:48]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 29 01 00 00 71 30 21 01 82 48 5A 03 01 00 03 00 15 01 1E 04 01 00 01 23 04 67 00 8A 04 0D 00 38 39 30 31 30 38 36 30 34 30 30 30 38 06 04 23 00 D0 96 D0 B8 D0 B4 2F D1 81 D1 82 20 D0 9F D0 9D 20 D0 BB D0 B5 D1 82 D0 BD D1 8F D1 8F 20 34 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 42 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 96 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0D 07 00 00 00 00 07 04 06 00 68 42 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 30 D1 F4 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 49 4A 00 00 35 04 06 00 E2 36 3B BC C7 62 DE 83 6A 7B 09 EC 05 16 [03:12:48]CheckFolder [03:12:48]dirname=/storage/ofd_packets [03:12:48]CheckFolder done [03:12:48]ProducePacketName [03:12:48]name=ofd_packets/00019017 [03:12:48]NVStorageSaveData ofd_packets/00019017 [03:12:48]File name is /storage/ofd_packets/00019017 [03:12:48]Write 327 bytes [03:12:48]NVStorageSaveData done [03:12:48]OFDSenderStorePacket done [03:12:48]KKMCreateOFDPacket done [03:12:48]NVStorageSaveData kkm_last_timestamp [03:12:48]File name is /storage/kkm_last_timestamp [03:12:48]Write 4 bytes [03:12:48]NVStorageSaveData done [03:12:48]ExternCall_PrintAddStr [03:12:48]wPrintStart [03:12:48]Write to MH i2c: 01 00 00 EF 05 F4 [03:12:48]Write i2c OK [03:12:48]MH_I2C_Read... [03:12:48]Read from MH i2c: 01 [03:12:48]MH_I2C_Read... [03:12:48]Read from MH i2c: 01 07 00 [03:12:48]MH_I2C_Read... [03:12:48]Read from MH i2c: 01 07 00 EF 05 00 00 00 00 00 FF 0F 09 [03:12:48]RasterBufferAndPrint [03:12:48]line Счет N : (3)16937 [03:12:48]line ИНН: 02508201610067 [03:12:48]line Контрольно-Кассовый Чек [03:12:48]line ПРОДАЖА [03:12:48]line Товар: 8901086040008 [03:12:48]line Жид/ст ПН летняя 4,5л [03:12:48]line 1.000 * 170.00 [03:12:48]line = 170.00 [03:12:48]line НДС 12% НСП 1% [03:12:48]line > о реализуемом товаре [03:12:48]line ИТОГО: 170.00 [03:12:48]line НСП 1% : 1.50 [03:12:48]line НДС 12% : 18.05 [03:12:48]line Наличными: 170.00 [03:12:48]line Безнал.: 0.00 [03:12:48]line Место: АЗС № 176 "Партнер Нефть" [03:12:48]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [03:12:48]line СНО: Общий режим [03:12:48]line Чек 6 26.09.2024 03:12 [03:12:48]line Смена: 184 ФФД: 1.0 [03:12:48]line ЗНМ: 0300000010 [03:12:48]line РНМ: 0000000000152968 [03:12:48]line Версия ККМ: v1.0 [03:12:48]line ФМ: 0000000000959456 [03:12:48]line ФД: 19017 [03:12:48]line ФПД: 248722558338914 [03:12:48]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T031248&type=1&operation_type=1&fn_number=0000000000959456&fd_number=19017&fm=248722558338914&tin=02508201610067®Number=0000000000152968&sum=17000 [03:12:48]line 0 [03:12:48]OFD Sender: Processing packet 19017 [packets to send 7, broken 6] [03:12:48]ProducePacketName [03:12:48]name=ofd_packets/00019017 [03:12:48]OFD Sender: To server: pG, [03:12:48]CommunicateWithHost lk.salyk.kg:30040 [03:12:48]ConnectInit lk.salyk.kg [03:12:48]written 0, free lines is 4095 [03:12:48]Connected sock=9 [03:12:48]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 29 01 00 00 71 30 21 01 82 48 5A 03 01 00 03 00 15 01 1E 04 01 00 01 23 04 67 00 8A 04 0D 00 38 39 30 31 30 38 36 30 34 30 30 30 38 06 04 23 00 D0 96 D0 B8 D0 B4 2F D1 81 D1 82 20 D0 9F D0 9D 20 D0 BB D0 B5 D1 82 D0 BD D1 8F D1 8F 20 34 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 42 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 96 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0D 07 00 00 00 00 07 04 06 00 68 42 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 30 D1 F4 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 49 4A 00 00 35 04 06 00 E2 36 3B BC C7 62 DE 83 6A 7B 09 EC 05 16 [03:12:49]Write to MH i2c: 01 00 00 17 06 1D [03:12:49]Write i2c OK [03:12:49]MH_I2C_Read... [03:12:49]Read from MH i2c: 01 [03:12:49]MH_I2C_Read... [03:12:49]Read from MH i2c: 01 07 00 [03:12:49]MH_I2C_Read... [03:12:49]Read from MH i2c: 01 07 00 17 06 00 00 00 00 00 19 0D 4A [03:12:49]RasterBufferAndPrint [03:12:49]line [03:12:49]line [03:12:49]line [03:12:49]line [03:12:49]line [03:12:49]written 0, free lines is 3359 [03:12:49]MH_Cut [03:12:49]Write to MH i2c: D1 01 00 1E 06 01 F6 [03:12:49]Write i2c OK [03:12:49]MH_I2C_Read... [03:12:49]Read from MH i2c: D1 [03:12:49]MH_I2C_Read... [03:12:49]Read from MH i2c: D1 01 00 [03:12:49]MH_I2C_Read... [03:12:49]Read from MH i2c: D1 01 00 1E 06 00 F5 [03:12:49]Write to MH i2c: 01 00 00 1F 06 25 [03:12:49]Write i2c OK [03:12:49]MH_I2C_Read... [03:12:49]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 D7 19 47 00 97 50 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 49 4A 00 00 F4 03 04 00 8C 7A F4 66 B6 04 01 00 00 4C BF D4 7F 7F CE 5B 02 [03:12:49]CommunicateWithHost err = 0 [03:12:49]CheckOFDResponse [03:12:49]1017 (14) - 77093643461234 [03:12:49]1041 (16) - 0000000000959456 [03:12:49]1040 (4) - 19017 [03:12:49]1012 (4) - 25.09.2024 21:03 [03:12:49]1206 (1) - 0 [03:12:49]OFD Sender: Remove packet 19017 [03:12:49]ProducePacketName [03:12:49]name=ofd_packets/00019017 [03:12:49]NVStorageDeleteData [03:12:49]OFD Sender: No OFD packet to send [03:12:49]*** Cut start [03:12:49]*** Partial cut [03:12:49]*** CUTSNS_PIN = 1 [03:12:49]*** CUTSNS_PIN = 0 [03:12:49]*** Brake cut motor [03:12:50]Read from MH i2c: 01 [03:12:50]MH_I2C_Read... [03:12:50]*** Stop cut motor [03:12:50]*** Cut end [03:12:50]Read from MH i2c: 01 07 00 [03:12:50]MH_I2C_Read... [03:12:50]Read from MH i2c: 01 07 00 1F 06 00 00 00 00 00 FF 0F 3A [03:12:50]process_action close_receipt done [03:12:50]requested_data is exist [03:12:50]produce_requested_data [03:12:50]requested_item fm.sn is exist - process it [03:12:50]wFMCommunicate request_size=4 [03:12:50]MH_SAM_APDU [03:12:50]CAPDU: 80 11 00 00 [03:12:50]Write to MH i2c: E2 08 00 20 06 80 11 00 00 00 00 00 00 A0 [03:12:50]Write i2c OK [03:12:50]MH_I2C_Read... [03:12:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [03:12:50]Read from MH i2c: E2 [03:12:50]MH_I2C_Read... [03:12:50]Read from MH i2c: E2 17 00 [03:12:50]MH_I2C_Read... [03:12:50]Read from MH i2c: E2 17 00 20 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 F9 [03:12:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [03:12:50]wFMCommunicate OK [03:12:50]requested_item fd.num is exist - process it [03:12:50]SAM_PROTO_GetFieldsCounters [03:12:50]wFMCommunicate request_size=4 [03:12:50]MH_SAM_APDU [03:12:50]CAPDU: 80 13 00 00 [03:12:50]Write to MH i2c: E2 08 00 21 06 80 13 00 00 00 00 00 00 A3 [03:12:50]Write i2c OK [03:12:50]MH_I2C_Read... [03:12:50]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [03:12:50]Read from MH i2c: E2 [03:12:50]MH_I2C_Read... [03:12:50]Read from MH i2c: E2 62 00 [03:12:50]MH_I2C_Read... [03:12:50]Read from MH i2c: E2 62 00 21 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 49 4A 00 00 0E 04 04 00 B8 00 00 00 12 04 04 00 06 00 00 00 5E 04 04 00 06 00 00 00 57 04 04 00 07 00 00 00 19 04 04 00 00 00 00 00 90 00 2D [03:12:50]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 49 4A 00 00 0E 04 04 00 B8 00 00 00 12 04 04 00 06 00 00 00 5E 04 04 00 06 00 00 00 57 04 04 00 07 00 00 00 19 04 04 00 00 00 00 00 90 00 [03:12:50]wFMCommunicate OK [03:12:50]SAM_PROTO_GetFieldsCounters done [03:12:50]requested_item shift.num is exist - process it [03:12:50]requested_item shift.opened is exist - process it [03:12:50]req_shift_opened [03:12:50]FM_GetShiftState [03:12:50]SAM_PROTO_GetShiftState [03:12:50]wFMCommunicate request_size=4 [03:12:50]MH_SAM_APDU [03:12:50]CAPDU: 80 13 01 00 [03:12:50]Write to MH i2c: E2 08 00 22 06 80 13 01 00 00 00 00 00 A5 [03:12:50]Write i2c OK [03:12:50]MH_I2C_Read... [03:12:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [03:12:50]Read from MH i2c: E2 [03:12:50]MH_I2C_Read... [03:12:50]Read from MH i2c: E2 0E 00 [03:12:50]MH_I2C_Read... [03:12:50]Read from MH i2c: E2 0E 00 22 06 00 09 00 01 58 A7 F4 66 00 00 00 00 90 00 0A [03:12:50]RAPDU: 09 00 01 58 A7 F4 66 00 00 00 00 90 00 [03:12:50]wFMCommunicate OK [03:12:50]SAM_PROTO_GetShiftState done [03:12:50]FM_GetShiftState done [03:12:50]req_shift_opened done [03:12:50]requested_item shift.open_date is exist - process it [03:12:50]req_shift_open_date [03:12:50]req_shift_open_date done [03:12:50]produce_requested_data done [03:12:50]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":19017,"shift.num":184,"shift.opened":1,"shift.open_date":1727309656} [03:12:50]process_action_free close_receipt [03:12:50]json_value_free [03:12:50]json_value_free done [03:12:50]process_json_proto returns [03:12:50]Send response to host [03:12:50]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":19017,"shift.num":184,"shift.opened":1,"shift.open_date":1727309656}}} [03:12:50]free response buf [03:12:50]execute_script done [03:12:50]execute_script returns [03:12:50]free content buf [03:12:50]Sock 7.Close socket [03:12:50]Sock 7.Thread stoped [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:10]OFD Sender: No OFD packet to send [03:20:15]OFD Sender: No OFD packet to send [03:20:20]OFD Sender: No OFD packet to send [03:20:25]OFD Sender: No OFD packet to send [03:20:30]OFD Sender: No OFD packet to send [03:20:35]OFD Sender: No OFD packet to send [03:20:40]OFD Sender: No OFD packet to send [03:20:45]OFD Sender: No OFD packet to send [03:20:50]OFD Sender: No OFD packet to send [03:20:55]OFD Sender: No OFD packet to send [03:21:00]OFD Sender: No OFD packet to send [03:21:05]OFD Sender: No OFD packet to send [03:21:10]OFD Sender: No OFD packet to send [03:21:15]OFD Sender: No OFD packet to send [03:21:20]OFD Sender: No OFD packet to send [03:21:25]OFD Sender: No OFD packet to send [03:21:30]OFD Sender: No OFD packet to send [03:21:35]OFD Sender: No OFD packet to send [03:21:40]OFD Sender: No OFD packet to send [03:21:45]OFD Sender: No OFD packet to send [03:21:50]OFD Sender: No OFD packet to send [03:21:55]OFD Sender: No OFD packet to send [03:22:00]OFD Sender: No OFD packet to send [03:22:05]OFD Sender: No OFD packet to send [03:22:10]OFD Sender: No OFD packet to send [03:22:15]OFD Sender: No OFD packet to send [03:22:20]OFD Sender: No OFD packet to send [03:22:25]OFD Sender: No OFD packet to send [03:22:30]OFD Sender: No OFD packet to send [03:22:35]OFD Sender: No OFD packet to send [03:22:40]OFD Sender: No OFD packet to send [03:22:45]OFD Sender: No OFD packet to send [03:22:50]OFD Sender: No OFD packet to send [03:22:55]OFD Sender: No OFD packet to send [03:23:00]OFD Sender: No OFD packet to send [03:23:05]OFD Sender: No OFD packet to send [03:23:10]OFD Sender: No OFD packet to send [03:23:15]OFD Sender: No OFD packet to send [03:23:20]OFD Sender: No OFD packet to send [03:23:25]OFD Sender: No OFD packet to send [03:23:30]OFD Sender: No OFD packet to send [03:23:35]OFD Sender: No OFD packet to send [03:23:40]OFD Sender: No OFD packet to send [03:23:45]OFD Sender: No OFD packet to send [03:23:50]OFD Sender: No OFD packet to send [03:23:55]OFD Sender: No OFD packet to send [03:24:00]OFD Sender: No OFD packet to send [03:24:05]OFD Sender: No OFD packet to send [03:24:10]OFD Sender: No OFD packet to send [03:24:15]OFD Sender: No OFD packet to send [03:24:20]OFD Sender: No OFD packet to send [03:24:25]OFD Sender: No OFD packet to send [03:24:30]OFD Sender: No OFD packet to send [03:24:35]OFD Sender: No OFD packet to send [03:24:40]OFD Sender: No OFD packet to send [03:24:45]OFD Sender: No OFD packet to send [03:24:50]OFD Sender: No OFD packet to send [03:24:55]OFD Sender: No OFD packet to send [03:25:00]OFD Sender: No OFD packet to send [03:25:05]OFD Sender: No OFD packet to send [03:25:10]OFD Sender: No OFD packet to send [03:25:15]OFD Sender: No OFD packet to send [03:25:20]OFD Sender: No OFD packet to send [03:25:25]OFD Sender: No OFD packet to send [03:25:30]OFD Sender: No OFD packet to send [03:25:35]OFD Sender: No OFD packet to send [03:25:40]OFD Sender: No OFD packet to send [03:25:45]OFD Sender: No OFD packet to send [03:25:50]OFD Sender: No OFD packet to send [03:25:55]OFD Sender: No OFD packet to send [03:26:00]OFD Sender: No OFD packet to send [03:26:05]OFD Sender: No OFD packet to send [03:26:10]OFD Sender: No OFD packet to send [03:26:15]OFD Sender: No OFD packet to send [03:26:20]OFD Sender: No OFD packet to send [03:26:25]OFD Sender: No OFD packet to send [03:26:30]OFD Sender: No OFD packet to send [03:26:35]OFD Sender: No OFD packet to send [03:26:40]OFD Sender: No OFD packet to send [03:26:45]OFD Sender: No OFD packet to send [03:26:50]OFD Sender: No OFD packet to send [03:26:55]OFD Sender: No OFD packet to send [03:27:00]OFD Sender: No OFD packet to send [03:27:05]OFD Sender: No OFD packet to send [03:27:10]OFD Sender: No OFD packet to send [03:27:15]OFD Sender: No OFD packet to send [03:27:20]OFD Sender: No OFD packet to send [03:27:25]OFD Sender: No OFD packet to send [03:27:30]OFD Sender: No OFD packet to send [03:27:35]OFD Sender: No OFD packet to send [03:27:40]OFD Sender: No OFD packet to send [03:27:45]OFD Sender: No OFD packet to send [03:27:50]OFD Sender: No OFD packet to send [03:27:55]OFD Sender: No OFD packet to send [03:28:00]OFD Sender: No OFD packet to send [03:28:05]OFD Sender: No OFD packet to send [03:28:10]OFD Sender: No OFD packet to send [03:28:15]OFD Sender: No OFD packet to send [03:28:20]OFD Sender: No OFD packet to send [03:28:25]OFD Sender: No OFD packet to send [03:28:30]OFD Sender: No OFD packet to send [03:28:35]OFD Sender: No OFD packet to send [03:28:40]OFD Sender: No OFD packet to send [03:28:45]OFD Sender: No OFD packet to send [03:28:50]OFD Sender: No OFD packet to send [03:28:55]OFD Sender: No OFD packet to send [03:29:00]OFD Sender: No OFD packet to send [03:29:05]OFD Sender: No OFD packet to send [03:29:10]OFD Sender: No OFD packet to send [03:29:15]OFD Sender: No OFD packet to send [03:29:20]OFD Sender: No OFD packet to send [03:29:25]OFD Sender: No OFD packet to send [03:29:30]OFD Sender: No OFD packet to send [03:29:35]OFD Sender: No OFD packet to send [03:29:40]OFD Sender: No OFD packet to send [03:29:45]OFD Sender: No OFD packet to send [03:29:50]OFD Sender: No OFD packet to send [03:29:55]OFD Sender: No OFD packet to send [03:30:00]OFD Sender: No OFD packet to send [03:30:05]OFD Sender: No OFD packet to send [03:30:10]OFD Sender: No OFD packet to send [03:30:15]OFD Sender: No OFD packet to send [03:30:20]OFD Sender: No OFD packet to send [03:30:25]OFD Sender: No OFD packet to send [03:30:30]OFD Sender: No OFD packet to send [03:30:35]OFD Sender: No OFD packet to send [03:30:40]OFD Sender: No OFD packet to send [03:30:45]OFD Sender: No OFD packet to send [03:30:50]OFD Sender: No OFD packet to send [03:30:55]OFD Sender: No OFD packet to send [03:31:00]OFD Sender: No OFD packet to send [03:31:05]OFD Sender: No OFD packet to send [03:31:10]OFD Sender: No OFD packet to send [03:31:15]OFD Sender: No OFD packet to send [03:31:20]OFD Sender: No OFD packet to send [03:31:25]OFD Sender: No OFD packet to send [03:31:30]OFD Sender: No OFD packet to send [03:31:35]OFD Sender: No OFD packet to send [03:31:40]OFD Sender: No OFD packet to send [03:31:45]OFD Sender: No OFD packet to send [03:31:50]OFD Sender: No OFD packet to send [03:31:55]OFD Sender: No OFD packet to send [03:32:00]OFD Sender: No OFD packet to send [03:32:05]OFD Sender: No OFD packet to send [03:32:10]OFD Sender: No OFD packet to send [03:32:15]OFD Sender: No OFD packet to send [03:32:20]OFD Sender: No OFD packet to send [03:32:25]OFD Sender: No OFD packet to send [03:32:30]OFD Sender: No OFD packet to send [03:32:35]OFD Sender: No OFD packet to send [03:32:40]OFD Sender: No OFD packet to send [03:32:45]OFD Sender: No OFD packet to send [03:32:50]OFD Sender: No OFD packet to send [03:32:55]OFD Sender: No OFD packet to send [03:33:00]OFD Sender: No OFD packet to send [03:33:05]OFD Sender: No OFD packet to send [03:33:10]OFD Sender: No OFD packet to send [03:33:15]OFD Sender: No OFD packet to send [03:33:20]OFD Sender: No OFD packet to send [03:33:25]OFD Sender: No OFD packet to send [03:33:30]OFD Sender: No OFD packet to send [03:33:35]OFD Sender: No OFD packet to send [03:33:40]OFD Sender: No OFD packet to send [03:33:45]OFD Sender: No OFD packet to send [03:33:50]OFD Sender: No OFD packet to send [03:33:55]OFD Sender: No OFD packet to send [03:33:57]accept exits with 10 [03:33:57]New connection [03:33:57]New thread 3066695012 created [03:33:57]Thread 3066551652 joined [03:33:57]Waiting for new connection... [03:33:57] Sock 10.Parse request [03:33:57]Sock 10.Check first char [03:33:57]Sock 10.First char is OK [03:33:57]request: POST /json_proto HTTP/1.0 [03:33:57]Method: POST [03:33:57]URL: /json_proto [03:33:57]Method is POST - this is cgi request [03:33:57]url: /json_proto [03:33:57]query_string will be loaded in cgi processing [03:33:57]execute_cgi json_proto POST (null) [03:33:57]execute_cgi path=json_proto method=POST [03:33:57]POST find Content-Length [03:33:57]Host: 172.17.62.196:8080 [03:33:57]Content-Length: 619 [03:33:57]Content-Type: application/json [03:33:57] [03:33:57]POST finish read [03:33:57]Found Content-Length = 619 [03:33:57]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16938", "tax_sys" : 0, "items" : [ { "code": "4650063110756", "name": "\u041C\u0430\u0441\u043B\u043E Gazpromneft Super 10w40 1\u043B", "price" : 405.00, "quantity" : 1.000, "sum" : 405.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 405.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [03:33:57]execute_script... [03:33: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)16938", "tax_sys" : 0, "items" : [ { "code": "4650063110756", "name": "\u041C\u0430\u0441\u043B\u043E Gazpromneft Super 10w40 1\u043B", "price" : 405.00, "quantity" : 1.000, "sum" : 405.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 405.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [03:33:57]POST & json_proto [03:33:57]process_json_proto [03:33:57]json parsed OK: [03:33:57]protocol is kg_v1.0 [03:33:57]action value=close_receipt [03:33:57]process_action close_receipt [03:33:57]cmd_close_receipt [03:33:57]MH_GetDate [03:33:57]Write to MH i2c: F0 00 00 23 06 18 [03:33:57]Write i2c OK [03:33:57]MH_I2C_Read... [03:33:57]Read from MH i2c: F0 [03:33:57]MH_I2C_Read... [03:33:57]Read from MH i2c: F0 09 00 [03:33:57]MH_I2C_Read... [03:33:57]Read from MH i2c: F0 09 00 23 06 00 27 D6 F4 66 CE CC 0E 66 86 [03:33:57]GetLastDocTimeStamp 1727320368 [03:33:57]current date 1727321639 [03:33:57]FM_GetShiftState [03:33:57]SAM_PROTO_GetShiftState [03:33:57]wFMCommunicate request_size=4 [03:33:57]MH_SAM_APDU [03:33:57]CAPDU: 80 13 01 00 [03:33:57]Write to MH i2c: E2 08 00 24 06 80 13 01 00 00 00 00 00 A7 [03:33:57]Write i2c OK [03:33:57]MH_I2C_Read... [03:33:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [03:33:57]Read from MH i2c: E2 [03:33:57]MH_I2C_Read... [03:33:57]Read from MH i2c: E2 0E 00 [03:33:57]MH_I2C_Read... [03:33:57]Read from MH i2c: E2 0E 00 24 06 00 09 00 01 58 A7 F4 66 00 00 00 00 90 00 0C [03:33:57]RAPDU: 09 00 01 58 A7 F4 66 00 00 00 00 90 00 [03:33:57]wFMCommunicate OK [03:33:57]SAM_PROTO_GetShiftState done [03:33:57]FM_GetShiftState done [03:33:57]opened in 1727309656 [03:33:57]opened+sec_in_day 1727396056 [03:33:57]quantity*price = 40500 [03:33:57]sum+1 = 40501 [03:33:57]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 405.00 НСП 1% : 3.58 НДС 12% : 43.01 Наличными: 405.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 7 26.09.2024 03:33 Смена: 184 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 19018 ФПД: 94960706135625 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T033359&type=1&operation_type=1&fn_number=0000000000959456&fd_number=19018&fm=94960706135625&tin=02508201610067®Number=0000000000152968&sum=40500 0 [03:33:58]StoreToDocumentArchive [03:33:58]shift 184 fd 19018 [03:33:58]save to /storage/0184/doc_00019018 [03:33:58]save last doc name /storage/0184/doc_00019018 to /storage/kkm_last_doc_name [03:33:58]save OK [03:33:58]Clear old archive folders... [03:33:58]ProcessDocumentItem done err = 0, tmpTLVsize=280 [03:33:58]tlvbuf is 01D9C420 [03:33:58]SAM_PROTO_ClearQueue [03:33:58]wFMCommunicate request_size=4 [03:33:58]MH_SAM_APDU [03:33:58]CAPDU: 80 09 00 00 [03:33:58]Write to MH i2c: E2 08 00 31 06 80 09 00 00 00 00 00 00 A9 [03:33:58]Write i2c OK [03:33:58]MH_I2C_Read... [03:33:58]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [03:33:58]Read from MH i2c: E2 [03:33:58]MH_I2C_Read... [03:33:58]Read from MH i2c: E2 03 00 [03:33:58]MH_I2C_Read... [03:33:58]Read from MH i2c: E2 03 00 31 06 00 90 00 AB [03:33:58]RAPDU: 90 00 [03:33:58]wFMCommunicate OK [03:33:58]SAM_PROTO_ClearQueue done [03:33:58]KKMCreateOFDPacket [03:33:58]OFDProtocolAddRootSTLVToBuf [03:33:58]FM_MakeSignedData [03:33:58]FM_MakeSignedData [03:33:58]SAM_PROTO_SignData [03:33:58]wFMCommunicate request_size=4 [03:33:58]MH_SAM_APDU [03:33:58]CAPDU: 80 0D 01 02 [03:33:58]Write to MH i2c: E2 08 00 32 06 80 0D 01 02 00 00 00 00 B1 [03:33:58]Write i2c OK [03:33:58]MH_I2C_Read... [03:33:58]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [03:33:58]Read from MH i2c: E2 [03:33:58]MH_I2C_Read... [03:33:58]Read from MH i2c: E2 03 00 [03:33:58]MH_I2C_Read... [03:33:58]Read from MH i2c: E2 03 00 32 06 00 90 00 AC [03:33:58]RAPDU: 90 00 [03:33:58]wFMCommunicate OK [03:33:58]wFMCommunicate request_size=255 [03:33:58]MH_SAM_APDU [03:33:58]CAPDU: 80 0D 02 02 FA 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 34 36 35 30 30 36 33 31 31 30 37 35 36 06 04 26 00 D0 9C D0 B0 D1 81 D0 BB D0 BE 20 47 61 7A 70 72 6F 6D 6E 65 66 74 20 53 75 70 65 72 20 31 30 77 34 30 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 9E 00 00 00 00 13 04 06 00 34 9E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 9E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CD 10 00 00 00 00 07 04 06 00 34 9E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 27 D6 F4 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 [03:33:58]Write to MH i2c: E2 02 01 33 06 80 0D 02 02 FA 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 34 36 35 30 30 36 33 31 31 30 37 35 36 06 04 26 00 D0 9C D0 B0 D1 81 D0 BB D0 BE 20 47 61 7A 70 72 6F 6D 6E 65 66 74 20 53 75 70 65 72 20 31 30 77 34 30 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 9E 00 00 00 00 13 04 06 00 34 9E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 9E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CD 10 00 00 00 00 07 04 06 00 34 9E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 27 D6 F4 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 00 00 C8 [03:33:58]Write i2c OK [03:33:58]MH_I2C_Read... [03:33:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [03:33:59]Read from MH i2c: E2 [03:33:59]MH_I2C_Read... [03:33:59]Read from MH i2c: E2 03 00 [03:33:59]MH_I2C_Read... [03:33:59]Read from MH i2c: E2 03 00 33 06 00 90 00 AD [03:33:59]RAPDU: 90 00 [03:33:59]wFMCommunicate OK [03:33:59]wFMCommunicate request_size=39 [03:33:59]MH_SAM_APDU [03:33:59]CAPDU: 80 0D 02 02 22 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 4A 4A 00 00 35 04 06 00 56 5D C3 28 26 49 [03:33:59]Write to MH i2c: E2 2A 00 34 06 80 0D 02 02 22 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 4A 4A 00 00 35 04 06 00 56 5D C3 28 26 49 00 00 16 [03:33:59]Write i2c OK [03:33:59]MH_I2C_Read... [03:33:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [03:33:59]Read from MH i2c: E2 [03:33:59]MH_I2C_Read... [03:33:59]Read from MH i2c: E2 03 00 [03:33:59]MH_I2C_Read... [03:33:59]Read from MH i2c: E2 03 00 34 06 00 90 00 AE [03:33:59]RAPDU: 90 00 [03:33:59]wFMCommunicate OK [03:33:59]wFMCommunicate request_size=4 [03:33:59]MH_SAM_APDU [03:33:59]CAPDU: 80 0D 03 02 [03:33:59]Write to MH i2c: E2 08 00 35 06 80 0D 03 02 00 00 00 00 B6 [03:33:59]Write i2c OK [03:33:59]MH_I2C_Read... [03:33:59]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [03:33:59]Read from MH i2c: E2 [03:33:59]MH_I2C_Read... [03:33:59]Read from MH i2c: E2 0B 00 [03:33:59]MH_I2C_Read... [03:33:59]Read from MH i2c: E2 0B 00 35 06 00 F6 16 8A EC 9C 23 AA 8E 90 00 30 [03:33:59]RAPDU: F6 16 8A EC 9C 23 AA 8E 90 00 [03:33:59]wFMCommunicate OK [03:33:59]SAM_PROTO_SignData done [03:33:59]FM_MakeSignedData done [03:33:59]CreateOFDProtocolMessage [03:33:59]wFMCommunicate request_size=4 [03:33:59]MH_SAM_APDU [03:33:59]CAPDU: 80 11 00 00 [03:33:59]Write to MH i2c: E2 08 00 36 06 80 11 00 00 00 00 00 00 B6 [03:33:59]Write i2c OK [03:33:59]MH_I2C_Read... [03:33:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [03:33:59]Read from MH i2c: E2 [03:33:59]MH_I2C_Read... [03:33:59]Read from MH i2c: E2 17 00 [03:33:59]MH_I2C_Read... [03:33:59]Read from MH i2c: E2 17 00 36 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 0F [03:33:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [03:33:59]wFMCommunicate OK [03:33:59]CreateOFDProtocolMessage done [03:33:59]OFDSenderStorePacket 19018 [03:33:59]StoreOFDPacket docnum=19018 [03:33:59]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 2C 01 00 00 A8 02 24 01 C7 71 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 34 36 35 30 30 36 33 31 31 30 37 35 36 06 04 26 00 D0 9C D0 B0 D1 81 D0 BB D0 BE 20 47 61 7A 70 72 6F 6D 6E 65 66 74 20 53 75 70 65 72 20 31 30 77 34 30 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 9E 00 00 00 00 13 04 06 00 34 9E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 9E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CD 10 00 00 00 00 07 04 06 00 34 9E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 27 D6 F4 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 4A 4A 00 00 35 04 06 00 56 5D C3 28 26 49 F6 16 8A EC 9C 23 AA 8E [03:33:59]CheckFolder [03:33:59]dirname=/storage/ofd_packets [03:33:59]CheckFolder done [03:33:59]ProducePacketName [03:33:59]name=ofd_packets/00019018 [03:33:59]NVStorageSaveData ofd_packets/00019018 [03:33:59]File name is /storage/ofd_packets/00019018 [03:33:59]Write 330 bytes [03:33:59]NVStorageSaveData done [03:33:59]OFDSenderStorePacket done [03:33:59]KKMCreateOFDPacket done [03:33:59]NVStorageSaveData kkm_last_timestamp [03:33:59]File name is /storage/kkm_last_timestamp [03:33:59]Write 4 bytes [03:33:59]NVStorageSaveData done [03:33:59]ExternCall_PrintAddStr [03:33:59]wPrintStart [03:33:59]Write to MH i2c: 01 00 00 37 06 3D [03:33:59]Write i2c OK [03:33:59]MH_I2C_Read... [03:33:59]Read from MH i2c: 01 [03:33:59]MH_I2C_Read... [03:33:59]Read from MH i2c: 01 07 00 [03:33:59]MH_I2C_Read... [03:33:59]Read from MH i2c: 01 07 00 37 06 00 00 00 00 00 FF 0F 52 [03:33:59]RasterBufferAndPrint [03:33:59]line Счет N : (3)16938 [03:33:59]line ИНН: 02508201610067 [03:33:59]line Контрольно-Кассовый Чек [03:33:59]line ПРОДАЖА [03:33:59]line Товар: 4650063110756 [03:33:59]line Масло Gazpromneft Super 10w40 1л [03:33:59]line 1.000 * 405.00 [03:33:59]line = 405.00 [03:33:59]line НДС 12% НСП 1% [03:33:59]line > о реализуемом товаре [03:33:59]line ИТОГО: 405.00 [03:33:59]line НСП 1% : 3.58 [03:33:59]line НДС 12% : 43.01 [03:33:59]line Наличными: 405.00 [03:33:59]line Безнал.: 0.00 [03:33:59]line Место: АЗС № 176 "Партнер Нефть" [03:33:59]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [03:33:59]line СНО: Общий режим [03:33:59]line Чек 7 26.09.2024 03:33 [03:33:59]line Смена: 184 ФФД: 1.0 [03:33:59]line ЗНМ: 0300000010 [03:33:59]line РНМ: 0000000000152968 [03:33:59]line Версия ККМ: v1.0 [03:33:59]line ФМ: 0000000000959456 [03:33:59]line ФД: 19018 [03:33:59]line ФПД: 94960706135625 [03:33:59]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T033359&type=1&operation_type=1&fn_number=0000000000959456&fd_number=19018&fm=94960706135625&tin=02508201610067®Number=0000000000152968&sum=40500 [03:33:59]line 0 [03:33:59]OFD Sender: Processing packet 19018 [packets to send 7, broken 6] [03:33:59]ProducePacketName [03:33:59]name=ofd_packets/00019018 [03:33:59]OFD Sender: To server: pG, [03:33:59]CommunicateWithHost lk.salyk.kg:30040 [03:33:59]ConnectInit lk.salyk.kg [03:33:59]written 0, free lines is 4095 [03:33:59]Connected sock=9 [03:33:59]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 2C 01 00 00 A8 02 24 01 C7 71 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 34 36 35 30 30 36 33 31 31 30 37 35 36 06 04 26 00 D0 9C D0 B0 D1 81 D0 BB D0 BE 20 47 61 7A 70 72 6F 6D 6E 65 66 74 20 53 75 70 65 72 20 31 30 77 34 30 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 9E 00 00 00 00 13 04 06 00 34 9E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 9E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CD 10 00 00 00 00 07 04 06 00 34 9E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 27 D6 F4 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 4A 4A 00 00 35 04 06 00 56 5D C3 28 26 49 F6 16 8A EC 9C 23 AA 8E [03:34:00]Write to MH i2c: 01 00 00 60 06 66 [03:34:00]Write i2c OK [03:34:00]MH_I2C_Read... [03:34:00]Read from MH i2c: 01 [03:34:00]MH_I2C_Read... [03:34:00]Read from MH i2c: 01 07 00 [03:34:00]MH_I2C_Read... [03:34:00]Read from MH i2c: 01 07 00 60 06 00 00 00 00 00 FD 0C 76 [03:34:00]RasterBufferAndPrint [03:34:00]line [03:34:00]line [03:34:00]line [03:34:00]line [03:34:00]line [03:34:00]written 0, free lines is 3334 [03:34:00]MH_Cut [03:34:00]Write to MH i2c: D1 01 00 67 06 01 3F [03:34:00]Write i2c OK [03:34:00]MH_I2C_Read... [03:34:00]Read from MH i2c: D1 [03:34:00]MH_I2C_Read... [03:34:00]Read from MH i2c: D1 01 00 [03:34:00]MH_I2C_Read... [03:34:00]Read from MH i2c: D1 01 00 67 06 00 3E [03:34:00]Write to MH i2c: 01 00 00 68 06 6E [03:34:00]Write i2c OK [03:34:00]MH_I2C_Read... [03:34:00]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 13 B7 47 00 B7 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 39 35 39 34 35 36 10 04 04 00 4A 4A 00 00 F4 03 04 00 83 7F F4 66 B6 04 01 00 00 1F 74 E2 EA E3 D4 5E 70 [03:34:00]CommunicateWithHost err = 0 [03:34:00]CheckOFDResponse [03:34:00]1017 (14) - 77093643461234 [03:34:00]1041 (16) - 0000000000959456 [03:34:00]1040 (4) - 19018 [03:34:00]1012 (4) - 25.09.2024 21:24 [03:34:00]1206 (1) - 0 [03:34:00]OFD Sender: Remove packet 19018 [03:34:00]ProducePacketName [03:34:00]name=ofd_packets/00019018 [03:34:00]NVStorageDeleteData [03:34:00]OFD Sender: No OFD packet to send [03:34:00]*** Cut start [03:34:00]*** Partial cut [03:34:00]*** CUTSNS_PIN = 1 [03:34:00]*** CUTSNS_PIN = 0 [03:34:00]*** Brake cut motor [03:34:01]Read from MH i2c: 01 [03:34:01]MH_I2C_Read... [03:34:01]*** Stop cut motor [03:34:01]*** Cut end [03:34:01]Read from MH i2c: 01 07 00 [03:34:01]MH_I2C_Read... [03:34:01]Read from MH i2c: 01 07 00 68 06 00 00 00 00 00 FF 0F 83 [03:34:01]process_action close_receipt done [03:34:01]requested_data is exist [03:34:01]produce_requested_data [03:34:01]requested_item fm.sn is exist - process it [03:34:01]wFMCommunicate request_size=4 [03:34:01]MH_SAM_APDU [03:34:01]CAPDU: 80 11 00 00 [03:34:01]Write to MH i2c: E2 08 00 69 06 80 11 00 00 00 00 00 00 E9 [03:34:01]Write i2c OK [03:34:01]MH_I2C_Read... [03:34:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [03:34:01]Read from MH i2c: E2 [03:34:01]MH_I2C_Read... [03:34:01]Read from MH i2c: E2 17 00 [03:34:01]MH_I2C_Read... [03:34:01]Read from MH i2c: E2 17 00 69 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 42 [03:34:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [03:34:01]wFMCommunicate OK [03:34:01]requested_item fd.num is exist - process it [03:34:01]SAM_PROTO_GetFieldsCounters [03:34:01]wFMCommunicate request_size=4 [03:34:01]MH_SAM_APDU [03:34:01]CAPDU: 80 13 00 00 [03:34:01]Write to MH i2c: E2 08 00 6A 06 80 13 00 00 00 00 00 00 EC [03:34:01]Write i2c OK [03:34:01]MH_I2C_Read... [03:34:01]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [03:34:01]Read from MH i2c: E2 [03:34:01]MH_I2C_Read... [03:34:01]Read from MH i2c: E2 62 00 [03:34:01]MH_I2C_Read... [03:34:01]Read from MH i2c: E2 62 00 6A 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 4A 4A 00 00 0E 04 04 00 B8 00 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 7A [03:34:01]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 4A 4A 00 00 0E 04 04 00 B8 00 00 00 12 04 04 00 07 00 00 00 5E 04 04 00 07 00 00 00 57 04 04 00 08 00 00 00 19 04 04 00 00 00 00 00 90 00 [03:34:01]wFMCommunicate OK [03:34:01]SAM_PROTO_GetFieldsCounters done [03:34:01]requested_item shift.num is exist - process it [03:34:01]requested_item shift.opened is exist - process it [03:34:01]req_shift_opened [03:34:01]FM_GetShiftState [03:34:01]SAM_PROTO_GetShiftState [03:34:01]wFMCommunicate request_size=4 [03:34:01]MH_SAM_APDU [03:34:01]CAPDU: 80 13 01 00 [03:34:01]Write to MH i2c: E2 08 00 6B 06 80 13 01 00 00 00 00 00 EE [03:34:01]Write i2c OK [03:34:01]MH_I2C_Read... [03:34:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [03:34:01]Read from MH i2c: E2 [03:34:01]MH_I2C_Read... [03:34:01]Read from MH i2c: E2 0E 00 [03:34:01]MH_I2C_Read... [03:34:01]Read from MH i2c: E2 0E 00 6B 06 00 09 00 01 58 A7 F4 66 00 00 00 00 90 00 53 [03:34:01]RAPDU: 09 00 01 58 A7 F4 66 00 00 00 00 90 00 [03:34:01]wFMCommunicate OK [03:34:01]SAM_PROTO_GetShiftState done [03:34:01]FM_GetShiftState done [03:34:01]req_shift_opened done [03:34:01]requested_item shift.open_date is exist - process it [03:34:01]req_shift_open_date [03:34:01]req_shift_open_date done [03:34:01]produce_requested_data done [03:34:01]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":19018,"shift.num":184,"shift.opened":1,"shift.open_date":1727309656} [03:34:01]process_action_free close_receipt [03:34:01]json_value_free [03:34:01]json_value_free done [03:34:01]process_json_proto returns [03:34:01]Send response to host [03:34:01]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":19018,"shift.num":184,"shift.opened":1,"shift.open_date":1727309656}}} [03:34:01]free response buf [03:34:01]execute_script done [03:34:01]execute_script returns [03:34:01]free content buf [03:34:01]Sock 10.Close socket [03:34:01]Sock 10.Thread stoped [03:34:05]OFD Sender: No OFD packet to send [03:34:10]OFD Sender: No OFD packet to send [03:34:15]OFD Sender: No OFD packet to send [03:34:20]OFD Sender: No OFD packet to send [03:34:25]OFD Sender: No OFD packet to send [03:34:30]OFD Sender: No OFD packet to send [03:34:35]OFD Sender: No OFD packet to send [03:34:40]OFD Sender: No OFD packet to send [03:34:45]OFD Sender: No OFD packet to send [03:34:50]OFD Sender: No OFD packet to send [03:34:55]OFD Sender: No OFD packet to send [03:35:00]OFD Sender: No OFD packet to send [03:35:05]OFD Sender: No OFD packet to send [03:35:10]OFD Sender: No OFD packet to send [03:35:15]OFD Sender: No OFD packet to send [03:35:20]OFD Sender: No OFD packet to send [03:35:25]OFD Sender: No OFD packet to send [03:35:30]OFD Sender: No OFD packet to send [03:35:35]OFD Sender: No OFD packet to send [03:35:40]OFD Sender: No OFD packet to send [03:35:45]OFD Sender: No OFD packet to send [03:35:50]OFD Sender: No OFD packet to send [03:35:55]OFD Sender: No OFD packet to send [03:36:00]OFD Sender: No OFD packet to send [03:36:05]OFD Sender: No OFD packet to send [03:36:10]OFD Sender: No OFD packet to send [03:36:15]OFD Sender: No OFD packet to send [03:36:20]OFD Sender: No OFD packet to send [03:36:25]OFD Sender: No OFD packet to send [03:36:30]OFD Sender: No OFD packet to send [03:36:35]OFD Sender: No OFD packet to send [03:36:40]OFD Sender: No OFD packet to send [03:36:45]OFD Sender: No OFD packet to send [03:36:50]OFD Sender: No OFD packet to send [03:36:55]OFD Sender: No OFD packet to send [03:37:00]OFD Sender: No OFD packet to send [03:37:05]OFD Sender: No OFD packet to send [03:37:10]OFD Sender: No OFD packet to send [03:37:15]OFD Sender: No OFD packet to send [03:37:20]OFD Sender: No OFD packet to send [03:37:25]OFD Sender: No OFD packet to send [03:37:30]OFD Sender: No OFD packet to send [03:37:35]OFD Sender: No OFD packet to send [03:37:40]OFD Sender: No OFD packet to send [03:37:45]OFD Sender: No OFD packet to send [03:37:50]OFD Sender: No OFD packet to send [03:37:55]OFD Sender: No OFD packet to send [03:38:00]OFD Sender: No OFD packet to send [03:38:05]OFD Sender: No OFD packet to send [03:38:10]OFD Sender: No OFD packet to send [03:38:15]OFD Sender: No OFD packet to send [03:38:20]OFD Sender: No OFD packet to send [03:38:25]OFD Sender: No OFD packet to send [03:38:30]OFD Sender: No OFD packet to send [03:38:35]OFD Sender: No OFD packet to send [03:38:40]OFD Sender: No OFD packet to send [03:38:45]OFD Sender: No OFD packet to send [03:38:50]OFD Sender: No OFD packet to send [03:38:55]OFD Sender: No OFD packet to send [03:39:00]OFD Sender: No OFD packet to send [03:39:05]OFD Sender: No OFD packet to send [03:39:10]OFD Sender: No OFD packet to send [03:39:15]OFD Sender: No OFD packet to send [03:39:20]OFD Sender: No OFD packet to send [03:39:25]OFD Sender: No OFD packet to send [03:39:30]OFD Sender: No OFD packet to send [03:39:35]OFD Sender: No OFD packet to send [03:39:40]OFD Sender: No OFD packet to send [03:39:45]OFD Sender: No OFD packet to send [03:39:50]OFD Sender: No OFD packet to send [03:39:55]OFD Sender: No OFD packet to send [03:40:00]OFD Sender: No OFD packet to send [03:40:05]OFD Sender: No OFD packet to send [03:40:10]OFD Sender: No OFD packet to send [03:40:15]OFD Sender: No OFD packet to send [03:40:20]OFD Sender: No OFD packet to send [03:40:25]OFD Sender: No OFD packet to send [03:40:30]OFD Sender: No OFD packet to send [03:40:35]OFD Sender: No OFD packet to send [03:40:40]OFD Sender: No OFD packet to send [03:40:45]OFD Sender: No OFD packet to send [03:40:50]OFD Sender: No OFD packet to send [03:40:55]OFD Sender: No OFD packet to send [03:41:00]OFD Sender: No OFD packet to send [03:41:05]OFD Sender: No OFD packet to send [03:41:10]OFD Sender: No OFD packet to send [03:41:15]OFD Sender: No OFD packet to send [03:41:20]OFD Sender: No OFD packet to send [03:41:25]OFD Sender: No OFD packet to send [03:41:30]OFD Sender: No OFD packet to send [03:41:35]OFD Sender: No OFD packet to send [03:41:40]OFD Sender: No OFD packet to send [03:41:45]OFD Sender: No OFD packet to send [03:41:50]OFD Sender: No OFD packet to send [03:41:55]OFD Sender: No OFD packet to send [03:42:00]OFD Sender: No OFD packet to send [03:42:05]OFD Sender: No OFD packet to send [03:42:10]OFD Sender: No OFD packet to send [03:42:15]OFD Sender: No OFD packet to send [03:42:20]OFD Sender: No OFD packet to send [03:42:25]OFD Sender: No OFD packet to send [03:42:30]OFD Sender: No OFD packet to send [03:42:35]OFD Sender: No OFD packet to send [03:42:40]OFD Sender: No OFD packet to send [03:42:45]OFD Sender: No OFD packet to send [03:42:50]OFD Sender: No OFD packet to send [03:42:55]OFD Sender: No OFD packet to send [03:43:00]OFD Sender: No OFD packet to send [03:43:05]OFD Sender: No OFD packet to send [03:43:10]OFD Sender: No OFD packet to send [03:43:15]OFD Sender: No OFD packet to send [03:43:21]OFD Sender: No OFD packet to send [03:43:26]OFD Sender: No OFD packet to send [03:43:31]OFD Sender: No OFD packet to send [03:43:36]OFD Sender: No OFD packet to send [03:43:41]OFD Sender: No OFD packet to send [03:43:46]OFD Sender: No OFD packet to send [03:43:51]OFD Sender: No OFD packet to send [03:43:56]OFD Sender: No OFD packet to send [03:44:01]OFD Sender: No OFD packet to send [03:44:06]OFD Sender: No OFD packet to send [03:44:11]OFD Sender: No OFD packet to send [03:44:16]OFD Sender: No OFD packet to send [03:44:21]OFD Sender: No OFD packet to send [03:44:26]OFD Sender: No OFD packet to send [03:44:31]OFD Sender: No OFD packet to send [03:44:36]OFD Sender: No OFD packet to send [03:44:41]OFD Sender: No OFD packet to send [03:44:46]OFD Sender: No OFD packet to send [03:44:51]OFD Sender: No OFD packet to send [03:44:56]OFD Sender: No OFD packet to send [03:45:01]OFD Sender: No OFD packet to send [03:45:06]OFD Sender: No OFD packet to send [03:45:11]OFD Sender: No OFD packet to send [03:45:16]OFD Sender: No OFD packet to send [03:45:21]OFD Sender: No OFD packet to send [03:45:26]OFD Sender: No OFD packet to send [03:45:31]OFD Sender: No OFD packet to send [03:45:36]OFD Sender: No OFD packet to send [03:45:41]OFD Sender: No OFD packet to send [03:45:46]OFD Sender: No OFD packet to send [03:45:51]OFD Sender: No OFD packet to send [03:45:56]OFD Sender: No OFD packet to send [03:46:01]OFD Sender: No OFD packet to send [03:46:06]OFD Sender: No OFD packet to send [03:46:11]OFD Sender: No OFD packet to send [03:46:16]OFD Sender: No OFD packet to send [03:46:21]OFD Sender: No OFD packet to send [03:46:26]OFD Sender: No OFD packet to send [03:46:31]OFD Sender: No OFD packet to send [03:46:36]OFD Sender: No OFD packet to send [03:46:41]OFD Sender: No OFD packet to send [03:46:46]OFD Sender: No OFD packet to send [03:46:51]OFD Sender: No OFD packet to send [03:46:56]OFD Sender: No OFD packet to send [03:47:01]OFD Sender: No OFD packet to send [03:47:06]OFD Sender: No OFD packet to send [03:47:11]OFD Sender: No OFD packet to send [03:47:16]OFD Sender: No OFD packet to send [03:47:21]OFD Sender: No OFD packet to send [03:47:26]OFD Sender: No OFD packet to send [03:47:31]OFD Sender: No OFD packet to send [03:47:36]OFD Sender: No OFD packet to send [03:47:41]OFD Sender: No OFD packet to send [03:47:46]OFD Sender: No OFD packet to send [03:47:51]OFD Sender: No OFD packet to send [03:47:56]OFD Sender: No OFD packet to send [03:48:01]OFD Sender: No OFD packet to send [03:48:06]OFD Sender: No OFD packet to send [03:48:11]OFD Sender: No OFD packet to send [03:48:16]OFD Sender: No OFD packet to send [03:48:21]OFD Sender: No OFD packet to send [03:48:26]OFD Sender: No OFD packet to send [03:48:31]OFD Sender: No OFD packet to send [03:48:36]OFD Sender: No OFD packet to send [03:48:41]OFD Sender: No OFD packet to send [03:48:46]OFD Sender: No OFD packet to send [03:48:51]OFD Sender: No OFD packet to send [03:48:56]OFD Sender: No OFD packet to send [03:49:01]OFD Sender: No OFD packet to send [03:49:06]OFD Sender: No OFD packet to send [03:49:11]OFD Sender: No OFD packet to send [03:49:16]OFD Sender: No OFD packet to send [03:49:21]OFD Sender: No OFD packet to send [03:49:26]OFD Sender: No OFD packet to send [03:49:31]OFD Sender: No OFD packet to send [03:49:36]OFD Sender: No OFD packet to send [03:49:41]OFD Sender: No OFD packet to send [03:49:46]OFD Sender: No OFD packet to send [03:49:51]OFD Sender: No OFD packet to send [03:49:56]OFD Sender: No OFD packet to send [03:50:01]OFD Sender: No OFD packet to send [03:50:06]OFD Sender: No OFD packet to send [03:50:11]OFD Sender: No OFD packet to send [03:50:16]OFD Sender: No OFD packet to send [03:50:21]OFD Sender: No OFD packet to send [03:50:26]OFD Sender: No OFD packet to send [03:50:31]OFD Sender: No OFD packet to send [03:50:36]OFD Sender: No OFD packet to send [03:50:41]OFD Sender: No OFD packet to send [03:50:46]OFD Sender: No OFD packet to send [03:50:51]OFD Sender: No OFD packet to send [03:50:56]OFD Sender: No OFD packet to send [03:51:01]OFD Sender: No OFD packet to send [03:51:06]OFD Sender: No OFD packet to send [03:51:11]OFD Sender: No OFD packet to send [03:51:16]OFD Sender: No OFD packet to send [03:51:21]OFD Sender: No OFD packet to send [03:51:26]OFD Sender: No OFD packet to send [03:51:31]OFD Sender: No OFD packet to send [03:51:36]OFD Sender: No OFD packet to send [03:51:41]OFD Sender: No OFD packet to send [03:51:46]OFD Sender: No OFD packet to send [03:51:51]OFD Sender: No OFD packet to send [03:51:56]OFD Sender: No OFD packet to send [03:52:01]OFD Sender: No OFD packet to send [03:52:06]OFD Sender: No OFD packet to send [03:52:11]OFD Sender: No OFD packet to send [03:52:16]OFD Sender: No OFD packet to send [03:52:21]OFD Sender: No OFD packet to send [03:52:26]OFD Sender: No OFD packet to send [03:52:31]OFD Sender: No OFD packet to send [03:52:36]OFD Sender: No OFD packet to send [03:52:41]OFD Sender: No OFD packet to send [03:52:46]OFD Sender: No OFD packet to send [03:52:51]OFD Sender: No OFD packet to send [03:52:56]OFD Sender: No OFD packet to send [03:53:01]OFD Sender: No OFD packet to send [03:53:06]OFD Sender: No OFD packet to send [03:53:11]OFD Sender: No OFD packet to send [03:53:16]OFD Sender: No OFD packet to send [03:53:26]OFD Sender: No OFD packet to send [03:53:31]OFD Sender: No OFD packet to send [03:53:36]OFD Sender: No OFD packet to send [03:53:41]OFD Sender: No OFD packet to send [03:53:46]OFD Sender: No OFD packet to send [03:53:51]OFD Sender: No OFD packet to send [03:53:56]OFD Sender: No OFD packet to send [03:54:01]OFD Sender: No OFD packet to send [03:54:06]OFD Sender: No OFD packet to send [03:54:11]OFD Sender: No OFD packet to send [03:54:16]OFD Sender: No OFD packet to send [03:54:21]OFD Sender: No OFD packet to send [03:54:26]OFD Sender: No OFD packet to send [03:54:31]OFD Sender: No OFD packet to send [03:54:36]OFD Sender: No OFD packet to send [03:54:41]OFD Sender: No OFD packet to send [03:54:46]OFD Sender: No OFD packet to send [03:54:51]OFD Sender: No OFD packet to send [03:54:56]OFD Sender: No OFD packet to send [03:55:01]OFD Sender: No OFD packet to send [03:55:06]OFD Sender: No OFD packet to send [03:55:11]OFD Sender: No OFD packet to send [03:55:16]OFD Sender: No OFD packet to send [03:55:21]OFD Sender: No OFD packet to send [03:55:26]OFD Sender: No OFD packet to send [03:55:31]OFD Sender: No OFD packet to send [03:55:36]OFD Sender: No OFD packet to send [03:55:39]ConnectInit Can't connect to host [03:55:41]OFD Sender: No OFD packet to send [03:55:46]OFD Sender: No OFD packet to send [03:55:51]OFD Sender: No OFD packet to send [03:55:56]OFD Sender: No OFD packet to send [03:56:01]OFD Sender: No OFD packet to send [03:56:06]OFD Sender: No OFD packet to send [03:56:11]OFD Sender: No OFD packet to send [03:56:16]OFD Sender: No OFD packet to send [03:56:21]OFD Sender: No OFD packet to send [03:56:26]OFD Sender: No OFD packet to send [03:56:31]OFD Sender: No OFD packet to send [03:56:36]OFD Sender: No OFD packet to send [03:56:41]OFD Sender: No OFD packet to send [03:56:46]OFD Sender: No OFD packet to send [03:56:51]OFD Sender: No OFD packet to send [03:56:56]OFD Sender: No OFD packet to send [03:57:01]OFD Sender: No OFD packet to send [03:57:06]OFD Sender: No OFD packet to send [03:57:11]OFD Sender: No OFD packet to send [03:57:16]OFD Sender: No OFD packet to send [03:57:21]OFD Sender: No OFD packet to send [03:57:26]OFD Sender: No OFD packet to send [03:57:31]OFD Sender: No OFD packet to send [03:57:36]OFD Sender: No OFD packet to send [03:57:41]OFD Sender: No OFD packet to send [03:57:46]OFD Sender: No OFD packet to send [03:57:51]OFD Sender: No OFD packet to send [03:57:56]OFD Sender: No OFD packet to send [03:58:01]OFD Sender: No OFD packet to send [03:58:06]OFD Sender: No OFD packet to send [03:58:11]OFD Sender: No OFD packet to send [03:58:16]OFD Sender: No OFD packet to send [03:58:21]OFD Sender: No OFD packet to send [03:58:26]OFD Sender: No OFD packet to send [03:58:31]OFD Sender: No OFD packet to send [03:58:36]OFD Sender: No OFD packet to send [03:58:41]OFD Sender: No OFD packet to send [03:58:46]OFD Sender: No OFD packet to send [03:58:51]OFD Sender: No OFD packet to send [03:58:56]OFD Sender: No OFD packet to send [03:59:01]OFD Sender: No OFD packet to send [03:59:06]OFD Sender: No OFD packet to send [03:59:11]OFD Sender: No OFD packet to send [03:59:16]OFD Sender: No OFD packet to send [03:59:21]OFD Sender: No OFD packet to send [03:59:26]OFD Sender: No OFD packet to send [03:59:31]OFD Sender: No OFD packet to send [03:59:36]OFD Sender: No OFD packet to send [03:59:41]OFD Sender: No OFD packet to send [03:59:46]OFD Sender: No OFD packet to send [03:59:51]OFD Sender: No OFD packet to send [03:59:56]OFD Sender: No OFD packet to send [04:00:01]OFD Sender: No OFD packet to send [04:00:06]OFD Sender: No OFD packet to send [04:00:11]OFD Sender: No OFD packet to send [04:00:16]OFD Sender: No OFD packet to send [04:00:21]OFD Sender: No OFD packet to send [04:00:26]OFD Sender: No OFD packet to send [04:00:31]OFD Sender: No OFD packet to send [04:00:36]OFD Sender: No OFD packet to send [04:00:41]OFD Sender: No OFD packet to send [04:00:46]OFD Sender: No OFD packet to send [04:00:51]OFD Sender: No OFD packet to send [04:00:56]OFD Sender: No OFD packet to send [04:01:01]OFD Sender: No OFD packet to send [04:01:06]OFD Sender: No OFD packet to send [04:01:11]OFD Sender: No OFD packet to send [04:01:16]OFD Sender: No OFD packet to send [04:01:21]OFD Sender: No OFD packet to send [04:01:26]OFD Sender: No OFD packet to send [04:01:31]OFD Sender: No OFD packet to send [04:01:36]OFD Sender: No OFD packet to send [04:01:41]OFD Sender: No OFD packet to send [04:01:46]OFD Sender: No OFD packet to send [04:01:51]OFD Sender: No OFD packet to send [04:01:56]OFD Sender: No OFD packet to send [04:02:01]OFD Sender: No OFD packet to send [04:02:06]OFD Sender: No OFD packet to send [04:02:11]OFD Sender: No OFD packet to send [04:02:16]OFD Sender: No OFD packet to send [04:02:21]OFD Sender: No OFD packet to send [04:02:26]OFD Sender: No OFD packet to send [04:02:31]OFD Sender: No OFD packet to send [04:02:36]OFD Sender: No OFD packet to send [04:02:41]OFD Sender: No OFD packet to send [04:02:46]OFD Sender: No OFD packet to send [04:02:51]OFD Sender: No OFD packet to send [04:02:56]OFD Sender: No OFD packet to send [04:03:01]OFD Sender: No OFD packet to send [04:03:06]OFD Sender: No OFD packet to send [04:03:11]OFD Sender: No OFD packet to send [04:03:16]OFD Sender: No OFD packet to send [04:03:21]OFD Sender: No OFD packet to send [04:03:26]OFD Sender: No OFD packet to send [04:03:31]OFD Sender: No OFD packet to send [04:03:36]OFD Sender: No OFD packet to send [04:03:41]OFD Sender: No OFD packet to send [04:03:46]OFD Sender: No OFD packet to send [04:03:51]OFD Sender: No OFD packet to send [04:03:56]OFD Sender: No OFD packet to send [04:04:01]OFD Sender: No OFD packet to send [04:04:06]OFD Sender: No OFD packet to send [04:04:11]OFD Sender: No OFD packet to send [04:04:16]OFD Sender: No OFD packet to send [04:04:21]OFD Sender: No OFD packet to send [04:04:26]OFD Sender: No OFD packet to send [04:04:31]OFD Sender: No OFD packet to send [04:04:36]OFD Sender: No OFD packet to send [04:04:42]OFD Sender: No OFD packet to send [04:04:47]OFD Sender: No OFD packet to send [04:04:52]OFD Sender: No OFD packet to send [04:04:57]OFD Sender: No OFD packet to send [04:05:02]OFD Sender: No OFD packet to send [04:05:07]OFD Sender: No OFD packet to send [04:05:12]OFD Sender: No OFD packet to send [04:05:17]OFD Sender: No OFD packet to send [04:05:22]OFD Sender: No OFD packet to send [04:05:27]OFD Sender: No OFD packet to send [04:05:32]OFD Sender: No OFD packet to send [04:05:37]OFD Sender: No OFD packet to send [04:05:42]OFD Sender: No OFD packet to send [04:05:47]OFD Sender: No OFD packet to send [04:05:52]OFD Sender: No OFD packet to send [04:05:57]OFD Sender: No OFD packet to send [04:06:02]OFD Sender: No OFD packet to send [04:06:07]OFD Sender: No OFD packet to send [04:06:12]OFD Sender: No OFD packet to send [04:06:17]OFD Sender: No OFD packet to send [04:06:22]OFD Sender: No OFD packet to send [04:06:27]OFD Sender: No OFD packet to send [04:06:32]OFD Sender: No OFD packet to send [04:06:37]OFD Sender: No OFD packet to send [04:06:42]OFD Sender: No OFD packet to send [04:06:47]OFD Sender: No OFD packet to send [04:06:52]OFD Sender: No OFD packet to send [04:06:57]OFD Sender: No OFD packet to send [04:07:02]OFD Sender: No OFD packet to send [04:07:07]OFD Sender: No OFD packet to send [04:07:12]OFD Sender: No OFD packet to send [04:07:17]OFD Sender: No OFD packet to send [04:07:22]OFD Sender: No OFD packet to send [04:07:27]OFD Sender: No OFD packet to send [04:07:32]OFD Sender: No OFD packet to send [04:07:37]OFD Sender: No OFD packet to send [04:07:42]OFD Sender: No OFD packet to send [04:07:47]OFD Sender: No OFD packet to send [04:07:52]OFD Sender: No OFD packet to send [04:07:57]OFD Sender: No OFD packet to send [04:08:02]OFD Sender: No OFD packet to send [04:08:07]OFD Sender: No OFD packet to send [04:08:12]OFD Sender: No OFD packet to send [04:08:17]OFD Sender: No OFD packet to send [04:08:22]OFD Sender: No OFD packet to send [04:08:27]OFD Sender: No OFD packet to send [04:08:32]OFD Sender: No OFD packet to send [04:08:37]OFD Sender: No OFD packet to send [04:08:42]OFD Sender: No OFD packet to send [04:08:47]OFD Sender: No OFD packet to send [04:08:52]OFD Sender: No OFD packet to send [04:08:57]OFD Sender: No OFD packet to send [04:09:02]OFD Sender: No OFD packet to send [04:09:07]OFD Sender: No OFD packet to send [04:09:12]OFD Sender: No OFD packet to send [04:09:17]OFD Sender: No OFD packet to send [04:09:22]OFD Sender: No OFD packet to send [04:09:27]OFD Sender: No OFD packet to send [04:09:32]OFD Sender: No OFD packet to send [04:09:37]OFD Sender: No OFD packet to send [04:09:42]OFD Sender: No OFD packet to send [04:09:47]OFD Sender: No OFD packet to send [04:09:52]OFD Sender: No OFD packet to send [04:09:57]OFD Sender: No OFD packet to send [04:10:02]OFD Sender: No OFD packet to send [04:10:07]OFD Sender: No OFD packet to send [04:10:12]OFD Sender: No OFD packet to send [04:10:17]OFD Sender: No OFD packet to send [04:10:22]OFD Sender: No OFD packet to send [04:10:27]OFD Sender: No OFD packet to send [04:10:32]OFD Sender: No OFD packet to send [04:10:37]OFD Sender: No OFD packet to send [04:10:42]OFD Sender: No OFD packet to send [04:10:47]OFD Sender: No OFD packet to send [04:10:52]OFD Sender: No OFD packet to send [04:10:57]OFD Sender: No OFD packet to send [04:11:02]OFD Sender: No OFD packet to send [04:11:07]OFD Sender: No OFD packet to send [04:11:12]OFD Sender: No OFD packet to send [04:11:17]OFD Sender: No OFD packet to send [04:11:22]OFD Sender: No OFD packet to send [04:11:27]OFD Sender: No OFD packet to send [04:11:32]OFD Sender: No OFD packet to send [04:11:37]OFD Sender: No OFD packet to send [04:11:42]OFD Sender: No OFD packet to send [04:11:47]OFD Sender: No OFD packet to send [04:11:52]OFD Sender: No OFD packet to send [04:11:57]OFD Sender: No OFD packet to send [04:12:02]OFD Sender: No OFD packet to send [04:12:07]OFD Sender: No OFD packet to send [04:12:12]OFD Sender: No OFD packet to send [04:12:17]OFD Sender: No OFD packet to send [04:12:22]OFD Sender: No OFD packet to send [04:12:27]OFD Sender: No OFD packet to send [04:12:32]OFD Sender: No OFD packet to send [04:12:37]OFD Sender: No OFD packet to send [04:12:42]OFD Sender: No OFD packet to send [04:12:47]OFD Sender: No OFD packet to send [04:12:52]OFD Sender: No OFD packet to send [04:12:57]OFD Sender: No OFD packet to send [04:13: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]OFD Sender: No OFD packet to send [04:21:17]OFD Sender: No OFD packet to send [04:21:22]OFD Sender: No OFD packet to send [04:21:27]OFD Sender: No OFD packet to send [04:21:32]OFD Sender: No OFD packet to send [04:21:37]OFD Sender: No OFD packet to send [04:21:42]OFD Sender: No OFD packet to send [04:21:47]OFD Sender: No OFD packet to send [04:21:52]OFD Sender: No OFD packet to send [04:21:57]OFD Sender: No OFD packet to send [04:22:02]OFD Sender: No OFD packet to send [04:22:07]OFD Sender: No OFD packet to send [04:22:12]OFD Sender: No OFD packet to send [04:22:17]OFD Sender: No OFD packet to send [04:22:22]OFD Sender: No OFD packet to send [04:22:27]OFD Sender: No OFD packet to send [04:22:32]OFD Sender: No OFD packet to send [04:22:37]OFD Sender: No OFD packet to send [04:22:42]OFD Sender: No OFD packet to send [04:22:47]OFD Sender: No OFD packet to send [04:22:52]OFD Sender: No OFD packet to send [04:22:57]OFD Sender: No OFD packet to send [04:23:02]OFD Sender: No OFD packet to send [04:23:07]OFD Sender: No OFD packet to send [04:23:12]OFD Sender: No OFD packet to send [04:23:17]OFD Sender: No OFD packet to send [04:23:22]OFD Sender: No OFD packet to send [04:23:27]OFD Sender: No OFD packet to send [04:23:32]OFD Sender: No OFD packet to send [04:23:37]OFD Sender: No OFD packet to send [04:23:42]OFD Sender: No OFD packet to send [04:23:47]OFD Sender: No OFD packet to send [04:23:52]OFD Sender: No OFD packet to send [04:23:57]OFD Sender: No OFD packet to send [04:24:02]OFD Sender: No OFD packet to send [04:24:07]OFD Sender: No OFD packet to send [04:24:12]OFD Sender: No OFD packet to send [04:24:17]OFD Sender: No OFD packet to send [04:24:22]OFD Sender: No OFD packet to send [04:24:27]OFD Sender: No OFD packet to send [04:24:32]OFD Sender: No OFD packet to send [04:24:37]OFD Sender: No OFD packet to send [04:24:42]OFD Sender: No OFD packet to send [04:24:47]OFD Sender: No OFD packet to send [04:24:52]OFD Sender: No OFD packet to send [04:24:57]OFD Sender: No OFD packet to send [04:25:02]OFD Sender: No OFD packet to send [04:25:07]OFD Sender: No OFD packet to send [04:25:12]OFD Sender: No OFD packet to send [04:25:17]OFD Sender: No OFD packet to send [04:25:22]OFD Sender: No OFD packet to send [04:25:27]OFD Sender: No OFD packet to send [04:25:32]OFD Sender: No OFD packet to send [04:25:37]OFD Sender: No OFD packet to send [04:25:42]OFD Sender: No OFD packet to send [04:25:47]OFD Sender: No OFD packet to send [04:25:52]OFD Sender: No OFD packet to send [04:25:58]OFD Sender: No OFD packet to send [04:26:03]OFD Sender: No OFD packet to send [04:26:08]OFD Sender: No OFD packet to send [04:26:13]OFD Sender: No OFD packet to send [04:26:18]OFD Sender: No OFD packet to send [04:26:23]OFD Sender: No OFD packet to send [04:26:28]OFD Sender: No OFD packet to send [04:26:33]OFD Sender: No OFD packet to send [04:26:38]OFD Sender: No OFD packet to send [04:26:43]OFD Sender: No OFD packet to send [04:26:48]OFD Sender: No OFD packet to send [04:26:53]OFD Sender: No OFD packet to send [04:26:58]OFD Sender: No OFD packet to send [04:27:03]OFD Sender: No OFD packet to send [04:27:08]OFD Sender: No OFD packet to send [04:27:13]OFD Sender: No OFD packet to send [04:27:18]OFD Sender: No OFD packet to send [04:27:23]OFD Sender: No OFD packet to send [04:27:28]OFD Sender: No OFD packet to send [04:27:33]OFD Sender: No OFD packet to send [04:27:38]OFD Sender: No OFD packet to send [04:27:43]OFD Sender: No OFD packet to send [04:27:48]OFD Sender: No OFD packet to send [04:27:53]OFD Sender: No OFD packet to send [04:27:58]OFD Sender: No OFD packet to send [04:28:03]OFD Sender: No OFD packet to send [04:28:08]OFD Sender: No OFD packet to send [04:28:13]OFD Sender: No OFD packet to send [04:28:18]OFD Sender: No OFD packet to send [04:28:23]OFD Sender: No OFD packet to send [04:28:28]OFD Sender: No OFD packet to send [04:28:33]OFD Sender: No OFD packet to send [04:28:38]OFD Sender: No OFD packet to send [04:28:43]OFD Sender: No OFD packet to send [04:28:48]OFD Sender: No OFD packet to send [04:28:53]OFD Sender: No OFD packet to send [04:28:58]OFD Sender: No OFD packet to send [04:29:03]OFD Sender: No OFD packet to send [04:29:08]OFD Sender: No OFD packet to send [04:29:13]OFD Sender: No OFD packet to send [04:29:18]OFD Sender: No OFD packet to send [04:29:23]OFD Sender: No OFD packet to send [04:29:28]OFD Sender: No OFD packet to send [04:29:33]OFD Sender: No OFD packet to send [04:29:38]OFD Sender: No OFD packet to send [04:29:43]OFD Sender: No OFD packet to send [04:29:48]OFD Sender: No OFD packet to send [04:29:53]OFD Sender: No OFD packet to send [04:29:58]OFD Sender: No OFD packet to send [04:30:03]OFD Sender: No OFD packet to send [04:30:08]OFD Sender: No OFD packet to send [04:30:13]OFD Sender: No OFD packet to send [04:30:18]OFD Sender: No OFD packet to send [04:30:23]OFD Sender: No OFD packet to send [04:30:28]OFD Sender: No OFD packet to send [04:30:33]OFD Sender: No OFD packet to send [04:30:38]OFD Sender: No OFD packet to send [04:30:43]OFD Sender: No OFD packet to send [04:30:48]OFD Sender: No OFD packet to send [04:30:53]OFD Sender: No OFD packet to send [04:30:58]OFD Sender: No OFD packet to send [04:31:03]OFD Sender: No OFD packet to send [04:31:08]OFD Sender: No OFD packet to send [04:31:13]OFD Sender: No OFD packet to send [04:31:18]OFD Sender: No OFD packet to send [04:31:23]OFD Sender: No OFD packet to send [04:31:28]OFD Sender: No OFD packet to send [04:31:33]OFD Sender: No OFD packet to send [04:31:38]OFD Sender: No OFD packet to send [04:31:43]OFD Sender: No OFD packet to send [04:31:48]OFD Sender: No OFD packet to send [04:31:53]OFD Sender: No OFD packet to send [04:31:58]OFD Sender: No OFD packet to send [04:32:03]OFD Sender: No OFD packet to send [04:32:08]OFD Sender: No OFD packet to send [04:32:13]OFD Sender: No OFD packet to send [04:32:18]OFD Sender: No OFD packet to send [04:32:23]OFD Sender: No OFD packet to send [04:32:28]OFD Sender: No OFD packet to send [04:32:33]OFD Sender: No OFD packet to send [04:32:38]OFD Sender: No OFD packet to send [04:32:43]OFD Sender: No OFD packet to send [04:32:48]OFD Sender: No OFD packet to send [04:32:53]OFD Sender: No OFD packet to send [04:32:58]OFD Sender: No OFD packet to send [04:33:03]OFD Sender: No OFD packet to send [04:33:08]OFD Sender: No OFD packet to send [04:33:13]OFD Sender: No OFD packet to send [04:33:18]OFD Sender: No OFD packet to send [04:33:23]OFD Sender: No OFD packet to send [04:33:28]OFD Sender: No OFD packet to send [04:33:33]OFD Sender: No OFD packet to send [04:33:38]OFD Sender: No OFD packet to send [04:33:43]OFD Sender: No OFD packet to send [04:33:48]OFD Sender: No OFD packet to send [04:33:53]OFD Sender: No OFD packet to send [04:33:58]OFD Sender: No OFD packet to send [04:34:03]OFD Sender: No OFD packet to send [04:34:08]OFD Sender: No OFD packet to send [04:34:13]OFD Sender: No OFD packet to send [04:34:18]OFD Sender: No OFD packet to send [04:34:23]OFD Sender: No OFD packet to send [04:34:28]OFD Sender: No OFD packet to send [04:34:33]OFD Sender: No OFD packet to send [04:34:38]OFD Sender: No OFD packet to send [04:34:43]OFD Sender: No OFD packet to send [04:34:48]OFD Sender: No OFD packet to send [04:34:53]OFD Sender: No OFD packet to send [04:34:58]OFD Sender: No OFD packet to send [04:35:03]OFD Sender: No OFD packet to send [04:35:08]OFD Sender: No OFD packet to send [04:35:13]OFD Sender: No OFD packet to send [04:35:18]OFD Sender: No OFD packet to send [04:35:23]OFD Sender: No OFD packet to send [04:35:28]OFD Sender: No OFD packet to send [04:35:33]OFD Sender: No OFD packet to send [04:35:38]OFD Sender: No OFD packet to send [04:35:43]OFD Sender: No OFD packet to send [04:35:48]OFD Sender: No OFD packet to send [04:35:53]OFD Sender: No OFD packet to send [04:35:58]OFD Sender: No OFD packet to send [04:36:03]OFD Sender: No OFD packet to send [04:36:08]OFD Sender: No OFD packet to send [04:36:13]OFD Sender: No OFD packet to send [04:36:18]OFD Sender: No OFD packet to send [04:36:23]OFD Sender: No OFD packet to send [04:36:28]OFD Sender: No OFD packet to send [04:36:33]OFD Sender: No OFD packet to send [04:36:38]OFD Sender: No OFD packet to send [04:36:43]OFD Sender: No OFD packet to send [04:36:48]OFD Sender: No OFD packet to send [04:36:53]OFD Sender: No OFD packet to send [04:36:58]OFD Sender: No OFD packet to send [04:37:03]OFD Sender: No OFD packet to send [04:37:08]OFD Sender: No OFD packet to send [04:37:13]OFD Sender: No OFD packet to send [04:37:18]OFD Sender: No OFD packet to send [04:37:23]OFD Sender: No OFD packet to send [04:37:28]OFD Sender: No OFD packet to send [04:37:33]OFD Sender: No OFD packet to send [04:37:38]OFD Sender: No OFD packet to send [04:37:43]OFD Sender: No OFD packet to send [04:37:48]OFD Sender: No OFD packet to send [04:37:53]OFD Sender: No OFD packet to send [04:37:58]OFD Sender: No OFD packet to send [04:38:03]OFD Sender: No OFD packet to send [04:38:08]OFD Sender: No OFD packet to send [04:38:13]OFD Sender: No OFD packet to send [04:38:18]OFD Sender: No OFD packet to send [04:38:23]OFD Sender: No OFD packet to send [04:38:28]OFD Sender: No OFD packet to send [04:38:33]OFD Sender: No OFD packet to send [04:38:38]OFD Sender: No OFD packet to send [04:38:43]OFD Sender: No OFD packet to send [04:38:48]OFD Sender: No OFD packet to send [04:38:53]OFD Sender: No OFD packet to send [04:38:58]OFD Sender: No OFD packet to send [04:39:03]OFD Sender: No OFD packet to send [04:39:08]OFD Sender: No OFD packet to send [04:39:13]OFD Sender: No OFD packet to send [04:39:18]OFD Sender: No OFD packet to send [04:39:23]OFD Sender: No OFD packet to send [04:39:28]OFD Sender: No OFD packet to send [04:39:33]OFD Sender: No OFD packet to send [04:39:38]OFD Sender: No OFD packet to send [04:39:43]OFD Sender: No OFD packet to send [04:39:48]OFD Sender: No OFD packet to send [04:39:53]OFD Sender: No OFD packet to send [04:39:58]OFD Sender: No OFD packet to send [04:40:03]OFD Sender: No OFD packet to send [04:40:08]OFD Sender: No OFD packet to send [04:40:13]OFD Sender: No OFD packet to send [04:40:18]OFD Sender: No OFD packet to send [04:40:23]OFD Sender: No OFD packet to send [04:40:28]OFD Sender: No OFD packet to send [04:40:33]OFD Sender: No OFD packet to send [04:40:38]OFD Sender: No OFD packet to send [04:40:43]OFD Sender: No OFD packet to send [04:40:48]OFD Sender: No OFD packet to send [04:40:53]OFD Sender: No OFD packet to send [04:40:58]OFD Sender: No OFD packet to send [04:41:03]OFD Sender: No OFD packet to send [04:41:08]OFD Sender: No OFD packet to send [04:41:13]OFD Sender: No OFD packet to send [04:41:18]OFD Sender: No OFD packet to send [04:41:23]OFD Sender: No OFD packet to send [04:41:28]OFD Sender: No OFD packet to send [04:41:33]OFD Sender: No OFD packet to send [04:41:38]OFD Sender: No OFD packet to send [04:41:43]OFD Sender: No OFD packet to send [04:41:48]OFD Sender: No OFD packet to send [04:41:53]OFD Sender: No OFD packet to send [04:41:58]OFD Sender: No OFD packet to send [04:42:03]OFD Sender: No OFD packet to send [04:42:08]OFD Sender: No OFD packet to send [04:42:13]OFD Sender: No OFD packet to send [04:42:18]OFD Sender: No OFD packet to send [04:42:23]OFD Sender: No OFD packet to send [04:42:28]OFD Sender: No OFD packet to send [04:42:33]OFD Sender: No OFD packet to send [04:42:38]OFD Sender: No OFD packet to send [04:42:43]OFD Sender: No OFD packet to send [04:42:48]OFD Sender: No OFD packet to send [04:42:53]OFD Sender: No OFD packet to send [04:42:58]OFD Sender: No OFD packet to send [04:43:03]OFD Sender: No OFD packet to send [04:43:08]OFD Sender: No OFD packet to send [04:43:13]OFD Sender: No OFD packet to send [04:43:18]OFD Sender: No OFD packet to send [04:43:23]OFD Sender: No OFD packet to send [04:43:28]OFD Sender: No OFD packet to send [04:43:33]OFD Sender: No OFD packet to send [04:43:38]OFD Sender: No OFD packet to send [04:43:43]OFD Sender: No OFD packet to send [04:43:48]OFD Sender: No OFD packet to send [04:43:53]OFD Sender: No OFD packet to send [04:43:58]OFD Sender: No OFD packet to send [04:44:03]OFD Sender: No OFD packet to send [04:44:08]OFD Sender: No OFD packet to send [04:44:13]OFD Sender: No OFD packet to send [04:44:18]OFD Sender: No OFD packet to send [04:44:23]OFD Sender: No OFD packet to send [04:44:28]OFD Sender: No OFD packet to send [04:44:33]OFD Sender: No OFD packet to send [04:44:38]OFD Sender: No OFD packet to send [04:44:43]OFD Sender: No OFD packet to send [04:44:48]OFD Sender: No OFD packet to send [04:44:53]OFD Sender: No OFD packet to send [04:44:58]OFD Sender: No OFD packet to send [04:45:03]OFD Sender: No OFD packet to send [04:45:08]OFD Sender: No OFD packet to send [04:45:13]OFD Sender: No OFD packet to send [04:45:18]OFD Sender: No OFD packet to send [04:45:23]OFD Sender: No OFD packet to send [04:45:28]OFD Sender: No OFD packet to send [04:45:33]OFD Sender: No OFD packet to send [04:45:38]OFD Sender: No OFD packet to send [04:45:43]OFD Sender: No OFD packet to send [04:45:48]OFD Sender: No OFD packet to send [04:45:53]OFD Sender: No OFD packet to send [04:45:58]OFD Sender: No OFD packet to send [04:46:03]OFD Sender: No OFD packet to send [04:46:08]OFD Sender: No OFD packet to send [04:46:13]OFD Sender: No OFD packet to send [04:46:18]OFD Sender: No OFD packet to send [04:46:23]OFD Sender: No OFD packet to send [04:46:28]OFD Sender: No OFD packet to send [04:46:33]OFD Sender: No OFD packet to send [04:46:38]OFD Sender: No OFD packet to send [04:46:43]OFD Sender: No OFD packet to send [04:46:48]OFD Sender: No OFD packet to send [04:46:53]OFD Sender: No OFD packet to send [04:46:58]OFD Sender: No OFD packet to send [04:47:03]OFD Sender: No OFD packet to send [04:47:08]OFD Sender: No OFD packet to send [04:47:13]OFD Sender: No OFD packet to send [04:47:18]OFD Sender: No OFD packet to send [04:47:24]OFD Sender: No OFD packet to send [04:47:29]OFD Sender: No OFD packet to send [04:47:34]OFD Sender: No OFD packet to send [04:47:39]OFD Sender: No OFD packet to send [04:47:44]OFD Sender: No OFD packet to send [04:47:49]OFD Sender: No OFD packet to send [04:47:54]OFD Sender: No OFD packet to send [04:47:59]OFD Sender: No OFD packet to send [04:48:04]OFD Sender: No OFD packet to send [04:48:09]OFD Sender: No OFD packet to send [04:48:14]OFD Sender: No OFD packet to send [04:48:19]OFD Sender: No OFD packet to send [04:48:24]OFD Sender: No OFD packet to send [04:48:29]OFD Sender: No OFD packet to send [04:48:34]OFD Sender: No OFD packet to send [04:48:39]OFD Sender: No OFD packet to send [04:48:44]OFD Sender: No OFD packet to send [04:48:49]OFD Sender: No OFD packet to send [04:48:54]OFD Sender: No OFD packet to send [04:48:59]OFD Sender: No OFD packet to send [04:49:04]OFD Sender: No OFD packet to send [04:49:09]OFD Sender: No OFD packet to send [04:49:14]OFD Sender: No OFD packet to send [04:49:19]OFD Sender: No OFD packet to send [04:49:24]OFD Sender: No OFD packet to send [04:49:29]OFD Sender: No OFD packet to send [04:49:34]OFD Sender: No OFD packet to send [04:49:39]OFD Sender: No OFD packet to send [04:49:44]OFD Sender: No OFD packet to send [04:49:49]OFD Sender: No OFD packet to send [04:49:54]OFD Sender: No OFD packet to send [04:49:59]OFD Sender: No OFD packet to send [04:50:04]OFD Sender: No OFD packet to send [04:50:09]OFD Sender: No OFD packet to send [04:50:14]OFD Sender: No OFD packet to send [04:50:19]OFD Sender: No OFD packet to send [04:50:24]OFD Sender: No OFD packet to send [04:50:29]OFD Sender: No OFD packet to send [04:50:34]OFD Sender: No OFD packet to send [04:50:39]OFD Sender: No OFD packet to send [04:50:44]OFD Sender: No OFD packet to send [04:50:49]OFD Sender: No OFD packet to send [04:50:54]OFD Sender: No OFD packet to send [04:50:59]OFD Sender: No OFD packet to send [04:51:04]OFD Sender: No OFD packet to send [04:51:09]OFD Sender: No OFD packet to send [04:51:14]OFD Sender: No OFD packet to send [04:51:19]OFD Sender: No OFD packet to send [04:51:24]OFD Sender: No OFD packet to send [04:51:29]OFD Sender: No OFD packet to send [04:51:34]OFD Sender: No OFD packet to send [04:51:39]OFD Sender: No OFD packet to send [04:51:44]OFD Sender: No OFD packet to send [04:51:49]OFD Sender: No OFD packet to send [04:51:54]OFD Sender: No OFD packet to send [04:51:59]OFD Sender: No OFD packet to send [04:52:04]OFD Sender: No OFD packet to send [04:52:09]OFD Sender: No OFD packet to send [04:52:14]OFD Sender: No OFD packet to send [04:52:19]OFD Sender: No OFD packet to send [04:52:24]OFD Sender: No OFD packet to send [04:52:29]OFD Sender: No OFD packet to send [04:52:34]OFD Sender: No OFD packet to send [04:52:39]OFD Sender: No OFD packet to send [04:52:44]OFD Sender: No OFD packet to send [04:52:49]OFD Sender: No OFD packet to send [04:52:54]OFD Sender: No OFD packet to send [04:52:59]OFD Sender: No OFD packet to send [04:53:04]OFD Sender: No OFD packet to send [04:53:09]OFD Sender: No OFD packet to send [04:53:14]OFD Sender: No OFD packet to send [04:53:19]OFD Sender: No OFD packet to send [04:53:24]OFD Sender: No OFD packet to send [04:53:29]OFD Sender: No OFD packet to send [04:53:34]OFD Sender: No OFD packet to send [04:53:39]OFD Sender: No OFD packet to send [04:53:44]OFD Sender: No OFD packet to send [04:53:49]OFD Sender: No OFD packet to send [04:53:54]OFD Sender: No OFD packet to send [04:53:59]OFD Sender: No OFD packet to send [04:54:04]OFD Sender: No OFD packet to send [04:54:09]OFD Sender: No OFD packet to send [04:54:14]OFD Sender: No OFD packet to send [04:54:19]OFD Sender: No OFD packet to send [04:54:24]OFD Sender: No OFD packet to send [04:54:29]OFD Sender: No OFD packet to send [04:54:34]OFD Sender: No OFD packet to send [04:54:39]OFD Sender: No OFD packet to send [04:54:44]OFD Sender: No OFD packet to send [04:54:49]OFD Sender: No OFD packet to send [04:54:54]OFD Sender: No OFD packet to send [04:54:59]OFD Sender: No OFD packet to send [04:55:04]OFD Sender: No OFD packet to send [04:55:09]OFD Sender: No OFD packet to send [04:55:14]OFD Sender: No OFD packet to send [04:55:19]OFD Sender: No OFD packet to send [04:55:24]OFD Sender: No OFD packet to send [04:55:29]OFD Sender: No OFD packet to send [04:55:34]OFD Sender: No OFD packet to send [04:55:39]OFD Sender: No OFD packet to send [04:55:44]OFD Sender: No OFD packet to send [04:55:49]OFD Sender: No OFD packet to send [04:55:54]OFD Sender: No OFD packet to send [04:55:59]OFD Sender: No OFD packet to send [04:56:04]OFD Sender: No OFD packet to send [04:56:09]OFD Sender: No OFD packet to send [04:56:14]OFD Sender: No OFD packet to send [04:56:19]OFD Sender: No OFD packet to send [04:56:24]OFD Sender: No OFD packet to send [04:56:29]OFD Sender: No OFD packet to send [04:56:34]OFD Sender: No OFD packet to send [04:56:39]OFD Sender: No OFD packet to send [04:56:44]OFD Sender: No OFD packet to send [04:56:49]OFD Sender: No OFD packet to send [04:56:54]OFD Sender: No OFD packet to send [04:56:59]OFD Sender: No OFD packet to send [04:57:04]OFD Sender: No OFD packet to send [04:57:09]OFD Sender: No OFD packet to send [04:57:14]OFD Sender: No OFD packet to send [04:57:19]OFD Sender: No OFD packet to send [04:57:24]OFD Sender: No OFD packet to send [04:57:29]OFD Sender: No OFD packet to send [04:57:34]OFD Sender: No OFD packet to send [04:57:39]OFD Sender: No OFD packet to send [04:57:44]OFD Sender: No OFD packet to send [04:57:49]OFD Sender: No OFD packet to send [04:57:54]OFD Sender: No OFD packet to send [04:57:59]OFD Sender: No OFD packet to send [04:58:04]OFD Sender: No OFD packet to send [04:58:09]OFD Sender: No OFD packet to send [04:58:14]OFD Sender: No OFD packet to send [04:58:19]OFD Sender: No OFD packet to send [04:58:24]OFD Sender: No OFD packet to send [04:58:29]OFD Sender: No OFD packet to send [04:58:34]OFD Sender: No OFD packet to send [04:58:39]OFD Sender: No OFD packet to send [04:58:44]OFD Sender: No OFD packet to send [04:58:49]OFD Sender: No OFD packet to send [04:58:54]OFD Sender: No OFD packet to send [04:58:59]OFD Sender: No OFD packet to send [04:59:04]OFD Sender: No OFD packet to send [04:59:09]OFD Sender: No OFD packet to send [04:59:14]OFD Sender: No OFD packet to send [04:59:19]OFD Sender: No OFD packet to send [04:59:24]OFD Sender: No OFD packet to send [04:59:29]OFD Sender: No OFD packet to send [04:59:34]OFD Sender: No OFD packet to send [04:59:39]OFD Sender: No OFD packet to send [04:59:44]OFD Sender: No OFD packet to send [04:59:49]OFD Sender: No OFD packet to send [04:59:54]OFD Sender: No OFD packet to send [04:59:59]OFD Sender: No OFD packet to send [05:00:04]OFD Sender: No OFD packet to send [05:00:09]OFD Sender: No OFD packet to send [05:00:14]OFD Sender: No OFD packet to send [05:00:19]OFD Sender: No OFD packet to send [05:00:24]OFD Sender: No OFD packet to send [05:00:29]OFD Sender: No OFD packet to send [05:00:34]OFD Sender: No OFD packet to send [05:00:39]OFD Sender: No OFD packet to send [05:00:44]OFD Sender: No OFD packet to send [05:00:49]OFD Sender: No OFD packet to send [05:00:54]OFD Sender: No OFD packet to send [05:00:59]OFD Sender: No OFD packet to send [05:01:04]OFD Sender: No OFD packet to send [05:01:09]OFD Sender: No OFD packet to send [05:01:14]OFD Sender: No OFD packet to send [05:01:19]OFD Sender: No OFD packet to send [05:01:24]OFD Sender: No OFD packet to send [05:01:29]OFD Sender: No OFD packet to send [05:01:34]OFD Sender: No OFD packet to send [05:01:39]OFD Sender: No OFD packet to send [05:01:44]OFD Sender: No OFD packet to send [05:01:49]OFD Sender: No OFD packet to send [05:01:54]OFD Sender: No OFD packet to send [05:01:59]OFD Sender: No OFD packet to send [05:02:04]OFD Sender: No OFD packet to send [05:02:09]OFD Sender: No OFD packet to send [05:02:14]OFD Sender: No OFD packet to send [05:02:19]OFD Sender: No OFD packet to send [05:02:24]OFD Sender: No OFD packet to send [05:02:29]OFD Sender: No OFD packet to send [05:02:34]OFD Sender: No OFD packet to send [05:02:39]OFD Sender: No OFD packet to send [05:02:44]OFD Sender: No OFD packet to send [05:02:49]OFD Sender: No OFD packet to send [05:02:54]OFD Sender: No OFD packet to send [05:02:59]OFD Sender: No OFD packet to send [05:03:04]OFD Sender: No OFD packet to send [05:03:09]OFD Sender: No OFD packet to send [05:03:14]OFD Sender: No OFD packet to send [05:03:19]OFD Sender: No OFD packet to send [05:03:24]OFD Sender: No OFD packet to send [05:03:29]OFD Sender: No OFD packet to send [05:03:34]OFD Sender: No OFD packet to send [05:03:39]OFD Sender: No OFD packet to send [05:03:44]OFD Sender: No OFD packet to send [05:03:49]OFD Sender: No OFD packet to send [05:03:54]OFD Sender: No OFD packet to send [05:03:59]OFD Sender: No OFD packet to send [05:04:04]OFD Sender: No OFD packet to send [05:04:09]OFD Sender: No OFD packet to send [05:04:14]OFD Sender: No OFD packet to send [05:04:19]OFD Sender: No OFD packet to send [05:04:24]OFD Sender: No OFD packet to send [05:04:29]OFD Sender: No OFD packet to send [05:04:34]OFD Sender: No OFD packet to send [05:04:39]OFD Sender: No OFD packet to send [05:04:44]OFD Sender: No OFD packet to send [05:04:49]OFD Sender: No OFD packet to send [05:04:54]OFD Sender: No OFD packet to send [05:04:59]OFD Sender: No OFD packet to send [05:05:04]OFD Sender: No OFD packet to send [05:05:09]OFD Sender: No OFD packet to send [05:05:14]OFD Sender: No OFD packet to send [05:05:19]OFD Sender: No OFD packet to send [05:05:24]OFD Sender: No OFD packet to send [05:05:29]OFD Sender: No OFD packet to send [05:05:34]OFD Sender: No OFD packet to send [05:05:39]OFD Sender: No OFD packet to send [05:05:44]OFD Sender: No OFD packet to send [05:05:49]OFD Sender: No OFD packet to send [05:05:54]OFD Sender: No OFD packet to send [05:05:59]OFD Sender: No OFD packet to send [05:06:04]OFD Sender: No OFD packet to send [05:06:09]OFD Sender: No OFD packet to send [05:06:14]OFD Sender: No OFD packet to send [05:06:19]OFD Sender: No OFD packet to send [05:06:24]OFD Sender: No OFD packet to send [05:06:29]OFD Sender: No OFD packet to send [05:06:34]OFD Sender: No OFD packet to send [05:06:39]OFD Sender: No OFD packet to send [05:06:44]OFD Sender: No OFD packet to send [05:06:49]OFD Sender: No OFD packet to send [05:06:54]OFD Sender: No OFD packet to send [05:06:59]OFD Sender: No OFD packet to send [05:07:04]OFD Sender: No OFD packet to send [05:07:09]OFD Sender: No OFD packet to send [05:07:14]OFD Sender: No OFD packet to send [05:07:19]OFD Sender: No OFD packet to send [05:07:24]OFD Sender: No OFD packet to send [05:07:29]OFD Sender: No OFD packet to send [05:07:34]OFD Sender: No OFD packet to send [05:07:39]OFD Sender: No OFD packet to send [05:07:44]OFD Sender: No OFD packet to send [05:07:49]OFD Sender: No OFD packet to send [05:07:54]OFD Sender: No OFD packet to send [05:07:59]OFD Sender: No OFD packet to send [05:08:04]OFD Sender: No OFD packet to send [05:08:09]OFD Sender: No OFD packet to send [05:08:14]OFD Sender: No OFD packet to send [05:08:19]OFD Sender: No OFD packet to send [05:08:24]OFD Sender: No OFD packet to send [05:08:29]OFD Sender: No OFD packet to send [05:08:34]OFD Sender: No OFD packet to send [05:08:40]OFD Sender: No OFD packet to send [05:08:45]OFD Sender: No OFD packet to send [05:08:50]OFD Sender: No OFD packet to send [05:08:55]OFD Sender: No OFD packet to send [05:09:00]OFD Sender: No OFD packet to send [05:09:05]OFD Sender: No OFD packet to send [05:09:10]OFD Sender: No OFD packet to send [05:09:15]OFD Sender: No OFD packet to send [05:09:20]OFD Sender: No OFD packet to send [05:09:25]OFD Sender: No OFD packet to send [05:09:30]OFD Sender: No OFD packet to send [05:09:35]OFD Sender: No OFD packet to send [05:09:40]OFD Sender: No OFD packet to send [05:09:45]OFD Sender: No OFD packet to send [05:09:50]OFD Sender: No OFD packet to send [05:09:55]OFD Sender: No OFD packet to send [05:10:00]OFD Sender: No OFD packet to send [05:10:05]OFD Sender: No OFD packet to send [05:10:10]OFD Sender: No OFD packet to send [05:10:15]OFD Sender: No OFD packet to send [05:10:20]OFD Sender: No OFD packet to send [05:10:25]OFD Sender: No OFD packet to send [05:10:30]OFD Sender: No OFD packet to send [05:10:35]OFD Sender: No OFD packet to send [05:10:40]OFD Sender: No OFD packet to send [05:10:45]OFD Sender: No OFD packet to send [05:10:50]OFD Sender: No OFD packet to send [05:10:55]OFD Sender: No OFD packet to send [05:11:00]OFD Sender: No OFD packet to send [05:11:05]OFD Sender: No OFD packet to send [05:11:10]OFD Sender: No OFD packet to send [05:11:15]OFD Sender: No OFD packet to send [05:11:20]OFD Sender: No OFD packet to send [05:11:25]OFD Sender: No OFD packet to send [05:11:30]OFD Sender: No OFD packet to send [05:11:35]OFD Sender: No OFD packet to send [05:11:40]OFD Sender: No OFD packet to send [05:11:45]OFD Sender: No OFD packet to send [05:11:50]OFD Sender: No OFD packet to send [05:11:55]OFD Sender: No OFD packet to send [05:12:00]OFD Sender: No OFD packet to send [05:12:05]OFD Sender: No OFD packet to send [05:12:10]OFD Sender: No OFD packet to send [05:12:15]OFD Sender: No OFD packet to send [05:12:20]OFD Sender: No OFD packet to send [05:12:25]OFD Sender: No OFD packet to send [05:12:30]OFD Sender: No OFD packet to send [05:12:35]OFD Sender: No OFD packet to send [05:12:40]OFD Sender: No OFD packet to send [05:12:45]OFD Sender: No OFD packet to send [05:12:50]OFD Sender: No OFD packet to send [05:12:55]OFD Sender: No OFD packet to send [05:13:00]OFD Sender: No OFD packet to send [05:13:05]OFD Sender: No OFD packet to send [05:13:10]OFD Sender: No OFD packet to send [05:13:15]OFD Sender: No OFD packet to send [05:13:20]OFD Sender: No OFD packet to send [05:13:25]OFD Sender: No OFD packet to send [05:13:30]OFD Sender: No OFD packet to send [05:13:35]OFD Sender: No OFD packet to send [05:13:40]OFD Sender: No OFD packet to send [05:13:45]OFD Sender: No OFD packet to send [05:13:50]OFD Sender: No OFD packet to send [05:13:55]OFD Sender: No OFD packet to send [05:14:00]OFD Sender: No OFD packet to send [05:14:05]OFD Sender: No OFD packet to send [05:14:10]OFD Sender: No OFD packet to send [05:14:15]OFD Sender: No OFD packet to send [05:14:20]OFD Sender: No OFD packet to send [05:14:25]OFD Sender: No OFD packet to send [05:14:30]OFD Sender: No OFD packet to send [05:14:35]OFD Sender: No OFD packet to send [05:14:40]OFD Sender: No OFD packet to send [05:14:45]OFD Sender: No OFD packet to send [05:14:50]OFD Sender: No OFD packet to send [05:14:55]OFD Sender: No OFD packet to send [05:15:00]OFD Sender: No OFD packet to send [05:15:05]OFD Sender: No OFD packet to send [05:15:10]OFD Sender: No OFD packet to send [05:15:15]OFD Sender: No OFD packet to send [05:15:20]OFD Sender: No OFD packet to send [05:15:25]OFD Sender: No OFD packet to send [05:15:30]OFD Sender: No OFD packet to send [05:15:35]OFD Sender: No OFD packet to send [05:15:40]OFD Sender: No OFD packet to send [05:15:45]OFD Sender: No OFD packet to send [05:15:50]OFD Sender: No OFD packet to send [05:15:55]OFD Sender: No OFD packet to send [05:16:00]OFD Sender: No OFD packet to send [05:16:05]OFD Sender: No OFD packet to send [05:16:10]OFD Sender: No OFD packet to send [05:16:15]OFD Sender: No OFD packet to send [05:16:20]OFD Sender: No OFD packet to send [05:16:25]OFD Sender: No OFD packet to send [05:16:30]OFD Sender: No OFD packet to send [05:16:35]OFD Sender: No OFD packet to send [05:16:40]OFD Sender: No OFD packet to send [05:16:45]OFD Sender: No OFD packet to send [05:16:50]OFD Sender: No OFD packet to send [05:16:55]OFD Sender: No OFD packet to send [05:17:00]OFD Sender: No OFD packet to send [05:17:05]OFD Sender: No OFD packet to send [05:17:10]OFD Sender: No OFD packet to send [05:17:15]OFD Sender: No OFD packet to send [05:17:20]OFD Sender: No OFD packet to send [05:17:25]OFD Sender: No OFD packet to send [05:17:30]OFD Sender: No OFD packet to send [05:17:35]OFD Sender: No OFD packet to send [05:17:40]OFD Sender: No OFD packet to send [05:17:45]OFD Sender: No OFD packet to send [05:17:50]OFD Sender: No OFD packet to send [05:17:55]OFD Sender: No OFD packet to send [05:18:00]OFD Sender: No OFD packet to send [05:18:05]OFD Sender: No OFD packet to send [05:18:10]OFD Sender: No OFD packet to send [05:18:15]OFD Sender: No OFD packet to send [05:18:20]OFD Sender: No OFD packet to send [05:18:25]OFD Sender: No OFD packet to send [05:18:30]OFD Sender: No OFD packet to send [05:18:35]OFD Sender: No OFD packet to send [05:18:40]OFD Sender: No OFD packet to send [05:18:45]OFD Sender: No OFD packet to send [05:18:50]OFD Sender: No OFD packet to send [05:18:55]OFD Sender: No OFD packet to send [05:19:00]OFD Sender: No OFD packet to send [05:19:05]OFD Sender: No OFD packet to send [05:19:10]OFD Sender: No OFD packet to send [05:19:15]OFD Sender: No OFD packet to send [05:19:20]OFD Sender: No OFD packet to send [05:19:25]OFD Sender: No OFD packet to send [05:19:30]OFD Sender: No OFD packet to send [05:19:35]OFD Sender: No OFD packet to send [05:19:40]OFD Sender: No OFD packet to send [05:19:45]OFD Sender: No OFD packet to send [05:19:50]OFD Sender: No OFD packet to send [05:19:55]OFD Sender: No OFD packet to send [05:20:00]OFD Sender: No OFD packet to send [05:20:05]OFD Sender: No OFD packet to send [05:20:10]OFD Sender: No OFD packet to send [05:20:15]OFD Sender: No OFD packet to send [05:20:20]OFD Sender: No OFD packet to send [05:20:25]OFD Sender: No OFD packet to send [05:20:30]OFD Sender: No OFD packet to send [05:20:35]OFD Sender: No OFD packet to send [05:20:40]OFD Sender: No OFD packet to send [05:20:45]OFD Sender: No OFD packet to send [05:20:50]OFD Sender: No OFD packet to send [05:20:55]OFD Sender: No OFD packet to send [05:21:00]OFD Sender: No OFD packet to send [05:21:05]OFD Sender: No OFD packet to send [05:21:10]OFD Sender: No OFD packet to send [05:21:15]OFD Sender: No OFD packet to send [05:21:20]OFD Sender: No OFD packet to send [05:21:25]OFD Sender: No OFD packet to send [05:21:30]OFD Sender: No OFD packet to send [05:21:35]OFD Sender: No OFD packet to send [05:21:40]OFD Sender: No OFD packet to send [05:21:45]OFD Sender: No OFD packet to send [05:21:50]OFD Sender: No OFD packet to send [05:21:55]OFD Sender: No OFD packet to send [05:22:00]OFD Sender: No OFD packet to send [05:22:05]OFD Sender: No OFD packet to send [05:22:10]OFD Sender: No OFD packet to send [05:22:15]OFD Sender: No OFD packet to send [05:22:20]OFD Sender: No OFD packet to send [05:22:25]OFD Sender: No OFD packet to send [05:22:30]OFD Sender: No OFD packet to send [05:22:35]OFD Sender: No OFD packet to send [05:22:40]OFD Sender: No OFD packet to send [05:22:45]OFD Sender: No OFD packet to send [05:22:50]OFD Sender: No OFD packet to send [05:22:55]OFD Sender: No OFD packet to send [05:23:00]OFD Sender: No OFD packet to send [05:23:05]OFD Sender: No OFD packet to send [05:23:10]OFD Sender: No OFD packet to send [05:23:15]OFD Sender: No OFD packet to send [05:23:20]OFD Sender: No OFD packet to send [05:23:25]OFD Sender: No OFD packet to send [05:23:30]OFD Sender: No OFD packet to send [05:23:35]OFD Sender: No OFD packet to send [05:23:40]OFD Sender: No OFD packet to send [05:23:45]OFD Sender: No OFD packet to send [05:23:50]OFD Sender: No OFD packet to send [05:23:55]OFD Sender: No OFD packet to send [05:24:00]OFD Sender: No OFD packet to send [05:24:05]OFD Sender: No OFD packet to send [05:24:10]OFD Sender: No OFD packet to send [05:24:15]OFD Sender: No OFD packet to send [05:24:20]OFD Sender: No OFD packet to send [05:24:25]OFD Sender: No OFD packet to send [05:24:30]OFD Sender: No OFD packet to send [05:24:35]OFD Sender: No OFD packet to send [05:24:40]OFD Sender: No OFD packet to send [05:24:45]OFD Sender: No OFD packet to send [05:24:50]OFD Sender: No OFD packet to send [05:24:55]OFD Sender: No OFD packet to send [05:25:00]OFD Sender: No OFD packet to send [05:25:05]OFD Sender: No OFD packet to send [05:25:10]OFD Sender: No OFD packet to send [05:25:15]OFD Sender: No OFD packet to send [05:25:20]OFD Sender: No OFD packet to send [05:25:25]OFD Sender: No OFD packet to send [05:25:30]OFD Sender: No OFD packet to send [05:25:35]OFD Sender: No OFD packet to send [05:25:40]OFD Sender: No OFD packet to send [05:25:45]OFD Sender: No OFD packet to send [05:25:50]OFD Sender: No OFD packet to send [05:25:55]OFD Sender: No OFD packet to send [05:26:00]OFD Sender: No OFD packet to send [05:26:05]OFD Sender: No OFD packet to send [05:26:10]OFD Sender: No OFD packet to send [05:26:15]OFD Sender: No OFD packet to send [05:26:20]OFD Sender: No OFD packet to send [05:26:25]OFD Sender: No OFD packet to send [05:26:30]OFD Sender: No OFD packet to send [05:26:35]OFD Sender: No OFD packet to send [05:26:40]OFD Sender: No OFD packet to send [05:26:45]OFD Sender: No OFD packet to send [05:26:50]OFD Sender: No OFD packet to send [05:26:55]OFD Sender: No OFD packet to send [05:27:00]OFD Sender: No OFD packet to send [05:27:05]OFD Sender: No OFD packet to send [05:27:10]OFD Sender: No OFD packet to send [05:27:15]OFD Sender: No OFD packet to send [05:27:20]OFD Sender: No OFD packet to send [05:27:25]OFD Sender: No OFD packet to send [05:27:30]OFD Sender: No OFD packet to send [05:27:35]OFD Sender: No OFD packet to send [05:27:40]OFD Sender: No OFD packet to send [05:27:45]OFD Sender: No OFD packet to send [05:27:50]OFD Sender: No OFD packet to send [05:27:55]OFD Sender: No OFD packet to send [05:28:00]OFD Sender: No OFD packet to send [05:28:05]OFD Sender: No OFD packet to send [05:28:10]OFD Sender: No OFD packet to send [05:28:15]OFD Sender: No OFD packet to send [05:28:20]OFD Sender: No OFD packet to send [05:28:25]OFD Sender: No OFD packet to send [05:28:30]OFD Sender: No OFD packet to send [05:28:35]OFD Sender: No OFD packet to send [05:28:40]OFD Sender: No OFD packet to send [05:28:45]OFD Sender: No OFD packet to send [05:28:50]OFD Sender: No OFD packet to send [05:28:55]OFD Sender: No OFD packet to send [05:29:00]OFD Sender: No OFD packet to send [05:29:05]OFD Sender: No OFD packet to send [05:29:10]OFD Sender: No OFD packet to send [05:29:15]OFD Sender: No OFD packet to send [05:29:20]OFD Sender: No OFD packet to send [05:29:25]OFD Sender: No OFD packet to send [05:29:30]OFD Sender: No OFD packet to send [05:29:35]OFD Sender: No OFD packet to send [05:29:40]OFD Sender: No OFD packet to send [05:29:45]OFD Sender: No OFD packet to send [05:29:50]OFD Sender: No OFD packet to send [05:29:55]OFD Sender: No OFD packet to send [05:30:01]OFD Sender: No OFD packet to send [05:30:06]OFD Sender: No OFD packet to send [05:30:11]OFD Sender: No OFD packet to send [05:30:16]OFD Sender: No OFD packet to send [05:30:21]OFD Sender: No OFD packet to send [05:30:26]OFD Sender: No OFD packet to send [05:30:31]OFD Sender: No OFD packet to send [05:30:36]OFD Sender: No OFD packet to send [05:30:41]OFD Sender: No OFD packet to send [05:30:46]OFD Sender: No OFD packet to send [05:30:51]OFD Sender: No OFD packet to send [05:30:56]OFD Sender: No OFD packet to send [05:31:01]OFD Sender: No OFD packet to send [05:31:06]OFD Sender: No OFD packet to send [05:31:11]OFD Sender: No OFD packet to send [05:31:16]OFD Sender: No OFD packet to send [05:31:21]OFD Sender: No OFD packet to send [05:31:26]OFD Sender: No OFD packet to send [05:31:31]OFD Sender: No OFD packet to send [05:31:36]OFD Sender: No OFD packet to send [05:31:41]OFD Sender: No OFD packet to send [05:31:46]OFD Sender: No OFD packet to send [05:31:51]OFD Sender: No OFD packet to send [05:31:56]OFD Sender: No OFD packet to send [05:32:01]OFD Sender: No OFD packet to send [05:32:06]OFD Sender: No OFD packet to send [05:32:11]OFD Sender: No OFD packet to send [05:32:16]OFD Sender: No OFD packet to send [05:32:21]OFD Sender: No OFD packet to send [05:32:26]OFD Sender: No OFD packet to send [05:32:31]OFD Sender: No OFD packet to send [05:32:36]OFD Sender: No OFD packet to send [05:32:41]OFD Sender: No OFD packet to send [05:32:46]OFD Sender: No OFD packet to send [05:32:51]OFD Sender: No OFD packet to send [05:32:56]OFD Sender: No OFD packet to send [05:33:01]OFD Sender: No OFD packet to send [05:33:06]OFD Sender: No OFD packet to send [05:33:11]OFD Sender: No OFD packet to send [05:33:16]OFD Sender: No OFD packet to send [05:33:21]OFD Sender: No OFD packet to send [05:33:26]OFD Sender: No OFD packet to send [05:33:31]OFD Sender: No OFD packet to send [05:33:36]OFD Sender: No OFD packet to send [05:33:41]OFD Sender: No OFD packet to send [05:33:46]OFD Sender: No OFD packet to send [05:33:51]OFD Sender: No OFD packet to send [05:33:56]OFD Sender: No OFD packet to send [05:34:01]OFD Sender: No OFD packet to send [05:34:06]OFD Sender: No OFD packet to send [05:34:11]OFD Sender: No OFD packet to send [05:34:16]OFD Sender: No OFD packet to send [05:34:21]OFD Sender: No OFD packet to send [05:34:26]OFD Sender: No OFD packet to send [05:34:31]OFD Sender: No OFD packet to send [05:34:36]OFD Sender: No OFD packet to send [05:34:41]OFD Sender: No OFD packet to send [05:34:46]OFD Sender: No OFD packet to send [05:34:51]OFD Sender: No OFD packet to send [05:34:56]OFD Sender: No OFD packet to send [05:35:01]OFD Sender: No OFD packet to send [05:35:06]OFD Sender: No OFD packet to send [05:35:11]OFD Sender: No OFD packet to send [05:35:16]OFD Sender: No OFD packet to send [05:35:21]OFD Sender: No OFD packet to send [05:35:26]OFD Sender: No OFD packet to send [05:35:31]OFD Sender: No OFD packet to send [05:35:36]OFD Sender: No OFD packet to send [05:35:41]OFD Sender: No OFD packet to send [05:35:46]OFD Sender: No OFD packet to send [05:35:51]OFD Sender: No OFD packet to send [05:35:56]OFD Sender: No OFD packet to send [05:36:01]OFD Sender: No OFD packet to send [05:36:06]OFD Sender: No OFD packet to send [05:36:11]OFD Sender: No OFD packet to send [05:36:16]OFD Sender: No OFD packet to send [05:36:21]OFD Sender: No OFD packet to send [05:36:26]OFD Sender: No OFD packet to send [05:36:31]OFD Sender: No OFD packet to send [05:36:36]OFD Sender: No OFD packet to send [05:36:41]OFD Sender: No OFD packet to send [05:36:46]OFD Sender: No OFD packet to send [05:36:51]OFD Sender: No OFD packet to send [05:36:56]OFD Sender: No OFD packet to send [05:37:01]OFD Sender: No OFD packet to send [05:37:06]OFD Sender: No OFD packet to send [05:37:11]OFD Sender: No OFD packet to send [05:37:16]OFD Sender: No OFD packet to send [05:37:21]OFD Sender: No OFD packet to send [05:37:26]OFD Sender: No OFD packet to send [05:37:31]OFD Sender: No OFD packet to send [05:37:36]OFD Sender: No OFD packet to send [05:37:41]OFD Sender: No OFD packet to send [05:37:46]OFD Sender: No OFD packet to send [05:37:51]OFD Sender: No OFD packet to send [05:37:56]OFD Sender: No OFD packet to send [05:38:01]OFD Sender: No OFD packet to send [05:38:06]OFD Sender: No OFD packet to send [05:38:11]OFD Sender: No OFD packet to send [05:38:16]OFD Sender: No OFD packet to send [05:38:21]OFD Sender: No OFD packet to send [05:38:26]OFD Sender: No OFD packet to send [05:38:31]OFD Sender: No OFD packet to send [05:38:36]OFD Sender: No OFD packet to send [05:38:41]OFD Sender: No OFD packet to send [05:38:46]OFD Sender: No OFD packet to send [05:38:51]OFD Sender: No OFD packet to send [05:38:56]OFD Sender: No OFD packet to send [05:39:01]OFD Sender: No OFD packet to send [05:39:06]OFD Sender: No OFD packet to send [05:39:11]OFD Sender: No OFD packet to send [05:39:16]OFD Sender: No OFD packet to send [05:39:21]OFD Sender: No OFD packet to send [05:39:26]OFD Sender: No OFD packet to send [05:39:31]OFD Sender: No OFD packet to send [05:39:36]OFD Sender: No OFD packet to send [05:39:41]OFD Sender: No OFD packet to send [05:39:46]OFD Sender: No OFD packet to send [05:39:51]OFD Sender: No OFD packet to send [05:39:56]OFD Sender: No OFD packet to send [05:40:01]OFD Sender: No OFD packet to send [05:40:06]OFD Sender: No OFD packet to send [05:40:11]OFD Sender: No OFD packet to send [05:40:16]OFD Sender: No OFD packet to send [05:40:21]OFD Sender: No OFD packet to send [05:40:26]OFD Sender: No OFD packet to send [05:40:31]OFD Sender: No OFD packet to send [05:40:36]OFD Sender: No OFD packet to send [05:40:41]OFD Sender: No OFD packet to send [05:40:46]OFD Sender: No OFD packet to send [05:40:51]OFD Sender: No OFD packet to send [05:40:56]OFD Sender: No OFD packet to send [05:41:01]OFD Sender: No OFD packet to send [05:41:06]OFD Sender: No OFD packet to send [05:41:11]OFD Sender: No OFD packet to send [05:41:16]OFD Sender: No OFD packet to send [05:41:21]OFD Sender: No OFD packet to send [05:41:26]OFD Sender: No OFD packet to send [05:41:31]OFD Sender: No OFD packet to send [05:41:36]OFD Sender: No OFD packet to send [05:41:41]OFD Sender: No OFD packet to send [05:41:46]OFD Sender: No OFD packet to send [05:41:51]OFD Sender: No OFD packet to send [05:41:56]OFD Sender: No OFD packet to send [05:42:01]OFD Sender: No OFD packet to send [05:42:06]OFD Sender: No OFD packet to send [05:42:11]OFD Sender: No OFD packet to send [05:42:16]OFD Sender: No OFD packet to send [05:42:21]OFD Sender: No OFD packet to send [05:42:26]OFD Sender: No OFD packet to send [05:42:31]OFD Sender: No OFD packet to send [05:42:36]OFD Sender: No OFD packet to send [05:42:41]OFD Sender: No OFD packet to send [05:42:46]OFD Sender: No OFD packet to send [05:42:51]OFD Sender: No OFD packet to send [05:42:56]OFD Sender: No OFD packet to send [05:43:01]OFD Sender: No OFD packet to send [05:43:06]OFD Sender: No OFD packet to send [05:43:11]OFD Sender: No OFD packet to send [05:43:16]OFD Sender: No OFD packet to send [05:43:21]OFD Sender: No OFD packet to send [05:43:26]OFD Sender: No OFD packet to send [05:43:31]OFD Sender: No OFD packet to send [05:43:36]OFD Sender: No OFD packet to send [05:43:41]OFD Sender: No OFD packet to send [05:43:46]OFD Sender: No OFD packet to send [05:43:51]OFD Sender: No OFD packet to send [05:43:56]OFD Sender: No OFD packet to send [05:44:01]OFD Sender: No OFD packet to send [05:44:06]OFD Sender: No OFD packet to send [05:44:11]OFD Sender: No OFD packet to send [05:44:16]OFD Sender: No OFD packet to send [05:44:21]OFD Sender: No OFD packet to send [05:44:26]OFD Sender: No OFD packet to send [05:44:31]OFD Sender: No OFD packet to send [05:44:36]OFD Sender: No OFD packet to send [05:44:41]OFD Sender: No OFD packet to send [05:44:46]OFD Sender: No OFD packet to send [05:44:51]OFD Sender: No OFD packet to send [05:44:56]OFD Sender: No OFD packet to send [05:45:01]OFD Sender: No OFD packet to send [05:45:06]OFD Sender: No OFD packet to send [05:45:11]OFD Sender: No OFD packet to send [05:45:16]OFD Sender: No OFD packet to send [05:45:21]OFD Sender: No OFD packet to send [05:45:26]OFD Sender: No OFD packet to send [05:45:31]OFD Sender: No OFD packet to send [05:45:36]OFD Sender: No OFD packet to send [05:45:41]OFD Sender: No OFD packet to send [05:45:46]OFD Sender: No OFD packet to send [05:45:51]OFD Sender: No OFD packet to send [05:45:56]OFD Sender: No OFD packet to send [05:46:01]OFD Sender: No OFD packet to send [05:46:06]OFD Sender: No OFD packet to send [05:46:11]OFD Sender: No OFD packet to send [05:46:16]OFD Sender: No OFD packet to send [05:46:21]OFD Sender: No OFD packet to send [05:46:26]OFD Sender: No OFD packet to send [05:46:31]OFD Sender: No OFD packet to send [05:46:36]OFD Sender: No OFD packet to send [05:46:41]OFD Sender: No OFD packet to send [05:46:46]OFD Sender: No OFD packet to send [05:46:51]OFD Sender: No OFD packet to send [05:46:56]OFD Sender: No OFD packet to send [05:47:01]OFD Sender: No OFD packet to send [05:47:06]OFD Sender: No OFD packet to send [05:47:11]OFD Sender: No OFD packet to send [05:47:16]OFD Sender: No OFD packet to send [05:47:21]OFD Sender: No OFD packet to send [05:47:26]OFD Sender: No OFD packet to send [05:47:31]OFD Sender: No OFD packet to send [05:47:36]OFD Sender: No OFD packet to send [05:47:41]OFD Sender: No OFD packet to send [05:47:46]OFD Sender: No OFD packet to send [05:47:51]OFD Sender: No OFD packet to send [05:47:56]OFD Sender: No OFD packet to send [05:48:01]OFD Sender: No OFD packet to send [05:48:06]OFD Sender: No OFD packet to send [05:48:11]OFD Sender: No OFD packet to send [05:48:16]OFD Sender: No OFD packet to send [05:48:21]OFD Sender: No OFD packet to send [05:48:26]OFD Sender: No OFD packet to send [05:48:31]OFD Sender: No OFD packet to send [05:48:36]OFD Sender: No OFD packet to send [05:48:41]OFD Sender: No OFD packet to send [05:48:46]OFD Sender: No OFD packet to send [05:48:51]OFD Sender: No OFD packet to send [05:48:56]OFD Sender: No OFD packet to send [05:49:01]OFD Sender: No OFD packet to send [05:49:06]OFD Sender: No OFD packet to send [05:49:11]OFD Sender: No OFD packet to send [05:49:16]OFD Sender: No OFD packet to send [05:49:21]OFD Sender: No OFD packet to send [05:49:26]OFD Sender: No OFD packet to send [05:49:31]OFD Sender: No OFD packet to send [05:49:36]OFD Sender: No OFD packet to send [05:49:41]OFD Sender: No OFD packet to send [05:49:46]OFD Sender: No OFD packet to send [05:49:51]OFD Sender: No OFD packet to send [05:49:56]OFD Sender: No OFD packet to send [05:50:01]OFD Sender: No OFD packet to send [05:50:06]OFD Sender: No OFD packet to send [05:50:11]OFD Sender: No OFD packet to send [05:50:16]OFD Sender: No OFD packet to send [05:50:21]OFD Sender: No OFD packet to send [05:50:26]OFD Sender: No OFD packet to send [05:50:31]OFD Sender: No OFD packet to send [05:50:36]OFD Sender: No OFD packet to send [05:50:41]OFD Sender: No OFD packet to send [05:50:46]OFD Sender: No OFD packet to send [05:50:51]OFD Sender: No OFD packet to send [05:50:56]OFD Sender: No OFD packet to send [05:51:01]OFD Sender: No OFD packet to send [05:51:06]OFD Sender: No OFD packet to send [05:51:11]OFD Sender: No OFD packet to send [05:51:16]OFD Sender: No OFD packet to send [05:51:21]OFD Sender: No OFD packet to send [05:51:26]OFD Sender: No OFD packet to send [05:51:31]OFD Sender: No OFD packet to send [05:51:37]OFD Sender: No OFD packet to send [05:51:42]OFD Sender: No OFD packet to send [05:51:47]OFD Sender: No OFD packet to send [05:51:52]OFD Sender: No OFD packet to send [05:51:57]OFD Sender: No OFD packet to send [05:52:02]OFD Sender: No OFD packet to send [05:52:07]OFD Sender: No OFD packet to send [05:52:12]OFD Sender: No OFD packet to send [05:52:17]OFD Sender: No OFD packet to send [05:52:22]OFD Sender: No OFD packet to send [05:52:27]OFD Sender: No OFD packet to send [05:52:32]OFD Sender: No OFD packet to send [05:52:37]OFD Sender: No OFD packet to send [05:52:42]OFD Sender: No OFD packet to send [05:52:47]OFD Sender: No OFD packet to send [05:52:52]OFD Sender: No OFD packet to send [05:52:57]OFD Sender: No OFD packet to send [05:53:02]OFD Sender: No OFD packet to send [05:53:07]OFD Sender: No OFD packet to send [05:53:12]OFD Sender: No OFD packet to send [05:53:17]OFD Sender: No OFD packet to send [05:53:22]OFD Sender: No OFD packet to send [05:53:27]OFD Sender: No OFD packet to send [05:53:32]OFD Sender: No OFD packet to send [05:53:37]OFD Sender: No OFD packet to send [05:53:42]OFD Sender: No OFD packet to send [05:53:47]OFD Sender: No OFD packet to send [05:53:52]OFD Sender: No OFD packet to send [05:53:57]OFD Sender: No OFD packet to send [05:54:02]OFD Sender: No OFD packet to send [05:54:07]OFD Sender: No OFD packet to send [05:54:12]OFD Sender: No OFD packet to send [05:54:17]OFD Sender: No OFD packet to send [05:54:22]OFD Sender: No OFD packet to send [05:54:27]OFD Sender: No OFD packet to send [05:54:32]OFD Sender: No OFD packet to send [05:54:37]OFD Sender: No OFD packet to send [05:54:42]OFD Sender: No OFD packet to send [05:54:47]OFD Sender: No OFD packet to send [05:54:52]OFD Sender: No OFD packet to send [05:54:57]OFD Sender: No OFD packet to send [05:55:02]OFD Sender: No OFD packet to send [05:55:07]OFD Sender: No OFD packet to send [05:55:12]OFD Sender: No OFD packet to send [05:55:17]OFD Sender: No OFD packet to send [05:55:22]OFD Sender: No OFD packet to send [05:55:27]OFD Sender: No OFD packet to send [05:55:32]OFD Sender: No OFD packet to send [05:55:37]OFD Sender: No OFD packet to send [05:55:42]OFD Sender: No OFD packet to send [05:55:47]OFD Sender: No OFD packet to send [05:55:52]OFD Sender: No OFD packet to send [05:55:57]OFD Sender: No OFD packet to send [05:56:02]OFD Sender: No OFD packet to send [05:56:07]OFD Sender: No OFD packet to send [05:56:12]OFD Sender: No OFD packet to send [05:56:17]OFD Sender: No OFD packet to send [05:56:22]OFD Sender: No OFD packet to send [05:56:27]OFD Sender: No OFD packet to send [05:56:32]OFD Sender: No OFD packet to send [05:56:37]OFD Sender: No OFD packet to send [05:56:42]OFD Sender: No OFD packet to send [05:56:47]OFD Sender: No OFD packet to send [05:56:52]OFD Sender: No OFD packet to send [05:56:57]OFD Sender: No OFD packet to send [05:57:02]OFD Sender: No OFD packet to send [05:57:07]OFD Sender: No OFD packet to send [05:57:12]OFD Sender: No OFD packet to send [05:57:17]OFD Sender: No OFD packet to send [05:57:22]OFD Sender: No OFD packet to send [05:57:27]OFD Sender: No OFD packet to send [05:57:32]OFD Sender: No OFD packet to send [05:57:37]OFD Sender: No OFD packet to send [05:57:42]OFD Sender: No OFD packet to send [05:57:47]OFD Sender: No OFD packet to send [05:57:52]OFD Sender: No OFD packet to send [05:57:57]OFD Sender: No OFD packet to send [05:58:02]OFD Sender: No OFD packet to send [05:58:07]OFD Sender: No OFD packet to send [05:58:12]OFD Sender: No OFD packet to send [05:58:17]OFD Sender: No OFD packet to send [05:58:22]OFD Sender: No OFD packet to send [05:58:27]OFD Sender: No OFD packet to send [05:58:32]OFD Sender: No OFD packet to send [05:58:37]OFD Sender: No OFD packet to send [05:58:42]OFD Sender: No OFD packet to send [05:58:47]OFD Sender: No OFD packet to send [05:58:52]OFD Sender: No OFD packet to send [05:58:57]OFD Sender: No OFD packet to send [05:59:02]OFD Sender: No OFD packet to send [05:59:07]OFD Sender: No OFD packet to send [05:59:12]OFD Sender: No OFD packet to send [05:59:17]OFD Sender: No OFD packet to send [05:59:22]OFD Sender: No OFD packet to send [05:59:27]OFD Sender: No OFD packet to send [05:59:32]OFD Sender: No OFD packet to send [05:59:37]OFD Sender: No OFD packet to send [05:59:42]OFD Sender: No OFD packet to send [05:59:47]OFD Sender: No OFD packet to send [05:59:52]OFD Sender: No OFD packet to send [05:59:57]OFD Sender: No OFD packet to send [06:00:02]OFD Sender: No OFD packet to send [06:00:07]OFD Sender: No OFD packet to send [06:00:12]OFD Sender: No OFD packet to send [06:00:17]OFD Sender: No OFD packet to send [06:00:22]OFD Sender: No OFD packet to send [06:00:27]OFD Sender: No OFD packet to send [06:00:32]OFD Sender: No OFD packet to send [06:00:37]OFD Sender: No OFD packet to send [06:00:42]OFD Sender: No OFD packet to send [06:00:47]OFD Sender: No OFD packet to send [06:00:52]OFD Sender: No OFD packet to send [06:00:57]OFD Sender: No OFD packet to send [06:01:02]OFD Sender: No OFD packet to send [06:01:07]OFD Sender: No OFD packet to send [06:01:12]OFD Sender: No OFD packet to send [06:01:17]OFD Sender: No OFD packet to send [06:01:22]OFD Sender: No OFD packet to send [06:01:27]OFD Sender: No OFD packet to send [06:01:32]OFD Sender: No OFD packet to send [06:01:37]OFD Sender: No OFD packet to send [06:01:42]OFD Sender: No OFD packet to send [06:01:47]OFD Sender: No OFD packet to send [06:01:52]OFD Sender: No OFD packet to send [06:01:57]OFD Sender: No OFD packet to send [06:02:02]OFD Sender: No OFD packet to send [06:02:07]OFD Sender: No OFD packet to send [06:02:12]OFD Sender: No OFD packet to send [06:02:17]OFD Sender: No OFD packet to send [06:02:22]OFD Sender: No OFD packet to send [06:02:27]OFD Sender: No OFD packet to send [06:02:32]OFD Sender: No OFD packet to send [06:02:37]OFD Sender: No OFD packet to send [06:02:42]OFD Sender: No OFD packet to send [06:02:47]OFD Sender: No OFD packet to send [06:02:52]OFD Sender: No OFD packet to send [06:02:57]OFD Sender: No OFD packet to send [06:03:02]OFD Sender: No OFD packet to send [06:03:07]OFD Sender: No OFD packet to send [06:03:12]OFD Sender: No OFD packet to send [06:03:17]OFD Sender: No OFD packet to send [06:03:22]OFD Sender: No OFD packet to send [06:03:27]OFD Sender: No OFD packet to send [06:03:32]OFD Sender: No OFD packet to send [06:03:37]OFD Sender: No OFD packet to send [06:03:42]OFD Sender: No OFD packet to send [06:03:47]OFD Sender: No OFD packet to send [06:03:52]OFD Sender: No OFD packet to send [06:03:57]OFD Sender: No OFD packet to send [06:04:02]OFD Sender: No OFD packet to send [06:04:07]OFD Sender: No OFD packet to send [06:04:12]OFD Sender: No OFD packet to send [06:04:17]OFD Sender: No OFD packet to send [06:04:22]OFD Sender: No OFD packet to send [06:04:27]OFD Sender: No OFD packet to send [06:04:32]OFD Sender: No OFD packet to send [06:04:37]OFD Sender: No OFD packet to send [06:04:42]OFD Sender: No OFD packet to send [06:04:47]OFD Sender: No OFD packet to send [06:04:52]OFD Sender: No OFD packet to send [06:04:57]OFD Sender: No OFD packet to send [06:05:02]OFD Sender: No OFD packet to send [06:05:07]OFD Sender: No OFD packet to send [06:05:12]OFD Sender: No OFD packet to send [06:05:17]OFD Sender: No OFD packet to send [06:05:22]OFD Sender: No OFD packet to send [06:05:27]OFD Sender: No OFD packet to send [06:05:32]OFD Sender: No OFD packet to send [06:05:37]OFD Sender: No OFD packet to send [06:05:42]OFD Sender: No OFD packet to send [06:05:47]OFD Sender: No OFD packet to send [06:05:52]OFD Sender: No OFD packet to send [06:05:57]OFD Sender: No OFD packet to send [06:06:02]OFD Sender: No OFD packet to send [06:06:07]OFD Sender: No OFD packet to send [06:06:12]OFD Sender: No OFD packet to send [06:06:17]OFD Sender: No OFD packet to send [06:06:22]OFD Sender: No OFD packet to send [06:06:27]OFD Sender: No OFD packet to send [06:06:32]OFD Sender: No OFD packet to send [06:06:37]OFD Sender: No OFD packet to send [06:06:42]OFD Sender: No OFD packet to send [06:06:47]OFD Sender: No OFD packet to send [06:06:52]OFD Sender: No OFD packet to send [06:06:57]OFD Sender: No OFD packet to send [06:07:02]OFD Sender: No OFD packet to send [06:07:07]OFD Sender: No OFD packet to send [06:07:12]OFD Sender: No OFD packet to send [06:07:17]OFD Sender: No OFD packet to send [06:07:22]OFD Sender: No OFD packet to send [06:07:27]OFD Sender: No OFD packet to send [06:07:32]OFD Sender: No OFD packet to send [06:07:37]OFD Sender: No OFD packet to send [06:07:42]OFD Sender: No OFD packet to send [06:07:47]OFD Sender: No OFD packet to send [06:07:52]OFD Sender: No OFD packet to send [06:07:57]OFD Sender: No OFD packet to send [06:08:02]OFD Sender: No OFD packet to send [06:08:07]OFD Sender: No OFD packet to send [06:08:12]OFD Sender: No OFD packet to send [06:08:17]OFD Sender: No OFD packet to send [06:08:22]OFD Sender: No OFD packet to send [06:08:27]OFD Sender: No OFD packet to send [06:08:32]OFD Sender: No OFD packet to send [06:08:37]OFD Sender: No OFD packet to send [06:08:42]OFD Sender: No OFD packet to send [06:08:47]OFD Sender: No OFD packet to send [06:08:52]OFD Sender: No OFD packet to send [06:08:57]OFD Sender: No OFD packet to send [06:09:02]OFD Sender: No OFD packet to send [06:09:07]OFD Sender: No OFD packet to send [06:09:12]OFD Sender: No OFD packet to send [06:09:17]OFD Sender: No OFD packet to send [06:09:22]OFD Sender: No OFD packet to send [06:09:27]OFD Sender: No OFD packet to send [06:09:32]OFD Sender: No OFD packet to send [06:09:37]OFD Sender: No OFD packet to send [06:09:42]OFD Sender: No OFD packet to send [06:09:47]OFD Sender: No OFD packet to send [06:09:52]OFD Sender: No OFD packet to send [06:09:57]OFD Sender: No OFD packet to send [06:10:02]OFD Sender: No OFD packet to send [06:10:07]OFD Sender: No OFD packet to send [06:10:12]OFD Sender: No OFD packet to send [06:10:17]OFD Sender: No OFD packet to send [06:10:22]OFD Sender: No OFD packet to send [06:10:27]OFD Sender: No OFD packet to send [06:10:32]OFD Sender: No OFD packet to send [06:10:37]OFD Sender: No OFD packet to send [06:10:42]OFD Sender: No OFD packet to send [06:10:47]OFD Sender: No OFD packet to send [06:10:52]OFD Sender: No OFD packet to send [06:10:57]OFD Sender: No OFD packet to send [06:11:02]OFD Sender: No OFD packet to send [06:11:07]OFD Sender: No OFD packet to send [06:11:12]OFD Sender: No OFD packet to send [06:11:17]OFD Sender: No OFD packet to send [06:11:22]OFD Sender: No OFD packet to send [06:11:27]OFD Sender: No OFD packet to send [06:11:32]OFD Sender: No OFD packet to send [06:11:37]OFD Sender: No OFD packet to send [06:11:42]OFD Sender: No OFD packet to send [06:11:47]OFD Sender: No OFD packet to send [06:11:52]OFD Sender: No OFD packet to send [06:11:57]OFD Sender: No OFD packet to send [06:12:02]OFD Sender: No OFD packet to send [06:12:07]OFD Sender: No OFD packet to send [06:12:12]OFD Sender: No OFD packet to send [06:12:17]OFD Sender: No OFD packet to send [06:12:22]OFD Sender: No OFD packet to send [06:12:27]OFD Sender: No OFD packet to send [06:12:32]OFD Sender: No OFD packet to send [06:12:37]OFD Sender: No OFD packet to send [06:12:42]OFD Sender: No OFD packet to send [06:12:47]OFD Sender: No OFD packet to send [06:12:52]OFD Sender: No OFD packet to send [06:12:58]OFD Sender: No OFD packet to send [06:13:03]OFD Sender: No OFD packet to send [06:13:08]OFD Sender: No OFD packet to send [06:13:13]OFD Sender: No OFD packet to send [06:13:18]OFD Sender: No OFD packet to send [06:13:23]OFD Sender: No OFD packet to send [06:13:28]OFD Sender: No OFD packet to send [06:13:33]OFD Sender: No OFD packet to send [06:13:38]OFD Sender: No OFD packet to send [06:13:43]OFD Sender: No OFD packet to send [06:13:48]OFD Sender: No OFD packet to send [06:13:53]OFD Sender: No OFD packet to send [06:13:58]OFD Sender: No OFD packet to send [06:14:03]OFD Sender: No OFD packet to send [06:14:08]OFD Sender: No OFD packet to send [06:14:13]OFD Sender: No OFD packet to send [06:14:18]OFD Sender: No OFD packet to send [06:14:23]OFD Sender: No OFD packet to send [06:14:28]OFD Sender: No OFD packet to send [06:14:33]OFD Sender: No OFD packet to send [06:14:38]OFD Sender: No OFD packet to send [06:14:43]OFD Sender: No OFD packet to send [06:14:48]OFD Sender: No OFD packet to send [06:14:53]OFD Sender: No OFD packet to send [06:14:58]OFD Sender: No OFD packet to send [06:15:03]OFD Sender: No OFD packet to send [06:15:08]OFD Sender: No OFD packet to send [06:15:13]OFD Sender: No OFD packet to send [06:15:18]OFD Sender: No OFD packet to send [06:15:23]OFD Sender: No OFD packet to send [06:15:28]OFD Sender: No OFD packet to send [06:15:33]OFD Sender: No OFD packet to send [06:15:38]OFD Sender: No OFD packet to send [06:15:43]OFD Sender: No OFD packet to send [06:15:48]OFD Sender: No OFD packet to send [06:15:53]OFD Sender: No OFD packet to send [06:15:58]OFD Sender: No OFD packet to send [06:16:03]OFD Sender: No OFD packet to send [06:16:08]OFD Sender: No OFD packet to send [06:16:13]OFD Sender: No OFD packet to send [06:16:18]OFD Sender: No OFD packet to send [06:16:23]OFD Sender: No OFD packet to send [06:16:28]OFD Sender: No OFD packet to send [06:16:33]OFD Sender: No OFD packet to send [06:16:38]OFD Sender: No OFD packet to send [06:16:43]OFD Sender: No OFD packet to send [06:16:48]OFD Sender: No OFD packet to send [06:16:53]OFD Sender: No OFD packet to send [06:16:58]OFD Sender: No OFD packet to send [06:17:03]OFD Sender: No OFD packet to send [06:17:08]OFD Sender: No OFD packet to send [06:17:13]OFD Sender: No OFD packet to send [06:17:18]OFD Sender: No OFD packet to send [06:17:23]OFD Sender: No OFD packet to send [06:17:28]OFD Sender: No OFD packet to send [06:17:33]OFD Sender: No OFD packet to send [06:17:38]OFD Sender: No OFD packet to send [06:17:43]OFD Sender: No OFD packet to send [06:17:48]OFD Sender: No OFD packet to send [06:17:53]OFD Sender: No OFD packet to send [06:17:58]OFD Sender: No OFD packet to send [06:18:03]OFD Sender: No OFD packet to send [06:18:08]OFD Sender: No OFD packet to send [06:18:13]OFD Sender: No OFD packet to send [06:18:18]OFD Sender: No OFD packet to send [06:18:23]OFD Sender: No OFD packet to send [06:18:28]OFD Sender: No OFD packet to send [06:18:33]OFD Sender: No OFD packet to send [06:18:38]OFD Sender: No OFD packet to send [06:18:43]OFD Sender: No OFD packet to send [06:18:48]OFD Sender: No OFD packet to send [06:18:53]OFD Sender: No OFD packet to send [06:18:58]OFD Sender: No OFD packet to send [06:19:03]OFD Sender: No OFD packet to send [06:19:08]OFD Sender: No OFD packet to send [06:19:13]OFD Sender: No OFD packet to send [06:19:18]OFD Sender: No OFD packet to send [06:19:23]OFD Sender: No OFD packet to send [06:19:28]OFD Sender: No OFD packet to send [06:19:33]OFD Sender: No OFD packet to send [06:19:38]OFD Sender: No OFD packet to send [06:19:43]OFD Sender: No OFD packet to send [06:19:48]OFD Sender: No OFD packet to send [06:19:53]OFD Sender: No OFD packet to send [06:19:58]OFD Sender: No OFD packet to send [06:20:03]OFD Sender: No OFD packet to send [06:20:08]OFD Sender: No OFD packet to send [06:20:13]OFD Sender: No OFD packet to send [06:20:18]OFD Sender: No OFD packet to send [06:20:23]OFD Sender: No OFD packet to send [06:20:28]OFD Sender: No OFD packet to send [06:20:33]OFD Sender: No OFD packet to send [06:20:38]OFD Sender: No OFD packet to send [06:20:43]OFD Sender: No OFD packet to send [06:20:48]OFD Sender: No OFD packet to send [06:20:53]OFD Sender: No OFD packet to send [06:20:58]OFD Sender: No OFD packet to send [06:21:03]OFD Sender: No OFD packet to send [06:21:08]OFD Sender: No OFD packet to send [06:21:13]OFD Sender: No OFD packet to send [06:21:18]OFD Sender: No OFD packet to send [06:21:23]OFD Sender: No OFD packet to send [06:21:28]OFD Sender: No OFD packet to send [06:21:33]OFD Sender: No OFD packet to send [06:21:38]OFD Sender: No OFD packet to send [06:21:43]OFD Sender: No OFD packet to send [06:21:48]OFD Sender: No OFD packet to send [06:21:53]OFD Sender: No OFD packet to send [06:21:58]OFD Sender: No OFD packet to send [06:22:03]OFD Sender: No OFD packet to send [06:22:08]OFD Sender: No OFD packet to send [06:22:13]OFD Sender: No OFD packet to send [06:22:18]OFD Sender: No OFD packet to send [06:22:23]OFD Sender: No OFD packet to send [06:22:28]OFD Sender: No OFD packet to send [06:22:33]OFD Sender: No OFD packet to send [06:22:38]OFD Sender: No OFD packet to send [06:22:43]OFD Sender: No OFD packet to send [06:22:48]OFD Sender: No OFD packet to send [06:22:53]OFD Sender: No OFD packet to send [06:22:58]OFD Sender: No OFD packet to send [06:23:03]OFD Sender: No OFD packet to send [06:23:08]OFD Sender: No OFD packet to send [06:23:13]OFD Sender: No OFD packet to send [06:23:18]OFD Sender: No OFD packet to send [06:23:23]OFD Sender: No OFD packet to send [06:23:28]OFD Sender: No OFD packet to send [06:23:33]OFD Sender: No OFD packet to send [06:23:38]OFD Sender: No OFD packet to send [06:23:43]OFD Sender: No OFD packet to send [06:23:48]OFD Sender: No OFD packet to send [06:23:53]OFD Sender: No OFD packet to send [06:23:58]OFD Sender: No OFD packet to send [06:24:03]OFD Sender: No OFD packet to send [06:24:08]OFD Sender: No OFD packet to send [06:24:13]OFD Sender: No OFD packet to send [06:24:18]OFD Sender: No OFD packet to send [06:24:23]OFD Sender: No OFD packet to send [06:24:28]OFD Sender: No OFD packet to send [06:24:33]OFD Sender: No OFD packet to send [06:24:38]OFD Sender: No OFD packet to send [06:24:43]OFD Sender: No OFD packet to send [06:24:48]OFD Sender: No OFD packet to send [06:24:53]OFD Sender: No OFD packet to send [06:24:58]OFD Sender: No OFD packet to send [06:25:03]OFD Sender: No OFD packet to send [06:25:08]OFD Sender: No OFD packet to send [06:25:13]OFD Sender: No OFD packet to send [06:25:18]OFD Sender: No OFD packet to send [06:25:23]OFD Sender: No OFD packet to send [06:25:28]OFD Sender: No OFD packet to send [06:25:33]OFD Sender: No OFD packet to send [06:25:38]OFD Sender: No OFD packet to send [06:25:43]OFD Sender: No OFD packet to send [06:25:48]OFD Sender: No OFD packet to send [06:25:53]OFD Sender: No OFD packet to send [06:25:58]OFD Sender: No OFD packet to send [06:26:03]OFD Sender: No OFD packet to send [06:26:08]OFD Sender: No OFD packet to send [06:26:13]OFD Sender: No OFD packet to send [06:26:18]OFD Sender: No OFD packet to send [06:26:23]OFD Sender: No OFD packet to send [06:26:28]OFD Sender: No OFD packet to send [06:26:33]OFD Sender: No OFD packet to send [06:26:38]OFD Sender: No OFD packet to send [06:26:43]OFD Sender: No OFD packet to send [06:26:48]OFD Sender: No OFD packet to send [06:26:53]OFD Sender: No OFD packet to send [06:26:58]OFD Sender: No OFD packet to send [06:27:03]OFD Sender: No OFD packet to send [06:27:08]OFD Sender: No OFD packet to send [06:27:13]OFD Sender: No OFD packet to send [06:27:18]OFD Sender: No OFD packet to send [06:27:23]OFD Sender: No OFD packet to send [06:27:28]OFD Sender: No OFD packet to send [06:27:33]OFD Sender: No OFD packet to send [06:27:38]OFD Sender: No OFD packet to send [06:27:43]OFD Sender: No OFD packet to send [06:27:48]OFD Sender: No OFD packet to send [06:27:53]OFD Sender: No OFD packet to send [06:27:58]OFD Sender: No OFD packet to send [06:28:03]OFD Sender: No OFD packet to send [06:28:08]OFD Sender: No OFD packet to send [06:28:13]OFD Sender: No OFD packet to send [06:28:18]OFD Sender: No OFD packet to send [06:28:23]OFD Sender: No OFD packet to send [06:28:28]OFD Sender: No OFD packet to send [06:28:33]OFD Sender: No OFD packet to send [06:28:38]OFD Sender: No OFD packet to send [06:28:43]OFD Sender: No OFD packet to send [06:28:48]OFD Sender: No OFD packet to send [06:28:53]OFD Sender: No OFD packet to send [06:28:58]OFD Sender: No OFD packet to send [06:29:03]OFD Sender: No OFD packet to send [06:29:08]OFD Sender: No OFD packet to send [06:29:13]OFD Sender: No OFD packet to send [06:29:18]OFD Sender: No OFD packet to send [06:29:23]OFD Sender: No OFD packet to send [06:29:28]OFD Sender: No OFD packet to send [06:29:33]OFD Sender: No OFD packet to send [06:29:38]OFD Sender: No OFD packet to send [06:29:43]OFD Sender: No OFD packet to send [06:29:48]OFD Sender: No OFD packet to send [06:29:53]OFD Sender: No OFD packet to send [06:29:58]OFD Sender: No OFD packet to send [06:30:03]OFD Sender: No OFD packet to send [06:30:08]OFD Sender: No OFD packet to send [06:30:13]OFD Sender: No OFD packet to send [06:30:18]OFD Sender: No OFD packet to send [06:30:23]OFD Sender: No OFD packet to send [06:30:28]OFD Sender: No OFD packet to send [06:30:33]OFD Sender: No OFD packet to send [06:30:38]OFD Sender: No OFD packet to send [06:30:43]OFD Sender: No OFD packet to send [06:30:48]OFD Sender: No OFD packet to send [06:30:53]OFD Sender: No OFD packet to send [06:30:58]OFD Sender: No OFD packet to send [06:31:03]OFD Sender: No OFD packet to send [06:31:08]OFD Sender: No OFD packet to send [06:31:13]OFD Sender: No OFD packet to send [06:31:18]OFD Sender: No OFD packet to send [06:31:23]OFD Sender: No OFD packet to send [06:31:28]OFD Sender: No OFD packet to send [06:31:33]OFD Sender: No OFD packet to send [06:31:38]OFD Sender: No OFD packet to send [06:31:43]OFD Sender: No OFD packet to send [06:31:48]OFD Sender: No OFD packet to send [06:31:53]OFD Sender: No OFD packet to send [06:31:58]OFD Sender: No OFD packet to send [06:32:03]OFD Sender: No OFD packet to send [06:32:08]OFD Sender: No OFD packet to send [06:32:13]OFD Sender: No OFD packet to send [06:32:18]OFD Sender: No OFD packet to send [06:32:23]OFD Sender: No OFD packet to send [06:32:28]OFD Sender: No OFD packet to send [06:32:33]OFD Sender: No OFD packet to send [06:32:38]OFD Sender: No OFD packet to send [06:32:43]OFD Sender: No OFD packet to send [06:32:48]OFD Sender: No OFD packet to send [06:32:53]OFD Sender: No OFD packet to send [06:32:58]OFD Sender: No OFD packet to send [06:33:03]OFD Sender: No OFD packet to send [06:33:08]OFD Sender: No OFD packet to send [06:33:13]OFD Sender: No OFD packet to send [06:33:18]OFD Sender: No OFD packet to send [06:33:23]OFD Sender: No OFD packet to send [06:33:28]OFD Sender: No OFD packet to send [06:33:33]OFD Sender: No OFD packet to send [06:33:38]OFD Sender: No OFD packet to send [06:33:43]OFD Sender: No OFD packet to send [06:33:48]OFD Sender: No OFD packet to send [06:33:53]OFD Sender: No OFD packet to send [06:33:58]OFD Sender: No OFD packet to send [06:34:03]OFD Sender: No OFD packet to send [06:34:09]OFD Sender: No OFD packet to send [06:34:14]OFD Sender: No OFD packet to send [06:34:19]OFD Sender: No OFD packet to send [06:34:24]OFD Sender: No OFD packet to send [06:34:29]OFD Sender: No OFD packet to send [06:34:34]OFD Sender: No OFD packet to send [06:34:39]OFD Sender: No OFD packet to send [06:34:44]OFD Sender: No OFD packet to send [06:34:49]OFD Sender: No OFD packet to send [06:34:54]OFD Sender: No OFD packet to send [06:34:59]OFD Sender: No OFD packet to send [06:35:04]OFD Sender: No OFD packet to send [06:35:09]OFD Sender: No OFD packet to send [06:35:14]OFD Sender: No OFD packet to send [06:35:19]OFD Sender: No OFD packet to send [06:35:24]OFD Sender: No OFD packet to send [06:35:29]OFD Sender: No OFD packet to send [06:35:34]OFD Sender: No OFD packet to send [06:35:39]OFD Sender: No OFD packet to send [06:35:44]OFD Sender: No OFD packet to send [06:35:49]OFD Sender: No OFD packet to send [06:35:54]OFD Sender: No OFD packet to send [06:35:59]OFD Sender: No OFD packet to send [06:36:04]OFD Sender: No OFD packet to send [06:36:09]OFD Sender: No OFD packet to send [06:36:14]OFD Sender: No OFD packet to send [06:36:19]OFD Sender: No OFD packet to send [06:36:24]OFD Sender: No OFD packet to send [06:36:29]OFD Sender: No OFD packet to send [06:36:34]OFD Sender: No OFD packet to send [06:36:39]OFD Sender: No OFD packet to send [06:36:44]OFD Sender: No OFD packet to send [06:36:49]OFD Sender: No OFD packet to send [06:36:54]OFD Sender: No OFD packet to send [06:36:59]OFD Sender: No OFD packet to send [06:37:04]OFD Sender: No OFD packet to send [06:37:09]OFD Sender: No OFD packet to send [06:37:14]OFD Sender: No OFD packet to send [06:37:19]OFD Sender: No OFD packet to send [06:37:24]OFD Sender: No OFD packet to send [06:37:29]OFD Sender: No OFD packet to send [06:37:34]OFD Sender: No OFD packet to send [06:37:39]OFD Sender: No OFD packet to send [06:37:44]OFD Sender: No OFD packet to send [06:37:49]OFD Sender: No OFD packet to send [06:37:54]OFD Sender: No OFD packet to send [06:37:59]OFD Sender: No OFD packet to send [06:38:04]OFD Sender: No OFD packet to send [06:38:09]OFD Sender: No OFD packet to send [06:38:14]OFD Sender: No OFD packet to send [06:38:19]OFD Sender: No OFD packet to send [06:38:24]OFD Sender: No OFD packet to send [06:38:29]OFD Sender: No OFD packet to send [06:38:34]OFD Sender: No OFD packet to send [06:38:39]OFD Sender: No OFD packet to send [06:38:44]OFD Sender: No OFD packet to send [06:38:49]OFD Sender: No OFD packet to send [06:38:54]OFD Sender: No OFD packet to send [06:38:59]OFD Sender: No OFD packet to send [06:39:04]OFD Sender: No OFD packet to send [06:39:09]OFD Sender: No OFD packet to send [06:39:14]OFD Sender: No OFD packet to send [06:39:19]OFD Sender: No OFD packet to send [06:39:24]OFD Sender: No OFD packet to send [06:39:29]OFD Sender: No OFD packet to send [06:39:34]OFD Sender: No OFD packet to send [06:39:39]OFD Sender: No OFD packet to send [06:39:44]OFD Sender: No OFD packet to send [06:39:49]OFD Sender: No OFD packet to send [06:39:54]OFD Sender: No OFD packet to send [06:39:59]OFD Sender: No OFD packet to send [06:40:04]OFD Sender: No OFD packet to send [06:40:09]OFD Sender: No OFD packet to send [06:40:14]OFD Sender: No OFD packet to send [06:40:19]OFD Sender: No OFD packet to send [06:40:24]OFD Sender: No OFD packet to send [06:40:29]OFD Sender: No OFD packet to send [06:40:34]OFD Sender: No OFD packet to send [06:40:39]OFD Sender: No OFD packet to send [06:40:44]OFD Sender: No OFD packet to send [06:40:49]OFD Sender: No OFD packet to send [06:40:54]OFD Sender: No OFD packet to send [06:40:59]OFD Sender: No OFD packet to send [06:41:04]OFD Sender: No OFD packet to send [06:41:09]OFD Sender: No OFD packet to send [06:41:14]OFD Sender: No OFD packet to send [06:41:19]OFD Sender: No OFD packet to send [06:41:24]OFD Sender: No OFD packet to send [06:41:29]OFD Sender: No OFD packet to send [06:41:34]OFD Sender: No OFD packet to send [06:41:39]OFD Sender: No OFD packet to send [06:41:44]OFD Sender: No OFD packet to send [06:41:49]OFD Sender: No OFD packet to send [06:41:54]OFD Sender: No OFD packet to send [06:41:59]OFD Sender: No OFD packet to send [06:42:04]OFD Sender: No OFD packet to send [06:42:09]OFD Sender: No OFD packet to send [06:42:14]OFD Sender: No OFD packet to send [06:42:19]OFD Sender: No OFD packet to send [06:42:24]OFD Sender: No OFD packet to send [06:42:29]OFD Sender: No OFD packet to send [06:42:34]OFD Sender: No OFD packet to send [06:42:39]OFD Sender: No OFD packet to send [06:42:44]OFD Sender: No OFD packet to send [06:42:49]OFD Sender: No OFD packet to send [06:42:54]OFD Sender: No OFD packet to send [06:42:59]OFD Sender: No OFD packet to send [06:43:04]OFD Sender: No OFD packet to send [06:43:09]OFD Sender: No OFD packet to send [06:43:14]OFD Sender: No OFD packet to send [06:43:19]OFD Sender: No OFD packet to send [06:43:24]OFD Sender: No OFD packet to send [06:43:29]OFD Sender: No OFD packet to send [06:43:34]OFD Sender: No OFD packet to send [06:43:39]OFD Sender: No OFD packet to send [06:43:44]OFD Sender: No OFD packet to send [06:43:49]OFD Sender: No OFD packet to send [06:43:54]OFD Sender: No OFD packet to send [06:43:59]OFD Sender: No OFD packet to send [06:44:04]OFD Sender: No OFD packet to send [06:44:09]OFD Sender: No OFD packet to send [06:44:14]OFD Sender: No OFD packet to send [06:44:19]OFD Sender: No OFD packet to send [06:44:24]OFD Sender: No OFD packet to send [06:44:29]OFD Sender: No OFD packet to send [06:44:34]OFD Sender: No OFD packet to send [06:44:39]OFD Sender: No OFD packet to send [06:44:44]OFD Sender: No OFD packet to send [06:44:49]OFD Sender: No OFD packet to send [06:44:54]OFD Sender: No OFD packet to send [06:44:59]OFD Sender: No OFD packet to send [06:45:04]OFD Sender: No OFD packet to send [06:45:09]OFD Sender: No OFD packet to send [06:45:14]OFD Sender: No OFD packet to send [06:45:19]OFD Sender: No OFD packet to send [06:45:24]OFD Sender: No OFD packet to send [06:45:29]OFD Sender: No OFD packet to send [06:45:34]OFD Sender: No OFD packet to send [06:45:39]OFD Sender: No OFD packet to send [06:45:44]OFD Sender: No OFD packet to send [06:45:49]OFD Sender: No OFD packet to send [06:45:54]OFD Sender: No OFD packet to send [06:45:59]OFD Sender: No OFD packet to send [06:46:04]OFD Sender: No OFD packet to send [06:46:09]OFD Sender: No OFD packet to send [06:46:14]OFD Sender: No OFD packet to send [06:46:19]OFD Sender: No OFD packet to send [06:46:24]OFD Sender: No OFD packet to send [06:46:29]OFD Sender: No OFD packet to send [06:46:34]OFD Sender: No OFD packet to send [06:46:39]OFD Sender: No OFD packet to send [06:46:44]OFD Sender: No OFD packet to send [06:46:49]OFD Sender: No OFD packet to send [06:46:54]OFD Sender: No OFD packet to send [06:46:59]OFD Sender: No OFD packet to send [06:47:04]OFD Sender: No OFD packet to send [06:47:09]OFD Sender: No OFD packet to send [06:47:14]OFD Sender: No OFD packet to send [06:47:19]OFD Sender: No OFD packet to send [06:47:24]OFD Sender: No OFD packet to send [06:47:29]OFD Sender: No OFD packet to send [06:47:34]OFD Sender: No OFD packet to send [06:47:39]OFD Sender: No OFD packet to send [06:47:44]OFD Sender: No OFD packet to send [06:47:49]OFD Sender: No OFD packet to send [06:47:54]OFD Sender: No OFD packet to send [06:47:59]OFD Sender: No OFD packet to send [06:48:04]OFD Sender: No OFD packet to send [06:48:09]OFD Sender: No OFD packet to send [06:48:14]OFD Sender: No OFD packet to send [06:48:19]OFD Sender: No OFD packet to send [06:48:24]OFD Sender: No OFD packet to send [06:48:29]OFD Sender: No OFD packet to send [06:48:34]OFD Sender: No OFD packet to send [06:48:39]OFD Sender: No OFD packet to send [06:48:44]OFD Sender: No OFD packet to send [06:48:49]OFD Sender: No OFD packet to send [06:48:54]OFD Sender: No OFD packet to send [06:48:59]OFD Sender: No OFD packet to send [06:49:04]OFD Sender: No OFD packet to send [06:49:09]OFD Sender: No OFD packet to send [06:49:14]OFD Sender: No OFD packet to send [06:49:19]OFD Sender: No OFD packet to send [06:49:24]OFD Sender: No OFD packet to send [06:49:29]OFD Sender: No OFD packet to send [06:49:34]OFD Sender: No OFD packet to send [06:49:39]OFD Sender: No OFD packet to send [06:49:44]OFD Sender: No OFD packet to send [06:49:49]OFD Sender: No OFD packet to send [06:49:54]OFD Sender: No OFD packet to send [06:49:59]OFD Sender: No OFD packet to send [06:50:04]OFD Sender: No OFD packet to send [06:50:09]OFD Sender: No OFD packet to send [06:50:14]OFD Sender: No OFD packet to send [06:50:19]OFD Sender: No OFD packet to send [06:50:24]OFD Sender: No OFD packet to send [06:50:29]OFD Sender: No OFD packet to send [06:50:34]OFD Sender: No OFD packet to send [06:50:39]OFD Sender: No OFD packet to send [06:50:44]OFD Sender: No OFD packet to send [06:50:49]OFD Sender: No OFD packet to send [06:50:54]OFD Sender: No OFD packet to send [06:50:59]OFD Sender: No OFD packet to send [06:51:04]OFD Sender: No OFD packet to send [06:51:09]OFD Sender: No OFD packet to send [06:51:14]OFD Sender: No OFD packet to send [06:51:19]OFD Sender: No OFD packet to send [06:51:24]OFD Sender: No OFD packet to send [06:51:29]OFD Sender: No OFD packet to send [06:51:34]OFD Sender: No OFD packet to send [06:51:39]OFD Sender: No OFD packet to send [06:51:44]OFD Sender: No OFD packet to send [06:51:49]OFD Sender: No OFD packet to send [06:51:54]OFD Sender: No OFD packet to send [06:51:59]OFD Sender: No OFD packet to send [06:52:04]OFD Sender: No OFD packet to send [06:52:09]OFD Sender: No OFD packet to send [06:52:14]OFD Sender: No OFD packet to send [06:52:19]OFD Sender: No OFD packet to send [06:52:24]OFD Sender: No OFD packet to send [06:52:29]OFD Sender: No OFD packet to send [06:52:34]OFD Sender: No OFD packet to send [06:52:39]OFD Sender: No OFD packet to send [06:52:44]OFD Sender: No OFD packet to send [06:52:49]OFD Sender: No OFD packet to send [06:52:54]OFD Sender: No OFD packet to send [06:52:59]OFD Sender: No OFD packet to send [06:53:04]OFD Sender: No OFD packet to send [06:53:09]OFD Sender: No OFD packet to send [06:53:14]OFD Sender: No OFD packet to send [06:53:19]OFD Sender: No OFD packet to send [06:53:24]OFD Sender: No OFD packet to send [06:53:29]OFD Sender: No OFD packet to send [06:53:34]OFD Sender: No OFD packet to send [06:53:39]OFD Sender: No OFD packet to send [06:53:44]OFD Sender: No OFD packet to send [06:53:49]OFD Sender: No OFD packet to send [06:53:54]OFD Sender: No OFD packet to send [06:53:59]OFD Sender: No OFD packet to send [06:54:04]OFD Sender: No OFD packet to send [06:54:09]OFD Sender: No OFD packet to send [06:54:14]OFD Sender: No OFD packet to send [06:54:19]OFD Sender: No OFD packet to send [06:54:24]OFD Sender: No OFD packet to send [06:54:29]OFD Sender: No OFD packet to send [06:54:34]OFD Sender: No OFD packet to send [06:54:39]OFD Sender: No OFD packet to send [06:54:44]OFD Sender: No OFD packet to send [06:54:49]OFD Sender: No OFD packet to send [06:54:54]OFD Sender: No OFD packet to send [06:54:59]OFD Sender: No OFD packet to send [06:55:04]OFD Sender: No OFD packet to send [06:55:09]OFD Sender: No OFD packet to send [06:55:14]OFD Sender: No OFD packet to send [06:55:19]OFD Sender: No OFD packet to send [06:55:24]OFD Sender: No OFD packet to send [06:55:29]OFD Sender: No OFD packet to send [06:55:34]OFD Sender: No OFD packet to send [06:55:39]OFD Sender: No OFD packet to send [06:55:45]OFD Sender: No OFD packet to send [06:55:50]OFD Sender: No OFD packet to send [06:55:55]OFD Sender: No OFD packet to send [06:56:00]OFD Sender: No OFD packet to send [06:56:05]OFD Sender: No OFD packet to send [06:56:10]OFD Sender: No OFD packet to send [06:56:15]OFD Sender: No OFD packet to send [06:56:20]OFD Sender: No OFD packet to send [06:56:25]OFD Sender: No OFD packet to send [06:56:30]OFD Sender: No OFD packet to send [06:56:35]OFD Sender: No OFD packet to send [06:56:40]OFD Sender: No OFD packet to send [06:56:45]OFD Sender: No OFD packet to send [06:56:50]OFD Sender: No OFD packet to send [06:56:55]OFD Sender: No OFD packet to send [06:57:00]OFD Sender: No OFD packet to send [06:57:05]OFD Sender: No OFD packet to send [06:57:10]OFD Sender: No OFD packet to send [06:57:15]OFD Sender: No OFD packet to send [06:57:20]OFD Sender: No OFD packet to send [06:57:25]OFD Sender: No OFD packet to send [06:57:30]OFD Sender: No OFD packet to send [06:57:35]OFD Sender: No OFD packet to send [06:57:40]OFD Sender: No OFD packet to send [06:57:45]OFD Sender: No OFD packet to send [06:57:50]OFD Sender: No OFD packet to send [06:57:55]OFD Sender: No OFD packet to send [06:58:00]OFD Sender: No OFD packet to send [06:58:05]OFD Sender: No OFD packet to send [06:58:10]OFD Sender: No OFD packet to send [06:58:15]OFD Sender: No OFD packet to send [06:58:20]OFD Sender: No OFD packet to send [06:58:25]OFD Sender: No OFD packet to send [06:58:30]OFD Sender: No OFD packet to send [06:58:35]OFD Sender: No OFD packet to send [06:58:40]OFD Sender: No OFD packet to send [06:58:45]OFD Sender: No OFD packet to send [06:58:50]OFD Sender: No OFD packet to send [06:58:55]OFD Sender: No OFD packet to send [06:59:00]OFD Sender: No OFD packet to send [06:59:05]OFD Sender: No OFD packet to send [06:59:10]OFD Sender: No OFD packet to send [06:59:15]OFD Sender: No OFD packet to send [06:59:20]OFD Sender: No OFD packet to send [06:59:25]OFD Sender: No OFD packet to send [06:59:30]OFD Sender: No OFD packet to send [06:59:35]OFD Sender: No OFD packet to send [06:59:40]OFD Sender: No OFD packet to send [06:59:45]OFD Sender: No OFD packet to send [06:59:50]OFD Sender: No OFD packet to send [06:59:55]OFD Sender: No OFD packet to send [07:00:00]OFD Sender: No OFD packet to send [07:00:05]OFD Sender: No OFD packet to send [07:00:10]OFD Sender: No OFD packet to send [07:00:15]OFD Sender: No OFD packet to send [07:00:20]OFD Sender: No OFD packet to send [07:00:25]OFD Sender: No OFD packet to send [07:00:30]OFD Sender: No OFD packet to send [07:00:35]OFD Sender: No OFD packet to send [07:00:40]OFD Sender: No OFD packet to send [07:00:45]OFD Sender: No OFD packet to send [07:00:50]OFD Sender: No OFD packet to send [07:00:55]OFD Sender: No OFD packet to send [07:01:00]OFD Sender: No OFD packet to send [07:01:05]OFD Sender: No OFD packet to send [07:01:10]OFD Sender: No OFD packet to send [07:01:15]OFD Sender: No OFD packet to send [07:01:20]OFD Sender: No OFD packet to send [07:01:25]OFD Sender: No OFD packet to send [07:01:30]OFD Sender: No OFD packet to send [07:01:35]OFD Sender: No OFD packet to send [07:01:40]OFD Sender: No OFD packet to send [07:01:45]OFD Sender: No OFD packet to send [07:01:50]OFD Sender: No OFD packet to send [07:01:55]OFD Sender: No OFD packet to send [07:02:00]OFD Sender: No OFD packet to send [07:02:05]OFD Sender: No OFD packet to send [07:02:10]OFD Sender: No OFD packet to send [07:02:15]OFD Sender: No OFD packet to send [07:02:20]OFD Sender: No OFD packet to send [07:02:25]OFD Sender: No OFD packet to send [07:02:30]OFD Sender: No OFD packet to send [07:02:35]OFD Sender: No OFD packet to send [07:02:40]OFD Sender: No OFD packet to send [07:02:45]OFD Sender: No OFD packet to send [07:02:50]OFD Sender: No OFD packet to send [07:02:55]OFD Sender: No OFD packet to send [07:03:00]OFD Sender: No OFD packet to send [07:03:05]OFD Sender: No OFD packet to send [07:03:10]OFD Sender: No OFD packet to send [07:03:15]OFD Sender: No OFD packet to send [07:03:20]OFD Sender: No OFD packet to send [07:03:25]OFD Sender: No OFD packet to send [07:03:30]OFD Sender: No OFD packet to send [07:03:35]OFD Sender: No OFD packet to send [07:03:40]OFD Sender: No OFD packet to send [07:03:45]OFD Sender: No OFD packet to send [07:03:50]OFD Sender: No OFD packet to send [07:03:55]OFD Sender: No OFD packet to send [07:04:00]OFD Sender: No OFD packet to send [07:04:05]OFD Sender: No OFD packet to send [07:04:10]OFD Sender: No OFD packet to send [07:04:15]OFD Sender: No OFD packet to send [07:04:20]OFD Sender: No OFD packet to send [07:04:25]OFD Sender: No OFD packet to send [07:04:30]OFD Sender: No OFD packet to send [07:04:35]OFD Sender: No OFD packet to send [07:04:40]OFD Sender: No OFD packet to send [07:04:45]OFD Sender: No OFD packet to send [07:04:50]OFD Sender: No OFD packet to send [07:04:55]OFD Sender: No OFD packet to send [07:05:00]OFD Sender: No OFD packet to send [07:05:05]OFD Sender: No OFD packet to send [07:05:10]OFD Sender: No OFD packet to send [07:05:15]OFD Sender: No OFD packet to send [07:05:20]OFD Sender: No OFD packet to send [07:05:25]OFD Sender: No OFD packet to send [07:05:30]OFD Sender: No OFD packet to send [07:05:35]OFD Sender: No OFD packet to send [07:05:40]OFD Sender: No OFD packet to send [07:05:45]OFD Sender: No OFD packet to send [07:05:50]OFD Sender: No OFD packet to send [07:05:55]OFD Sender: No OFD packet to send [07:06:00]OFD Sender: No OFD packet to send [07:06:05]OFD Sender: No OFD packet to send [07:06:10]OFD Sender: No OFD packet to send [07:06:15]OFD Sender: No OFD packet to send [07:06:20]OFD Sender: No OFD packet to send [07:06:25]OFD Sender: No OFD packet to send [07:06:30]OFD Sender: No OFD packet to send [07:06:35]OFD Sender: No OFD packet to send [07:06:40]OFD Sender: No OFD packet to send [07:06:45]OFD Sender: No OFD packet to send [07:06:50]OFD Sender: No OFD packet to send [07:06:55]OFD Sender: No OFD packet to send [07:07:00]OFD Sender: No OFD packet to send [07:07:05]OFD Sender: No OFD packet to send [07:07:10]OFD Sender: No OFD packet to send [07:07:15]OFD Sender: No OFD packet to send [07:07:20]OFD Sender: No OFD packet to send [07:07:25]OFD Sender: No OFD packet to send [07:07:30]OFD Sender: No OFD packet to send [07:07:35]OFD Sender: No OFD packet to send [07:07:40]OFD Sender: No OFD packet to send [07:07:45]OFD Sender: No OFD packet to send [07:07:50]OFD Sender: No OFD packet to send [07:07:55]OFD Sender: No OFD packet to send [07:08:00]OFD Sender: No OFD packet to send [07:08:05]OFD Sender: No OFD packet to send [07:08:10]OFD Sender: No OFD packet to send [07:08:15]OFD Sender: No OFD packet to send [07:08:20]OFD Sender: No OFD packet to send [07:08:25]OFD Sender: No OFD packet to send [07:08:30]OFD Sender: No OFD packet to send [07:08:35]OFD Sender: No OFD packet to send [07:08:40]OFD Sender: No OFD packet to send [07:08:45]OFD Sender: No OFD packet to send [07:08:50]OFD Sender: No OFD packet to send [07:08:55]OFD Sender: No OFD packet to send [07:09:00]OFD Sender: No OFD packet to send [07:09:05]OFD Sender: No OFD packet to send [07:09:10]OFD Sender: No OFD packet to send [07:09:15]OFD Sender: No OFD packet to send [07:09:20]OFD Sender: No OFD packet to send [07:09:25]OFD Sender: No OFD packet to send [07:09:30]OFD Sender: No OFD packet to send [07:09:35]OFD Sender: No OFD packet to send [07:09:40]OFD Sender: No OFD packet to send [07:09:45]OFD Sender: No OFD packet to send [07:09:50]OFD Sender: No OFD packet to send [07:09:55]OFD Sender: No OFD packet to send [07:10:00]OFD Sender: No OFD packet to send [07:10:05]OFD Sender: No OFD packet to send [07:10:10]OFD Sender: No OFD packet to send [07:10:15]OFD Sender: No OFD packet to send [07:10:20]OFD Sender: No OFD packet to send [07:10:25]OFD Sender: No OFD packet to send [07:10:30]OFD Sender: No OFD packet to send [07:10:35]OFD Sender: No OFD packet to send [07:10:40]OFD Sender: No OFD packet to send [07:10:45]OFD Sender: No OFD packet to send [07:10:50]OFD Sender: No OFD packet to send [07:10:55]OFD Sender: No OFD packet to send [07:11:00]OFD Sender: No OFD packet to send [07:11:05]OFD Sender: No OFD packet to send [07:11:10]OFD Sender: No OFD packet to send [07:11:15]OFD Sender: No OFD packet to send [07:11:20]OFD Sender: No OFD packet to send [07:11:25]OFD Sender: No OFD packet to send [07:11:30]OFD Sender: No OFD packet to send [07:11:35]OFD Sender: No OFD packet to send [07:11:40]OFD Sender: No OFD packet to send [07:11:45]OFD Sender: No OFD packet to send [07:11:50]OFD Sender: No OFD packet to send [07:11:55]OFD Sender: No OFD packet to send [07:12:00]OFD Sender: No OFD packet to send [07:12:05]OFD Sender: No OFD packet to send [07:12:10]OFD Sender: No OFD packet to send [07:12:15]OFD Sender: No OFD packet to send [07:12:20]OFD Sender: No OFD packet to send [07:12:25]OFD Sender: No OFD packet to send [07:12:30]OFD Sender: No OFD packet to send [07:12:35]OFD Sender: No OFD packet to send [07:12:40]OFD Sender: No OFD packet to send [07:12:45]OFD Sender: No OFD packet to send [07:12:50]OFD Sender: No OFD packet to send [07:12:55]OFD Sender: No OFD packet to send [07:13:00]OFD Sender: No OFD packet to send [07:13:05]OFD Sender: No OFD packet to send [07:13:10]OFD Sender: No OFD packet to send [07:13:15]OFD Sender: No OFD packet to send [07:13:20]OFD Sender: No OFD packet to send [07:13:25]OFD Sender: No OFD packet to send [07:13:30]OFD Sender: No OFD packet to send [07:13:35]OFD Sender: No OFD packet to send [07:13:40]OFD Sender: No OFD packet to send [07:13:45]OFD Sender: No OFD packet to send [07:13:50]OFD Sender: No OFD packet to send [07:13:55]OFD Sender: No OFD packet to send [07:14:00]OFD Sender: No OFD packet to send [07:14:05]OFD Sender: No OFD packet to send [07:14:10]OFD Sender: No OFD packet to send [07:14:15]OFD Sender: No OFD packet to send [07:14:20]OFD Sender: No OFD packet to send [07:14:25]OFD Sender: No OFD packet to send [07:14:30]OFD Sender: No OFD packet to send [07:14:35]OFD Sender: No OFD packet to send [07:14:40]OFD Sender: No OFD packet to send [07:14:45]OFD Sender: No OFD packet to send [07:14:50]OFD Sender: No OFD packet to send [07:14:55]OFD Sender: No OFD packet to send [07:15:00]OFD Sender: No OFD packet to send [07:15:05]OFD Sender: No OFD packet to send [07:15:10]OFD Sender: No OFD packet to send [07:15:15]OFD Sender: No OFD packet to send [07:15:20]OFD Sender: No OFD packet to send [07:15:25]OFD Sender: No OFD packet to send [07:15:30]OFD Sender: No OFD packet to send [07:15:35]OFD Sender: No OFD packet to send [07:15:40]OFD Sender: No OFD packet to send [07:15:45]OFD Sender: No OFD packet to send [07:15:50]OFD Sender: No OFD packet to send [07:15:55]OFD Sender: No OFD packet to send [07:16:00]OFD Sender: No OFD packet to send [07:16:05]OFD Sender: No OFD packet to send [07:16:10]OFD Sender: No OFD packet to send [07:16:15]OFD Sender: No OFD packet to send [07:16:20]OFD Sender: No OFD packet to send [07:16:25]OFD Sender: No OFD packet to send [07:16:30]OFD Sender: No OFD packet to send [07:16:35]OFD Sender: No OFD packet to send [07:16:40]OFD Sender: No OFD packet to send [07:16:45]OFD Sender: No OFD packet to send [07:16:50]OFD Sender: No OFD packet to send [07:16:55]OFD Sender: No OFD packet to send [07:17:00]OFD Sender: No OFD packet to send [07:17:05]OFD Sender: No OFD packet to send [07:17:10]OFD Sender: No OFD packet to send [07:17:15]OFD Sender: No OFD packet to send [07:17:21]OFD Sender: No OFD packet to send [07:17:26]OFD Sender: No OFD packet to send [07:17:31]OFD Sender: No OFD packet to send [07:17:36]OFD Sender: No OFD packet to send [07:17:41]OFD Sender: No OFD packet to send [07:17:46]OFD Sender: No OFD packet to send [07:17:51]OFD Sender: No OFD packet to send [07:17:56]OFD Sender: No OFD packet to send [07:18:01]OFD Sender: No OFD packet to send [07:18:06]OFD Sender: No OFD packet to send [07:18:11]OFD Sender: No OFD packet to send [07:18:16]OFD Sender: No OFD packet to send [07:18:21]OFD Sender: No OFD packet to send [07:18:26]OFD Sender: No OFD packet to send [07:18:31]OFD Sender: No OFD packet to send [07:18:36]OFD Sender: No OFD packet to send [07:18:41]OFD Sender: No OFD packet to send [07:18:46]OFD Sender: No OFD packet to send [07:18:51]OFD Sender: No OFD packet to send [07:18:56]OFD Sender: No OFD packet to send [07:19:01]OFD Sender: No OFD packet to send [07:19:06]OFD Sender: No OFD packet to send [07:19:11]OFD Sender: No OFD packet to send [07:19:16]OFD Sender: No OFD packet to send [07:19:21]OFD Sender: No OFD packet to send [07:19:26]OFD Sender: No OFD packet to send [07:19:31]OFD Sender: No OFD packet to send [07:19:36]OFD Sender: No OFD packet to send [07:19:41]OFD Sender: No OFD packet to send [07:19:46]OFD Sender: No OFD packet to send [07:19:51]OFD Sender: No OFD packet to send [07:19:56]OFD Sender: No OFD packet to send [07:20:01]OFD Sender: No OFD packet to send [07:20:06]OFD Sender: No OFD packet to send [07:20:11]OFD Sender: No OFD packet to send [07:20:16]OFD Sender: No OFD packet to send [07:20:21]OFD Sender: No OFD packet to send [07:20:26]OFD Sender: No OFD packet to send [07:20:31]OFD Sender: No OFD packet to send [07:20:36]OFD Sender: No OFD packet to send [07:20:41]OFD Sender: No OFD packet to send [07:20:46]OFD Sender: No OFD packet to send [07:20:51]OFD Sender: No OFD packet to send [07:20:56]OFD Sender: No OFD packet to send [07:21:01]OFD Sender: No OFD packet to send [07:21:06]OFD Sender: No OFD packet to send [07:21:11]OFD Sender: No OFD packet to send [07:21:16]OFD Sender: No OFD packet to send [07:21:21]OFD Sender: No OFD packet to send [07:21:26]OFD Sender: No OFD packet to send [07:21:31]OFD Sender: No OFD packet to send [07:21:36]OFD Sender: No OFD packet to send [07:21:41]OFD Sender: No OFD packet to send [07:21:46]OFD Sender: No OFD packet to send [07:21:51]OFD Sender: No OFD packet to send [07:21:56]OFD Sender: No OFD packet to send [07:22:01]OFD Sender: No OFD packet to send [07:22:06]OFD Sender: No OFD packet to send [07:22:11]OFD Sender: No OFD packet to send [07:22:16]OFD Sender: No OFD packet to send [07:22:21]OFD Sender: No OFD packet to send [07:22:26]OFD Sender: No OFD packet to send [07:22:31]OFD Sender: No OFD packet to send [07:22:36]OFD Sender: No OFD packet to send [07:22:41]OFD Sender: No OFD packet to send [07:22:46]OFD Sender: No OFD packet to send [07:22:51]OFD Sender: No OFD packet to send [07:22:56]OFD Sender: No OFD packet to send [07:23:01]OFD Sender: No OFD packet to send [07:23:06]OFD Sender: No OFD packet to send [07:23:11]OFD Sender: No OFD packet to send [07:23:16]OFD Sender: No OFD packet to send [07:23:21]OFD Sender: No OFD packet to send [07:23:26]OFD Sender: No OFD packet to send [07:23:31]OFD Sender: No OFD packet to send [07:23:36]OFD Sender: No OFD packet to send [07:23:41]OFD Sender: No OFD packet to send [07:23:46]OFD Sender: No OFD packet to send [07:23:46]accept exits with 7 [07:23:46]New connection [07:23:46]New thread 3066551652 created [07:23:46]Thread 3066695012 joined [07:23:46]Waiting for new connection... [07:23:46] Sock 7.Parse request [07:23:46]Sock 7.Check first char [07:23:46]Sock 7.First char is OK [07:23:46]request: POST /json_proto HTTP/1.0 [07:23:46]Method: POST [07:23:46]URL: /json_proto [07:23:46]Method is POST - this is cgi request [07:23:46]url: /json_proto [07:23:46]query_string will be loaded in cgi processing [07:23:46]execute_cgi json_proto POST (null) [07:23:46]execute_cgi path=json_proto method=POST [07:23:46]POST find Content-Length [07:23:46]Host: 172.17.62.196:8080 [07:23:46]Content-Length: 649 [07:23:46]Content-Type: application/json [07:23:46] [07:23:46]POST finish read [07:23:46]Found Content-Length = 649 [07:23:46]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16939", "tax_sys" : 0, "items" : [ { "code": "2000034730018", "name": "\u041A\u043E\u0444\u0435 \u0410\u043C\u0435\u0440\u0438\u043A\u0430\u043D\u043E (GABB TRADE)", "price" : 105.00, "quantity" : 1.000, "sum" : 105.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 105.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:23:46]execute_script... [07:23:46]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16939", "tax_sys" : 0, "items" : [ { "code": "2000034730018", "name": "\u041A\u043E\u0444\u0435 \u0410\u043C\u0435\u0440\u0438\u043A\u0430\u043D\u043E (GABB TRADE)", "price" : 105.00, "quantity" : 1.000, "sum" : 105.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 105.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:23:46]POST & json_proto [07:23:46]process_json_proto [07:23:46]json parsed OK: [07:23:46]protocol is kg_v1.0 [07:23:46]action value=close_receipt [07:23:46]process_action close_receipt [07:23:46]cmd_close_receipt [07:23:46]MH_GetDate [07:23:46]Write to MH i2c: F0 00 00 6C 06 61 [07:23:46]Write i2c OK [07:23:46]MH_I2C_Read... [07:23:46]Read from MH i2c: F0 [07:23:46]MH_I2C_Read... [07:23:46]Read from MH i2c: F0 09 00 [07:23:46]MH_I2C_Read... [07:23:46]Read from MH i2c: F0 09 00 6C 06 00 05 0C F5 66 CE CC 0E 66 E4 [07:23:46]GetLastDocTimeStamp 1727321639 [07:23:46]current date 1727335429 [07:23:46]FM_GetShiftState [07:23:46]SAM_PROTO_GetShiftState [07:23:46]wFMCommunicate request_size=4 [07:23:46]MH_SAM_APDU [07:23:46]CAPDU: 80 13 01 00 [07:23:46]Write to MH i2c: E2 08 00 6D 06 80 13 01 00 00 00 00 00 F0 [07:23:46]Write i2c OK [07:23:46]MH_I2C_Read... [07:23:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:23:46]Read from MH i2c: E2 [07:23:46]MH_I2C_Read... [07:23:46]Read from MH i2c: E2 0E 00 [07:23:46]MH_I2C_Read... [07:23:46]Read from MH i2c: E2 0E 00 6D 06 00 09 00 01 58 A7 F4 66 00 00 00 00 90 00 55 [07:23:46]RAPDU: 09 00 01 58 A7 F4 66 00 00 00 00 90 00 [07:23:46]wFMCommunicate OK [07:23:46]SAM_PROTO_GetShiftState done [07:23:46]FM_GetShiftState done [07:23:46]opened in 1727309656 [07:23:46]opened+sec_in_day 1727396056 [07:23:46]quantity*price = 10500 [07:23:46]sum+1 = 10501 [07:23:46]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 105.00 НСП 1% : 0.93 НДС 12% : 11.15 Наличными: 105.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 8 26.09.2024 07:23 Смена: 184 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 19019 ФПД: 16594460013747 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T072349&type=1&operation_type=1&fn_number=0000000000959456&fd_number=19019&fm=16594460013747&tin=02508201610067®Number=0000000000152968&sum=10500 0 [07:23:47]StoreToDocumentArchive [07:23:47]shift 184 fd 19019 [07:23:47]save to /storage/0184/doc_00019019 [07:23:47]save last doc name /storage/0184/doc_00019019 to /storage/kkm_last_doc_name [07:23:47]save OK [07:23:47]Clear old archive folders... [07:23:47]ProcessDocumentItem done err = 0, tmpTLVsize=282 [07:23:47]tlvbuf is 01D9C420 [07:23:47]SAM_PROTO_ClearQueue [07:23:47]wFMCommunicate request_size=4 [07:23:47]MH_SAM_APDU [07:23:47]CAPDU: 80 09 00 00 [07:23:47]Write to MH i2c: E2 08 00 7A 06 80 09 00 00 00 00 00 00 F2 [07:23:47]Write i2c OK [07:23:47]MH_I2C_Read... [07:23:47]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [07:23:47]Read from MH i2c: E2 [07:23:47]MH_I2C_Read... [07:23:47]Read from MH i2c: E2 03 00 [07:23:47]MH_I2C_Read... [07:23:47]Read from MH i2c: E2 03 00 7A 06 00 90 00 F4 [07:23:47]RAPDU: 90 00 [07:23:47]wFMCommunicate OK [07:23:47]SAM_PROTO_ClearQueue done [07:23:47]KKMCreateOFDPacket [07:23:47]OFDProtocolAddRootSTLVToBuf [07:23:47]FM_MakeSignedData [07:23:47]FM_MakeSignedData [07:23:47]SAM_PROTO_SignData [07:23:47]wFMCommunicate request_size=4 [07:23:47]MH_SAM_APDU [07:23:47]CAPDU: 80 0D 01 02 [07:23:47]Write to MH i2c: E2 08 00 7B 06 80 0D 01 02 00 00 00 00 FA [07:23:47]Write i2c OK [07:23:47]MH_I2C_Read... [07:23:47]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [07:23:47]Read from MH i2c: E2 [07:23:47]MH_I2C_Read... [07:23:47]Read from MH i2c: E2 03 00 [07:23:47]MH_I2C_Read... [07:23:47]Read from MH i2c: E2 03 00 7B 06 00 90 00 F5 [07:23:47]RAPDU: 90 00 [07:23:47]wFMCommunicate OK [07:23:47]wFMCommunicate request_size=255 [07:23:47]MH_SAM_APDU [07:23:47]CAPDU: 80 0D 02 02 FA 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 34 37 33 30 30 31 38 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 04 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 05 0C F5 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 [07:23:47]Write to MH i2c: E2 02 01 7C 06 80 0D 02 02 FA 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 34 37 33 30 30 31 38 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 04 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 05 0C F5 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 00 00 F4 [07:23:47]Write i2c OK [07:23:47]MH_I2C_Read... [07:23:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:23:48]Read from MH i2c: E2 [07:23:48]MH_I2C_Read... [07:23:48]Read from MH i2c: E2 03 00 [07:23:48]MH_I2C_Read... [07:23:48]Read from MH i2c: E2 03 00 7C 06 00 90 00 F6 [07:23:48]RAPDU: 90 00 [07:23:48]wFMCommunicate OK [07:23:48]wFMCommunicate request_size=41 [07:23:48]MH_SAM_APDU [07:23:48]CAPDU: 80 0D 02 02 24 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 4B 4A 00 00 35 04 06 00 0F 17 B2 E4 F4 B3 [07:23:48]Write to MH i2c: E2 2C 00 7D 06 80 0D 02 02 24 00 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 4B 4A 00 00 35 04 06 00 0F 17 B2 E4 F4 B3 00 00 CA [07:23:48]Write i2c OK [07:23:48]MH_I2C_Read... [07:23:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:23:48]Read from MH i2c: E2 [07:23:48]MH_I2C_Read... [07:23:48]Read from MH i2c: E2 03 00 [07:23:48]MH_I2C_Read... [07:23:48]Read from MH i2c: E2 03 00 7D 06 00 90 00 F7 [07:23:48]RAPDU: 90 00 [07:23:48]wFMCommunicate OK [07:23:48]wFMCommunicate request_size=4 [07:23:48]MH_SAM_APDU [07:23:48]CAPDU: 80 0D 03 02 [07:23:48]Write to MH i2c: E2 08 00 7E 06 80 0D 03 02 00 00 00 00 FF [07:23:48]Write i2c OK [07:23:48]MH_I2C_Read... [07:23:48]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [07:23:48]Read from MH i2c: E2 [07:23:48]MH_I2C_Read... [07:23:48]Read from MH i2c: E2 0B 00 [07:23:48]MH_I2C_Read... [07:23:48]Read from MH i2c: E2 0B 00 7E 06 00 1C 0E 6A 68 76 A1 96 12 90 00 BB [07:23:48]RAPDU: 1C 0E 6A 68 76 A1 96 12 90 00 [07:23:48]wFMCommunicate OK [07:23:48]SAM_PROTO_SignData done [07:23:48]FM_MakeSignedData done [07:23:48]CreateOFDProtocolMessage [07:23:48]wFMCommunicate request_size=4 [07:23:48]MH_SAM_APDU [07:23:48]CAPDU: 80 11 00 00 [07:23:48]Write to MH i2c: E2 08 00 7F 06 80 11 00 00 00 00 00 00 FF [07:23:48]Write i2c OK [07:23:48]MH_I2C_Read... [07:23:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:23:48]Read from MH i2c: E2 [07:23:48]MH_I2C_Read... [07:23:48]Read from MH i2c: E2 17 00 [07:23:48]MH_I2C_Read... [07:23:48]Read from MH i2c: E2 17 00 7F 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 58 [07:23:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [07:23:48]wFMCommunicate OK [07:23:48]CreateOFDProtocolMessage done [07:23:48]OFDSenderStorePacket 19019 [07:23:48]StoreOFDPacket docnum=19019 [07:23:48]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 2E 01 00 00 C3 CD 26 01 43 8A 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 34 37 33 30 30 31 38 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 04 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 05 0C F5 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 4B 4A 00 00 35 04 06 00 0F 17 B2 E4 F4 B3 1C 0E 6A 68 76 A1 96 12 [07:23:48]CheckFolder [07:23:48]dirname=/storage/ofd_packets [07:23:48]CheckFolder done [07:23:48]ProducePacketName [07:23:48]name=ofd_packets/00019019 [07:23:48]NVStorageSaveData ofd_packets/00019019 [07:23:48]File name is /storage/ofd_packets/00019019 [07:23:48]Write 332 bytes [07:23:48]NVStorageSaveData done [07:23:48]OFDSenderStorePacket done [07:23:48]KKMCreateOFDPacket done [07:23:48]NVStorageSaveData kkm_last_timestamp [07:23:48]File name is /storage/kkm_last_timestamp [07:23:48]Write 4 bytes [07:23:48]NVStorageSaveData done [07:23:48]ExternCall_PrintAddStr [07:23:48]wPrintStart [07:23:48]Write to MH i2c: 01 00 00 80 06 86 [07:23:48]Write i2c OK [07:23:48]MH_I2C_Read... [07:23:48]Read from MH i2c: 01 [07:23:48]MH_I2C_Read... [07:23:48]Read from MH i2c: 01 07 00 [07:23:48]MH_I2C_Read... [07:23:48]Read from MH i2c: 01 07 00 80 06 00 00 00 00 00 FF 0F 9B [07:23:48]RasterBufferAndPrint [07:23:48]line Счет N : (3)16939 [07:23:48]line ИНН: 02508201610067 [07:23:48]line Контрольно-Кассовый Чек [07:23:48]line ПРОДАЖА [07:23:48]line Товар: 2000034730018 [07:23:48]line Кофе Американо (GABB TRADE) [07:23:48]line 1.000 * 105.00 [07:23:48]line = 105.00 [07:23:48]line НДС 12% НСП 1% [07:23:48]line > о реализуемом товаре [07:23:48]line ИТОГО: 105.00 [07:23:48]line НСП 1% : 0.93 [07:23:48]line НДС 12% : 11.15 [07:23:48]line Наличными: 105.00 [07:23:48]line Безнал.: 0.00 [07:23:48]line Место: АЗС № 176 "Партнер Нефть" [07:23:48]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [07:23:48]line СНО: Общий режим [07:23:48]line Чек 8 26.09.2024 07:23 [07:23:48]line Смена: 184 ФФД: 1.0 [07:23:48]line ЗНМ: 0300000010 [07:23:48]line РНМ: 0000000000152968 [07:23:48]line Версия ККМ: v1.0 [07:23:48]line ФМ: 0000000000959456 [07:23:48]line ФД: 19019 [07:23:48]line ФПД: 16594460013747 [07:23:48]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T072349&type=1&operation_type=1&fn_number=0000000000959456&fd_number=19019&fm=16594460013747&tin=02508201610067®Number=0000000000152968&sum=10500 [07:23:48]line 0 [07:23:48]OFD Sender: Processing packet 19019 [packets to send 7, broken 6] [07:23:48]ProducePacketName [07:23:48]name=ofd_packets/00019019 [07:23:48]OFD Sender: To server: pG, [07:23:48]CommunicateWithHost lk.salyk.kg:30040 [07:23:48]ConnectInit lk.salyk.kg [07:23:48]written 0, free lines is 4095 [07:23:49]Connected sock=10 [07:23:49]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 2E 01 00 00 C3 CD 26 01 43 8A 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 34 37 33 30 30 31 38 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 04 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 05 0C F5 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 4B 4A 00 00 35 04 06 00 0F 17 B2 E4 F4 B3 1C 0E 6A 68 76 A1 96 12 [07:23:49]Write to MH i2c: 01 00 00 A9 06 AF [07:23:49]Write i2c OK [07:23:49]MH_I2C_Read... [07:23:49]Read from MH i2c: 01 [07:23:49]MH_I2C_Read... [07:23:49]Read from MH i2c: 01 07 00 [07:23:49]MH_I2C_Read... [07:23:49]Read from MH i2c: 01 07 00 A9 06 00 00 00 00 00 01 0D C4 [07:23:49]RasterBufferAndPrint [07:23:49]line [07:23:49]line [07:23:49]line [07:23:49]line [07:23:49]line [07:23:49]written 0, free lines is 3335 [07:23:49]MH_Cut [07:23:49]Write to MH i2c: D1 01 00 B0 06 01 88 [07:23:49]Write i2c OK [07:23:49]MH_I2C_Read... [07:23:49]Read from MH i2c: D1 [07:23:49]MH_I2C_Read... [07:23:49]Read from MH i2c: D1 01 00 [07:23:49]MH_I2C_Read... [07:23:49]Read from MH i2c: D1 01 00 B0 06 00 87 [07:23:49]Write to MH i2c: 01 00 00 B1 06 B7 [07:23:49]Write i2c OK [07:23:49]MH_I2C_Read... [07:23:49]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 3D EB 47 00 E7 B8 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 4B 4A 00 00 F4 03 04 00 60 B5 F4 66 B6 04 01 00 00 04 60 0D 5C CE 1F 4A 98 [07:23:49]CommunicateWithHost err = 0 [07:23:49]CheckOFDResponse [07:23:49]1017 (14) - 77093643461234 [07:23:49]1041 (16) - 0000000000959456 [07:23:49]1040 (4) - 19019 [07:23:49]1012 (4) - 26.09.2024 01:14 [07:23:49]1206 (1) - 0 [07:23:49]OFD Sender: Remove packet 19019 [07:23:49]ProducePacketName [07:23:49]name=ofd_packets/00019019 [07:23:49]NVStorageDeleteData [07:23:49]OFD Sender: No OFD packet to send [07:23:49]*** Cut start [07:23:49]*** Partial cut [07:23:49]*** CUTSNS_PIN = 1 [07:23:49]*** CUTSNS_PIN = 0 [07:23:50]*** Brake cut motor [07:23:50]Read from MH i2c: 01 [07:23:50]MH_I2C_Read... [07:23:50]*** Stop cut motor [07:23:50]*** Cut end [07:23:50]Read from MH i2c: 01 07 00 [07:23:50]MH_I2C_Read... [07:23:50]Read from MH i2c: 01 07 00 B1 06 00 00 00 00 00 FF 0F CC [07:23:50]process_action close_receipt done [07:23:50]requested_data is exist [07:23:50]produce_requested_data [07:23:50]requested_item fm.sn is exist - process it [07:23:50]wFMCommunicate request_size=4 [07:23:50]MH_SAM_APDU [07:23:50]CAPDU: 80 11 00 00 [07:23:50]Write to MH i2c: E2 08 00 B2 06 80 11 00 00 00 00 00 00 32 [07:23:50]Write i2c OK [07:23:50]MH_I2C_Read... [07:23:50]Read from MH i2c: E2 [07:23:50]MH_I2C_Read... [07:23:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:23:50]Read from MH i2c: E2 17 00 [07:23:50]MH_I2C_Read... [07:23:50]Read from MH i2c: E2 17 00 B2 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 8B [07:23:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [07:23:50]wFMCommunicate OK [07:23:50]requested_item fd.num is exist - process it [07:23:50]SAM_PROTO_GetFieldsCounters [07:23:50]wFMCommunicate request_size=4 [07:23:50]MH_SAM_APDU [07:23:50]CAPDU: 80 13 00 00 [07:23:50]Write to MH i2c: E2 08 00 B3 06 80 13 00 00 00 00 00 00 35 [07:23:50]Write i2c OK [07:23:50]MH_I2C_Read... [07:23:50]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:23:50]Read from MH i2c: E2 [07:23:50]MH_I2C_Read... [07:23:50]Read from MH i2c: E2 62 00 [07:23:50]MH_I2C_Read... [07:23:50]Read from MH i2c: E2 62 00 B3 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 4B 4A 00 00 0E 04 04 00 B8 00 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 C7 [07:23:50]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 4B 4A 00 00 0E 04 04 00 B8 00 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 [07:23:50]wFMCommunicate OK [07:23:50]SAM_PROTO_GetFieldsCounters done [07:23:50]requested_item shift.num is exist - process it [07:23:50]requested_item shift.opened is exist - process it [07:23:50]req_shift_opened [07:23:50]FM_GetShiftState [07:23:50]SAM_PROTO_GetShiftState [07:23:50]wFMCommunicate request_size=4 [07:23:50]MH_SAM_APDU [07:23:50]CAPDU: 80 13 01 00 [07:23:50]Write to MH i2c: E2 08 00 B4 06 80 13 01 00 00 00 00 00 37 [07:23:50]Write i2c OK [07:23:50]MH_I2C_Read... [07:23:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:23:50]Read from MH i2c: E2 [07:23:50]MH_I2C_Read... [07:23:50]Read from MH i2c: E2 0E 00 [07:23:50]MH_I2C_Read... [07:23:50]Read from MH i2c: E2 0E 00 B4 06 00 09 00 01 58 A7 F4 66 00 00 00 00 90 00 9C [07:23:50]RAPDU: 09 00 01 58 A7 F4 66 00 00 00 00 90 00 [07:23:50]wFMCommunicate OK [07:23:50]SAM_PROTO_GetShiftState done [07:23:50]FM_GetShiftState done [07:23:50]req_shift_opened done [07:23:50]requested_item shift.open_date is exist - process it [07:23:50]req_shift_open_date [07:23:50]req_shift_open_date done [07:23:50]produce_requested_data done [07:23:50]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":19019,"shift.num":184,"shift.opened":1,"shift.open_date":1727309656} [07:23:50]process_action_free close_receipt [07:23:50]json_value_free [07:23:50]json_value_free done [07:23:50]process_json_proto returns [07:23:50]Send response to host [07:23:50]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":19019,"shift.num":184,"shift.opened":1,"shift.open_date":1727309656}}} [07:23:50]free response buf [07:23:50]execute_script done [07:23:50]execute_script returns [07:23:50]free content buf [07:23:50]Sock 7.Close socket [07:23:50]Sock 7.Thread stoped [07:23:54]OFD Sender: No OFD packet to send [07:23:59]OFD Sender: No OFD packet to send [07:24:04]OFD Sender: No OFD packet to send [07:24:09]OFD Sender: No OFD packet to send [07:24:14]OFD Sender: No OFD packet to send [07:24:19]OFD Sender: No OFD packet to send [07:24:24]OFD Sender: No OFD packet to send [07:24:29]OFD Sender: No OFD packet to send [07:24:34]OFD Sender: No OFD packet to send [07:24:39]OFD Sender: No OFD packet to send [07:24:44]OFD Sender: No OFD packet to send [07:24:49]OFD Sender: No OFD packet to send [07:24:54]OFD Sender: No OFD packet to send [07:24:59]OFD Sender: No OFD packet to send [07:25:04]OFD Sender: No OFD packet to send [07:25:09]OFD Sender: No OFD packet to send [07:25:14]OFD Sender: No OFD packet to send [07:25:19]OFD Sender: No OFD packet to send [07:25:24]OFD Sender: No OFD packet to send [07:25:29]OFD Sender: No OFD packet to send [07:25:34]OFD Sender: No OFD packet to send [07:25:39]OFD Sender: No OFD packet to send [07:25:44]OFD Sender: No OFD packet to send [07:25:49]OFD Sender: No OFD packet to send [07:25:54]OFD Sender: No OFD packet to send [07:25:59]OFD Sender: No OFD packet to send [07:26:04]OFD Sender: No OFD packet to send [07:26:09]OFD Sender: No OFD packet to send [07:26:14]OFD Sender: No OFD packet to send [07:26:19]OFD Sender: No OFD packet to send [07:26:24]OFD Sender: No OFD packet to send [07:26:29]OFD Sender: No OFD packet to send [07:26:34]OFD Sender: No OFD packet to send [07:26:39]OFD Sender: No OFD packet to send [07:26:44]OFD Sender: No OFD packet to send [07:26:49]OFD Sender: No OFD packet to send [07:26:54]OFD Sender: No OFD packet to send [07:26:59]OFD Sender: No OFD packet to send [07:27:04]OFD Sender: No OFD packet to send [07:27:09]OFD Sender: No OFD packet to send [07:27:14]OFD Sender: No OFD packet to send [07:27:19]OFD Sender: No OFD packet to send [07:27:24]OFD Sender: No OFD packet to send [07:27:29]OFD Sender: No OFD packet to send [07:27:34]OFD Sender: No OFD packet to send [07:27:39]OFD Sender: No OFD packet to send [07:27:44]OFD Sender: No OFD packet to send [07:27:49]OFD Sender: No OFD packet to send [07:27:54]OFD Sender: No OFD packet to send [07:27:59]OFD Sender: No OFD packet to send [07:28:04]OFD Sender: No OFD packet to send [07:28:10]OFD Sender: No OFD packet to send [07:28:15]OFD Sender: No OFD packet to send [07:28:20]OFD Sender: No OFD packet to send [07:28:25]OFD Sender: No OFD packet to send [07:28:30]OFD Sender: No OFD packet to send [07:28:35]OFD Sender: No OFD packet to send [07:28:40]OFD Sender: No OFD packet to send [07:28:45]OFD Sender: No OFD packet to send [07:28:50]OFD Sender: No OFD packet to send [07:28:55]OFD Sender: No OFD packet to send [07:29:00]OFD Sender: No OFD packet to send [07:29:05]OFD Sender: No OFD packet to send [07:29:10]OFD Sender: No OFD packet to send [07:29:15]OFD Sender: No OFD packet to send [07:29:20]OFD Sender: No OFD packet to send [07:29:25]OFD Sender: No OFD packet to send [07:29:30]OFD Sender: No OFD packet to send [07:29:35]OFD Sender: No OFD packet to send [07:29:40]OFD Sender: No OFD packet to send [07:29:45]OFD Sender: No OFD packet to send [07:29:50]OFD Sender: No OFD packet to send [07:29:55]OFD Sender: No OFD packet to send [07:30:00]OFD Sender: No OFD packet to send [07:30:05]OFD Sender: No OFD packet to send [07:30:10]OFD Sender: No OFD packet to send [07:30:15]OFD Sender: No OFD packet to send [07:30:20]OFD Sender: No OFD packet to send [07:30:25]OFD Sender: No OFD packet to send [07:30:30]OFD Sender: No OFD packet to send [07:30:35]OFD Sender: No OFD packet to send [07:30:40]OFD Sender: No OFD packet to send [07:30:45]OFD Sender: No OFD packet to send [07:30:50]OFD Sender: No OFD packet to send [07:30:55]OFD Sender: No OFD packet to send [07:31:00]OFD Sender: No OFD packet to send [07:31:05]OFD Sender: No OFD packet to send [07:31:10]OFD Sender: No OFD packet to send [07:31:15]OFD Sender: No OFD packet to send [07:31:20]OFD Sender: No OFD packet to send [07:31:25]OFD Sender: No OFD packet to send [07:31:30]OFD Sender: No OFD packet to send [07:31:35]OFD Sender: No OFD packet to send [07:31:40]OFD Sender: No OFD packet to send [07:31:45]OFD Sender: No OFD packet to send [07:31:50]OFD Sender: No OFD packet to send [07:31:55]OFD Sender: No OFD packet to send [07:32:00]OFD Sender: No OFD packet to send [07:32:05]OFD Sender: No OFD packet to send [07:32:10]OFD Sender: No OFD packet to send [07:32:15]OFD Sender: No OFD packet to send [07:32:20]OFD Sender: No OFD packet to send [07:32:25]OFD Sender: No OFD packet to send [07:32:30]OFD Sender: No OFD packet to send [07:32:35]OFD Sender: No OFD packet to send [07:32:40]OFD Sender: No OFD packet to send [07:32:45]OFD Sender: No OFD packet to send [07:32:50]OFD Sender: No OFD packet to send [07:32:55]OFD Sender: No OFD packet to send [07:33:00]OFD Sender: No OFD packet to send [07:33:05]OFD Sender: No OFD packet to send [07:33:10]OFD Sender: No OFD packet to send [07:33:15]OFD Sender: No OFD packet to send [07:33:20]OFD Sender: No OFD packet to send [07:33:25]OFD Sender: No OFD packet to send [07:33:30]OFD Sender: No OFD packet to send [07:33:35]OFD Sender: No OFD packet to send [07:33:40]OFD Sender: No OFD packet to send [07:33:45]OFD Sender: No OFD packet to send [07:33:50]OFD Sender: No OFD packet to send [07:33:55]OFD Sender: No OFD packet to send [07:34:00]OFD Sender: No OFD packet to send [07:34:05]OFD Sender: No OFD packet to send [07:34:10]OFD Sender: No OFD packet to send [07:34:15]OFD Sender: No OFD packet to send [07:34:20]OFD Sender: No OFD packet to send [07:34:25]OFD Sender: No OFD packet to send [07:34:30]OFD Sender: No OFD packet to send [07:34:35]OFD Sender: No OFD packet to send [07:34:40]OFD Sender: No OFD packet to send [07:34:45]OFD Sender: No OFD packet to send [07:34:50]OFD Sender: No OFD packet to send [07:34:55]OFD Sender: No OFD packet to send [07:35:00]OFD Sender: No OFD packet to send [07:35:05]OFD Sender: No OFD packet to send [07:35:10]OFD Sender: No OFD packet to send [07:35:15]OFD Sender: No OFD packet to send [07:35:20]OFD Sender: No OFD packet to send [07:35:25]OFD Sender: No OFD packet to send [07:35:30]OFD Sender: No OFD packet to send [07:35:35]OFD Sender: No OFD packet to send [07:35:40]OFD Sender: No OFD packet to send [07:35:45]OFD Sender: No OFD packet to send [07:35:50]OFD Sender: No OFD packet to send [07:35:55]OFD Sender: No OFD packet to send [07:36:00]OFD Sender: No OFD packet to send [07:36:02]accept exits with 9 [07:36:02]New connection [07:36:02]New thread 3066695012 created [07:36:02]Thread 3066551652 joined [07:36:02]Waiting for new connection... [07:36:02] Sock 9.Parse request [07:36:02]Sock 9.Check first char [07:36:02]Sock 9.First char is OK [07:36:02]request: POST /json_proto HTTP/1.0 [07:36:02]Method: POST [07:36:02]URL: /json_proto [07:36:02]Method is POST - this is cgi request [07:36:02]url: /json_proto [07:36:02]query_string will be loaded in cgi processing [07:36:02]execute_cgi json_proto POST (null) [07:36:02]execute_cgi path=json_proto method=POST [07:36:02]POST find Content-Length [07:36:02]Host: 172.17.62.196:8080 [07:36:02]Content-Length: 783 [07:36:02]Content-Type: application/json [07:36:02] [07:36:02]POST finish read [07:36:02]Found Content-Length = 783 [07:36:02]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16940", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:36:02]execute_script... [07:36: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)16940", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:36:02]POST & json_proto [07:36:02]process_json_proto [07:36:02]json parsed OK: [07:36:02]protocol is kg_v1.0 [07:36:02]action value=close_receipt [07:36:02]process_action close_receipt [07:36:02]cmd_close_receipt [07:36:02]MH_GetDate [07:36:02]Write to MH i2c: F0 00 00 B5 06 AA [07:36:02]Write i2c OK [07:36:02]MH_I2C_Read... [07:36:02]Read from MH i2c: F0 [07:36:02]MH_I2C_Read... [07:36:02]Read from MH i2c: F0 09 00 [07:36:02]MH_I2C_Read... [07:36:02]Read from MH i2c: F0 09 00 B5 06 00 E5 0E F5 66 CE CC 0E 66 0F [07:36:02]GetLastDocTimeStamp 1727335429 [07:36:02]current date 1727336165 [07:36:02]FM_GetShiftState [07:36:02]SAM_PROTO_GetShiftState [07:36:02]wFMCommunicate request_size=4 [07:36:02]MH_SAM_APDU [07:36:02]CAPDU: 80 13 01 00 [07:36:02]Write to MH i2c: E2 08 00 B6 06 80 13 01 00 00 00 00 00 39 [07:36:02]Write i2c OK [07:36:02]MH_I2C_Read... [07:36:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:36:02]Read from MH i2c: E2 [07:36:02]MH_I2C_Read... [07:36:02]Read from MH i2c: E2 0E 00 [07:36:02]MH_I2C_Read... [07:36:02]Read from MH i2c: E2 0E 00 B6 06 00 09 00 01 58 A7 F4 66 00 00 00 00 90 00 9E [07:36:02]RAPDU: 09 00 01 58 A7 F4 66 00 00 00 00 90 00 [07:36:02]wFMCommunicate OK [07:36:02]SAM_PROTO_GetShiftState done [07:36:02]FM_GetShiftState done [07:36:02]opened in 1727309656 [07:36:02]opened+sec_in_day 1727396056 [07:36:02]quantity*price = 14400 [07:36:02]sum+1 = 14401 [07:36:02]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 НСП 1% : 1.27 НДС 12% : 15.29 Наличными: 0.00 Безнал.: 144.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 9 26.09.2024 07:36 Смена: 184 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 Платежная система: O! деньги ФМ: 0000000000959456 ФД: 19020 ФПД: 98082925318620 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T073605&type=1&operation_type=1&fn_number=0000000000959456&fd_number=19020&fm=98082925318620&tin=02508201610067®Number=0000000000152968&sum=14400 0 [07:36:03]StoreToDocumentArchive [07:36:03]shift 184 fd 19020 [07:36:03]save to /storage/0184/doc_00019020 [07:36:03]save last doc name /storage/0184/doc_00019020 to /storage/kkm_last_doc_name [07:36:03]save OK [07:36:03]Clear old archive folders... [07:36:03]ProcessDocumentItem done err = 0, tmpTLVsize=275 [07:36:03]tlvbuf is 01D57C80 [07:36:03]SAM_PROTO_ClearQueue [07:36:03]wFMCommunicate request_size=4 [07:36:03]MH_SAM_APDU [07:36:03]CAPDU: 80 09 00 00 [07:36:03]Write to MH i2c: E2 08 00 C3 06 80 09 00 00 00 00 00 00 3B [07:36:03]Write i2c OK [07:36:03]MH_I2C_Read... [07:36:03]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [07:36:03]Read from MH i2c: E2 [07:36:03]MH_I2C_Read... [07:36:03]Read from MH i2c: E2 03 00 [07:36:03]MH_I2C_Read... [07:36:03]Read from MH i2c: E2 03 00 C3 06 00 90 00 3D [07:36:03]RAPDU: 90 00 [07:36:03]wFMCommunicate OK [07:36:03]SAM_PROTO_ClearQueue done [07:36:03]KKMCreateOFDPacket [07:36:03]OFDProtocolAddRootSTLVToBuf [07:36:03]FM_MakeSignedData [07:36:03]FM_MakeSignedData [07:36:03]SAM_PROTO_SignData [07:36:03]wFMCommunicate request_size=4 [07:36:03]MH_SAM_APDU [07:36:03]CAPDU: 80 0D 01 02 [07:36:03]Write to MH i2c: E2 08 00 C4 06 80 0D 01 02 00 00 00 00 43 [07:36:03]Write i2c OK [07:36:03]MH_I2C_Read... [07:36:04]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [07:36:04]Read from MH i2c: E2 [07:36:04]MH_I2C_Read... [07:36:04]Read from MH i2c: E2 03 00 [07:36:04]MH_I2C_Read... [07:36:04]Read from MH i2c: E2 03 00 C4 06 00 90 00 3E [07:36:04]RAPDU: 90 00 [07:36:04]wFMCommunicate OK [07:36:04]wFMCommunicate request_size=255 [07:36:04]MH_SAM_APDU [07:36:04]CAPDU: 80 0D 02 02 FA 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 40 38 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 E5 0E F5 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 [07:36:04]Write to MH i2c: E2 02 01 C5 06 80 0D 02 02 FA 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 40 38 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 E5 0E F5 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 00 00 5D [07:36:04]Write i2c OK [07:36:04]MH_I2C_Read... [07:36:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:36:04]Read from MH i2c: E2 [07:36:04]MH_I2C_Read... [07:36:04]Read from MH i2c: E2 03 00 [07:36:04]MH_I2C_Read... [07:36:04]Read from MH i2c: E2 03 00 C5 06 00 90 00 3F [07:36:04]RAPDU: 90 00 [07:36:04]wFMCommunicate OK [07:36:04]wFMCommunicate request_size=34 [07:36:04]MH_SAM_APDU [07:36:04]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 4C 4A 00 00 35 04 06 00 59 34 B5 EC 11 DC [07:36:04]Write to MH i2c: E2 25 00 C6 06 80 0D 02 02 1D 00 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 4C 4A 00 00 35 04 06 00 59 34 B5 EC 11 DC 00 00 BE [07:36:04]Write i2c OK [07:36:04]MH_I2C_Read... [07:36:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:36:04]Read from MH i2c: E2 [07:36:04]MH_I2C_Read... [07:36:04]Read from MH i2c: E2 03 00 [07:36:04]MH_I2C_Read... [07:36:04]Read from MH i2c: E2 03 00 C6 06 00 90 00 40 [07:36:04]RAPDU: 90 00 [07:36:04]wFMCommunicate OK [07:36:04]wFMCommunicate request_size=4 [07:36:04]MH_SAM_APDU [07:36:04]CAPDU: 80 0D 03 02 [07:36:04]Write to MH i2c: E2 08 00 C7 06 80 0D 03 02 00 00 00 00 48 [07:36:04]Write i2c OK [07:36:04]MH_I2C_Read... [07:36:04]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [07:36:04]Read from MH i2c: E2 [07:36:04]MH_I2C_Read... [07:36:04]Read from MH i2c: E2 0B 00 [07:36:04]MH_I2C_Read... [07:36:04]Read from MH i2c: E2 0B 00 C7 06 00 A7 E4 D1 EC 4F 93 20 F8 90 00 8B [07:36:04]RAPDU: A7 E4 D1 EC 4F 93 20 F8 90 00 [07:36:04]wFMCommunicate OK [07:36:04]SAM_PROTO_SignData done [07:36:04]FM_MakeSignedData done [07:36:04]CreateOFDProtocolMessage [07:36:04]wFMCommunicate request_size=4 [07:36:04]MH_SAM_APDU [07:36:04]CAPDU: 80 11 00 00 [07:36:04]Write to MH i2c: E2 08 00 C8 06 80 11 00 00 00 00 00 00 48 [07:36:04]Write i2c OK [07:36:04]MH_I2C_Read... [07:36:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:36:04]Read from MH i2c: E2 [07:36:04]MH_I2C_Read... [07:36:04]Read from MH i2c: E2 17 00 [07:36:04]MH_I2C_Read... [07:36:04]Read from MH i2c: E2 17 00 C8 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 A1 [07:36:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [07:36:04]wFMCommunicate OK [07:36:04]CreateOFDProtocolMessage done [07:36:04]OFDSenderStorePacket 19020 [07:36:04]StoreOFDPacket docnum=19020 [07:36:04]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 27 01 00 00 FC 98 1F 01 89 BC 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 40 38 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 E5 0E F5 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 4C 4A 00 00 35 04 06 00 59 34 B5 EC 11 DC A7 E4 D1 EC 4F 93 20 F8 [07:36:04]CheckFolder [07:36:04]dirname=/storage/ofd_packets [07:36:04]CheckFolder done [07:36:04]ProducePacketName [07:36:04]name=ofd_packets/00019020 [07:36:04]NVStorageSaveData ofd_packets/00019020 [07:36:04]File name is /storage/ofd_packets/00019020 [07:36:04]Write 325 bytes [07:36:04]NVStorageSaveData done [07:36:04]OFDSenderStorePacket done [07:36:04]KKMCreateOFDPacket done [07:36:04]NVStorageSaveData kkm_last_timestamp [07:36:04]File name is /storage/kkm_last_timestamp [07:36:04]Write 4 bytes [07:36:04]NVStorageSaveData done [07:36:04]ExternCall_PrintAddStr [07:36:04]wPrintStart [07:36:04]Write to MH i2c: 01 00 00 C9 06 CF [07:36:04]Write i2c OK [07:36:04]MH_I2C_Read... [07:36:04]Read from MH i2c: 01 [07:36:04]MH_I2C_Read... [07:36:04]Read from MH i2c: 01 07 00 [07:36:04]MH_I2C_Read... [07:36:04]Read from MH i2c: 01 07 00 C9 06 00 00 00 00 00 FF 0F E4 [07:36:04]RasterBufferAndPrint [07:36:04]line Счет N : (3)16940 [07:36:04]line ИНН: 02508201610067 [07:36:04]line Контрольно-Кассовый Чек [07:36:04]line ПРОДАЖА [07:36:04]line Товар: 48743587 [07:36:04]line Сигареты Winston XStyle Silver [07:36:04]line 1.000 * 144.00 [07:36:04]line = 144.00 [07:36:04]line НДС 12% НСП 1% [07:36:04]line > о реализуемом товаре [07:36:04]line ИТОГО: 144.00 [07:36:04]line НСП 1% : 1.27 [07:36:04]line НДС 12% : 15.29 [07:36:04]line Наличными: 0.00 [07:36:04]line Безнал.: 144.00 [07:36:04]line Место: АЗС № 176 "Партнер Нефть" [07:36:04]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [07:36:04]line СНО: Общий режим [07:36:04]line Чек 9 26.09.2024 07:36 [07:36:04]line Смена: 184 ФФД: 1.0 [07:36:04]line ЗНМ: 0300000010 [07:36:04]line РНМ: 0000000000152968 [07:36:04]line Версия ККМ: v1.0 [07:36:04]line Платежная система: O! деньги [07:36:04]line ФМ: 0000000000959456 [07:36:04]line ФД: 19020 [07:36:04]line ФПД: 98082925318620 [07:36:04]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T073605&type=1&operation_type=1&fn_number=0000000000959456&fd_number=19020&fm=98082925318620&tin=02508201610067®Number=0000000000152968&sum=14400 [07:36:04]line 0 [07:36:04]OFD Sender: Processing packet 19020 [packets to send 7, broken 6] [07:36:04]ProducePacketName [07:36:04]name=ofd_packets/00019020 [07:36:04]OFD Sender: To server: pG, [07:36:04]CommunicateWithHost lk.salyk.kg:30040 [07:36:04]ConnectInit lk.salyk.kg [07:36:04]written 0, free lines is 4095 [07:36:05]Connected sock=10 [07:36:05]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 27 01 00 00 FC 98 1F 01 89 BC 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 40 38 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 E5 0E F5 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 4C 4A 00 00 35 04 06 00 59 34 B5 EC 11 DC A7 E4 D1 EC 4F 93 20 F8 [07:36:05]Write to MH i2c: 01 00 00 F4 06 FA [07:36:05]Write i2c OK [07:36:05]MH_I2C_Read... [07:36:05]Read from MH i2c: 01 [07:36:05]MH_I2C_Read... [07:36:05]Read from MH i2c: 01 07 00 [07:36:05]MH_I2C_Read... [07:36:05]Read from MH i2c: 01 07 00 F4 06 00 00 00 00 00 EB 0C F8 [07:36:05]RasterBufferAndPrint [07:36:05]line [07:36:05]line [07:36:05]line [07:36:05]line [07:36:05]line [07:36:05]written 0, free lines is 3313 [07:36:05]MH_Cut [07:36:05]Write to MH i2c: D1 01 00 FB 06 01 D3 [07:36:05]Write i2c OK [07:36:05]MH_I2C_Read... [07:36:05]Read from MH i2c: D1 [07:36:05]MH_I2C_Read... [07:36:05]Read from MH i2c: D1 01 00 [07:36:05]MH_I2C_Read... [07:36:05]Read from MH i2c: D1 01 00 FB 06 00 D2 [07:36:05]Write to MH i2c: 01 00 00 FC 06 02 [07:36:05]Write i2c OK [07:36:05]MH_I2C_Read... [07:36:05]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 49 39 47 00 74 15 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 4C 4A 00 00 F4 03 04 00 40 B8 F4 66 B6 04 01 00 00 A0 19 0D 1D 3F 2B 52 2A [07:36:05]CommunicateWithHost err = 0 [07:36:05]CheckOFDResponse [07:36:05]1017 (14) - 77093643461234 [07:36:05]1041 (16) - 0000000000959456 [07:36:05]1040 (4) - 19020 [07:36:05]1012 (4) - 26.09.2024 01:26 [07:36:05]1206 (1) - 0 [07:36:05]OFD Sender: Remove packet 19020 [07:36:05]ProducePacketName [07:36:05]name=ofd_packets/00019020 [07:36:05]NVStorageDeleteData [07:36:05]OFD Sender: No OFD packet to send [07:36:05]*** Cut start [07:36:05]*** Partial cut [07:36:05]*** CUTSNS_PIN = 1 [07:36:05]*** CUTSNS_PIN = 0 [07:36:06]*** Brake cut motor [07:36:06]Read from MH i2c: 01 [07:36:06]MH_I2C_Read... [07:36:06]*** Stop cut motor [07:36:06]*** Cut end [07:36:06]Read from MH i2c: 01 07 00 [07:36:06]MH_I2C_Read... [07:36:06]Read from MH i2c: 01 07 00 FC 06 00 00 00 00 00 FF 0F 17 [07:36:06]process_action close_receipt done [07:36:06]requested_data is exist [07:36:06]produce_requested_data [07:36:06]requested_item fm.sn is exist - process it [07:36:06]wFMCommunicate request_size=4 [07:36:06]MH_SAM_APDU [07:36:06]CAPDU: 80 11 00 00 [07:36:06]Write to MH i2c: E2 08 00 FD 06 80 11 00 00 00 00 00 00 7D [07:36:06]Write i2c OK [07:36:06]MH_I2C_Read... [07:36:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:36:06]Read from MH i2c: E2 [07:36:06]MH_I2C_Read... [07:36:06]Read from MH i2c: E2 17 00 [07:36:06]MH_I2C_Read... [07:36:06]Read from MH i2c: E2 17 00 FD 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 D6 [07:36:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [07:36:06]wFMCommunicate OK [07:36:06]requested_item fd.num is exist - process it [07:36:06]SAM_PROTO_GetFieldsCounters [07:36:06]wFMCommunicate request_size=4 [07:36:06]MH_SAM_APDU [07:36:06]CAPDU: 80 13 00 00 [07:36:06]Write to MH i2c: E2 08 00 FE 06 80 13 00 00 00 00 00 00 80 [07:36:06]Write i2c OK [07:36:06]MH_I2C_Read... [07:36:06]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:36:06]Read from MH i2c: E2 [07:36:06]MH_I2C_Read... [07:36:06]Read from MH i2c: E2 62 00 [07:36:06]MH_I2C_Read... [07:36:06]Read from MH i2c: E2 62 00 FE 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 4C 4A 00 00 0E 04 04 00 B8 00 00 00 12 04 04 00 09 00 00 00 5E 04 04 00 09 00 00 00 57 04 04 00 0A 00 00 00 19 04 04 00 00 00 00 00 90 00 16 [07:36:06]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 4C 4A 00 00 0E 04 04 00 B8 00 00 00 12 04 04 00 09 00 00 00 5E 04 04 00 09 00 00 00 57 04 04 00 0A 00 00 00 19 04 04 00 00 00 00 00 90 00 [07:36:06]wFMCommunicate OK [07:36:06]SAM_PROTO_GetFieldsCounters done [07:36:06]requested_item shift.num is exist - process it [07:36:06]requested_item shift.opened is exist - process it [07:36:06]req_shift_opened [07:36:06]FM_GetShiftState [07:36:06]SAM_PROTO_GetShiftState [07:36:06]wFMCommunicate request_size=4 [07:36:06]MH_SAM_APDU [07:36:06]CAPDU: 80 13 01 00 [07:36:06]Write to MH i2c: E2 08 00 FF 06 80 13 01 00 00 00 00 00 82 [07:36:06]Write i2c OK [07:36:06]MH_I2C_Read... [07:36:06]Read from MH i2c: E2 [07:36:06]MH_I2C_Read... [07:36:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:36:06]Read from MH i2c: E2 0E 00 [07:36:06]MH_I2C_Read... [07:36:06]Read from MH i2c: E2 0E 00 FF 06 00 09 00 01 58 A7 F4 66 00 00 00 00 90 00 E7 [07:36:06]RAPDU: 09 00 01 58 A7 F4 66 00 00 00 00 90 00 [07:36:06]wFMCommunicate OK [07:36:06]SAM_PROTO_GetShiftState done [07:36:06]FM_GetShiftState done [07:36:06]req_shift_opened done [07:36:06]requested_item shift.open_date is exist - process it [07:36:06]req_shift_open_date [07:36:06]req_shift_open_date done [07:36:06]produce_requested_data done [07:36:06]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":19020,"shift.num":184,"shift.opened":1,"shift.open_date":1727309656} [07:36:06]process_action_free close_receipt [07:36:06]json_value_free [07:36:06]json_value_free done [07:36:06]process_json_proto returns [07:36:06]Send response to host [07:36:06]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":19020,"shift.num":184,"shift.opened":1,"shift.open_date":1727309656}}} [07:36:06]free response buf [07:36:06]execute_script done [07:36:06]execute_script returns [07:36:06]free content buf [07:36:06]Sock 9.Close socket [07:36:06]Sock 9.Thread stoped [07:36:10]OFD Sender: No OFD packet to send [07:36:15]OFD Sender: No OFD packet to send [07:36:20]OFD Sender: No OFD packet to send [07:36:25]OFD Sender: No OFD packet to send [07:36:30]OFD Sender: No OFD packet to send [07:36:35]OFD Sender: No OFD packet to send [07:36:40]OFD Sender: No OFD packet to send [07:36:45]OFD Sender: No OFD packet to send [07:36:50]OFD Sender: No OFD packet to send [07:36:56]OFD Sender: No OFD packet to send [07:37:01]OFD Sender: No OFD packet to send [07:37:06]OFD Sender: No OFD packet to send [07:37:11]OFD Sender: No OFD packet to send [07:37:16]OFD Sender: No OFD packet to send [07:37:21]OFD Sender: No OFD packet to send [07:37:26]OFD Sender: No OFD packet to send [07:37:31]OFD Sender: No OFD packet to send [07:37:36]OFD Sender: No OFD packet to send [07:37:41]OFD Sender: No OFD packet to send [07:37:46]OFD Sender: No OFD packet to send [07:37:51]OFD Sender: No OFD packet to send [07:37:56]OFD Sender: No OFD packet to send [07:38:01]OFD Sender: No OFD packet to send [07:38:06]OFD Sender: No OFD packet to send [07:38:11]OFD Sender: No OFD packet to send [07:38:16]OFD Sender: No OFD packet to send [07:38:21]OFD Sender: No OFD packet to send [07:38:26]OFD Sender: No OFD packet to send [07:38:31]OFD Sender: No OFD packet to send [07:38:36]OFD Sender: No OFD packet to send [07:38:41]OFD Sender: No OFD packet to send [07:38:46]OFD Sender: No OFD packet to send [07:38:51]OFD Sender: No OFD packet to send [07:38:56]OFD Sender: No OFD packet to send [07:39:01]OFD Sender: No OFD packet to send [07:39:06]OFD Sender: No OFD packet to send [07:39:11]OFD Sender: No OFD packet to send [07:39:16]OFD Sender: No OFD packet to send [07:39:21]OFD Sender: No OFD packet to send [07:39:26]OFD Sender: No OFD packet to send [07:39:31]OFD Sender: No OFD packet to send [07:39:36]OFD Sender: No OFD packet to send [07:39:41]OFD Sender: No OFD packet to send [07:39:46]OFD Sender: No OFD packet to send [07:39:51]OFD Sender: No OFD packet to send [07:39:56]OFD Sender: No OFD packet to send [07:40:01]OFD Sender: No OFD packet to send [07:40:06]OFD Sender: No OFD packet to send [07:40:11]OFD Sender: No OFD packet to send [07:40:16]OFD Sender: No OFD packet to send [07:40:21]OFD Sender: No OFD packet to send [07:40:26]OFD Sender: No OFD packet to send [07:40:31]OFD Sender: No OFD packet to send [07:40:36]OFD Sender: No OFD packet to send [07:40:41]OFD Sender: No OFD packet to send [07:40:46]OFD Sender: No OFD packet to send [07:40:51]OFD Sender: No OFD packet to send [07:40:56]OFD Sender: No OFD packet to send [07:41:01]OFD Sender: No OFD packet to send [07:41:06]OFD Sender: No OFD packet to send [07:41:11]OFD Sender: No OFD packet to send [07:41:16]OFD Sender: No OFD packet to send [07:41:21]OFD Sender: No OFD packet to send [07:41:26]OFD Sender: No OFD packet to send [07:41:31]OFD Sender: No OFD packet to send [07:41:36]OFD Sender: No OFD packet to send [07:41:41]OFD Sender: No OFD packet to send [07:41:46]OFD Sender: No OFD packet to send [07:41:51]OFD Sender: No OFD packet to send [07:41:56]OFD Sender: No OFD packet to send [07:42:01]OFD Sender: No OFD packet to send [07:42:06]OFD Sender: No OFD packet to send [07:42:11]OFD Sender: No OFD packet to send [07:42:16]OFD Sender: No OFD packet to send [07:42:21]OFD Sender: No OFD packet to send [07:42:26]OFD Sender: No OFD packet to send [07:42:31]OFD Sender: No OFD packet to send [07:42:36]OFD Sender: No OFD packet to send [07:42:41]OFD Sender: No OFD packet to send [07:42:46]OFD Sender: No OFD packet to send [07:42:51]OFD Sender: No OFD packet to send [07:42:56]OFD Sender: No OFD packet to send [07:43:01]OFD Sender: No OFD packet to send [07:43:06]OFD Sender: No OFD packet to send [07:43:11]OFD Sender: No OFD packet to send [07:43:16]OFD Sender: No OFD packet to send [07:43:21]OFD Sender: No OFD packet to send [07:43:26]OFD Sender: No OFD packet to send [07:43:31]OFD Sender: No OFD packet to send [07:43:36]OFD Sender: No OFD packet to send [07:43:41]OFD Sender: No OFD packet to send [07:43:46]OFD Sender: No OFD packet to send [07:43:51]OFD Sender: No OFD packet to send [07:43:56]OFD Sender: No OFD packet to send [07:44:01]OFD Sender: No OFD packet to send [07:44:06]OFD Sender: No OFD packet to send [07:44:11]OFD Sender: No OFD packet to send [07:44:16]OFD Sender: No OFD packet to send [07:44:21]OFD Sender: No OFD packet to send [07:44:26]OFD Sender: No OFD packet to send [07:44:31]OFD Sender: No OFD packet to send [07:44:36]OFD Sender: No OFD packet to send [07:44:41]OFD Sender: No OFD packet to send [07:44:46]OFD Sender: No OFD packet to send [07:44:51]OFD Sender: No OFD packet to send [07:44:56]OFD Sender: No OFD packet to send [07:45:01]OFD Sender: No OFD packet to send [07:45:06]OFD Sender: No OFD packet to send [07:45:11]OFD Sender: No OFD packet to send [07:45:16]OFD Sender: No OFD packet to send [07:45:21]OFD Sender: No OFD packet to send [07:45:26]OFD Sender: No OFD packet to send [07:45:31]OFD Sender: No OFD packet to send [07:45:36]OFD Sender: No OFD packet to send [07:45:41]OFD Sender: No OFD packet to send [07:45:46]OFD Sender: No OFD packet to send [07:45:51]OFD Sender: No OFD packet to send [07:45:56]OFD Sender: No OFD packet to send [07:46:01]OFD Sender: No OFD packet to send [07:46:06]OFD Sender: No OFD packet to send [07:46:11]OFD Sender: No OFD packet to send [07:46:16]OFD Sender: No OFD packet to send [07:46:21]OFD Sender: No OFD packet to send [07:46:26]OFD Sender: No OFD packet to send [07:46:31]OFD Sender: No OFD packet to send [07:46:36]OFD Sender: No OFD packet to send [07:46:41]OFD Sender: No OFD packet to send [07:46:46]OFD Sender: No OFD packet to send [07:46:51]OFD Sender: No OFD packet to send [07:46:56]OFD Sender: No OFD packet to send [07:47:01]OFD Sender: No OFD packet to send [07:47:06]OFD Sender: No OFD packet to send [07:47:11]OFD Sender: No OFD packet to send [07:47:16]OFD Sender: No OFD packet to send [07:47:21]OFD Sender: No OFD packet to send [07:47:26]OFD Sender: No OFD packet to send [07:47:31]OFD Sender: No OFD packet to send [07:47:36]OFD Sender: No OFD packet to send [07:47:41]OFD Sender: No OFD packet to send [07:47:46]OFD Sender: No OFD packet to send [07:47:51]OFD Sender: No OFD packet to send [07:47:56]OFD Sender: No OFD packet to send [07:48:01]OFD Sender: No OFD packet to send [07:48:06]OFD Sender: No OFD packet to send [07:48:11]OFD Sender: No OFD packet to send [07:48:16]OFD Sender: No OFD packet to send [07:48:21]OFD Sender: No OFD packet to send [07:48:26]OFD Sender: No OFD packet to send [07:48:31]OFD Sender: No OFD packet to send [07:48:36]OFD Sender: No OFD packet to send [07:48:41]OFD Sender: No OFD packet to send [07:48:46]OFD Sender: No OFD packet to send [07:48:51]OFD Sender: No OFD packet to send [07:48:56]OFD Sender: No OFD packet to send [07:49:01]OFD Sender: No OFD packet to send [07:49:06]OFD Sender: No OFD packet to send [07:49:11]OFD Sender: No OFD packet to send [07:49:16]OFD Sender: No OFD packet to send [07:49:21]OFD Sender: No OFD packet to send [07:49:26]OFD Sender: No OFD packet to send [07:49:31]OFD Sender: No OFD packet to send [07:49:36]OFD Sender: No OFD packet to send [07:49:41]OFD Sender: No OFD packet to send [07:49:46]OFD Sender: No OFD packet to send [07:49:51]OFD Sender: No OFD packet to send [07:49:56]OFD Sender: No OFD packet to send [07:50:01]OFD Sender: No OFD packet to send [07:50:06]OFD Sender: No OFD packet to send [07:50:11]OFD Sender: No OFD packet to send [07:50:16]OFD Sender: No OFD packet to send [07:50:21]OFD Sender: No OFD packet to send [07:50:26]OFD Sender: No OFD packet to send [07:50:31]OFD Sender: No OFD packet to send [07:50:36]OFD Sender: No OFD packet to send [07:50:41]OFD Sender: No OFD packet to send [07:50:46]OFD Sender: No OFD packet to send [07:50:51]OFD Sender: No OFD packet to send [07:50:56]OFD Sender: No OFD packet to send [07:51:01]OFD Sender: No OFD packet to send [07:51:06]OFD Sender: No OFD packet to send [07:51:11]OFD Sender: No OFD packet to send [07:51:16]OFD Sender: No OFD packet to send [07:51:21]OFD Sender: No OFD packet to send [07:51:26]OFD Sender: No OFD packet to send [07:51:31]OFD Sender: No OFD packet to send [07:51:36]OFD Sender: No OFD packet to send [07:51:41]OFD Sender: No OFD packet to send [07:51:46]OFD Sender: No OFD packet to send [07:51:51]OFD Sender: No OFD packet to send [07:51:56]OFD Sender: No OFD packet to send [07:52:01]OFD Sender: No OFD packet to send [07:52:06]OFD Sender: No OFD packet to send [07:52:11]OFD Sender: No OFD packet to send [07:52:16]OFD Sender: No OFD packet to send [07:52:21]OFD Sender: No OFD packet to send [07:52:26]OFD Sender: No OFD packet to send [07:52:31]OFD Sender: No OFD packet to send [07:52:36]OFD Sender: No OFD packet to send [07:52:41]OFD Sender: No OFD packet to send [07:52:46]OFD Sender: No OFD packet to send [07:52:51]OFD Sender: No OFD packet to send [07:52:56]OFD Sender: No OFD packet to send [07:53:01]OFD Sender: No OFD packet to send [07:53:06]OFD Sender: No OFD packet to send [07:53:11]OFD Sender: No OFD packet to send [07:53:16]OFD Sender: No OFD packet to send [07:53:21]OFD Sender: No OFD packet to send [07:53:26]OFD Sender: No OFD packet to send [07:53:31]OFD Sender: No OFD packet to send [07:53:36]OFD Sender: No OFD packet to send [07:53:41]OFD Sender: No OFD packet to send [07:53:46]OFD Sender: No OFD packet to send [07:53:51]OFD Sender: No OFD packet to send [07:53:56]OFD Sender: No OFD packet to send [07:54:01]OFD Sender: No OFD packet to send [07:54:06]OFD Sender: No OFD packet to send [07:54:11]OFD Sender: No OFD packet to send [07:54:16]OFD Sender: No OFD packet to send [07:54:21]OFD Sender: No OFD packet to send [07:54:26]OFD Sender: No OFD packet to send [07:54:31]OFD Sender: No OFD packet to send [07:54:36]OFD Sender: No OFD packet to send [07:54:41]OFD Sender: No OFD packet to send [07:54:46]OFD Sender: No OFD packet to send [07:54:51]OFD Sender: No OFD packet to send [07:54:56]OFD Sender: No OFD packet to send [07:55:01]OFD Sender: No OFD packet to send [07:55:06]OFD Sender: No OFD packet to send [07:55:11]OFD Sender: No OFD packet to send [07:55:16]OFD Sender: No OFD packet to send [07:55:21]OFD Sender: No OFD packet to send [07:55:26]OFD Sender: No OFD packet to send [07:55:31]OFD Sender: No OFD packet to send [07:55:36]OFD Sender: No OFD packet to send [07:55:41]OFD Sender: No OFD packet to send [07:55:46]OFD Sender: No OFD packet to send [07:55:51]OFD Sender: No OFD packet to send [07:55:56]OFD Sender: No OFD packet to send [07:56:01]OFD Sender: No OFD packet to send [07:56:06]OFD Sender: No OFD packet to send [07:56:11]OFD Sender: No OFD packet to send [07:56:16]OFD Sender: No OFD packet to send [07:56:21]OFD Sender: No OFD packet to send [07:56:26]OFD Sender: No OFD packet to send [07:56:31]OFD Sender: No OFD packet to send [07:56:36]OFD Sender: No OFD packet to send [07:56:41]OFD Sender: No OFD packet to send [07:56:46]OFD Sender: No OFD packet to send [07:56:51]OFD Sender: No OFD packet to send [07:56:56]OFD Sender: No OFD packet to send [07:57:01]OFD Sender: No OFD packet to send [07:57:06]OFD Sender: No OFD packet to send [07:57:11]OFD Sender: No OFD packet to send [07:57:16]OFD Sender: No OFD packet to send [07:57:21]OFD Sender: No OFD packet to send [07:57:26]OFD Sender: No OFD packet to send [07:57:31]OFD Sender: No OFD packet to send [07:57:36]OFD Sender: No OFD packet to send [07:57:41]OFD Sender: No OFD packet to send [07:57:46]OFD Sender: No OFD packet to send [07:57:51]OFD Sender: No OFD packet to send [07:57:56]OFD Sender: No OFD packet to send [07:58:01]OFD Sender: No OFD packet to send [07:58:06]OFD Sender: No OFD packet to send [07:58:11]accept exits with 7 [07:58:11]New connection [07:58:11]New thread 3066551652 created [07:58:11]Thread 3066695012 joined [07:58:11]Waiting for new connection... [07:58:11] Sock 7.Parse request [07:58:11]Sock 7.Check first char [07:58:11]Sock 7.First char is OK [07:58:11]request: POST /json_proto HTTP/1.0 [07:58:11]Method: POST [07:58:11]URL: /json_proto [07:58:11]Method is POST - this is cgi request [07:58:11]url: /json_proto [07:58:11]query_string will be loaded in cgi processing [07:58:11]execute_cgi json_proto POST (null) [07:58:11]execute_cgi path=json_proto method=POST [07:58:11]POST find Content-Length [07:58:11]Host: 172.17.62.196:8080 [07:58:11]Content-Length: 622 [07:58:11]Content-Type: application/json [07:58:11] [07:58:11]POST finish read [07:58:11]Found Content-Length = 622 [07:58:11]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16941", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:58:11]execute_script... [07:58: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)16941", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:58:11]POST & json_proto [07:58:11]process_json_proto [07:58:11]json parsed OK: [07:58:11]protocol is kg_v1.0 [07:58:11]action value=close_receipt [07:58:11]process_action close_receipt [07:58:11]cmd_close_receipt [07:58:11]MH_GetDate [07:58:11]Write to MH i2c: F0 00 00 00 07 F6 [07:58:11]Write i2c OK [07:58:11]MH_I2C_Read... [07:58:11]Read from MH i2c: F0 [07:58:11]MH_I2C_Read... [07:58:11]Read from MH i2c: F0 09 00 [07:58:11]MH_I2C_Read... [07:58:11]Read from MH i2c: F0 09 00 00 07 00 16 14 F5 66 CE CC 0E 66 92 [07:58:11]GetLastDocTimeStamp 1727336165 [07:58:11]current date 1727337494 [07:58:11]FM_GetShiftState [07:58:11]SAM_PROTO_GetShiftState [07:58:11]wFMCommunicate request_size=4 [07:58:11]MH_SAM_APDU [07:58:11]CAPDU: 80 13 01 00 [07:58:11]Write to MH i2c: E2 08 00 01 07 80 13 01 00 00 00 00 00 85 [07:58:11]Write i2c OK [07:58:11]MH_I2C_Read... [07:58:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:58:11]Read from MH i2c: E2 [07:58:11]MH_I2C_Read... [07:58:11]Read from MH i2c: E2 0E 00 [07:58:11]MH_I2C_Read... [07:58:11]Read from MH i2c: E2 0E 00 01 07 00 09 00 01 58 A7 F4 66 00 00 00 00 90 00 EA [07:58:11]RAPDU: 09 00 01 58 A7 F4 66 00 00 00 00 90 00 [07:58:11]wFMCommunicate OK [07:58:11]SAM_PROTO_GetShiftState done [07:58:11]FM_GetShiftState done [07:58:11]opened in 1727309656 [07:58:11]opened+sec_in_day 1727396056 [07:58:11]quantity*price = 14400 [07:58:11]sum+1 = 14401 [07:58:11]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 НСП 1% : 1.27 НДС 12% : 15.29 Наличными: 144.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 10 26.09.2024 07:58 Смена: 184 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 19021 ФПД: 236952737535230 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T075815&type=1&operation_type=1&fn_number=0000000000959456&fd_number=19021&fm=236952737535230&tin=02508201610067®Number=0000000000152968&sum=14400 0 [07:58:12]StoreToDocumentArchive [07:58:12]shift 184 fd 19021 [07:58:12]save to /storage/0184/doc_00019021 [07:58:12]save last doc name /storage/0184/doc_00019021 to /storage/kkm_last_doc_name [07:58:12]save OK [07:58:12]Clear old archive folders... [07:58:12]ProcessDocumentItem done err = 0, tmpTLVsize=275 [07:58:12]tlvbuf is 01D5F1F0 [07:58:12]SAM_PROTO_ClearQueue [07:58:12]wFMCommunicate request_size=4 [07:58:12]MH_SAM_APDU [07:58:12]CAPDU: 80 09 00 00 [07:58:12]Write to MH i2c: E2 08 00 0E 07 80 09 00 00 00 00 00 00 87 [07:58:12]Write i2c OK [07:58:12]MH_I2C_Read... [07:58:12]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [07:58:12]Read from MH i2c: E2 [07:58:12]MH_I2C_Read... [07:58:12]Read from MH i2c: E2 03 00 [07:58:12]MH_I2C_Read... [07:58:12]Read from MH i2c: E2 03 00 0E 07 00 90 00 89 [07:58:12]RAPDU: 90 00 [07:58:12]wFMCommunicate OK [07:58:12]SAM_PROTO_ClearQueue done [07:58:12]KKMCreateOFDPacket [07:58:12]OFDProtocolAddRootSTLVToBuf [07:58:12]FM_MakeSignedData [07:58:12]FM_MakeSignedData [07:58:12]SAM_PROTO_SignData [07:58:12]wFMCommunicate request_size=4 [07:58:12]MH_SAM_APDU [07:58:12]CAPDU: 80 0D 01 02 [07:58:12]Write to MH i2c: E2 08 00 0F 07 80 0D 01 02 00 00 00 00 8F [07:58:12]Write i2c OK [07:58:12]MH_I2C_Read... [07:58:13]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [07:58:13]Read from MH i2c: E2 [07:58:13]MH_I2C_Read... [07:58:13]Read from MH i2c: E2 03 00 [07:58:13]MH_I2C_Read... [07:58:13]Read from MH i2c: E2 03 00 0F 07 00 90 00 8A [07:58:13]RAPDU: 90 00 [07:58:13]wFMCommunicate OK [07:58:13]wFMCommunicate request_size=255 [07:58:13]MH_SAM_APDU [07:58:13]CAPDU: 80 0D 02 02 FA 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0A 00 00 00 F4 03 04 00 17 14 F5 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 [07:58:13]Write to MH i2c: E2 02 01 10 07 80 0D 02 02 FA 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0A 00 00 00 F4 03 04 00 17 14 F5 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 00 00 E2 [07:58:13]Write i2c OK [07:58:13]MH_I2C_Read... [07:58:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:58:13]Read from MH i2c: E2 [07:58:13]MH_I2C_Read... [07:58:13]Read from MH i2c: E2 03 00 [07:58:13]MH_I2C_Read... [07:58:13]Read from MH i2c: E2 03 00 10 07 00 90 00 8B [07:58:13]RAPDU: 90 00 [07:58:13]wFMCommunicate OK [07:58:13]wFMCommunicate request_size=34 [07:58:13]MH_SAM_APDU [07:58:13]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 4D 4A 00 00 35 04 06 00 D7 81 DB BF D4 FE [07:58:13]Write to MH i2c: E2 25 00 11 07 80 0D 02 02 1D 00 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 4D 4A 00 00 35 04 06 00 D7 81 DB BF D4 FE 00 00 B4 [07:58:13]Write i2c OK [07:58:13]MH_I2C_Read... [07:58:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:58:13]Read from MH i2c: E2 [07:58:13]MH_I2C_Read... [07:58:13]Read from MH i2c: E2 03 00 [07:58:13]MH_I2C_Read... [07:58:13]Read from MH i2c: E2 03 00 11 07 00 90 00 8C [07:58:13]RAPDU: 90 00 [07:58:13]wFMCommunicate OK [07:58:13]wFMCommunicate request_size=4 [07:58:13]MH_SAM_APDU [07:58:13]CAPDU: 80 0D 03 02 [07:58:13]Write to MH i2c: E2 08 00 12 07 80 0D 03 02 00 00 00 00 94 [07:58:13]Write i2c OK [07:58:13]MH_I2C_Read... [07:58:13]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [07:58:13]Read from MH i2c: E2 [07:58:13]MH_I2C_Read... [07:58:13]Read from MH i2c: E2 0B 00 [07:58:13]MH_I2C_Read... [07:58:13]Read from MH i2c: E2 0B 00 12 07 00 D3 EF BD C7 62 41 D8 02 90 00 58 [07:58:13]RAPDU: D3 EF BD C7 62 41 D8 02 90 00 [07:58:13]wFMCommunicate OK [07:58:13]SAM_PROTO_SignData done [07:58:13]FM_MakeSignedData done [07:58:13]CreateOFDProtocolMessage [07:58:13]wFMCommunicate request_size=4 [07:58:13]MH_SAM_APDU [07:58:13]CAPDU: 80 11 00 00 [07:58:13]Write to MH i2c: E2 08 00 13 07 80 11 00 00 00 00 00 00 94 [07:58:13]Write i2c OK [07:58:13]MH_I2C_Read... [07:58:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:58:13]Read from MH i2c: E2 [07:58:13]MH_I2C_Read... [07:58:13]Read from MH i2c: E2 17 00 [07:58:13]MH_I2C_Read... [07:58:13]Read from MH i2c: E2 17 00 13 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 ED [07:58:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [07:58:13]wFMCommunicate OK [07:58:13]CreateOFDProtocolMessage done [07:58:13]OFDSenderStorePacket 19021 [07:58:13]StoreOFDPacket docnum=19021 [07:58:13]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 27 01 00 00 C6 94 1F 01 CD 00 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0A 00 00 00 F4 03 04 00 17 14 F5 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 4D 4A 00 00 35 04 06 00 D7 81 DB BF D4 FE D3 EF BD C7 62 41 D8 02 [07:58:13]CheckFolder [07:58:13]dirname=/storage/ofd_packets [07:58:13]CheckFolder done [07:58:13]ProducePacketName [07:58:13]name=ofd_packets/00019021 [07:58:13]NVStorageSaveData ofd_packets/00019021 [07:58:13]File name is /storage/ofd_packets/00019021 [07:58:13]Write 325 bytes [07:58:13]NVStorageSaveData done [07:58:13]OFDSenderStorePacket done [07:58:13]KKMCreateOFDPacket done [07:58:13]NVStorageSaveData kkm_last_timestamp [07:58:13]File name is /storage/kkm_last_timestamp [07:58:13]Write 4 bytes [07:58:13]NVStorageSaveData done [07:58:13]ExternCall_PrintAddStr [07:58:13]wPrintStart [07:58:13]Write to MH i2c: 01 00 00 14 07 1B [07:58:13]Write i2c OK [07:58:13]MH_I2C_Read... [07:58:13]Read from MH i2c: 01 [07:58:13]MH_I2C_Read... [07:58:13]Read from MH i2c: 01 07 00 [07:58:13]MH_I2C_Read... [07:58:13]Read from MH i2c: 01 07 00 14 07 00 00 00 00 00 FF 0F 30 [07:58:13]RasterBufferAndPrint [07:58:13]line Счет N : (3)16941 [07:58:13]line ИНН: 02508201610067 [07:58:13]line Контрольно-Кассовый Чек [07:58:13]line ПРОДАЖА [07:58:13]line Товар: 48743587 [07:58:13]line Сигареты Winston XStyle Silver [07:58:13]line 1.000 * 144.00 [07:58:13]line = 144.00 [07:58:13]line НДС 12% НСП 1% [07:58:13]line > о реализуемом товаре [07:58:13]line ИТОГО: 144.00 [07:58:13]line НСП 1% : 1.27 [07:58:13]line НДС 12% : 15.29 [07:58:13]line Наличными: 144.00 [07:58:13]line Безнал.: 0.00 [07:58:13]line Место: АЗС № 176 "Партнер Нефть" [07:58:13]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [07:58:13]line СНО: Общий режим [07:58:13]line Чек 10 26.09.2024 07:58 [07:58:13]line Смена: 184 ФФД: 1.0 [07:58:13]line ЗНМ: 0300000010 [07:58:13]line РНМ: 0000000000152968 [07:58:13]line Версия ККМ: v1.0 [07:58:13]line ФМ: 0000000000959456 [07:58:13]line ФД: 19021 [07:58:13]line ФПД: 236952737535230 [07:58:13]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T075815&type=1&operation_type=1&fn_number=0000000000959456&fd_number=19021&fm=236952737535230&tin=02508201610067®Number=0000000000152968&sum=14400 [07:58:13]line 0 [07:58:13]OFD Sender: Processing packet 19021 [packets to send 7, broken 6] [07:58:13]ProducePacketName [07:58:13]name=ofd_packets/00019021 [07:58:13]OFD Sender: To server: pG, [07:58:13]CommunicateWithHost lk.salyk.kg:30040 [07:58:13]ConnectInit lk.salyk.kg [07:58:13]written 0, free lines is 4095 [07:58:14]Connected sock=10 [07:58:14]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 27 01 00 00 C6 94 1F 01 CD 00 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0A 00 00 00 F4 03 04 00 17 14 F5 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 4D 4A 00 00 35 04 06 00 D7 81 DB BF D4 FE D3 EF BD C7 62 41 D8 02 [07:58:14]Write to MH i2c: 01 00 00 3D 07 44 [07:58:14]Write i2c OK [07:58:14]MH_I2C_Read... [07:58:14]Read from MH i2c: 01 [07:58:14]MH_I2C_Read... [07:58:14]Read from MH i2c: 01 07 00 [07:58:14]MH_I2C_Read... [07:58:14]Read from MH i2c: 01 07 00 3D 07 00 00 00 00 00 0C 0D 64 [07:58:14]RasterBufferAndPrint [07:58:14]line [07:58:14]line [07:58:14]line [07:58:14]line [07:58:14]line [07:58:14]written 0, free lines is 3349 [07:58:14]MH_Cut [07:58:14]Write to MH i2c: D1 01 00 44 07 01 1D [07:58:14]Write i2c OK [07:58:14]MH_I2C_Read... [07:58:14]Read from MH i2c: D1 [07:58:14]MH_I2C_Read... [07:58:14]Read from MH i2c: D1 01 00 [07:58:14]MH_I2C_Read... [07:58:14]Read from MH i2c: D1 01 00 44 07 00 1C [07:58:14]Write to MH i2c: 01 00 00 45 07 4C [07:58:14]Write i2c OK [07:58:14]MH_I2C_Read... [07:58:14]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 09 1F 47 00 C0 47 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 4D 4A 00 00 F4 03 04 00 71 BD F4 66 B6 04 01 00 00 B3 20 AA D2 FB 4D 46 79 [07:58:14]CommunicateWithHost err = 0 [07:58:14]CheckOFDResponse [07:58:14]1017 (14) - 77093643461234 [07:58:14]1041 (16) - 0000000000959456 [07:58:14]1040 (4) - 19021 [07:58:14]1012 (4) - 26.09.2024 01:48 [07:58:14]1206 (1) - 0 [07:58:14]OFD Sender: Remove packet 19021 [07:58:14]ProducePacketName [07:58:14]name=ofd_packets/00019021 [07:58:14]NVStorageDeleteData [07:58:14]*** Cut start [07:58:14]*** Partial cut [07:58:14]*** CUTSNS_PIN = 1 [07:58:14]*** CUTSNS_PIN = 0 [07:58:15]OFD Sender: No OFD packet to send [07:58:15]*** Brake cut motor [07:58:15]Read from MH i2c: 01 [07:58:15]MH_I2C_Read... [07:58:15]*** Stop cut motor [07:58:15]*** Cut end [07:58:15]Read from MH i2c: 01 07 00 [07:58:15]MH_I2C_Read... [07:58:15]Read from MH i2c: 01 07 00 45 07 00 00 00 00 00 FF 0F 61 [07:58:15]process_action close_receipt done [07:58:15]requested_data is exist [07:58:15]produce_requested_data [07:58:15]requested_item fm.sn is exist - process it [07:58:15]wFMCommunicate request_size=4 [07:58:15]MH_SAM_APDU [07:58:15]CAPDU: 80 11 00 00 [07:58:15]Write to MH i2c: E2 08 00 46 07 80 11 00 00 00 00 00 00 C7 [07:58:15]Write i2c OK [07:58:15]MH_I2C_Read... [07:58:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:58:15]Read from MH i2c: E2 [07:58:15]MH_I2C_Read... [07:58:15]Read from MH i2c: E2 17 00 [07:58:15]MH_I2C_Read... [07:58:15]Read from MH i2c: E2 17 00 46 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 20 [07:58:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [07:58:15]wFMCommunicate OK [07:58:15]requested_item fd.num is exist - process it [07:58:15]SAM_PROTO_GetFieldsCounters [07:58:15]wFMCommunicate request_size=4 [07:58:15]MH_SAM_APDU [07:58:15]CAPDU: 80 13 00 00 [07:58:15]Write to MH i2c: E2 08 00 47 07 80 13 00 00 00 00 00 00 CA [07:58:15]Write i2c OK [07:58:15]MH_I2C_Read... [07:58:15]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:58:15]Read from MH i2c: E2 [07:58:15]MH_I2C_Read... [07:58:15]Read from MH i2c: E2 62 00 [07:58:15]MH_I2C_Read... [07:58:15]Read from MH i2c: E2 62 00 47 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 4D 4A 00 00 0E 04 04 00 B8 00 00 00 12 04 04 00 0A 00 00 00 5E 04 04 00 0A 00 00 00 57 04 04 00 0B 00 00 00 19 04 04 00 00 00 00 00 90 00 64 [07:58:15]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 4D 4A 00 00 0E 04 04 00 B8 00 00 00 12 04 04 00 0A 00 00 00 5E 04 04 00 0A 00 00 00 57 04 04 00 0B 00 00 00 19 04 04 00 00 00 00 00 90 00 [07:58:15]wFMCommunicate OK [07:58:15]SAM_PROTO_GetFieldsCounters done [07:58:15]requested_item shift.num is exist - process it [07:58:15]requested_item shift.opened is exist - process it [07:58:15]req_shift_opened [07:58:15]FM_GetShiftState [07:58:15]SAM_PROTO_GetShiftState [07:58:15]wFMCommunicate request_size=4 [07:58:15]MH_SAM_APDU [07:58:15]CAPDU: 80 13 01 00 [07:58:15]Write to MH i2c: E2 08 00 48 07 80 13 01 00 00 00 00 00 CC [07:58:15]Write i2c OK [07:58:15]MH_I2C_Read... [07:58:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:58:15]Read from MH i2c: E2 [07:58:15]MH_I2C_Read... [07:58:15]Read from MH i2c: E2 0E 00 [07:58:15]MH_I2C_Read... [07:58:15]Read from MH i2c: E2 0E 00 48 07 00 09 00 01 58 A7 F4 66 00 00 00 00 90 00 31 [07:58:15]RAPDU: 09 00 01 58 A7 F4 66 00 00 00 00 90 00 [07:58:15]wFMCommunicate OK [07:58:15]SAM_PROTO_GetShiftState done [07:58:15]FM_GetShiftState done [07:58:15]req_shift_opened done [07:58:15]requested_item shift.open_date is exist - process it [07:58:15]req_shift_open_date [07:58:15]req_shift_open_date done [07:58:15]produce_requested_data done [07:58:15]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":19021,"shift.num":184,"shift.opened":1,"shift.open_date":1727309656} [07:58:15]process_action_free close_receipt [07:58:15]json_value_free [07:58:15]json_value_free done [07:58:15]process_json_proto returns [07:58:15]Send response to host [07:58:15]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":19021,"shift.num":184,"shift.opened":1,"shift.open_date":1727309656}}} [07:58:15]free response buf [07:58:15]execute_script done [07:58:15]execute_script returns [07:58:15]free content buf [07:58:15]Sock 7.Close socket [07:58:15]Sock 7.Thread stoped [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:10]OFD Sender: No OFD packet to send [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:20]OFD Sender: No OFD packet to send [08:08:25]OFD Sender: No OFD packet to send [08:08:30]OFD Sender: No OFD packet to send [08:08:35]OFD Sender: No OFD packet to send [08:08:40]OFD Sender: No OFD packet to send [08:08:45]OFD Sender: No OFD packet to send [08:08:50]OFD Sender: No OFD packet to send [08:08:55]OFD Sender: No OFD packet to send [08:09:00]OFD Sender: No OFD packet to send [08:09:05]OFD Sender: No OFD packet to send [08:09:10]OFD Sender: No OFD packet to send [08:09:15]OFD Sender: No OFD packet to send [08:09:20]OFD Sender: No OFD packet to send [08:09:25]OFD Sender: No OFD packet to send [08:09:30]OFD Sender: No OFD packet to send [08:09:35]OFD Sender: No OFD packet to send [08:09:40]OFD Sender: No OFD packet to send [08:09:45]OFD Sender: No OFD packet to send [08:09:50]OFD Sender: No OFD packet to send [08:09:55]OFD Sender: No OFD packet to send [08:10:00]OFD Sender: No OFD packet to send [08:10:05]OFD Sender: No OFD packet to send [08:10:10]OFD Sender: No OFD packet to send [08:10:15]OFD Sender: No OFD packet to send [08:10:20]OFD Sender: No OFD packet to send [08:10:25]OFD Sender: No OFD packet to send [08:10:30]OFD Sender: No OFD packet to send [08:10:35]OFD Sender: No OFD packet to send [08:10:40]OFD Sender: No OFD packet to send [08:10:45]OFD Sender: No OFD packet to send [08:10:50]OFD Sender: No OFD packet to send [08:10:55]OFD Sender: No OFD packet to send [08:11:00]OFD Sender: No OFD packet to send [08:11:05]OFD Sender: No OFD packet to send [08:11:10]OFD Sender: No OFD packet to send [08:11:15]OFD Sender: No OFD packet to send [08:11:20]OFD Sender: No OFD packet to send [08:11:25]OFD Sender: No OFD packet to send [08:11:30]OFD Sender: No OFD packet to send [08:11:35]OFD Sender: No OFD packet to send [08:11:40]OFD Sender: No OFD packet to send [08:11:45]OFD Sender: No OFD packet to send [08:11:50]OFD Sender: No OFD packet to send [08:11:55]OFD Sender: No OFD packet to send [08:12:00]OFD Sender: No OFD packet to send [08:12:05]OFD Sender: No OFD packet to send [08:12:10]OFD Sender: No OFD packet to send [08:12:15]OFD Sender: No OFD packet to send [08:12:20]OFD Sender: No OFD packet to send [08:12:25]OFD Sender: No OFD packet to send [08:12:30]OFD Sender: No OFD packet to send [08:12:35]OFD Sender: No OFD packet to send [08:12:40]OFD Sender: No OFD packet to send [08:12:45]OFD Sender: No OFD packet to send [08:12:50]OFD Sender: No OFD packet to send [08:12:55]OFD Sender: No OFD packet to send [08:13:00]OFD Sender: No OFD packet to send [08:13:05]OFD Sender: No OFD packet to send [08:13:10]OFD Sender: No OFD packet to send [08:13:15]OFD Sender: No OFD packet to send [08:13:20]OFD Sender: No OFD packet to send [08:13:25]OFD Sender: No OFD packet to send [08:13:30]OFD Sender: No OFD packet to send [08:13:35]OFD Sender: No OFD packet to send [08:13:40]OFD Sender: No OFD packet to send [08:13:45]OFD Sender: No OFD packet to send [08:13:50]OFD Sender: No OFD packet to send [08:13:55]OFD Sender: No OFD packet to send [08:14:00]OFD Sender: No OFD packet to send [08:14:05]OFD Sender: No OFD packet to send [08:14:10]OFD Sender: No OFD packet to send [08:14:15]OFD Sender: No OFD packet to send [08:14:20]OFD Sender: No OFD packet to send [08:14:25]OFD Sender: No OFD packet to send [08:14:30]OFD Sender: No OFD packet to send [08:14:35]OFD Sender: No OFD packet to send [08:14:40]OFD Sender: No OFD packet to send [08:14:45]OFD Sender: No OFD packet to send [08:14:50]OFD Sender: No OFD packet to send [08:14:55]OFD Sender: No OFD packet to send [08:15:00]OFD Sender: No OFD packet to send [08:15:05]OFD Sender: No OFD packet to send [08:15:10]OFD Sender: No OFD packet to send [08:15:15]OFD Sender: No OFD packet to send [08:15:20]OFD Sender: No OFD packet to send [08:15:25]OFD Sender: No OFD packet to send [08:15:30]OFD Sender: No OFD packet to send [08:15:35]OFD Sender: No OFD packet to send [08:15:40]OFD Sender: No OFD packet to send [08:15:45]OFD Sender: No OFD packet to send [08:15:50]OFD Sender: No OFD packet to send [08:15:55]OFD Sender: No OFD packet to send [08:16:00]OFD Sender: No OFD packet to send [08:16:05]OFD Sender: No OFD packet to send [08:16:10]OFD Sender: No OFD packet to send [08:16:15]OFD Sender: No OFD packet to send [08:16:20]OFD Sender: No OFD packet to send [08:16:25]OFD Sender: No OFD packet to send [08:16:30]OFD Sender: No OFD packet to send [08:16:35]OFD Sender: No OFD packet to send [08:16:40]OFD Sender: No OFD packet to send [08:16:45]OFD Sender: No OFD packet to send [08:16:50]OFD Sender: No OFD packet to send [08:16:55]OFD Sender: No OFD packet to send [08:17:00]OFD Sender: No OFD packet to send [08:17:05]OFD Sender: No OFD packet to send [08:17:10]OFD Sender: No OFD packet to send [08:17:15]OFD Sender: No OFD packet to send [08:17:20]OFD Sender: No OFD packet to send [08:17:25]OFD Sender: No OFD packet to send [08:17:30]OFD Sender: No OFD packet to send [08:17:35]OFD Sender: No OFD packet to send [08:17:40]OFD Sender: No OFD packet to send [08:17:45]OFD Sender: No OFD packet to send [08:17:50]OFD Sender: No OFD packet to send [08:17:55]OFD Sender: No OFD packet to send [08:18:00]OFD Sender: No OFD packet to send [08:18:05]OFD Sender: No OFD packet to send [08:18:10]OFD Sender: No OFD packet to send [08:18:15]OFD Sender: No OFD packet to send [08:18:20]OFD Sender: No OFD packet to send [08:18:25]OFD Sender: No OFD packet to send [08:18:30]OFD Sender: No OFD packet to send [08:18:35]OFD Sender: No OFD packet to send [08:18:40]OFD Sender: No OFD packet to send [08:18:45]OFD Sender: No OFD packet to send [08:18:50]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:21]OFD Sender: No OFD packet to send [08:27:26]OFD Sender: No OFD packet to send [08:27:31]OFD Sender: No OFD packet to send [08:27:36]OFD Sender: No OFD packet to send [08:27:41]OFD Sender: No OFD packet to send [08:27:46]OFD Sender: No OFD packet to send [08:27:51]OFD Sender: No OFD packet to send [08:27:56]OFD Sender: No OFD packet to send [08:28:01]OFD Sender: No OFD packet to send [08:28:06]OFD Sender: No OFD packet to send [08:28:11]OFD Sender: No OFD packet to send [08:28:16]OFD Sender: No OFD packet to send [08:28:21]OFD Sender: No OFD packet to send [08:28:26]OFD Sender: No OFD packet to send [08:28:31]OFD Sender: No OFD packet to send [08:28:36]OFD Sender: No OFD packet to send [08:28:41]OFD Sender: No OFD packet to send [08:28:46]OFD Sender: No OFD packet to send [08:28:51]OFD Sender: No OFD packet to send [08:28:56]OFD Sender: No OFD packet to send [08:29:01]OFD Sender: No OFD packet to send [08:29:06]OFD Sender: No OFD packet to send [08:29:11]OFD Sender: No OFD packet to send [08:29:16]OFD Sender: No OFD packet to send [08:29:21]OFD Sender: No OFD packet to send [08:29:26]OFD Sender: No OFD packet to send [08:29:31]OFD Sender: No OFD packet to send [08:29:36]OFD Sender: No OFD packet to send [08:29:41]OFD Sender: No OFD packet to send [08:29:46]OFD Sender: No OFD packet to send [08:29:51]OFD Sender: No OFD packet to send [08:29:56]OFD Sender: No OFD packet to send [08:30:01]OFD Sender: No OFD packet to send [08:30:06]OFD Sender: No OFD packet to send [08:30:11]OFD Sender: No OFD packet to send [08:30:16]OFD Sender: No OFD packet to send [08:30:21]OFD Sender: No OFD packet to send [08:30:26]OFD Sender: No OFD packet to send [08:30:31]OFD Sender: No OFD packet to send [08:30:36]OFD Sender: No OFD packet to send [08:30:41]OFD Sender: No OFD packet to send [08:30:46]OFD Sender: No OFD packet to send [08:30:51]OFD Sender: No OFD packet to send [08:30:56]OFD Sender: No OFD packet to send [08:31:01]OFD Sender: No OFD packet to send [08:31:06]OFD Sender: No OFD packet to send [08:31:11]OFD Sender: No OFD packet to send [08:31:16]OFD Sender: No OFD packet to send [08:31:21]OFD Sender: No OFD packet to send [08:31:26]OFD Sender: No OFD packet to send [08:31:31]OFD Sender: No OFD packet to send [08:31:36]OFD Sender: No OFD packet to send [08:31:41]OFD Sender: No OFD packet to send [08:31:46]OFD Sender: No OFD packet to send [08:31:51]OFD Sender: No OFD packet to send [08:31:56]OFD Sender: No OFD packet to send [08:32:01]OFD Sender: No OFD packet to send [08:32:06]OFD Sender: No OFD packet to send [08:32:11]OFD Sender: No OFD packet to send [08:32:16]OFD Sender: No OFD packet to send [08:32:21]OFD Sender: No OFD packet to send [08:32:26]OFD Sender: No OFD packet to send [08:32:31]OFD Sender: No OFD packet to send [08:32:36]OFD Sender: No OFD packet to send [08:32:41]OFD Sender: No OFD packet to send [08:32:46]OFD Sender: No OFD packet to send [08:32:51]OFD Sender: No OFD packet to send [08:32:55]accept exits with 9 [08:32:55]New connection [08:32:55]New thread 3066695012 created [08:32:55]Thread 3066551652 joined [08:32:55]Waiting for new connection... [08:32:55] Sock 9.Parse request [08:32:55]Sock 9.Check first char [08:32:55]Sock 9.First char is OK [08:32:55]request: POST /json_proto HTTP/1.0 [08:32:55]Method: POST [08:32:55]URL: /json_proto [08:32:55]Method is POST - this is cgi request [08:32:55]url: /json_proto [08:32:55]query_string will be loaded in cgi processing [08:32:55]execute_cgi json_proto POST (null) [08:32:55]execute_cgi path=json_proto method=POST [08:32:55]POST find Content-Length [08:32:55]Host: 172.17.62.196:8080 [08:32:55]Content-Length: 645 [08:32:55]Content-Type: application/json [08:32:55] [08:32:55]POST finish read [08:32:55]Found Content-Length = 645 [08:32:55]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16942", "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" ] } } [08:32:55]execute_script... [08:32:55]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16942", "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" ] } } [08:32:55]POST & json_proto [08:32:55]process_json_proto [08:32:55]json parsed OK: [08:32:55]protocol is kg_v1.0 [08:32:55]action value=close_receipt [08:32:55]process_action close_receipt [08:32:55]cmd_close_receipt [08:32:55]MH_GetDate [08:32:55]Write to MH i2c: F0 00 00 49 07 3F [08:32:55]Write i2c OK [08:32:55]MH_I2C_Read... [08:32:55]Read from MH i2c: F0 [08:32:55]MH_I2C_Read... [08:32:55]Read from MH i2c: F0 09 00 [08:32:55]MH_I2C_Read... [08:32:55]Read from MH i2c: F0 09 00 49 07 00 3B 1C F5 66 CE CC 0E 66 08 [08:32:55]GetLastDocTimeStamp 1727337495 [08:32:55]current date 1727339579 [08:32:55]FM_GetShiftState [08:32:55]SAM_PROTO_GetShiftState [08:32:55]wFMCommunicate request_size=4 [08:32:55]MH_SAM_APDU [08:32:55]CAPDU: 80 13 01 00 [08:32:55]Write to MH i2c: E2 08 00 4A 07 80 13 01 00 00 00 00 00 CE [08:32:55]Write i2c OK [08:32:55]MH_I2C_Read... [08:32:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:32:55]Read from MH i2c: E2 [08:32:55]MH_I2C_Read... [08:32:55]Read from MH i2c: E2 0E 00 [08:32:55]MH_I2C_Read... [08:32:55]Read from MH i2c: E2 0E 00 4A 07 00 09 00 01 58 A7 F4 66 00 00 00 00 90 00 33 [08:32:55]RAPDU: 09 00 01 58 A7 F4 66 00 00 00 00 90 00 [08:32:55]wFMCommunicate OK [08:32:55]SAM_PROTO_GetShiftState done [08:32:55]FM_GetShiftState done [08:32:55]opened in 1727309656 [08:32:55]opened+sec_in_day 1727396056 [08:32:55]quantity*price = 13000 [08:32:55]sum+1 = 13001 [08:32:55]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.80 Наличными: 130.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 11 26.09.2024 08:32 Смена: 184 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 19022 ФПД: 168169416036780 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T083259&type=1&operation_type=1&fn_number=0000000000959456&fd_number=19022&fm=168169416036780&tin=02508201610067®Number=0000000000152968&sum=13000 0 [08:32:56]StoreToDocumentArchive [08:32:56]shift 184 fd 19022 [08:32:56]save to /storage/0184/doc_00019022 [08:32:56]save last doc name /storage/0184/doc_00019022 to /storage/kkm_last_doc_name [08:32:56]save OK [08:32:56]Clear old archive folders... [08:32:56]ProcessDocumentItem done err = 0, tmpTLVsize=282 [08:32:56]tlvbuf is 01D56DD0 [08:32:56]SAM_PROTO_ClearQueue [08:32:56]wFMCommunicate request_size=4 [08:32:56]MH_SAM_APDU [08:32:56]CAPDU: 80 09 00 00 [08:32:56]Write to MH i2c: E2 08 00 57 07 80 09 00 00 00 00 00 00 D0 [08:32:56]Write i2c OK [08:32:56]MH_I2C_Read... [08:32:57]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:32:57]Read from MH i2c: E2 [08:32:57]MH_I2C_Read... [08:32:57]Read from MH i2c: E2 03 00 [08:32:57]MH_I2C_Read... [08:32:57]Read from MH i2c: E2 03 00 57 07 00 90 00 D2 [08:32:57]RAPDU: 90 00 [08:32:57]wFMCommunicate OK [08:32:57]SAM_PROTO_ClearQueue done [08:32:57]KKMCreateOFDPacket [08:32:57]OFDProtocolAddRootSTLVToBuf [08:32:57]FM_MakeSignedData [08:32:57]FM_MakeSignedData [08:32:57]SAM_PROTO_SignData [08:32:57]wFMCommunicate request_size=4 [08:32:57]MH_SAM_APDU [08:32:57]CAPDU: 80 0D 01 02 [08:32:57]Write to MH i2c: E2 08 00 58 07 80 0D 01 02 00 00 00 00 D8 [08:32:57]Write i2c OK [08:32:57]MH_I2C_Read... [08:32:57]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:32:57]Read from MH i2c: E2 [08:32:57]MH_I2C_Read... [08:32:57]Read from MH i2c: E2 03 00 [08:32:57]MH_I2C_Read... [08:32:57]Read from MH i2c: E2 03 00 58 07 00 90 00 D3 [08:32:57]RAPDU: 90 00 [08:32:57]wFMCommunicate OK [08:32:57]wFMCommunicate request_size=255 [08:32:57]MH_SAM_APDU [08:32: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 0B 00 00 00 F4 03 04 00 3B 1C F5 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 [08:32:57]Write to MH i2c: E2 02 01 59 07 80 0D 02 02 FA 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 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 0B 00 00 00 F4 03 04 00 3B 1C F5 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 00 00 62 [08:32:57]Write i2c OK [08:32:57]MH_I2C_Read... [08:32:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:32:57]Read from MH i2c: E2 [08:32:57]MH_I2C_Read... [08:32:57]Read from MH i2c: E2 03 00 [08:32:57]MH_I2C_Read... [08:32:57]Read from MH i2c: E2 03 00 59 07 00 90 00 D4 [08:32:57]RAPDU: 90 00 [08:32:57]wFMCommunicate OK [08:32:57]wFMCommunicate request_size=41 [08:32:57]MH_SAM_APDU [08:32:57]CAPDU: 80 0D 02 02 24 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 4E 4A 00 00 35 04 06 00 98 F2 FE 4E 11 AC [08:32:57]Write to MH i2c: E2 2C 00 5A 07 80 0D 02 02 24 00 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 4E 4A 00 00 35 04 06 00 98 F2 FE 4E 11 AC 00 00 DB [08:32:57]Write i2c OK [08:32:57]MH_I2C_Read... [08:32:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:32:57]Read from MH i2c: E2 [08:32:57]MH_I2C_Read... [08:32:57]Read from MH i2c: E2 03 00 [08:32:57]MH_I2C_Read... [08:32:57]Read from MH i2c: E2 03 00 5A 07 00 90 00 D5 [08:32:57]RAPDU: 90 00 [08:32:57]wFMCommunicate OK [08:32:57]wFMCommunicate request_size=4 [08:32:57]MH_SAM_APDU [08:32:57]CAPDU: 80 0D 03 02 [08:32:57]Write to MH i2c: E2 08 00 5B 07 80 0D 03 02 00 00 00 00 DD [08:32:57]Write i2c OK [08:32:57]MH_I2C_Read... [08:32:57]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:32:57]Read from MH i2c: E2 [08:32:57]MH_I2C_Read... [08:32:57]Read from MH i2c: E2 0B 00 [08:32:57]MH_I2C_Read... [08:32:57]Read from MH i2c: E2 0B 00 5B 07 00 23 7F F3 DD 1B F4 95 33 90 00 27 [08:32:57]RAPDU: 23 7F F3 DD 1B F4 95 33 90 00 [08:32:57]wFMCommunicate OK [08:32:57]SAM_PROTO_SignData done [08:32:57]FM_MakeSignedData done [08:32:57]CreateOFDProtocolMessage [08:32:57]wFMCommunicate request_size=4 [08:32:57]MH_SAM_APDU [08:32:57]CAPDU: 80 11 00 00 [08:32:57]Write to MH i2c: E2 08 00 5C 07 80 11 00 00 00 00 00 00 DD [08:32:57]Write i2c OK [08:32:57]MH_I2C_Read... [08:32:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:32:57]Read from MH i2c: E2 [08:32:57]MH_I2C_Read... [08:32:57]Read from MH i2c: E2 17 00 [08:32:57]MH_I2C_Read... [08:32:57]Read from MH i2c: E2 17 00 5C 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 36 [08:32:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [08:32:57]wFMCommunicate OK [08:32:57]CreateOFDProtocolMessage done [08:32:57]OFDSenderStorePacket 19022 [08:32:57]StoreOFDPacket docnum=19022 [08:32:57]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 2E 01 00 00 F0 91 26 01 DC 86 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 0B 00 00 00 F4 03 04 00 3B 1C F5 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 4E 4A 00 00 35 04 06 00 98 F2 FE 4E 11 AC 23 7F F3 DD 1B F4 95 33 [08:32:57]CheckFolder [08:32:57]dirname=/storage/ofd_packets [08:32:57]CheckFolder done [08:32:57]ProducePacketName [08:32:57]name=ofd_packets/00019022 [08:32:57]NVStorageSaveData ofd_packets/00019022 [08:32:57]File name is /storage/ofd_packets/00019022 [08:32:57]Write 332 bytes [08:32:57]NVStorageSaveData done [08:32:57]OFDSenderStorePacket done [08:32:57]KKMCreateOFDPacket done [08:32:57]NVStorageSaveData kkm_last_timestamp [08:32:57]File name is /storage/kkm_last_timestamp [08:32:57]Write 4 bytes [08:32:57]NVStorageSaveData done [08:32:57]ExternCall_PrintAddStr [08:32:57]wPrintStart [08:32:57]Write to MH i2c: 01 00 00 5D 07 64 [08:32:57]Write i2c OK [08:32:57]MH_I2C_Read... [08:32:57]Read from MH i2c: 01 [08:32:57]MH_I2C_Read... [08:32:57]Read from MH i2c: 01 07 00 [08:32:57]MH_I2C_Read... [08:32:57]Read from MH i2c: 01 07 00 5D 07 00 00 00 00 00 FF 0F 79 [08:32:57]RasterBufferAndPrint [08:32:57]line Счет N : (3)16942 [08:32:57]line ИНН: 02508201610067 [08:32:57]line Контрольно-Кассовый Чек [08:32:57]line ПРОДАЖА [08:32:57]line Товар: 2000036220012 [08:32:57]line Кофе Капучино XL(GABB TRADE) [08:32:57]line 1.000 * 130.00 [08:32:57]line = 130.00 [08:32:57]line НДС 12% НСП 1% [08:32:57]line > о реализуемом товаре [08:32:57]line ИТОГО: 130.00 [08:32:57]line НСП 1% : 1.15 [08:32:57]line НДС 12% : 13.80 [08:32:57]line Наличными: 130.00 [08:32:57]line Безнал.: 0.00 [08:32:57]line Место: АЗС № 176 "Партнер Нефть" [08:32:57]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [08:32:57]line СНО: Общий режим [08:32:57]line Чек 11 26.09.2024 08:32 [08:32:57]line Смена: 184 ФФД: 1.0 [08:32:57]line ЗНМ: 0300000010 [08:32:57]line РНМ: 0000000000152968 [08:32:57]line Версия ККМ: v1.0 [08:32:57]line ФМ: 0000000000959456 [08:32:57]line ФД: 19022 [08:32:57]line ФПД: 168169416036780 [08:32:57]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T083259&type=1&operation_type=1&fn_number=0000000000959456&fd_number=19022&fm=168169416036780&tin=02508201610067®Number=0000000000152968&sum=13000 [08:32:57]line 0 [08:32:57]OFD Sender: Processing packet 19022 [packets to send 7, broken 6] [08:32:57]ProducePacketName [08:32:57]name=ofd_packets/00019022 [08:32:57]OFD Sender: To server: pG, [08:32:57]CommunicateWithHost lk.salyk.kg:30040 [08:32:57]ConnectInit lk.salyk.kg [08:32:57]written 0, free lines is 4095 [08:32:58]Connected sock=10 [08:32:58]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 2E 01 00 00 F0 91 26 01 DC 86 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 0B 00 00 00 F4 03 04 00 3B 1C F5 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 4E 4A 00 00 35 04 06 00 98 F2 FE 4E 11 AC 23 7F F3 DD 1B F4 95 33 [08:32:58]Write to MH i2c: 01 00 00 86 07 8D [08:32:58]Write i2c OK [08:32:58]MH_I2C_Read... [08:32:58]Read from MH i2c: 01 [08:32:58]MH_I2C_Read... [08:32:58]Read from MH i2c: 01 07 00 [08:32:58]MH_I2C_Read... [08:32:58]Read from MH i2c: 01 07 00 86 07 00 00 00 00 00 09 0D AA [08:32:58]RasterBufferAndPrint [08:32:58]line [08:32:58]line [08:32:58]line [08:32:58]line [08:32:58]line [08:32:58]written 0, free lines is 3343 [08:32:58]MH_Cut [08:32:58]Write to MH i2c: D1 01 00 8D 07 01 66 [08:32:58]Write i2c OK [08:32:58]MH_I2C_Read... [08:32:58]Read from MH i2c: D1 [08:32:58]MH_I2C_Read... [08:32:58]Read from MH i2c: D1 01 00 [08:32:58]MH_I2C_Read... [08:32:58]Read from MH i2c: D1 01 00 8D 07 00 65 [08:32:58]Write to MH i2c: 01 00 00 8E 07 95 [08:32:58]Write i2c OK [08:32:58]MH_I2C_Read... [08:32:58]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 92 88 47 00 38 25 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 4E 4A 00 00 F4 03 04 00 95 C5 F4 66 B6 04 01 00 00 38 29 59 94 8D AB 79 6C [08:32:58]CommunicateWithHost err = 0 [08:32:58]CheckOFDResponse [08:32:58]1017 (14) - 77093643461234 [08:32:58]1041 (16) - 0000000000959456 [08:32:58]1040 (4) - 19022 [08:32:58]1012 (4) - 26.09.2024 02:23 [08:32:58]1206 (1) - 0 [08:32:58]OFD Sender: Remove packet 19022 [08:32:58]ProducePacketName [08:32:58]name=ofd_packets/00019022 [08:32:58]NVStorageDeleteData [08:32:58]OFD Sender: No OFD packet to send [08:32:58]*** Cut start [08:32:58]*** Partial cut [08:32:58]*** CUTSNS_PIN = 1 [08:32:59]*** CUTSNS_PIN = 0 [08:32:59]*** Brake cut motor [08:32:59]Read from MH i2c: 01 [08:32:59]MH_I2C_Read... [08:32:59]*** Stop cut motor [08:32:59]*** Cut end [08:32:59]Read from MH i2c: 01 07 00 [08:32:59]MH_I2C_Read... [08:32:59]Read from MH i2c: 01 07 00 8E 07 00 00 00 00 00 FF 0F AA [08:32:59]process_action close_receipt done [08:32:59]requested_data is exist [08:32:59]produce_requested_data [08:32:59]requested_item fm.sn is exist - process it [08:32:59]wFMCommunicate request_size=4 [08:32:59]MH_SAM_APDU [08:32:59]CAPDU: 80 11 00 00 [08:32:59]Write to MH i2c: E2 08 00 8F 07 80 11 00 00 00 00 00 00 10 [08:32:59]Write i2c OK [08:32:59]MH_I2C_Read... [08:32:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:32:59]Read from MH i2c: E2 [08:32:59]MH_I2C_Read... [08:32:59]Read from MH i2c: E2 17 00 [08:32:59]MH_I2C_Read... [08:32:59]Read from MH i2c: E2 17 00 8F 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 69 [08:32:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [08:32:59]wFMCommunicate OK [08:32:59]requested_item fd.num is exist - process it [08:32:59]SAM_PROTO_GetFieldsCounters [08:32:59]wFMCommunicate request_size=4 [08:32:59]MH_SAM_APDU [08:32:59]CAPDU: 80 13 00 00 [08:32:59]Write to MH i2c: E2 08 00 90 07 80 13 00 00 00 00 00 00 13 [08:32:59]Write i2c OK [08:32:59]MH_I2C_Read... [08:32:59]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:32:59]Read from MH i2c: E2 [08:32:59]MH_I2C_Read... [08:32:59]Read from MH i2c: E2 62 00 [08:32:59]MH_I2C_Read... [08:32:59]Read from MH i2c: E2 62 00 90 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 4E 4A 00 00 0E 04 04 00 B8 00 00 00 12 04 04 00 0B 00 00 00 5E 04 04 00 0B 00 00 00 57 04 04 00 0C 00 00 00 19 04 04 00 00 00 00 00 90 00 B1 [08:32:59]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 4E 4A 00 00 0E 04 04 00 B8 00 00 00 12 04 04 00 0B 00 00 00 5E 04 04 00 0B 00 00 00 57 04 04 00 0C 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:32:59]wFMCommunicate OK [08:32:59]SAM_PROTO_GetFieldsCounters done [08:32:59]requested_item shift.num is exist - process it [08:32:59]requested_item shift.opened is exist - process it [08:32:59]req_shift_opened [08:32:59]FM_GetShiftState [08:32:59]SAM_PROTO_GetShiftState [08:32:59]wFMCommunicate request_size=4 [08:32:59]MH_SAM_APDU [08:32:59]CAPDU: 80 13 01 00 [08:32:59]Write to MH i2c: E2 08 00 91 07 80 13 01 00 00 00 00 00 15 [08:32:59]Write i2c OK [08:32:59]MH_I2C_Read... [08:32:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:32:59]Read from MH i2c: E2 [08:32:59]MH_I2C_Read... [08:32:59]Read from MH i2c: E2 0E 00 [08:32:59]MH_I2C_Read... [08:32:59]Read from MH i2c: E2 0E 00 91 07 00 09 00 01 58 A7 F4 66 00 00 00 00 90 00 7A [08:32:59]RAPDU: 09 00 01 58 A7 F4 66 00 00 00 00 90 00 [08:32:59]wFMCommunicate OK [08:32:59]SAM_PROTO_GetShiftState done [08:32:59]FM_GetShiftState done [08:32:59]req_shift_opened done [08:32:59]requested_item shift.open_date is exist - process it [08:32:59]req_shift_open_date [08:32:59]req_shift_open_date done [08:32:59]produce_requested_data done [08:32:59]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":19022,"shift.num":184,"shift.opened":1,"shift.open_date":1727309656} [08:32:59]process_action_free close_receipt [08:32:59]json_value_free [08:32:59]json_value_free done [08:32:59]process_json_proto returns [08:32:59]Send response to host [08:32:59]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":19022,"shift.num":184,"shift.opened":1,"shift.open_date":1727309656}}} [08:32:59]free response buf [08:32:59]execute_script done [08:32:59]execute_script returns [08:32:59]free content buf [08:32:59]Sock 9.Close socket [08:32:59]Sock 9.Thread stoped [08:33:03]OFD Sender: No OFD packet to send [08:33:08]OFD Sender: No OFD packet to send [08:33:13]OFD Sender: No OFD packet to send [08:33:18]OFD Sender: No OFD packet to send [08:33:23]OFD Sender: No OFD packet to send [08:33:28]OFD Sender: No OFD packet to send [08:33:33]OFD Sender: No OFD packet to send [08:33:38]OFD Sender: No OFD packet to send [08:33:43]OFD Sender: No OFD packet to send [08:33:48]OFD Sender: No OFD packet to send [08:33:53]OFD Sender: No OFD packet to send [08:33:58]OFD Sender: No OFD packet to send [08:34:03]OFD Sender: No OFD packet to send [08:34:08]OFD Sender: No OFD packet to send [08:34:13]OFD Sender: No OFD packet to send [08:34:18]OFD Sender: No OFD packet to send [08:34:23]OFD Sender: No OFD packet to send [08:34:28]OFD Sender: No OFD packet to send [08:34:33]OFD Sender: No OFD packet to send [08:34:38]OFD Sender: No OFD packet to send [08:34:43]OFD Sender: No OFD packet to send [08:34:48]OFD Sender: No OFD packet to send [08:34:53]OFD Sender: No OFD packet to send [08:34:58]OFD Sender: No OFD packet to send [08:35:03]OFD Sender: No OFD packet to send [08:35:08]OFD Sender: No OFD packet to send [08:35:13]OFD Sender: No OFD packet to send [08:35:18]OFD Sender: No OFD packet to send [08:35:24]OFD Sender: No OFD packet to send [08:35:29]OFD Sender: No OFD packet to send [08:35:34]OFD Sender: No OFD packet to send [08:35:39]OFD Sender: No OFD packet to send [08:35:44]OFD Sender: No OFD packet to send [08:35:49]OFD Sender: No OFD packet to send [08:35:54]OFD Sender: No OFD packet to send [08:35:59]OFD Sender: No OFD packet to send [08:36:04]OFD Sender: No OFD packet to send [08:36:09]OFD Sender: No OFD packet to send [08:36:14]OFD Sender: No OFD packet to send [08:36:19]OFD Sender: No OFD packet to send [08:36:24]OFD Sender: No OFD packet to send [08:36:29]OFD Sender: No OFD packet to send [08:36:34]OFD Sender: No OFD packet to send [08:36:39]OFD Sender: No OFD packet to send [08:36:44]OFD Sender: No OFD packet to send [08:36:49]OFD Sender: No OFD packet to send [08:36:54]OFD Sender: No OFD packet to send [08:36:59]OFD Sender: No OFD packet to send [08:37:04]OFD Sender: No OFD packet to send [08:37:09]OFD Sender: No OFD packet to send [08:37:14]OFD Sender: No OFD packet to send [08:37:19]OFD Sender: No OFD packet to send [08:37:24]OFD Sender: No OFD packet to send [08:37:29]OFD Sender: No OFD packet to send [08:37:34]OFD Sender: No OFD packet to send [08:37:39]OFD Sender: No OFD packet to send [08:37:44]OFD Sender: No OFD packet to send [08:37:49]OFD Sender: No OFD packet to send [08:37:54]OFD Sender: No OFD packet to send [08:37:59]OFD Sender: No OFD packet to send [08:38:04]OFD Sender: No OFD packet to send [08:38:09]OFD Sender: No OFD packet to send [08:38:14]OFD Sender: No OFD packet to send [08:38:19]OFD Sender: No OFD packet to send [08:38:24]OFD Sender: No OFD packet to send [08:38:29]OFD Sender: No OFD packet to send [08:38:34]OFD Sender: No OFD packet to send [08:38:39]OFD Sender: No OFD packet to send [08:38:44]OFD Sender: No OFD packet to send [08:38:49]OFD Sender: No OFD packet to send [08:38:54]OFD Sender: No OFD packet to send [08:38:59]OFD Sender: No OFD packet to send [08:39:04]OFD Sender: No OFD packet to send [08:39:09]OFD Sender: No OFD packet to send [08:39:14]OFD Sender: No OFD packet to send [08:39:19]OFD Sender: No OFD packet to send [08:39:24]OFD Sender: No OFD packet to send [08:39:29]OFD Sender: No OFD packet to send [08:39:34]OFD Sender: No OFD packet to send [08:39:39]OFD Sender: No OFD packet to send [08:39:44]OFD Sender: No OFD packet to send [08:39:49]OFD Sender: No OFD packet to send [08:39:54]OFD Sender: No OFD packet to send [08:39:59]OFD Sender: No OFD packet to send [08:40:04]OFD Sender: No OFD packet to send [08:40:09]OFD Sender: No OFD packet to send [08:40:14]OFD Sender: No OFD packet to send [08:40:19]OFD Sender: No OFD packet to send [08:40:24]OFD Sender: No OFD packet to send [08:40:29]OFD Sender: No OFD packet to send [08:40:34]OFD Sender: No OFD packet to send [08:40:39]OFD Sender: No OFD packet to send [08:40:44]OFD Sender: No OFD packet to send [08:40:49]OFD Sender: No OFD packet to send [08:40:54]OFD Sender: No OFD packet to send [08:40:59]OFD Sender: No OFD packet to send [08:41:04]OFD Sender: No OFD packet to send [08:41:09]OFD Sender: No OFD packet to send [08:41:14]OFD Sender: No OFD packet to send [08:41:19]OFD Sender: No OFD packet to send [08:41:24]OFD Sender: No OFD packet to send [08:41:29]OFD Sender: No OFD packet to send [08:41:34]OFD Sender: No OFD packet to send [08:41:39]OFD Sender: No OFD packet to send [08:41:44]OFD Sender: No OFD packet to send [08:41:49]OFD Sender: No OFD packet to send [08:41:54]OFD Sender: No OFD packet to send [08:41:59]OFD Sender: No OFD packet to send [08:42:04]OFD Sender: No OFD packet to send [08:42:09]OFD Sender: No OFD packet to send [08:42:14]OFD Sender: No OFD packet to send [08:42:19]OFD Sender: No OFD packet to send [08:42:24]OFD Sender: No OFD packet to send [08:42:29]OFD Sender: No OFD packet to send [08:42:34]OFD Sender: No OFD packet to send [08:42:39]OFD Sender: No OFD packet to send [08:42:44]OFD Sender: No OFD packet to send [08:42:49]OFD Sender: No OFD packet to send [08:42:54]OFD Sender: No OFD packet to send [08:42:59]OFD Sender: No OFD packet to send [08:43:04]OFD Sender: No OFD packet to send [08:43:07]accept exits with 7 [08:43:07]New connection [08:43:07]New thread 3066551652 created [08:43:07]Thread 3066695012 joined [08:43:07]Waiting for new connection... [08:43:07] Sock 7.Parse request [08:43:07]Sock 7.Check first char [08:43:07]Sock 7.First char is OK [08:43:07]request: POST /json_proto HTTP/1.0 [08:43:07]Method: POST [08:43:07]URL: /json_proto [08:43:07]Method is POST - this is cgi request [08:43:07]url: /json_proto [08:43:07]query_string will be loaded in cgi processing [08:43:07]execute_cgi json_proto POST (null) [08:43:07]execute_cgi path=json_proto method=POST [08:43:07]POST find Content-Length [08:43:07]Host: 172.17.62.196:8080 [08:43:07]Content-Length: 806 [08:43:07]Content-Type: application/json [08:43:07] [08:43:07]POST finish read [08:43:07]Found Content-Length = 806 [08:43:07]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16943", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:43:07]execute_script... [08:43: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)16943", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:43:07]POST & json_proto [08:43:07]process_json_proto [08:43:07]json parsed OK: [08:43:07]protocol is kg_v1.0 [08:43:07]action value=close_receipt [08:43:07]process_action close_receipt [08:43:07]cmd_close_receipt [08:43:07]MH_GetDate [08:43:07]Write to MH i2c: F0 00 00 92 07 88 [08:43:07]Write i2c OK [08:43:07]MH_I2C_Read... [08:43:07]Read from MH i2c: F0 [08:43:07]MH_I2C_Read... [08:43:07]Read from MH i2c: F0 09 00 [08:43:07]MH_I2C_Read... [08:43:07]Read from MH i2c: F0 09 00 92 07 00 9F 1E F5 66 CE CC 0E 66 B7 [08:43:07]GetLastDocTimeStamp 1727339579 [08:43:07]current date 1727340191 [08:43:07]FM_GetShiftState [08:43:07]SAM_PROTO_GetShiftState [08:43:07]wFMCommunicate request_size=4 [08:43:07]MH_SAM_APDU [08:43:07]CAPDU: 80 13 01 00 [08:43:07]Write to MH i2c: E2 08 00 93 07 80 13 01 00 00 00 00 00 17 [08:43:07]Write i2c OK [08:43:07]MH_I2C_Read... [08:43:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:43:07]Read from MH i2c: E2 [08:43:07]MH_I2C_Read... [08:43:07]Read from MH i2c: E2 0E 00 [08:43:07]MH_I2C_Read... [08:43:07]Read from MH i2c: E2 0E 00 93 07 00 09 00 01 58 A7 F4 66 00 00 00 00 90 00 7C [08:43:07]RAPDU: 09 00 01 58 A7 F4 66 00 00 00 00 90 00 [08:43:07]wFMCommunicate OK [08:43:07]SAM_PROTO_GetShiftState done [08:43:07]FM_GetShiftState done [08:43:07]opened in 1727309656 [08:43:07]opened+sec_in_day 1727396056 [08:43:07]quantity*price = 13000 [08:43:07]sum+1 = 13001 [08:43:07]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.80 Наличными: 0.00 Безнал.: 130.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 12 26.09.2024 08:43 Смена: 184 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 Платежная система: O! деньги ФМ: 0000000000959456 ФД: 19023 ФПД: 187320849380511 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T084311&type=1&operation_type=1&fn_number=0000000000959456&fd_number=19023&fm=187320849380511&tin=02508201610067®Number=0000000000152968&sum=13000 0 [08:43:09]StoreToDocumentArchive [08:43:09]shift 184 fd 19023 [08:43:09]save to /storage/0184/doc_00019023 [08:43:09]save last doc name /storage/0184/doc_00019023 to /storage/kkm_last_doc_name [08:43:09]save OK [08:43:09]Clear old archive folders... [08:43:09]ProcessDocumentItem done err = 0, tmpTLVsize=282 [08:43:09]tlvbuf is 01D56610 [08:43:09]SAM_PROTO_ClearQueue [08:43:09]wFMCommunicate request_size=4 [08:43:09]MH_SAM_APDU [08:43:09]CAPDU: 80 09 00 00 [08:43:09]Write to MH i2c: E2 08 00 A0 07 80 09 00 00 00 00 00 00 19 [08:43:09]Write i2c OK [08:43:09]MH_I2C_Read... [08:43:09]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:43:09]Read from MH i2c: E2 [08:43:09]MH_I2C_Read... [08:43:09]Read from MH i2c: E2 03 00 [08:43:09]MH_I2C_Read... [08:43:09]Read from MH i2c: E2 03 00 A0 07 00 90 00 1B [08:43:09]RAPDU: 90 00 [08:43:09]wFMCommunicate OK [08:43:09]SAM_PROTO_ClearQueue done [08:43:09]KKMCreateOFDPacket [08:43:09]OFDProtocolAddRootSTLVToBuf [08:43:09]FM_MakeSignedData [08:43:09]FM_MakeSignedData [08:43:09]SAM_PROTO_SignData [08:43:09]wFMCommunicate request_size=4 [08:43:09]MH_SAM_APDU [08:43:09]CAPDU: 80 0D 01 02 [08:43:09]Write to MH i2c: E2 08 00 A1 07 80 0D 01 02 00 00 00 00 21 [08:43:09]Write i2c OK [08:43:09]MH_I2C_Read... [08:43:09]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:43:09]Read from MH i2c: E2 [08:43:09]MH_I2C_Read... [08:43:09]Read from MH i2c: E2 03 00 [08:43:09]MH_I2C_Read... [08:43:09]Read from MH i2c: E2 03 00 A1 07 00 90 00 1C [08:43:09]RAPDU: 90 00 [08:43:09]wFMCommunicate OK [08:43:09]wFMCommunicate request_size=255 [08:43:09]MH_SAM_APDU [08:43:09]CAPDU: 80 0D 02 02 FA 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C8 32 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 9F 1E F5 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 [08:43:09]Write to MH i2c: E2 02 01 A2 07 80 0D 02 02 FA 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C8 32 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 9F 1E F5 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 00 00 12 [08:43:09]Write i2c OK [08:43:09]MH_I2C_Read... [08:43:09]OFD Sender: No OFD packet to send [08:43:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:43:09]Read from MH i2c: E2 [08:43:09]MH_I2C_Read... [08:43:09]Read from MH i2c: E2 03 00 [08:43:09]MH_I2C_Read... [08:43:09]Read from MH i2c: E2 03 00 A2 07 00 90 00 1D [08:43:09]RAPDU: 90 00 [08:43:09]wFMCommunicate OK [08:43:09]wFMCommunicate request_size=41 [08:43:09]MH_SAM_APDU [08:43:09]CAPDU: 80 0D 02 02 24 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 4F 4A 00 00 35 04 06 00 AA 5E 08 AF B4 9F [08:43:09]Write to MH i2c: E2 2C 00 A3 07 80 0D 02 02 24 00 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 4F 4A 00 00 35 04 06 00 AA 5E 08 AF B4 9F 00 00 A4 [08:43:09]Write i2c OK [08:43:09]MH_I2C_Read... [08:43:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:43:09]Read from MH i2c: E2 [08:43:09]MH_I2C_Read... [08:43:09]Read from MH i2c: E2 03 00 [08:43:09]MH_I2C_Read... [08:43:09]Read from MH i2c: E2 03 00 A3 07 00 90 00 1E [08:43:09]RAPDU: 90 00 [08:43:09]wFMCommunicate OK [08:43:09]wFMCommunicate request_size=4 [08:43:09]MH_SAM_APDU [08:43:09]CAPDU: 80 0D 03 02 [08:43:09]Write to MH i2c: E2 08 00 A4 07 80 0D 03 02 00 00 00 00 26 [08:43:09]Write i2c OK [08:43:09]MH_I2C_Read... [08:43:09]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:43:09]Read from MH i2c: E2 [08:43:09]MH_I2C_Read... [08:43:09]Read from MH i2c: E2 0B 00 [08:43:09]MH_I2C_Read... [08:43:09]Read from MH i2c: E2 0B 00 A4 07 00 7A 42 52 CF BB 51 A8 BC 90 00 74 [08:43:09]RAPDU: 7A 42 52 CF BB 51 A8 BC 90 00 [08:43:09]wFMCommunicate OK [08:43:09]SAM_PROTO_SignData done [08:43:09]FM_MakeSignedData done [08:43:09]CreateOFDProtocolMessage [08:43:09]wFMCommunicate request_size=4 [08:43:09]MH_SAM_APDU [08:43:09]CAPDU: 80 11 00 00 [08:43:09]Write to MH i2c: E2 08 00 A5 07 80 11 00 00 00 00 00 00 26 [08:43:09]Write i2c OK [08:43:09]MH_I2C_Read... [08:43:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:43:09]Read from MH i2c: E2 [08:43:09]MH_I2C_Read... [08:43:09]Read from MH i2c: E2 17 00 [08:43:09]MH_I2C_Read... [08:43:09]Read from MH i2c: E2 17 00 A5 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 7F [08:43:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [08:43:09]wFMCommunicate OK [08:43:09]CreateOFDProtocolMessage done [08:43:09]OFDSenderStorePacket 19023 [08:43:09]StoreOFDPacket docnum=19023 [08:43:09]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 2E 01 00 00 D2 A1 26 01 BD BF 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C8 32 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 9F 1E F5 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 4F 4A 00 00 35 04 06 00 AA 5E 08 AF B4 9F 7A 42 52 CF BB 51 A8 BC [08:43:09]CheckFolder [08:43:09]dirname=/storage/ofd_packets [08:43:09]CheckFolder done [08:43:09]ProducePacketName [08:43:09]name=ofd_packets/00019023 [08:43:09]NVStorageSaveData ofd_packets/00019023 [08:43:09]File name is /storage/ofd_packets/00019023 [08:43:09]Write 332 bytes [08:43:09]NVStorageSaveData done [08:43:09]OFDSenderStorePacket done [08:43:09]KKMCreateOFDPacket done [08:43:09]NVStorageSaveData kkm_last_timestamp [08:43:09]File name is /storage/kkm_last_timestamp [08:43:09]Write 4 bytes [08:43:09]NVStorageSaveData done [08:43:09]ExternCall_PrintAddStr [08:43:09]wPrintStart [08:43:09]Write to MH i2c: 01 00 00 A6 07 AD [08:43:09]Write i2c OK [08:43:09]MH_I2C_Read... [08:43:09]Read from MH i2c: 01 [08:43:09]MH_I2C_Read... [08:43:09]Read from MH i2c: 01 07 00 [08:43:09]MH_I2C_Read... [08:43:09]Read from MH i2c: 01 07 00 A6 07 00 00 00 00 00 FF 0F C2 [08:43:09]RasterBufferAndPrint [08:43:09]line Счет N : (3)16943 [08:43:09]line ИНН: 02508201610067 [08:43:09]line Контрольно-Кассовый Чек [08:43:09]line ПРОДАЖА [08:43:09]line Товар: 2000036220012 [08:43:09]line Кофе Капучино XL(GABB TRADE) [08:43:09]line 1.000 * 130.00 [08:43:09]line = 130.00 [08:43:09]line НДС 12% НСП 1% [08:43:09]line > о реализуемом товаре [08:43:09]line ИТОГО: 130.00 [08:43:09]line НСП 1% : 1.15 [08:43:09]line НДС 12% : 13.80 [08:43:09]line Наличными: 0.00 [08:43:09]line Безнал.: 130.00 [08:43:09]line Место: АЗС № 176 "Партнер Нефть" [08:43:09]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [08:43:09]line СНО: Общий режим [08:43:09]line Чек 12 26.09.2024 08:43 [08:43:09]line Смена: 184 ФФД: 1.0 [08:43:09]line ЗНМ: 0300000010 [08:43:09]line РНМ: 0000000000152968 [08:43:09]line Версия ККМ: v1.0 [08:43:09]line Платежная система: O! деньги [08:43:09]line ФМ: 0000000000959456 [08:43:09]line ФД: 19023 [08:43:09]line ФПД: 187320849380511 [08:43:09]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T084311&type=1&operation_type=1&fn_number=0000000000959456&fd_number=19023&fm=187320849380511&tin=02508201610067®Number=0000000000152968&sum=13000 [08:43:09]line 0 [08:43:09]OFD Sender: Processing packet 19023 [packets to send 7, broken 6] [08:43:09]ProducePacketName [08:43:09]name=ofd_packets/00019023 [08:43:09]OFD Sender: To server: pG, [08:43:09]CommunicateWithHost lk.salyk.kg:30040 [08:43:09]ConnectInit lk.salyk.kg [08:43:09]written 0, free lines is 4095 [08:43:10]Connected sock=10 [08:43:10]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 2E 01 00 00 D2 A1 26 01 BD BF 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C8 32 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 9F 1E F5 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 4F 4A 00 00 35 04 06 00 AA 5E 08 AF B4 9F 7A 42 52 CF BB 51 A8 BC [08:43:10]Write to MH i2c: 01 00 00 D1 07 D8 [08:43:10]Write i2c OK [08:43:10]MH_I2C_Read... [08:43:10]Read from MH i2c: 01 [08:43:10]MH_I2C_Read... [08:43:10]Read from MH i2c: 01 07 00 [08:43:10]MH_I2C_Read... [08:43:10]Read from MH i2c: 01 07 00 D1 07 00 00 00 00 00 F7 0C E2 [08:43:10]RasterBufferAndPrint [08:43:10]line [08:43:10]line [08:43:10]line [08:43:10]line [08:43:10]line [08:43:10]written 0, free lines is 3325 [08:43:10]MH_Cut [08:43:10]Write to MH i2c: D1 01 00 D8 07 01 B1 [08:43:10]Write i2c OK [08:43:10]MH_I2C_Read... [08:43:10]Read from MH i2c: D1 [08:43:10]MH_I2C_Read... [08:43:10]Read from MH i2c: D1 01 00 [08:43:10]MH_I2C_Read... [08:43:10]Read from MH i2c: D1 01 00 D8 07 00 B0 [08:43:10]Write to MH i2c: 01 00 00 D9 07 E0 [08:43:10]Write i2c OK [08:43:10]MH_I2C_Read... [08:43:10]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 0E 5C 47 00 AC 0F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 4F 4A 00 00 F4 03 04 00 F9 C7 F4 66 B6 04 01 00 00 39 44 B9 84 93 23 05 A4 [08:43:10]CommunicateWithHost err = 0 [08:43:10]CheckOFDResponse [08:43:10]1017 (14) - 77093643461234 [08:43:10]1041 (16) - 0000000000959456 [08:43:10]1040 (4) - 19023 [08:43:10]1012 (4) - 26.09.2024 02:33 [08:43:10]1206 (1) - 0 [08:43:10]OFD Sender: Remove packet 19023 [08:43:10]ProducePacketName [08:43:10]name=ofd_packets/00019023 [08:43:10]NVStorageDeleteData [08:43:10]OFD Sender: No OFD packet to send [08:43:11]*** Cut start [08:43:11]*** Partial cut [08:43:11]*** CUTSNS_PIN = 1 [08:43:11]*** CUTSNS_PIN = 0 [08:43:11]*** Brake cut motor [08:43:11]Read from MH i2c: 01 [08:43:11]MH_I2C_Read... [08:43:11]*** Stop cut motor [08:43:11]*** Cut end [08:43:11]Read from MH i2c: 01 07 00 [08:43:11]MH_I2C_Read... [08:43:11]Read from MH i2c: 01 07 00 D9 07 00 00 00 00 00 FF 0F F5 [08:43:11]process_action close_receipt done [08:43:11]requested_data is exist [08:43:11]produce_requested_data [08:43:11]requested_item fm.sn is exist - process it [08:43:11]wFMCommunicate request_size=4 [08:43:11]MH_SAM_APDU [08:43:11]CAPDU: 80 11 00 00 [08:43:11]Write to MH i2c: E2 08 00 DA 07 80 11 00 00 00 00 00 00 5B [08:43:11]Write i2c OK [08:43:11]MH_I2C_Read... [08:43:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:43:11]Read from MH i2c: E2 [08:43:11]MH_I2C_Read... [08:43:11]Read from MH i2c: E2 17 00 [08:43:11]MH_I2C_Read... [08:43:11]Read from MH i2c: E2 17 00 DA 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 B4 [08:43:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [08:43:11]wFMCommunicate OK [08:43:11]requested_item fd.num is exist - process it [08:43:11]SAM_PROTO_GetFieldsCounters [08:43:11]wFMCommunicate request_size=4 [08:43:11]MH_SAM_APDU [08:43:11]CAPDU: 80 13 00 00 [08:43:11]Write to MH i2c: E2 08 00 DB 07 80 13 00 00 00 00 00 00 5E [08:43:11]Write i2c OK [08:43:11]MH_I2C_Read... [08:43:11]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:43:11]Read from MH i2c: E2 [08:43:11]MH_I2C_Read... [08:43:11]Read from MH i2c: E2 62 00 [08:43:11]MH_I2C_Read... [08:43:11]Read from MH i2c: E2 62 00 DB 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 4F 4A 00 00 0E 04 04 00 B8 00 00 00 12 04 04 00 0C 00 00 00 5E 04 04 00 0C 00 00 00 57 04 04 00 0D 00 00 00 19 04 04 00 00 00 00 00 90 00 00 [08:43:11]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 4F 4A 00 00 0E 04 04 00 B8 00 00 00 12 04 04 00 0C 00 00 00 5E 04 04 00 0C 00 00 00 57 04 04 00 0D 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:43:11]wFMCommunicate OK [08:43:11]SAM_PROTO_GetFieldsCounters done [08:43:11]requested_item shift.num is exist - process it [08:43:11]requested_item shift.opened is exist - process it [08:43:11]req_shift_opened [08:43:11]FM_GetShiftState [08:43:11]SAM_PROTO_GetShiftState [08:43:11]wFMCommunicate request_size=4 [08:43:11]MH_SAM_APDU [08:43:11]CAPDU: 80 13 01 00 [08:43:11]Write to MH i2c: E2 08 00 DC 07 80 13 01 00 00 00 00 00 60 [08:43:11]Write i2c OK [08:43:11]MH_I2C_Read... [08:43:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:43:11]Read from MH i2c: E2 [08:43:11]MH_I2C_Read... [08:43:11]Read from MH i2c: E2 0E 00 [08:43:11]MH_I2C_Read... [08:43:11]Read from MH i2c: E2 0E 00 DC 07 00 09 00 01 58 A7 F4 66 00 00 00 00 90 00 C5 [08:43:11]RAPDU: 09 00 01 58 A7 F4 66 00 00 00 00 90 00 [08:43:11]wFMCommunicate OK [08:43:11]SAM_PROTO_GetShiftState done [08:43:11]FM_GetShiftState done [08:43:11]req_shift_opened done [08:43:11]requested_item shift.open_date is exist - process it [08:43:11]req_shift_open_date [08:43:11]req_shift_open_date done [08:43:11]produce_requested_data done [08:43:11]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":19023,"shift.num":184,"shift.opened":1,"shift.open_date":1727309656} [08:43:11]process_action_free close_receipt [08:43:11]json_value_free [08:43:11]json_value_free done [08:43:11]process_json_proto returns [08:43:11]Send response to host [08:43:11]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":19023,"shift.num":184,"shift.opened":1,"shift.open_date":1727309656}}} [08:43:11]free response buf [08:43:11]execute_script done [08:43:11]execute_script returns [08:43:11]free content buf [08:43:11]Sock 7.Close socket [08:43:11]Sock 7.Thread stoped [08:43:15]OFD Sender: No OFD packet to send [08:43:20]OFD Sender: No OFD packet to send [08:43:25]OFD Sender: No OFD packet to send [08:43:30]OFD Sender: No OFD packet to send [08:43:35]OFD Sender: No OFD packet to send [08:43:40]OFD Sender: No OFD packet to send [08:43:45]OFD Sender: No OFD packet to send [08:43:50]OFD Sender: No OFD packet to send [08:43:56]OFD Sender: No OFD packet to send [08:44:01]OFD Sender: No OFD packet to send [08:44:06]OFD Sender: No OFD packet to send [08:44:11]OFD Sender: No OFD packet to send [08:44:16]OFD Sender: No OFD packet to send [08:44:21]OFD Sender: No OFD packet to send [08:44:26]OFD Sender: No OFD packet to send [08:44:31]OFD Sender: No OFD packet to send [08:44:36]OFD Sender: No OFD packet to send [08:44:41]OFD Sender: No OFD packet to send [08:44:46]OFD Sender: No OFD packet to send [08:44:51]OFD Sender: No OFD packet to send [08:44:56]OFD Sender: No OFD packet to send [08:45:01]OFD Sender: No OFD packet to send [08:45:06]OFD Sender: No OFD packet to send [08:45:11]OFD Sender: No OFD packet to send [08:45:16]OFD Sender: No OFD packet to send [08:45:21]OFD Sender: No OFD packet to send [08:45:26]OFD Sender: No OFD packet to send [08:45:31]OFD Sender: No OFD packet to send [08:45:36]OFD Sender: No OFD packet to send [08:45:41]OFD Sender: No OFD packet to send [08:45:46]OFD Sender: No OFD packet to send [08:45:51]OFD Sender: No OFD packet to send [08:45:56]OFD Sender: No OFD packet to send [08:46:01]OFD Sender: No OFD packet to send [08:46:06]OFD Sender: No OFD packet to send [08:46:11]OFD Sender: No OFD packet to send [08:46:16]OFD Sender: No OFD packet to send [08:46:21]OFD Sender: No OFD packet to send [08:46:26]OFD Sender: No OFD packet to send [08:46:31]OFD Sender: No OFD packet to send [08:46:36]OFD Sender: No OFD packet to send [08:46:41]OFD Sender: No OFD packet to send [08:46:46]OFD Sender: No OFD packet to send [08:46:51]OFD Sender: No OFD packet to send [08:46:53]accept exits with 9 [08:46:53]New connection [08:46:53]New thread 3066695012 created [08:46:53]Thread 3066551652 joined [08:46:53]Waiting for new connection... [08:46:53] Sock 9.Parse request [08:46:53]Sock 9.Check first char [08:46:53]Sock 9.First char is OK [08:46:53]request: POST /json_proto HTTP/1.0 [08:46:53]Method: POST [08:46:53]URL: /json_proto [08:46:53]Method is POST - this is cgi request [08:46:53]url: /json_proto [08:46:53]query_string will be loaded in cgi processing [08:46:53]execute_cgi json_proto POST (null) [08:46:53]execute_cgi path=json_proto method=POST [08:46:53]POST find Content-Length [08:46:53]Host: 172.17.62.196:8080 [08:46:53]Content-Length: 806 [08:46:53]Content-Type: application/json [08:46:53] [08:46:53]POST finish read [08:46:53]Found Content-Length = 806 [08:46:53]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16944", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:46:53]execute_script... [08:46: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)16944", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:46:53]POST & json_proto [08:46:53]process_json_proto [08:46:53]json parsed OK: [08:46:53]protocol is kg_v1.0 [08:46:53]action value=close_receipt [08:46:53]process_action close_receipt [08:46:53]cmd_close_receipt [08:46:53]MH_GetDate [08:46:53]Write to MH i2c: F0 00 00 DD 07 D3 [08:46:53]Write i2c OK [08:46:53]MH_I2C_Read... [08:46:53]Read from MH i2c: F0 [08:46:53]MH_I2C_Read... [08:46:53]Read from MH i2c: F0 09 00 [08:46:53]MH_I2C_Read... [08:46:53]Read from MH i2c: F0 09 00 DD 07 00 80 1F F5 66 CE CC 0E 66 E4 [08:46:53]GetLastDocTimeStamp 1727340191 [08:46:53]current date 1727340416 [08:46:53]FM_GetShiftState [08:46:53]SAM_PROTO_GetShiftState [08:46:53]wFMCommunicate request_size=4 [08:46:53]MH_SAM_APDU [08:46:53]CAPDU: 80 13 01 00 [08:46:53]Write to MH i2c: E2 08 00 DE 07 80 13 01 00 00 00 00 00 62 [08:46:53]Write i2c OK [08:46:53]MH_I2C_Read... [08:46:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:46:53]Read from MH i2c: E2 [08:46:53]MH_I2C_Read... [08:46:53]Read from MH i2c: E2 0E 00 [08:46:53]MH_I2C_Read... [08:46:53]Read from MH i2c: E2 0E 00 DE 07 00 09 00 01 58 A7 F4 66 00 00 00 00 90 00 C7 [08:46:53]RAPDU: 09 00 01 58 A7 F4 66 00 00 00 00 90 00 [08:46:53]wFMCommunicate OK [08:46:53]SAM_PROTO_GetShiftState done [08:46:53]FM_GetShiftState done [08:46:53]opened in 1727309656 [08:46:53]opened+sec_in_day 1727396056 [08:46:53]quantity*price = 13000 [08:46:53]sum+1 = 13001 [08:46:53]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.80 Наличными: 0.00 Безнал.: 130.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 13 26.09.2024 08:46 Смена: 184 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 Платежная система: O! деньги ФМ: 0000000000959456 ФД: 19024 ФПД: 106599121813102 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T084656&type=1&operation_type=1&fn_number=0000000000959456&fd_number=19024&fm=106599121813102&tin=02508201610067®Number=0000000000152968&sum=13000 0 [08:46:54]StoreToDocumentArchive [08:46:54]shift 184 fd 19024 [08:46:54]save to /storage/0184/doc_00019024 [08:46:54]save last doc name /storage/0184/doc_00019024 to /storage/kkm_last_doc_name [08:46:54]save OK [08:46:54]Clear old archive folders... [08:46:54]ProcessDocumentItem done err = 0, tmpTLVsize=282 [08:46:54]tlvbuf is B6E9B740 [08:46:54]SAM_PROTO_ClearQueue [08:46:54]wFMCommunicate request_size=4 [08:46:54]MH_SAM_APDU [08:46:54]CAPDU: 80 09 00 00 [08:46:54]Write to MH i2c: E2 08 00 EB 07 80 09 00 00 00 00 00 00 64 [08:46:54]Write i2c OK [08:46:54]MH_I2C_Read... [08:46:54]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:46:54]Read from MH i2c: E2 [08:46:54]MH_I2C_Read... [08:46:54]Read from MH i2c: E2 03 00 [08:46:54]MH_I2C_Read... [08:46:54]Read from MH i2c: E2 03 00 EB 07 00 90 00 66 [08:46:54]RAPDU: 90 00 [08:46:54]wFMCommunicate OK [08:46:54]SAM_PROTO_ClearQueue done [08:46:54]KKMCreateOFDPacket [08:46:54]OFDProtocolAddRootSTLVToBuf [08:46:54]FM_MakeSignedData [08:46:54]FM_MakeSignedData [08:46:54]SAM_PROTO_SignData [08:46:54]wFMCommunicate request_size=4 [08:46:54]MH_SAM_APDU [08:46:54]CAPDU: 80 0D 01 02 [08:46:54]Write to MH i2c: E2 08 00 EC 07 80 0D 01 02 00 00 00 00 6C [08:46:54]Write i2c OK [08:46:54]MH_I2C_Read... [08:46:54]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:46:54]Read from MH i2c: E2 [08:46:54]MH_I2C_Read... [08:46:54]Read from MH i2c: E2 03 00 [08:46:54]MH_I2C_Read... [08:46:54]Read from MH i2c: E2 03 00 EC 07 00 90 00 67 [08:46:54]RAPDU: 90 00 [08:46:54]wFMCommunicate OK [08:46:54]wFMCommunicate request_size=255 [08:46:54]MH_SAM_APDU [08:46:54]CAPDU: 80 0D 02 02 FA 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C8 32 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 80 1F F5 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 [08:46:54]Write to MH i2c: E2 02 01 ED 07 80 0D 02 02 FA 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C8 32 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 80 1F F5 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 00 00 40 [08:46:54]Write i2c OK [08:46:54]MH_I2C_Read... [08:46:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:46:54]Read from MH i2c: E2 [08:46:54]MH_I2C_Read... [08:46:54]Read from MH i2c: E2 03 00 [08:46:54]MH_I2C_Read... [08:46:54]Read from MH i2c: E2 03 00 ED 07 00 90 00 68 [08:46:54]RAPDU: 90 00 [08:46:54]wFMCommunicate OK [08:46:54]wFMCommunicate request_size=41 [08:46:54]MH_SAM_APDU [08:46:54]CAPDU: 80 0D 02 02 24 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 50 4A 00 00 35 04 06 00 60 F3 8A C9 FE 6E [08:46:54]Write to MH i2c: E2 2C 00 EE 07 80 0D 02 02 24 00 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 50 4A 00 00 35 04 06 00 60 F3 8A C9 FE 6E 00 00 F0 [08:46:54]Write i2c OK [08:46:54]MH_I2C_Read... [08:46:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:46:54]Read from MH i2c: E2 [08:46:54]MH_I2C_Read... [08:46:54]Read from MH i2c: E2 03 00 [08:46:54]MH_I2C_Read... [08:46:54]Read from MH i2c: E2 03 00 EE 07 00 90 00 69 [08:46:54]RAPDU: 90 00 [08:46:54]wFMCommunicate OK [08:46:54]wFMCommunicate request_size=4 [08:46:54]MH_SAM_APDU [08:46:54]CAPDU: 80 0D 03 02 [08:46:54]Write to MH i2c: E2 08 00 EF 07 80 0D 03 02 00 00 00 00 71 [08:46:54]Write i2c OK [08:46:54]MH_I2C_Read... [08:46:55]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:46:55]Read from MH i2c: E2 [08:46:55]MH_I2C_Read... [08:46:55]Read from MH i2c: E2 0B 00 [08:46:55]MH_I2C_Read... [08:46:55]Read from MH i2c: E2 0B 00 EF 07 00 0C 2A AE 6F 40 78 CD 8F 90 00 D9 [08:46:55]RAPDU: 0C 2A AE 6F 40 78 CD 8F 90 00 [08:46:55]wFMCommunicate OK [08:46:55]SAM_PROTO_SignData done [08:46:55]FM_MakeSignedData done [08:46:55]CreateOFDProtocolMessage [08:46:55]wFMCommunicate request_size=4 [08:46:55]MH_SAM_APDU [08:46:55]CAPDU: 80 11 00 00 [08:46:55]Write to MH i2c: E2 08 00 F0 07 80 11 00 00 00 00 00 00 71 [08:46:55]Write i2c OK [08:46:55]MH_I2C_Read... [08:46:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:46:55]Read from MH i2c: E2 [08:46:55]MH_I2C_Read... [08:46:55]Read from MH i2c: E2 17 00 [08:46:55]MH_I2C_Read... [08:46:55]Read from MH i2c: E2 17 00 F0 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 CA [08:46:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [08:46:55]wFMCommunicate OK [08:46:55]CreateOFDProtocolMessage done [08:46:55]OFDSenderStorePacket 19024 [08:46:55]StoreOFDPacket docnum=19024 [08:46:55]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 2E 01 00 00 5E FA 26 01 4A 4C 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C8 32 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 80 1F F5 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 50 4A 00 00 35 04 06 00 60 F3 8A C9 FE 6E 0C 2A AE 6F 40 78 CD 8F [08:46:55]CheckFolder [08:46:55]dirname=/storage/ofd_packets [08:46:55]CheckFolder done [08:46:55]ProducePacketName [08:46:55]name=ofd_packets/00019024 [08:46:55]NVStorageSaveData ofd_packets/00019024 [08:46:55]File name is /storage/ofd_packets/00019024 [08:46:55]Write 332 bytes [08:46:55]NVStorageSaveData done [08:46:55]OFDSenderStorePacket done [08:46:55]KKMCreateOFDPacket done [08:46:55]NVStorageSaveData kkm_last_timestamp [08:46:55]File name is /storage/kkm_last_timestamp [08:46:55]Write 4 bytes [08:46:55]NVStorageSaveData done [08:46:55]ExternCall_PrintAddStr [08:46:55]wPrintStart [08:46:55]Write to MH i2c: 01 00 00 F1 07 F8 [08:46:55]Write i2c OK [08:46:55]MH_I2C_Read... [08:46:55]Read from MH i2c: 01 [08:46:55]MH_I2C_Read... [08:46:55]Read from MH i2c: 01 07 00 [08:46:55]MH_I2C_Read... [08:46:55]Read from MH i2c: 01 07 00 F1 07 00 00 00 00 00 FF 0F 0D [08:46:55]RasterBufferAndPrint [08:46:55]line Счет N : (3)16944 [08:46:55]line ИНН: 02508201610067 [08:46:55]line Контрольно-Кассовый Чек [08:46:55]line ПРОДАЖА [08:46:55]line Товар: 2000036220012 [08:46:55]line Кофе Капучино XL(GABB TRADE) [08:46:55]line 1.000 * 130.00 [08:46:55]line = 130.00 [08:46:55]line НДС 12% НСП 1% [08:46:55]line > о реализуемом товаре [08:46:55]line ИТОГО: 130.00 [08:46:55]line НСП 1% : 1.15 [08:46:55]line НДС 12% : 13.80 [08:46:55]line Наличными: 0.00 [08:46:55]line Безнал.: 130.00 [08:46:55]line Место: АЗС № 176 "Партнер Нефть" [08:46:55]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [08:46:55]line СНО: Общий режим [08:46:55]line Чек 13 26.09.2024 08:46 [08:46:55]line Смена: 184 ФФД: 1.0 [08:46:55]line ЗНМ: 0300000010 [08:46:55]line РНМ: 0000000000152968 [08:46:55]line Версия ККМ: v1.0 [08:46:55]line Платежная система: O! деньги [08:46:55]line ФМ: 0000000000959456 [08:46:55]line ФД: 19024 [08:46:55]line ФПД: 106599121813102 [08:46:55]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T084656&type=1&operation_type=1&fn_number=0000000000959456&fd_number=19024&fm=106599121813102&tin=02508201610067®Number=0000000000152968&sum=13000 [08:46:55]line 0 [08:46:55]written 0, free lines is 4095 [08:46:55]OFD Sender: Processing packet 19024 [packets to send 7, broken 6] [08:46:55]ProducePacketName [08:46:55]name=ofd_packets/00019024 [08:46:55]OFD Sender: To server: pG, [08:46:55]CommunicateWithHost lk.salyk.kg:30040 [08:46:55]ConnectInit lk.salyk.kg [08:46:55]Connected sock=10 [08:46:55]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 2E 01 00 00 5E FA 26 01 4A 4C 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C8 32 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 80 1F F5 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 50 4A 00 00 35 04 06 00 60 F3 8A C9 FE 6E 0C 2A AE 6F 40 78 CD 8F [08:46:55]Write to MH i2c: 01 00 00 1C 08 24 [08:46:55]Write i2c OK [08:46:55]MH_I2C_Read... [08:46:55]Read from MH i2c: 01 [08:46:55]MH_I2C_Read... [08:46:55]Read from MH i2c: 01 07 00 [08:46:55]MH_I2C_Read... [08:46:55]Read from MH i2c: 01 07 00 1C 08 00 00 00 00 00 EB 0C 22 [08:46:55]RasterBufferAndPrint [08:46:55]line [08:46:55]line [08:46:55]line [08:46:55]line [08:46:55]line [08:46:55]written 0, free lines is 3313 [08:46:55]MH_Cut [08:46:55]Write to MH i2c: D1 01 00 23 08 01 FD [08:46:55]Write i2c OK [08:46:55]MH_I2C_Read... [08:46:55]Read from MH i2c: D1 [08:46:55]MH_I2C_Read... [08:46:55]Read from MH i2c: D1 01 00 [08:46:55]MH_I2C_Read... [08:46:55]Read from MH i2c: D1 01 00 23 08 00 FC [08:46:55]Write to MH i2c: 01 00 00 24 08 2C [08:46:55]Write i2c OK [08:46:55]MH_I2C_Read... [08:46:55]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 B9 0C 47 00 21 7B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 50 4A 00 00 F4 03 04 00 DB C8 F4 66 B6 04 01 00 00 D5 A6 97 29 BD 2B F5 1A [08:46:55]CommunicateWithHost err = 0 [08:46:55]CheckOFDResponse [08:46:55]1017 (14) - 77093643461234 [08:46:55]1041 (16) - 0000000000959456 [08:46:55]1040 (4) - 19024 [08:46:55]1012 (4) - 26.09.2024 02:37 [08:46:55]1206 (1) - 0 [08:46:55]OFD Sender: Remove packet 19024 [08:46:55]ProducePacketName [08:46:55]name=ofd_packets/00019024 [08:46:55]NVStorageDeleteData [08:46:56]OFD Sender: No OFD packet to send [08:46:56]*** Cut start [08:46:56]*** Partial cut [08:46:56]*** CUTSNS_PIN = 1 [08:46:56]*** CUTSNS_PIN = 0 [08:46:56]*** Brake cut motor [08:46:56]Read from MH i2c: 01 [08:46:56]MH_I2C_Read... [08:46:56]*** Stop cut motor [08:46:56]*** Cut end [08:46:56]Read from MH i2c: 01 07 00 [08:46:56]MH_I2C_Read... [08:46:56]Read from MH i2c: 01 07 00 24 08 00 00 00 00 00 FF 0F 41 [08:46:56]process_action close_receipt done [08:46:56]requested_data is exist [08:46:56]produce_requested_data [08:46:56]requested_item fm.sn is exist - process it [08:46:56]wFMCommunicate request_size=4 [08:46:56]MH_SAM_APDU [08:46:56]CAPDU: 80 11 00 00 [08:46:56]Write to MH i2c: E2 08 00 25 08 80 11 00 00 00 00 00 00 A7 [08:46:56]Write i2c OK [08:46:56]MH_I2C_Read... [08:46:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:46:56]Read from MH i2c: E2 [08:46:56]MH_I2C_Read... [08:46:56]Read from MH i2c: E2 17 00 [08:46:56]MH_I2C_Read... [08:46:56]Read from MH i2c: E2 17 00 25 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 00 [08:46:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [08:46:56]wFMCommunicate OK [08:46:56]requested_item fd.num is exist - process it [08:46:56]SAM_PROTO_GetFieldsCounters [08:46:56]wFMCommunicate request_size=4 [08:46:56]MH_SAM_APDU [08:46:56]CAPDU: 80 13 00 00 [08:46:56]Write to MH i2c: E2 08 00 26 08 80 13 00 00 00 00 00 00 AA [08:46:56]Write i2c OK [08:46:56]MH_I2C_Read... [08:46:56]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:46:56]Read from MH i2c: E2 [08:46:56]MH_I2C_Read... [08:46:56]Read from MH i2c: E2 62 00 [08:46:56]MH_I2C_Read... [08:46:57]Read from MH i2c: E2 62 00 26 08 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 50 4A 00 00 0E 04 04 00 B8 00 00 00 12 04 04 00 0D 00 00 00 5E 04 04 00 0D 00 00 00 57 04 04 00 0E 00 00 00 19 04 04 00 00 00 00 00 90 00 50 [08:46:57]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 50 4A 00 00 0E 04 04 00 B8 00 00 00 12 04 04 00 0D 00 00 00 5E 04 04 00 0D 00 00 00 57 04 04 00 0E 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:46:57]wFMCommunicate OK [08:46:57]SAM_PROTO_GetFieldsCounters done [08:46:57]requested_item shift.num is exist - process it [08:46:57]requested_item shift.opened is exist - process it [08:46:57]req_shift_opened [08:46:57]FM_GetShiftState [08:46:57]SAM_PROTO_GetShiftState [08:46:57]wFMCommunicate request_size=4 [08:46:57]MH_SAM_APDU [08:46:57]CAPDU: 80 13 01 00 [08:46:57]Write to MH i2c: E2 08 00 27 08 80 13 01 00 00 00 00 00 AC [08:46:57]Write i2c OK [08:46:57]MH_I2C_Read... [08:46:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:46:57]Read from MH i2c: E2 [08:46:57]MH_I2C_Read... [08:46:57]Read from MH i2c: E2 0E 00 [08:46:57]MH_I2C_Read... [08:46:57]Read from MH i2c: E2 0E 00 27 08 00 09 00 01 58 A7 F4 66 00 00 00 00 90 00 11 [08:46:57]RAPDU: 09 00 01 58 A7 F4 66 00 00 00 00 90 00 [08:46:57]wFMCommunicate OK [08:46:57]SAM_PROTO_GetShiftState done [08:46:57]FM_GetShiftState done [08:46:57]req_shift_opened done [08:46:57]requested_item shift.open_date is exist - process it [08:46:57]req_shift_open_date [08:46:57]req_shift_open_date done [08:46:57]produce_requested_data done [08:46:57]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":19024,"shift.num":184,"shift.opened":1,"shift.open_date":1727309656} [08:46:57]process_action_free close_receipt [08:46:57]json_value_free [08:46:57]json_value_free done [08:46:57]process_json_proto returns [08:46:57]Send response to host [08:46:57]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":19024,"shift.num":184,"shift.opened":1,"shift.open_date":1727309656}}} [08:46:57]free response buf [08:46:57]execute_script done [08:46:57]execute_script returns [08:46:57]free content buf [08:46:57]Sock 9.Close socket [08:46:57]Sock 9.Thread stoped [08:47:01]OFD Sender: No OFD packet to send [08:47:06]OFD Sender: No OFD packet to send [08:47:11]OFD Sender: No OFD packet to send [08:47:16]OFD Sender: No OFD packet to send [08:47:21]OFD Sender: No OFD packet to send [08:47:26]OFD Sender: No OFD packet to send [08:47:31]OFD Sender: No OFD packet to send [08:47:36]OFD Sender: No OFD packet to send [08:47:41]OFD Sender: No OFD packet to send [08:47:46]OFD Sender: No OFD packet to send [08:47:51]OFD Sender: No OFD packet to send [08:47:56]OFD Sender: No OFD packet to send [08:48:01]OFD Sender: No OFD packet to send [08:48:06]OFD Sender: No OFD packet to send [08:48:11]OFD Sender: No OFD packet to send [08:48:16]OFD Sender: No OFD packet to send [08:48:21]OFD Sender: No OFD packet to send [08:48:26]OFD Sender: No OFD packet to send [08:48:31]OFD Sender: No OFD packet to send [08:48:36]OFD Sender: No OFD packet to send [08:48:41]OFD Sender: No OFD packet to send [08:48:46]OFD Sender: No OFD packet to send [08:48:51]OFD Sender: No OFD packet to send [08:48:56]OFD Sender: No OFD packet to send [08:49:01]OFD Sender: No OFD packet to send [08:49:06]OFD Sender: No OFD packet to send [08:49:11]OFD Sender: No OFD packet to send [08:49:16]OFD Sender: No OFD packet to send [08:49:21]OFD Sender: No OFD packet to send [08:49:26]OFD Sender: No OFD packet to send [08:49:31]OFD Sender: No OFD packet to send [08:49:36]OFD Sender: No OFD packet to send [08:49:41]OFD Sender: No OFD packet to send [08:49:46]OFD Sender: No OFD packet to send [08:49:51]OFD Sender: No OFD packet to send [08:49:56]OFD Sender: No OFD packet to send [08:50:01]OFD Sender: No OFD packet to send [08:50:06]OFD Sender: No OFD packet to send [08:50:11]OFD Sender: No OFD packet to send [08:50:16]OFD Sender: No OFD packet to send [08:50:21]OFD Sender: No OFD packet to send [08:50:26]OFD Sender: No OFD packet to send [08:50:31]OFD Sender: No OFD packet to send [08:50:36]OFD Sender: No OFD packet to send [08:50:41]OFD Sender: No OFD packet to send [08:50:46]OFD Sender: No OFD packet to send [08:50:51]OFD Sender: No OFD packet to send [08:50:56]OFD Sender: No OFD packet to send [08:51:01]OFD Sender: No OFD packet to send [08:51:06]OFD Sender: No OFD packet to send [08:51:11]OFD Sender: No OFD packet to send [08:51:16]OFD Sender: No OFD packet to send [08:51:21]OFD Sender: No OFD packet to send [08:51:26]OFD Sender: No OFD packet to send [08:51:31]OFD Sender: No OFD packet to send [08:51:36]OFD Sender: No OFD packet to send [08:51:41]OFD Sender: No OFD packet to send [08:51:46]OFD Sender: No OFD packet to send [08:51:51]OFD Sender: No OFD packet to send [08:51:56]OFD Sender: No OFD packet to send [08:52:01]OFD Sender: No OFD packet to send [08:52:06]OFD Sender: No OFD packet to send [08:52:11]OFD Sender: No OFD packet to send [08:52:16]OFD Sender: No OFD packet to send [08:52:21]OFD Sender: No OFD packet to send [08:52:26]OFD Sender: No OFD packet to send [08:52:31]OFD Sender: No OFD packet to send [08:52:36]OFD Sender: No OFD packet to send [08:52:41]OFD Sender: No OFD packet to send [08:52:46]OFD Sender: No OFD packet to send [08:52:51]OFD Sender: No OFD packet to send [08:52:56]OFD Sender: No OFD packet to send [08:53:01]OFD Sender: No OFD packet to send [08:53:06]OFD Sender: No OFD packet to send [08:53:11]OFD Sender: No OFD packet to send [08:53:16]OFD Sender: No OFD packet to send [08:53:21]OFD Sender: No OFD packet to send [08:53:26]OFD Sender: No OFD packet to send [08:53:31]OFD Sender: No OFD packet to send [08:53:36]OFD Sender: No OFD packet to send [08:53:41]OFD Sender: No OFD packet to send [08:53:46]OFD Sender: No OFD packet to send [08:53:51]OFD Sender: No OFD packet to send [08:53:56]OFD Sender: No OFD packet to send [08:54:01]OFD Sender: No OFD packet to send [08:54:06]OFD Sender: No OFD packet to send [08:54:11]OFD Sender: No OFD packet to send [08:54:16]OFD Sender: No OFD packet to send [08:54:21]OFD Sender: No OFD packet to send [08:54:26]OFD Sender: No OFD packet to send [08:54:31]OFD Sender: No OFD packet to send [08:54:36]OFD Sender: No OFD packet to send [08:54:41]OFD Sender: No OFD packet to send [08:54:46]OFD Sender: No OFD packet to send [08:54:51]OFD Sender: No OFD packet to send [08:54:56]OFD Sender: No OFD packet to send [08:55:01]OFD Sender: No OFD packet to send [08:55:06]OFD Sender: No OFD packet to send [08:55:11]OFD Sender: No OFD packet to send [08:55:16]OFD Sender: No OFD packet to send [08:55:21]OFD Sender: No OFD packet to send [08:55:26]OFD Sender: No OFD packet to send [08:55:31]OFD Sender: No OFD packet to send [08:55:36]OFD Sender: No OFD packet to send [08:55:41]OFD Sender: No OFD packet to send [08:55:46]OFD Sender: No OFD packet to send [08:55:51]OFD Sender: No OFD packet to send [08:55:56]OFD Sender: No OFD packet to send [08:56:01]OFD Sender: No OFD packet to send [08:56:06]OFD Sender: No OFD packet to send [08:56:11]OFD Sender: No OFD packet to send [08:56:16]OFD Sender: No OFD packet to send [08:56:21]OFD Sender: No OFD packet to send [08:56:26]OFD Sender: No OFD packet to send [08:56:31]OFD Sender: No OFD packet to send [08:56:36]OFD Sender: No OFD packet to send [08:56:41]OFD Sender: No OFD packet to send [08:56:46]OFD Sender: No OFD packet to send [08:56:51]OFD Sender: No OFD packet to send [08:56:56]OFD Sender: No OFD packet to send [08:57:01]OFD Sender: No OFD packet to send [08:57:06]OFD Sender: No OFD packet to send [08:57:11]OFD Sender: No OFD packet to send [08:57:16]OFD Sender: No OFD packet to send [08:57:21]OFD Sender: No OFD packet to send [08:57:26]OFD Sender: No OFD packet to send [08:57:31]OFD Sender: No OFD packet to send [08:57:36]OFD Sender: No OFD packet to send [08:57:41]OFD Sender: No OFD packet to send [08:57:46]OFD Sender: No OFD packet to send [08:57:51]OFD Sender: No OFD packet to send [08:57:56]OFD Sender: No OFD packet to send [08:58:01]OFD Sender: No OFD packet to send [08:58:06]OFD Sender: No OFD packet to send [08:58:11]OFD Sender: No OFD packet to send [08:58:16]OFD Sender: No OFD packet to send [08:58:21]OFD Sender: No OFD packet to send [08:58:26]OFD Sender: No OFD packet to send [08:58:31]OFD Sender: No OFD packet to send [08:58:36]OFD Sender: No OFD packet to send [08:58:41]OFD Sender: No OFD packet to send [08:58:46]OFD Sender: No OFD packet to send [08:58:51]OFD Sender: No OFD packet to send [08:58:56]OFD Sender: No OFD packet to send [08:59:01]OFD Sender: No OFD packet to send [08:59:06]OFD Sender: No OFD packet to send [08:59:11]OFD Sender: No OFD packet to send [08:59:16]OFD Sender: No OFD packet to send [08:59:21]OFD Sender: No OFD packet to send [08:59:26]OFD Sender: No OFD packet to send [08:59:31]OFD Sender: No OFD packet to send [08:59:36]OFD Sender: No OFD packet to send [08:59:41]OFD Sender: No OFD packet to send [08:59:46]OFD Sender: No OFD packet to send [08:59:51]OFD Sender: No OFD packet to send [08:59:56]OFD Sender: No OFD packet to send [09:00:01]OFD Sender: No OFD packet to send [09:00:06]OFD Sender: No OFD packet to send [09:00:11]OFD Sender: No OFD packet to send [09:00:12]accept exits with 7 [09:00:12]New connection [09:00:12]New thread 3066551652 created [09:00:12]Thread 3066695012 joined [09:00:12]Waiting for new connection... [09:00:12] Sock 7.Parse request [09:00:12]Sock 7.Check first char [09:00:12]Sock 7.First char is OK [09:00:12]request: POST /json_proto HTTP/1.0 [09:00:12]Method: POST [09:00:12]URL: /json_proto [09:00:12]Method is POST - this is cgi request [09:00:12]url: /json_proto [09:00:12]query_string will be loaded in cgi processing [09:00:12]execute_cgi json_proto POST (null) [09:00:12]execute_cgi path=json_proto method=POST [09:00:12]POST find Content-Length [09:00:12]Host: 172.17.62.196:8080 [09:00:12]Content-Length: 826 [09:00:12]Content-Type: application/json [09:00:12] [09:00:12]POST finish read [09:00:12]Found Content-Length = 826 [09:00:12]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16945", "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" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 90.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:00:12]execute_script... [09:00: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)16945", "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" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 90.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:00:12]POST & json_proto [09:00:12]process_json_proto [09:00:12]json parsed OK: [09:00:12]protocol is kg_v1.0 [09:00:12]action value=close_receipt [09:00:12]process_action close_receipt [09:00:12]cmd_close_receipt [09:00:12]MH_GetDate [09:00:12]Write to MH i2c: F0 00 00 28 08 1F [09:00:12]Write i2c OK [09:00:12]MH_I2C_Read... [09:00:12]Read from MH i2c: F0 [09:00:12]MH_I2C_Read... [09:00:12]Read from MH i2c: F0 09 00 [09:00:12]MH_I2C_Read... [09:00:12]Read from MH i2c: F0 09 00 28 08 00 A0 22 F5 66 CE CC 0E 66 53 [09:00:12]GetLastDocTimeStamp 1727340416 [09:00:12]current date 1727341216 [09:00:12]FM_GetShiftState [09:00:12]SAM_PROTO_GetShiftState [09:00:12]wFMCommunicate request_size=4 [09:00:12]MH_SAM_APDU [09:00:12]CAPDU: 80 13 01 00 [09:00:12]Write to MH i2c: E2 08 00 29 08 80 13 01 00 00 00 00 00 AE [09:00:12]Write i2c OK [09:00:12]MH_I2C_Read... [09:00:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:00:12]Read from MH i2c: E2 [09:00:12]MH_I2C_Read... [09:00:12]Read from MH i2c: E2 0E 00 [09:00:12]MH_I2C_Read... [09:00:12]Read from MH i2c: E2 0E 00 29 08 00 09 00 01 58 A7 F4 66 00 00 00 00 90 00 13 [09:00:12]RAPDU: 09 00 01 58 A7 F4 66 00 00 00 00 90 00 [09:00:12]wFMCommunicate OK [09:00:12]SAM_PROTO_GetShiftState done [09:00:12]FM_GetShiftState done [09:00:12]opened in 1727309656 [09:00:12]opened+sec_in_day 1727396056 [09:00:12]quantity*price = 9000 [09:00:12]sum+1 = 9001 [09:00:12]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 90.00 НСП 1% : 0.80 НДС 12% : 9.56 Наличными: 0.00 Безнал.: 90.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 14 26.09.2024 09:00 Смена: 184 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 Платежная система: O! деньги ФМ: 0000000000959456 ФД: 19025 ФПД: 180932940557943 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T090016&type=1&operation_type=1&fn_number=0000000000959456&fd_number=19025&fm=180932940557943&tin=02508201610067®Number=0000000000152968&sum=9000 0 [09:00:13]StoreToDocumentArchive [09:00:13]shift 184 fd 19025 [09:00:13]save to /storage/0184/doc_00019025 [09:00:13]save last doc name /storage/0184/doc_00019025 to /storage/kkm_last_doc_name [09:00:13]save OK [09:00:13]Clear old archive folders... [09:00:13]ProcessDocumentItem done err = 0, tmpTLVsize=293 [09:00:13]tlvbuf is B6F16440 [09:00:13]SAM_PROTO_ClearQueue [09:00:13]wFMCommunicate request_size=4 [09:00:13]MH_SAM_APDU [09:00:13]CAPDU: 80 09 00 00 [09:00:13]Write to MH i2c: E2 08 00 36 08 80 09 00 00 00 00 00 00 B0 [09:00:13]Write i2c OK [09:00:13]MH_I2C_Read... [09:00:13]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:00:13]Read from MH i2c: E2 [09:00:13]MH_I2C_Read... [09:00:13]Read from MH i2c: E2 03 00 [09:00:13]MH_I2C_Read... [09:00:13]Read from MH i2c: E2 03 00 36 08 00 90 00 B2 [09:00:13]RAPDU: 90 00 [09:00:13]wFMCommunicate OK [09:00:13]SAM_PROTO_ClearQueue done [09:00:13]KKMCreateOFDPacket [09:00:13]OFDProtocolAddRootSTLVToBuf [09:00:13]FM_MakeSignedData [09:00:13]FM_MakeSignedData [09:00:13]SAM_PROTO_SignData [09:00:13]wFMCommunicate request_size=4 [09:00:13]MH_SAM_APDU [09:00:13]CAPDU: 80 0D 01 02 [09:00:13]Write to MH i2c: E2 08 00 37 08 80 0D 01 02 00 00 00 00 B8 [09:00:13]Write i2c OK [09:00:13]MH_I2C_Read... [09:00:13]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:00:14]Read from MH i2c: E2 [09:00:14]MH_I2C_Read... [09:00:14]Read from MH i2c: E2 03 00 [09:00:14]MH_I2C_Read... [09:00:14]Read from MH i2c: E2 03 00 37 08 00 90 00 B3 [09:00:14]RAPDU: 90 00 [09:00:14]wFMCommunicate OK [09:00:14]wFMCommunicate request_size=255 [09:00:14]MH_SAM_APDU [09:00:14]CAPDU: 80 0D 02 02 FA 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 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 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 23 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 50 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BC 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 28 23 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 A0 22 F5 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 [09:00:14]Write to MH i2c: E2 02 01 38 08 80 0D 02 02 FA 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 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 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 23 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 50 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BC 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 28 23 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 A0 22 F5 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 00 00 73 [09:00:14]Write i2c OK [09:00:14]MH_I2C_Read... [09:00:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:00:14]Read from MH i2c: E2 [09:00:14]MH_I2C_Read... [09:00:14]Read from MH i2c: E2 03 00 [09:00:14]MH_I2C_Read... [09:00:14]Read from MH i2c: E2 03 00 38 08 00 90 00 B4 [09:00:14]RAPDU: 90 00 [09:00:14]wFMCommunicate OK [09:00:14]wFMCommunicate request_size=52 [09:00:14]MH_SAM_APDU [09:00:14]CAPDU: 80 0D 02 02 2F 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 51 4A 00 00 35 04 06 00 A4 8E BB A6 6E 77 [09:00:14]Write to MH i2c: E2 37 00 39 08 80 0D 02 02 2F 00 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 51 4A 00 00 35 04 06 00 A4 8E BB A6 6E 77 00 00 9D [09:00:14]Write i2c OK [09:00:14]MH_I2C_Read... [09:00:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:00:14]Read from MH i2c: E2 [09:00:14]MH_I2C_Read... [09:00:14]Read from MH i2c: E2 03 00 [09:00:14]MH_I2C_Read... [09:00:14]Read from MH i2c: E2 03 00 39 08 00 90 00 B5 [09:00:14]RAPDU: 90 00 [09:00:14]wFMCommunicate OK [09:00:14]wFMCommunicate request_size=4 [09:00:14]MH_SAM_APDU [09:00:14]CAPDU: 80 0D 03 02 [09:00:14]Write to MH i2c: E2 08 00 3A 08 80 0D 03 02 00 00 00 00 BD [09:00:14]Write i2c OK [09:00:14]MH_I2C_Read... [09:00:14]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:00:14]Read from MH i2c: E2 [09:00:14]MH_I2C_Read... [09:00:14]Read from MH i2c: E2 0B 00 [09:00:14]MH_I2C_Read... [09:00:14]Read from MH i2c: E2 0B 00 3A 08 00 E7 6A DA 94 41 62 D3 D4 90 00 C7 [09:00:14]RAPDU: E7 6A DA 94 41 62 D3 D4 90 00 [09:00:14]wFMCommunicate OK [09:00:14]SAM_PROTO_SignData done [09:00:14]FM_MakeSignedData done [09:00:14]CreateOFDProtocolMessage [09:00:14]wFMCommunicate request_size=4 [09:00:14]MH_SAM_APDU [09:00:14]CAPDU: 80 11 00 00 [09:00:14]Write to MH i2c: E2 08 00 3B 08 80 11 00 00 00 00 00 00 BD [09:00:14]Write i2c OK [09:00:14]MH_I2C_Read... [09:00:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:00:14]Read from MH i2c: E2 [09:00:14]MH_I2C_Read... [09:00:14]Read from MH i2c: E2 17 00 [09:00:14]MH_I2C_Read... [09:00:14]Read from MH i2c: E2 17 00 3B 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 16 [09:00:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [09:00:14]wFMCommunicate OK [09:00:14]CreateOFDProtocolMessage done [09:00:14]OFDSenderStorePacket 19025 [09:00:14]StoreOFDPacket docnum=19025 [09:00:14]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 39 01 00 00 83 00 31 01 13 5C 5A 03 01 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 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 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 23 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 50 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BC 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 28 23 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 A0 22 F5 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 51 4A 00 00 35 04 06 00 A4 8E BB A6 6E 77 E7 6A DA 94 41 62 D3 D4 [09:00:14]CheckFolder [09:00:14]dirname=/storage/ofd_packets [09:00:14]CheckFolder done [09:00:14]ProducePacketName [09:00:14]name=ofd_packets/00019025 [09:00:14]NVStorageSaveData ofd_packets/00019025 [09:00:14]File name is /storage/ofd_packets/00019025 [09:00:14]Write 343 bytes [09:00:14]NVStorageSaveData done [09:00:14]OFDSenderStorePacket done [09:00:14]KKMCreateOFDPacket done [09:00:14]NVStorageSaveData kkm_last_timestamp [09:00:14]File name is /storage/kkm_last_timestamp [09:00:14]Write 4 bytes [09:00:14]NVStorageSaveData done [09:00:14]ExternCall_PrintAddStr [09:00:14]wPrintStart [09:00:14]Write to MH i2c: 01 00 00 3C 08 44 [09:00:14]OFD Sender: Processing packet 19025 [packets to send 7, broken 6] [09:00:14]ProducePacketName [09:00:14]name=ofd_packets/00019025 [09:00:14]OFD Sender: To server: pG, [09:00:14]CommunicateWithHost lk.salyk.kg:30040 [09:00:14]ConnectInit lk.salyk.kg [09:00:14]Write i2c OK [09:00:14]MH_I2C_Read... [09:00:14]Read from MH i2c: 01 [09:00:14]MH_I2C_Read... [09:00:14]Read from MH i2c: 01 07 00 [09:00:14]MH_I2C_Read... [09:00:14]Read from MH i2c: 01 07 00 3C 08 00 00 00 00 00 FF 0F 59 [09:00:14]RasterBufferAndPrint [09:00:14]line Счет N : (3)16945 [09:00:14]line ИНН: 02508201610067 [09:00:14]line Контрольно-Кассовый Чек [09:00:14]line ПРОДАЖА [09:00:14]line Товар: 4870022003305 [09:00:14]line Напиток Gorilla эн нат ж/б 0,5/0,45л [09:00:14]line 1.000 * 90.00 [09:00:14]line = 90.00 [09:00:14]line НДС 12% НСП 1% [09:00:14]line > о реализуемом товаре [09:00:14]line ИТОГО: 90.00 [09:00:14]line НСП 1% : 0.80 [09:00:14]line НДС 12% : 9.56 [09:00:14]line Наличными: 0.00 [09:00:14]line Безнал.: 90.00 [09:00:14]line Место: АЗС № 176 "Партнер Нефть" [09:00:14]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [09:00:14]line СНО: Общий режим [09:00:14]line Чек 14 26.09.2024 09:00 [09:00:14]line Смена: 184 ФФД: 1.0 [09:00:14]line ЗНМ: 0300000010 [09:00:14]line РНМ: 0000000000152968 [09:00:14]line Версия ККМ: v1.0 [09:00:14]line Платежная система: O! деньги [09:00:14]line ФМ: 0000000000959456 [09:00:14]line ФД: 19025 [09:00:14]line ФПД: 180932940557943 [09:00:14]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T090016&type=1&operation_type=1&fn_number=0000000000959456&fd_number=19025&fm=180932940557943&tin=02508201610067®Number=0000000000152968&sum=9000 [09:00:14]line 0 [09:00:14]Connected sock=10 [09:00:14]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 39 01 00 00 83 00 31 01 13 5C 5A 03 01 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 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 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 23 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 50 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BC 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 28 23 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 A0 22 F5 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 51 4A 00 00 35 04 06 00 A4 8E BB A6 6E 77 E7 6A DA 94 41 62 D3 D4 [09:00:14]written 0, free lines is 4095 [09:00:15]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 D2 1F 47 00 93 DD A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 51 4A 00 00 F4 03 04 00 FA CB F4 66 B6 04 01 00 00 2A EB 6A 58 CB 9D F7 88 [09:00:15]CommunicateWithHost err = 0 [09:00:15]CheckOFDResponse [09:00:15]1017 (14) - 77093643461234 [09:00:15]1041 (16) - 0000000000959456 [09:00:15]1040 (4) - 19025 [09:00:15]1012 (4) - 26.09.2024 02:50 [09:00:15]1206 (1) - 0 [09:00:15]OFD Sender: Remove packet 19025 [09:00:15]ProducePacketName [09:00:15]name=ofd_packets/00019025 [09:00:15]NVStorageDeleteData [09:00:15]Write to MH i2c: 01 00 00 67 08 6F [09:00:15]Write i2c OK [09:00:15]MH_I2C_Read... [09:00:15]Read from MH i2c: 01 [09:00:15]MH_I2C_Read... [09:00:15]Read from MH i2c: 01 07 00 [09:00:15]MH_I2C_Read... [09:00:15]Read from MH i2c: 01 07 00 67 08 00 00 00 00 00 EA 0C 6C [09:00:15]RasterBufferAndPrint [09:00:15]line [09:00:15]line [09:00:15]line [09:00:15]line [09:00:15]line [09:00:15]written 0, free lines is 3312 [09:00:15]MH_Cut [09:00:15]Write to MH i2c: D1 01 00 6E 08 01 48 [09:00:15]Write i2c OK [09:00:15]MH_I2C_Read... [09:00:15]Read from MH i2c: D1 [09:00:15]MH_I2C_Read... [09:00:15]Read from MH i2c: D1 01 00 [09:00:15]MH_I2C_Read... [09:00:15]Read from MH i2c: D1 01 00 6E 08 00 47 [09:00:15]Write to MH i2c: 01 00 00 6F 08 77 [09:00:15]Write i2c OK [09:00:15]MH_I2C_Read... [09:00:15]OFD Sender: No OFD packet to send [09:00:15]*** Cut start [09:00:15]*** Partial cut [09:00:15]*** CUTSNS_PIN = 1 [09:00:16]*** CUTSNS_PIN = 0 [09:00:16]*** Brake cut motor [09:00:16]Read from MH i2c: 01 [09:00:16]MH_I2C_Read... [09:00:16]*** Stop cut motor [09:00:16]*** Cut end [09:00:16]Read from MH i2c: 01 07 00 [09:00:16]MH_I2C_Read... [09:00:16]Read from MH i2c: 01 07 00 6F 08 00 00 00 00 00 FF 0F 8C [09:00:16]process_action close_receipt done [09:00:16]requested_data is exist [09:00:16]produce_requested_data [09:00:16]requested_item fm.sn is exist - process it [09:00:16]wFMCommunicate request_size=4 [09:00:16]MH_SAM_APDU [09:00:16]CAPDU: 80 11 00 00 [09:00:16]Write to MH i2c: E2 08 00 70 08 80 11 00 00 00 00 00 00 F2 [09:00:16]Write i2c OK [09:00:16]MH_I2C_Read... [09:00:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:00:16]Read from MH i2c: E2 [09:00:16]MH_I2C_Read... [09:00:16]Read from MH i2c: E2 17 00 [09:00:16]MH_I2C_Read... [09:00:16]Read from MH i2c: E2 17 00 70 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 4B [09:00:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [09:00:16]wFMCommunicate OK [09:00:16]requested_item fd.num is exist - process it [09:00:16]SAM_PROTO_GetFieldsCounters [09:00:16]wFMCommunicate request_size=4 [09:00:16]MH_SAM_APDU [09:00:16]CAPDU: 80 13 00 00 [09:00:16]Write to MH i2c: E2 08 00 71 08 80 13 00 00 00 00 00 00 F5 [09:00:16]Write i2c OK [09:00:16]MH_I2C_Read... [09:00:16]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:00:16]Read from MH i2c: E2 [09:00:16]MH_I2C_Read... [09:00:16]Read from MH i2c: E2 62 00 [09:00:16]MH_I2C_Read... [09:00:16]Read from MH i2c: E2 62 00 71 08 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 51 4A 00 00 0E 04 04 00 B8 00 00 00 12 04 04 00 0E 00 00 00 5E 04 04 00 0E 00 00 00 57 04 04 00 0F 00 00 00 19 04 04 00 00 00 00 00 90 00 9F [09:00:16]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 51 4A 00 00 0E 04 04 00 B8 00 00 00 12 04 04 00 0E 00 00 00 5E 04 04 00 0E 00 00 00 57 04 04 00 0F 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:00:16]wFMCommunicate OK [09:00:16]SAM_PROTO_GetFieldsCounters done [09:00:16]requested_item shift.num is exist - process it [09:00:16]requested_item shift.opened is exist - process it [09:00:16]req_shift_opened [09:00:16]FM_GetShiftState [09:00:16]SAM_PROTO_GetShiftState [09:00:16]wFMCommunicate request_size=4 [09:00:16]MH_SAM_APDU [09:00:16]CAPDU: 80 13 01 00 [09:00:16]Write to MH i2c: E2 08 00 72 08 80 13 01 00 00 00 00 00 F7 [09:00:16]Write i2c OK [09:00:16]MH_I2C_Read... [09:00:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:00:16]Read from MH i2c: E2 [09:00:16]MH_I2C_Read... [09:00:16]Read from MH i2c: E2 0E 00 [09:00:16]MH_I2C_Read... [09:00:16]Read from MH i2c: E2 0E 00 72 08 00 09 00 01 58 A7 F4 66 00 00 00 00 90 00 5C [09:00:16]RAPDU: 09 00 01 58 A7 F4 66 00 00 00 00 90 00 [09:00:16]wFMCommunicate OK [09:00:16]SAM_PROTO_GetShiftState done [09:00:16]FM_GetShiftState done [09:00:16]req_shift_opened done [09:00:16]requested_item shift.open_date is exist - process it [09:00:16]req_shift_open_date [09:00:16]req_shift_open_date done [09:00:16]produce_requested_data done [09:00:16]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":19025,"shift.num":184,"shift.opened":1,"shift.open_date":1727309656} [09:00:16]process_action_free close_receipt [09:00:16]json_value_free [09:00:16]json_value_free done [09:00:16]process_json_proto returns [09:00:16]Send response to host [09:00:16]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":19025,"shift.num":184,"shift.opened":1,"shift.open_date":1727309656}}} [09:00:16]free response buf [09:00:16]execute_script done [09:00:16]execute_script returns [09:00:16]free content buf [09:00:16]Sock 7.Close socket [09:00:16]Sock 7.Thread stoped [09:00:20]OFD Sender: No OFD packet to send [09:00:25]OFD Sender: No OFD packet to send [09:00:30]OFD Sender: No OFD packet to send [09:00:35]OFD Sender: No OFD packet to send [09:00:40]OFD Sender: No OFD packet to send [09:00:45]OFD Sender: No OFD packet to send [09:00:50]OFD Sender: No OFD packet to send [09:00:55]OFD Sender: No OFD packet to send [09:01:00]OFD Sender: No OFD packet to send [09:01:05]OFD Sender: No OFD packet to send [09:01:10]OFD Sender: No OFD packet to send [09:01:15]OFD Sender: No OFD packet to send [09:01:20]OFD Sender: No OFD packet to send [09:01:25]OFD Sender: No OFD packet to send [09:01:30]OFD Sender: No OFD packet to send [09:01:35]OFD Sender: No OFD packet to send [09:01:40]OFD Sender: No OFD packet to send [09:01:45]OFD Sender: No OFD packet to send [09:01:50]OFD Sender: No OFD packet to send [09:01:55]OFD Sender: No OFD packet to send [09:02:00]OFD Sender: No OFD packet to send [09:02:05]OFD Sender: No OFD packet to send [09:02:10]OFD Sender: No OFD packet to send [09:02:15]OFD Sender: No OFD packet to send [09:02:20]OFD Sender: No OFD packet to send [09:02:25]OFD Sender: No OFD packet to send [09:02:30]OFD Sender: No OFD packet to send [09:02:35]OFD Sender: No OFD packet to send [09:02:40]OFD Sender: No OFD packet to send [09:02:45]OFD Sender: No OFD packet to send [09:02:50]OFD Sender: No OFD packet to send [09:02:55]OFD Sender: No OFD packet to send [09:03:00]OFD Sender: No OFD packet to send [09:03:05]OFD Sender: No OFD packet to send [09:03:10]OFD Sender: No OFD packet to send [09:03:15]OFD Sender: No OFD packet to send [09:03:20]OFD Sender: No OFD packet to send [09:03:25]OFD Sender: No OFD packet to send [09:03:30]OFD Sender: No OFD packet to send [09:03:35]OFD Sender: No OFD packet to send [09:03:40]OFD Sender: No OFD packet to send [09:03:45]OFD Sender: No OFD packet to send [09:03:50]OFD Sender: No OFD packet to send [09:03:55]OFD Sender: No OFD packet to send [09:04:00]OFD Sender: No OFD packet to send [09:04:05]OFD Sender: No OFD packet to send [09:04:10]OFD Sender: No OFD packet to send [09:04:15]OFD Sender: No OFD packet to send [09:04:20]OFD Sender: No OFD packet to send [09:04:25]OFD Sender: No OFD packet to send [09:04:30]OFD Sender: No OFD packet to send [09:04:35]OFD Sender: No OFD packet to send [09:04:40]OFD Sender: No OFD packet to send [09:04:45]OFD Sender: No OFD packet to send [09:04:50]OFD Sender: No OFD packet to send [09:04:55]OFD Sender: No OFD packet to send [09:05:00]OFD Sender: No OFD packet to send [09:05:05]OFD Sender: No OFD packet to send [09:05:10]OFD Sender: No OFD packet to send [09:05:15]OFD Sender: No OFD packet to send [09:05:20]OFD Sender: No OFD packet to send [09:05:25]OFD Sender: No OFD packet to send [09:05:30]OFD Sender: No OFD packet to send [09:05:35]OFD Sender: No OFD packet to send [09:05:40]OFD Sender: No OFD packet to send [09:05:45]OFD Sender: No OFD packet to send [09:05:50]OFD Sender: No OFD packet to send [09:05:55]OFD Sender: No OFD packet to send [09:06:00]OFD Sender: No OFD packet to send [09:06:05]OFD Sender: No OFD packet to send [09:06:10]OFD Sender: No OFD packet to send [09:06:15]OFD Sender: No OFD packet to send [09:06:20]OFD Sender: No OFD packet to send [09:06:25]OFD Sender: No OFD packet to send [09:06:30]OFD Sender: No OFD packet to send [09:06:35]OFD Sender: No OFD packet to send [09:06:40]OFD Sender: No OFD packet to send [09:06:45]OFD Sender: No OFD packet to send [09:06:50]OFD Sender: No OFD packet to send [09:06:55]OFD Sender: No OFD packet to send [09:07:00]OFD Sender: No OFD packet to send [09:07:05]OFD Sender: No OFD packet to send [09:07:10]OFD Sender: No OFD packet to send [09:07:15]OFD Sender: No OFD packet to send [09:07:20]OFD Sender: No OFD packet to send [09:07:25]OFD Sender: No OFD packet to send [09:07:30]OFD Sender: No OFD packet to send [09:07:35]OFD Sender: No OFD packet to send [09:07:40]OFD Sender: No OFD packet to send [09:07:45]OFD Sender: No OFD packet to send [09:07:50]OFD Sender: No OFD packet to send [09:07:55]OFD Sender: No OFD packet to send [09:08:00]OFD Sender: No OFD packet to send [09:08:05]OFD Sender: No OFD packet to send [09:08:11]OFD Sender: No OFD packet to send [09:08:16]OFD Sender: No OFD packet to send [09:08:21]OFD Sender: No OFD packet to send [09:08:26]OFD Sender: No OFD packet to send [09:08:31]OFD Sender: No OFD packet to send [09:08:36]OFD Sender: No OFD packet to send [09:08:41]OFD Sender: No OFD packet to send [09:08:46]OFD Sender: No OFD packet to send [09:08:51]OFD Sender: No OFD packet to send [09:08:56]OFD Sender: No OFD packet to send [09:09:01]OFD Sender: No OFD packet to send [09:09:06]OFD Sender: No OFD packet to send [09:09:11]OFD Sender: No OFD packet to send [09:09:16]OFD Sender: No OFD packet to send [09:09:21]OFD Sender: No OFD packet to send [09:09:26]OFD Sender: No OFD packet to send [09:09:31]OFD Sender: No OFD packet to send [09:09:36]OFD Sender: No OFD packet to send [09:09:41]OFD Sender: No OFD packet to send [09:09:46]OFD Sender: No OFD packet to send [09:09:51]OFD Sender: No OFD packet to send [09:09:56]OFD Sender: No OFD packet to send [09:10:01]OFD Sender: No OFD packet to send [09:10:06]OFD Sender: No OFD packet to send [09:10:11]OFD Sender: No OFD packet to send [09:10:16]OFD Sender: No OFD packet to send [09:10:21]OFD Sender: No OFD packet to send [09:10:26]OFD Sender: No OFD packet to send [09:10:31]OFD Sender: No OFD packet to send [09:10:36]OFD Sender: No OFD packet to send [09:10:41]OFD Sender: No OFD packet to send [09:10:46]OFD Sender: No OFD packet to send [09:10:51]OFD Sender: No OFD packet to send [09:10:56]OFD Sender: No OFD packet to send [09:11:01]OFD Sender: No OFD packet to send [09:11:06]OFD Sender: No OFD packet to send [09:11:11]OFD Sender: No OFD packet to send [09:11:16]OFD Sender: No OFD packet to send [09:11:21]OFD Sender: No OFD packet to send [09:11:26]OFD Sender: No OFD packet to send [09:11:31]OFD Sender: No OFD packet to send [09:11:36]OFD Sender: No OFD packet to send [09:11:41]OFD Sender: No OFD packet to send [09:11:46]OFD Sender: No OFD packet to send [09:11:51]OFD Sender: No OFD packet to send [09:11:56]OFD Sender: No OFD packet to send [09:12:01]OFD Sender: No OFD packet to send [09:12:06]OFD Sender: No OFD packet to send [09:12:11]OFD Sender: No OFD packet to send [09:12:16]OFD Sender: No OFD packet to send [09:12:21]OFD Sender: No OFD packet to send [09:12:26]OFD Sender: No OFD packet to send [09:12:31]OFD Sender: No OFD packet to send [09:12:36]OFD Sender: No OFD packet to send [09:12:41]OFD Sender: No OFD packet to send [09:12:46]OFD Sender: No OFD packet to send [09:12:51]OFD Sender: No OFD packet to send [09:12:56]OFD Sender: No OFD packet to send [09:13:01]OFD Sender: No OFD packet to send [09:13:06]OFD Sender: No OFD packet to send [09:13:11]OFD Sender: No OFD packet to send [09:13:16]OFD Sender: No OFD packet to send [09:13:21]OFD Sender: No OFD packet to send [09:13:26]OFD Sender: No OFD packet to send [09:13:31]OFD Sender: No OFD packet to send [09:13:36]OFD Sender: No OFD packet to send [09:13:41]OFD Sender: No OFD packet to send [09:13:46]OFD Sender: No OFD packet to send [09:13:51]OFD Sender: No OFD packet to send [09:13:56]OFD Sender: No OFD packet to send [09:14:01]OFD Sender: No OFD packet to send [09:14:06]OFD Sender: No OFD packet to send [09:14:11]OFD Sender: No OFD packet to send [09:14:16]OFD Sender: No OFD packet to send [09:14:21]OFD Sender: No OFD packet to send [09:14:26]OFD Sender: No OFD packet to send [09:14:31]OFD Sender: No OFD packet to send [09:14:36]OFD Sender: No OFD packet to send [09:14:41]OFD Sender: No OFD packet to send [09:14:46]OFD Sender: No OFD packet to send [09:14:51]OFD Sender: No OFD packet to send [09:14:56]OFD Sender: No OFD packet to send [09:15:01]OFD Sender: No OFD packet to send [09:15:06]OFD Sender: No OFD packet to send [09:15:11]OFD Sender: No OFD packet to send [09:15:16]OFD Sender: No OFD packet to send [09:15:21]OFD Sender: No OFD packet to send [09:15:26]OFD Sender: No OFD packet to send [09:15:31]OFD Sender: No OFD packet to send [09:15:36]OFD Sender: No OFD packet to send [09:15:41]OFD Sender: No OFD packet to send [09:15:46]OFD Sender: No OFD packet to send [09:15:51]OFD Sender: No OFD packet to send [09:15:56]OFD Sender: No OFD packet to send [09:16:01]OFD Sender: No OFD packet to send [09:16:06]OFD Sender: No OFD packet to send [09:16:11]OFD Sender: No OFD packet to send [09:16:16]OFD Sender: No OFD packet to send [09:16:21]OFD Sender: No OFD packet to send [09:16:26]OFD Sender: No OFD packet to send [09:16:31]OFD Sender: No OFD packet to send [09:16:36]OFD Sender: No OFD packet to send [09:16:41]OFD Sender: No OFD packet to send [09:16:46]OFD Sender: No OFD packet to send [09:16:51]OFD Sender: No OFD packet to send [09:16:56]OFD Sender: No OFD packet to send [09:17:01]OFD Sender: No OFD packet to send [09:17:06]OFD Sender: No OFD packet to send [09:17:11]OFD Sender: No OFD packet to send [09:17:16]OFD Sender: No OFD packet to send [09:17:21]OFD Sender: No OFD packet to send [09:17:26]OFD Sender: No OFD packet to send [09:17:31]OFD Sender: No OFD packet to send [09:17:36]OFD Sender: No OFD packet to send [09:17:41]OFD Sender: No OFD packet to send [09:17:46]OFD Sender: No OFD packet to send [09:17:51]OFD Sender: No OFD packet to send [09:17:56]OFD Sender: No OFD packet to send [09:18:01]OFD Sender: No OFD packet to send [09:18:06]OFD Sender: No OFD packet to send [09:18:11]OFD Sender: No OFD packet to send [09:18:16]OFD Sender: No OFD packet to send [09:18:21]OFD Sender: No OFD packet to send [09:18:26]OFD Sender: No OFD packet to send [09:18:31]OFD Sender: No OFD packet to send [09:18:36]OFD Sender: No OFD packet to send [09:18:41]OFD Sender: No OFD packet to send [09:18:46]OFD Sender: No OFD packet to send [09:18:51]OFD Sender: No OFD packet to send [09:18:56]OFD Sender: No OFD packet to send [09:19:01]OFD Sender: No OFD packet to send [09:19:06]OFD Sender: No OFD packet to send [09:19:11]OFD Sender: No OFD packet to send [09:19:16]OFD Sender: No OFD packet to send [09:19:21]OFD Sender: No OFD packet to send [09:19:26]OFD Sender: No OFD packet to send [09:19:31]OFD Sender: No OFD packet to send [09:19:36]OFD Sender: No OFD packet to send [09:19:41]OFD Sender: No OFD packet to send [09:19:46]OFD Sender: No OFD packet to send [09:19:51]OFD Sender: No OFD packet to send [09:19:56]OFD Sender: No OFD packet to send [09:20:01]OFD Sender: No OFD packet to send [09:20:06]OFD Sender: No OFD packet to send [09:20:11]OFD Sender: No OFD packet to send [09:20:16]OFD Sender: No OFD packet to send [09:20:21]OFD Sender: No OFD packet to send [09:20:26]OFD Sender: No OFD packet to send [09:20:31]OFD Sender: No OFD packet to send [09:20:36]OFD Sender: No OFD packet to send [09:20:41]OFD Sender: No OFD packet to send [09:20:46]OFD Sender: No OFD packet to send [09:20:51]OFD Sender: No OFD packet to send [09:20:56]OFD Sender: No OFD packet to send [09:21:01]OFD Sender: No OFD packet to send [09:21:06]OFD Sender: No OFD packet to send [09:21:11]OFD Sender: No OFD packet to send [09:21:16]OFD Sender: No OFD packet to send [09:21:21]OFD Sender: No OFD packet to send [09:21:26]OFD Sender: No OFD packet to send [09:21:31]OFD Sender: No OFD packet to send [09:21:36]OFD Sender: No OFD packet to send [09:21:41]OFD Sender: No OFD packet to send [09:21:46]OFD Sender: No OFD packet to send [09:21:51]OFD Sender: No OFD packet to send [09:21:56]OFD Sender: No OFD packet to send [09:22:01]OFD Sender: No OFD packet to send [09:22:06]OFD Sender: No OFD packet to send [09:22:11]OFD Sender: No OFD packet to send [09:22:16]OFD Sender: No OFD packet to send [09:22:21]OFD Sender: No OFD packet to send [09:22:26]OFD Sender: No OFD packet to send [09:22:31]OFD Sender: No OFD packet to send [09:22:36]OFD Sender: No OFD packet to send [09:22:41]OFD Sender: No OFD packet to send [09:22:46]OFD Sender: No OFD packet to send [09:22:51]OFD Sender: No OFD packet to send [09:22:56]OFD Sender: No OFD packet to send [09:23:01]OFD Sender: No OFD packet to send [09:23:06]OFD Sender: No OFD packet to send [09:23:11]OFD Sender: No OFD packet to send [09:23:16]OFD Sender: No OFD packet to send [09:23:21]OFD Sender: No OFD packet to send [09:23:26]OFD Sender: No OFD packet to send [09:23:31]OFD Sender: No OFD packet to send [09:23:36]OFD Sender: No OFD packet to send [09:23:41]OFD Sender: No OFD packet to send [09:23:46]OFD Sender: No OFD packet to send [09:23:51]OFD Sender: No OFD packet to send [09:23:56]OFD Sender: No OFD packet to send [09:24:01]OFD Sender: No OFD packet to send [09:24:06]OFD Sender: No OFD packet to send [09:24:11]OFD Sender: No OFD packet to send [09:24:16]OFD Sender: No OFD packet to send [09:24:21]OFD Sender: No OFD packet to send [09:24:26]OFD Sender: No OFD packet to send [09:24:31]OFD Sender: No OFD packet to send [09:24:36]OFD Sender: No OFD packet to send [09:24:41]OFD Sender: No OFD packet to send [09:24:46]OFD Sender: No OFD packet to send [09:24:51]OFD Sender: No OFD packet to send [09:24:56]OFD Sender: No OFD packet to send [09:25:01]OFD Sender: No OFD packet to send [09:25:06]OFD Sender: No OFD packet to send [09:25:11]OFD Sender: No OFD packet to send [09:25:16]OFD Sender: No OFD packet to send [09:25:21]OFD Sender: No OFD packet to send [09:25:26]OFD Sender: No OFD packet to send [09:25:31]OFD Sender: No OFD packet to send [09:25:36]accept exits with 9 [09:25:36]New connection [09:25:36]New thread 3066695012 created [09:25:36]Thread 3066551652 joined [09:25:36]Waiting for new connection... [09:25:36] Sock 9.Parse request [09:25:36]Sock 9.Check first char [09:25:36]Sock 9.First char is OK [09:25:36]request: POST /json_proto HTTP/1.0 [09:25:36]Method: POST [09:25:36]URL: /json_proto [09:25:36]Method is POST - this is cgi request [09:25:36]url: /json_proto [09:25:36]query_string will be loaded in cgi processing [09:25:36]execute_cgi json_proto POST (null) [09:25:36]execute_cgi path=json_proto method=POST [09:25:36]POST find Content-Length [09:25:36]Host: 172.17.62.196:8080 [09:25:36]Content-Length: 814 [09:25:36]Content-Type: application/json [09:25:36] [09:25:36]POST finish read [09:25:36]Found Content-Length = 814 [09:25:36]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16946", "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" : 77.00, "quantity" : 1.000, "sum" : 77.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: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 77.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:25:36]execute_script... [09:25: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)16946", "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" : 77.00, "quantity" : 1.000, "sum" : 77.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: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 77.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:25:36]POST & json_proto [09:25:36]process_json_proto [09:25:36]json parsed OK: [09:25:36]protocol is kg_v1.0 [09:25:36]action value=close_receipt [09:25:36]process_action close_receipt [09:25:36]cmd_close_receipt [09:25:36]MH_GetDate [09:25:36]Write to MH i2c: F0 00 00 73 08 6A [09:25:36]Write i2c OK [09:25:36]MH_I2C_Read... [09:25:36]Read from MH i2c: F0 [09:25:36]MH_I2C_Read... [09:25:36]Read from MH i2c: F0 09 00 [09:25:36]MH_I2C_Read... [09:25:36]Read from MH i2c: F0 09 00 73 08 00 94 28 F5 66 CE CC 0E 66 98 [09:25:36]GetLastDocTimeStamp 1727341216 [09:25:36]current date 1727342740 [09:25:36]FM_GetShiftState [09:25:36]SAM_PROTO_GetShiftState [09:25:36]wFMCommunicate request_size=4 [09:25:36]MH_SAM_APDU [09:25:36]CAPDU: 80 13 01 00 [09:25:36]Write to MH i2c: E2 08 00 74 08 80 13 01 00 00 00 00 00 F9 [09:25:36]Write i2c OK [09:25:36]MH_I2C_Read... [09:25:36]OFD Sender: No OFD packet to send [09:25:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:25:36]Read from MH i2c: E2 [09:25:36]MH_I2C_Read... [09:25:36]Read from MH i2c: E2 0E 00 [09:25:36]MH_I2C_Read... [09:25:36]Read from MH i2c: E2 0E 00 74 08 00 09 00 01 58 A7 F4 66 00 00 00 00 90 00 5E [09:25:36]RAPDU: 09 00 01 58 A7 F4 66 00 00 00 00 90 00 [09:25:36]wFMCommunicate OK [09:25:36]SAM_PROTO_GetShiftState done [09:25:36]FM_GetShiftState done [09:25:36]opened in 1727309656 [09:25:36]opened+sec_in_day 1727396056 [09:25:36]quantity*price = 7700 [09:25:36]sum+1 = 7701 [09:25:36]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 77.00 НСП 1% : 0.68 НДС 12% : 8.18 Наличными: 0.00 Безнал.: 77.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 15 26.09.2024 09:25 Смена: 184 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 Платежная система: O! деньги ФМ: 0000000000959456 ФД: 19026 ФПД: 245833847523019 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T092540&type=1&operation_type=1&fn_number=0000000000959456&fd_number=19026&fm=245833847523019&tin=02508201610067®Number=0000000000152968&sum=7700 0 [09:25:37]StoreToDocumentArchive [09:25:37]shift 184 fd 19026 [09:25:37]save to /storage/0184/doc_00019026 [09:25:37]save last doc name /storage/0184/doc_00019026 to /storage/kkm_last_doc_name [09:25:37]save OK [09:25:37]Clear old archive folders... [09:25:37]ProcessDocumentItem done err = 0, tmpTLVsize=293 [09:25:37]tlvbuf is 01D55F10 [09:25:37]SAM_PROTO_ClearQueue [09:25:37]wFMCommunicate request_size=4 [09:25:37]MH_SAM_APDU [09:25:37]CAPDU: 80 09 00 00 [09:25:37]Write to MH i2c: E2 08 00 81 08 80 09 00 00 00 00 00 00 FB [09:25:37]Write i2c OK [09:25:37]MH_I2C_Read... [09:25:37]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:25:37]Read from MH i2c: E2 [09:25:37]MH_I2C_Read... [09:25:37]Read from MH i2c: E2 03 00 [09:25:37]MH_I2C_Read... [09:25:37]Read from MH i2c: E2 03 00 81 08 00 90 00 FD [09:25:37]RAPDU: 90 00 [09:25:37]wFMCommunicate OK [09:25:37]SAM_PROTO_ClearQueue done [09:25:37]KKMCreateOFDPacket [09:25:37]OFDProtocolAddRootSTLVToBuf [09:25:37]FM_MakeSignedData [09:25:37]FM_MakeSignedData [09:25:37]SAM_PROTO_SignData [09:25:37]wFMCommunicate request_size=4 [09:25:37]MH_SAM_APDU [09:25:37]CAPDU: 80 0D 01 02 [09:25:37]Write to MH i2c: E2 08 00 82 08 80 0D 01 02 00 00 00 00 03 [09:25:37]Write i2c OK [09:25:37]MH_I2C_Read... [09:25:38]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:25:38]Read from MH i2c: E2 [09:25:38]MH_I2C_Read... [09:25:38]Read from MH i2c: E2 03 00 [09:25:38]MH_I2C_Read... [09:25:38]Read from MH i2c: E2 03 00 82 08 00 90 00 FE [09:25:38]RAPDU: 90 00 [09:25:38]wFMCommunicate OK [09:25:38]wFMCommunicate request_size=255 [09:25:38]MH_SAM_APDU [09:25:38]CAPDU: 80 0D 02 02 FA 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 14 1E 00 00 00 00 13 04 06 00 14 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 1E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 44 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 32 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 14 1E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 94 28 F5 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 [09:25:38]Write to MH i2c: E2 02 01 83 08 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 14 1E 00 00 00 00 13 04 06 00 14 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 1E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 44 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 32 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 14 1E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 94 28 F5 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 00 00 76 [09:25:38]Write i2c OK [09:25:38]MH_I2C_Read... [09:25:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:25:38]Read from MH i2c: E2 [09:25:38]MH_I2C_Read... [09:25:38]Read from MH i2c: E2 03 00 [09:25:38]MH_I2C_Read... [09:25:38]Read from MH i2c: E2 03 00 83 08 00 90 00 FF [09:25:38]RAPDU: 90 00 [09:25:38]wFMCommunicate OK [09:25:38]wFMCommunicate request_size=52 [09:25:38]MH_SAM_APDU [09:25:38]CAPDU: 80 0D 02 02 2F 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 52 4A 00 00 35 04 06 00 DF 95 A7 27 C6 CB [09:25:38]Write to MH i2c: E2 37 00 84 08 80 0D 02 02 2F 00 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 52 4A 00 00 35 04 06 00 DF 95 A7 27 C6 CB 00 00 44 [09:25:38]Write i2c OK [09:25:38]MH_I2C_Read... [09:25:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:25:38]Read from MH i2c: E2 [09:25:38]MH_I2C_Read... [09:25:38]Read from MH i2c: E2 03 00 [09:25:38]MH_I2C_Read... [09:25:38]Read from MH i2c: E2 03 00 84 08 00 90 00 00 [09:25:38]RAPDU: 90 00 [09:25:38]wFMCommunicate OK [09:25:38]wFMCommunicate request_size=4 [09:25:38]MH_SAM_APDU [09:25:38]CAPDU: 80 0D 03 02 [09:25:38]Write to MH i2c: E2 08 00 85 08 80 0D 03 02 00 00 00 00 08 [09:25:38]Write i2c OK [09:25:38]MH_I2C_Read... [09:25:38]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:25:38]Read from MH i2c: E2 [09:25:38]MH_I2C_Read... [09:25:38]Read from MH i2c: E2 0B 00 [09:25:38]MH_I2C_Read... [09:25:38]Read from MH i2c: E2 0B 00 85 08 00 C6 C7 2B 7B 3E 4D 2F 8C 90 00 82 [09:25:38]RAPDU: C6 C7 2B 7B 3E 4D 2F 8C 90 00 [09:25:38]wFMCommunicate OK [09:25:38]SAM_PROTO_SignData done [09:25:38]FM_MakeSignedData done [09:25:38]CreateOFDProtocolMessage [09:25:38]wFMCommunicate request_size=4 [09:25:38]MH_SAM_APDU [09:25:38]CAPDU: 80 11 00 00 [09:25:38]Write to MH i2c: E2 08 00 86 08 80 11 00 00 00 00 00 00 08 [09:25:38]Write i2c OK [09:25:38]MH_I2C_Read... [09:25:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:25:38]Read from MH i2c: E2 [09:25:38]MH_I2C_Read... [09:25:38]Read from MH i2c: E2 17 00 [09:25:38]MH_I2C_Read... [09:25:38]Read from MH i2c: E2 17 00 86 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 61 [09:25:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [09:25:38]wFMCommunicate OK [09:25:38]CreateOFDProtocolMessage done [09:25:38]OFDSenderStorePacket 19026 [09:25:38]StoreOFDPacket docnum=19026 [09:25:38]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 39 01 00 00 A0 73 31 01 FA E2 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 14 1E 00 00 00 00 13 04 06 00 14 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 1E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 44 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 32 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 14 1E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 94 28 F5 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 52 4A 00 00 35 04 06 00 DF 95 A7 27 C6 CB C6 C7 2B 7B 3E 4D 2F 8C [09:25:38]CheckFolder [09:25:38]dirname=/storage/ofd_packets [09:25:38]CheckFolder done [09:25:38]ProducePacketName [09:25:38]name=ofd_packets/00019026 [09:25:38]NVStorageSaveData ofd_packets/00019026 [09:25:38]File name is /storage/ofd_packets/00019026 [09:25:38]Write 343 bytes [09:25:38]NVStorageSaveData done [09:25:38]OFDSenderStorePacket done [09:25:38]KKMCreateOFDPacket done [09:25:38]NVStorageSaveData kkm_last_timestamp [09:25:38]File name is /storage/kkm_last_timestamp [09:25:38]Write 4 bytes [09:25:38]NVStorageSaveData done [09:25:38]ExternCall_PrintAddStr [09:25:38]wPrintStart [09:25:38]Write to MH i2c: 01 00 00 87 08 8F [09:25:38]Write i2c OK [09:25:38]MH_I2C_Read... [09:25:38]Read from MH i2c: 01 [09:25:38]MH_I2C_Read... [09:25:38]Read from MH i2c: 01 07 00 [09:25:38]MH_I2C_Read... [09:25:38]Read from MH i2c: 01 07 00 87 08 00 00 00 00 00 FF 0F A4 [09:25:38]RasterBufferAndPrint [09:25:38]line Счет N : (3)16946 [09:25:38]line ИНН: 02508201610067 [09:25:38]line Контрольно-Кассовый Чек [09:25:38]line ПРОДАЖА [09:25:38]line Товар: 4700000480050 [09:25:38]line Напиток Nitro Energy эн green ж/б 0,45л [09:25:38]line 1.000 * 77.00 [09:25:38]line = 77.00 [09:25:38]line НДС 12% НСП 1% [09:25:38]line > о реализуемом товаре [09:25:38]line ИТОГО: 77.00 [09:25:38]line НСП 1% : 0.68 [09:25:38]line НДС 12% : 8.18 [09:25:38]line Наличными: 0.00 [09:25:38]line Безнал.: 77.00 [09:25:38]line Место: АЗС № 176 "Партнер Нефть" [09:25:38]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [09:25:38]line СНО: Общий режим [09:25:38]line Чек 15 26.09.2024 09:25 [09:25:38]line Смена: 184 ФФД: 1.0 [09:25:38]line ЗНМ: 0300000010 [09:25:38]line РНМ: 0000000000152968 [09:25:38]line Версия ККМ: v1.0 [09:25:38]line Платежная система: O! деньги [09:25:38]line ФМ: 0000000000959456 [09:25:38]line ФД: 19026 [09:25:38]line ФПД: 245833847523019 [09:25:38]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T092540&type=1&operation_type=1&fn_number=0000000000959456&fd_number=19026&fm=245833847523019&tin=02508201610067®Number=0000000000152968&sum=7700 [09:25:38]line 0 [09:25:38]OFD Sender: Processing packet 19026 [packets to send 7, broken 6] [09:25:38]ProducePacketName [09:25:38]name=ofd_packets/00019026 [09:25:38]OFD Sender: To server: pG, [09:25:38]CommunicateWithHost lk.salyk.kg:30040 [09:25:38]ConnectInit lk.salyk.kg [09:25:38]written 0, free lines is 4095 [09:25:39]Connected sock=11 [09:25:39]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 39 01 00 00 A0 73 31 01 FA E2 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 14 1E 00 00 00 00 13 04 06 00 14 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 1E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 44 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 32 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 14 1E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 94 28 F5 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 52 4A 00 00 35 04 06 00 DF 95 A7 27 C6 CB C6 C7 2B 7B 3E 4D 2F 8C [09:25:39]Write to MH i2c: 01 00 00 B2 08 BA [09:25:39]Write i2c OK [09:25:39]MH_I2C_Read... [09:25:39]Read from MH i2c: 01 [09:25:39]MH_I2C_Read... [09:25:39]Read from MH i2c: 01 07 00 [09:25:39]MH_I2C_Read... [09:25:39]Read from MH i2c: 01 07 00 B2 08 00 00 00 00 00 E7 0C B4 [09:25:39]RasterBufferAndPrint [09:25:39]line [09:25:39]line [09:25:39]line [09:25:39]line [09:25:39]line [09:25:39]written 0, free lines is 3310 [09:25:39]MH_Cut [09:25:39]Write to MH i2c: D1 01 00 B9 08 01 93 [09:25:39]Write i2c OK [09:25:39]MH_I2C_Read... [09:25:39]Read from MH i2c: D1 [09:25:39]MH_I2C_Read... [09:25:39]Read from MH i2c: D1 01 00 [09:25:39]MH_I2C_Read... [09:25:39]Read from MH i2c: D1 01 00 B9 08 00 92 [09:25:39]Write to MH i2c: 01 00 00 BA 08 C2 [09:25:39]Write i2c OK [09:25:39]MH_I2C_Read... [09:25:39]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 3E C3 47 00 3A 1E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 52 4A 00 00 F4 03 04 00 EE D1 F4 66 B6 04 01 00 00 99 AE 0C E6 77 39 66 9A [09:25:39]CommunicateWithHost err = 0 [09:25:39]CheckOFDResponse [09:25:39]1017 (14) - 77093643461234 [09:25:39]1041 (16) - 0000000000959456 [09:25:39]1040 (4) - 19026 [09:25:39]1012 (4) - 26.09.2024 03:15 [09:25:39]1206 (1) - 0 [09:25:39]OFD Sender: Remove packet 19026 [09:25:39]ProducePacketName [09:25:39]name=ofd_packets/00019026 [09:25:39]NVStorageDeleteData [09:25:39]OFD Sender: No OFD packet to send [09:25:39]*** Cut start [09:25:39]*** Partial cut [09:25:39]*** CUTSNS_PIN = 1 [09:25:40]*** CUTSNS_PIN = 0 [09:25:40]*** Brake cut motor [09:25:40]Read from MH i2c: 01 [09:25:40]MH_I2C_Read... [09:25:40]*** Stop cut motor [09:25:40]*** Cut end [09:25:40]Read from MH i2c: 01 07 00 [09:25:40]MH_I2C_Read... [09:25:40]Read from MH i2c: 01 07 00 BA 08 00 00 00 00 00 FF 0F D7 [09:25:40]process_action close_receipt done [09:25:40]requested_data is exist [09:25:40]produce_requested_data [09:25:40]requested_item fm.sn is exist - process it [09:25:40]wFMCommunicate request_size=4 [09:25:40]MH_SAM_APDU [09:25:40]CAPDU: 80 11 00 00 [09:25:40]Write to MH i2c: E2 08 00 BB 08 80 11 00 00 00 00 00 00 3D [09:25:40]Write i2c OK [09:25:40]MH_I2C_Read... [09:25:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:25:40]Read from MH i2c: E2 [09:25:40]MH_I2C_Read... [09:25:40]Read from MH i2c: E2 17 00 [09:25:40]MH_I2C_Read... [09:25:40]Read from MH i2c: E2 17 00 BB 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 96 [09:25:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [09:25:40]wFMCommunicate OK [09:25:40]requested_item fd.num is exist - process it [09:25:40]SAM_PROTO_GetFieldsCounters [09:25:40]wFMCommunicate request_size=4 [09:25:40]MH_SAM_APDU [09:25:40]CAPDU: 80 13 00 00 [09:25:40]Write to MH i2c: E2 08 00 BC 08 80 13 00 00 00 00 00 00 40 [09:25:40]Write i2c OK [09:25:40]MH_I2C_Read... [09:25:40]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:25:40]Read from MH i2c: E2 [09:25:40]MH_I2C_Read... [09:25:40]Read from MH i2c: E2 62 00 [09:25:40]MH_I2C_Read... [09:25:40]Read from MH i2c: E2 62 00 BC 08 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 52 4A 00 00 0E 04 04 00 B8 00 00 00 12 04 04 00 0F 00 00 00 5E 04 04 00 0F 00 00 00 57 04 04 00 10 00 00 00 19 04 04 00 00 00 00 00 90 00 EE [09:25:40]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 52 4A 00 00 0E 04 04 00 B8 00 00 00 12 04 04 00 0F 00 00 00 5E 04 04 00 0F 00 00 00 57 04 04 00 10 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:25:40]wFMCommunicate OK [09:25:40]SAM_PROTO_GetFieldsCounters done [09:25:40]requested_item shift.num is exist - process it [09:25:40]requested_item shift.opened is exist - process it [09:25:40]req_shift_opened [09:25:40]FM_GetShiftState [09:25:40]SAM_PROTO_GetShiftState [09:25:40]wFMCommunicate request_size=4 [09:25:40]MH_SAM_APDU [09:25:40]CAPDU: 80 13 01 00 [09:25:40]Write to MH i2c: E2 08 00 BD 08 80 13 01 00 00 00 00 00 42 [09:25:40]Write i2c OK [09:25:40]MH_I2C_Read... [09:25:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:25:40]Read from MH i2c: E2 [09:25:40]MH_I2C_Read... [09:25:40]Read from MH i2c: E2 0E 00 [09:25:40]MH_I2C_Read... [09:25:40]Read from MH i2c: E2 0E 00 BD 08 00 09 00 01 58 A7 F4 66 00 00 00 00 90 00 A7 [09:25:40]RAPDU: 09 00 01 58 A7 F4 66 00 00 00 00 90 00 [09:25:40]wFMCommunicate OK [09:25:40]SAM_PROTO_GetShiftState done [09:25:40]FM_GetShiftState done [09:25:40]req_shift_opened done [09:25:40]requested_item shift.open_date is exist - process it [09:25:40]req_shift_open_date [09:25:40]req_shift_open_date done [09:25:40]produce_requested_data done [09:25:40]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":19026,"shift.num":184,"shift.opened":1,"shift.open_date":1727309656} [09:25:40]process_action_free close_receipt [09:25:40]json_value_free [09:25:40]json_value_free done [09:25:40]process_json_proto returns [09:25:40]Send response to host [09:25:40]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":19026,"shift.num":184,"shift.opened":1,"shift.open_date":1727309656}}} [09:25:40]free response buf [09:25:40]execute_script done [09:25:40]execute_script returns [09:25:40]free content buf [09:25:40]Sock 9.Close socket [09:25:40]Sock 9.Thread stoped [09:25:44]OFD Sender: No OFD packet to send [09:25:49]OFD Sender: No OFD packet to send [09:25:54]OFD Sender: No OFD packet to send [09:25:59]OFD Sender: No OFD packet to send [09:26:04]OFD Sender: No OFD packet to send [09:26:09]OFD Sender: No OFD packet to send [09:26:14]OFD Sender: No OFD packet to send [09:26:19]OFD Sender: No OFD packet to send [09:26:24]OFD Sender: No OFD packet to send [09:26:29]OFD Sender: No OFD packet to send [09:26:34]OFD Sender: No OFD packet to send [09:26:39]OFD Sender: No OFD packet to send [09:26:44]OFD Sender: No OFD packet to send [09:26:49]OFD Sender: No OFD packet to send [09:26:54]OFD Sender: No OFD packet to send [09:26:59]OFD Sender: No OFD packet to send [09:27:04]OFD Sender: No OFD packet to send [09:27:09]OFD Sender: No OFD packet to send [09:27:14]OFD Sender: No OFD packet to send [09:27:19]OFD Sender: No OFD packet to send [09:27:24]OFD Sender: No OFD packet to send [09:27:29]OFD Sender: No OFD packet to send [09:27:34]OFD Sender: No OFD packet to send [09:27:39]OFD Sender: No OFD packet to send [09:27:44]OFD Sender: No OFD packet to send [09:27:49]OFD Sender: No OFD packet to send [09:27:54]OFD Sender: No OFD packet to send [09:27:59]OFD Sender: No OFD packet to send [09:28:04]OFD Sender: No OFD packet to send [09:28:09]OFD Sender: No OFD packet to send [09:28:14]OFD Sender: No OFD packet to send [09:28:19]OFD Sender: No OFD packet to send [09:28:24]OFD Sender: No OFD packet to send [09:28:29]OFD Sender: No OFD packet to send [09:28:34]OFD Sender: No OFD packet to send [09:28: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:22]accept exits with 7 [09:33:22]New connection [09:33:22]New thread 3066551652 created [09:33:22]Thread 3066695012 joined [09:33:22]Waiting for new connection... [09:33:22] Sock 7.Parse request [09:33:22]Sock 7.Check first char [09:33:22]Sock 7.First char is OK [09:33:22]request: POST /json_proto HTTP/1.0 [09:33:22]Method: POST [09:33:22]URL: /json_proto [09:33:22]Method is POST - this is cgi request [09:33:22]url: /json_proto [09:33:22]query_string will be loaded in cgi processing [09:33:22]execute_cgi json_proto POST (null) [09:33:22]execute_cgi path=json_proto method=POST [09:33:22]POST find Content-Length [09:33:22]Host: 172.17.62.196:8080 [09:33:22]Content-Length: 1136 [09:33:22]Content-Type: application/json [09:33:22] [09:33:22]POST finish read [09:33:22]Found Content-Length = 1136 [09:33:22]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16947", "tax_sys" : 0, "items" : [ { "code": "4640030091607", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange", "price" : 150.00, "quantity" : 1.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160211", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 0,5\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "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" : 315.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:33:22]execute_script... [09:33: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)16947", "tax_sys" : 0, "items" : [ { "code": "4640030091607", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange", "price" : 150.00, "quantity" : 1.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160211", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 0,5\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "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" : 315.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:33:22]POST & json_proto [09:33:22]process_json_proto [09:33:22]json parsed OK: [09:33:22]protocol is kg_v1.0 [09:33:22]action value=close_receipt [09:33:22]process_action close_receipt [09:33:22]cmd_close_receipt [09:33:22]MH_GetDate [09:33:22]Write to MH i2c: F0 00 00 BE 08 B5 [09:33:22]Write i2c OK [09:33:22]MH_I2C_Read... [09:33:22]Read from MH i2c: F0 [09:33:22]MH_I2C_Read... [09:33:22]Read from MH i2c: F0 09 00 [09:33:22]MH_I2C_Read... [09:33:22]Read from MH i2c: F0 09 00 BE 08 00 66 2A F5 66 CE CC 0E 66 B7 [09:33:22]GetLastDocTimeStamp 1727342740 [09:33:22]current date 1727343206 [09:33:22]FM_GetShiftState [09:33:22]SAM_PROTO_GetShiftState [09:33:22]wFMCommunicate request_size=4 [09:33:22]MH_SAM_APDU [09:33:22]CAPDU: 80 13 01 00 [09:33:22]Write to MH i2c: E2 08 00 BF 08 80 13 01 00 00 00 00 00 44 [09:33:22]Write i2c OK [09:33:22]MH_I2C_Read... [09:33:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:33:22]Read from MH i2c: E2 [09:33:22]MH_I2C_Read... [09:33:22]Read from MH i2c: E2 0E 00 [09:33:22]MH_I2C_Read... [09:33:22]Read from MH i2c: E2 0E 00 BF 08 00 09 00 01 58 A7 F4 66 00 00 00 00 90 00 A9 [09:33:22]RAPDU: 09 00 01 58 A7 F4 66 00 00 00 00 90 00 [09:33:22]wFMCommunicate OK [09:33:22]SAM_PROTO_GetShiftState done [09:33:22]FM_GetShiftState done [09:33:22]opened in 1727309656 [09:33:22]opened+sec_in_day 1727396056 [09:33:22]quantity*price = 15000 [09:33:22]sum+1 = 15001 [09:33:22]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000160211 Вода Легенда 0,5л 1.000 * 40.00 = 40.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 2000036190018 Кофе Американо XL(GABB TRADE) 1.000 * 125.00 = 125.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 315.00 НСП 1% : 2.79 НДС 12% : 33.45 Наличными: 315.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 16 26.09.2024 09:33 Смена: 184 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 19027 ФПД: 209084623384740 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T093326&type=1&operation_type=1&fn_number=0000000000959456&fd_number=19027&fm=209084623384740&tin=02508201610067®Number=0000000000152968&sum=31500 0 [09:33:23]StoreToDocumentArchive [09:33:23]shift 184 fd 19027 [09:33:23]save to /storage/0184/doc_00019027 [09:33:23]save last doc name /storage/0184/doc_00019027 to /storage/kkm_last_doc_name [09:33:23]save OK [09:33:23]Clear old archive folders... [09:33:23]ProcessDocumentItem done err = 0, tmpTLVsize=487 [09:33:23]tlvbuf is 01D50290 [09:33:23]SAM_PROTO_ClearQueue [09:33:23]wFMCommunicate request_size=4 [09:33:23]MH_SAM_APDU [09:33:23]CAPDU: 80 09 00 00 [09:33:23]Write to MH i2c: E2 08 00 CC 08 80 09 00 00 00 00 00 00 46 [09:33:23]Write i2c OK [09:33:23]MH_I2C_Read... [09:33:23]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:33:23]Read from MH i2c: E2 [09:33:23]MH_I2C_Read... [09:33:23]Read from MH i2c: E2 03 00 [09:33:23]MH_I2C_Read... [09:33:23]Read from MH i2c: E2 03 00 CC 08 00 90 00 48 [09:33:23]RAPDU: 90 00 [09:33:23]wFMCommunicate OK [09:33:23]SAM_PROTO_ClearQueue done [09:33:23]KKMCreateOFDPacket [09:33:23]OFDProtocolAddRootSTLVToBuf [09:33:23]FM_MakeSignedData [09:33:23]FM_MakeSignedData [09:33:23]SAM_PROTO_SignData [09:33:23]wFMCommunicate request_size=4 [09:33:23]MH_SAM_APDU [09:33:23]CAPDU: 80 0D 01 02 [09:33:23]Write to MH i2c: E2 08 00 CD 08 80 0D 01 02 00 00 00 00 4E [09:33:23]Write i2c OK [09:33:23]MH_I2C_Read... [09:33:23]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:33:23]Read from MH i2c: E2 [09:33:23]MH_I2C_Read... [09:33:23]Read from MH i2c: E2 03 00 [09:33:23]MH_I2C_Read... [09:33:23]Read from MH i2c: E2 03 00 CD 08 00 90 00 49 [09:33:23]RAPDU: 90 00 [09:33:23]wFMCommunicate OK [09:33:23]wFMCommunicate request_size=255 [09:33:23]MH_SAM_APDU [09:33:23]CAPDU: 80 0D 02 02 FA 03 00 E7 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 30 37 06 04 1E 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 [09:33:24]Write to MH i2c: E2 02 01 CE 08 80 0D 02 02 FA 00 03 00 E7 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 30 37 06 04 1E 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 00 00 DB [09:33:24]Write i2c OK [09:33:24]MH_I2C_Read... [09:33:24]Read from MH i2c: E2 [09:33:24]MH_I2C_Read... [09:33:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:33:24]Read from MH i2c: E2 03 00 [09:33:24]MH_I2C_Read... [09:33:24]Read from MH i2c: E2 03 00 CE 08 00 90 00 4A [09:33:24]RAPDU: 90 00 [09:33:24]wFMCommunicate OK [09:33:24]wFMCommunicate request_size=246 [09:33:24]MH_SAM_APDU [09:33:24]CAPDU: 80 0D 02 02 F1 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 0C 7B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 17 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 11 0D 00 00 00 00 07 04 06 00 0C 7B 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 66 2A F5 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 53 4A 00 00 35 04 06 00 BE 29 4E B4 70 A4 [09:33:24]Write to MH i2c: E2 F9 00 CF 08 80 0D 02 02 F1 00 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 0C 7B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 17 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 11 0D 00 00 00 00 07 04 06 00 0C 7B 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 66 2A F5 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 53 4A 00 00 35 04 06 00 BE 29 4E B4 70 A4 00 00 58 [09:33:24]Write i2c OK [09:33:24]MH_I2C_Read... [09:33:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:33:24]Read from MH i2c: E2 [09:33:24]MH_I2C_Read... [09:33:24]Read from MH i2c: E2 03 00 [09:33:24]MH_I2C_Read... [09:33:24]Read from MH i2c: E2 03 00 CF 08 00 90 00 4B [09:33:24]RAPDU: 90 00 [09:33:24]wFMCommunicate OK [09:33:24]wFMCommunicate request_size=4 [09:33:24]MH_SAM_APDU [09:33:24]CAPDU: 80 0D 03 02 [09:33:24]Write to MH i2c: E2 08 00 D0 08 80 0D 03 02 00 00 00 00 53 [09:33:24]Write i2c OK [09:33:24]MH_I2C_Read... [09:33:24]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:33:24]Read from MH i2c: E2 [09:33:24]MH_I2C_Read... [09:33:24]Read from MH i2c: E2 0B 00 [09:33:24]MH_I2C_Read... [09:33:24]Read from MH i2c: E2 0B 00 D0 08 00 56 69 BA 78 6A F4 96 41 90 00 7A [09:33:24]RAPDU: 56 69 BA 78 6A F4 96 41 90 00 [09:33:24]wFMCommunicate OK [09:33:24]SAM_PROTO_SignData done [09:33:24]FM_MakeSignedData done [09:33:24]CreateOFDProtocolMessage [09:33:24]wFMCommunicate request_size=4 [09:33:24]MH_SAM_APDU [09:33:24]CAPDU: 80 11 00 00 [09:33:24]Write to MH i2c: E2 08 00 D1 08 80 11 00 00 00 00 00 00 53 [09:33:24]Write i2c OK [09:33:24]MH_I2C_Read... [09:33:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:33:24]Read from MH i2c: E2 [09:33:24]MH_I2C_Read... [09:33:24]Read from MH i2c: E2 17 00 [09:33:24]MH_I2C_Read... [09:33:24]Read from MH i2c: E2 17 00 D1 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 AC [09:33:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [09:33:24]wFMCommunicate OK [09:33:24]CreateOFDProtocolMessage done [09:33:24]OFDSenderStorePacket 19027 [09:33:24]StoreOFDPacket docnum=19027 [09:33:24]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 FB 01 00 00 A1 D0 F3 01 FD 7F 5A 03 01 00 03 00 E7 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 30 37 06 04 1E 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 0C 7B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 17 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 11 0D 00 00 00 00 07 04 06 00 0C 7B 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 66 2A F5 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 53 4A 00 00 35 04 06 00 BE 29 4E B4 70 A4 56 69 BA 78 6A F4 96 41 [09:33:24]CheckFolder [09:33:24]dirname=/storage/ofd_packets [09:33:24]CheckFolder done [09:33:24]ProducePacketName [09:33:24]name=ofd_packets/00019027 [09:33:24]NVStorageSaveData ofd_packets/00019027 [09:33:24]File name is /storage/ofd_packets/00019027 [09:33:24]Write 537 bytes [09:33:24]NVStorageSaveData done [09:33:24]OFDSenderStorePacket done [09:33:24]KKMCreateOFDPacket done [09:33:24]NVStorageSaveData kkm_last_timestamp [09:33:24]File name is /storage/kkm_last_timestamp [09:33:24]Write 4 bytes [09:33:24]NVStorageSaveData done [09:33:24]ExternCall_PrintAddStr [09:33:24]wPrintStart [09:33:24]Write to MH i2c: 01 00 00 D2 08 DA [09:33:24]Write i2c OK [09:33:24]MH_I2C_Read... [09:33:24]Read from MH i2c: 01 [09:33:24]MH_I2C_Read... [09:33:24]Read from MH i2c: 01 07 00 [09:33:24]MH_I2C_Read... [09:33:24]Read from MH i2c: 01 07 00 D2 08 00 00 00 00 00 FF 0F EF [09:33:24]RasterBufferAndPrint [09:33:24]line Счет N : (3)16947 [09:33:24]line ИНН: 02508201610067 [09:33:24]line Контрольно-Кассовый Чек [09:33:24]line ПРОДАЖА [09:33:24]line Товар: 4640030091607 [09:33:24]line Сигареты ESSE Exchange [09:33:24]line 1.000 * 150.00 [09:33:24]line = 150.00 [09:33:24]line НДС 12% НСП 1% [09:33:24]line > о реализуемом товаре [09:33:24]line Товар: 4700000160211 [09:33:24]line Вода Легенда 0,5л [09:33:24]line 1.000 * 40.00 [09:33:24]line = 40.00 [09:33:24]line НДС 12% НСП 1% [09:33:24]line > о реализуемом товаре [09:33:24]line Товар: 2000036190018 [09:33:24]line Кофе Американо XL(GABB TRADE) [09:33:24]line 1.000 * 125.00 [09:33:24]line = 125.00 [09:33:24]line НДС 12% НСП 1% [09:33:24]line > о реализуемом товаре [09:33:24]line ИТОГО: 315.00 [09:33:24]line НСП 1% : 2.79 [09:33:24]line НДС 12% : 33.45 [09:33:24]line Наличными: 315.00 [09:33:24]line Безнал.: 0.00 [09:33:24]line Место: АЗС № 176 "Партнер Нефть" [09:33:24]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [09:33:24]line СНО: Общий режим [09:33:24]line Чек 16 26.09.2024 09:33 [09:33:24]line Смена: 184 ФФД: 1.0 [09:33:24]line ЗНМ: 0300000010 [09:33:24]line РНМ: 0000000000152968 [09:33:24]line Версия ККМ: v1.0 [09:33:24]line ФМ: 0000000000959456 [09:33:24]line ФД: 19027 [09:33:24]line ФПД: 209084623384740 [09:33:24]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T093326&type=1&operation_type=1&fn_number=0000000000959456&fd_number=19027&fm=209084623384740&tin=02508201610067®Number=0000000000152968&sum=31500 [09:33:24]line 0 [09:33:24]written 0, free lines is 4095 [09:33:24]OFD Sender: Processing packet 19027 [packets to send 7, broken 6] [09:33:24]ProducePacketName [09:33:24]name=ofd_packets/00019027 [09:33:24]OFD Sender: To server: pG, [09:33:24]CommunicateWithHost lk.salyk.kg:30040 [09:33:24]ConnectInit lk.salyk.kg [09:33:24]Connected sock=10 [09:33:24]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 FB 01 00 00 A1 D0 F3 01 FD 7F 5A 03 01 00 03 00 E7 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 30 37 06 04 1E 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 0C 7B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 17 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 11 0D 00 00 00 00 07 04 06 00 0C 7B 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 66 2A F5 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 53 4A 00 00 35 04 06 00 BE 29 4E B4 70 A4 56 69 BA 78 6A F4 96 41 [09:33:25]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 54 8D 47 00 34 1C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 53 4A 00 00 F4 03 04 00 C0 D3 F4 66 B6 04 01 00 00 79 62 E7 21 89 7D 39 BF [09:33:25]CommunicateWithHost err = 0 [09:33:25]CheckOFDResponse [09:33:25]1017 (14) - 77093643461234 [09:33:25]1041 (16) - 0000000000959456 [09:33:25]1040 (4) - 19027 [09:33:25]1012 (4) - 26.09.2024 03:23 [09:33:25]1206 (1) - 0 [09:33:25]OFD Sender: Remove packet 19027 [09:33:25]ProducePacketName [09:33:25]name=ofd_packets/00019027 [09:33:25]NVStorageDeleteData [09:33:25]Write to MH i2c: 01 00 00 07 09 10 [09:33:25]Write i2c OK [09:33:25]MH_I2C_Read... [09:33:25]Read from MH i2c: 01 [09:33:25]MH_I2C_Read... [09:33:25]Read from MH i2c: 01 07 00 [09:33:25]MH_I2C_Read... [09:33:25]Read from MH i2c: 01 07 00 07 09 00 00 00 00 00 A2 0C C5 [09:33:25]RasterBufferAndPrint [09:33:25]line [09:33:25]line [09:33:25]line [09:33:25]line [09:33:25]line [09:33:25]written 0, free lines is 3245 [09:33:25]MH_Cut [09:33:25]Write to MH i2c: D1 01 00 0E 09 01 E9 [09:33:25]Write i2c OK [09:33:25]MH_I2C_Read... [09:33:25]Read from MH i2c: D1 [09:33:25]MH_I2C_Read... [09:33:25]Read from MH i2c: D1 01 00 [09:33:25]MH_I2C_Read... [09:33:25]Read from MH i2c: D1 01 00 0E 09 00 E8 [09:33:25]Write to MH i2c: 01 00 00 0F 09 18 [09:33:25]Write i2c OK [09:33:25]MH_I2C_Read... [09:33:25]OFD Sender: No OFD packet to send [09:33:26]*** Cut start [09:33:26]*** Partial cut [09:33:26]*** CUTSNS_PIN = 1 [09:33:26]*** CUTSNS_PIN = 0 [09:33:26]*** Brake cut motor [09:33:26]Read from MH i2c: 01 [09:33:26]MH_I2C_Read... [09:33:26]*** Stop cut motor [09:33:26]*** Cut end [09:33:26]Read from MH i2c: 01 07 00 [09:33:26]MH_I2C_Read... [09:33:26]Read from MH i2c: 01 07 00 0F 09 00 00 00 00 00 FF 0F 2D [09:33:26]process_action close_receipt done [09:33:26]requested_data is exist [09:33:26]produce_requested_data [09:33:26]requested_item fm.sn is exist - process it [09:33:26]wFMCommunicate request_size=4 [09:33:26]MH_SAM_APDU [09:33:26]CAPDU: 80 11 00 00 [09:33:26]Write to MH i2c: E2 08 00 10 09 80 11 00 00 00 00 00 00 93 [09:33:26]Write i2c OK [09:33:26]MH_I2C_Read... [09:33:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:33:26]Read from MH i2c: E2 [09:33:26]MH_I2C_Read... [09:33:26]Read from MH i2c: E2 17 00 [09:33:26]MH_I2C_Read... [09:33:26]Read from MH i2c: E2 17 00 10 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 EC [09:33:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [09:33:26]wFMCommunicate OK [09:33:26]requested_item fd.num is exist - process it [09:33:26]SAM_PROTO_GetFieldsCounters [09:33:26]wFMCommunicate request_size=4 [09:33:26]MH_SAM_APDU [09:33:26]CAPDU: 80 13 00 00 [09:33:26]Write to MH i2c: E2 08 00 11 09 80 13 00 00 00 00 00 00 96 [09:33:26]Write i2c OK [09:33:26]MH_I2C_Read... [09:33:26]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:33:26]Read from MH i2c: E2 [09:33:26]MH_I2C_Read... [09:33:26]Read from MH i2c: E2 62 00 [09:33:26]MH_I2C_Read... [09:33:26]Read from MH i2c: E2 62 00 11 09 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 53 4A 00 00 0E 04 04 00 B8 00 00 00 12 04 04 00 10 00 00 00 5E 04 04 00 10 00 00 00 57 04 04 00 11 00 00 00 19 04 04 00 00 00 00 00 90 00 48 [09:33:26]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 53 4A 00 00 0E 04 04 00 B8 00 00 00 12 04 04 00 10 00 00 00 5E 04 04 00 10 00 00 00 57 04 04 00 11 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:33:26]wFMCommunicate OK [09:33:26]SAM_PROTO_GetFieldsCounters done [09:33:26]requested_item shift.num is exist - process it [09:33:26]requested_item shift.opened is exist - process it [09:33:26]req_shift_opened [09:33:26]FM_GetShiftState [09:33:26]SAM_PROTO_GetShiftState [09:33:26]wFMCommunicate request_size=4 [09:33:26]MH_SAM_APDU [09:33:26]CAPDU: 80 13 01 00 [09:33:26]Write to MH i2c: E2 08 00 12 09 80 13 01 00 00 00 00 00 98 [09:33:26]Write i2c OK [09:33:26]MH_I2C_Read... [09:33:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:33:26]Read from MH i2c: E2 [09:33:26]MH_I2C_Read... [09:33:26]Read from MH i2c: E2 0E 00 [09:33:26]MH_I2C_Read... [09:33:26]Read from MH i2c: E2 0E 00 12 09 00 09 00 01 58 A7 F4 66 00 00 00 00 90 00 FD [09:33:26]RAPDU: 09 00 01 58 A7 F4 66 00 00 00 00 90 00 [09:33:26]wFMCommunicate OK [09:33:26]SAM_PROTO_GetShiftState done [09:33:26]FM_GetShiftState done [09:33:26]req_shift_opened done [09:33:26]requested_item shift.open_date is exist - process it [09:33:26]req_shift_open_date [09:33:26]req_shift_open_date done [09:33:26]produce_requested_data done [09:33:26]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":19027,"shift.num":184,"shift.opened":1,"shift.open_date":1727309656} [09:33:26]process_action_free close_receipt [09:33:26]json_value_free [09:33:26]json_value_free done [09:33:26]process_json_proto returns [09:33:26]Send response to host [09:33:26]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":19027,"shift.num":184,"shift.opened":1,"shift.open_date":1727309656}}} [09:33:26]free response buf [09:33:26]execute_script done [09:33:26]execute_script returns [09:33:26]free content buf [09:33:26]Sock 7.Close socket [09:33:26]Sock 7.Thread stoped [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:08]accept exits with 9 [09:38:08]New connection [09:38:08]New thread 3066695012 created [09:38:08]Thread 3066551652 joined [09:38:08]Waiting for new connection... [09:38:08] Sock 9.Parse request [09:38:08]Sock 9.Check first char [09:38:08]Sock 9.First char is OK [09:38:08]request: POST /json_proto HTTP/1.0 [09:38:08]Method: POST [09:38:08]URL: /json_proto [09:38:08]Method is POST - this is cgi request [09:38:08]url: /json_proto [09:38:08]query_string will be loaded in cgi processing [09:38:08]execute_cgi json_proto POST (null) [09:38:08]execute_cgi path=json_proto method=POST [09:38:08]POST find Content-Length [09:38:08]Host: 172.17.62.196:8080 [09:38:08]Content-Length: 619 [09:38:08]Content-Type: application/json [09:38:08] [09:38:08]POST finish read [09:38:08]Found Content-Length = 619 [09:38:08]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16948", "tax_sys" : 0, "items" : [ { "code": "48745000", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Purple Mix", "price" : 139.00, "quantity" : 1.000, "sum" : 139.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 139.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:38:08]execute_script... [09:38: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)16948", "tax_sys" : 0, "items" : [ { "code": "48745000", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Purple Mix", "price" : 139.00, "quantity" : 1.000, "sum" : 139.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 139.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:38:08]POST & json_proto [09:38:08]process_json_proto [09:38:08]json parsed OK: [09:38:08]protocol is kg_v1.0 [09:38:08]action value=close_receipt [09:38:08]process_action close_receipt [09:38:08]cmd_close_receipt [09:38:08]MH_GetDate [09:38:08]Write to MH i2c: F0 00 00 13 09 0B [09:38:08]Write i2c OK [09:38:08]MH_I2C_Read... [09:38:08]Read from MH i2c: F0 [09:38:08]MH_I2C_Read... [09:38:08]Read from MH i2c: F0 09 00 [09:38:08]MH_I2C_Read... [09:38:08]Read from MH i2c: F0 09 00 13 09 00 84 2B F5 66 CE CC 0E 66 2C [09:38:08]GetLastDocTimeStamp 1727343206 [09:38:08]current date 1727343492 [09:38:08]FM_GetShiftState [09:38:08]SAM_PROTO_GetShiftState [09:38:08]wFMCommunicate request_size=4 [09:38:08]MH_SAM_APDU [09:38:08]CAPDU: 80 13 01 00 [09:38:08]Write to MH i2c: E2 08 00 14 09 80 13 01 00 00 00 00 00 9A [09:38:08]Write i2c OK [09:38:08]MH_I2C_Read... [09:38:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:38:08]Read from MH i2c: E2 [09:38:08]MH_I2C_Read... [09:38:08]Read from MH i2c: E2 0E 00 [09:38:08]MH_I2C_Read... [09:38:08]Read from MH i2c: E2 0E 00 14 09 00 09 00 01 58 A7 F4 66 00 00 00 00 90 00 FF [09:38:08]RAPDU: 09 00 01 58 A7 F4 66 00 00 00 00 90 00 [09:38:08]wFMCommunicate OK [09:38:08]SAM_PROTO_GetShiftState done [09:38:08]FM_GetShiftState done [09:38:08]opened in 1727309656 [09:38:08]opened+sec_in_day 1727396056 [09:38:08]quantity*price = 13900 [09:38:08]sum+1 = 13901 [09:38:08]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 139.00 НСП 1% : 1.23 НДС 12% : 14.76 Наличными: 139.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 17 26.09.2024 09:38 Смена: 184 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 19028 ФПД: 235331267110620 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T093812&type=1&operation_type=1&fn_number=0000000000959456&fd_number=19028&fm=235331267110620&tin=02508201610067®Number=0000000000152968&sum=13900 0 [09:38:09]StoreToDocumentArchive [09:38:09]shift 184 fd 19028 [09:38:09]save to /storage/0184/doc_00019028 [09:38:09]save last doc name /storage/0184/doc_00019028 to /storage/kkm_last_doc_name [09:38:09]save OK [09:38:09]Clear old archive folders... [09:38:09]ProcessDocumentItem done err = 0, tmpTLVsize=272 [09:38:09]tlvbuf is 01D763D0 [09:38:09]SAM_PROTO_ClearQueue [09:38:09]wFMCommunicate request_size=4 [09:38:09]MH_SAM_APDU [09:38:09]CAPDU: 80 09 00 00 [09:38:09]Write to MH i2c: E2 08 00 21 09 80 09 00 00 00 00 00 00 9C [09:38:09]Write i2c OK [09:38:09]MH_I2C_Read... [09:38:09]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:38:09]Read from MH i2c: E2 [09:38:09]MH_I2C_Read... [09:38:09]Read from MH i2c: E2 03 00 [09:38:09]MH_I2C_Read... [09:38:09]Read from MH i2c: E2 03 00 21 09 00 90 00 9E [09:38:09]RAPDU: 90 00 [09:38:09]wFMCommunicate OK [09:38:09]SAM_PROTO_ClearQueue done [09:38:09]KKMCreateOFDPacket [09:38:09]OFDProtocolAddRootSTLVToBuf [09:38:09]FM_MakeSignedData [09:38:09]FM_MakeSignedData [09:38:09]SAM_PROTO_SignData [09:38:09]wFMCommunicate request_size=4 [09:38:09]MH_SAM_APDU [09:38:09]CAPDU: 80 0D 01 02 [09:38:09]Write to MH i2c: E2 08 00 22 09 80 0D 01 02 00 00 00 00 A4 [09:38:09]Write i2c OK [09:38:09]MH_I2C_Read... [09:38:09]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:38:09]Read from MH i2c: E2 [09:38:09]MH_I2C_Read... [09:38:09]Read from MH i2c: E2 03 00 [09:38:09]MH_I2C_Read... [09:38:09]Read from MH i2c: E2 03 00 22 09 00 90 00 9F [09:38:09]RAPDU: 90 00 [09:38:09]wFMCommunicate OK [09:38:09]wFMCommunicate request_size=255 [09:38:09]MH_SAM_APDU [09:38:09]CAPDU: 80 0D 02 02 FA 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 38 37 34 35 30 30 30 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 50 75 72 70 6C 65 20 4D 69 78 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 4C 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 05 00 00 00 00 07 04 06 00 4C 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 84 2B F5 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 [09:38:09]Write to MH i2c: E2 02 01 23 09 80 0D 02 02 FA 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 38 37 34 35 30 30 30 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 50 75 72 70 6C 65 20 4D 69 78 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 4C 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 05 00 00 00 00 07 04 06 00 4C 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 84 2B F5 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 00 00 AE [09:38:09]Write i2c OK [09:38:09]MH_I2C_Read... [09:38:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:38:10]Read from MH i2c: E2 [09:38:10]MH_I2C_Read... [09:38:10]Read from MH i2c: E2 03 00 [09:38:10]MH_I2C_Read... [09:38:10]Read from MH i2c: E2 03 00 23 09 00 90 00 A0 [09:38:10]RAPDU: 90 00 [09:38:10]wFMCommunicate OK [09:38:10]wFMCommunicate request_size=31 [09:38:10]MH_SAM_APDU [09:38:10]CAPDU: 80 0D 02 02 1A 30 30 39 35 39 34 35 36 10 04 04 00 54 4A 00 00 35 04 06 00 D6 08 54 94 A6 DC [09:38:10]Write to MH i2c: E2 22 00 24 09 80 0D 02 02 1A 00 30 30 39 35 39 34 35 36 10 04 04 00 54 4A 00 00 35 04 06 00 D6 08 54 94 A6 DC 00 00 BE [09:38:10]Write i2c OK [09:38:10]MH_I2C_Read... [09:38:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:38:10]Read from MH i2c: E2 [09:38:10]MH_I2C_Read... [09:38:10]Read from MH i2c: E2 03 00 [09:38:10]MH_I2C_Read... [09:38:10]Read from MH i2c: E2 03 00 24 09 00 90 00 A1 [09:38:10]RAPDU: 90 00 [09:38:10]wFMCommunicate OK [09:38:10]wFMCommunicate request_size=4 [09:38:10]MH_SAM_APDU [09:38:10]CAPDU: 80 0D 03 02 [09:38:10]Write to MH i2c: E2 08 00 25 09 80 0D 03 02 00 00 00 00 A9 [09:38:10]Write i2c OK [09:38:10]MH_I2C_Read... [09:38:10]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:38:10]Read from MH i2c: E2 [09:38:10]MH_I2C_Read... [09:38:10]Read from MH i2c: E2 0B 00 [09:38:10]MH_I2C_Read... [09:38:10]Read from MH i2c: E2 0B 00 25 09 00 67 3F 3B A7 28 BC 9F 73 90 00 28 [09:38:10]RAPDU: 67 3F 3B A7 28 BC 9F 73 90 00 [09:38:10]wFMCommunicate OK [09:38:10]SAM_PROTO_SignData done [09:38:10]FM_MakeSignedData done [09:38:10]CreateOFDProtocolMessage [09:38:10]wFMCommunicate request_size=4 [09:38:10]MH_SAM_APDU [09:38:10]CAPDU: 80 11 00 00 [09:38:10]Write to MH i2c: E2 08 00 26 09 80 11 00 00 00 00 00 00 A9 [09:38:10]Write i2c OK [09:38:10]MH_I2C_Read... [09:38:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:38:10]Read from MH i2c: E2 [09:38:10]MH_I2C_Read... [09:38:10]Read from MH i2c: E2 17 00 [09:38:10]MH_I2C_Read... [09:38:10]Read from MH i2c: E2 17 00 26 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 02 [09:38:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [09:38:10]wFMCommunicate OK [09:38:10]CreateOFDProtocolMessage done [09:38:10]OFDSenderStorePacket 19028 [09:38:10]StoreOFDPacket docnum=19028 [09:38:10]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 24 01 00 00 2F 50 1C 01 78 5B 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 38 37 34 35 30 30 30 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 50 75 72 70 6C 65 20 4D 69 78 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 4C 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 05 00 00 00 00 07 04 06 00 4C 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 84 2B F5 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 54 4A 00 00 35 04 06 00 D6 08 54 94 A6 DC 67 3F 3B A7 28 BC 9F 73 [09:38:10]CheckFolder [09:38:10]dirname=/storage/ofd_packets [09:38:10]CheckFolder done [09:38:10]ProducePacketName [09:38:10]name=ofd_packets/00019028 [09:38:10]NVStorageSaveData ofd_packets/00019028 [09:38:10]File name is /storage/ofd_packets/00019028 [09:38:10]Write 322 bytes [09:38:10]NVStorageSaveData done [09:38:10]OFDSenderStorePacket done [09:38:10]KKMCreateOFDPacket done [09:38:10]NVStorageSaveData kkm_last_timestamp [09:38:10]File name is /storage/kkm_last_timestamp [09:38:10]Write 4 bytes [09:38:10]NVStorageSaveData done [09:38:10]ExternCall_PrintAddStr [09:38:10]wPrintStart [09:38:10]Write to MH i2c: 01 00 00 27 09 30 [09:38:10]Write i2c OK [09:38:10]MH_I2C_Read... [09:38:10]Read from MH i2c: 01 [09:38:10]MH_I2C_Read... [09:38:10]Read from MH i2c: 01 07 00 [09:38:10]MH_I2C_Read... [09:38:10]Read from MH i2c: 01 07 00 27 09 00 00 00 00 00 FF 0F 45 [09:38:10]RasterBufferAndPrint [09:38:10]line Счет N : (3)16948 [09:38:10]line ИНН: 02508201610067 [09:38:10]line Контрольно-Кассовый Чек [09:38:10]line ПРОДАЖА [09:38:10]line Товар: 48745000 [09:38:10]line Сигареты Winston Purple Mix [09:38:10]line 1.000 * 139.00 [09:38:10]line = 139.00 [09:38:10]line НДС 12% НСП 1% [09:38:10]line > о реализуемом товаре [09:38:10]line ИТОГО: 139.00 [09:38:10]line НСП 1% : 1.23 [09:38:10]line НДС 12% : 14.76 [09:38:10]line Наличными: 139.00 [09:38:10]line Безнал.: 0.00 [09:38:10]line Место: АЗС № 176 "Партнер Нефть" [09:38:10]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [09:38:10]line СНО: Общий режим [09:38:10]line Чек 17 26.09.2024 09:38 [09:38:10]line Смена: 184 ФФД: 1.0 [09:38:10]line ЗНМ: 0300000010 [09:38:10]line РНМ: 0000000000152968 [09:38:10]line Версия ККМ: v1.0 [09:38:10]line ФМ: 0000000000959456 [09:38:10]line ФД: 19028 [09:38:10]line ФПД: 235331267110620 [09:38:10]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T093812&type=1&operation_type=1&fn_number=0000000000959456&fd_number=19028&fm=235331267110620&tin=02508201610067®Number=0000000000152968&sum=13900 [09:38:10]line 0 [09:38:10]OFD Sender: Processing packet 19028 [packets to send 7, broken 6] [09:38:10]ProducePacketName [09:38:10]name=ofd_packets/00019028 [09:38:10]OFD Sender: To server: pG, [09:38:10]CommunicateWithHost lk.salyk.kg:30040 [09:38:10]ConnectInit lk.salyk.kg [09:38:10]written 0, free lines is 4095 [09:38:10]Connected sock=10 [09:38:10]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 24 01 00 00 2F 50 1C 01 78 5B 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 38 37 34 35 30 30 30 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 50 75 72 70 6C 65 20 4D 69 78 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 4C 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 05 00 00 00 00 07 04 06 00 4C 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 84 2B F5 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 54 4A 00 00 35 04 06 00 D6 08 54 94 A6 DC 67 3F 3B A7 28 BC 9F 73 [09:38:11]Write to MH i2c: 01 00 00 4F 09 58 [09:38:11]Write i2c OK [09:38:11]MH_I2C_Read... [09:38:11]Read from MH i2c: 01 [09:38:11]MH_I2C_Read... [09:38:11]Read from MH i2c: 01 07 00 [09:38:11]MH_I2C_Read... [09:38:11]Read from MH i2c: 01 07 00 4F 09 00 00 00 00 00 0F 0D 7B [09:38:11]RasterBufferAndPrint [09:38:11]line [09:38:11]line [09:38:11]line [09:38:11]line [09:38:11]line [09:38:11]written 0, free lines is 3349 [09:38:11]MH_Cut [09:38:11]Write to MH i2c: D1 01 00 56 09 01 31 [09:38:11]Write i2c OK [09:38:11]MH_I2C_Read... [09:38:11]Read from MH i2c: D1 [09:38:11]MH_I2C_Read... [09:38:11]Read from MH i2c: D1 01 00 [09:38:11]MH_I2C_Read... [09:38:11]Read from MH i2c: D1 01 00 56 09 00 30 [09:38:11]Write to MH i2c: 01 00 00 57 09 60 [09:38:11]Write i2c OK [09:38:11]MH_I2C_Read... [09:38:11]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 D6 99 47 00 B1 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 39 35 39 34 35 36 10 04 04 00 54 4A 00 00 F4 03 04 00 DE D4 F4 66 B6 04 01 00 00 AA 6A D7 6F DC E1 DF B6 [09:38:11]CommunicateWithHost err = 0 [09:38:11]CheckOFDResponse [09:38:11]1017 (14) - 77093643461234 [09:38:11]1041 (16) - 0000000000959456 [09:38:11]1040 (4) - 19028 [09:38:11]1012 (4) - 26.09.2024 03:28 [09:38:11]1206 (1) - 0 [09:38:11]OFD Sender: Remove packet 19028 [09:38:11]ProducePacketName [09:38:11]name=ofd_packets/00019028 [09:38:11]NVStorageDeleteData [09:38:11]OFD Sender: No OFD packet to send [09:38:11]*** Cut start [09:38:11]*** Partial cut [09:38:11]*** CUTSNS_PIN = 1 [09:38:11]*** CUTSNS_PIN = 0 [09:38:12]*** Brake cut motor [09:38:12]Read from MH i2c: 01 [09:38:12]MH_I2C_Read... [09:38:12]*** Stop cut motor [09:38:12]*** Cut end [09:38:12]Read from MH i2c: 01 07 00 [09:38:12]MH_I2C_Read... [09:38:12]Read from MH i2c: 01 07 00 57 09 00 00 00 00 00 FF 0F 75 [09:38:12]process_action close_receipt done [09:38:12]requested_data is exist [09:38:12]produce_requested_data [09:38:12]requested_item fm.sn is exist - process it [09:38:12]wFMCommunicate request_size=4 [09:38:12]MH_SAM_APDU [09:38:12]CAPDU: 80 11 00 00 [09:38:12]Write to MH i2c: E2 08 00 58 09 80 11 00 00 00 00 00 00 DB [09:38:12]Write i2c OK [09:38:12]MH_I2C_Read... [09:38:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:38:12]Read from MH i2c: E2 [09:38:12]MH_I2C_Read... [09:38:12]Read from MH i2c: E2 17 00 [09:38:12]MH_I2C_Read... [09:38:12]Read from MH i2c: E2 17 00 58 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 34 [09:38:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [09:38:12]wFMCommunicate OK [09:38:12]requested_item fd.num is exist - process it [09:38:12]SAM_PROTO_GetFieldsCounters [09:38:12]wFMCommunicate request_size=4 [09:38:12]MH_SAM_APDU [09:38:12]CAPDU: 80 13 00 00 [09:38:12]Write to MH i2c: E2 08 00 59 09 80 13 00 00 00 00 00 00 DE [09:38:12]Write i2c OK [09:38:12]MH_I2C_Read... [09:38:12]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:38:12]Read from MH i2c: E2 [09:38:12]MH_I2C_Read... [09:38:12]Read from MH i2c: E2 62 00 [09:38:12]MH_I2C_Read... [09:38:12]Read from MH i2c: E2 62 00 59 09 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 54 4A 00 00 0E 04 04 00 B8 00 00 00 12 04 04 00 11 00 00 00 5E 04 04 00 11 00 00 00 57 04 04 00 12 00 00 00 19 04 04 00 00 00 00 00 90 00 94 [09:38:12]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 54 4A 00 00 0E 04 04 00 B8 00 00 00 12 04 04 00 11 00 00 00 5E 04 04 00 11 00 00 00 57 04 04 00 12 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:38:12]wFMCommunicate OK [09:38:12]SAM_PROTO_GetFieldsCounters done [09:38:12]requested_item shift.num is exist - process it [09:38:12]requested_item shift.opened is exist - process it [09:38:12]req_shift_opened [09:38:12]FM_GetShiftState [09:38:12]SAM_PROTO_GetShiftState [09:38:12]wFMCommunicate request_size=4 [09:38:12]MH_SAM_APDU [09:38:12]CAPDU: 80 13 01 00 [09:38:12]Write to MH i2c: E2 08 00 5A 09 80 13 01 00 00 00 00 00 E0 [09:38:12]Write i2c OK [09:38:12]MH_I2C_Read... [09:38:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:38:12]Read from MH i2c: E2 [09:38:12]MH_I2C_Read... [09:38:12]Read from MH i2c: E2 0E 00 [09:38:12]MH_I2C_Read... [09:38:12]Read from MH i2c: E2 0E 00 5A 09 00 09 00 01 58 A7 F4 66 00 00 00 00 90 00 45 [09:38:12]RAPDU: 09 00 01 58 A7 F4 66 00 00 00 00 90 00 [09:38:12]wFMCommunicate OK [09:38:12]SAM_PROTO_GetShiftState done [09:38:12]FM_GetShiftState done [09:38:12]req_shift_opened done [09:38:12]requested_item shift.open_date is exist - process it [09:38:12]req_shift_open_date [09:38:12]req_shift_open_date done [09:38:12]produce_requested_data done [09:38:12]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":19028,"shift.num":184,"shift.opened":1,"shift.open_date":1727309656} [09:38:12]process_action_free close_receipt [09:38:12]json_value_free [09:38:12]json_value_free done [09:38:12]process_json_proto returns [09:38:12]Send response to host [09:38:12]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":19028,"shift.num":184,"shift.opened":1,"shift.open_date":1727309656}}} [09:38:12]free response buf [09:38:12]execute_script done [09:38:12]execute_script returns [09:38:12]free content buf [09:38:12]Sock 9.Close socket [09:38:12]Sock 9.Thread stoped [09:38:16]OFD Sender: No OFD packet to send [09:38:21]OFD Sender: No OFD packet to send [09:38:26]OFD Sender: No OFD packet to send [09:38:31]OFD Sender: No OFD packet to send [09:38:36]OFD Sender: No OFD packet to send [09:38:41]OFD Sender: No OFD packet to send [09:38:46]OFD Sender: No OFD packet to send [09:38:51]OFD Sender: No OFD packet to send [09:38:56]OFD Sender: No OFD packet to send [09:39:01]OFD Sender: No OFD packet to send [09:39:06]OFD Sender: No OFD packet to send [09:39:11]OFD Sender: No OFD packet to send [09:39:16]OFD Sender: No OFD packet to send [09:39:21]OFD Sender: No OFD packet to send [09:39:26]OFD Sender: No OFD packet to send [09:39:31]OFD Sender: No OFD packet to send [09:39:36]OFD Sender: No OFD packet to send [09:39:41]OFD Sender: No OFD packet to send [09:39:46]OFD Sender: No OFD packet to send [09:39:51]OFD Sender: No OFD packet to send [09:39:56]OFD Sender: No OFD packet to send [09:40:01]OFD Sender: No OFD packet to send [09:40:06]OFD Sender: No OFD packet to send [09:40:11]OFD Sender: No OFD packet to send [09:40:16]OFD Sender: No OFD packet to send [09:40:21]OFD Sender: No OFD packet to send [09:40:26]OFD Sender: No OFD packet to send [09:40:31]OFD Sender: No OFD packet to send [09:40:36]OFD Sender: No OFD packet to send [09:40:41]OFD Sender: No OFD packet to send [09:40:46]OFD Sender: No OFD packet to send [09:40:51]OFD Sender: No OFD packet to send [09:40:56]OFD Sender: No OFD packet to send [09:41:01]OFD Sender: No OFD packet to send [09:41:06]OFD Sender: No OFD packet to send [09:41:11]OFD Sender: No OFD packet to send [09:41:16]OFD Sender: No OFD packet to send [09:41:17]accept exits with 7 [09:41:17]New connection [09:41:17]New thread 3066551652 created [09:41:17]Thread 3066695012 joined [09:41:17]Waiting for new connection... [09:41:17] Sock 7.Parse request [09:41:17]Sock 7.Check first char [09:41:17]Sock 7.First char is OK [09:41:17]request: POST /json_proto HTTP/1.0 [09:41:17]Method: POST [09:41:17]URL: /json_proto [09:41:17]Method is POST - this is cgi request [09:41:17]url: /json_proto [09:41:17]query_string will be loaded in cgi processing [09:41:17]execute_cgi json_proto POST (null) [09:41:17]execute_cgi path=json_proto method=POST [09:41:17]POST find Content-Length [09:41:17]Host: 172.17.62.196:8080 [09:41:17]Content-Length: 856 [09:41:17]Content-Type: application/json [09:41:17] [09:41:17]POST finish read [09:41:17]Found Content-Length = 856 [09:41:17]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16949", "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 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:41:17]execute_script... [09:41: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)16949", "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 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:41:17]POST & json_proto [09:41:17]process_json_proto [09:41:17]json parsed OK: [09:41:17]protocol is kg_v1.0 [09:41:17]action value=close_receipt [09:41:17]process_action close_receipt [09:41:17]cmd_close_receipt [09:41:17]MH_GetDate [09:41:17]Write to MH i2c: F0 00 00 5B 09 53 [09:41:17]Write i2c OK [09:41:17]MH_I2C_Read... [09:41:17]Read from MH i2c: F0 [09:41:17]MH_I2C_Read... [09:41:17]Read from MH i2c: F0 09 00 [09:41:17]MH_I2C_Read... [09:41:17]Read from MH i2c: F0 09 00 5B 09 00 41 2C F5 66 CE CC 0E 66 32 [09:41:17]GetLastDocTimeStamp 1727343492 [09:41:17]current date 1727343681 [09:41:17]FM_GetShiftState [09:41:17]SAM_PROTO_GetShiftState [09:41:17]wFMCommunicate request_size=4 [09:41:17]MH_SAM_APDU [09:41:17]CAPDU: 80 13 01 00 [09:41:17]Write to MH i2c: E2 08 00 5C 09 80 13 01 00 00 00 00 00 E2 [09:41:17]Write i2c OK [09:41:17]MH_I2C_Read... [09:41:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:41:17]Read from MH i2c: E2 [09:41:17]MH_I2C_Read... [09:41:17]Read from MH i2c: E2 0E 00 [09:41:17]MH_I2C_Read... [09:41:17]Read from MH i2c: E2 0E 00 5C 09 00 09 00 01 58 A7 F4 66 00 00 00 00 90 00 47 [09:41:17]RAPDU: 09 00 01 58 A7 F4 66 00 00 00 00 90 00 [09:41:17]wFMCommunicate OK [09:41:17]SAM_PROTO_GetShiftState done [09:41:17]FM_GetShiftState done [09:41:17]opened in 1727309656 [09:41:17]opened+sec_in_day 1727396056 [09:41:17]quantity*price = 9500 [09:41:17]sum+1 = 9501 [09:41:17]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 95.00 НСП 1% : 0.84 НДС 12% : 10.09 Наличными: 0.00 Безнал.: 95.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 18 26.09.2024 09:41 Смена: 184 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 Платежная система: O! деньги ФМ: 0000000000959456 ФД: 19029 ФПД: 31889609719504 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T094121&type=1&operation_type=1&fn_number=0000000000959456&fd_number=19029&fm=31889609719504&tin=02508201610067®Number=0000000000152968&sum=9500 0 [09:41:18]StoreToDocumentArchive [09:41:18]shift 184 fd 19029 [09:41:18]save to /storage/0184/doc_00019029 [09:41:18]save last doc name /storage/0184/doc_00019029 to /storage/kkm_last_doc_name [09:41:18]save OK [09:41:18]Clear old archive folders... [09:41:18]ProcessDocumentItem done err = 0, tmpTLVsize=299 [09:41:18]tlvbuf is 01D56B60 [09:41:18]SAM_PROTO_ClearQueue [09:41:18]wFMCommunicate request_size=4 [09:41:18]MH_SAM_APDU [09:41:18]CAPDU: 80 09 00 00 [09:41:18]Write to MH i2c: E2 08 00 69 09 80 09 00 00 00 00 00 00 E4 [09:41:18]Write i2c OK [09:41:18]MH_I2C_Read... [09:41:18]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:41:18]Read from MH i2c: E2 [09:41:18]MH_I2C_Read... [09:41:18]Read from MH i2c: E2 03 00 [09:41:18]MH_I2C_Read... [09:41:18]Read from MH i2c: E2 03 00 69 09 00 90 00 E6 [09:41:18]RAPDU: 90 00 [09:41:18]wFMCommunicate OK [09:41:18]SAM_PROTO_ClearQueue done [09:41:18]KKMCreateOFDPacket [09:41:18]OFDProtocolAddRootSTLVToBuf [09:41:18]FM_MakeSignedData [09:41:18]FM_MakeSignedData [09:41:18]SAM_PROTO_SignData [09:41:18]wFMCommunicate request_size=4 [09:41:18]MH_SAM_APDU [09:41:18]CAPDU: 80 0D 01 02 [09:41:18]Write to MH i2c: E2 08 00 6A 09 80 0D 01 02 00 00 00 00 EC [09:41:18]Write i2c OK [09:41:18]MH_I2C_Read... [09:41:18]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:41:18]Read from MH i2c: E2 [09:41:18]MH_I2C_Read... [09:41:18]Read from MH i2c: E2 03 00 [09:41:18]MH_I2C_Read... [09:41:18]Read from MH i2c: E2 03 00 6A 09 00 90 00 E7 [09:41:18]RAPDU: 90 00 [09:41:18]wFMCommunicate OK [09:41:18]wFMCommunicate request_size=255 [09:41:18]MH_SAM_APDU [09:41:19]CAPDU: 80 0D 02 02 FA 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 36 34 06 04 39 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D1 8D D0 BA D0 B7 D0 BE D1 82 D0 B8 D0 BA 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 12 00 00 00 F4 03 04 00 41 2C F5 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 [09:41:19]Write to MH i2c: E2 02 01 6B 09 80 0D 02 02 FA 00 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 36 34 06 04 39 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D1 8D D0 BA D0 B7 D0 BE D1 82 D0 B8 D0 BA 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 12 00 00 00 F4 03 04 00 41 2C F5 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 00 00 AF [09:41:19]Write i2c OK [09:41:19]MH_I2C_Read... [09:41:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:41:19]Read from MH i2c: E2 [09:41:19]MH_I2C_Read... [09:41:19]Read from MH i2c: E2 03 00 [09:41:19]MH_I2C_Read... [09:41:19]Read from MH i2c: E2 03 00 6B 09 00 90 00 E8 [09:41:19]RAPDU: 90 00 [09:41:19]wFMCommunicate OK [09:41:19]wFMCommunicate request_size=58 [09:41:19]MH_SAM_APDU [09:41:19]CAPDU: 80 0D 02 02 35 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 55 4A 00 00 35 04 06 00 1D 00 E0 DB FE D0 [09:41:19]Write to MH i2c: E2 3D 00 6C 09 80 0D 02 02 35 00 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 55 4A 00 00 35 04 06 00 1D 00 E0 DB FE D0 00 00 2F [09:41:19]Write i2c OK [09:41:19]MH_I2C_Read... [09:41:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:41:19]Read from MH i2c: E2 [09:41:19]MH_I2C_Read... [09:41:19]Read from MH i2c: E2 03 00 [09:41:19]MH_I2C_Read... [09:41:19]Read from MH i2c: E2 03 00 6C 09 00 90 00 E9 [09:41:19]RAPDU: 90 00 [09:41:19]wFMCommunicate OK [09:41:19]wFMCommunicate request_size=4 [09:41:19]MH_SAM_APDU [09:41:19]CAPDU: 80 0D 03 02 [09:41:19]Write to MH i2c: E2 08 00 6D 09 80 0D 03 02 00 00 00 00 F1 [09:41:19]Write i2c OK [09:41:19]MH_I2C_Read... [09:41:19]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:41:19]Read from MH i2c: E2 [09:41:19]MH_I2C_Read... [09:41:19]Read from MH i2c: E2 0B 00 [09:41:19]MH_I2C_Read... [09:41:19]Read from MH i2c: E2 0B 00 6D 09 00 83 8C 01 29 17 BB 60 8F 90 00 EC [09:41:19]RAPDU: 83 8C 01 29 17 BB 60 8F 90 00 [09:41:19]wFMCommunicate OK [09:41:19]SAM_PROTO_SignData done [09:41:19]FM_MakeSignedData done [09:41:19]CreateOFDProtocolMessage [09:41:19]wFMCommunicate request_size=4 [09:41:19]MH_SAM_APDU [09:41:19]CAPDU: 80 11 00 00 [09:41:19]Write to MH i2c: E2 08 00 6E 09 80 11 00 00 00 00 00 00 F1 [09:41:19]Write i2c OK [09:41:19]MH_I2C_Read... [09:41:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:41:19]Read from MH i2c: E2 [09:41:19]MH_I2C_Read... [09:41:19]Read from MH i2c: E2 17 00 [09:41:19]MH_I2C_Read... [09:41:19]Read from MH i2c: E2 17 00 6E 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 4A [09:41:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [09:41:19]wFMCommunicate OK [09:41:19]CreateOFDProtocolMessage done [09:41:19]OFDSenderStorePacket 19029 [09:41:19]StoreOFDPacket docnum=19029 [09:41:19]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 3F 01 00 00 5B CA 37 01 3E 91 5A 03 01 00 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 36 34 06 04 39 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D1 8D D0 BA D0 B7 D0 BE D1 82 D0 B8 D0 BA 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 12 00 00 00 F4 03 04 00 41 2C F5 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 55 4A 00 00 35 04 06 00 1D 00 E0 DB FE D0 83 8C 01 29 17 BB 60 8F [09:41:19]CheckFolder [09:41:19]dirname=/storage/ofd_packets [09:41:19]CheckFolder done [09:41:19]ProducePacketName [09:41:19]name=ofd_packets/00019029 [09:41:19]NVStorageSaveData ofd_packets/00019029 [09:41:19]File name is /storage/ofd_packets/00019029 [09:41:19]Write 349 bytes [09:41:19]NVStorageSaveData done [09:41:19]OFDSenderStorePacket done [09:41:19]KKMCreateOFDPacket done [09:41:19]NVStorageSaveData kkm_last_timestamp [09:41:19]File name is /storage/kkm_last_timestamp [09:41:19]Write 4 bytes [09:41:19]NVStorageSaveData done [09:41:19]ExternCall_PrintAddStr [09:41:19]wPrintStart [09:41:19]Write to MH i2c: 01 00 00 6F 09 78 [09:41:19]Write i2c OK [09:41:19]MH_I2C_Read... [09:41:19]Read from MH i2c: 01 [09:41:19]MH_I2C_Read... [09:41:19]Read from MH i2c: 01 07 00 [09:41:19]MH_I2C_Read... [09:41:19]Read from MH i2c: 01 07 00 6F 09 00 00 00 00 00 FF 0F 8D [09:41:19]RasterBufferAndPrint [09:41:19]line Счет N : (3)16949 [09:41:19]line ИНН: 02508201610067 [09:41:19]line Контрольно-Кассовый Чек [09:41:19]line ПРОДАЖА [09:41:19]line Товар: 4700000480364 [09:41:19]line Напиток энерг Nitro экзотик 0.45 ж/б [09:41:19]line 1.000 * 95.00 [09:41:19]line = 95.00 [09:41:19]line НДС 12% НСП 1% [09:41:19]line > о реализуемом товаре [09:41:19]line ИТОГО: 95.00 [09:41:19]line НСП 1% : 0.84 [09:41:19]line НДС 12% : 10.09 [09:41:19]line Наличными: 0.00 [09:41:19]line Безнал.: 95.00 [09:41:19]line Место: АЗС № 176 "Партнер Нефть" [09:41:19]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [09:41:19]line СНО: Общий режим [09:41:19]line Чек 18 26.09.2024 09:41 [09:41:19]line Смена: 184 ФФД: 1.0 [09:41:19]line ЗНМ: 0300000010 [09:41:19]line РНМ: 0000000000152968 [09:41:19]line Версия ККМ: v1.0 [09:41:19]line Платежная система: O! деньги [09:41:19]line ФМ: 0000000000959456 [09:41:19]line ФД: 19029 [09:41:19]line ФПД: 31889609719504 [09:41:19]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T094121&type=1&operation_type=1&fn_number=0000000000959456&fd_number=19029&fm=31889609719504&tin=02508201610067®Number=0000000000152968&sum=9500 [09:41:19]line 0 [09:41:19]OFD Sender: Processing packet 19029 [packets to send 7, broken 6] [09:41:19]ProducePacketName [09:41:19]name=ofd_packets/00019029 [09:41:19]OFD Sender: To server: pG, [09:41:19]CommunicateWithHost lk.salyk.kg:30040 [09:41:19]ConnectInit lk.salyk.kg [09:41:19]written 0, free lines is 4095 [09:41:19]Connected sock=10 [09:41:19]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 3F 01 00 00 5B CA 37 01 3E 91 5A 03 01 00 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 36 34 06 04 39 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D1 8D D0 BA D0 B7 D0 BE D1 82 D0 B8 D0 BA 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 12 00 00 00 F4 03 04 00 41 2C F5 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 55 4A 00 00 35 04 06 00 1D 00 E0 DB FE D0 83 8C 01 29 17 BB 60 8F [09:41:20]Write to MH i2c: 01 00 00 9A 09 A3 [09:41:20]Write i2c OK [09:41:20]MH_I2C_Read... [09:41:20]Read from MH i2c: 01 [09:41:20]MH_I2C_Read... [09:41:20]Read from MH i2c: 01 07 00 [09:41:20]MH_I2C_Read... [09:41:20]Read from MH i2c: 01 07 00 9A 09 00 00 00 00 00 E8 0C 9E [09:41:20]RasterBufferAndPrint [09:41:20]line [09:41:20]line [09:41:20]line [09:41:20]line [09:41:20]line [09:41:20]written 0, free lines is 3310 [09:41:20]MH_Cut [09:41:20]Write to MH i2c: D1 01 00 A1 09 01 7C [09:41:20]Write i2c OK [09:41:20]MH_I2C_Read... [09:41:20]Read from MH i2c: D1 [09:41:20]MH_I2C_Read... [09:41:20]Read from MH i2c: D1 01 00 [09:41:20]MH_I2C_Read... [09:41:20]Read from MH i2c: D1 01 00 A1 09 00 7B [09:41:20]Write to MH i2c: 01 00 00 A2 09 AB [09:41:20]Write i2c OK [09:41:20]MH_I2C_Read... [09:41:20]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 D2 A2 47 00 D1 9D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 55 4A 00 00 F4 03 04 00 9B D5 F4 66 B6 04 01 00 00 86 00 4F 22 14 F3 0B 1A [09:41:20]CommunicateWithHost err = 0 [09:41:20]CheckOFDResponse [09:41:20]1017 (14) - 77093643461234 [09:41:20]1041 (16) - 0000000000959456 [09:41:20]1040 (4) - 19029 [09:41:20]1012 (4) - 26.09.2024 03:31 [09:41:20]1206 (1) - 0 [09:41:20]OFD Sender: Remove packet 19029 [09:41:20]ProducePacketName [09:41:20]name=ofd_packets/00019029 [09:41:20]NVStorageDeleteData [09:41:20]OFD Sender: No OFD packet to send [09:41:20]*** Cut start [09:41:20]*** Partial cut [09:41:20]*** CUTSNS_PIN = 1 [09:41:21]*** CUTSNS_PIN = 0 [09:41:21]*** Brake cut motor [09:41:21]Read from MH i2c: 01 [09:41:21]MH_I2C_Read... [09:41:21]*** Stop cut motor [09:41:21]*** Cut end [09:41:21]Read from MH i2c: 01 07 00 [09:41:21]MH_I2C_Read... [09:41:21]Read from MH i2c: 01 07 00 A2 09 00 00 00 00 00 FF 0F C0 [09:41:21]process_action close_receipt done [09:41:21]requested_data is exist [09:41:21]produce_requested_data [09:41:21]requested_item fm.sn is exist - process it [09:41:21]wFMCommunicate request_size=4 [09:41:21]MH_SAM_APDU [09:41:21]CAPDU: 80 11 00 00 [09:41:21]Write to MH i2c: E2 08 00 A3 09 80 11 00 00 00 00 00 00 26 [09:41:21]Write i2c OK [09:41:21]MH_I2C_Read... [09:41:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:41:21]Read from MH i2c: E2 [09:41:21]MH_I2C_Read... [09:41:21]Read from MH i2c: E2 17 00 [09:41:21]MH_I2C_Read... [09:41:21]Read from MH i2c: E2 17 00 A3 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 7F [09:41:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [09:41:21]wFMCommunicate OK [09:41:21]requested_item fd.num is exist - process it [09:41:21]SAM_PROTO_GetFieldsCounters [09:41:21]wFMCommunicate request_size=4 [09:41:21]MH_SAM_APDU [09:41:21]CAPDU: 80 13 00 00 [09:41:21]Write to MH i2c: E2 08 00 A4 09 80 13 00 00 00 00 00 00 29 [09:41:21]Write i2c OK [09:41:21]MH_I2C_Read... [09:41:21]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:41:21]Read from MH i2c: E2 [09:41:21]MH_I2C_Read... [09:41:21]Read from MH i2c: E2 62 00 [09:41:21]MH_I2C_Read... [09:41:21]Read from MH i2c: E2 62 00 A4 09 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 55 4A 00 00 0E 04 04 00 B8 00 00 00 12 04 04 00 12 00 00 00 5E 04 04 00 12 00 00 00 57 04 04 00 13 00 00 00 19 04 04 00 00 00 00 00 90 00 E3 [09:41:21]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 55 4A 00 00 0E 04 04 00 B8 00 00 00 12 04 04 00 12 00 00 00 5E 04 04 00 12 00 00 00 57 04 04 00 13 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:41:21]wFMCommunicate OK [09:41:21]SAM_PROTO_GetFieldsCounters done [09:41:21]requested_item shift.num is exist - process it [09:41:21]requested_item shift.opened is exist - process it [09:41:21]req_shift_opened [09:41:21]FM_GetShiftState [09:41:21]SAM_PROTO_GetShiftState [09:41:21]wFMCommunicate request_size=4 [09:41:21]MH_SAM_APDU [09:41:21]CAPDU: 80 13 01 00 [09:41:21]Write to MH i2c: E2 08 00 A5 09 80 13 01 00 00 00 00 00 2B [09:41:21]Write i2c OK [09:41:21]MH_I2C_Read... [09:41:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:41:21]Read from MH i2c: E2 [09:41:21]MH_I2C_Read... [09:41:21]Read from MH i2c: E2 0E 00 [09:41:21]MH_I2C_Read... [09:41:21]Read from MH i2c: E2 0E 00 A5 09 00 09 00 01 58 A7 F4 66 00 00 00 00 90 00 90 [09:41:21]RAPDU: 09 00 01 58 A7 F4 66 00 00 00 00 90 00 [09:41:21]wFMCommunicate OK [09:41:21]SAM_PROTO_GetShiftState done [09:41:21]FM_GetShiftState done [09:41:21]req_shift_opened done [09:41:21]requested_item shift.open_date is exist - process it [09:41:21]req_shift_open_date [09:41:21]req_shift_open_date done [09:41:21]produce_requested_data done [09:41:21]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":19029,"shift.num":184,"shift.opened":1,"shift.open_date":1727309656} [09:41:21]process_action_free close_receipt [09:41:21]json_value_free [09:41:21]json_value_free done [09:41:21]process_json_proto returns [09:41:21]Send response to host [09:41:21]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":19029,"shift.num":184,"shift.opened":1,"shift.open_date":1727309656}}} [09:41:21]free response buf [09:41:21]execute_script done [09:41:21]execute_script returns [09:41:21]free content buf [09:41:21]Sock 7.Close socket [09:41:21]Sock 7.Thread stoped [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:45]OFD Sender: No OFD packet to send [09:42:50]OFD Sender: No OFD packet to send [09:42:55]OFD Sender: No OFD packet to send [09:43:00]OFD Sender: No OFD packet to send [09:43:05]OFD Sender: No OFD packet to send [09:43:10]OFD Sender: No OFD packet to send [09:43:15]OFD Sender: No OFD packet to send [09:43:20]OFD Sender: No OFD packet to send [09:43:25]OFD Sender: No OFD packet to send [09:43:30]OFD Sender: No OFD packet to send [09:43:35]OFD Sender: No OFD packet to send [09:43:40]OFD Sender: No OFD packet to send [09:43:45]OFD Sender: No OFD packet to send [09:43:50]OFD Sender: No OFD packet to send [09:43:55]OFD Sender: No OFD packet to send [09:44:00]OFD Sender: No OFD packet to send [09:44:05]OFD Sender: No OFD packet to send [09:44:10]OFD Sender: No OFD packet to send [09:44:15]OFD Sender: No OFD packet to send [09:44:20]OFD Sender: No OFD packet to send [09:44:25]OFD Sender: No OFD packet to send [09:44:30]OFD Sender: No OFD packet to send [09:44:35]OFD Sender: No OFD packet to send [09:44:40]OFD Sender: No OFD packet to send [09:44:45]OFD Sender: No OFD packet to send [09:44:51]OFD Sender: No OFD packet to send [09:44:56]OFD Sender: No OFD packet to send [09:45:01]OFD Sender: No OFD packet to send [09:45:06]OFD Sender: No OFD packet to send [09:45:11]OFD Sender: No OFD packet to send [09:45:16]OFD Sender: No OFD packet to send [09:45:21]OFD Sender: No OFD packet to send [09:45:26]OFD Sender: No OFD packet to send [09:45:31]OFD Sender: No OFD packet to send [09:45:36]OFD Sender: No OFD packet to send [09:45:41]OFD Sender: No OFD packet to send [09:45:46]OFD Sender: No OFD packet to send [09:45:51]OFD Sender: No OFD packet to send [09:45:56]OFD Sender: No OFD packet to send [09:46:01]OFD Sender: No OFD packet to send [09:46:06]OFD Sender: No OFD packet to send [09:46:11]OFD Sender: No OFD packet to send [09:46:16]OFD Sender: No OFD packet to send [09:46:21]OFD Sender: No OFD packet to send [09:46:26]OFD Sender: No OFD packet to send [09:46:31]OFD Sender: No OFD packet to send [09:46:36]OFD Sender: No OFD packet to send [09:46:41]OFD Sender: No OFD packet to send [09:46:46]OFD Sender: No OFD packet to send [09:46:51]OFD Sender: No OFD packet to send [09:46:56]OFD Sender: No OFD packet to send [09:47:01]OFD Sender: No OFD packet to send [09:47:06]OFD Sender: No OFD packet to send [09:47:11]OFD Sender: No OFD packet to send [09:47:16]OFD Sender: No OFD packet to send [09:47:21]OFD Sender: No OFD packet to send [09:47:26]OFD Sender: No OFD packet to send [09:47:31]OFD Sender: No OFD packet to send [09:47:36]OFD Sender: No OFD packet to send [09:47:41]OFD Sender: No OFD packet to send [09:47:46]OFD Sender: No OFD packet to send [09:47:51]OFD Sender: No OFD packet to send [09:47:56]OFD Sender: No OFD packet to send [09:48:01]OFD Sender: No OFD packet to send [09:48:06]OFD Sender: No OFD packet to send [09:48:11]OFD Sender: No OFD packet to send [09:48:16]OFD Sender: No OFD packet to send [09:48:21]OFD Sender: No OFD packet to send [09:48:26]OFD Sender: No OFD packet to send [09:48:31]OFD Sender: No OFD packet to send [09:48:36]OFD Sender: No OFD packet to send [09:48:41]OFD Sender: No OFD packet to send [09:48:46]OFD Sender: No OFD packet to send [09:48:51]OFD Sender: No OFD packet to send [09:48:56]OFD Sender: No OFD packet to send [09:49:01]OFD Sender: No OFD packet to send [09:49:06]OFD Sender: No OFD packet to send [09:49:11]OFD Sender: No OFD packet to send [09:49:16]OFD Sender: No OFD packet to send [09:49:21]OFD Sender: No OFD packet to send [09:49:26]OFD Sender: No OFD packet to send [09:49:31]OFD Sender: No OFD packet to send [09:49:36]OFD Sender: No OFD packet to send [09:49:41]OFD Sender: No OFD packet to send [09:49:46]OFD Sender: No OFD packet to send [09:49:51]OFD Sender: No OFD packet to send [09:49:56]OFD Sender: No OFD packet to send [09:50:01]OFD Sender: No OFD packet to send [09:50:06]OFD Sender: No OFD packet to send [09:50:11]OFD Sender: No OFD packet to send [09:50:16]OFD Sender: No OFD packet to send [09:50:21]OFD Sender: No OFD packet to send [09:50:26]OFD Sender: No OFD packet to send [09:50:31]OFD Sender: No OFD packet to send [09:50:36]OFD Sender: No OFD packet to send [09:50:41]OFD Sender: No OFD packet to send [09:50:46]OFD Sender: No OFD packet to send [09:50:51]OFD Sender: No OFD packet to send [09:50:56]OFD Sender: No OFD packet to send [09:51:01]OFD Sender: No OFD packet to send [09:51:06]OFD Sender: No OFD packet to send [09:51:11]OFD Sender: No OFD packet to send [09:51:16]OFD Sender: No OFD packet to send [09:51:21]OFD Sender: No OFD packet to send [09:51:26]OFD Sender: No OFD packet to send [09:51:31]OFD Sender: No OFD packet to send [09:51:36]OFD Sender: No OFD packet to send [09:51:41]OFD Sender: No OFD packet to send [09:51:46]OFD Sender: No OFD packet to send [09:51:51]OFD Sender: No OFD packet to send [09:51:56]OFD Sender: No OFD packet to send [09:52:01]OFD Sender: No OFD packet to send [09:52:06]OFD Sender: No OFD packet to send [09:52:11]OFD Sender: No OFD packet to send [09:52:16]OFD Sender: No OFD packet to send [09:52:21]OFD Sender: No OFD packet to send [09:52:26]OFD Sender: No OFD packet to send [09:52:31]OFD Sender: No OFD packet to send [09:52:36]OFD Sender: No OFD packet to send [09:52:41]OFD Sender: No OFD packet to send [09:52:46]OFD Sender: No OFD packet to send [09:52:51]OFD Sender: No OFD packet to send [09:52:56]OFD Sender: No OFD packet to send [09:53:01]OFD Sender: No OFD packet to send [09:53:06]OFD Sender: No OFD packet to send [09:53:11]OFD Sender: No OFD packet to send [09:53:16]OFD Sender: No OFD packet to send [09:53:26]OFD Sender: No OFD packet to send [09:53:31]OFD Sender: No OFD packet to send [09:53:36]OFD Sender: No OFD packet to send [09:53:41]OFD Sender: No OFD packet to send [09:53:46]OFD Sender: No OFD packet to send [09:53:51]OFD Sender: No OFD packet to send [09:53:56]OFD Sender: No OFD packet to send [09:54:01]OFD Sender: No OFD packet to send [09:54:06]OFD Sender: No OFD packet to send [09:54:11]OFD Sender: No OFD packet to send [09:54:16]OFD Sender: No OFD packet to send [09:54:21]OFD Sender: No OFD packet to send [09:54:26]OFD Sender: No OFD packet to send [09:54:31]OFD Sender: No OFD packet to send [09:54:36]OFD Sender: No OFD packet to send [09:54:41]OFD Sender: No OFD packet to send [09:54:46]OFD Sender: No OFD packet to send [09:54:51]OFD Sender: No OFD packet to send [09:54:56]OFD Sender: No OFD packet to send [09:55:01]OFD Sender: No OFD packet to send [09:55:06]OFD Sender: No OFD packet to send [09:55:11]OFD Sender: No OFD packet to send [09:55:16]OFD Sender: No OFD packet to send [09:55:21]OFD Sender: No OFD packet to send [09:55:26]OFD Sender: No OFD packet to send [09:55:31]OFD Sender: No OFD packet to send [09:55:35]ConnectInit Can't connect to host [09:55:36]OFD Sender: No OFD packet to send [09:55:41]OFD Sender: No OFD packet to send [09:55:46]OFD Sender: No OFD packet to send [09:55:51]OFD Sender: No OFD packet to send [09:55:56]OFD Sender: No OFD packet to send [09:56:01]OFD Sender: No OFD packet to send [09:56:06]OFD Sender: No OFD packet to send [09:56:11]OFD Sender: No OFD packet to send [09:56:16]OFD Sender: No OFD packet to send [09:56:21]OFD Sender: No OFD packet to send [09:56:26]OFD Sender: No OFD packet to send [09:56:31]OFD Sender: No OFD packet to send [09:56:36]OFD Sender: No OFD packet to send [09:56:41]OFD Sender: No OFD packet to send [09:56:46]OFD Sender: No OFD packet to send [09:56:51]OFD Sender: No OFD packet to send [09:56:56]OFD Sender: No OFD packet to send [09:57:01]OFD Sender: No OFD packet to send [09:57:06]OFD Sender: No OFD packet to send [09:57:11]OFD Sender: No OFD packet to send [09:57:16]OFD Sender: No OFD packet to send [09:57:21]OFD Sender: No OFD packet to send [09:57:22]accept exits with 9 [09:57:22]New connection [09:57:22]New thread 3066695012 created [09:57:22]Thread 3066551652 joined [09:57:22]Waiting for new connection... [09:57:22] Sock 9.Parse request [09:57:22]Sock 9.Check first char [09:57:22]Sock 9.First char is OK [09:57:22]request: POST /json_proto HTTP/1.0 [09:57:22]Method: POST [09:57:22]URL: /json_proto [09:57:22]Method is POST - this is cgi request [09:57:22]url: /json_proto [09:57:22]query_string will be loaded in cgi processing [09:57:22]execute_cgi json_proto POST (null) [09:57:22]execute_cgi path=json_proto method=POST [09:57:22]POST find Content-Length [09:57:22]Host: 172.17.62.196:8080 [09:57:22]Content-Length: 1229 [09:57:22]Content-Type: application/json [09:57:22] [09:57:22]POST finish read [09:57:22]Found Content-Length = 1229 [09:57:22]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16950", "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" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4602441000081", "name": "\u041D\u0430\u043F\u0438\u0442\u043A \u0422\u0430\u0440\u0445\u0443\u043D 1\u043B \u0441\u0442\u0435\u043A\u043B\u043E", "price" : 205.00, "quantity" : 1.000, "sum" : 205.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Energy \u044D\u043D green \u0436/\u0431 0,45\u043B", "price" : 77.00, "quantity" : 1.000, "sum" : 77.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 372.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:57:22]execute_script... [09:57: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)16950", "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" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4602441000081", "name": "\u041D\u0430\u043F\u0438\u0442\u043A \u0422\u0430\u0440\u0445\u0443\u043D 1\u043B \u0441\u0442\u0435\u043A\u043B\u043E", "price" : 205.00, "quantity" : 1.000, "sum" : 205.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Energy \u044D\u043D green \u0436/\u0431 0,45\u043B", "price" : 77.00, "quantity" : 1.000, "sum" : 77.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 372.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:57:22]POST & json_proto [09:57:22]process_json_proto [09:57:22]json parsed OK: [09:57:22]protocol is kg_v1.0 [09:57:22]action value=close_receipt [09:57:22]process_action close_receipt [09:57:22]cmd_close_receipt [09:57:22]MH_GetDate [09:57:22]Write to MH i2c: F0 00 00 A6 09 9E [09:57:22]Write i2c OK [09:57:22]MH_I2C_Read... [09:57:22]Read from MH i2c: F0 [09:57:22]MH_I2C_Read... [09:57:22]Read from MH i2c: F0 09 00 [09:57:22]MH_I2C_Read... [09:57:22]Read from MH i2c: F0 09 00 A6 09 00 05 30 F5 66 CE CC 0E 66 45 [09:57:22]GetLastDocTimeStamp 1727343681 [09:57:22]current date 1727344645 [09:57:22]FM_GetShiftState [09:57:22]SAM_PROTO_GetShiftState [09:57:22]wFMCommunicate request_size=4 [09:57:22]MH_SAM_APDU [09:57:22]CAPDU: 80 13 01 00 [09:57:22]Write to MH i2c: E2 08 00 A7 09 80 13 01 00 00 00 00 00 2D [09:57:22]Write i2c OK [09:57:22]MH_I2C_Read... [09:57:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:57:22]Read from MH i2c: E2 [09:57:22]MH_I2C_Read... [09:57:22]Read from MH i2c: E2 0E 00 [09:57:22]MH_I2C_Read... [09:57:22]Read from MH i2c: E2 0E 00 A7 09 00 09 00 01 58 A7 F4 66 00 00 00 00 90 00 92 [09:57:22]RAPDU: 09 00 01 58 A7 F4 66 00 00 00 00 90 00 [09:57:22]wFMCommunicate OK [09:57:22]SAM_PROTO_GetShiftState done [09:57:22]FM_GetShiftState done [09:57:22]opened in 1727309656 [09:57:22]opened+sec_in_day 1727396056 [09:57:22]quantity*price = 9000 [09:57:22]sum+1 = 9001 [09:57:22]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4602441000081 Напитк Тархун 1л стекло 1.000 * 205.00 = 205.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4700000480050 Напиток Nitro Energy эн green ж/б 0,45л 1.000 * 77.00 = 77.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 372.00 НСП 1% : 3.29 НДС 12% : 39.51 Наличными: 372.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 19 26.09.2024 09:57 Смена: 184 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 19030 ФПД: 216043170276302 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T095725&type=1&operation_type=1&fn_number=0000000000959456&fd_number=19030&fm=216043170276302&tin=02508201610067®Number=0000000000152968&sum=37200 0 [09:57:23]StoreToDocumentArchive [09:57:23]shift 184 fd 19030 [09:57:23]save to /storage/0184/doc_00019030 [09:57:23]save last doc name /storage/0184/doc_00019030 to /storage/kkm_last_doc_name [09:57:23]save OK [09:57:23]Clear old archive folders... [09:57:23]ProcessDocumentItem done err = 0, tmpTLVsize=530 [09:57:23]tlvbuf is 01D993C0 [09:57:23]SAM_PROTO_ClearQueue [09:57:23]wFMCommunicate request_size=4 [09:57:23]MH_SAM_APDU [09:57:23]CAPDU: 80 09 00 00 [09:57:23]Write to MH i2c: E2 08 00 B4 09 80 09 00 00 00 00 00 00 2F [09:57:23]Write i2c OK [09:57:23]MH_I2C_Read... [09:57:23]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:57:23]Read from MH i2c: E2 [09:57:23]MH_I2C_Read... [09:57:23]Read from MH i2c: E2 03 00 [09:57:23]MH_I2C_Read... [09:57:23]Read from MH i2c: E2 03 00 B4 09 00 90 00 31 [09:57:23]RAPDU: 90 00 [09:57:23]wFMCommunicate OK [09:57:23]SAM_PROTO_ClearQueue done [09:57:23]KKMCreateOFDPacket [09:57:23]OFDProtocolAddRootSTLVToBuf [09:57:23]FM_MakeSignedData [09:57:23]FM_MakeSignedData [09:57:23]SAM_PROTO_SignData [09:57:23]wFMCommunicate request_size=4 [09:57:23]MH_SAM_APDU [09:57:23]CAPDU: 80 0D 01 02 [09:57:23]Write to MH i2c: E2 08 00 B5 09 80 0D 01 02 00 00 00 00 37 [09:57:23]Write i2c OK [09:57:23]MH_I2C_Read... [09:57:23]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:57:23]Read from MH i2c: E2 [09:57:23]MH_I2C_Read... [09:57:23]Read from MH i2c: E2 03 00 [09:57:23]MH_I2C_Read... [09:57:23]Read from MH i2c: E2 03 00 B5 09 00 90 00 32 [09:57:23]RAPDU: 90 00 [09:57:23]wFMCommunicate OK [09:57:23]wFMCommunicate request_size=255 [09:57:23]MH_SAM_APDU [09:57:23]CAPDU: 80 0D 02 02 FA 03 00 12 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 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6E 00 8A 04 0D 00 34 36 30 32 34 34 31 30 30 30 30 38 31 06 04 2A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BA 20 D0 A2 D0 B0 D1 80 D1 85 D1 83 D0 BD 20 31 D0 BB 20 D1 81 D1 82 D0 B5 D0 BA D0 BB D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 14 50 00 00 00 00 13 04 06 00 14 50 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 77 00 [09:57:23]Write to MH i2c: E2 02 01 B6 09 80 0D 02 02 FA 00 03 00 12 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 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6E 00 8A 04 0D 00 34 36 30 32 34 34 31 30 30 30 30 38 31 06 04 2A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BA 20 D0 A2 D0 B0 D1 80 D1 85 D1 83 D0 BD 20 31 D0 BB 20 D1 81 D1 82 D0 B5 D0 BA D0 BB D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 14 50 00 00 00 00 13 04 06 00 14 50 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 77 00 00 00 21 [09:57:23]Write i2c OK [09:57:23]MH_I2C_Read... [09:57:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:57:24]Read from MH i2c: E2 [09:57:24]MH_I2C_Read... [09:57:24]Read from MH i2c: E2 03 00 [09:57:24]MH_I2C_Read... [09:57:24]Read from MH i2c: E2 03 00 B6 09 00 90 00 33 [09:57:24]RAPDU: 90 00 [09:57:24]wFMCommunicate OK [09:57:24]wFMCommunicate request_size=255 [09:57:24]MH_SAM_APDU [09:57:24]CAPDU: 80 0D 02 02 FA 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 14 1E 00 00 00 00 13 04 06 00 14 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 91 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 49 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6F 0F 00 00 00 00 07 04 06 00 50 91 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 05 30 F5 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 [09:57:24]Write to MH i2c: E2 02 01 B7 09 80 0D 02 02 FA 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 14 1E 00 00 00 00 13 04 06 00 14 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 91 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 49 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6F 0F 00 00 00 00 07 04 06 00 50 91 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 05 30 F5 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 00 00 DE [09:57:24]Write i2c OK [09:57:24]MH_I2C_Read... [09:57:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:57:24]Read from MH i2c: E2 [09:57:24]MH_I2C_Read... [09:57:24]Read from MH i2c: E2 03 00 [09:57:24]MH_I2C_Read... [09:57:24]Read from MH i2c: E2 03 00 B7 09 00 90 00 34 [09:57:24]RAPDU: 90 00 [09:57:24]wFMCommunicate OK [09:57:24]wFMCommunicate request_size=39 [09:57:24]MH_SAM_APDU [09:57:24]CAPDU: 80 0D 02 02 22 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 56 4A 00 00 35 04 06 00 C4 7D 78 6B A3 CE [09:57:24]Write to MH i2c: E2 2A 00 B8 09 80 0D 02 02 22 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 56 4A 00 00 35 04 06 00 C4 7D 78 6B A3 CE 00 00 31 [09:57:24]Write i2c OK [09:57:24]MH_I2C_Read... [09:57:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:57:24]Read from MH i2c: E2 [09:57:24]MH_I2C_Read... [09:57:24]Read from MH i2c: E2 03 00 [09:57:24]MH_I2C_Read... [09:57:24]Read from MH i2c: E2 03 00 B8 09 00 90 00 35 [09:57:24]RAPDU: 90 00 [09:57:24]wFMCommunicate OK [09:57:24]wFMCommunicate request_size=4 [09:57:24]MH_SAM_APDU [09:57:24]CAPDU: 80 0D 03 02 [09:57:24]Write to MH i2c: E2 08 00 B9 09 80 0D 03 02 00 00 00 00 3D [09:57:24]Write i2c OK [09:57:24]MH_I2C_Read... [09:57:24]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:57:24]Read from MH i2c: E2 [09:57:24]MH_I2C_Read... [09:57:24]Read from MH i2c: E2 0B 00 [09:57:24]MH_I2C_Read... [09:57:24]Read from MH i2c: E2 0B 00 B9 09 00 C3 48 AF 66 F2 5A 98 94 90 00 D6 [09:57:24]RAPDU: C3 48 AF 66 F2 5A 98 94 90 00 [09:57:24]wFMCommunicate OK [09:57:24]SAM_PROTO_SignData done [09:57:24]FM_MakeSignedData done [09:57:24]CreateOFDProtocolMessage [09:57:24]wFMCommunicate request_size=4 [09:57:24]MH_SAM_APDU [09:57:24]CAPDU: 80 11 00 00 [09:57:24]Write to MH i2c: E2 08 00 BA 09 80 11 00 00 00 00 00 00 3D [09:57:24]Write i2c OK [09:57:24]MH_I2C_Read... [09:57:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:57:24]Read from MH i2c: E2 [09:57:24]MH_I2C_Read... [09:57:24]Read from MH i2c: E2 17 00 [09:57:24]MH_I2C_Read... [09:57:24]Read from MH i2c: E2 17 00 BA 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 96 [09:57:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [09:57:24]wFMCommunicate OK [09:57:24]CreateOFDProtocolMessage done [09:57:24]OFDSenderStorePacket 19030 [09:57:24]StoreOFDPacket docnum=19030 [09:57:24]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 26 02 00 00 A8 86 1E 02 85 B5 5A 03 01 00 03 00 12 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 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6E 00 8A 04 0D 00 34 36 30 32 34 34 31 30 30 30 30 38 31 06 04 2A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BA 20 D0 A2 D0 B0 D1 80 D1 85 D1 83 D0 BD 20 31 D0 BB 20 D1 81 D1 82 D0 B5 D0 BA D0 BB D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 14 50 00 00 00 00 13 04 06 00 14 50 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 14 1E 00 00 00 00 13 04 06 00 14 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 91 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 49 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6F 0F 00 00 00 00 07 04 06 00 50 91 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 05 30 F5 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 56 4A 00 00 35 04 06 00 C4 7D 78 6B A3 CE C3 48 AF 66 F2 5A 98 94 [09:57:24]CheckFolder [09:57:24]dirname=/storage/ofd_packets [09:57:24]CheckFolder done [09:57:24]ProducePacketName [09:57:24]name=ofd_packets/00019030 [09:57:24]NVStorageSaveData ofd_packets/00019030 [09:57:24]File name is /storage/ofd_packets/00019030 [09:57:24]Write 580 bytes [09:57:24]NVStorageSaveData done [09:57:24]OFDSenderStorePacket done [09:57:24]KKMCreateOFDPacket done [09:57:24]NVStorageSaveData kkm_last_timestamp [09:57:24]File name is /storage/kkm_last_timestamp [09:57:24]Write 4 bytes [09:57:24]NVStorageSaveData done [09:57:24]ExternCall_PrintAddStr [09:57:24]wPrintStart [09:57:24]Write to MH i2c: 01 00 00 BB 09 C4 [09:57:24]Write i2c OK [09:57:24]MH_I2C_Read... [09:57:24]Read from MH i2c: 01 [09:57:24]MH_I2C_Read... [09:57:24]Read from MH i2c: 01 07 00 [09:57:24]MH_I2C_Read... [09:57:24]Read from MH i2c: 01 07 00 BB 09 00 00 00 00 00 FF 0F D9 [09:57:24]RasterBufferAndPrint [09:57:24]line Счет N : (3)16950 [09:57:24]line ИНН: 02508201610067 [09:57:24]line Контрольно-Кассовый Чек [09:57:24]line ПРОДАЖА [09:57:24]line Товар: 4870022003305 [09:57:24]line Напиток Gorilla эн нат ж/б 0,5/0,45л [09:57:24]line 1.000 * 90.00 [09:57:24]line = 90.00 [09:57:24]line НДС 12% НСП 1% [09:57:24]line > о реализуемом товаре [09:57:24]line Товар: 4602441000081 [09:57:24]line Напитк Тархун 1л стекло [09:57:24]line 1.000 * 205.00 [09:57:24]line = 205.00 [09:57:24]line НДС 12% НСП 1% [09:57:24]line > о реализуемом товаре [09:57:24]line Товар: 4700000480050 [09:57:24]line Напиток Nitro Energy эн green ж/б 0,45л [09:57:24]line 1.000 * 77.00 [09:57:24]line = 77.00 [09:57:24]line НДС 12% НСП 1% [09:57:24]line > о реализуемом товаре [09:57:24]line ИТОГО: 372.00 [09:57:24]line НСП 1% : 3.29 [09:57:24]line НДС 12% : 39.51 [09:57:24]line Наличными: 372.00 [09:57:24]line Безнал.: 0.00 [09:57:24]line Место: АЗС № 176 "Партнер Нефть" [09:57:24]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [09:57:24]line СНО: Общий режим [09:57:24]line Чек 19 26.09.2024 09:57 [09:57:24]line Смена: 184 ФФД: 1.0 [09:57:24]line ЗНМ: 0300000010 [09:57:24]line РНМ: 0000000000152968 [09:57:24]line Версия ККМ: v1.0 [09:57:24]line ФМ: 0000000000959456 [09:57:24]line ФД: 19030 [09:57:24]line ФПД: 216043170276302 [09:57:24]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T095725&type=1&operation_type=1&fn_number=0000000000959456&fd_number=19030&fm=216043170276302&tin=02508201610067®Number=0000000000152968&sum=37200 [09:57:24]OFD Sender: Processing packet 19030 [packets to send 7, broken 6] [09:57:24]ProducePacketName [09:57:24]name=ofd_packets/00019030 [09:57:24]OFD Sender: To server: pG, [09:57:24]CommunicateWithHost lk.salyk.kg:30040 [09:57:24]ConnectInit lk.salyk.kg [09:57:24]line 0 [09:57:24]written 0, free lines is 4095 [09:57:25]Connected sock=10 [09:57:25]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 26 02 00 00 A8 86 1E 02 85 B5 5A 03 01 00 03 00 12 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 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6E 00 8A 04 0D 00 34 36 30 32 34 34 31 30 30 30 30 38 31 06 04 2A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BA 20 D0 A2 D0 B0 D1 80 D1 85 D1 83 D0 BD 20 31 D0 BB 20 D1 81 D1 82 D0 B5 D0 BA D0 BB D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 14 50 00 00 00 00 13 04 06 00 14 50 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 14 1E 00 00 00 00 13 04 06 00 14 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 91 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 49 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6F 0F 00 00 00 00 07 04 06 00 50 91 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 05 30 F5 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 56 4A 00 00 35 04 06 00 C4 7D 78 6B A3 CE C3 48 AF 66 F2 5A 98 94 [09:57:25]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 10 8B 47 00 64 9D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 56 4A 00 00 F4 03 04 00 60 D9 F4 66 B6 04 01 00 00 A6 E3 1B D0 18 F9 FE 13 [09:57:25]CommunicateWithHost err = 0 [09:57:25]CheckOFDResponse [09:57:25]1017 (14) - 77093643461234 [09:57:25]1041 (16) - 0000000000959456 [09:57:25]1040 (4) - 19030 [09:57:25]1012 (4) - 26.09.2024 03:47 [09:57:25]1206 (1) - 0 [09:57:25]OFD Sender: Remove packet 19030 [09:57:25]ProducePacketName [09:57:25]name=ofd_packets/00019030 [09:57:25]NVStorageDeleteData [09:57:25]Write to MH i2c: 01 00 00 F1 09 FA [09:57:25]Write i2c OK [09:57:25]MH_I2C_Read... [09:57:25]Read from MH i2c: 01 [09:57:25]MH_I2C_Read... [09:57:25]Read from MH i2c: 01 07 00 [09:57:25]MH_I2C_Read... [09:57:25]Read from MH i2c: 01 07 00 F1 09 00 00 00 00 00 6C 0C 79 [09:57:25]RasterBufferAndPrint [09:57:25]line [09:57:25]line [09:57:25]line [09:57:25]line [09:57:25]line [09:57:25]written 0, free lines is 3189 [09:57:25]MH_Cut [09:57:25]Write to MH i2c: D1 01 00 F8 09 01 D3 [09:57:25]Write i2c OK [09:57:25]MH_I2C_Read... [09:57:25]Read from MH i2c: D1 [09:57:25]MH_I2C_Read... [09:57:25]Read from MH i2c: D1 01 00 [09:57:25]MH_I2C_Read... [09:57:25]Read from MH i2c: D1 01 00 F8 09 00 D2 [09:57:25]Write to MH i2c: 01 00 00 F9 09 02 [09:57:25]Write i2c OK [09:57:25]MH_I2C_Read... [09:57:25]OFD Sender: No OFD packet to send [09:57:26]*** Cut start [09:57:26]*** Partial cut [09:57:26]*** CUTSNS_PIN = 1 [09:57:26]*** CUTSNS_PIN = 0 [09:57:26]*** Brake cut motor [09:57:26]Read from MH i2c: 01 [09:57:26]MH_I2C_Read... [09:57:26]*** Stop cut motor [09:57:26]*** Cut end [09:57:26]Read from MH i2c: 01 07 00 [09:57:26]MH_I2C_Read... [09:57:26]Read from MH i2c: 01 07 00 F9 09 00 00 00 00 00 FF 0F 17 [09:57:26]process_action close_receipt done [09:57:26]requested_data is exist [09:57:26]produce_requested_data [09:57:26]requested_item fm.sn is exist - process it [09:57:26]wFMCommunicate request_size=4 [09:57:26]MH_SAM_APDU [09:57:26]CAPDU: 80 11 00 00 [09:57:26]Write to MH i2c: E2 08 00 FA 09 80 11 00 00 00 00 00 00 7D [09:57:26]Write i2c OK [09:57:26]MH_I2C_Read... [09:57:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:57:26]Read from MH i2c: E2 [09:57:26]MH_I2C_Read... [09:57:26]Read from MH i2c: E2 17 00 [09:57:26]MH_I2C_Read... [09:57:26]Read from MH i2c: E2 17 00 FA 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 D6 [09:57:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [09:57:26]wFMCommunicate OK [09:57:26]requested_item fd.num is exist - process it [09:57:26]SAM_PROTO_GetFieldsCounters [09:57:26]wFMCommunicate request_size=4 [09:57:26]MH_SAM_APDU [09:57:26]CAPDU: 80 13 00 00 [09:57:26]Write to MH i2c: E2 08 00 FB 09 80 13 00 00 00 00 00 00 80 [09:57:26]Write i2c OK [09:57:26]MH_I2C_Read... [09:57:26]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:57:26]Read from MH i2c: E2 [09:57:26]MH_I2C_Read... [09:57:26]Read from MH i2c: E2 62 00 [09:57:26]MH_I2C_Read... [09:57:26]Read from MH i2c: E2 62 00 FB 09 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 56 4A 00 00 0E 04 04 00 B8 00 00 00 12 04 04 00 13 00 00 00 5E 04 04 00 13 00 00 00 57 04 04 00 14 00 00 00 19 04 04 00 00 00 00 00 90 00 3E [09:57:26]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 56 4A 00 00 0E 04 04 00 B8 00 00 00 12 04 04 00 13 00 00 00 5E 04 04 00 13 00 00 00 57 04 04 00 14 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:57:26]wFMCommunicate OK [09:57:26]SAM_PROTO_GetFieldsCounters done [09:57:26]requested_item shift.num is exist - process it [09:57:26]requested_item shift.opened is exist - process it [09:57:26]req_shift_opened [09:57:26]FM_GetShiftState [09:57:26]SAM_PROTO_GetShiftState [09:57:26]wFMCommunicate request_size=4 [09:57:26]MH_SAM_APDU [09:57:26]CAPDU: 80 13 01 00 [09:57:26]Write to MH i2c: E2 08 00 FC 09 80 13 01 00 00 00 00 00 82 [09:57:26]Write i2c OK [09:57:26]MH_I2C_Read... [09:57:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:57:27]Read from MH i2c: E2 [09:57:27]MH_I2C_Read... [09:57:27]Read from MH i2c: E2 0E 00 [09:57:27]MH_I2C_Read... [09:57:27]Read from MH i2c: E2 0E 00 FC 09 00 09 00 01 58 A7 F4 66 00 00 00 00 90 00 E7 [09:57:27]RAPDU: 09 00 01 58 A7 F4 66 00 00 00 00 90 00 [09:57:27]wFMCommunicate OK [09:57:27]SAM_PROTO_GetShiftState done [09:57:27]FM_GetShiftState done [09:57:27]req_shift_opened done [09:57:27]requested_item shift.open_date is exist - process it [09:57:27]req_shift_open_date [09:57:27]req_shift_open_date done [09:57:27]produce_requested_data done [09:57:27]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":19030,"shift.num":184,"shift.opened":1,"shift.open_date":1727309656} [09:57:27]process_action_free close_receipt [09:57:27]json_value_free [09:57:27]json_value_free done [09:57:27]process_json_proto returns [09:57:27]Send response to host [09:57:27]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":19030,"shift.num":184,"shift.opened":1,"shift.open_date":1727309656}}} [09:57:27]free response buf [09:57:27]execute_script done [09:57:27]execute_script returns [09:57:27]free content buf [09:57:27]Sock 9.Close socket [09:57:27]Sock 9.Thread stoped [09:57:30]OFD Sender: No OFD packet to send [09:57:35]OFD Sender: No OFD packet to send [09:57:40]OFD Sender: No OFD packet to send [09:57:45]OFD Sender: No OFD packet to send [09:57:50]OFD Sender: No OFD packet to send [09:57:55]OFD Sender: No OFD packet to send [09:58:00]OFD Sender: No OFD packet to send [09:58:05]OFD Sender: No OFD packet to send [09:58:10]OFD Sender: No OFD packet to send [09:58:15]OFD Sender: No OFD packet to send [09:58:20]OFD Sender: No OFD packet to send [09:58:25]OFD Sender: No OFD packet to send [09:58:30]OFD Sender: No OFD packet to send [09:58:35]OFD Sender: No OFD packet to send [09:58:40]OFD Sender: No OFD packet to send [09:58:45]OFD Sender: No OFD packet to send [09:58:50]OFD Sender: No OFD packet to send [09:58:55]OFD Sender: No OFD packet to send [09:59:00]OFD Sender: No OFD packet to send [09:59:05]OFD Sender: No OFD packet to send [09:59:10]OFD Sender: No OFD packet to send [09:59:15]OFD Sender: No OFD packet to send [09:59:20]OFD Sender: No OFD packet to send [09:59:25]OFD Sender: No OFD packet to send [09:59:30]OFD Sender: No OFD packet to send [09:59:35]OFD Sender: No OFD packet to send [09:59:40]OFD Sender: No OFD packet to send [09:59:45]OFD Sender: No OFD packet to send [09:59:50]OFD Sender: No OFD packet to send [09:59:55]OFD Sender: No OFD packet to send [10:00:00]OFD Sender: No OFD packet to send [10:00:05]OFD Sender: No OFD packet to send [10:00:10]OFD Sender: No OFD packet to send [10:00:15]OFD Sender: No OFD packet to send [10:00:20]OFD Sender: No OFD packet to send [10:00:25]OFD Sender: No OFD packet to send [10:00:30]OFD Sender: No OFD packet to send [10:00:35]OFD Sender: No OFD packet to send [10:00:40]OFD Sender: No OFD packet to send [10:00:45]OFD Sender: No OFD packet to send [10:00:51]OFD Sender: No OFD packet to send [10:00:56]OFD Sender: No OFD packet to send [10:01:01]OFD Sender: No OFD packet to send [10:01:06]OFD Sender: No OFD packet to send [10:01:11]OFD Sender: No OFD packet to send [10:01:16]OFD Sender: No OFD packet to send [10:01:21]OFD Sender: No OFD packet to send [10:01:26]OFD Sender: No OFD packet to send [10:01:31]OFD Sender: No OFD packet to send [10:01:36]OFD Sender: No OFD packet to send [10:01:41]OFD Sender: No OFD packet to send [10:01:46]OFD Sender: No OFD packet to send [10:01:51]OFD Sender: No OFD packet to send [10:01:56]OFD Sender: No OFD packet to send [10:02:01]OFD Sender: No OFD packet to send [10:02:06]OFD Sender: No OFD packet to send [10:02:11]OFD Sender: No OFD packet to send [10:02:16]OFD Sender: No OFD packet to send [10:02:21]OFD Sender: No OFD packet to send [10:02:26]OFD Sender: No OFD packet to send [10:02:31]OFD Sender: No OFD packet to send [10:02:36]OFD Sender: No OFD packet to send [10:02:41]OFD Sender: No OFD packet to send [10:02:46]OFD Sender: No OFD packet to send [10:02:51]OFD Sender: No OFD packet to send [10:02:56]OFD Sender: No OFD packet to send [10:03:01]OFD Sender: No OFD packet to send [10:03:06]OFD Sender: No OFD packet to send [10:03:11]OFD Sender: No OFD packet to send [10:03:16]OFD Sender: No OFD packet to send [10:03:21]OFD Sender: No OFD packet to send [10:03:26]OFD Sender: No OFD packet to send [10:03:31]OFD Sender: No OFD packet to send [10:03:36]OFD Sender: No OFD packet to send [10:03:41]OFD Sender: No OFD packet to send [10:03:46]OFD Sender: No OFD packet to send [10:03:51]OFD Sender: No OFD packet to send [10:03:56]OFD Sender: No OFD packet to send [10:04:01]OFD Sender: No OFD packet to send [10:04:06]OFD Sender: No OFD packet to send [10:04:11]OFD Sender: No OFD packet to send [10:04:16]OFD Sender: No OFD packet to send [10:04:21]OFD Sender: No OFD packet to send [10:04:26]OFD Sender: No OFD packet to send [10:04:31]OFD Sender: No OFD packet to send [10:04:36]OFD Sender: No OFD packet to send [10:04:41]OFD Sender: No OFD packet to send [10:04:46]OFD Sender: No OFD packet to send [10:04:51]OFD Sender: No OFD packet to send [10:04:56]OFD Sender: No OFD packet to send [10:05:01]OFD Sender: No OFD packet to send [10:05:06]OFD Sender: No OFD packet to send [10:05:11]OFD Sender: No OFD packet to send [10:05:16]OFD Sender: No OFD packet to send [10:05:21]OFD Sender: No OFD packet to send [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:46]OFD Sender: No OFD packet to send [10:18:51]OFD Sender: No OFD packet to send [10:18:56]OFD Sender: No OFD packet to send [10:19:01]OFD Sender: No OFD packet to send [10:19:06]OFD Sender: No OFD packet to send [10:19:11]OFD Sender: No OFD packet to send [10:19:16]OFD Sender: No OFD packet to send [10:19:21]OFD Sender: No OFD packet to send [10:19:26]OFD Sender: No OFD packet to send [10:19:31]OFD Sender: No OFD packet to send [10:19:36]OFD Sender: No OFD packet to send [10:19:41]OFD Sender: No OFD packet to send [10:19:46]OFD Sender: No OFD packet to send [10:19:51]OFD Sender: No OFD packet to send [10:19:56]OFD Sender: No OFD packet to send [10:20:01]OFD Sender: No OFD packet to send [10:20:06]OFD Sender: No OFD packet to send [10:20:11]OFD Sender: No OFD packet to send [10:20:16]OFD Sender: No OFD packet to send [10:20:21]OFD Sender: No OFD packet to send [10:20:26]OFD Sender: No OFD packet to send [10:20:31]OFD Sender: No OFD packet to send [10:20:36]OFD Sender: No OFD packet to send [10:20:41]OFD Sender: No OFD packet to send [10:20:43]accept exits with 7 [10:20:43]New connection [10:20:43]New thread 3066551652 created [10:20:43]Thread 3066695012 joined [10:20:43]Waiting for new connection... [10:20:43] Sock 7.Parse request [10:20:43]Sock 7.Check first char [10:20:43]Sock 7.First char is OK [10:20:43]request: POST /json_proto HTTP/1.0 [10:20:43]Method: POST [10:20:43]URL: /json_proto [10:20:43]Method is POST - this is cgi request [10:20:43]url: /json_proto [10:20:43]query_string will be loaded in cgi processing [10:20:43]execute_cgi json_proto POST (null) [10:20:43]execute_cgi path=json_proto method=POST [10:20:43]POST find Content-Length [10:20:43]Host: 172.17.62.196:8080 [10:20:43]Content-Length: 682 [10:20:43]Content-Type: application/json [10:20:43] [10:20:43]POST finish read [10:20:43]Found Content-Length = 682 [10:20:43]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)118294", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 67.80, "quantity" : 14.750, "sum" : 1000.05, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "total" : 1000.00, "payments": [ { "type": 0, "sum" : 1000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:20:43]execute_script... [10:20: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)118294", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 67.80, "quantity" : 14.750, "sum" : 1000.05, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "total" : 1000.00, "payments": [ { "type": 0, "sum" : 1000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:20:43]POST & json_proto [10:20:43]process_json_proto [10:20:43]json parsed OK: [10:20:43]protocol is kg_v1.0 [10:20:43]action value=close_receipt [10:20:43]process_action close_receipt [10:20:43]cmd_close_receipt [10:20:43]MH_GetDate [10:20:43]Write to MH i2c: F0 00 00 FD 09 F5 [10:20:43]Write i2c OK [10:20:43]MH_I2C_Read... [10:20:43]Read from MH i2c: F0 [10:20:43]MH_I2C_Read... [10:20:43]Read from MH i2c: F0 09 00 [10:20:43]MH_I2C_Read... [10:20:43]Read from MH i2c: F0 09 00 FD 09 00 7F 35 F5 66 CE CC 0E 66 1B [10:20:43]GetLastDocTimeStamp 1727344645 [10:20:43]current date 1727346047 [10:20:43]FM_GetShiftState [10:20:43]SAM_PROTO_GetShiftState [10:20:43]wFMCommunicate request_size=4 [10:20:43]MH_SAM_APDU [10:20:43]CAPDU: 80 13 01 00 [10:20:43]Write to MH i2c: E2 08 00 FE 09 80 13 01 00 00 00 00 00 84 [10:20:43]Write i2c OK [10:20:43]MH_I2C_Read... [10:20:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:20:43]Read from MH i2c: E2 [10:20:43]MH_I2C_Read... [10:20:43]Read from MH i2c: E2 0E 00 [10:20:43]MH_I2C_Read... [10:20:43]Read from MH i2c: E2 0E 00 FE 09 00 09 00 01 58 A7 F4 66 00 00 00 00 90 00 E9 [10:20:43]RAPDU: 09 00 01 58 A7 F4 66 00 00 00 00 90 00 [10:20:43]wFMCommunicate OK [10:20:43]SAM_PROTO_GetShiftState done [10:20:43]FM_GetShiftState done [10:20:43]opened in 1727309656 [10:20:43]opened+sec_in_day 1727396056 [10:20:43]quantity*price = 100005 [10:20:43]sum+1 = 100006 [10:20:43]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.05 ИТОГО: 1000.00 Внесено: 1000.00 СДАЧА: 0.00 НСП 1% : 8.85 НДС 12% : 106.20 Наличными: 1000.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 20 26.09.2024 10:20 Смена: 184 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 19031 ФПД: 267976441195355 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T102047&type=1&operation_type=1&fn_number=0000000000959456&fd_number=19031&fm=267976441195355&tin=02508201610067®Number=0000000000152968&sum=100000 [10:20:45]StoreToDocumentArchive [10:20:45]shift 184 fd 19031 [10:20:45]save to /storage/0184/doc_00019031 [10:20:45]save last doc name /storage/0184/doc_00019031 to /storage/kkm_last_doc_name [10:20:45]save OK [10:20:45]Clear old archive folders... [10:20:45]ProcessDocumentItem done err = 0, tmpTLVsize=251 [10:20:45]tlvbuf is 01D7B3B0 [10:20:45]SAM_PROTO_ClearQueue [10:20:45]wFMCommunicate request_size=4 [10:20:45]MH_SAM_APDU [10:20:45]CAPDU: 80 09 00 00 [10:20:45]Write to MH i2c: E2 08 00 0B 0A 80 09 00 00 00 00 00 00 87 [10:20:45]Write i2c OK [10:20:45]MH_I2C_Read... [10:20:45]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:20:45]Read from MH i2c: E2 [10:20:45]MH_I2C_Read... [10:20:45]Read from MH i2c: E2 03 00 [10:20:45]MH_I2C_Read... [10:20:45]Read from MH i2c: E2 03 00 0B 0A 00 90 00 89 [10:20:45]RAPDU: 90 00 [10:20:45]wFMCommunicate OK [10:20:45]SAM_PROTO_ClearQueue done [10:20:45]KKMCreateOFDPacket [10:20:45]OFDProtocolAddRootSTLVToBuf [10:20:45]FM_MakeSignedData [10:20:45]FM_MakeSignedData [10:20:45]SAM_PROTO_SignData [10:20:45]wFMCommunicate request_size=4 [10:20:45]MH_SAM_APDU [10:20:45]CAPDU: 80 0D 01 02 [10:20:45]Write to MH i2c: E2 08 00 0C 0A 80 0D 01 02 00 00 00 00 8F [10:20:45]Write i2c OK [10:20:45]MH_I2C_Read... [10:20:45]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:20:45]Read from MH i2c: E2 [10:20:45]MH_I2C_Read... [10:20:45]Read from MH i2c: E2 03 00 [10:20:45]MH_I2C_Read... [10:20:45]Read from MH i2c: E2 03 00 0C 0A 00 90 00 8A [10:20:45]RAPDU: 90 00 [10:20:45]wFMCommunicate OK [10:20:45]wFMCommunicate request_size=255 [10:20:45]MH_SAM_APDU [10:20:45]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 9E 39 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 A5 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7C 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 7F 35 F5 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 57 4A 00 00 35 04 06 00 F3 [10:20:45]Write to MH i2c: E2 02 01 0D 0A 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 9E 39 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 A5 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7C 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 7F 35 F5 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 57 4A 00 00 35 04 06 00 F3 00 00 18 [10:20:45]Write i2c OK [10:20:45]MH_I2C_Read... [10:20:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:20:45]Read from MH i2c: E2 [10:20:45]MH_I2C_Read... [10:20:45]Read from MH i2c: E2 03 00 [10:20:45]MH_I2C_Read... [10:20:45]Read from MH i2c: E2 03 00 0D 0A 00 90 00 8B [10:20:45]RAPDU: 90 00 [10:20:45]wFMCommunicate OK [10:20:45]wFMCommunicate request_size=10 [10:20:45]MH_SAM_APDU [10:20:45]CAPDU: 80 0D 02 02 05 B9 20 95 EB 5B [10:20:45]Write to MH i2c: E2 0D 00 0E 0A 80 0D 02 02 05 00 B9 20 95 EB 5B 00 00 50 [10:20:45]Write i2c OK [10:20:45]MH_I2C_Read... [10:20:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:20:45]Read from MH i2c: E2 [10:20:45]MH_I2C_Read... [10:20:45]Read from MH i2c: E2 03 00 [10:20:45]MH_I2C_Read... [10:20:45]Read from MH i2c: E2 03 00 0E 0A 00 90 00 8C [10:20:45]RAPDU: 90 00 [10:20:45]wFMCommunicate OK [10:20:45]wFMCommunicate request_size=4 [10:20:45]MH_SAM_APDU [10:20:45]CAPDU: 80 0D 03 02 [10:20:45]Write to MH i2c: E2 08 00 0F 0A 80 0D 03 02 00 00 00 00 94 [10:20:45]Write i2c OK [10:20:45]MH_I2C_Read... [10:20:45]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:20:45]Read from MH i2c: E2 [10:20:45]MH_I2C_Read... [10:20:45]Read from MH i2c: E2 0B 00 [10:20:45]MH_I2C_Read... [10:20:45]Read from MH i2c: E2 0B 00 0F 0A 00 61 C0 DF B9 3A B4 26 5B 90 00 BD [10:20:45]RAPDU: 61 C0 DF B9 3A B4 26 5B 90 00 [10:20:45]wFMCommunicate OK [10:20:45]SAM_PROTO_SignData done [10:20:45]FM_MakeSignedData done [10:20:45]CreateOFDProtocolMessage [10:20:45]wFMCommunicate request_size=4 [10:20:45]MH_SAM_APDU [10:20:45]CAPDU: 80 11 00 00 [10:20:45]Write to MH i2c: E2 08 00 10 0A 80 11 00 00 00 00 00 00 94 [10:20:45]Write i2c OK [10:20:45]MH_I2C_Read... [10:20:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:20:45]Read from MH i2c: E2 [10:20:45]MH_I2C_Read... [10:20:45]Read from MH i2c: E2 17 00 [10:20:45]MH_I2C_Read... [10:20:45]Read from MH i2c: E2 17 00 10 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 ED [10:20:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [10:20:45]wFMCommunicate OK [10:20:45]CreateOFDProtocolMessage done [10:20:45]OFDSenderStorePacket 19031 [10:20:45]StoreOFDPacket docnum=19031 [10:20:45]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0F 01 00 00 D4 1C 07 01 4B 8F 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 9E 39 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 A5 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7C 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 7F 35 F5 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 57 4A 00 00 35 04 06 00 F3 B9 20 95 EB 5B 61 C0 DF B9 3A B4 26 5B [10:20:45]CheckFolder [10:20:45]dirname=/storage/ofd_packets [10:20:45]CheckFolder done [10:20:45]ProducePacketName [10:20:45]name=ofd_packets/00019031 [10:20:45]NVStorageSaveData ofd_packets/00019031 [10:20:45]File name is /storage/ofd_packets/00019031 [10:20:45]Write 301 bytes [10:20:45]NVStorageSaveData done [10:20:45]OFDSenderStorePacket done [10:20:45]KKMCreateOFDPacket done [10:20:45]NVStorageSaveData kkm_last_timestamp [10:20:45]File name is /storage/kkm_last_timestamp [10:20:45]Write 4 bytes [10:20:45]NVStorageSaveData done [10:20:45]ExternCall_PrintAddStr [10:20:45]wPrintStart [10:20:45]Write to MH i2c: 01 00 00 11 0A 1B [10:20:45]Write i2c OK [10:20:45]MH_I2C_Read... [10:20:45]Read from MH i2c: 01 [10:20:45]MH_I2C_Read... [10:20:45]Read from MH i2c: 01 07 00 [10:20:45]MH_I2C_Read... [10:20:45]Read from MH i2c: 01 07 00 11 0A 00 00 00 00 00 FF 0F 30 [10:20:45]RasterBufferAndPrint [10:20:45]line Счет N : (1)118294 [10:20:45]line ИНН: 02508201610067 [10:20:45]line Контрольно-Кассовый Чек [10:20:45]line ПРОДАЖА [10:20:45]line ТРК (МРК, ГНК) : 22 [10:20:45]line Товар: 2710124130 [10:20:45]line Аи-92-К-5 [10:20:45]line 14.750 * 67.80 [10:20:45]line = 1000.05 [10:20:45]line НДС 12% НСП 1% [10:20:45]line > о реализуемом товаре [10:20:45]line ОКРУГЛЕНИЕ: -0.05 [10:20:45]line ИТОГО: 1000.00 [10:20:45]line Внесено: 1000.00 [10:20:45]line СДАЧА: 0.00 [10:20:45]line НСП 1% : 8.85 [10:20:45]line НДС 12% : 106.20 [10:20:45]line Наличными: 1000.00 [10:20:45]line Безнал.: 0.00 [10:20:45]line Место: АЗС № 176 "Партнер Нефть" [10:20:45]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [10:20:45]line СНО: Общий режим [10:20:45]line Чек 20 26.09.2024 10:20 [10:20:45]line Смена: 184 ФФД: 1.0 [10:20:45]line ЗНМ: 0300000010 [10:20:45]line РНМ: 0000000000152968 [10:20:45]line Версия ККМ: v1.0 [10:20:45]line ФМ: 0000000000959456 [10:20:45]line ФД: 19031 [10:20:45]line ФПД: 267976441195355 [10:20:45]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T102047&type=1&operation_type=1&fn_number=0000000000959456&fd_number=19031&fm=267976441195355&tin=02508201610067®Number=0000000000152968&sum=100000 [10:20:45]OFD Sender: Processing packet 19031 [packets to send 7, broken 6] [10:20:45]ProducePacketName [10:20:45]name=ofd_packets/00019031 [10:20:45]OFD Sender: To server: pG, [10:20:45]CommunicateWithHost lk.salyk.kg:30040 [10:20:45]ConnectInit lk.salyk.kg [10:20:45]written 0, free lines is 4095 [10:20:46]Connected sock=10 [10:20:46]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0F 01 00 00 D4 1C 07 01 4B 8F 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 9E 39 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 A5 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7C 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 7F 35 F5 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 57 4A 00 00 35 04 06 00 F3 B9 20 95 EB 5B 61 C0 DF B9 3A B4 26 5B [10:20:46]Write to MH i2c: 01 00 00 3C 0A 46 [10:20:46]Write i2c OK [10:20:46]MH_I2C_Read... [10:20:46]Read from MH i2c: 01 [10:20:46]MH_I2C_Read... [10:20:46]Read from MH i2c: 01 07 00 [10:20:46]MH_I2C_Read... [10:20:46]Read from MH i2c: 01 07 00 3C 0A 00 00 00 00 00 F6 0C 4F [10:20:46]RasterBufferAndPrint [10:20:46]line [10:20:46]line [10:20:46]line [10:20:46]line [10:20:46]line [10:20:46]written 0, free lines is 3324 [10:20:46]MH_Cut [10:20:46]Write to MH i2c: D1 01 00 43 0A 01 1F [10:20:46]Write i2c OK [10:20:46]MH_I2C_Read... [10:20:46]Read from MH i2c: D1 [10:20:46]MH_I2C_Read... [10:20:46]Read from MH i2c: D1 01 00 [10:20:46]MH_I2C_Read... [10:20:46]Read from MH i2c: D1 01 00 43 0A 00 1E [10:20:46]Write to MH i2c: 01 00 00 44 0A 4E [10:20:46]Write i2c OK [10:20:46]MH_I2C_Read... [10:20:46]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 97 DD 47 00 5F B5 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 57 4A 00 00 F4 03 04 00 DA DE F4 66 B6 04 01 00 00 3D 34 2F 29 4A E5 87 F5 [10:20:46]CommunicateWithHost err = 0 [10:20:46]CheckOFDResponse [10:20:46]1017 (14) - 77093643461234 [10:20:46]1041 (16) - 0000000000959456 [10:20:46]1040 (4) - 19031 [10:20:46]1012 (4) - 26.09.2024 04:11 [10:20:46]1206 (1) - 0 [10:20:46]OFD Sender: Remove packet 19031 [10:20:46]ProducePacketName [10:20:46]name=ofd_packets/00019031 [10:20:46]NVStorageDeleteData [10:20:46]OFD Sender: No OFD packet to send [10:20:47]*** Cut start [10:20:47]*** Partial cut [10:20:47]*** CUTSNS_PIN = 1 [10:20:47]*** CUTSNS_PIN = 0 [10:20:47]*** Brake cut motor [10:20:47]Read from MH i2c: 01 [10:20:47]MH_I2C_Read... [10:20:47]*** Stop cut motor [10:20:47]*** Cut end [10:20:47]Read from MH i2c: 01 07 00 [10:20:47]MH_I2C_Read... [10:20:47]Read from MH i2c: 01 07 00 44 0A 00 00 00 00 00 FF 0F 63 [10:20:47]process_action close_receipt done [10:20:47]requested_data is exist [10:20:47]produce_requested_data [10:20:47]requested_item fm.sn is exist - process it [10:20:47]wFMCommunicate request_size=4 [10:20:47]MH_SAM_APDU [10:20:47]CAPDU: 80 11 00 00 [10:20:47]Write to MH i2c: E2 08 00 45 0A 80 11 00 00 00 00 00 00 C9 [10:20:47]Write i2c OK [10:20:47]MH_I2C_Read... [10:20:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:20:47]Read from MH i2c: E2 [10:20:47]MH_I2C_Read... [10:20:47]Read from MH i2c: E2 17 00 [10:20:47]MH_I2C_Read... [10:20:47]Read from MH i2c: E2 17 00 45 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 22 [10:20:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [10:20:47]wFMCommunicate OK [10:20:47]requested_item fd.num is exist - process it [10:20:47]SAM_PROTO_GetFieldsCounters [10:20:47]wFMCommunicate request_size=4 [10:20:47]MH_SAM_APDU [10:20:47]CAPDU: 80 13 00 00 [10:20:47]Write to MH i2c: E2 08 00 46 0A 80 13 00 00 00 00 00 00 CC [10:20:47]Write i2c OK [10:20:47]MH_I2C_Read... [10:20:47]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:20:47]Read from MH i2c: E2 [10:20:47]MH_I2C_Read... [10:20:47]Read from MH i2c: E2 62 00 [10:20:47]MH_I2C_Read... [10:20:47]Read from MH i2c: E2 62 00 46 0A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 57 4A 00 00 0E 04 04 00 B8 00 00 00 12 04 04 00 14 00 00 00 5E 04 04 00 14 00 00 00 57 04 04 00 15 00 00 00 19 04 04 00 00 00 00 00 90 00 8E [10:20:47]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 57 4A 00 00 0E 04 04 00 B8 00 00 00 12 04 04 00 14 00 00 00 5E 04 04 00 14 00 00 00 57 04 04 00 15 00 00 00 19 04 04 00 00 00 00 00 90 00 [10:20:47]wFMCommunicate OK [10:20:47]SAM_PROTO_GetFieldsCounters done [10:20:47]requested_item shift.num is exist - process it [10:20:47]requested_item shift.opened is exist - process it [10:20:47]req_shift_opened [10:20:47]FM_GetShiftState [10:20:47]SAM_PROTO_GetShiftState [10:20:47]wFMCommunicate request_size=4 [10:20:47]MH_SAM_APDU [10:20:47]CAPDU: 80 13 01 00 [10:20:47]Write to MH i2c: E2 08 00 47 0A 80 13 01 00 00 00 00 00 CE [10:20:47]Write i2c OK [10:20:47]MH_I2C_Read... [10:20:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:20:47]Read from MH i2c: E2 [10:20:47]MH_I2C_Read... [10:20:47]Read from MH i2c: E2 0E 00 [10:20:47]MH_I2C_Read... [10:20:47]Read from MH i2c: E2 0E 00 47 0A 00 09 00 01 58 A7 F4 66 00 00 00 00 90 00 33 [10:20:47]RAPDU: 09 00 01 58 A7 F4 66 00 00 00 00 90 00 [10:20:47]wFMCommunicate OK [10:20:47]SAM_PROTO_GetShiftState done [10:20:47]FM_GetShiftState done [10:20:47]req_shift_opened done [10:20:47]requested_item shift.open_date is exist - process it [10:20:47]req_shift_open_date [10:20:47]req_shift_open_date done [10:20:47]produce_requested_data done [10:20:47]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":19031,"shift.num":184,"shift.opened":1,"shift.open_date":1727309656} [10:20:47]process_action_free close_receipt [10:20:47]json_value_free [10:20:47]json_value_free done [10:20:47]process_json_proto returns [10:20:47]Send response to host [10:20:47]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":19031,"shift.num":184,"shift.opened":1,"shift.open_date":1727309656}}} [10:20:47]free response buf [10:20:47]execute_script done [10:20:47]execute_script returns [10:20:47]free content buf [10:20:47]Sock 7.Close socket [10:20:47]Sock 7.Thread stoped [10:20:51]OFD Sender: No OFD packet to send [10:20:56]OFD Sender: No OFD packet to send [10:21:01]OFD Sender: No OFD packet to send [10:21:05]accept exits with 9 [10:21:05]New connection [10:21:05]New thread 3066695012 created [10:21:05]Thread 3066551652 joined [10:21:05]Waiting for new connection... [10:21:05] Sock 9.Parse request [10:21:05]Sock 9.Check first char [10:21:05]Sock 9.First char is OK [10:21:05]request: POST /json_proto HTTP/1.0 [10:21:05]Method: POST [10:21:05]URL: /json_proto [10:21:05]Method is POST - this is cgi request [10:21:05]url: /json_proto [10:21:05]query_string will be loaded in cgi processing [10:21:05]execute_cgi json_proto POST (null) [10:21:05]execute_cgi path=json_proto method=POST [10:21:05]POST find Content-Length [10:21:05]Host: 172.17.62.196:8080 [10:21:05]Content-Length: 649 [10:21:05]Content-Type: application/json [10:21:05] [10:21:05]POST finish read [10:21:05]Found Content-Length = 649 [10:21:05]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16951", "tax_sys" : 0, "items" : [ { "code": "2000034730018", "name": "\u041A\u043E\u0444\u0435 \u0410\u043C\u0435\u0440\u0438\u043A\u0430\u043D\u043E (GABB TRADE)", "price" : 105.00, "quantity" : 1.000, "sum" : 105.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 105.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:21:05]execute_script... [10:21: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)16951", "tax_sys" : 0, "items" : [ { "code": "2000034730018", "name": "\u041A\u043E\u0444\u0435 \u0410\u043C\u0435\u0440\u0438\u043A\u0430\u043D\u043E (GABB TRADE)", "price" : 105.00, "quantity" : 1.000, "sum" : 105.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 105.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:21:05]POST & json_proto [10:21:05]process_json_proto [10:21:05]json parsed OK: [10:21:05]protocol is kg_v1.0 [10:21:05]action value=close_receipt [10:21:05]process_action close_receipt [10:21:05]cmd_close_receipt [10:21:05]MH_GetDate [10:21:05]Write to MH i2c: F0 00 00 48 0A 41 [10:21:05]Write i2c OK [10:21:05]MH_I2C_Read... [10:21:05]Read from MH i2c: F0 [10:21:05]MH_I2C_Read... [10:21:05]Read from MH i2c: F0 09 00 [10:21:05]MH_I2C_Read... [10:21:05]Read from MH i2c: F0 09 00 48 0A 00 95 35 F5 66 CE CC 0E 66 7D [10:21:05]GetLastDocTimeStamp 1727346047 [10:21:05]current date 1727346069 [10:21:05]FM_GetShiftState [10:21:05]SAM_PROTO_GetShiftState [10:21:05]wFMCommunicate request_size=4 [10:21:05]MH_SAM_APDU [10:21:05]CAPDU: 80 13 01 00 [10:21:05]Write to MH i2c: E2 08 00 49 0A 80 13 01 00 00 00 00 00 D0 [10:21:05]Write i2c OK [10:21:05]MH_I2C_Read... [10:21:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:21:05]Read from MH i2c: E2 [10:21:05]MH_I2C_Read... [10:21:05]Read from MH i2c: E2 0E 00 [10:21:05]MH_I2C_Read... [10:21:05]Read from MH i2c: E2 0E 00 49 0A 00 09 00 01 58 A7 F4 66 00 00 00 00 90 00 35 [10:21:05]RAPDU: 09 00 01 58 A7 F4 66 00 00 00 00 90 00 [10:21:05]wFMCommunicate OK [10:21:05]SAM_PROTO_GetShiftState done [10:21:05]FM_GetShiftState done [10:21:05]opened in 1727309656 [10:21:05]opened+sec_in_day 1727396056 [10:21:05]quantity*price = 10500 [10:21:05]sum+1 = 10501 [10:21:05]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 105.00 НСП 1% : 0.93 НДС 12% : 11.15 Наличными: 105.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 21 26.09.2024 10:21 Смена: 184 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 19032 ФПД: 185584349433871 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T102109&type=1&operation_type=1&fn_number=0000000000959456&fd_number=19032&fm=185584349433871&tin=02508201610067®Number=0000000000152968&sum=10500 0 [10:21:07]StoreToDocumentArchive [10:21:07]shift 184 fd 19032 [10:21:07]save to /storage/0184/doc_00019032 [10:21:07]save last doc name /storage/0184/doc_00019032 to /storage/kkm_last_doc_name [10:21:07]save OK [10:21:07]Clear old archive folders... [10:21:07]ProcessDocumentItem done err = 0, tmpTLVsize=282 [10:21:07]tlvbuf is 01D95AD0 [10:21:07]SAM_PROTO_ClearQueue [10:21:07]wFMCommunicate request_size=4 [10:21:07]MH_SAM_APDU [10:21:07]CAPDU: 80 09 00 00 [10:21:07]Write to MH i2c: E2 08 00 56 0A 80 09 00 00 00 00 00 00 D2 [10:21:07]Write i2c OK [10:21:07]MH_I2C_Read... [10:21:07]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:21:07]Read from MH i2c: E2 [10:21:07]MH_I2C_Read... [10:21:07]Read from MH i2c: E2 03 00 [10:21:07]MH_I2C_Read... [10:21:07]Read from MH i2c: E2 03 00 56 0A 00 90 00 D4 [10:21:07]RAPDU: 90 00 [10:21:07]wFMCommunicate OK [10:21:07]SAM_PROTO_ClearQueue done [10:21:07]KKMCreateOFDPacket [10:21:07]OFDProtocolAddRootSTLVToBuf [10:21:07]FM_MakeSignedData [10:21:07]FM_MakeSignedData [10:21:07]SAM_PROTO_SignData [10:21:07]wFMCommunicate request_size=4 [10:21:07]MH_SAM_APDU [10:21:07]CAPDU: 80 0D 01 02 [10:21:07]Write to MH i2c: E2 08 00 57 0A 80 0D 01 02 00 00 00 00 DA [10:21:07]Write i2c OK [10:21:07]MH_I2C_Read... [10:21:07]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:21:07]Read from MH i2c: E2 [10:21:07]MH_I2C_Read... [10:21:07]Read from MH i2c: E2 03 00 [10:21:07]MH_I2C_Read... [10:21:07]Read from MH i2c: E2 03 00 57 0A 00 90 00 D5 [10:21:07]RAPDU: 90 00 [10:21:07]wFMCommunicate OK [10:21:07]wFMCommunicate request_size=255 [10:21:07]MH_SAM_APDU [10:21:07]CAPDU: 80 0D 02 02 FA 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 34 37 33 30 30 31 38 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 04 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 95 35 F5 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 [10:21:07]Write to MH i2c: E2 02 01 58 0A 80 0D 02 02 FA 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 34 37 33 30 30 31 38 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 04 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 95 35 F5 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 00 00 9A [10:21:07]Write i2c OK [10:21:07]MH_I2C_Read... [10:21:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:21:07]Read from MH i2c: E2 [10:21:07]MH_I2C_Read... [10:21:07]Read from MH i2c: E2 03 00 [10:21:07]MH_I2C_Read... [10:21:07]Read from MH i2c: E2 03 00 58 0A 00 90 00 D6 [10:21:07]RAPDU: 90 00 [10:21:07]wFMCommunicate OK [10:21:07]wFMCommunicate request_size=41 [10:21:07]MH_SAM_APDU [10:21:07]CAPDU: 80 0D 02 02 24 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 58 4A 00 00 35 04 06 00 A8 C9 B9 39 50 0F [10:21:07]Write to MH i2c: E2 2C 00 59 0A 80 0D 02 02 24 00 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 58 4A 00 00 35 04 06 00 A8 C9 B9 39 50 0F 00 00 16 [10:21:07]Write i2c OK [10:21:07]MH_I2C_Read... [10:21:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:21:07]Read from MH i2c: E2 [10:21:07]MH_I2C_Read... [10:21:07]Read from MH i2c: E2 03 00 [10:21:07]MH_I2C_Read... [10:21:07]Read from MH i2c: E2 03 00 59 0A 00 90 00 D7 [10:21:07]RAPDU: 90 00 [10:21:07]wFMCommunicate OK [10:21:07]wFMCommunicate request_size=4 [10:21:07]MH_SAM_APDU [10:21:07]CAPDU: 80 0D 03 02 [10:21:07]Write to MH i2c: E2 08 00 5A 0A 80 0D 03 02 00 00 00 00 DF [10:21:07]Write i2c OK [10:21:07]MH_I2C_Read... [10:21:07]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:21:07]Read from MH i2c: E2 [10:21:07]MH_I2C_Read... [10:21:07]Read from MH i2c: E2 0B 00 [10:21:07]MH_I2C_Read... [10:21:07]Read from MH i2c: E2 0B 00 5A 0A 00 A3 7A EA 9B E1 A3 02 2A 90 00 32 [10:21:07]RAPDU: A3 7A EA 9B E1 A3 02 2A 90 00 [10:21:07]wFMCommunicate OK [10:21:07]SAM_PROTO_SignData done [10:21:07]FM_MakeSignedData done [10:21:07]CreateOFDProtocolMessage [10:21:07]wFMCommunicate request_size=4 [10:21:07]MH_SAM_APDU [10:21:07]CAPDU: 80 11 00 00 [10:21:07]Write to MH i2c: E2 08 00 5B 0A 80 11 00 00 00 00 00 00 DF [10:21:07]Write i2c OK [10:21:07]MH_I2C_Read... [10:21:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:21:07]Read from MH i2c: E2 [10:21:07]MH_I2C_Read... [10:21:07]Read from MH i2c: E2 17 00 [10:21:07]MH_I2C_Read... [10:21:07]Read from MH i2c: E2 17 00 5B 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 38 [10:21:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [10:21:07]wFMCommunicate OK [10:21:07]CreateOFDProtocolMessage done [10:21:07]OFDSenderStorePacket 19032 [10:21:07]StoreOFDPacket docnum=19032 [10:21:07]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 2E 01 00 00 1A 5A 26 01 02 2D 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 34 37 33 30 30 31 38 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 04 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 95 35 F5 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 58 4A 00 00 35 04 06 00 A8 C9 B9 39 50 0F A3 7A EA 9B E1 A3 02 2A [10:21:07]CheckFolder [10:21:07]dirname=/storage/ofd_packets [10:21:07]CheckFolder done [10:21:07]ProducePacketName [10:21:07]name=ofd_packets/00019032 [10:21:07]NVStorageSaveData ofd_packets/00019032 [10:21:07]File name is /storage/ofd_packets/00019032 [10:21:07]Write 332 bytes [10:21:07]NVStorageSaveData done [10:21:07]OFDSenderStorePacket done [10:21:07]KKMCreateOFDPacket done [10:21:07]NVStorageSaveData kkm_last_timestamp [10:21:07]File name is /storage/kkm_last_timestamp [10:21:07]Write 4 bytes [10:21:07]NVStorageSaveData done [10:21:07]ExternCall_PrintAddStr [10:21:07]wPrintStart [10:21:07]Write to MH i2c: 01 00 00 5C 0A 66 [10:21:07]Write i2c OK [10:21:07]MH_I2C_Read... [10:21:07]Read from MH i2c: 01 [10:21:07]MH_I2C_Read... [10:21:07]Read from MH i2c: 01 07 00 [10:21:07]MH_I2C_Read... [10:21:07]Read from MH i2c: 01 07 00 5C 0A 00 00 00 00 00 FF 0F 7B [10:21:07]RasterBufferAndPrint [10:21:07]line Счет N : (3)16951 [10:21:07]line ИНН: 02508201610067 [10:21:07]line Контрольно-Кассовый Чек [10:21:07]line ПРОДАЖА [10:21:07]line Товар: 2000034730018 [10:21:07]line Кофе Американо (GABB TRADE) [10:21:07]line 1.000 * 105.00 [10:21:07]line = 105.00 [10:21:07]line НДС 12% НСП 1% [10:21:07]line > о реализуемом товаре [10:21:07]line ИТОГО: 105.00 [10:21:07]line НСП 1% : 0.93 [10:21:07]line НДС 12% : 11.15 [10:21:07]line Наличными: 105.00 [10:21:07]line Безнал.: 0.00 [10:21:07]line Место: АЗС № 176 "Партнер Нефть" [10:21:07]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [10:21:07]line СНО: Общий режим [10:21:07]line Чек 21 26.09.2024 10:21 [10:21:07]line Смена: 184 ФФД: 1.0 [10:21:07]line ЗНМ: 0300000010 [10:21:07]line РНМ: 0000000000152968 [10:21:07]line Версия ККМ: v1.0 [10:21:07]line ФМ: 0000000000959456 [10:21:07]line ФД: 19032 [10:21:07]line ФПД: 185584349433871 [10:21:07]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T102109&type=1&operation_type=1&fn_number=0000000000959456&fd_number=19032&fm=185584349433871&tin=02508201610067®Number=0000000000152968&sum=10500 [10:21:07]line 0 [10:21:07]OFD Sender: Processing packet 19032 [packets to send 7, broken 6] [10:21:07]ProducePacketName [10:21:07]name=ofd_packets/00019032 [10:21:07]OFD Sender: To server: pG, [10:21:07]CommunicateWithHost lk.salyk.kg:30040 [10:21:07]ConnectInit lk.salyk.kg [10:21:07]written 0, free lines is 4095 [10:21:08]Connected sock=10 [10:21:08]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 2E 01 00 00 1A 5A 26 01 02 2D 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 34 37 33 30 30 31 38 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 04 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 95 35 F5 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 58 4A 00 00 35 04 06 00 A8 C9 B9 39 50 0F A3 7A EA 9B E1 A3 02 2A [10:21:08]Write to MH i2c: 01 00 00 85 0A 8F [10:21:08]Write i2c OK [10:21:08]MH_I2C_Read... [10:21:08]Read from MH i2c: 01 [10:21:08]MH_I2C_Read... [10:21:08]Read from MH i2c: 01 07 00 [10:21:08]MH_I2C_Read... [10:21:08]Read from MH i2c: 01 07 00 85 0A 00 00 00 00 00 19 0D BC [10:21:08]RasterBufferAndPrint [10:21:08]line [10:21:08]line [10:21:08]line [10:21:08]line [10:21:08]line [10:21:08]written 0, free lines is 3359 [10:21:08]MH_Cut [10:21:08]Write to MH i2c: D1 01 00 8C 0A 01 68 [10:21:08]Write i2c OK [10:21:08]MH_I2C_Read... [10:21:08]Read from MH i2c: D1 [10:21:08]MH_I2C_Read... [10:21:08]Read from MH i2c: D1 01 00 [10:21:08]MH_I2C_Read... [10:21:08]Read from MH i2c: D1 01 00 8C 0A 00 67 [10:21:08]Write to MH i2c: 01 00 00 8D 0A 97 [10:21:08]Write i2c OK [10:21:08]MH_I2C_Read... [10:21:08]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 88 CD 47 00 B9 94 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 58 4A 00 00 F4 03 04 00 F0 DE F4 66 B6 04 01 00 00 EE CE 25 31 CC A6 F0 62 [10:21:08]CommunicateWithHost err = 0 [10:21:08]CheckOFDResponse [10:21:08]1017 (14) - 77093643461234 [10:21:08]1041 (16) - 0000000000959456 [10:21:08]1040 (4) - 19032 [10:21:08]1012 (4) - 26.09.2024 04:11 [10:21:08]1206 (1) - 0 [10:21:08]OFD Sender: Remove packet 19032 [10:21:08]ProducePacketName [10:21:08]name=ofd_packets/00019032 [10:21:08]NVStorageDeleteData [10:21:08]OFD Sender: No OFD packet to send [10:21:09]*** Cut start [10:21:09]*** Partial cut [10:21:09]*** CUTSNS_PIN = 1 [10:21:09]*** CUTSNS_PIN = 0 [10:21:09]*** Brake cut motor [10:21:09]Read from MH i2c: 01 [10:21:09]MH_I2C_Read... [10:21:09]*** Stop cut motor [10:21:09]*** Cut end [10:21:09]Read from MH i2c: 01 07 00 [10:21:09]MH_I2C_Read... [10:21:09]Read from MH i2c: 01 07 00 8D 0A 00 00 00 00 00 FF 0F AC [10:21:09]process_action close_receipt done [10:21:09]requested_data is exist [10:21:09]produce_requested_data [10:21:09]requested_item fm.sn is exist - process it [10:21:09]wFMCommunicate request_size=4 [10:21:09]MH_SAM_APDU [10:21:09]CAPDU: 80 11 00 00 [10:21:09]Write to MH i2c: E2 08 00 8E 0A 80 11 00 00 00 00 00 00 12 [10:21:09]Write i2c OK [10:21:09]MH_I2C_Read... [10:21:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:21:09]Read from MH i2c: E2 [10:21:09]MH_I2C_Read... [10:21:09]Read from MH i2c: E2 17 00 [10:21:09]MH_I2C_Read... [10:21:09]Read from MH i2c: E2 17 00 8E 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 6B [10:21:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [10:21:09]wFMCommunicate OK [10:21:09]requested_item fd.num is exist - process it [10:21:09]SAM_PROTO_GetFieldsCounters [10:21:09]wFMCommunicate request_size=4 [10:21:09]MH_SAM_APDU [10:21:09]CAPDU: 80 13 00 00 [10:21:09]Write to MH i2c: E2 08 00 8F 0A 80 13 00 00 00 00 00 00 15 [10:21:09]Write i2c OK [10:21:09]MH_I2C_Read... [10:21:09]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:21:09]Read from MH i2c: E2 [10:21:09]MH_I2C_Read... [10:21:09]Read from MH i2c: E2 62 00 [10:21:09]MH_I2C_Read... [10:21:09]Read from MH i2c: E2 62 00 8F 0A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 58 4A 00 00 0E 04 04 00 B8 00 00 00 12 04 04 00 15 00 00 00 5E 04 04 00 15 00 00 00 57 04 04 00 16 00 00 00 19 04 04 00 00 00 00 00 90 00 DB [10:21:09]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 58 4A 00 00 0E 04 04 00 B8 00 00 00 12 04 04 00 15 00 00 00 5E 04 04 00 15 00 00 00 57 04 04 00 16 00 00 00 19 04 04 00 00 00 00 00 90 00 [10:21:09]wFMCommunicate OK [10:21:09]SAM_PROTO_GetFieldsCounters done [10:21:09]requested_item shift.num is exist - process it [10:21:09]requested_item shift.opened is exist - process it [10:21:09]req_shift_opened [10:21:09]FM_GetShiftState [10:21:09]SAM_PROTO_GetShiftState [10:21:09]wFMCommunicate request_size=4 [10:21:09]MH_SAM_APDU [10:21:09]CAPDU: 80 13 01 00 [10:21:09]Write to MH i2c: E2 08 00 90 0A 80 13 01 00 00 00 00 00 17 [10:21:09]Write i2c OK [10:21:09]MH_I2C_Read... [10:21:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:21:09]Read from MH i2c: E2 [10:21:09]MH_I2C_Read... [10:21:09]Read from MH i2c: E2 0E 00 [10:21:09]MH_I2C_Read... [10:21:09]Read from MH i2c: E2 0E 00 90 0A 00 09 00 01 58 A7 F4 66 00 00 00 00 90 00 7C [10:21:09]RAPDU: 09 00 01 58 A7 F4 66 00 00 00 00 90 00 [10:21:09]wFMCommunicate OK [10:21:09]SAM_PROTO_GetShiftState done [10:21:09]FM_GetShiftState done [10:21:09]req_shift_opened done [10:21:09]requested_item shift.open_date is exist - process it [10:21:09]req_shift_open_date [10:21:09]req_shift_open_date done [10:21:09]produce_requested_data done [10:21:09]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":19032,"shift.num":184,"shift.opened":1,"shift.open_date":1727309656} [10:21:09]process_action_free close_receipt [10:21:09]json_value_free [10:21:09]json_value_free done [10:21:09]process_json_proto returns [10:21:09]Send response to host [10:21:09]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":19032,"shift.num":184,"shift.opened":1,"shift.open_date":1727309656}}} [10:21:09]free response buf [10:21:09]execute_script done [10:21:09]execute_script returns [10:21:09]free content buf [10:21:09]Sock 9.Close socket [10:21:09]Sock 9.Thread stoped [10:21:13]OFD Sender: No OFD packet to send [10:21:18]OFD Sender: No OFD packet to send [10:21:23]OFD Sender: No OFD packet to send [10:21:28]OFD Sender: No OFD packet to send [10:21:33]OFD Sender: No OFD packet to send [10:21:38]OFD Sender: No OFD packet to send [10:21:43]OFD Sender: No OFD packet to send [10:21:48]OFD Sender: No OFD packet to send [10:21:53]OFD Sender: No OFD packet to send [10:21:58]OFD Sender: No OFD packet to send [10:22:03]OFD Sender: No OFD packet to send [10:22:09]OFD Sender: No OFD packet to send [10:22:13]accept exits with 7 [10:22:13]New connection [10:22:13]New thread 3066551652 created [10:22:13]Thread 3066695012 joined [10:22:13]Waiting for new connection... [10:22:13] Sock 7.Parse request [10:22:13]Sock 7.Check first char [10:22:13]Sock 7.First char is OK [10:22:13]request: POST /json_proto HTTP/1.0 [10:22:13]Method: POST [10:22:13]URL: /json_proto [10:22:13]Method is POST - this is cgi request [10:22:13]url: /json_proto [10:22:13]query_string will be loaded in cgi processing [10:22:13]execute_cgi json_proto POST (null) [10:22:13]execute_cgi path=json_proto method=POST [10:22:13]POST find Content-Length [10:22:13]Host: 172.17.62.196:8080 [10:22:13]Content-Length: 682 [10:22:13]Content-Type: application/json [10:22:13] [10:22:13]POST finish read [10:22:13]Found Content-Length = 682 [10:22:13]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)118295", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 43", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-5", "price" : 74.20, "quantity" : 13.480, "sum" : 1000.22, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "total" : 1000.00, "payments": [ { "type": 0, "sum" : 1000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:22:13]execute_script... [10:22: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 : (1)118295", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 43", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-5", "price" : 74.20, "quantity" : 13.480, "sum" : 1000.22, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "total" : 1000.00, "payments": [ { "type": 0, "sum" : 1000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:22:13]POST & json_proto [10:22:13]process_json_proto [10:22:13]json parsed OK: [10:22:13]protocol is kg_v1.0 [10:22:13]action value=close_receipt [10:22:13]process_action close_receipt [10:22:13]cmd_close_receipt [10:22:13]MH_GetDate [10:22:13]Write to MH i2c: F0 00 00 91 0A 8A [10:22:13]Write i2c OK [10:22:13]MH_I2C_Read... [10:22:13]Read from MH i2c: F0 [10:22:13]MH_I2C_Read... [10:22:13]Read from MH i2c: F0 09 00 [10:22:13]MH_I2C_Read... [10:22:13]Read from MH i2c: F0 09 00 91 0A 00 D9 35 F5 66 CE CC 0E 66 0A [10:22:13]GetLastDocTimeStamp 1727346069 [10:22:13]current date 1727346137 [10:22:13]FM_GetShiftState [10:22:13]SAM_PROTO_GetShiftState [10:22:13]wFMCommunicate request_size=4 [10:22:13]MH_SAM_APDU [10:22:13]CAPDU: 80 13 01 00 [10:22:13]Write to MH i2c: E2 08 00 92 0A 80 13 01 00 00 00 00 00 19 [10:22:13]Write i2c OK [10:22:13]MH_I2C_Read... [10:22:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:22:13]Read from MH i2c: E2 [10:22:13]MH_I2C_Read... [10:22:13]Read from MH i2c: E2 0E 00 [10:22:13]MH_I2C_Read... [10:22:13]Read from MH i2c: E2 0E 00 92 0A 00 09 00 01 58 A7 F4 66 00 00 00 00 90 00 7E [10:22:13]RAPDU: 09 00 01 58 A7 F4 66 00 00 00 00 90 00 [10:22:13]wFMCommunicate OK [10:22:13]SAM_PROTO_GetShiftState done [10:22:13]FM_GetShiftState done [10:22:13]opened in 1727309656 [10:22:13]opened+sec_in_day 1727396056 [10:22:13]quantity*price = 100021 [10:22:13]sum+1 = 100023 [10:22:13]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.22 ИТОГО: 1000.00 Внесено: 1000.00 СДАЧА: 0.00 НСП 1% : 8.85 НДС 12% : 106.22 Наличными: 1000.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 22 26.09.2024 10:22 Смена: 184 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 19033 ФПД: 89822911960723 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T102217&type=1&operation_type=1&fn_number=0000000000959456&fd_number=19033&fm=89822911960723&tin=02508201610067®Number=0000000000152968&sum=100000 [10:22:14]StoreToDocumentArchive [10:22:14]shift 184 fd 19033 [10:22:14]save to /storage/0184/doc_00019033 [10:22:14]save last doc name /storage/0184/doc_00019033 to /storage/kkm_last_doc_name [10:22:14]save OK [10:22:14]Clear old archive folders... [10:22:14]ProcessDocumentItem done err = 0, tmpTLVsize=251 [10:22:14]tlvbuf is 01D7E390 [10:22:14]SAM_PROTO_ClearQueue [10:22:14]wFMCommunicate request_size=4 [10:22:14]MH_SAM_APDU [10:22:14]CAPDU: 80 09 00 00 [10:22:14]Write to MH i2c: E2 08 00 9F 0A 80 09 00 00 00 00 00 00 1B [10:22:14]Write i2c OK [10:22:14]MH_I2C_Read... [10:22:14]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:22:14]Read from MH i2c: E2 [10:22:14]MH_I2C_Read... [10:22:14]Read from MH i2c: E2 03 00 [10:22:14]MH_I2C_Read... [10:22:14]Read from MH i2c: E2 03 00 9F 0A 00 90 00 1D [10:22:14]RAPDU: 90 00 [10:22:14]wFMCommunicate OK [10:22:14]SAM_PROTO_ClearQueue done [10:22:14]KKMCreateOFDPacket [10:22:14]OFDProtocolAddRootSTLVToBuf [10:22:14]FM_MakeSignedData [10:22:14]FM_MakeSignedData [10:22:14]SAM_PROTO_SignData [10:22:14]wFMCommunicate request_size=4 [10:22:14]MH_SAM_APDU [10:22:14]CAPDU: 80 0D 01 02 [10:22:14]Write to MH i2c: E2 08 00 A0 0A 80 0D 01 02 00 00 00 00 23 [10:22:14]Write i2c OK [10:22:14]MH_I2C_Read... [10:22:14]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:22:14]Read from MH i2c: E2 [10:22:14]MH_I2C_Read... [10:22:14]Read from MH i2c: E2 03 00 [10:22:14]MH_I2C_Read... [10:22:14]Read from MH i2c: E2 03 00 A0 0A 00 90 00 1E [10:22:14]RAPDU: 90 00 [10:22:14]wFMCommunicate OK [10:22:14]wFMCommunicate request_size=255 [10:22:14]MH_SAM_APDU [10:22:14]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 A8 34 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 B6 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7E 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 D9 35 F5 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 59 4A 00 00 35 04 06 00 51 [10:22:14]Write to MH i2c: E2 02 01 A1 0A 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 A8 34 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 B6 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7E 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 D9 35 F5 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 59 4A 00 00 35 04 06 00 51 00 00 06 [10:22:14]Write i2c OK [10:22:14]MH_I2C_Read... [10:22:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:22:15]Read from MH i2c: E2 [10:22:15]MH_I2C_Read... [10:22:15]Read from MH i2c: E2 03 00 [10:22:15]MH_I2C_Read... [10:22:15]Read from MH i2c: E2 03 00 A1 0A 00 90 00 1F [10:22:15]RAPDU: 90 00 [10:22:15]wFMCommunicate OK [10:22:15]wFMCommunicate request_size=10 [10:22:15]MH_SAM_APDU [10:22:15]CAPDU: 80 0D 02 02 05 B1 86 C2 96 93 [10:22:15]Write to MH i2c: E2 0D 00 A2 0A 80 0D 02 02 05 00 B1 86 C2 96 93 00 00 52 [10:22:15]Write i2c OK [10:22:15]MH_I2C_Read... [10:22:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:22:15]Read from MH i2c: E2 [10:22:15]MH_I2C_Read... [10:22:15]Read from MH i2c: E2 03 00 [10:22:15]MH_I2C_Read... [10:22:15]Read from MH i2c: E2 03 00 A2 0A 00 90 00 20 [10:22:15]RAPDU: 90 00 [10:22:15]wFMCommunicate OK [10:22:15]wFMCommunicate request_size=4 [10:22:15]MH_SAM_APDU [10:22:15]CAPDU: 80 0D 03 02 [10:22:15]Write to MH i2c: E2 08 00 A3 0A 80 0D 03 02 00 00 00 00 28 [10:22:15]Write i2c OK [10:22:15]MH_I2C_Read... [10:22:15]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:22:15]Read from MH i2c: E2 [10:22:15]MH_I2C_Read... [10:22:15]Read from MH i2c: E2 0B 00 [10:22:15]MH_I2C_Read... [10:22:15]Read from MH i2c: E2 0B 00 A3 0A 00 94 89 0E 0D B2 46 EB E8 90 00 2C [10:22:15]RAPDU: 94 89 0E 0D B2 46 EB E8 90 00 [10:22:15]wFMCommunicate OK [10:22:15]SAM_PROTO_SignData done [10:22:15]FM_MakeSignedData done [10:22:15]CreateOFDProtocolMessage [10:22:15]wFMCommunicate request_size=4 [10:22:15]MH_SAM_APDU [10:22:15]CAPDU: 80 11 00 00 [10:22:15]Write to MH i2c: E2 08 00 A4 0A 80 11 00 00 00 00 00 00 28 [10:22:15]Write i2c OK [10:22:15]MH_I2C_Read... [10:22:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:22:15]Read from MH i2c: E2 [10:22:15]MH_I2C_Read... [10:22:15]Read from MH i2c: E2 17 00 [10:22:15]MH_I2C_Read... [10:22:15]Read from MH i2c: E2 17 00 A4 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 81 [10:22:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [10:22:15]wFMCommunicate OK [10:22:15]CreateOFDProtocolMessage done [10:22:15]OFDSenderStorePacket 19033 [10:22:15]StoreOFDPacket docnum=19033 [10:22:15]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0F 01 00 00 6A 97 07 01 03 F1 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 A8 34 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 B6 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7E 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 D9 35 F5 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 59 4A 00 00 35 04 06 00 51 B1 86 C2 96 93 94 89 0E 0D B2 46 EB E8 [10:22:15]CheckFolder [10:22:15]dirname=/storage/ofd_packets [10:22:15]CheckFolder done [10:22:15]ProducePacketName [10:22:15]name=ofd_packets/00019033 [10:22:15]NVStorageSaveData ofd_packets/00019033 [10:22:15]File name is /storage/ofd_packets/00019033 [10:22:15]Write 301 bytes [10:22:15]NVStorageSaveData done [10:22:15]OFDSenderStorePacket done [10:22:15]KKMCreateOFDPacket done [10:22:15]NVStorageSaveData kkm_last_timestamp [10:22:15]File name is /storage/kkm_last_timestamp [10:22:15]Write 4 bytes [10:22:15]NVStorageSaveData done [10:22:15]ExternCall_PrintAddStr [10:22:15]wPrintStart [10:22:15]Write to MH i2c: 01 00 00 A5 0A AF [10:22:15]Write i2c OK [10:22:15]MH_I2C_Read... [10:22:15]Read from MH i2c: 01 [10:22:15]MH_I2C_Read... [10:22:15]Read from MH i2c: 01 07 00 [10:22:15]MH_I2C_Read... [10:22:15]Read from MH i2c: 01 07 00 A5 0A 00 00 00 00 00 FF 0F C4 [10:22:15]RasterBufferAndPrint [10:22:15]line Счет N : (1)118295 [10:22:15]line ИНН: 02508201610067 [10:22:15]line Контрольно-Кассовый Чек [10:22:15]line ПРОДАЖА [10:22:15]line ТРК (МРК, ГНК) : 43 [10:22:15]line Товар: 2710124500 [10:22:15]line Аи-95-К-5 [10:22:15]line 13.480 * 74.20 [10:22:15]line = 1000.22 [10:22:15]line НДС 12% НСП 1% [10:22:15]line > о реализуемом товаре [10:22:15]line ОКРУГЛЕНИЕ: -0.22 [10:22:15]line ИТОГО: 1000.00 [10:22:15]line Внесено: 1000.00 [10:22:15]line СДАЧА: 0.00 [10:22:15]line НСП 1% : 8.85 [10:22:15]line НДС 12% : 106.22 [10:22:15]line Наличными: 1000.00 [10:22:15]line Безнал.: 0.00 [10:22:15]line Место: АЗС № 176 "Партнер Нефть" [10:22:15]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [10:22:15]line СНО: Общий режим [10:22:15]line Чек 22 26.09.2024 10:22 [10:22:15]line Смена: 184 ФФД: 1.0 [10:22:15]line ЗНМ: 0300000010 [10:22:15]line РНМ: 0000000000152968 [10:22:15]line Версия ККМ: v1.0 [10:22:15]line ФМ: 0000000000959456 [10:22:15]line ФД: 19033 [10:22:15]line ФПД: 89822911960723 [10:22:15]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T102217&type=1&operation_type=1&fn_number=0000000000959456&fd_number=19033&fm=89822911960723&tin=02508201610067®Number=0000000000152968&sum=100000 [10:22:15]OFD Sender: Processing packet 19033 [packets to send 7, broken 6] [10:22:15]ProducePacketName [10:22:15]name=ofd_packets/00019033 [10:22:15]OFD Sender: To server: pG, [10:22:15]CommunicateWithHost lk.salyk.kg:30040 [10:22:15]ConnectInit lk.salyk.kg [10:22:15]written 0, free lines is 4095 [10:22:15]Connected sock=11 [10:22:15]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0F 01 00 00 6A 97 07 01 03 F1 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 A8 34 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 B6 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7E 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 D9 35 F5 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 59 4A 00 00 35 04 06 00 51 B1 86 C2 96 93 94 89 0E 0D B2 46 EB E8 [10:22:16]Write to MH i2c: 01 00 00 D0 0A DA [10:22:16]Write i2c OK [10:22:16]MH_I2C_Read... [10:22:16]Read from MH i2c: 01 [10:22:16]MH_I2C_Read... [10:22:16]Read from MH i2c: 01 07 00 [10:22:16]MH_I2C_Read... [10:22:16]Read from MH i2c: 01 07 00 D0 0A 00 00 00 00 00 01 0D EF [10:22:16]RasterBufferAndPrint [10:22:16]line [10:22:16]line [10:22:16]line [10:22:16]line [10:22:16]line [10:22:16]written 0, free lines is 3335 [10:22:16]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 1D B0 47 00 79 8B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 59 4A 00 00 F4 03 04 00 33 DF F4 66 B6 04 01 00 00 DC C2 5D 5F B3 92 9C 1D [10:22:16]CommunicateWithHost err = 0 [10:22:16]CheckOFDResponse [10:22:16]1017 (14) - 77093643461234 [10:22:16]1041 (16) - 0000000000959456 [10:22:16]1040 (4) - 19033 [10:22:16]1012 (4) - 26.09.2024 04:12 [10:22:16]1206 (1) - 0 [10:22:16]OFD Sender: Remove packet 19033 [10:22:16]ProducePacketName [10:22:16]name=ofd_packets/00019033 [10:22:16]NVStorageDeleteData [10:22:16]MH_Cut [10:22:16]Write to MH i2c: D1 01 00 D7 0A 01 B3 [10:22:16]Write i2c OK [10:22:16]MH_I2C_Read... [10:22:16]Read from MH i2c: D1 [10:22:16]MH_I2C_Read... [10:22:16]Read from MH i2c: D1 01 00 [10:22:16]MH_I2C_Read... [10:22:16]Read from MH i2c: D1 01 00 D7 0A 00 B2 [10:22:16]Write to MH i2c: 01 00 00 D8 0A E2 [10:22:16]Write i2c OK [10:22:16]MH_I2C_Read... [10:22:16]OFD Sender: No OFD packet to send [10:22:16]*** Cut start [10:22:16]*** Partial cut [10:22:16]*** CUTSNS_PIN = 1 [10:22:16]*** CUTSNS_PIN = 0 [10:22:17]*** Brake cut motor [10:22:17]Read from MH i2c: 01 [10:22:17]MH_I2C_Read... [10:22:17]*** Stop cut motor [10:22:17]*** Cut end [10:22:17]Read from MH i2c: 01 07 00 [10:22:17]MH_I2C_Read... [10:22:17]Read from MH i2c: 01 07 00 D8 0A 00 00 00 00 00 FF 0F F7 [10:22:17]process_action close_receipt done [10:22:17]requested_data is exist [10:22:17]produce_requested_data [10:22:17]requested_item fm.sn is exist - process it [10:22:17]wFMCommunicate request_size=4 [10:22:17]MH_SAM_APDU [10:22:17]CAPDU: 80 11 00 00 [10:22:17]Write to MH i2c: E2 08 00 D9 0A 80 11 00 00 00 00 00 00 5D [10:22:17]Write i2c OK [10:22:17]MH_I2C_Read... [10:22:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:22:17]Read from MH i2c: E2 [10:22:17]MH_I2C_Read... [10:22:17]Read from MH i2c: E2 17 00 [10:22:17]MH_I2C_Read... [10:22:17]Read from MH i2c: E2 17 00 D9 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 B6 [10:22:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [10:22:17]wFMCommunicate OK [10:22:17]requested_item fd.num is exist - process it [10:22:17]SAM_PROTO_GetFieldsCounters [10:22:17]wFMCommunicate request_size=4 [10:22:17]MH_SAM_APDU [10:22:17]CAPDU: 80 13 00 00 [10:22:17]Write to MH i2c: E2 08 00 DA 0A 80 13 00 00 00 00 00 00 60 [10:22:17]Write i2c OK [10:22:17]MH_I2C_Read... [10:22:17]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:22:17]Read from MH i2c: E2 [10:22:17]MH_I2C_Read... [10:22:17]Read from MH i2c: E2 62 00 [10:22:17]MH_I2C_Read... [10:22:17]Read from MH i2c: E2 62 00 DA 0A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 59 4A 00 00 0E 04 04 00 B8 00 00 00 12 04 04 00 16 00 00 00 5E 04 04 00 16 00 00 00 57 04 04 00 17 00 00 00 19 04 04 00 00 00 00 00 90 00 2A [10:22:17]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 59 4A 00 00 0E 04 04 00 B8 00 00 00 12 04 04 00 16 00 00 00 5E 04 04 00 16 00 00 00 57 04 04 00 17 00 00 00 19 04 04 00 00 00 00 00 90 00 [10:22:17]wFMCommunicate OK [10:22:17]SAM_PROTO_GetFieldsCounters done [10:22:17]requested_item shift.num is exist - process it [10:22:17]requested_item shift.opened is exist - process it [10:22:17]req_shift_opened [10:22:17]FM_GetShiftState [10:22:17]SAM_PROTO_GetShiftState [10:22:17]wFMCommunicate request_size=4 [10:22:17]MH_SAM_APDU [10:22:17]CAPDU: 80 13 01 00 [10:22:17]Write to MH i2c: E2 08 00 DB 0A 80 13 01 00 00 00 00 00 62 [10:22:17]Write i2c OK [10:22:17]MH_I2C_Read... [10:22:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:22:17]Read from MH i2c: E2 [10:22:17]MH_I2C_Read... [10:22:17]Read from MH i2c: E2 0E 00 [10:22:17]MH_I2C_Read... [10:22:17]Read from MH i2c: E2 0E 00 DB 0A 00 09 00 01 58 A7 F4 66 00 00 00 00 90 00 C7 [10:22:17]RAPDU: 09 00 01 58 A7 F4 66 00 00 00 00 90 00 [10:22:17]wFMCommunicate OK [10:22:17]SAM_PROTO_GetShiftState done [10:22:17]FM_GetShiftState done [10:22:17]req_shift_opened done [10:22:17]requested_item shift.open_date is exist - process it [10:22:17]req_shift_open_date [10:22:17]req_shift_open_date done [10:22:17]produce_requested_data done [10:22:17]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":19033,"shift.num":184,"shift.opened":1,"shift.open_date":1727309656} [10:22:17]process_action_free close_receipt [10:22:17]json_value_free [10:22:17]json_value_free done [10:22:17]process_json_proto returns [10:22:17]Send response to host [10:22:17]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":19033,"shift.num":184,"shift.opened":1,"shift.open_date":1727309656}}} [10:22:17]free response buf [10:22:17]execute_script done [10:22:17]execute_script returns [10:22:17]free content buf [10:22:17]Sock 7.Close socket [10:22:17]Sock 7.Thread stoped [10:22:21]OFD Sender: No OFD packet to send [10:22:26]OFD Sender: No OFD packet to send [10:22:31]OFD Sender: No OFD packet to send [10:22:36]OFD Sender: No OFD packet to send [10:22:41]OFD Sender: No OFD packet to send [10:22:42]accept exits with 9 [10:22:42]New connection [10:22:42]New thread 3066695012 created [10:22:42]Thread 3066551652 joined [10:22:42]Waiting for new connection... [10:22:42] Sock 9.Parse request [10:22:42]Sock 9.Check first char [10:22:42]Sock 9.First char is OK [10:22:42]request: POST /json_proto HTTP/1.0 [10:22:42]Method: POST [10:22:42]URL: /json_proto [10:22:42]Method is POST - this is cgi request [10:22:42]url: /json_proto [10:22:42]query_string will be loaded in cgi processing [10:22:42]execute_cgi json_proto POST (null) [10:22:42]execute_cgi path=json_proto method=POST [10:22:42]POST find Content-Length [10:22:42]Host: 172.17.62.196:8080 [10:22:42]Content-Length: 215 [10:22:42]Content-Type: application/json [10:22:42] [10:22:42]POST finish read [10:22:42]Found Content-Length = 215 [10:22:42]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:22:42]execute_script... [10:22:42]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:22:42]POST & json_proto [10:22:42]process_json_proto [10:22:42]json parsed OK: [10:22:42]protocol is kg_v1.0 [10:22:42]action value=get_value [10:22:42]process_action get_value [10:22:42]cmd_get_value [10:22:42]process_action get_value done [10:22:42]requested_data is exist [10:22:42]produce_requested_data [10:22:42]requested_item kkm.sn is exist - process it [10:22:42]requested_item kkm.ver is exist - process it [10:22:42]requested_item fm.sn is exist - process it [10:22:42]wFMCommunicate request_size=4 [10:22:42]MH_SAM_APDU [10:22:42]CAPDU: 80 11 00 00 [10:22:42]Write to MH i2c: E2 08 00 DC 0A 80 11 00 00 00 00 00 00 60 [10:22:42]Write i2c OK [10:22:42]MH_I2C_Read... [10:22:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:22:43]Read from MH i2c: E2 [10:22:43]MH_I2C_Read... [10:22:43]Read from MH i2c: E2 17 00 [10:22:43]MH_I2C_Read... [10:22:43]Read from MH i2c: E2 17 00 DC 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 B9 [10:22:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [10:22:43]wFMCommunicate OK [10:22:43]requested_item fd.num is exist - process it [10:22:43]SAM_PROTO_GetFieldsCounters [10:22:43]wFMCommunicate request_size=4 [10:22:43]MH_SAM_APDU [10:22:43]CAPDU: 80 13 00 00 [10:22:43]Write to MH i2c: E2 08 00 DD 0A 80 13 00 00 00 00 00 00 63 [10:22:43]Write i2c OK [10:22:43]MH_I2C_Read... [10:22:43]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:22:43]Read from MH i2c: E2 [10:22:43]MH_I2C_Read... [10:22:43]Read from MH i2c: E2 62 00 [10:22:43]MH_I2C_Read... [10:22:43]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 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 59 4A 00 00 0E 04 04 00 B8 00 00 00 12 04 04 00 16 00 00 00 5E 04 04 00 16 00 00 00 57 04 04 00 17 00 00 00 19 04 04 00 00 00 00 00 90 00 2D [10:22:43]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 59 4A 00 00 0E 04 04 00 B8 00 00 00 12 04 04 00 16 00 00 00 5E 04 04 00 16 00 00 00 57 04 04 00 17 00 00 00 19 04 04 00 00 00 00 00 90 00 [10:22:43]wFMCommunicate OK [10:22:43]SAM_PROTO_GetFieldsCounters done [10:22:43]requested_item shift.num is exist - process it [10:22:43]requested_item shift.opened is exist - process it [10:22:43]req_shift_opened [10:22:43]FM_GetShiftState [10:22:43]SAM_PROTO_GetShiftState [10:22:43]wFMCommunicate request_size=4 [10:22:43]MH_SAM_APDU [10:22:43]CAPDU: 80 13 01 00 [10:22:43]Write to MH i2c: E2 08 00 DE 0A 80 13 01 00 00 00 00 00 65 [10:22:43]Write i2c OK [10:22:43]MH_I2C_Read... [10:22:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:22:43]Read from MH i2c: E2 [10:22:43]MH_I2C_Read... [10:22:43]Read from MH i2c: E2 0E 00 [10:22:43]MH_I2C_Read... [10:22:43]Read from MH i2c: E2 0E 00 DE 0A 00 09 00 01 58 A7 F4 66 00 00 00 00 90 00 CA [10:22:43]RAPDU: 09 00 01 58 A7 F4 66 00 00 00 00 90 00 [10:22:43]wFMCommunicate OK [10:22:43]SAM_PROTO_GetShiftState done [10:22:43]FM_GetShiftState done [10:22:43]req_shift_opened done [10:22:43]requested_item shift.open_date is exist - process it [10:22:43]req_shift_open_date [10:22:43]req_shift_open_date done [10:22:43]produce_requested_data done [10:22:43]produce_requested_data return {"kkm.sn":"0300000010","kkm.ver":"v1.0","fm.sn":"0000000000959456","fd.num":19033,"shift.num":184,"shift.opened":1,"shift.open_date":1727309656} [10:22:43]process_action_free get_value [10:22:43]json_value_free [10:22:43]json_value_free done [10:22:43]process_json_proto returns [10:22:43]Send response to host [10:22:43]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000010","kkm.ver":"v1.0","fm.sn":"0000000000959456","fd.num":19033,"shift.num":184,"shift.opened":1,"shift.open_date":1727309656}}} [10:22:43]free response buf [10:22:43]execute_script done [10:22:43]execute_script returns [10:22:43]free content buf [10:22:43]Sock 9.Close socket [10:22:43]Sock 9.Thread stoped [10:22:43]accept exits with 7 [10:22:43]New connection [10:22:43]New thread 3066551652 created [10:22:43]Thread 3066695012 joined [10:22:43]Waiting for new connection... [10:22:43] Sock 7.Parse request [10:22:43]Sock 7.Check first char [10:22:43]Sock 7.First char is OK [10:22:43]request: POST /json_proto HTTP/1.0 [10:22:43]Method: POST [10:22:43]URL: /json_proto [10:22:43]Method is POST - this is cgi request [10:22:43]url: /json_proto [10:22:43]query_string will be loaded in cgi processing [10:22:43]execute_cgi json_proto POST (null) [10:22:43]execute_cgi path=json_proto method=POST [10:22:43]POST find Content-Length [10:22:43]Host: 172.17.62.196:8080 [10:22:43]Content-Length: 331 [10:22:43]Content-Type: application/json [10:22:43] [10:22:43]POST finish read [10:22:43]Found Content-Length = 331 [10:22:43]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [10:22:43]execute_script... [10:22:43]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [10:22:43]POST & json_proto [10:22:43]process_json_proto [10:22:43]json parsed OK: [10:22:43]protocol is kg_v1.0 [10:22:43]action value=get_value [10:22:43]process_action get_value [10:22:43]cmd_get_value [10:22:43]process_action get_value done [10:22:43]requested_data is exist [10:22:43]produce_requested_data [10:22:43]requested_item fm.sale.total is exist - process it [10:22:43]SAM_PROTO_GetFMData [10:22:43]wFMCommunicate request_size=4 [10:22:43]MH_SAM_APDU [10:22:43]CAPDU: 80 13 03 00 [10:22:43]Write to MH i2c: E2 08 00 DF 0A 80 13 03 00 00 00 00 00 68 [10:22:43]Write i2c OK [10:22:43]MH_I2C_Read... [10:22:43]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [10:22:43]Read from MH i2c: E2 [10:22:43]MH_I2C_Read... [10:22:43]Read from MH i2c: E2 FD 00 [10:22:43]MH_I2C_Read... [10:22:43]Read from MH i2c: E2 FD 00 DF 0A 00 BE 04 85 04 BA 04 6E 04 04 00 E9 48 00 00 69 04 A0 00 6F 04 04 00 DA 48 00 00 B1 04 04 00 B8 DD E2 31 70 04 04 00 C0 9F 67 1F 72 04 04 00 F8 3D 7B 12 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 80 53 4C 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 2B 00 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 98 00 6F 04 04 00 0F 00 00 00 B1 04 03 00 00 8C 55 70 04 03 00 00 8C 55 72 04 00 00 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 CF 15 09 EF 03 09 00 F6 03 01 00 00 90 00 86 [10:22:43]RAPDU: BE 04 85 04 BA 04 6E 04 04 00 E9 48 00 00 69 04 A0 00 6F 04 04 00 DA 48 00 00 B1 04 04 00 B8 DD E2 31 70 04 04 00 C0 9F 67 1F 72 04 04 00 F8 3D 7B 12 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 80 53 4C 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 2B 00 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 98 00 6F 04 04 00 0F 00 00 00 B1 04 03 00 00 8C 55 70 04 03 00 00 8C 55 72 04 00 00 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 CF 15 09 EF 03 09 00 F6 03 01 00 00 90 00 [10:22:43]wFMCommunicate OK [10:22:43]wFMCommunicate request_size=4 [10:22:43]MH_SAM_APDU [10:22:43]CAPDU: 80 17 00 00 [10:22:43]Write to MH i2c: E2 08 00 E0 0A 80 17 00 00 00 00 00 00 6A [10:22:43]Write i2c OK [10:22:43]MH_I2C_Read... [10:22:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:22:44]Read from MH i2c: E2 [10:22:44]MH_I2C_Read... [10:22:44]Read from MH i2c: E2 FD 00 [10:22:44]MH_I2C_Read... [10:22:44]Read from MH i2c: E2 FD 00 E0 0A 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 CF C1 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 90 00 9A [10:22:44]RAPDU: F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 CF C1 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 90 00 [10:22:44]wFMCommunicate OK [10:22:44]wFMCommunicate request_size=4 [10:22:44]MH_SAM_APDU [10:22:44]CAPDU: 80 17 00 00 [10:22:44]Write to MH i2c: E2 08 00 E1 0A 80 17 00 00 00 00 00 00 6B [10:22:44]Write i2c OK [10:22:44]MH_I2C_Read... [10:22:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:22:44]Read from MH i2c: E2 [10:22:44]MH_I2C_Read... [10:22:44]Read from MH i2c: E2 FD 00 [10:22:44]MH_I2C_Read... [10:22:44]Read from MH i2c: E2 FD 00 E1 0A 00 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 90 00 9D [10:22:44]RAPDU: 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 90 00 [10:22:44]wFMCommunicate OK [10:22:44]wFMCommunicate request_size=4 [10:22:44]MH_SAM_APDU [10:22:44]CAPDU: 80 17 00 00 [10:22:44]Write to MH i2c: E2 08 00 E2 0A 80 17 00 00 00 00 00 00 6C [10:22:44]Write i2c OK [10:22:44]MH_I2C_Read... [10:22:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:22:44]Read from MH i2c: E2 [10:22:44]MH_I2C_Read... [10:22:44]Read from MH i2c: E2 FD 00 [10:22:44]MH_I2C_Read... [10:22:44]Read from MH i2c: E2 FD 00 E2 0A 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 E7 [10:22:44]RAPDU: 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 [10:22:44]wFMCommunicate OK [10:22:44]wFMCommunicate request_size=4 [10:22:44]MH_SAM_APDU [10:22:44]CAPDU: 80 17 00 00 [10:22:44]Write to MH i2c: E2 08 00 E3 0A 80 17 00 00 00 00 00 00 6D [10:22:44]Write i2c OK [10:22:44]MH_I2C_Read... [10:22:45]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 216! [10:22:45]Read from MH i2c: E2 [10:22:45]MH_I2C_Read... [10:22:45]Read from MH i2c: E2 DB 00 [10:22:45]MH_I2C_Read... [10:22:45]Read from MH i2c: E2 DB 00 E3 0A 00 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 [10:22:45]RAPDU: 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:22:45]wFMCommunicate OK [10:22:45]SAM_PROTO_GetFMData done [10:22:45]requested_item fm.sale_refund.total is exist - process it [10:22:45]requested_item fm.buy.total is exist - process it [10:22:45]requested_item shift.sale.total is exist - process it [10:22:45]SAM_PROTO_GetShiftData [10:22:45]wFMCommunicate request_size=4 [10:22:45]MH_SAM_APDU [10:22:45]CAPDU: 80 13 02 00 [10:22:45]Write to MH i2c: E2 08 00 E4 0A 80 13 02 00 00 00 00 00 6C [10:22:45]Write i2c OK [10:22:45]MH_I2C_Read... [10:22:45]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [10:22:45]Read from MH i2c: E2 [10:22:45]MH_I2C_Read... [10:22:45]Read from MH i2c: E2 FD 00 [10:22:45]MH_I2C_Read... [10:22:45]Read from MH i2c: E2 FD 00 E4 0A 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 E0 C6 08 70 04 03 00 60 5C 07 72 04 03 00 80 6A 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 9C EE EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E1 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 30 [10:22:45]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 E0 C6 08 70 04 03 00 60 5C 07 72 04 03 00 80 6A 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 9C EE EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E1 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 [10:22:45]wFMCommunicate OK [10:22:45]wFMCommunicate request_size=4 [10:22:45]MH_SAM_APDU [10:22:45]CAPDU: 80 17 00 00 [10:22:45]Write to MH i2c: E2 08 00 E5 0A 80 17 00 00 00 00 00 00 6F [10:22:45]Write i2c OK [10:22:45]MH_I2C_Read... [10:22:45]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:22:45]Read from MH i2c: E2 [10:22:45]MH_I2C_Read... [10:22:45]Read from MH i2c: E2 FD 00 [10:22:45]MH_I2C_Read... [10:22:45]Read from MH i2c: E2 FD 00 E5 0A 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 81 [10:22:45]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 [10:22:45]wFMCommunicate OK [10:22:45]wFMCommunicate request_size=4 [10:22:45]MH_SAM_APDU [10:22:45]CAPDU: 80 17 00 00 [10:22:45]Write to MH i2c: E2 08 00 E6 0A 80 17 00 00 00 00 00 00 70 [10:22:45]Write i2c OK [10:22:45]MH_I2C_Read... [10:22:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:22:46]Read from MH i2c: E2 [10:22:46]MH_I2C_Read... [10:22:46]Read from MH i2c: E2 FD 00 [10:22:46]MH_I2C_Read... [10:22:46]Read from MH i2c: E2 FD 00 E6 0A 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 34 [10:22:46]RAPDU: 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 [10:22:46]wFMCommunicate OK [10:22:46]wFMCommunicate request_size=4 [10:22:46]MH_SAM_APDU [10:22:46]CAPDU: 80 17 00 00 [10:22:46]Write to MH i2c: E2 08 00 E7 0A 80 17 00 00 00 00 00 00 71 [10:22:46]Write i2c OK [10:22:46]MH_I2C_Read... [10:22:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:22:46]Read from MH i2c: E2 [10:22:46]MH_I2C_Read... [10:22:46]Read from MH i2c: E2 FD 00 [10:22:46]MH_I2C_Read... [10:22:46]Read from MH i2c: E2 FD 00 E7 0A 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 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 E6 [10:22:46]RAPDU: 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 [10:22:46]wFMCommunicate OK [10:22:46]wFMCommunicate request_size=4 [10:22:46]MH_SAM_APDU [10:22:46]CAPDU: 80 17 00 00 [10:22:46]Write to MH i2c: E2 08 00 E8 0A 80 17 00 00 00 00 00 00 72 [10:22:46]Write i2c OK [10:22:46]MH_I2C_Read... [10:22:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [10:22:46]Read from MH i2c: E2 [10:22:46]MH_I2C_Read... [10:22:46]Read from MH i2c: E2 CA 00 [10:22:46]MH_I2C_Read... [10:22:46]Read from MH i2c: E2 CA 00 E8 0A 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 57 [10:22:46]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:22:46]wFMCommunicate OK [10:22:46]SAM_PROTO_GetShiftData done [10:22:46]requested_item shift.sale.total_cash is exist - process it [10:22:46]requested_item shift.sale_refund.total is exist - process it [10:22:46]requested_item shift.sale_refund.total_cash is exist - process it [10:22:46]requested_item shift.buy.total is exist - process it [10:22:46]requested_item shift.buy.total_cash is exist - process it [10:22:46]produce_requested_data done [10:22:46]produce_requested_data return {"fm.sale.total":8369514.80,"fm.sale_refund.total":56064.00,"fm.buy.total":0.00,"shift.sale.total":5752.00,"shift.sale.total_cash":4824.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [10:22:46]process_action_free get_value [10:22:46]json_value_free [10:22:46]json_value_free done [10:22:46]process_json_proto returns [10:22:46]Send response to host [10:22:46]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":8369514.80,"fm.sale_refund.total":56064.00,"fm.buy.total":0.00,"shift.sale.total":5752.00,"shift.sale.total_cash":4824.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [10:22:46]free response buf [10:22:46]execute_script done [10:22:46]execute_script returns [10:22:46]free content buf [10:22:46]Sock 7.Close socket [10:22:46]Sock 7.Thread stoped [10:22:46]OFD Sender: No OFD packet to send [10:22:51]OFD Sender: No OFD packet to send [10:22:56]OFD Sender: No OFD packet to send [10:23:01]OFD Sender: No OFD packet to send [10:23:06]OFD Sender: No OFD packet to send [10:23:11]OFD Sender: No OFD packet to send [10:23:16]OFD Sender: No OFD packet to send [10:23:21]OFD Sender: No OFD packet to send [10:23:26]OFD Sender: No OFD packet to send [10:23:31]OFD Sender: No OFD packet to send [10:23:36]OFD Sender: No OFD packet to send [10:23:41]OFD Sender: No OFD packet to send [10:23:46]OFD Sender: No OFD packet to send [10:23:51]OFD Sender: No OFD packet to send [10:23:56]OFD Sender: No OFD packet to send [10:24:01]OFD Sender: No OFD packet to send [10:24:06]OFD Sender: No OFD packet to send [10:24:11]OFD Sender: No OFD packet to send [10:24:16]OFD Sender: No OFD packet to send [10:24:21]OFD Sender: No OFD packet to send [10:24:26]OFD Sender: No OFD packet to send [10:24:31]OFD Sender: No OFD packet to send [10:24:36]OFD Sender: No OFD packet to send [10:24:41]OFD Sender: No OFD packet to send [10:24:46]OFD Sender: No OFD packet to send [10:24:51]OFD Sender: No OFD packet to send [10:24:56]OFD Sender: No OFD packet to send [10:25:01]OFD Sender: No OFD packet to send [10:25:06]OFD Sender: No OFD packet to send [10:25:11]OFD Sender: No OFD packet to send [10:25:16]OFD Sender: No OFD packet to send [10:25:21]OFD Sender: No OFD packet to send [10:25:26]OFD Sender: No OFD packet to send [10:25:31]OFD Sender: No OFD packet to send [10:25:36]OFD Sender: No OFD packet to send [10:25:41]OFD Sender: No OFD packet to send [10:25:46]OFD Sender: No OFD packet to send [10:25:51]OFD Sender: No OFD packet to send [10:25:56]OFD Sender: No OFD packet to send [10:26:01]OFD Sender: No OFD packet to send [10:26:06]OFD Sender: No OFD packet to send [10:26:11]OFD Sender: No OFD packet to send [10:26:16]OFD Sender: No OFD packet to send [10:26:21]OFD Sender: No OFD packet to send [10:26:26]OFD Sender: No OFD packet to send [10:26:31]OFD Sender: No OFD packet to send [10:26:36]OFD Sender: No OFD packet to send [10:26:41]OFD Sender: No OFD packet to send [10:26:46]OFD Sender: No OFD packet to send [10:26:51]OFD Sender: No OFD packet to send [10:26:56]OFD Sender: No OFD packet to send [10:27:01]OFD Sender: No OFD packet to send [10:27:06]OFD Sender: No OFD packet to send [10:27:11]OFD Sender: No OFD packet to send [10:27:16]OFD Sender: No OFD packet to send [10:27:21]OFD Sender: No OFD packet to send [10:27:26]OFD Sender: No OFD packet to send [10:27:31]OFD Sender: No OFD packet to send [10:27:36]OFD Sender: No OFD packet to send [10:27:41]OFD Sender: No OFD packet to send [10:27:43]accept exits with 9 [10:27:43]New connection [10:27:43]New thread 3066695012 created [10:27:43]Thread 3066551652 joined [10:27:43]Waiting for new connection... [10:27:43] Sock 9.Parse request [10:27:43]Sock 9.Check first char [10:27:43]Sock 9.First char is OK [10:27:43]request: POST /json_proto HTTP/1.0 [10:27:43]Method: POST [10:27:43]URL: /json_proto [10:27:43]Method is POST - this is cgi request [10:27:43]url: /json_proto [10:27:43]query_string will be loaded in cgi processing [10:27:43]execute_cgi json_proto POST (null) [10:27:43]execute_cgi path=json_proto method=POST [10:27:43]POST find Content-Length [10:27:43]Host: 172.17.62.196:8080 [10:27:43]Content-Length: 809 [10:27:43]Content-Type: application/json [10:27:43] [10:27:43]POST finish read [10:27:43]Found Content-Length = 809 [10:27:43]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)118298", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 32", "code": "2710124130", "name": "\u0410\u0438-92-\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: \u0422\u043E\u043F\u043B\u0438\u0432\u043D\u044B\u0435 \u0422\u0430\u043B\u043E\u043D\u044B\u000A4202016.17.18.19", "payments": [ { "type": 1, "sum" : 0.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:27:43]execute_script... [10:27: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)118298", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 32", "code": "2710124130", "name": "\u0410\u0438-92-\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: \u0422\u043E\u043F\u043B\u0438\u0432\u043D\u044B\u0435 \u0422\u0430\u043B\u043E\u043D\u044B\u000A4202016.17.18.19", "payments": [ { "type": 1, "sum" : 0.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:27:43]POST & json_proto [10:27:43]process_json_proto [10:27:43]json parsed OK: [10:27:43]protocol is kg_v1.0 [10:27:43]action value=close_receipt [10:27:43]process_action close_receipt [10:27:43]cmd_close_receipt [10:27:43]MH_GetDate [10:27:43]Write to MH i2c: F0 00 00 E9 0A E2 [10:27:43]Write i2c OK [10:27:43]MH_I2C_Read... [10:27:43]Read from MH i2c: F0 [10:27:43]MH_I2C_Read... [10:27:43]Read from MH i2c: F0 09 00 [10:27:43]MH_I2C_Read... [10:27:43]Read from MH i2c: F0 09 00 E9 0A 00 23 37 F5 66 CE CC 0E 66 AE [10:27:43]GetLastDocTimeStamp 1727346137 [10:27:43]current date 1727346467 [10:27:43]FM_GetShiftState [10:27:43]SAM_PROTO_GetShiftState [10:27:43]wFMCommunicate request_size=4 [10:27:43]MH_SAM_APDU [10:27:43]CAPDU: 80 13 01 00 [10:27:43]Write to MH i2c: E2 08 00 EA 0A 80 13 01 00 00 00 00 00 71 [10:27:43]Write i2c OK [10:27:43]MH_I2C_Read... [10:27:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:27:43]Read from MH i2c: E2 [10:27:43]MH_I2C_Read... [10:27:43]Read from MH i2c: E2 0E 00 [10:27:43]MH_I2C_Read... [10:27:43]Read from MH i2c: E2 0E 00 EA 0A 00 09 00 01 58 A7 F4 66 00 00 00 00 90 00 D6 [10:27:43]RAPDU: 09 00 01 58 A7 F4 66 00 00 00 00 90 00 [10:27:43]wFMCommunicate OK [10:27:43]SAM_PROTO_GetShiftState done [10:27:43]FM_GetShiftState done [10:27:43]opened in 1727309656 [10:27:43]opened+sec_in_day 1727396056 [10:27:43]quantity*price = 0 [10:27:43]sum+1 = 1 [10:27:43]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 0.00 НСП 1% : 0.00 НДС 12% : 0.00 Наличными: 0.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 23 26.09.2024 10:27 Смена: 184 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 Талоны: Топливные Талоны 4202016.17.18.19 ФМ: 0000000000959456 ФД: 19034 ФПД: 37349905849438 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T102747&type=1&operation_type=1&fn_number=0000000000959456&fd_number=19034&fm=37349905849438&tin=02508201610067®Number=0000000000152968&sum=0 [10:27:44]StoreToDocumentArchive [10:27:44]shift 184 fd 19034 [10:27:44]save to /storage/0184/doc_00019034 [10:27:44]save last doc name /storage/0184/doc_00019034 to /storage/kkm_last_doc_name [10:27:44]save OK [10:27:44]Clear old archive folders... [10:27:44]ProcessDocumentItem done err = 0, tmpTLVsize=251 [10:27:44]tlvbuf is 01D5F830 [10:27:44]SAM_PROTO_ClearQueue [10:27:44]wFMCommunicate request_size=4 [10:27:44]MH_SAM_APDU [10:27:44]CAPDU: 80 09 00 00 [10:27:44]Write to MH i2c: E2 08 00 F7 0A 80 09 00 00 00 00 00 00 73 [10:27:44]Write i2c OK [10:27:44]MH_I2C_Read... [10:27:44]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:27:44]Read from MH i2c: E2 [10:27:44]MH_I2C_Read... [10:27:44]Read from MH i2c: E2 03 00 [10:27:44]MH_I2C_Read... [10:27:44]Read from MH i2c: E2 03 00 F7 0A 00 90 00 75 [10:27:44]RAPDU: 90 00 [10:27:44]wFMCommunicate OK [10:27:44]SAM_PROTO_ClearQueue done [10:27:44]KKMCreateOFDPacket [10:27:44]OFDProtocolAddRootSTLVToBuf [10:27:44]FM_MakeSignedData [10:27:44]FM_MakeSignedData [10:27:44]SAM_PROTO_SignData [10:27:44]wFMCommunicate request_size=4 [10:27:44]MH_SAM_APDU [10:27:44]CAPDU: 80 0D 01 02 [10:27:44]Write to MH i2c: E2 08 00 F8 0A 80 0D 01 02 00 00 00 00 7B [10:27:44]Write i2c OK [10:27:44]MH_I2C_Read... [10:27:44]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:27:44]Read from MH i2c: E2 [10:27:44]MH_I2C_Read... [10:27:44]Read from MH i2c: E2 03 00 [10:27:44]MH_I2C_Read... [10:27:44]Read from MH i2c: E2 03 00 F8 0A 00 90 00 76 [10:27:44]RAPDU: 90 00 [10:27:44]wFMCommunicate OK [10:27:44]wFMCommunicate request_size=255 [10:27:44]MH_SAM_APDU [10:27: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 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 17 00 00 00 F4 03 04 00 23 37 F5 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 5A 4A 00 00 35 04 06 00 21 [10:27:44]Write to MH i2c: E2 02 01 F9 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 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 17 00 00 00 F4 03 04 00 23 37 F5 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 5A 4A 00 00 35 04 06 00 21 00 00 B6 [10:27:44]Write i2c OK [10:27:44]MH_I2C_Read... [10:27:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:27:45]Read from MH i2c: E2 [10:27:45]MH_I2C_Read... [10:27:45]Read from MH i2c: E2 03 00 [10:27:45]MH_I2C_Read... [10:27:45]Read from MH i2c: E2 03 00 F9 0A 00 90 00 77 [10:27:45]RAPDU: 90 00 [10:27:45]wFMCommunicate OK [10:27:45]wFMCommunicate request_size=10 [10:27:45]MH_SAM_APDU [10:27:45]CAPDU: 80 0D 02 02 05 F8 33 DE DC 5E [10:27:45]Write to MH i2c: E2 0D 00 FA 0A 80 0D 02 02 05 00 F8 33 DE DC 5E 00 00 CB [10:27:45]Write i2c OK [10:27:45]MH_I2C_Read... [10:27:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:27:45]Read from MH i2c: E2 [10:27:45]MH_I2C_Read... [10:27:45]Read from MH i2c: E2 03 00 [10:27:45]MH_I2C_Read... [10:27:45]Read from MH i2c: E2 03 00 FA 0A 00 90 00 78 [10:27:45]RAPDU: 90 00 [10:27:45]wFMCommunicate OK [10:27:45]wFMCommunicate request_size=4 [10:27:45]MH_SAM_APDU [10:27:45]CAPDU: 80 0D 03 02 [10:27:45]Write to MH i2c: E2 08 00 FB 0A 80 0D 03 02 00 00 00 00 80 [10:27:45]Write i2c OK [10:27:45]MH_I2C_Read... [10:27:45]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:27:45]Read from MH i2c: E2 [10:27:45]MH_I2C_Read... [10:27:45]Read from MH i2c: E2 0B 00 [10:27:45]MH_I2C_Read... [10:27:45]Read from MH i2c: E2 0B 00 FB 0A 00 28 18 6A 07 89 35 A8 28 90 00 C0 [10:27:45]RAPDU: 28 18 6A 07 89 35 A8 28 90 00 [10:27:45]wFMCommunicate OK [10:27:45]SAM_PROTO_SignData done [10:27:45]FM_MakeSignedData done [10:27:45]CreateOFDProtocolMessage [10:27:45]wFMCommunicate request_size=4 [10:27:45]MH_SAM_APDU [10:27:45]CAPDU: 80 11 00 00 [10:27:45]Write to MH i2c: E2 08 00 FC 0A 80 11 00 00 00 00 00 00 80 [10:27:45]Write i2c OK [10:27:45]MH_I2C_Read... [10:27:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:27:45]Read from MH i2c: E2 [10:27:45]MH_I2C_Read... [10:27:45]Read from MH i2c: E2 17 00 [10:27:45]MH_I2C_Read... [10:27:45]Read from MH i2c: E2 17 00 FC 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 D9 [10:27:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [10:27:45]wFMCommunicate OK [10:27:45]CreateOFDProtocolMessage done [10:27:45]OFDSenderStorePacket 19034 [10:27:45]StoreOFDPacket docnum=19034 [10:27:45]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0F 01 00 00 CC 15 07 01 48 FC 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 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 17 00 00 00 F4 03 04 00 23 37 F5 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 5A 4A 00 00 35 04 06 00 21 F8 33 DE DC 5E 28 18 6A 07 89 35 A8 28 [10:27:45]CheckFolder [10:27:45]dirname=/storage/ofd_packets [10:27:45]CheckFolder done [10:27:45]ProducePacketName [10:27:45]name=ofd_packets/00019034 [10:27:45]NVStorageSaveData ofd_packets/00019034 [10:27:45]File name is /storage/ofd_packets/00019034 [10:27:45]Write 301 bytes [10:27:45]NVStorageSaveData done [10:27:45]OFDSenderStorePacket done [10:27:45]KKMCreateOFDPacket done [10:27:45]NVStorageSaveData kkm_last_timestamp [10:27:45]File name is /storage/kkm_last_timestamp [10:27:45]Write 4 bytes [10:27:45]NVStorageSaveData done [10:27:45]ExternCall_PrintAddStr [10:27:45]wPrintStart [10:27:45]Write to MH i2c: 01 00 00 FD 0A 07 [10:27:45]Write i2c OK [10:27:45]MH_I2C_Read... [10:27:45]Read from MH i2c: 01 [10:27:45]MH_I2C_Read... [10:27:45]Read from MH i2c: 01 07 00 [10:27:45]MH_I2C_Read... [10:27:45]Read from MH i2c: 01 07 00 FD 0A 00 00 00 00 00 FF 0F 1C [10:27:45]RasterBufferAndPrint [10:27:45]line Счет N : (1)118298 [10:27:45]line ИНН: 02508201610067 [10:27:45]line Контрольно-Кассовый Чек [10:27:45]line ПРОДАЖА [10:27:45]line ТРК (МРК, ГНК) : 32 [10:27:45]line Товар: 2710124130 [10:27:45]line Аи-92-К-5 [10:27:45]line 40.000 * 0.00 [10:27:45]line = 0.00 [10:27:45]line НДС 12% НСП 1% [10:27:45]line > о реализуемом товаре [10:27:45]line ИТОГО: 0.00 [10:27:45]line НСП 1% : 0.00 [10:27:45]line НДС 12% : 0.00 [10:27:45]line Наличными: 0.00 [10:27:45]line Безнал.: 0.00 [10:27:45]line Место: АЗС № 176 "Партнер Нефть" [10:27:45]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [10:27:45]line СНО: Общий режим [10:27:45]line Чек 23 26.09.2024 10:27 [10:27:45]line Смена: 184 ФФД: 1.0 [10:27:45]line ЗНМ: 0300000010 [10:27:45]line РНМ: 0000000000152968 [10:27:45]line Версия ККМ: v1.0 [10:27:45]line Талоны: Топливные Талоны [10:27:45]line 4202016.17.18.19 [10:27:45]line ФМ: 0000000000959456 [10:27:45]line ФД: 19034 [10:27:45]line ФПД: 37349905849438 [10:27:45]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T102747&type=1&operation_type=1&fn_number=0000000000959456&fd_number=19034&fm=37349905849438&tin=02508201610067®Number=0000000000152968&sum=0 [10:27:45]OFD Sender: Processing packet 19034 [packets to send 7, broken 6] [10:27:45]ProducePacketName [10:27:45]name=ofd_packets/00019034 [10:27:45]OFD Sender: To server: pG, [10:27:45]CommunicateWithHost lk.salyk.kg:30040 [10:27:45]ConnectInit lk.salyk.kg [10:27:45]written 0, free lines is 4095 [10:27:45]Connected sock=10 [10:27:45]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0F 01 00 00 CC 15 07 01 48 FC 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 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 17 00 00 00 F4 03 04 00 23 37 F5 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 5A 4A 00 00 35 04 06 00 21 F8 33 DE DC 5E 28 18 6A 07 89 35 A8 28 [10:27:46]Write to MH i2c: 01 00 00 27 0B 32 [10:27:46]Write i2c OK [10:27:46]MH_I2C_Read... [10:27:46]Read from MH i2c: 01 [10:27:46]MH_I2C_Read... [10:27:46]Read from MH i2c: 01 07 00 [10:27:46]MH_I2C_Read... [10:27:46]Read from MH i2c: 01 07 00 27 0B 00 00 00 00 00 02 0D 48 [10:27:46]RasterBufferAndPrint [10:27:46]line [10:27:46]line [10:27:46]line [10:27:46]line [10:27:46]line [10:27:46]written 0, free lines is 3336 [10:27:46]MH_Cut [10:27:46]Write to MH i2c: D1 01 00 2E 0B 01 0B [10:27:46]Write i2c OK [10:27:46]MH_I2C_Read... [10:27:46]Read from MH i2c: D1 [10:27:46]MH_I2C_Read... [10:27:46]Read from MH i2c: D1 01 00 [10:27:46]MH_I2C_Read... [10:27:46]Read from MH i2c: D1 01 00 2E 0B 00 0A [10:27:46]Write to MH i2c: 01 00 00 2F 0B 3A [10:27:46]Write i2c OK [10:27:46]MH_I2C_Read... [10:27:46]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 8C DE 47 00 E6 DA A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 5A 4A 00 00 F4 03 04 00 7D E0 F4 66 B6 04 01 00 00 F3 EA 4D DD 10 08 9E 36 [10:27:46]CommunicateWithHost err = 0 [10:27:46]CheckOFDResponse [10:27:46]1017 (14) - 77093643461234 [10:27:46]1041 (16) - 0000000000959456 [10:27:46]1040 (4) - 19034 [10:27:46]1012 (4) - 26.09.2024 04:18 [10:27:46]1206 (1) - 0 [10:27:46]OFD Sender: Remove packet 19034 [10:27:46]ProducePacketName [10:27:46]name=ofd_packets/00019034 [10:27:46]NVStorageDeleteData [10:27:46]OFD Sender: No OFD packet to send [10:27:46]*** Cut start [10:27:46]*** Partial cut [10:27:46]*** CUTSNS_PIN = 1 [10:27:46]*** CUTSNS_PIN = 0 [10:27:47]*** Brake cut motor [10:27:47]Read from MH i2c: 01 [10:27:47]MH_I2C_Read... [10:27:47]*** Stop cut motor [10:27:47]*** Cut end [10:27:47]Read from MH i2c: 01 07 00 [10:27:47]MH_I2C_Read... [10:27:47]Read from MH i2c: 01 07 00 2F 0B 00 00 00 00 00 FF 0F 4F [10:27:47]process_action close_receipt done [10:27:47]requested_data is exist [10:27:47]produce_requested_data [10:27:47]requested_item fm.sn is exist - process it [10:27:47]wFMCommunicate request_size=4 [10:27:47]MH_SAM_APDU [10:27:47]CAPDU: 80 11 00 00 [10:27:47]Write to MH i2c: E2 08 00 30 0B 80 11 00 00 00 00 00 00 B5 [10:27:47]Write i2c OK [10:27:47]MH_I2C_Read... [10:27:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:27:47]Read from MH i2c: E2 [10:27:47]MH_I2C_Read... [10:27:47]Read from MH i2c: E2 17 00 [10:27:47]MH_I2C_Read... [10:27:47]Read from MH i2c: E2 17 00 30 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 0E [10:27:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [10:27:47]wFMCommunicate OK [10:27:47]requested_item fd.num is exist - process it [10:27:47]SAM_PROTO_GetFieldsCounters [10:27:47]wFMCommunicate request_size=4 [10:27:47]MH_SAM_APDU [10:27:47]CAPDU: 80 13 00 00 [10:27:47]Write to MH i2c: E2 08 00 31 0B 80 13 00 00 00 00 00 00 B8 [10:27:47]Write i2c OK [10:27:47]MH_I2C_Read... [10:27:47]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:27:47]Read from MH i2c: E2 [10:27:47]MH_I2C_Read... [10:27:47]Read from MH i2c: E2 62 00 [10:27:47]MH_I2C_Read... [10:27:47]Read from MH i2c: E2 62 00 31 0B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 5A 4A 00 00 0E 04 04 00 B8 00 00 00 12 04 04 00 17 00 00 00 5E 04 04 00 17 00 00 00 57 04 04 00 18 00 00 00 19 04 04 00 00 00 00 00 90 00 86 [10:27:47]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 5A 4A 00 00 0E 04 04 00 B8 00 00 00 12 04 04 00 17 00 00 00 5E 04 04 00 17 00 00 00 57 04 04 00 18 00 00 00 19 04 04 00 00 00 00 00 90 00 [10:27:47]wFMCommunicate OK [10:27:47]SAM_PROTO_GetFieldsCounters done [10:27:47]requested_item shift.num is exist - process it [10:27:47]requested_item shift.opened is exist - process it [10:27:47]req_shift_opened [10:27:47]FM_GetShiftState [10:27:47]SAM_PROTO_GetShiftState [10:27:47]wFMCommunicate request_size=4 [10:27:47]MH_SAM_APDU [10:27:47]CAPDU: 80 13 01 00 [10:27:47]Write to MH i2c: E2 08 00 32 0B 80 13 01 00 00 00 00 00 BA [10:27:47]Write i2c OK [10:27:47]MH_I2C_Read... [10:27:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:27:47]Read from MH i2c: E2 [10:27:47]MH_I2C_Read... [10:27:47]Read from MH i2c: E2 0E 00 [10:27:47]MH_I2C_Read... [10:27:47]Read from MH i2c: E2 0E 00 32 0B 00 09 00 01 58 A7 F4 66 00 00 00 00 90 00 1F [10:27:47]RAPDU: 09 00 01 58 A7 F4 66 00 00 00 00 90 00 [10:27:47]wFMCommunicate OK [10:27:47]SAM_PROTO_GetShiftState done [10:27:47]FM_GetShiftState done [10:27:47]req_shift_opened done [10:27:47]requested_item shift.open_date is exist - process it [10:27:47]req_shift_open_date [10:27:47]req_shift_open_date done [10:27:47]produce_requested_data done [10:27:47]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":19034,"shift.num":184,"shift.opened":1,"shift.open_date":1727309656} [10:27:47]process_action_free close_receipt [10:27:47]json_value_free [10:27:47]json_value_free done [10:27:47]process_json_proto returns [10:27:47]Send response to host [10:27:47]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":19034,"shift.num":184,"shift.opened":1,"shift.open_date":1727309656}}} [10:27:47]free response buf [10:27:47]execute_script done [10:27:47]execute_script returns [10:27:47]free content buf [10:27:47]Sock 9.Close socket [10:27:47]Sock 9.Thread stoped [10:27:51]OFD Sender: No OFD packet to send [10:27:56]OFD Sender: No OFD packet to send [10:28:01]OFD Sender: No OFD packet to send [10:28:06]OFD Sender: No OFD packet to send [10:28:11]OFD Sender: No OFD packet to send [10:28:16]OFD Sender: No OFD packet to send [10:28:21]OFD Sender: No OFD packet to send [10:28:26]OFD Sender: No OFD packet to send [10:28:31]OFD Sender: No OFD packet to send [10:28:36]OFD Sender: No OFD packet to send [10:28:41]OFD Sender: No OFD packet to send [10:28:46]OFD Sender: No OFD packet to send [10:28:51]OFD Sender: No OFD packet to send [10:28:56]OFD Sender: No OFD packet to send [10:29:01]OFD Sender: No OFD packet to send [10:29:06]OFD Sender: No OFD packet to send [10:29:11]OFD Sender: No OFD packet to send [10:29:16]OFD Sender: No OFD packet to send [10:29:21]OFD Sender: No OFD packet to send [10:29:26]OFD Sender: No OFD packet to send [10:29:31]OFD Sender: No OFD packet to send [10:29:36]OFD Sender: No OFD packet to send [10:29:41]OFD Sender: No OFD packet to send [10:29:46]OFD Sender: No OFD packet to send [10:29:51]OFD Sender: No OFD packet to send [10:29:56]OFD Sender: No OFD packet to send [10:30:01]OFD Sender: No OFD packet to send [10:30:06]OFD Sender: No OFD packet to send [10:30:11]OFD Sender: No OFD packet to send [10:30:16]OFD Sender: No OFD packet to send [10:30:21]OFD Sender: No OFD packet to send [10:30:26]OFD Sender: No OFD packet to send [10:30:31]OFD Sender: No OFD packet to send [10:30:36]OFD Sender: No OFD packet to send [10:30:41]OFD Sender: No OFD packet to send [10:30:46]OFD Sender: No OFD packet to send [10:30:51]OFD Sender: No OFD packet to send [10:30:56]OFD Sender: No OFD packet to send [10:31:01]OFD Sender: No OFD packet to send [10:31:06]OFD Sender: No OFD packet to send [10:31:11]OFD Sender: No OFD packet to send [10:31:16]OFD Sender: No OFD packet to send [10:31:21]OFD Sender: No OFD packet to send [10:31:26]OFD Sender: No OFD packet to send [10:31:31]OFD Sender: No OFD packet to send [10:31:36]OFD Sender: No OFD packet to send [10:31:41]OFD Sender: No OFD packet to send [10:31:46]OFD Sender: No OFD packet to send [10:31:51]OFD Sender: No OFD packet to send [10:31:56]OFD Sender: No OFD packet to send [10:32:01]OFD Sender: No OFD packet to send [10:32:06]OFD Sender: No OFD packet to send [10:32:11]OFD Sender: No OFD packet to send [10:32:16]OFD Sender: No OFD packet to send [10:32:21]OFD Sender: No OFD packet to send [10:32:26]OFD Sender: No OFD packet to send [10:32:31]OFD Sender: No OFD packet to send [10:32:36]OFD Sender: No OFD packet to send [10:32:41]OFD Sender: No OFD packet to send [10:32:46]OFD Sender: No OFD packet to send [10:32:51]OFD Sender: No OFD packet to send [10:32:56]OFD Sender: No OFD packet to send [10:33:01]OFD Sender: No OFD packet to send [10:33:06]OFD Sender: No OFD packet to send [10:33:11]OFD Sender: No OFD packet to send [10:33:16]OFD Sender: No OFD packet to send [10:33:21]OFD Sender: No OFD packet to send [10:33:26]OFD Sender: No OFD packet to send [10:33:31]OFD Sender: No OFD packet to send [10:33:36]OFD Sender: No OFD packet to send [10:33: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:52]OFD Sender: No OFD packet to send [10:37:57]OFD Sender: No OFD packet to send [10:38:02]OFD Sender: No OFD packet to send [10:38:07]OFD Sender: No OFD packet to send [10:38:12]OFD Sender: No OFD packet to send [10:38:17]OFD Sender: No OFD packet to send [10:38:22]OFD Sender: No OFD packet to send [10:38:27]OFD Sender: No OFD packet to send [10:38:32]OFD Sender: No OFD packet to send [10:38:37]OFD Sender: No OFD packet to send [10:38:42]OFD Sender: No OFD packet to send [10:38:47]OFD Sender: No OFD packet to send [10:38:52]OFD Sender: No OFD packet to send [10:38:57]OFD Sender: No OFD packet to send [10:39:02]OFD Sender: No OFD packet to send [10:39:07]OFD Sender: No OFD packet to send [10:39:12]OFD Sender: No OFD packet to send [10:39:17]OFD Sender: No OFD packet to send [10:39:22]OFD Sender: No OFD packet to send [10:39:27]OFD Sender: No OFD packet to send [10:39:29]accept exits with 7 [10:39:29]New connection [10:39:29]New thread 3066551652 created [10:39:29]Thread 3066695012 joined [10:39:29]Waiting for new connection... [10:39:29] Sock 7.Parse request [10:39:29]Sock 7.Check first char [10:39:29]Sock 7.First char is OK [10:39:29]request: POST /json_proto HTTP/1.0 [10:39:29]Method: POST [10:39:29]URL: /json_proto [10:39:29]Method is POST - this is cgi request [10:39:29]url: /json_proto [10:39:29]query_string will be loaded in cgi processing [10:39:29]execute_cgi json_proto POST (null) [10:39:29]execute_cgi path=json_proto method=POST [10:39:29]POST find Content-Length [10:39:29]Host: 172.17.62.196:8080 [10:39:29]Content-Length: 679 [10:39:29]Content-Type: application/json [10:39:29] [10:39:29]POST finish read [10:39:29]Found Content-Length = 679 [10:39:29]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16952", "tax_sys" : 0, "items" : [ { "code": "4620016300305", "name": "\u0421\u0430\u043B\u0444\u0435\u0442\u043A\u0438 Absolut classic \u0432\u043B \u0430/\u0431\u0430\u043A\u0442 20 \u0448\u0442", "price" : 55.00, "quantity" : 1.000, "sum" : 55.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 55.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:39:29]execute_script... [10:39: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)16952", "tax_sys" : 0, "items" : [ { "code": "4620016300305", "name": "\u0421\u0430\u043B\u0444\u0435\u0442\u043A\u0438 Absolut classic \u0432\u043B \u0430/\u0431\u0430\u043A\u0442 20 \u0448\u0442", "price" : 55.00, "quantity" : 1.000, "sum" : 55.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 55.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:39:29]POST & json_proto [10:39:29]process_json_proto [10:39:29]json parsed OK: [10:39:29]protocol is kg_v1.0 [10:39:29]action value=close_receipt [10:39:29]process_action close_receipt [10:39:29]cmd_close_receipt [10:39:29]MH_GetDate [10:39:29]Write to MH i2c: F0 00 00 33 0B 2D [10:39:29]Write i2c OK [10:39:29]MH_I2C_Read... [10:39:29]Read from MH i2c: F0 [10:39:29]MH_I2C_Read... [10:39:29]Read from MH i2c: F0 09 00 [10:39:29]MH_I2C_Read... [10:39:29]Read from MH i2c: F0 09 00 33 0B 00 E5 39 F5 66 CE CC 0E 66 BD [10:39:29]GetLastDocTimeStamp 1727346467 [10:39:29]current date 1727347173 [10:39:29]FM_GetShiftState [10:39:29]SAM_PROTO_GetShiftState [10:39:29]wFMCommunicate request_size=4 [10:39:29]MH_SAM_APDU [10:39:29]CAPDU: 80 13 01 00 [10:39:29]Write to MH i2c: E2 08 00 34 0B 80 13 01 00 00 00 00 00 BC [10:39:29]Write i2c OK [10:39:29]MH_I2C_Read... [10:39:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:39:29]Read from MH i2c: E2 [10:39:29]MH_I2C_Read... [10:39:29]Read from MH i2c: E2 0E 00 [10:39:29]MH_I2C_Read... [10:39:29]Read from MH i2c: E2 0E 00 34 0B 00 09 00 01 58 A7 F4 66 00 00 00 00 90 00 21 [10:39:29]RAPDU: 09 00 01 58 A7 F4 66 00 00 00 00 90 00 [10:39:29]wFMCommunicate OK [10:39:29]SAM_PROTO_GetShiftState done [10:39:29]FM_GetShiftState done [10:39:29]opened in 1727309656 [10:39:29]opened+sec_in_day 1727396056 [10:39:29]quantity*price = 5500 [10:39:29]sum+1 = 5501 [10:39:29]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 55.00 НСП 1% : 0.49 НДС 12% : 5.84 Наличными: 55.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 24 26.09.2024 10:39 Смена: 184 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 19035 ФПД: 234505791073244 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T103933&type=1&operation_type=1&fn_number=0000000000959456&fd_number=19035&fm=234505791073244&tin=02508201610067®Number=0000000000152968&sum=5500 0 [10:39:30]StoreToDocumentArchive [10:39:30]shift 184 fd 19035 [10:39:30]save to /storage/0184/doc_00019035 [10:39:30]save last doc name /storage/0184/doc_00019035 to /storage/kkm_last_doc_name [10:39:30]save OK [10:39:30]Clear old archive folders... [10:39:30]ProcessDocumentItem done err = 0, tmpTLVsize=299 [10:39:30]tlvbuf is 01D94AD0 [10:39:30]SAM_PROTO_ClearQueue [10:39:30]wFMCommunicate request_size=4 [10:39:30]MH_SAM_APDU [10:39:30]CAPDU: 80 09 00 00 [10:39:30]Write to MH i2c: E2 08 00 41 0B 80 09 00 00 00 00 00 00 BE [10:39:30]Write i2c OK [10:39:30]MH_I2C_Read... [10:39:30]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:39:30]Read from MH i2c: E2 [10:39:30]MH_I2C_Read... [10:39:30]Read from MH i2c: E2 03 00 [10:39:30]MH_I2C_Read... [10:39:30]Read from MH i2c: E2 03 00 41 0B 00 90 00 C0 [10:39:30]RAPDU: 90 00 [10:39:30]wFMCommunicate OK [10:39:30]SAM_PROTO_ClearQueue done [10:39:30]KKMCreateOFDPacket [10:39:30]OFDProtocolAddRootSTLVToBuf [10:39:30]FM_MakeSignedData [10:39:30]FM_MakeSignedData [10:39:30]SAM_PROTO_SignData [10:39:30]wFMCommunicate request_size=4 [10:39:30]MH_SAM_APDU [10:39:30]CAPDU: 80 0D 01 02 [10:39:30]Write to MH i2c: E2 08 00 42 0B 80 0D 01 02 00 00 00 00 C6 [10:39:30]Write i2c OK [10:39:30]MH_I2C_Read... [10:39:30]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:39:30]Read from MH i2c: E2 [10:39:30]MH_I2C_Read... [10:39:30]Read from MH i2c: E2 03 00 [10:39:30]MH_I2C_Read... [10:39:30]Read from MH i2c: E2 03 00 42 0B 00 90 00 C1 [10:39:30]RAPDU: 90 00 [10:39:30]wFMCommunicate OK [10:39:30]wFMCommunicate request_size=255 [10:39:30]MH_SAM_APDU [10:39:30]CAPDU: 80 0D 02 02 FA 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 36 32 30 30 31 36 33 30 30 33 30 35 06 04 39 00 D0 A1 D0 B0 D0 BB D1 84 D0 B5 D1 82 D0 BA D0 B8 20 41 62 73 6F 6C 75 74 20 63 6C 61 73 73 69 63 20 D0 B2 D0 BB 20 D0 B0 2F D0 B1 D0 B0 D0 BA D1 82 20 32 30 20 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 15 00 00 00 00 13 04 06 00 7C 15 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7C 15 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 31 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 48 02 00 00 00 00 07 04 06 00 7C 15 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 18 00 00 00 F4 03 04 00 E5 39 F5 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 [10:39:31]Write to MH i2c: E2 02 01 43 0B 80 0D 02 02 FA 00 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 36 32 30 30 31 36 33 30 30 33 30 35 06 04 39 00 D0 A1 D0 B0 D0 BB D1 84 D0 B5 D1 82 D0 BA D0 B8 20 41 62 73 6F 6C 75 74 20 63 6C 61 73 73 69 63 20 D0 B2 D0 BB 20 D0 B0 2F D0 B1 D0 B0 D0 BA D1 82 20 32 30 20 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 15 00 00 00 00 13 04 06 00 7C 15 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7C 15 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 31 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 48 02 00 00 00 00 07 04 06 00 7C 15 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 18 00 00 00 F4 03 04 00 E5 39 F5 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 00 00 CE [10:39:31]Write i2c OK [10:39:31]MH_I2C_Read... [10:39:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:39:31]Read from MH i2c: E2 [10:39:31]MH_I2C_Read... [10:39:31]Read from MH i2c: E2 03 00 [10:39:31]MH_I2C_Read... [10:39:31]Read from MH i2c: E2 03 00 43 0B 00 90 00 C2 [10:39:31]RAPDU: 90 00 [10:39:31]wFMCommunicate OK [10:39:31]wFMCommunicate request_size=58 [10:39:31]MH_SAM_APDU [10:39:31]CAPDU: 80 0D 02 02 35 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 5B 4A 00 00 35 04 06 00 D5 48 22 5F EB DC [10:39:31]Write to MH i2c: E2 3D 00 44 0B 80 0D 02 02 35 00 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 5B 4A 00 00 35 04 06 00 D5 48 22 5F EB DC 00 00 CE [10:39:31]Write i2c OK [10:39:31]MH_I2C_Read... [10:39:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:39:31]Read from MH i2c: E2 [10:39:31]MH_I2C_Read... [10:39:31]Read from MH i2c: E2 03 00 [10:39:31]MH_I2C_Read... [10:39:31]Read from MH i2c: E2 03 00 44 0B 00 90 00 C3 [10:39:31]RAPDU: 90 00 [10:39:31]wFMCommunicate OK [10:39:31]wFMCommunicate request_size=4 [10:39:31]MH_SAM_APDU [10:39:31]CAPDU: 80 0D 03 02 [10:39:31]Write to MH i2c: E2 08 00 45 0B 80 0D 03 02 00 00 00 00 CB [10:39:31]Write i2c OK [10:39:31]MH_I2C_Read... [10:39:31]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:39:31]Read from MH i2c: E2 [10:39:31]MH_I2C_Read... [10:39:31]Read from MH i2c: E2 0B 00 [10:39:31]MH_I2C_Read... [10:39:31]Read from MH i2c: E2 0B 00 45 0B 00 8B 9E CA E8 70 DB 48 C0 90 00 FA [10:39:31]RAPDU: 8B 9E CA E8 70 DB 48 C0 90 00 [10:39:31]wFMCommunicate OK [10:39:31]SAM_PROTO_SignData done [10:39:31]FM_MakeSignedData done [10:39:31]CreateOFDProtocolMessage [10:39:31]wFMCommunicate request_size=4 [10:39:31]MH_SAM_APDU [10:39:31]CAPDU: 80 11 00 00 [10:39:31]Write to MH i2c: E2 08 00 46 0B 80 11 00 00 00 00 00 00 CB [10:39:31]Write i2c OK [10:39:31]MH_I2C_Read... [10:39:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:39:31]Read from MH i2c: E2 [10:39:31]MH_I2C_Read... [10:39:31]Read from MH i2c: E2 17 00 [10:39:31]MH_I2C_Read... [10:39:31]Read from MH i2c: E2 17 00 46 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 24 [10:39:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [10:39:31]wFMCommunicate OK [10:39:31]CreateOFDProtocolMessage done [10:39:31]OFDSenderStorePacket 19035 [10:39:31]StoreOFDPacket docnum=19035 [10:39:31]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 3F 01 00 00 F9 B3 37 01 88 7F 5A 03 01 00 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 36 32 30 30 31 36 33 30 30 33 30 35 06 04 39 00 D0 A1 D0 B0 D0 BB D1 84 D0 B5 D1 82 D0 BA D0 B8 20 41 62 73 6F 6C 75 74 20 63 6C 61 73 73 69 63 20 D0 B2 D0 BB 20 D0 B0 2F D0 B1 D0 B0 D0 BA D1 82 20 32 30 20 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 15 00 00 00 00 13 04 06 00 7C 15 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7C 15 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 31 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 48 02 00 00 00 00 07 04 06 00 7C 15 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 18 00 00 00 F4 03 04 00 E5 39 F5 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 5B 4A 00 00 35 04 06 00 D5 48 22 5F EB DC 8B 9E CA E8 70 DB 48 C0 [10:39:31]CheckFolder [10:39:31]dirname=/storage/ofd_packets [10:39:31]CheckFolder done [10:39:31]ProducePacketName [10:39:31]name=ofd_packets/00019035 [10:39:31]NVStorageSaveData ofd_packets/00019035 [10:39:31]File name is /storage/ofd_packets/00019035 [10:39:31]Write 349 bytes [10:39:31]NVStorageSaveData done [10:39:31]OFDSenderStorePacket done [10:39:31]KKMCreateOFDPacket done [10:39:31]NVStorageSaveData kkm_last_timestamp [10:39:31]File name is /storage/kkm_last_timestamp [10:39:31]Write 4 bytes [10:39:31]NVStorageSaveData done [10:39:31]ExternCall_PrintAddStr [10:39:31]wPrintStart [10:39:31]Write to MH i2c: 01 00 00 47 0B 52 [10:39:31]Write i2c OK [10:39:31]MH_I2C_Read... [10:39:31]Read from MH i2c: 01 [10:39:31]MH_I2C_Read... [10:39:31]Read from MH i2c: 01 07 00 [10:39:31]MH_I2C_Read... [10:39:31]Read from MH i2c: 01 07 00 47 0B 00 00 00 00 00 FF 0F 67 [10:39:31]RasterBufferAndPrint [10:39:31]line Счет N : (3)16952 [10:39:31]line ИНН: 02508201610067 [10:39:31]line Контрольно-Кассовый Чек [10:39:31]line ПРОДАЖА [10:39:31]line Товар: 4620016300305 [10:39:31]line Салфетки Absolut classic вл а/бакт 20 шт [10:39:31]line 1.000 * 55.00 [10:39:31]line = 55.00 [10:39:31]line НДС 12% НСП 1% [10:39:31]line > о реализуемом товаре [10:39:31]line ИТОГО: 55.00 [10:39:31]line НСП 1% : 0.49 [10:39:31]line НДС 12% : 5.84 [10:39:31]line Наличными: 55.00 [10:39:31]line Безнал.: 0.00 [10:39:31]line Место: АЗС № 176 "Партнер Нефть" [10:39:31]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [10:39:31]line СНО: Общий режим [10:39:31]line Чек 24 26.09.2024 10:39 [10:39:31]line Смена: 184 ФФД: 1.0 [10:39:31]line ЗНМ: 0300000010 [10:39:31]line РНМ: 0000000000152968 [10:39:31]line Версия ККМ: v1.0 [10:39:31]line ФМ: 0000000000959456 [10:39:31]line ФД: 19035 [10:39:31]line ФПД: 234505791073244 [10:39:31]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T103933&type=1&operation_type=1&fn_number=0000000000959456&fd_number=19035&fm=234505791073244&tin=02508201610067®Number=0000000000152968&sum=5500 [10:39:31]line 0 [10:39:31]OFD Sender: Processing packet 19035 [packets to send 7, broken 6] [10:39:31]ProducePacketName [10:39:31]name=ofd_packets/00019035 [10:39:31]OFD Sender: To server: pG, [10:39:31]CommunicateWithHost lk.salyk.kg:30040 [10:39:31]ConnectInit lk.salyk.kg [10:39:31]written 0, free lines is 4095 [10:39:31]Connected sock=10 [10:39:31]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 3F 01 00 00 F9 B3 37 01 88 7F 5A 03 01 00 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 36 32 30 30 31 36 33 30 30 33 30 35 06 04 39 00 D0 A1 D0 B0 D0 BB D1 84 D0 B5 D1 82 D0 BA D0 B8 20 41 62 73 6F 6C 75 74 20 63 6C 61 73 73 69 63 20 D0 B2 D0 BB 20 D0 B0 2F D0 B1 D0 B0 D0 BA D1 82 20 32 30 20 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 15 00 00 00 00 13 04 06 00 7C 15 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7C 15 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 31 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 48 02 00 00 00 00 07 04 06 00 7C 15 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 18 00 00 00 F4 03 04 00 E5 39 F5 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 5B 4A 00 00 35 04 06 00 D5 48 22 5F EB DC 8B 9E CA E8 70 DB 48 C0 [10:39:32]Write to MH i2c: 01 00 00 70 0B 7B [10:39:32]Write i2c OK [10:39:32]MH_I2C_Read... [10:39:32]Read from MH i2c: 01 [10:39:32]MH_I2C_Read... [10:39:32]Read from MH i2c: 01 07 00 [10:39:32]MH_I2C_Read... [10:39:32]Read from MH i2c: 01 07 00 70 0B 00 00 00 00 00 08 0D 97 [10:39:32]RasterBufferAndPrint [10:39:32]line [10:39:32]line [10:39:32]line [10:39:32]line [10:39:32]line [10:39:32]written 0, free lines is 3343 [10:39:32]MH_Cut [10:39:32]Write to MH i2c: D1 01 00 77 0B 01 54 [10:39:32]Write i2c OK [10:39:32]MH_I2C_Read... [10:39:32]Read from MH i2c: D1 [10:39:32]MH_I2C_Read... [10:39:32]Read from MH i2c: D1 01 00 [10:39:32]MH_I2C_Read... [10:39:32]Read from MH i2c: D1 01 00 77 0B 00 53 [10:39:32]Write to MH i2c: 01 00 00 78 0B 83 [10:39:32]Write i2c OK [10:39:32]MH_I2C_Read... [10:39:32]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 52 12 47 00 B4 67 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 5B 4A 00 00 F4 03 04 00 3F E3 F4 66 B6 04 01 00 00 57 A9 9A 18 DD D2 4F 87 [10:39:32]CommunicateWithHost err = 0 [10:39:32]CheckOFDResponse [10:39:32]1017 (14) - 77093643461234 [10:39:32]1041 (16) - 0000000000959456 [10:39:32]1040 (4) - 19035 [10:39:32]1012 (4) - 26.09.2024 04:29 [10:39:32]1206 (1) - 0 [10:39:32]OFD Sender: Remove packet 19035 [10:39:32]ProducePacketName [10:39:32]name=ofd_packets/00019035 [10:39:32]NVStorageDeleteData [10:39:32]OFD Sender: No OFD packet to send [10:39:32]*** Cut start [10:39:32]*** Partial cut [10:39:32]*** CUTSNS_PIN = 1 [10:39:32]*** CUTSNS_PIN = 0 [10:39:33]*** Brake cut motor [10:39:33]Read from MH i2c: 01 [10:39:33]MH_I2C_Read... [10:39:33]*** Stop cut motor [10:39:33]*** Cut end [10:39:33]Read from MH i2c: 01 07 00 [10:39:33]MH_I2C_Read... [10:39:33]Read from MH i2c: 01 07 00 78 0B 00 00 00 00 00 FF 0F 98 [10:39:33]process_action close_receipt done [10:39:33]requested_data is exist [10:39:33]produce_requested_data [10:39:33]requested_item fm.sn is exist - process it [10:39:33]wFMCommunicate request_size=4 [10:39:33]MH_SAM_APDU [10:39:33]CAPDU: 80 11 00 00 [10:39:33]Write to MH i2c: E2 08 00 79 0B 80 11 00 00 00 00 00 00 FE [10:39:33]Write i2c OK [10:39:33]MH_I2C_Read... [10:39:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:39:33]Read from MH i2c: E2 [10:39:33]MH_I2C_Read... [10:39:33]Read from MH i2c: E2 17 00 [10:39:33]MH_I2C_Read... [10:39:33]Read from MH i2c: E2 17 00 79 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 57 [10:39:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [10:39:33]wFMCommunicate OK [10:39:33]requested_item fd.num is exist - process it [10:39:33]SAM_PROTO_GetFieldsCounters [10:39:33]wFMCommunicate request_size=4 [10:39:33]MH_SAM_APDU [10:39:33]CAPDU: 80 13 00 00 [10:39:33]Write to MH i2c: E2 08 00 7A 0B 80 13 00 00 00 00 00 00 01 [10:39:33]Write i2c OK [10:39:33]MH_I2C_Read... [10:39:33]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:39:33]Read from MH i2c: E2 [10:39:33]MH_I2C_Read... [10:39:33]Read from MH i2c: E2 62 00 [10:39:33]MH_I2C_Read... [10:39:33]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 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 5B 4A 00 00 0E 04 04 00 B8 00 00 00 12 04 04 00 18 00 00 00 5E 04 04 00 18 00 00 00 57 04 04 00 19 00 00 00 19 04 04 00 00 00 00 00 90 00 D3 [10:39:33]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 5B 4A 00 00 0E 04 04 00 B8 00 00 00 12 04 04 00 18 00 00 00 5E 04 04 00 18 00 00 00 57 04 04 00 19 00 00 00 19 04 04 00 00 00 00 00 90 00 [10:39:33]wFMCommunicate OK [10:39:33]SAM_PROTO_GetFieldsCounters done [10:39:33]requested_item shift.num is exist - process it [10:39:33]requested_item shift.opened is exist - process it [10:39:33]req_shift_opened [10:39:33]FM_GetShiftState [10:39:33]SAM_PROTO_GetShiftState [10:39:33]wFMCommunicate request_size=4 [10:39:33]MH_SAM_APDU [10:39:33]CAPDU: 80 13 01 00 [10:39:33]Write to MH i2c: E2 08 00 7B 0B 80 13 01 00 00 00 00 00 03 [10:39:33]Write i2c OK [10:39:33]MH_I2C_Read... [10:39:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:39:33]Read from MH i2c: E2 [10:39:33]MH_I2C_Read... [10:39:33]Read from MH i2c: E2 0E 00 [10:39:33]MH_I2C_Read... [10:39:33]Read from MH i2c: E2 0E 00 7B 0B 00 09 00 01 58 A7 F4 66 00 00 00 00 90 00 68 [10:39:33]RAPDU: 09 00 01 58 A7 F4 66 00 00 00 00 90 00 [10:39:33]wFMCommunicate OK [10:39:33]SAM_PROTO_GetShiftState done [10:39:33]FM_GetShiftState done [10:39:33]req_shift_opened done [10:39:33]requested_item shift.open_date is exist - process it [10:39:33]req_shift_open_date [10:39:33]req_shift_open_date done [10:39:33]produce_requested_data done [10:39:33]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":19035,"shift.num":184,"shift.opened":1,"shift.open_date":1727309656} [10:39:33]process_action_free close_receipt [10:39:33]json_value_free [10:39:33]json_value_free done [10:39:33]process_json_proto returns [10:39:33]Send response to host [10:39:33]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":19035,"shift.num":184,"shift.opened":1,"shift.open_date":1727309656}}} [10:39:33]free response buf [10:39:33]execute_script done [10:39:33]execute_script returns [10:39:33]free content buf [10:39:33]Sock 7.Close socket [10:39:33]Sock 7.Thread stoped [10:39:37]OFD Sender: No OFD packet to send [10:39:42]OFD Sender: No OFD packet to send [10:39:47]OFD Sender: No OFD packet to send [10:39:52]OFD Sender: No OFD packet to send [10:39:57]OFD Sender: No OFD packet to send [10:40:02]OFD Sender: No OFD packet to send [10:40:07]OFD Sender: No OFD packet to send [10:40:12]OFD Sender: No OFD packet to send [10:40:17]OFD Sender: No OFD packet to send [10:40:22]OFD Sender: No OFD packet to send [10:40:27]OFD Sender: No OFD packet to send [10:40:32]OFD Sender: No OFD packet to send [10:40:37]OFD Sender: No OFD packet to send [10:40:42]OFD Sender: No OFD packet to send [10:40:47]OFD Sender: No OFD packet to send [10:40:52]OFD Sender: No OFD packet to send [10:40:57]OFD Sender: No OFD packet to send [10:41:02]OFD Sender: No OFD packet to send [10:41:07]OFD Sender: No OFD packet to send [10:41:12]OFD Sender: No OFD packet to send [10:41:17]OFD Sender: No OFD packet to send [10:41:22]OFD Sender: No OFD packet to send [10:41:27]OFD Sender: No OFD packet to send [10:41:32]OFD Sender: No OFD packet to send [10:41:37]OFD Sender: No OFD packet to send [10:41:42]OFD Sender: No OFD packet to send [10:41:47]OFD Sender: No OFD packet to send [10:41:52]OFD Sender: No OFD packet to send [10:41:57]OFD Sender: No OFD packet to send [10:42:02]accept exits with 9 [10:42:02]New connection [10:42:02]New thread 3066695012 created [10:42:02]Thread 3066551652 joined [10:42:02]Waiting for new connection... [10:42:02] Sock 9.Parse request [10:42:02]Sock 9.Check first char [10:42:02]Sock 9.First char is OK [10:42:02]request: POST /json_proto HTTP/1.0 [10:42:02]Method: POST [10:42:02]URL: /json_proto [10:42:02]Method is POST - this is cgi request [10:42:02]url: /json_proto [10:42:02]query_string will be loaded in cgi processing [10:42:02]execute_cgi json_proto POST (null) [10:42:02]execute_cgi path=json_proto method=POST [10:42:02]POST find Content-Length [10:42:02]Host: 172.17.62.196:8080 [10:42:02]Content-Length: 830 [10:42:02]Content-Type: application/json [10:42:02] [10:42:02]POST finish read [10:42:02]Found Content-Length = 830 [10:42:02]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16955", "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" : 77.00, "quantity" : 1.000, "sum" : 77.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" : 77.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:42:02]execute_script... [10:42: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)16955", "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" : 77.00, "quantity" : 1.000, "sum" : 77.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" : 77.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:42:02]POST & json_proto [10:42:02]process_json_proto [10:42:02]json parsed OK: [10:42:02]protocol is kg_v1.0 [10:42:02]action value=close_receipt [10:42:02]process_action close_receipt [10:42:02]cmd_close_receipt [10:42:02]MH_GetDate [10:42:02]Write to MH i2c: F0 00 00 7C 0B 76 [10:42:02]Write i2c OK [10:42:02]MH_I2C_Read... [10:42:02]Read from MH i2c: F0 [10:42:02]MH_I2C_Read... [10:42:02]Read from MH i2c: F0 09 00 [10:42:02]MH_I2C_Read... [10:42:02]Read from MH i2c: F0 09 00 7C 0B 00 7E 3A F5 66 CE CC 0E 66 A0 [10:42:02]GetLastDocTimeStamp 1727347173 [10:42:02]current date 1727347326 [10:42:02]FM_GetShiftState [10:42:02]SAM_PROTO_GetShiftState [10:42:02]wFMCommunicate request_size=4 [10:42:02]MH_SAM_APDU [10:42:02]CAPDU: 80 13 01 00 [10:42:02]Write to MH i2c: E2 08 00 7D 0B 80 13 01 00 00 00 00 00 05 [10:42:02]Write i2c OK [10:42:02]MH_I2C_Read... [10:42:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:42:02]Read from MH i2c: E2 [10:42:02]MH_I2C_Read... [10:42:02]Read from MH i2c: E2 0E 00 [10:42:02]MH_I2C_Read... [10:42:02]Read from MH i2c: E2 0E 00 7D 0B 00 09 00 01 58 A7 F4 66 00 00 00 00 90 00 6A [10:42:02]RAPDU: 09 00 01 58 A7 F4 66 00 00 00 00 90 00 [10:42:02]wFMCommunicate OK [10:42:02]SAM_PROTO_GetShiftState done [10:42:02]FM_GetShiftState done [10:42:02]opened in 1727309656 [10:42:02]opened+sec_in_day 1727396056 [10:42:02]quantity*price = 7700 [10:42:02]sum+1 = 7701 [10:42:02]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 77.00 НСП 1% : 0.68 НДС 12% : 8.18 Наличными: 0.00 Безнал.: 77.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 25 26.09.2024 10:42 Смена: 184 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 Платежная система: Бакай Банк ФМ: 0000000000959456 ФД: 19036 ФПД: 202634793894698 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T104206&type=1&operation_type=1&fn_number=0000000000959456&fd_number=19036&fm=202634793894698&tin=02508201610067®Number=0000000000152968&sum=7700 0 [10:42:03]StoreToDocumentArchive [10:42:03]shift 184 fd 19036 [10:42:03]save to /storage/0184/doc_00019036 [10:42:03]save last doc name /storage/0184/doc_00019036 to /storage/kkm_last_doc_name [10:42:03]save OK [10:42:03]Clear old archive folders... [10:42:03]ProcessDocumentItem done err = 0, tmpTLVsize=293 [10:42:03]tlvbuf is 01D75C20 [10:42:03]SAM_PROTO_ClearQueue [10:42:03]wFMCommunicate request_size=4 [10:42:03]MH_SAM_APDU [10:42:03]CAPDU: 80 09 00 00 [10:42:03]Write to MH i2c: E2 08 00 8A 0B 80 09 00 00 00 00 00 00 07 [10:42:03]Write i2c OK [10:42:03]MH_I2C_Read... [10:42:03]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:42:03]Read from MH i2c: E2 [10:42:03]MH_I2C_Read... [10:42:03]Read from MH i2c: E2 03 00 [10:42:03]MH_I2C_Read... [10:42:03]Read from MH i2c: E2 03 00 8A 0B 00 90 00 09 [10:42:03]RAPDU: 90 00 [10:42:03]wFMCommunicate OK [10:42:03]SAM_PROTO_ClearQueue done [10:42:03]KKMCreateOFDPacket [10:42:03]OFDProtocolAddRootSTLVToBuf [10:42:03]FM_MakeSignedData [10:42:03]FM_MakeSignedData [10:42:03]SAM_PROTO_SignData [10:42:03]wFMCommunicate request_size=4 [10:42:03]MH_SAM_APDU [10:42:03]CAPDU: 80 0D 01 02 [10:42:03]Write to MH i2c: E2 08 00 8B 0B 80 0D 01 02 00 00 00 00 0F [10:42:03]Write i2c OK [10:42:03]MH_I2C_Read... [10:42:03]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:42:04]Read from MH i2c: E2 [10:42:04]MH_I2C_Read... [10:42:04]Read from MH i2c: E2 03 00 [10:42:04]MH_I2C_Read... [10:42:04]Read from MH i2c: E2 03 00 8B 0B 00 90 00 0A [10:42:04]RAPDU: 90 00 [10:42:04]wFMCommunicate OK [10:42:04]wFMCommunicate request_size=255 [10:42:04]MH_SAM_APDU [10:42:04]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 14 1E 00 00 00 00 13 04 06 00 14 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 1E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 44 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 32 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 14 1E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 7E 3A F5 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 [10:42:04]Write to MH i2c: E2 02 01 8C 0B 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 14 1E 00 00 00 00 13 04 06 00 14 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 1E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 44 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 32 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 14 1E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 7E 3A F5 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 00 00 88 [10:42:04]Write i2c OK [10:42:04]MH_I2C_Read... [10:42:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:42:04]Read from MH i2c: E2 [10:42:04]MH_I2C_Read... [10:42:04]Read from MH i2c: E2 03 00 [10:42:04]MH_I2C_Read... [10:42:04]Read from MH i2c: E2 03 00 8C 0B 00 90 00 0B [10:42:04]RAPDU: 90 00 [10:42:04]wFMCommunicate OK [10:42:04]wFMCommunicate request_size=52 [10:42:04]MH_SAM_APDU [10:42:04]CAPDU: 80 0D 02 02 2F 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 5C 4A 00 00 35 04 06 00 B8 4B 96 E8 C3 2A [10:42:04]Write to MH i2c: E2 37 00 8D 0B 80 0D 02 02 2F 00 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 5C 4A 00 00 35 04 06 00 B8 4B 96 E8 C3 2A 00 00 F5 [10:42:04]Write i2c OK [10:42:04]MH_I2C_Read... [10:42:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:42:04]Read from MH i2c: E2 [10:42:04]MH_I2C_Read... [10:42:04]Read from MH i2c: E2 03 00 [10:42:04]MH_I2C_Read... [10:42:04]Read from MH i2c: E2 03 00 8D 0B 00 90 00 0C [10:42:04]RAPDU: 90 00 [10:42:04]wFMCommunicate OK [10:42:04]wFMCommunicate request_size=4 [10:42:04]MH_SAM_APDU [10:42:04]CAPDU: 80 0D 03 02 [10:42:04]Write to MH i2c: E2 08 00 8E 0B 80 0D 03 02 00 00 00 00 14 [10:42:04]Write i2c OK [10:42:04]MH_I2C_Read... [10:42:04]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:42:04]Read from MH i2c: E2 [10:42:04]MH_I2C_Read... [10:42:04]Read from MH i2c: E2 0B 00 [10:42:04]MH_I2C_Read... [10:42:04]Read from MH i2c: E2 0B 00 8E 0B 00 C2 C1 A6 3E 7E 6C 25 1E 90 00 A9 [10:42:04]RAPDU: C2 C1 A6 3E 7E 6C 25 1E 90 00 [10:42:04]wFMCommunicate OK [10:42:04]SAM_PROTO_SignData done [10:42:04]FM_MakeSignedData done [10:42:04]CreateOFDProtocolMessage [10:42:04]wFMCommunicate request_size=4 [10:42:04]MH_SAM_APDU [10:42:04]CAPDU: 80 11 00 00 [10:42:04]Write to MH i2c: E2 08 00 8F 0B 80 11 00 00 00 00 00 00 14 [10:42:04]Write i2c OK [10:42:04]MH_I2C_Read... [10:42:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:42:04]Read from MH i2c: E2 [10:42:04]MH_I2C_Read... [10:42:04]Read from MH i2c: E2 17 00 [10:42:04]MH_I2C_Read... [10:42:04]Read from MH i2c: E2 17 00 8F 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 6D [10:42:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [10:42:04]wFMCommunicate OK [10:42:04]CreateOFDProtocolMessage done [10:42:04]OFDSenderStorePacket 19036 [10:42:04]StoreOFDPacket docnum=19036 [10:42:04]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 39 01 00 00 36 40 31 01 E9 03 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 14 1E 00 00 00 00 13 04 06 00 14 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 1E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 44 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 32 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 14 1E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 7E 3A F5 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 5C 4A 00 00 35 04 06 00 B8 4B 96 E8 C3 2A C2 C1 A6 3E 7E 6C 25 1E [10:42:04]CheckFolder [10:42:04]dirname=/storage/ofd_packets [10:42:04]CheckFolder done [10:42:04]ProducePacketName [10:42:04]name=ofd_packets/00019036 [10:42:04]NVStorageSaveData ofd_packets/00019036 [10:42:04]File name is /storage/ofd_packets/00019036 [10:42:04]Write 343 bytes [10:42:04]NVStorageSaveData done [10:42:04]OFDSenderStorePacket done [10:42:04]KKMCreateOFDPacket done [10:42:04]NVStorageSaveData kkm_last_timestamp [10:42:04]File name is /storage/kkm_last_timestamp [10:42:04]Write 4 bytes [10:42:04]NVStorageSaveData done [10:42:04]ExternCall_PrintAddStr [10:42:04]wPrintStart [10:42:04]Write to MH i2c: 01 00 00 90 0B 9B [10:42:04]Write i2c OK [10:42:04]MH_I2C_Read... [10:42:04]Read from MH i2c: 01 [10:42:04]MH_I2C_Read... [10:42:04]Read from MH i2c: 01 07 00 [10:42:04]MH_I2C_Read... [10:42:04]Read from MH i2c: 01 07 00 90 0B 00 00 00 00 00 FF 0F B0 [10:42:04]RasterBufferAndPrint [10:42:04]line Счет N : (3)16955 [10:42:04]line ИНН: 02508201610067 [10:42:04]line Контрольно-Кассовый Чек [10:42:04]line ПРОДАЖА [10:42:04]line Товар: 4700000480050 [10:42:04]line Напиток Nitro Energy эн green ж/б 0,45л [10:42:04]line 1.000 * 77.00 [10:42:04]line = 77.00 [10:42:04]line НДС 12% НСП 1% [10:42:04]line > о реализуемом товаре [10:42:04]line ИТОГО: 77.00 [10:42:04]line НСП 1% : 0.68 [10:42:04]line НДС 12% : 8.18 [10:42:04]line Наличными: 0.00 [10:42:04]line Безнал.: 77.00 [10:42:04]line Место: АЗС № 176 "Партнер Нефть" [10:42:04]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [10:42:04]line СНО: Общий режим [10:42:04]line Чек 25 26.09.2024 10:42 [10:42:04]line Смена: 184 ФФД: 1.0 [10:42:04]line ЗНМ: 0300000010 [10:42:04]line РНМ: 0000000000152968 [10:42:04]line Версия ККМ: v1.0 [10:42:04]line Платежная система: Бакай Банк [10:42:04]line ФМ: 0000000000959456 [10:42:04]line ФД: 19036 [10:42:04]line ФПД: 202634793894698 [10:42:04]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T104206&type=1&operation_type=1&fn_number=0000000000959456&fd_number=19036&fm=202634793894698&tin=02508201610067®Number=0000000000152968&sum=7700 [10:42:04]line 0 [10:42:04]OFD Sender: Processing packet 19036 [packets to send 7, broken 6] [10:42:04]ProducePacketName [10:42:04]name=ofd_packets/00019036 [10:42:04]OFD Sender: To server: pG, [10:42:04]CommunicateWithHost lk.salyk.kg:30040 [10:42:04]ConnectInit lk.salyk.kg [10:42:04]written 0, free lines is 4095 [10:42:05]Connected sock=10 [10:42:05]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 39 01 00 00 36 40 31 01 E9 03 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 14 1E 00 00 00 00 13 04 06 00 14 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 1E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 44 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 32 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 14 1E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 7E 3A F5 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 5C 4A 00 00 35 04 06 00 B8 4B 96 E8 C3 2A C2 C1 A6 3E 7E 6C 25 1E [10:42:05]Write to MH i2c: 01 00 00 BB 0B C6 [10:42:05]Write i2c OK [10:42:05]MH_I2C_Read... [10:42:05]Read from MH i2c: 01 [10:42:05]MH_I2C_Read... [10:42:05]Read from MH i2c: 01 07 00 [10:42:05]MH_I2C_Read... [10:42:05]Read from MH i2c: 01 07 00 BB 0B 00 00 00 00 00 FB 0C D4 [10:42:05]RasterBufferAndPrint [10:42:05]line [10:42:05]line [10:42:05]line [10:42:05]line [10:42:05]line [10:42:05]written 0, free lines is 3329 [10:42:05]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 75 0A 47 00 46 1C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 5C 4A 00 00 F4 03 04 00 D9 E3 F4 66 B6 04 01 00 00 02 6B AC 72 61 AD 75 EB [10:42:05]CommunicateWithHost err = 0 [10:42:05]CheckOFDResponse [10:42:05]1017 (14) - 77093643461234 [10:42:05]1041 (16) - 0000000000959456 [10:42:05]1040 (4) - 19036 [10:42:05]1012 (4) - 26.09.2024 04:32 [10:42:05]1206 (1) - 0 [10:42:05]OFD Sender: Remove packet 19036 [10:42:05]ProducePacketName [10:42:05]name=ofd_packets/00019036 [10:42:05]NVStorageDeleteData [10:42:05]MH_Cut [10:42:05]Write to MH i2c: D1 01 00 C2 0B 01 9F [10:42:05]Write i2c OK [10:42:05]MH_I2C_Read... [10:42:05]Read from MH i2c: D1 [10:42:05]MH_I2C_Read... [10:42:05]Read from MH i2c: D1 01 00 [10:42:05]MH_I2C_Read... [10:42:05]Read from MH i2c: D1 01 00 C2 0B 00 9E [10:42:05]Write to MH i2c: 01 00 00 C3 0B CE [10:42:05]Write i2c OK [10:42:05]MH_I2C_Read... [10:42:05]OFD Sender: No OFD packet to send [10:42:05]*** Cut start [10:42:05]*** Partial cut [10:42:05]*** CUTSNS_PIN = 1 [10:42:05]*** CUTSNS_PIN = 0 [10:42:06]*** Brake cut motor [10:42:06]Read from MH i2c: 01 [10:42:06]MH_I2C_Read... [10:42:06]*** Stop cut motor [10:42:06]*** Cut end [10:42:06]Read from MH i2c: 01 07 00 [10:42:06]MH_I2C_Read... [10:42:06]Read from MH i2c: 01 07 00 C3 0B 00 00 00 00 00 FF 0F E3 [10:42:06]process_action close_receipt done [10:42:06]requested_data is exist [10:42:06]produce_requested_data [10:42:06]requested_item fm.sn is exist - process it [10:42:06]wFMCommunicate request_size=4 [10:42:06]MH_SAM_APDU [10:42:06]CAPDU: 80 11 00 00 [10:42:06]Write to MH i2c: E2 08 00 C4 0B 80 11 00 00 00 00 00 00 49 [10:42:06]Write i2c OK [10:42:06]MH_I2C_Read... [10:42:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:42:06]Read from MH i2c: E2 [10:42:06]MH_I2C_Read... [10:42:06]Read from MH i2c: E2 17 00 [10:42:06]MH_I2C_Read... [10:42:06]Read from MH i2c: E2 17 00 C4 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 A2 [10:42:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [10:42:06]wFMCommunicate OK [10:42:06]requested_item fd.num is exist - process it [10:42:06]SAM_PROTO_GetFieldsCounters [10:42:06]wFMCommunicate request_size=4 [10:42:06]MH_SAM_APDU [10:42:06]CAPDU: 80 13 00 00 [10:42:06]Write to MH i2c: E2 08 00 C5 0B 80 13 00 00 00 00 00 00 4C [10:42:06]Write i2c OK [10:42:06]MH_I2C_Read... [10:42:06]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:42:06]Read from MH i2c: E2 [10:42:06]MH_I2C_Read... [10:42:06]Read from MH i2c: E2 62 00 [10:42:06]MH_I2C_Read... [10:42:06]Read from MH i2c: E2 62 00 C5 0B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 5C 4A 00 00 0E 04 04 00 B8 00 00 00 12 04 04 00 19 00 00 00 5E 04 04 00 19 00 00 00 57 04 04 00 1A 00 00 00 19 04 04 00 00 00 00 00 90 00 22 [10:42:06]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 5C 4A 00 00 0E 04 04 00 B8 00 00 00 12 04 04 00 19 00 00 00 5E 04 04 00 19 00 00 00 57 04 04 00 1A 00 00 00 19 04 04 00 00 00 00 00 90 00 [10:42:06]wFMCommunicate OK [10:42:06]SAM_PROTO_GetFieldsCounters done [10:42:06]requested_item shift.num is exist - process it [10:42:06]requested_item shift.opened is exist - process it [10:42:06]req_shift_opened [10:42:06]FM_GetShiftState [10:42:06]SAM_PROTO_GetShiftState [10:42:06]wFMCommunicate request_size=4 [10:42:06]MH_SAM_APDU [10:42:06]CAPDU: 80 13 01 00 [10:42:06]Write to MH i2c: E2 08 00 C6 0B 80 13 01 00 00 00 00 00 4E [10:42:06]Write i2c OK [10:42:06]MH_I2C_Read... [10:42:06]Read from MH i2c: E2 [10:42:06]MH_I2C_Read... [10:42:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:42:06]Read from MH i2c: E2 0E 00 [10:42:06]MH_I2C_Read... [10:42:06]Read from MH i2c: E2 0E 00 C6 0B 00 09 00 01 58 A7 F4 66 00 00 00 00 90 00 B3 [10:42:06]RAPDU: 09 00 01 58 A7 F4 66 00 00 00 00 90 00 [10:42:06]wFMCommunicate OK [10:42:06]SAM_PROTO_GetShiftState done [10:42:06]FM_GetShiftState done [10:42:06]req_shift_opened done [10:42:06]requested_item shift.open_date is exist - process it [10:42:06]req_shift_open_date [10:42:06]req_shift_open_date done [10:42:06]produce_requested_data done [10:42:06]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":19036,"shift.num":184,"shift.opened":1,"shift.open_date":1727309656} [10:42:06]process_action_free close_receipt [10:42:06]json_value_free [10:42:06]json_value_free done [10:42:06]process_json_proto returns [10:42:06]Send response to host [10:42:06]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":19036,"shift.num":184,"shift.opened":1,"shift.open_date":1727309656}}} [10:42:06]free response buf [10:42:06]execute_script done [10:42:06]execute_script returns [10:42:06]free content buf [10:42:06]Sock 9.Close socket [10:42:06]Sock 9.Thread stoped [10:42:10]OFD Sender: No OFD packet to send [10:42:15]OFD Sender: No OFD packet to send [10:42:20]OFD Sender: No OFD packet to send [10:42:25]OFD Sender: No OFD packet to send [10:42:30]OFD Sender: No OFD packet to send [10:42:35]OFD Sender: No OFD packet to send [10:42:40]OFD Sender: No OFD packet to send [10:42:45]OFD Sender: No OFD packet to send [10:42:50]OFD Sender: No OFD packet to send [10:42:55]OFD Sender: No OFD packet to send [10:43:00]OFD Sender: No OFD packet to send [10:43:05]OFD Sender: No OFD packet to send [10:43:10]OFD Sender: No OFD packet to send [10:43:15]OFD Sender: No OFD packet to send [10:43:20]OFD Sender: No OFD packet to send [10:43:25]OFD Sender: No OFD packet to send [10:43:30]OFD Sender: No OFD packet to send [10:43:35]OFD Sender: No OFD packet to send [10:43:40]OFD Sender: No OFD packet to send [10:43:45]OFD Sender: No OFD packet to send [10:43:50]OFD Sender: No OFD packet to send [10:43:55]OFD Sender: No OFD packet to send [10:44:00]OFD Sender: No OFD packet to send [10:44:05]OFD Sender: No OFD packet to send [10:44:10]OFD Sender: No OFD packet to send [10:44:15]OFD Sender: No OFD packet to send [10:44:20]OFD Sender: No OFD packet to send [10:44:25]OFD Sender: No OFD packet to send [10:44:30]OFD Sender: No OFD packet to send [10:44:35]OFD Sender: No OFD packet to send [10:44:40]OFD Sender: No OFD packet to send [10:44:45]OFD Sender: No OFD packet to send [10:44:50]OFD Sender: No OFD packet to send [10:44:55]OFD Sender: No OFD packet to send [10:45:00]OFD Sender: No OFD packet to send [10:45:05]OFD Sender: No OFD packet to send [10:45:10]OFD Sender: No OFD packet to send [10:45:15]OFD Sender: No OFD packet to send [10:45:20]OFD Sender: No OFD packet to send [10:45:25]OFD Sender: No OFD packet to send [10:45:30]OFD Sender: No OFD packet to send [10:45:35]OFD Sender: No OFD packet to send [10:45:40]OFD Sender: No OFD packet to send [10:45:45]OFD Sender: No OFD packet to send [10:45:50]OFD Sender: No OFD packet to send [10:45:55]OFD Sender: No OFD packet to send [10:46:00]OFD Sender: No OFD packet to send [10:46:05]OFD Sender: No OFD packet to send [10:46:10]OFD Sender: No OFD packet to send [10:46:15]OFD Sender: No OFD packet to send [10:46:20]OFD Sender: No OFD packet to send [10:46:26]OFD Sender: No OFD packet to send [10:46:31]OFD Sender: No OFD packet to send [10:46:36]OFD Sender: No OFD packet to send [10:46:41]OFD Sender: No OFD packet to send [10:46:46]OFD Sender: No OFD packet to send [10:46:51]OFD Sender: No OFD packet to send [10:46:56]OFD Sender: No OFD packet to send [10:47:01]OFD Sender: No OFD packet to send [10:47:06]OFD Sender: No OFD packet to send [10:47:11]OFD Sender: No OFD packet to send [10:47:16]OFD Sender: No OFD packet to send [10:47:21]OFD Sender: No OFD packet to send [10:47:26]OFD Sender: No OFD packet to send [10:47:31]OFD Sender: No OFD packet to send [10:47:36]OFD Sender: No OFD packet to send [10:47:41]OFD Sender: No OFD packet to send [10:47:46]OFD Sender: No OFD packet to send [10:47:51]OFD Sender: No OFD packet to send [10:47:56]OFD Sender: No OFD packet to send [10:48:01]OFD Sender: No OFD packet to send [10:48:06]OFD Sender: No OFD packet to send [10:48:11]OFD Sender: No OFD packet to send [10:48:16]OFD Sender: No OFD packet to send [10:48:21]OFD Sender: No OFD packet to send [10:48:26]OFD Sender: No OFD packet to send [10:48:31]OFD Sender: No OFD packet to send [10:48:36]OFD Sender: No OFD packet to send [10:48:41]OFD Sender: No OFD packet to send [10:48:46]OFD Sender: No OFD packet to send [10:48:51]OFD Sender: No OFD packet to send [10:48:56]OFD Sender: No OFD packet to send [10:49:01]OFD Sender: No OFD packet to send [10:49:06]OFD Sender: No OFD packet to send [10:49:11]OFD Sender: No OFD packet to send [10:49:16]OFD Sender: No OFD packet to send [10:49:21]OFD Sender: No OFD packet to send [10:49:26]OFD Sender: No OFD packet to send [10:49:31]OFD Sender: No OFD packet to send [10:49:36]OFD Sender: No OFD packet to send [10:49:41]OFD Sender: No OFD packet to send [10:49:46]OFD Sender: No OFD packet to send [10:49:51]OFD Sender: No OFD packet to send [10:49:56]OFD Sender: No OFD packet to send [10:50:01]OFD Sender: No OFD packet to send [10:50:06]OFD Sender: No OFD packet to send [10:50:11]OFD Sender: No OFD packet to send [10:50:16]OFD Sender: No OFD packet to send [10:50:21]OFD Sender: No OFD packet to send [10:50:26]OFD Sender: No OFD packet to send [10:50:31]OFD Sender: No OFD packet to send [10:50:36]OFD Sender: No OFD packet to send [10:50:41]OFD Sender: No OFD packet to send [10:50:46]OFD Sender: No OFD packet to send [10:50:51]OFD Sender: No OFD packet to send [10:50:56]OFD Sender: No OFD packet to send [10:51:01]OFD Sender: No OFD packet to send [10:51:06]OFD Sender: No OFD packet to send [10:51:11]OFD Sender: No OFD packet to send [10:51:16]OFD Sender: No OFD packet to send [10:51:21]OFD Sender: No OFD packet to send [10:51:26]OFD Sender: No OFD packet to send [10:51:31]OFD Sender: No OFD packet to send [10:51:36]OFD Sender: No OFD packet to send [10:51:41]OFD Sender: No OFD packet to send [10:51:46]OFD Sender: No OFD packet to send [10:51:51]OFD Sender: No OFD packet to send [10:51:51]accept exits with 7 [10:51:51]New connection [10:51:51]New thread 3066551652 created [10:51:51]Thread 3066695012 joined [10:51:51]Waiting for new connection... [10:51:51] Sock 7.Parse request [10:51:51]Sock 7.Check first char [10:51:51]Sock 7.First char is OK [10:51:51]request: POST /json_proto HTTP/1.0 [10:51:51]Method: POST [10:51:51]URL: /json_proto [10:51:51]Method is POST - this is cgi request [10:51:51]url: /json_proto [10:51:51]query_string will be loaded in cgi processing [10:51:51]execute_cgi json_proto POST (null) [10:51:51]execute_cgi path=json_proto method=POST [10:51:51]POST find Content-Length [10:51:51]Host: 172.17.62.196:8080 [10:51:51]Content-Length: 653 [10:51:51]Content-Type: application/json [10:51:51] [10:51:51]POST finish read [10:51:51]Found Content-Length = 653 [10:51:51]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16956", "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" : 77.00, "quantity" : 1.000, "sum" : 77.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 77.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:51:51]execute_script... [10:51: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)16956", "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" : 77.00, "quantity" : 1.000, "sum" : 77.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 77.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:51:51]POST & json_proto [10:51:51]process_json_proto [10:51:51]json parsed OK: [10:51:51]protocol is kg_v1.0 [10:51:51]action value=close_receipt [10:51:51]process_action close_receipt [10:51:51]cmd_close_receipt [10:51:51]MH_GetDate [10:51:51]Write to MH i2c: F0 00 00 C7 0B C1 [10:51:51]Write i2c OK [10:51:51]MH_I2C_Read... [10:51:51]Read from MH i2c: F0 [10:51:51]MH_I2C_Read... [10:51:51]Read from MH i2c: F0 09 00 [10:51:51]MH_I2C_Read... [10:51:51]Read from MH i2c: F0 09 00 C7 0B 00 CB 3C F5 66 CE CC 0E 66 3A [10:51:51]GetLastDocTimeStamp 1727347326 [10:51:51]current date 1727347915 [10:51:51]FM_GetShiftState [10:51:51]SAM_PROTO_GetShiftState [10:51:51]wFMCommunicate request_size=4 [10:51:51]MH_SAM_APDU [10:51:51]CAPDU: 80 13 01 00 [10:51:51]Write to MH i2c: E2 08 00 C8 0B 80 13 01 00 00 00 00 00 50 [10:51:51]Write i2c OK [10:51:51]MH_I2C_Read... [10:51:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:51:51]Read from MH i2c: E2 [10:51:51]MH_I2C_Read... [10:51:51]Read from MH i2c: E2 0E 00 [10:51:51]MH_I2C_Read... [10:51:51]Read from MH i2c: E2 0E 00 C8 0B 00 09 00 01 58 A7 F4 66 00 00 00 00 90 00 B5 [10:51:51]RAPDU: 09 00 01 58 A7 F4 66 00 00 00 00 90 00 [10:51:51]wFMCommunicate OK [10:51:51]SAM_PROTO_GetShiftState done [10:51:51]FM_GetShiftState done [10:51:51]opened in 1727309656 [10:51:51]opened+sec_in_day 1727396056 [10:51:51]quantity*price = 7700 [10:51:51]sum+1 = 7701 [10:51:51]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 77.00 НСП 1% : 0.68 НДС 12% : 8.18 Наличными: 77.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 26 26.09.2024 10:51 Смена: 184 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 19037 ФПД: 117082622892248 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T105155&type=1&operation_type=1&fn_number=0000000000959456&fd_number=19037&fm=117082622892248&tin=02508201610067®Number=0000000000152968&sum=7700 0 [10:51:52]StoreToDocumentArchive [10:51:52]shift 184 fd 19037 [10:51:52]save to /storage/0184/doc_00019037 [10:51:52]save last doc name /storage/0184/doc_00019037 to /storage/kkm_last_doc_name [10:51:52]save OK [10:51:52]Clear old archive folders... [10:51:52]ProcessDocumentItem done err = 0, tmpTLVsize=293 [10:51:52]tlvbuf is 01D72B70 [10:51:52]SAM_PROTO_ClearQueue [10:51:52]wFMCommunicate request_size=4 [10:51:52]MH_SAM_APDU [10:51:52]CAPDU: 80 09 00 00 [10:51:52]Write to MH i2c: E2 08 00 D5 0B 80 09 00 00 00 00 00 00 52 [10:51:52]Write i2c OK [10:51:52]MH_I2C_Read... [10:51:52]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:51:52]Read from MH i2c: E2 [10:51:52]MH_I2C_Read... [10:51:52]Read from MH i2c: E2 03 00 [10:51:52]MH_I2C_Read... [10:51:52]Read from MH i2c: E2 03 00 D5 0B 00 90 00 54 [10:51:52]RAPDU: 90 00 [10:51:52]wFMCommunicate OK [10:51:52]SAM_PROTO_ClearQueue done [10:51:52]KKMCreateOFDPacket [10:51:52]OFDProtocolAddRootSTLVToBuf [10:51:52]FM_MakeSignedData [10:51:52]FM_MakeSignedData [10:51:52]SAM_PROTO_SignData [10:51:52]wFMCommunicate request_size=4 [10:51:52]MH_SAM_APDU [10:51:52]CAPDU: 80 0D 01 02 [10:51:52]Write to MH i2c: E2 08 00 D6 0B 80 0D 01 02 00 00 00 00 5A [10:51:52]Write i2c OK [10:51:52]MH_I2C_Read... [10:51:53]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:51:53]Read from MH i2c: E2 [10:51:53]MH_I2C_Read... [10:51:53]Read from MH i2c: E2 03 00 [10:51:53]MH_I2C_Read... [10:51:53]Read from MH i2c: E2 03 00 D6 0B 00 90 00 55 [10:51:53]RAPDU: 90 00 [10:51:53]wFMCommunicate OK [10:51:53]wFMCommunicate request_size=255 [10:51:53]MH_SAM_APDU [10:51:53]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 14 1E 00 00 00 00 13 04 06 00 14 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 1E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 44 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 32 03 00 00 00 00 07 04 06 00 14 1E 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 CB 3C F5 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 [10:51:53]Write to MH i2c: E2 02 01 D7 0B 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 14 1E 00 00 00 00 13 04 06 00 14 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 1E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 44 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 32 03 00 00 00 00 07 04 06 00 14 1E 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 CB 3C F5 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 00 00 23 [10:51:53]Write i2c OK [10:51:53]MH_I2C_Read... [10:51:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:51:53]Read from MH i2c: E2 [10:51:53]MH_I2C_Read... [10:51:53]Read from MH i2c: E2 03 00 [10:51:53]MH_I2C_Read... [10:51:53]Read from MH i2c: E2 03 00 D7 0B 00 90 00 56 [10:51:53]RAPDU: 90 00 [10:51:53]wFMCommunicate OK [10:51:53]wFMCommunicate request_size=52 [10:51:53]MH_SAM_APDU [10:51:53]CAPDU: 80 0D 02 02 2F 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 5D 4A 00 00 35 04 06 00 6A 7C 6C 25 98 D8 [10:51:53]Write to MH i2c: E2 37 00 D8 0B 80 0D 02 02 2F 00 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 5D 4A 00 00 35 04 06 00 6A 7C 6C 25 98 D8 00 00 BA [10:51:53]Write i2c OK [10:51:53]MH_I2C_Read... [10:51:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:51:53]Read from MH i2c: E2 [10:51:53]MH_I2C_Read... [10:51:53]Read from MH i2c: E2 03 00 [10:51:53]MH_I2C_Read... [10:51:53]Read from MH i2c: E2 03 00 D8 0B 00 90 00 57 [10:51:53]RAPDU: 90 00 [10:51:53]wFMCommunicate OK [10:51:53]wFMCommunicate request_size=4 [10:51:53]MH_SAM_APDU [10:51:53]CAPDU: 80 0D 03 02 [10:51:53]Write to MH i2c: E2 08 00 D9 0B 80 0D 03 02 00 00 00 00 5F [10:51:53]Write i2c OK [10:51:53]MH_I2C_Read... [10:51:53]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:51:53]Read from MH i2c: E2 [10:51:53]MH_I2C_Read... [10:51:53]Read from MH i2c: E2 0B 00 [10:51:53]MH_I2C_Read... [10:51:53]Read from MH i2c: E2 0B 00 D9 0B 00 79 15 BF A4 6D 7F 04 4E 90 00 8F [10:51:53]RAPDU: 79 15 BF A4 6D 7F 04 4E 90 00 [10:51:53]wFMCommunicate OK [10:51:53]SAM_PROTO_SignData done [10:51:53]FM_MakeSignedData done [10:51:53]CreateOFDProtocolMessage [10:51:53]wFMCommunicate request_size=4 [10:51:53]MH_SAM_APDU [10:51:53]CAPDU: 80 11 00 00 [10:51:53]Write to MH i2c: E2 08 00 DA 0B 80 11 00 00 00 00 00 00 5F [10:51:53]Write i2c OK [10:51:53]MH_I2C_Read... [10:51:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:51:53]Read from MH i2c: E2 [10:51:53]MH_I2C_Read... [10:51:53]Read from MH i2c: E2 17 00 [10:51:53]MH_I2C_Read... [10:51:53]Read from MH i2c: E2 17 00 DA 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 B8 [10:51:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [10:51:53]wFMCommunicate OK [10:51:53]CreateOFDProtocolMessage done [10:51:53]OFDSenderStorePacket 19037 [10:51:53]StoreOFDPacket docnum=19037 [10:51:53]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 39 01 00 00 4C 9F 31 01 EF 9E 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 14 1E 00 00 00 00 13 04 06 00 14 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 1E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 44 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 32 03 00 00 00 00 07 04 06 00 14 1E 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 CB 3C F5 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 5D 4A 00 00 35 04 06 00 6A 7C 6C 25 98 D8 79 15 BF A4 6D 7F 04 4E [10:51:53]CheckFolder [10:51:53]dirname=/storage/ofd_packets [10:51:53]CheckFolder done [10:51:53]ProducePacketName [10:51:53]name=ofd_packets/00019037 [10:51:53]NVStorageSaveData ofd_packets/00019037 [10:51:53]File name is /storage/ofd_packets/00019037 [10:51:53]Write 343 bytes [10:51:53]NVStorageSaveData done [10:51:53]OFDSenderStorePacket done [10:51:53]KKMCreateOFDPacket done [10:51:53]NVStorageSaveData kkm_last_timestamp [10:51:53]File name is /storage/kkm_last_timestamp [10:51:53]Write 4 bytes [10:51:53]NVStorageSaveData done [10:51:53]ExternCall_PrintAddStr [10:51:53]wPrintStart [10:51:53]Write to MH i2c: 01 00 00 DB 0B E6 [10:51:53]Write i2c OK [10:51:53]MH_I2C_Read... [10:51:53]Read from MH i2c: 01 [10:51:53]MH_I2C_Read... [10:51:53]Read from MH i2c: 01 07 00 [10:51:53]MH_I2C_Read... [10:51:53]Read from MH i2c: 01 07 00 DB 0B 00 00 00 00 00 FF 0F FB [10:51:53]RasterBufferAndPrint [10:51:53]line Счет N : (3)16956 [10:51:53]line ИНН: 02508201610067 [10:51:53]line Контрольно-Кассовый Чек [10:51:53]line ПРОДАЖА [10:51:53]line Товар: 4700000480050 [10:51:53]line Напиток Nitro Energy эн green ж/б 0,45л [10:51:53]line 1.000 * 77.00 [10:51:53]line = 77.00 [10:51:53]line НДС 12% НСП 1% [10:51:53]line > о реализуемом товаре [10:51:53]line ИТОГО: 77.00 [10:51:53]line НСП 1% : 0.68 [10:51:53]line НДС 12% : 8.18 [10:51:53]line Наличными: 77.00 [10:51:53]line Безнал.: 0.00 [10:51:53]line Место: АЗС № 176 "Партнер Нефть" [10:51:53]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [10:51:53]line СНО: Общий режим [10:51:53]line Чек 26 26.09.2024 10:51 [10:51:53]line Смена: 184 ФФД: 1.0 [10:51:53]line ЗНМ: 0300000010 [10:51:53]line РНМ: 0000000000152968 [10:51:53]line Версия ККМ: v1.0 [10:51:53]line ФМ: 0000000000959456 [10:51:53]line ФД: 19037 [10:51:53]line ФПД: 117082622892248 [10:51:53]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T105155&type=1&operation_type=1&fn_number=0000000000959456&fd_number=19037&fm=117082622892248&tin=02508201610067®Number=0000000000152968&sum=7700 [10:51:53]line 0 [10:51:53]OFD Sender: Processing packet 19037 [packets to send 7, broken 6] [10:51:53]ProducePacketName [10:51:53]name=ofd_packets/00019037 [10:51:53]OFD Sender: To server: pG, [10:51:53]CommunicateWithHost lk.salyk.kg:30040 [10:51:53]ConnectInit lk.salyk.kg [10:51:53]written 0, free lines is 4095 [10:51:54]Connected sock=10 [10:51:54]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 39 01 00 00 4C 9F 31 01 EF 9E 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 14 1E 00 00 00 00 13 04 06 00 14 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 1E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 44 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 32 03 00 00 00 00 07 04 06 00 14 1E 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 CB 3C F5 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 5D 4A 00 00 35 04 06 00 6A 7C 6C 25 98 D8 79 15 BF A4 6D 7F 04 4E [10:51:54]Write to MH i2c: 01 00 00 04 0C 10 [10:51:54]Write i2c OK [10:51:54]MH_I2C_Read... [10:51:54]Read from MH i2c: 01 [10:51:54]MH_I2C_Read... [10:51:54]Read from MH i2c: 01 07 00 [10:51:54]MH_I2C_Read... [10:51:54]Read from MH i2c: 01 07 00 04 0C 00 00 00 00 00 03 0D 27 [10:51:54]RasterBufferAndPrint [10:51:54]line [10:51:54]line [10:51:54]line [10:51:54]line [10:51:54]line [10:51:54]written 0, free lines is 3340 [10:51:54]MH_Cut [10:51:54]Write to MH i2c: D1 01 00 0B 0C 01 E9 [10:51:54]Write i2c OK [10:51:54]MH_I2C_Read... [10:51:54]Read from MH i2c: D1 [10:51:54]MH_I2C_Read... [10:51:54]Read from MH i2c: D1 01 00 [10:51:54]MH_I2C_Read... [10:51:54]Read from MH i2c: D1 01 00 0B 0C 00 E8 [10:51:54]Write to MH i2c: 01 00 00 0C 0C 18 [10:51:54]Write i2c OK [10:51:54]MH_I2C_Read... [10:51:54]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 3D E7 47 00 FC 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 39 35 39 34 35 36 10 04 04 00 5D 4A 00 00 F4 03 04 00 26 E6 F4 66 B6 04 01 00 00 19 EF B2 84 B6 D6 D0 88 [10:51:54]CommunicateWithHost err = 0 [10:51:54]CheckOFDResponse [10:51:54]1017 (14) - 77093643461234 [10:51:54]1041 (16) - 0000000000959456 [10:51:54]1040 (4) - 19037 [10:51:54]1012 (4) - 26.09.2024 04:42 [10:51:54]1206 (1) - 0 [10:51:54]OFD Sender: Remove packet 19037 [10:51:54]ProducePacketName [10:51:54]name=ofd_packets/00019037 [10:51:54]NVStorageDeleteData [10:51:54]OFD Sender: No OFD packet to send [10:51:54]*** Cut start [10:51:54]*** Partial cut [10:51:54]*** CUTSNS_PIN = 1 [10:51:54]*** CUTSNS_PIN = 0 [10:51:55]*** Brake cut motor [10:51:55]Read from MH i2c: 01 [10:51:55]MH_I2C_Read... [10:51:55]*** Stop cut motor [10:51:55]*** Cut end [10:51:55]Read from MH i2c: 01 07 00 [10:51:55]MH_I2C_Read... [10:51:55]Read from MH i2c: 01 07 00 0C 0C 00 00 00 00 00 FF 0F 2D [10:51:55]process_action close_receipt done [10:51:55]requested_data is exist [10:51:55]produce_requested_data [10:51:55]requested_item fm.sn is exist - process it [10:51:55]wFMCommunicate request_size=4 [10:51:55]MH_SAM_APDU [10:51:55]CAPDU: 80 11 00 00 [10:51:55]Write to MH i2c: E2 08 00 0D 0C 80 11 00 00 00 00 00 00 93 [10:51:55]Write i2c OK [10:51:55]MH_I2C_Read... [10:51:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:51:55]Read from MH i2c: E2 [10:51:55]MH_I2C_Read... [10:51:55]Read from MH i2c: E2 17 00 [10:51:55]MH_I2C_Read... [10:51:55]Read from MH i2c: E2 17 00 0D 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 EC [10:51:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [10:51:55]wFMCommunicate OK [10:51:55]requested_item fd.num is exist - process it [10:51:55]SAM_PROTO_GetFieldsCounters [10:51:55]wFMCommunicate request_size=4 [10:51:55]MH_SAM_APDU [10:51:55]CAPDU: 80 13 00 00 [10:51:55]Write to MH i2c: E2 08 00 0E 0C 80 13 00 00 00 00 00 00 96 [10:51:55]Write i2c OK [10:51:55]MH_I2C_Read... [10:51:55]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:51:55]Read from MH i2c: E2 [10:51:55]MH_I2C_Read... [10:51:55]Read from MH i2c: E2 62 00 [10:51:55]MH_I2C_Read... [10:51:55]Read from MH i2c: E2 62 00 0E 0C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 5D 4A 00 00 0E 04 04 00 B8 00 00 00 12 04 04 00 1A 00 00 00 5E 04 04 00 1A 00 00 00 57 04 04 00 1B 00 00 00 19 04 04 00 00 00 00 00 90 00 70 [10:51:55]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 5D 4A 00 00 0E 04 04 00 B8 00 00 00 12 04 04 00 1A 00 00 00 5E 04 04 00 1A 00 00 00 57 04 04 00 1B 00 00 00 19 04 04 00 00 00 00 00 90 00 [10:51:55]wFMCommunicate OK [10:51:55]SAM_PROTO_GetFieldsCounters done [10:51:55]requested_item shift.num is exist - process it [10:51:55]requested_item shift.opened is exist - process it [10:51:55]req_shift_opened [10:51:55]FM_GetShiftState [10:51:55]SAM_PROTO_GetShiftState [10:51:55]wFMCommunicate request_size=4 [10:51:55]MH_SAM_APDU [10:51:55]CAPDU: 80 13 01 00 [10:51:55]Write to MH i2c: E2 08 00 0F 0C 80 13 01 00 00 00 00 00 98 [10:51:55]Write i2c OK [10:51:55]MH_I2C_Read... [10:51:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:51:55]Read from MH i2c: E2 [10:51:55]MH_I2C_Read... [10:51:55]Read from MH i2c: E2 0E 00 [10:51:55]MH_I2C_Read... [10:51:55]Read from MH i2c: E2 0E 00 0F 0C 00 09 00 01 58 A7 F4 66 00 00 00 00 90 00 FD [10:51:55]RAPDU: 09 00 01 58 A7 F4 66 00 00 00 00 90 00 [10:51:55]wFMCommunicate OK [10:51:55]SAM_PROTO_GetShiftState done [10:51:55]FM_GetShiftState done [10:51:55]req_shift_opened done [10:51:55]requested_item shift.open_date is exist - process it [10:51:55]req_shift_open_date [10:51:55]req_shift_open_date done [10:51:55]produce_requested_data done [10:51:55]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":19037,"shift.num":184,"shift.opened":1,"shift.open_date":1727309656} [10:51:55]process_action_free close_receipt [10:51:55]json_value_free [10:51:55]json_value_free done [10:51:55]process_json_proto returns [10:51:55]Send response to host [10:51:55]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":19037,"shift.num":184,"shift.opened":1,"shift.open_date":1727309656}}} [10:51:55]free response buf [10:51:55]execute_script done [10:51:55]execute_script returns [10:51:55]free content buf [10:51:55]Sock 7.Close socket [10:51:55]Sock 7.Thread stoped [10:51:59]OFD Sender: No OFD packet to send [10:52:04]OFD Sender: No OFD packet to send [10:52:09]OFD Sender: No OFD packet to send [10:52:14]OFD Sender: No OFD packet to send [10:52:19]OFD Sender: No OFD packet to send [10:52:24]OFD Sender: No OFD packet to send [10:52:29]OFD Sender: No OFD packet to send [10:52:34]OFD Sender: No OFD packet to send [10:52:39]OFD Sender: No OFD packet to send [10:52:44]OFD Sender: No OFD packet to send [10:52:49]OFD Sender: No OFD packet to send [10:52:54]OFD Sender: No OFD packet to send [10:52:59]OFD Sender: No OFD packet to send [10:53:04]OFD Sender: No OFD packet to send [10:53:09]OFD Sender: No OFD packet to send [10:53:14]OFD Sender: No OFD packet to send [10:53:19]OFD Sender: No OFD packet to send [10:53:24]OFD Sender: No OFD packet to send [10:53:29]OFD Sender: No OFD packet to send [10:53:34]OFD Sender: No OFD packet to send [10:53:39]OFD Sender: No OFD packet to send [10:53:44]OFD Sender: No OFD packet to send [10:53:49]OFD Sender: No OFD packet to send [10:53:54]OFD Sender: No OFD packet to send [10:53:59]OFD Sender: No OFD packet to send [10:54:04]OFD Sender: No OFD packet to send [10:54:09]OFD Sender: No OFD packet to send [10:54:14]OFD Sender: No OFD packet to send [10:54:19]OFD Sender: No OFD packet to send [10:54:24]OFD Sender: No OFD packet to send [10:54:29]OFD Sender: No OFD packet to send [10:54:35]OFD Sender: No OFD packet to send [10:54:40]OFD Sender: No OFD packet to send [10:54:45]OFD Sender: No OFD packet to send [10:54:50]OFD Sender: No OFD packet to send [10:54:55]OFD Sender: No OFD packet to send [10:55:00]OFD Sender: No OFD packet to send [10:55:05]OFD Sender: No OFD packet to send [10:55:10]OFD Sender: No OFD packet to send [10:55:15]OFD Sender: No OFD packet to send [10:55:20]OFD Sender: No OFD packet to send [10:55:25]OFD Sender: No OFD packet to send [10:55:30]OFD Sender: No OFD packet to send [10:55:35]OFD Sender: No OFD packet to send [10:55:40]OFD Sender: No OFD packet to send [10:55:45]OFD Sender: No OFD packet to send [10:55:50]OFD Sender: No OFD packet to send [10:55:55]OFD Sender: No OFD packet to send [10:56:00]OFD Sender: No OFD packet to send [10:56:05]OFD Sender: No OFD packet to send [10:56:10]OFD Sender: No OFD packet to send [10:56:15]OFD Sender: No OFD packet to send [10:56:20]OFD Sender: No OFD packet to send [10:56:25]OFD Sender: No OFD packet to send [10:56:30]OFD Sender: No OFD packet to send [10:56:35]OFD Sender: No OFD packet to send [10:56:40]OFD Sender: No OFD packet to send [10:56:45]OFD Sender: No OFD packet to send [10:56:50]OFD Sender: No OFD packet to send [10:56:55]OFD Sender: No OFD packet to send [10:57:00]OFD Sender: No OFD packet to send [10:57:05]OFD Sender: No OFD packet to send [10:57:10]OFD Sender: No OFD packet to send [10:57:15]OFD Sender: No OFD packet to send [10:57:20]OFD Sender: No OFD packet to send [10:57:25]OFD Sender: No OFD packet to send [10:57:30]OFD Sender: No OFD packet to send [10:57:35]OFD Sender: No OFD packet to send [10:57:40]OFD Sender: No OFD packet to send [10:57:45]OFD Sender: No OFD packet to send [10:57:50]OFD Sender: No OFD packet to send [10:57:55]OFD Sender: No OFD packet to send [10:58:00]OFD Sender: No OFD packet to send [10:58:05]OFD Sender: No OFD packet to send [10:58:10]OFD Sender: No OFD packet to send [10:58:15]OFD Sender: No OFD packet to send [10:58:20]OFD Sender: No OFD packet to send [10:58:25]OFD Sender: No OFD packet to send [10:58:30]OFD Sender: No OFD packet to send [10:58:35]OFD Sender: No OFD packet to send [10:58:40]OFD Sender: No OFD packet to send [10:58:45]OFD Sender: No OFD packet to send [10:58:50]OFD Sender: No OFD packet to send [10:58:55]OFD Sender: No OFD packet to send [10:59:00]OFD Sender: No OFD packet to send [10:59:05]OFD Sender: No OFD packet to send [10:59:10]OFD Sender: No OFD packet to send [10:59:15]OFD Sender: No OFD packet to send [10:59:20]OFD Sender: No OFD packet to send [10:59:25]OFD Sender: No OFD packet to send [10:59:30]OFD Sender: No OFD packet to send [10:59:35]OFD Sender: No OFD packet to send [10:59:40]OFD Sender: No OFD packet to send [10:59:45]OFD Sender: No OFD packet to send [10:59:50]OFD Sender: No OFD packet to send [10:59:55]OFD Sender: No OFD packet to send [11:00:00]OFD Sender: No OFD packet to send [11:00:05]OFD Sender: No OFD packet to send [11:00:10]OFD Sender: No OFD packet to send [11:00:15]OFD Sender: No OFD packet to send [11:00:20]OFD Sender: No OFD packet to send [11:00:25]OFD Sender: No OFD packet to send [11:00:30]OFD Sender: No OFD packet to send [11:00:35]OFD Sender: No OFD packet to send [11:00:40]OFD Sender: No OFD packet to send [11:00:45]OFD Sender: No OFD packet to send [11:00:50]OFD Sender: No OFD packet to send [11:00:55]OFD Sender: No OFD packet to send [11:01:00]OFD Sender: No OFD packet to send [11:01:05]OFD Sender: No OFD packet to send [11:01:10]OFD Sender: No OFD packet to send [11:01:15]OFD Sender: No OFD packet to send [11:01:20]OFD Sender: No OFD packet to send [11:01:25]OFD Sender: No OFD packet to send [11:01:30]OFD Sender: No OFD packet to send [11:01:35]OFD Sender: No OFD packet to send [11:01:40]OFD Sender: No OFD packet to send [11:01:45]OFD Sender: No OFD packet to send [11:01:50]OFD Sender: No OFD packet to send [11:01:55]OFD Sender: No OFD packet to send [11:02:00]OFD Sender: No OFD packet to send [11:02:05]OFD Sender: No OFD packet to send [11:02:10]OFD Sender: No OFD packet to send [11:02:15]OFD Sender: No OFD packet to send [11:02:20]OFD Sender: No OFD packet to send [11:02:25]OFD Sender: No OFD packet to send [11:02:30]OFD Sender: No OFD packet to send [11:02:35]OFD Sender: No OFD packet to send [11:02:40]OFD Sender: No OFD packet to send [11:02:45]OFD Sender: No OFD packet to send [11:02:50]OFD Sender: No OFD packet to send [11:02:55]OFD Sender: No OFD packet to send [11:03:00]OFD Sender: No OFD packet to send [11:03:05]OFD Sender: No OFD packet to send [11:03:10]OFD Sender: No OFD packet to send [11:03:15]OFD Sender: No OFD packet to send [11:03:20]OFD Sender: No OFD packet to send [11:03:25]OFD Sender: No OFD packet to send [11:03:30]OFD Sender: No OFD packet to send [11:03:35]OFD Sender: No OFD packet to send [11:03:40]OFD Sender: No OFD packet to send [11:03:45]OFD Sender: No OFD packet to send [11:03:50]OFD Sender: No OFD packet to send [11:03:55]OFD Sender: No OFD packet to send [11:04:00]OFD Sender: No OFD packet to send [11:04:05]OFD Sender: No OFD packet to send [11:04:10]OFD Sender: No OFD packet to send [11:04:15]OFD Sender: No OFD packet to send [11:04:20]OFD Sender: No OFD packet to send [11:04:25]OFD Sender: No OFD packet to send [11:04:30]OFD Sender: No OFD packet to send [11:04:35]OFD Sender: No OFD packet to send [11:04:40]OFD Sender: No OFD packet to send [11:04:45]OFD Sender: No OFD packet to send [11:04:50]OFD Sender: No OFD packet to send [11:04:55]OFD Sender: No OFD packet to send [11:05:00]OFD Sender: No OFD packet to send [11:05:05]OFD Sender: No OFD packet to send [11:05:10]OFD Sender: No OFD packet to send [11:05:15]OFD Sender: No OFD packet to send [11:05:20]OFD Sender: No OFD packet to send [11:05:25]OFD Sender: No OFD packet to send [11:05:30]OFD Sender: No OFD packet to send [11:05:35]OFD Sender: No OFD packet to send [11:05:40]OFD Sender: No OFD packet to send [11:05:45]OFD Sender: No OFD packet to send [11:05:50]OFD Sender: No OFD packet to send [11:05:55]OFD Sender: No OFD packet to send [11:06:00]OFD Sender: No OFD packet to send [11:06:05]OFD Sender: No OFD packet to send [11:06:10]OFD Sender: No OFD packet to send [11:06:15]OFD Sender: No OFD packet to send [11:06:20]OFD Sender: No OFD packet to send [11:06:25]OFD Sender: No OFD packet to send [11:06:30]OFD Sender: No OFD packet to send [11:06:35]OFD Sender: No OFD packet to send [11:06:40]OFD Sender: No OFD packet to send [11:06:45]OFD Sender: No OFD packet to send [11:06:50]OFD Sender: No OFD packet to send [11:06:55]OFD Sender: No OFD packet to send [11:07:00]OFD Sender: No OFD packet to send [11:07:05]OFD Sender: No OFD packet to send [11:07:10]OFD Sender: No OFD packet to send [11:07:15]OFD Sender: No OFD packet to send [11:07:20]OFD Sender: No OFD packet to send [11:07:25]OFD Sender: No OFD packet to send [11:07:30]OFD Sender: No OFD packet to send [11:07:35]OFD Sender: No OFD packet to send [11:07:40]OFD Sender: No OFD packet to send [11:07:45]OFD Sender: No OFD packet to send [11:07:50]OFD Sender: No OFD packet to send [11:07:55]OFD Sender: No OFD packet to send [11:08:00]OFD Sender: No OFD packet to send [11:08:05]OFD Sender: No OFD packet to send [11:08:10]OFD Sender: No OFD packet to send [11:08:15]OFD Sender: No OFD packet to send [11:08:20]OFD Sender: No OFD packet to send [11:08:25]OFD Sender: No OFD packet to send [11:08:30]OFD Sender: No OFD packet to send [11:08:35]OFD Sender: No OFD packet to send [11:08:40]OFD Sender: No OFD packet to send [11:08:45]OFD Sender: No OFD packet to send [11:08:50]OFD Sender: No OFD packet to send [11:08:55]OFD Sender: No OFD packet to send [11:09:00]OFD Sender: No OFD packet to send [11:09:05]OFD Sender: No OFD packet to send [11:09:10]OFD Sender: No OFD packet to send [11:09:15]OFD Sender: No OFD packet to send [11:09:20]OFD Sender: No OFD packet to send [11:09:25]OFD Sender: No OFD packet to send [11:09:30]OFD Sender: No OFD packet to send [11:09:35]OFD Sender: No OFD packet to send [11:09:40]OFD Sender: No OFD packet to send [11:09:45]OFD Sender: No OFD packet to send [11:09:50]OFD Sender: No OFD packet to send [11:09:55]OFD Sender: No OFD packet to send [11:10:00]OFD Sender: No OFD packet to send [11:10:05]OFD Sender: No OFD packet to send [11:10:10]OFD Sender: No OFD packet to send [11:10:15]OFD Sender: No OFD packet to send [11:10:20]OFD Sender: No OFD packet to send [11:10:25]OFD Sender: No OFD packet to send [11:10:30]OFD Sender: No OFD packet to send [11:10:35]OFD Sender: No OFD packet to send [11:10:40]OFD Sender: No OFD packet to send [11:10:45]OFD Sender: No OFD packet to send [11:10:50]OFD Sender: No OFD packet to send [11:10:55]OFD Sender: No OFD packet to send [11:11:00]OFD Sender: No OFD packet to send [11:11:05]OFD Sender: No OFD packet to send [11:11:10]OFD Sender: No OFD packet to send [11:11:15]OFD Sender: No OFD packet to send [11:11:20]OFD Sender: No OFD packet to send [11:11:25]OFD Sender: No OFD packet to send [11:11:30]OFD Sender: No OFD packet to send [11:11:35]OFD Sender: No OFD packet to send [11:11:40]OFD Sender: No OFD packet to send [11:11:45]OFD Sender: No OFD packet to send [11:11:50]OFD Sender: No OFD packet to send [11:11:55]OFD Sender: No OFD packet to send [11:12:00]OFD Sender: No OFD packet to send [11:12:05]OFD Sender: No OFD packet to send [11:12:10]OFD Sender: No OFD packet to send [11:12:15]OFD Sender: No OFD packet to send [11:12:20]OFD Sender: No OFD packet to send [11:12:25]OFD Sender: No OFD packet to send [11:12:30]OFD Sender: No OFD packet to send [11:12:35]OFD Sender: No OFD packet to send [11:12:40]OFD Sender: No OFD packet to send [11:12:45]OFD Sender: No OFD packet to send [11:12:50]OFD Sender: No OFD packet to send [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:39]accept exits with 9 [11:14:39]New connection [11:14:39]New thread 3066695012 created [11:14:39]Thread 3066551652 joined [11:14:39]Waiting for new connection... [11:14:39] Sock 9.Parse request [11:14:39]Sock 9.Check first char [11:14:39]Sock 9.First char is OK [11:14:39]request: POST /json_proto HTTP/1.0 [11:14:39]Method: POST [11:14:39]URL: /json_proto [11:14:39]Method is POST - this is cgi request [11:14:39]url: /json_proto [11:14:39]query_string will be loaded in cgi processing [11:14:39]execute_cgi json_proto POST (null) [11:14:39]execute_cgi path=json_proto method=POST [11:14:39]POST find Content-Length [11:14:39]Host: 172.17.62.196:8080 [11:14:39]Content-Length: 630 [11:14:39]Content-Type: application/json [11:14:39] [11:14:39]POST finish read [11:14:39]Found Content-Length = 630 [11:14:39]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16957", "tax_sys" : 0, "items" : [ { "code": "4780022460216", "name": "\u0410\u043D\u0442\u0438\u0444\u0440\u0438\u0437 Yumiko red 1\u043A\u0433", "price" : 160.00, "quantity" : 1.000, "sum" : 160.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 160.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:14:39]execute_script... [11: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 : (3)16957", "tax_sys" : 0, "items" : [ { "code": "4780022460216", "name": "\u0410\u043D\u0442\u0438\u0444\u0440\u0438\u0437 Yumiko red 1\u043A\u0433", "price" : 160.00, "quantity" : 1.000, "sum" : 160.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 160.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:14:39]POST & json_proto [11:14:39]process_json_proto [11:14:39]json parsed OK: [11:14:39]protocol is kg_v1.0 [11:14:39]action value=close_receipt [11:14:39]process_action close_receipt [11:14:39]cmd_close_receipt [11:14:39]MH_GetDate [11:14:39]Write to MH i2c: F0 00 00 10 0C 0B [11:14:39]Write i2c OK [11:14:39]MH_I2C_Read... [11:14:39]Read from MH i2c: F0 [11:14:39]MH_I2C_Read... [11:14:39]Read from MH i2c: F0 09 00 [11:14:39]MH_I2C_Read... [11:14:39]Read from MH i2c: F0 09 00 10 0C 00 23 42 F5 66 CE CC 0E 66 E2 [11:14:39]GetLastDocTimeStamp 1727347915 [11:14:39]current date 1727349283 [11:14:39]FM_GetShiftState [11:14:39]SAM_PROTO_GetShiftState [11:14:39]wFMCommunicate request_size=4 [11:14:39]MH_SAM_APDU [11:14:39]CAPDU: 80 13 01 00 [11:14:39]Write to MH i2c: E2 08 00 11 0C 80 13 01 00 00 00 00 00 9A [11:14:39]Write i2c OK [11:14:39]MH_I2C_Read... [11:14:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:14:39]Read from MH i2c: E2 [11:14:39]MH_I2C_Read... [11:14:39]Read from MH i2c: E2 0E 00 [11:14:39]MH_I2C_Read... [11:14:39]Read from MH i2c: E2 0E 00 11 0C 00 09 00 01 58 A7 F4 66 00 00 00 00 90 00 FF [11:14:39]RAPDU: 09 00 01 58 A7 F4 66 00 00 00 00 90 00 [11:14:39]wFMCommunicate OK [11:14:39]SAM_PROTO_GetShiftState done [11:14:39]FM_GetShiftState done [11:14:39]opened in 1727309656 [11:14:39]opened+sec_in_day 1727396056 [11:14:39]quantity*price = 16000 [11:14:39]sum+1 = 16001 [11:14:39]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 160.00 НСП 1% : 1.42 НДС 12% : 16.99 Наличными: 160.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 27 26.09.2024 11:14 Смена: 184 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 19038 ФПД: 2664910771961 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T111443&type=1&operation_type=1&fn_number=0000000000959456&fd_number=19038&fm=2664910771961&tin=02508201610067®Number=0000000000152968&sum=16000 0 [11:14:41]StoreToDocumentArchive [11:14:41]shift 184 fd 19038 [11:14:41]save to /storage/0184/doc_00019038 [11:14:41]save last doc name /storage/0184/doc_00019038 to /storage/kkm_last_doc_name [11:14:41]save OK [11:14:41]Clear old archive folders... [11:14:41]ProcessDocumentItem done err = 0, tmpTLVsize=275 [11:14:41]tlvbuf is 01D369D0 [11:14:41]SAM_PROTO_ClearQueue [11:14:41]wFMCommunicate request_size=4 [11:14:41]MH_SAM_APDU [11:14:41]CAPDU: 80 09 00 00 [11:14:41]Write to MH i2c: E2 08 00 1E 0C 80 09 00 00 00 00 00 00 9C [11:14:41]Write i2c OK [11:14:41]MH_I2C_Read... [11:14:41]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:14:41]Read from MH i2c: E2 [11:14:41]MH_I2C_Read... [11:14:41]Read from MH i2c: E2 03 00 [11:14:41]MH_I2C_Read... [11:14:41]Read from MH i2c: E2 03 00 1E 0C 00 90 00 9E [11:14:41]RAPDU: 90 00 [11:14:41]wFMCommunicate OK [11:14:41]SAM_PROTO_ClearQueue done [11:14:41]KKMCreateOFDPacket [11:14:41]OFDProtocolAddRootSTLVToBuf [11:14:41]FM_MakeSignedData [11:14:41]FM_MakeSignedData [11:14:41]SAM_PROTO_SignData [11:14:41]wFMCommunicate request_size=4 [11:14:41]MH_SAM_APDU [11:14:41]CAPDU: 80 0D 01 02 [11:14:41]Write to MH i2c: E2 08 00 1F 0C 80 0D 01 02 00 00 00 00 A4 [11:14:41]Write i2c OK [11:14:41]MH_I2C_Read... [11:14:41]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:14:41]Read from MH i2c: E2 [11:14:41]MH_I2C_Read... [11:14:41]Read from MH i2c: E2 03 00 [11:14:41]MH_I2C_Read... [11:14:41]Read from MH i2c: E2 03 00 1F 0C 00 90 00 9F [11:14:41]RAPDU: 90 00 [11:14:41]wFMCommunicate OK [11:14:41]wFMCommunicate request_size=255 [11:14:41]MH_SAM_APDU [11:14:41]CAPDU: 80 0D 02 02 FA 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 37 38 30 30 32 32 34 36 30 32 31 36 06 04 21 00 D0 90 D0 BD D1 82 D0 B8 D1 84 D1 80 D0 B8 D0 B7 20 59 75 6D 69 6B 6F 20 72 65 64 20 31 D0 BA D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 80 3E 00 00 00 00 13 04 06 00 80 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A3 06 00 00 00 00 07 04 06 00 80 3E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 23 42 F5 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 [11:14:41]Write to MH i2c: E2 02 01 20 0C 80 0D 02 02 FA 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 37 38 30 30 32 32 34 36 30 32 31 36 06 04 21 00 D0 90 D0 BD D1 82 D0 B8 D1 84 D1 80 D0 B8 D0 B7 20 59 75 6D 69 6B 6F 20 72 65 64 20 31 D0 BA D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 80 3E 00 00 00 00 13 04 06 00 80 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A3 06 00 00 00 00 07 04 06 00 80 3E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 23 42 F5 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 00 00 23 [11:14:41]Write i2c OK [11:14:41]MH_I2C_Read... [11:14:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:14:41]Read from MH i2c: E2 [11:14:41]MH_I2C_Read... [11:14:41]Read from MH i2c: E2 03 00 [11:14:41]MH_I2C_Read... [11:14:41]Read from MH i2c: E2 03 00 20 0C 00 90 00 A0 [11:14:41]RAPDU: 90 00 [11:14:41]wFMCommunicate OK [11:14:41]wFMCommunicate request_size=34 [11:14:41]MH_SAM_APDU [11:14:41]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 5E 4A 00 00 35 04 06 00 02 6C 79 0F 56 F9 [11:14:41]Write to MH i2c: E2 25 00 21 0C 80 0D 02 02 1D 00 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 5E 4A 00 00 35 04 06 00 02 6C 79 0F 56 F9 00 00 5B [11:14:41]Write i2c OK [11:14:41]MH_I2C_Read... [11:14:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:14:41]Read from MH i2c: E2 [11:14:41]MH_I2C_Read... [11:14:41]Read from MH i2c: E2 03 00 [11:14:41]MH_I2C_Read... [11:14:41]Read from MH i2c: E2 03 00 21 0C 00 90 00 A1 [11:14:41]RAPDU: 90 00 [11:14:41]wFMCommunicate OK [11:14:41]wFMCommunicate request_size=4 [11:14:41]MH_SAM_APDU [11:14:41]CAPDU: 80 0D 03 02 [11:14:41]Write to MH i2c: E2 08 00 22 0C 80 0D 03 02 00 00 00 00 A9 [11:14:41]Write i2c OK [11:14:41]MH_I2C_Read... [11:14:41]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:14:41]Read from MH i2c: E2 [11:14:41]MH_I2C_Read... [11:14:41]Read from MH i2c: E2 0B 00 [11:14:41]MH_I2C_Read... [11:14:41]Read from MH i2c: E2 0B 00 22 0C 00 17 F1 59 25 EF C3 6A 25 90 00 71 [11:14:41]RAPDU: 17 F1 59 25 EF C3 6A 25 90 00 [11:14:41]wFMCommunicate OK [11:14:41]SAM_PROTO_SignData done [11:14:41]FM_MakeSignedData done [11:14:41]CreateOFDProtocolMessage [11:14:41]wFMCommunicate request_size=4 [11:14:41]MH_SAM_APDU [11:14:41]CAPDU: 80 11 00 00 [11:14:41]Write to MH i2c: E2 08 00 23 0C 80 11 00 00 00 00 00 00 A9 [11:14:41]Write i2c OK [11:14:41]MH_I2C_Read... [11:14:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:14:41]Read from MH i2c: E2 [11:14:41]MH_I2C_Read... [11:14:41]Read from MH i2c: E2 17 00 [11:14:41]MH_I2C_Read... [11:14:41]Read from MH i2c: E2 17 00 23 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 02 [11:14:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [11:14:41]wFMCommunicate OK [11:14:41]CreateOFDProtocolMessage done [11:14:41]OFDSenderStorePacket 19038 [11:14:41]StoreOFDPacket docnum=19038 [11:14:41]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 27 01 00 00 5E 47 1F 01 A1 4C 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 37 38 30 30 32 32 34 36 30 32 31 36 06 04 21 00 D0 90 D0 BD D1 82 D0 B8 D1 84 D1 80 D0 B8 D0 B7 20 59 75 6D 69 6B 6F 20 72 65 64 20 31 D0 BA D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 80 3E 00 00 00 00 13 04 06 00 80 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A3 06 00 00 00 00 07 04 06 00 80 3E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 23 42 F5 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 5E 4A 00 00 35 04 06 00 02 6C 79 0F 56 F9 17 F1 59 25 EF C3 6A 25 [11:14:41]CheckFolder [11:14:41]dirname=/storage/ofd_packets [11:14:41]CheckFolder done [11:14:41]ProducePacketName [11:14:41]name=ofd_packets/00019038 [11:14:41]NVStorageSaveData ofd_packets/00019038 [11:14:41]File name is /storage/ofd_packets/00019038 [11:14:41]Write 325 bytes [11:14:41]NVStorageSaveData done [11:14:41]OFDSenderStorePacket done [11:14:41]KKMCreateOFDPacket done [11:14:41]NVStorageSaveData kkm_last_timestamp [11:14:41]File name is /storage/kkm_last_timestamp [11:14:41]Write 4 bytes [11:14:41]NVStorageSaveData done [11:14:41]ExternCall_PrintAddStr [11:14:41]wPrintStart [11:14:41]Write to MH i2c: 01 00 00 24 0C 30 [11:14:41]Write i2c OK [11:14:41]MH_I2C_Read... [11:14:41]Read from MH i2c: 01 [11:14:41]MH_I2C_Read... [11:14:41]Read from MH i2c: 01 07 00 [11:14:41]MH_I2C_Read... [11:14:41]Read from MH i2c: 01 07 00 24 0C 00 00 00 00 00 FF 0F 45 [11:14:41]RasterBufferAndPrint [11:14:41]line Счет N : (3)16957 [11:14:41]line ИНН: 02508201610067 [11:14:41]line Контрольно-Кассовый Чек [11:14:41]line ПРОДАЖА [11:14:41]line Товар: 4780022460216 [11:14:41]line Антифриз Yumiko red 1кг [11:14:41]line 1.000 * 160.00 [11:14:41]line = 160.00 [11:14:41]line НДС 12% НСП 1% [11:14:41]line > о реализуемом товаре [11:14:41]line ИТОГО: 160.00 [11:14:41]line НСП 1% : 1.42 [11:14:41]line НДС 12% : 16.99 [11:14:41]line Наличными: 160.00 [11:14:41]line Безнал.: 0.00 [11:14:41]line Место: АЗС № 176 "Партнер Нефть" [11:14:41]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [11:14:41]line СНО: Общий режим [11:14:41]line Чек 27 26.09.2024 11:14 [11:14:41]line Смена: 184 ФФД: 1.0 [11:14:41]line ЗНМ: 0300000010 [11:14:41]line РНМ: 0000000000152968 [11:14:41]line Версия ККМ: v1.0 [11:14:41]line ФМ: 0000000000959456 [11:14:41]line ФД: 19038 [11:14:41]line ФПД: 2664910771961 [11:14:41]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T111443&type=1&operation_type=1&fn_number=0000000000959456&fd_number=19038&fm=2664910771961&tin=02508201610067®Number=0000000000152968&sum=16000 [11:14:41]line 0 [11:14:41]OFD Sender: Processing packet 19038 [packets to send 7, broken 6] [11:14:41]ProducePacketName [11:14:41]name=ofd_packets/00019038 [11:14:41]OFD Sender: To server: pG, [11:14:41]CommunicateWithHost lk.salyk.kg:30040 [11:14:41]ConnectInit lk.salyk.kg [11:14:41]written 0, free lines is 4095 [11:14:42]Connected sock=10 [11:14:42]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 27 01 00 00 5E 47 1F 01 A1 4C 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 37 38 30 30 32 32 34 36 30 32 31 36 06 04 21 00 D0 90 D0 BD D1 82 D0 B8 D1 84 D1 80 D0 B8 D0 B7 20 59 75 6D 69 6B 6F 20 72 65 64 20 31 D0 BA D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 80 3E 00 00 00 00 13 04 06 00 80 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A3 06 00 00 00 00 07 04 06 00 80 3E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 23 42 F5 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 5E 4A 00 00 35 04 06 00 02 6C 79 0F 56 F9 17 F1 59 25 EF C3 6A 25 [11:14:42]Write to MH i2c: 01 00 00 4C 0C 58 [11:14:42]Write i2c OK [11:14:42]MH_I2C_Read... [11:14:42]Read from MH i2c: 01 [11:14:42]MH_I2C_Read... [11:14:42]Read from MH i2c: 01 07 00 [11:14:42]MH_I2C_Read... [11:14:42]Read from MH i2c: 01 07 00 4C 0C 00 00 00 00 00 2B 0D 97 [11:14:42]RasterBufferAndPrint [11:14:42]line [11:14:42]line [11:14:42]line [11:14:42]line [11:14:42]line [11:14:42]written 0, free lines is 3378 [11:14:42]MH_Cut [11:14:42]Write to MH i2c: D1 01 00 53 0C 01 31 [11:14:42]Write i2c OK [11:14:42]MH_I2C_Read... [11:14:42]Read from MH i2c: D1 [11:14:42]MH_I2C_Read... [11:14:42]Read from MH i2c: D1 01 00 [11:14:42]MH_I2C_Read... [11:14:42]Read from MH i2c: D1 01 00 53 0C 00 30 [11:14:42]Write to MH i2c: 01 00 00 54 0C 60 [11:14:42]Write i2c OK [11:14:42]MH_I2C_Read... [11:14:42]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 46 B2 47 00 A4 E1 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 5E 4A 00 00 F4 03 04 00 7E EB F4 66 B6 04 01 00 00 2A 44 12 04 CB FB A6 80 [11:14:42]CommunicateWithHost err = 0 [11:14:42]CheckOFDResponse [11:14:42]1017 (14) - 77093643461234 [11:14:42]1041 (16) - 0000000000959456 [11:14:42]1040 (4) - 19038 [11:14:42]1012 (4) - 26.09.2024 05:05 [11:14:42]1206 (1) - 0 [11:14:42]OFD Sender: Remove packet 19038 [11:14:42]ProducePacketName [11:14:42]name=ofd_packets/00019038 [11:14:42]NVStorageDeleteData [11:14:42]OFD Sender: No OFD packet to send [11:14:42]*** Cut start [11:14:42]*** Partial cut [11:14:42]*** CUTSNS_PIN = 1 [11:14:43]*** CUTSNS_PIN = 0 [11:14:43]*** Brake cut motor [11:14:43]Read from MH i2c: 01 [11:14:43]MH_I2C_Read... [11:14:43]*** Stop cut motor [11:14:43]*** Cut end [11:14:43]Read from MH i2c: 01 07 00 [11:14:43]MH_I2C_Read... [11:14:43]Read from MH i2c: 01 07 00 54 0C 00 00 00 00 00 FF 0F 75 [11:14:43]process_action close_receipt done [11:14:43]requested_data is exist [11:14:43]produce_requested_data [11:14:43]requested_item fm.sn is exist - process it [11:14:43]wFMCommunicate request_size=4 [11:14:43]MH_SAM_APDU [11:14:43]CAPDU: 80 11 00 00 [11:14:43]Write to MH i2c: E2 08 00 55 0C 80 11 00 00 00 00 00 00 DB [11:14:43]Write i2c OK [11:14:43]MH_I2C_Read... [11:14:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:14:43]Read from MH i2c: E2 [11:14:43]MH_I2C_Read... [11:14:43]Read from MH i2c: E2 17 00 [11:14:43]MH_I2C_Read... [11:14:43]Read from MH i2c: E2 17 00 55 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 34 [11:14:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [11:14:43]wFMCommunicate OK [11:14:43]requested_item fd.num is exist - process it [11:14:43]SAM_PROTO_GetFieldsCounters [11:14:43]wFMCommunicate request_size=4 [11:14:43]MH_SAM_APDU [11:14:43]CAPDU: 80 13 00 00 [11:14:43]Write to MH i2c: E2 08 00 56 0C 80 13 00 00 00 00 00 00 DE [11:14:43]Write i2c OK [11:14:43]MH_I2C_Read... [11:14:43]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:14:43]Read from MH i2c: E2 [11:14:43]MH_I2C_Read... [11:14:43]Read from MH i2c: E2 62 00 [11:14:43]MH_I2C_Read... [11:14:43]Read from MH i2c: E2 62 00 56 0C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 5E 4A 00 00 0E 04 04 00 B8 00 00 00 12 04 04 00 1B 00 00 00 5E 04 04 00 1B 00 00 00 57 04 04 00 1C 00 00 00 19 04 04 00 00 00 00 00 90 00 BC [11:14:43]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 5E 4A 00 00 0E 04 04 00 B8 00 00 00 12 04 04 00 1B 00 00 00 5E 04 04 00 1B 00 00 00 57 04 04 00 1C 00 00 00 19 04 04 00 00 00 00 00 90 00 [11:14:43]wFMCommunicate OK [11:14:43]SAM_PROTO_GetFieldsCounters done [11:14:43]requested_item shift.num is exist - process it [11:14:43]requested_item shift.opened is exist - process it [11:14:43]req_shift_opened [11:14:43]FM_GetShiftState [11:14:43]SAM_PROTO_GetShiftState [11:14:43]wFMCommunicate request_size=4 [11:14:43]MH_SAM_APDU [11:14:43]CAPDU: 80 13 01 00 [11:14:43]Write to MH i2c: E2 08 00 57 0C 80 13 01 00 00 00 00 00 E0 [11:14:43]Write i2c OK [11:14:43]MH_I2C_Read... [11:14:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:14:43]Read from MH i2c: E2 [11:14:43]MH_I2C_Read... [11:14:43]Read from MH i2c: E2 0E 00 [11:14:43]MH_I2C_Read... [11:14:43]Read from MH i2c: E2 0E 00 57 0C 00 09 00 01 58 A7 F4 66 00 00 00 00 90 00 45 [11:14:43]RAPDU: 09 00 01 58 A7 F4 66 00 00 00 00 90 00 [11:14:43]wFMCommunicate OK [11:14:43]SAM_PROTO_GetShiftState done [11:14:43]FM_GetShiftState done [11:14:43]req_shift_opened done [11:14:43]requested_item shift.open_date is exist - process it [11:14:43]req_shift_open_date [11:14:43]req_shift_open_date done [11:14:43]produce_requested_data done [11:14:43]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":19038,"shift.num":184,"shift.opened":1,"shift.open_date":1727309656} [11:14:43]process_action_free close_receipt [11:14:43]json_value_free [11:14:43]json_value_free done [11:14:43]process_json_proto returns [11:14:43]Send response to host [11:14:43]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":19038,"shift.num":184,"shift.opened":1,"shift.open_date":1727309656}}} [11:14:43]free response buf [11:14:43]execute_script done [11:14:43]execute_script returns [11:14:43]free content buf [11:14:43]Sock 9.Close socket [11:14:43]Sock 9.Thread stoped [11:14:47]OFD Sender: No OFD packet to send [11:14:52]OFD Sender: No OFD packet to send [11:14:57]OFD Sender: No OFD packet to send [11:15:02]OFD Sender: No OFD packet to send [11:15:07]OFD Sender: No OFD packet to send [11:15:12]OFD Sender: No OFD packet to send [11:15:17]OFD Sender: No OFD packet to send [11:15:22]OFD Sender: No OFD packet to send [11:15:27]OFD Sender: No OFD packet to send [11:15:32]OFD Sender: No OFD packet to send [11:15:37]OFD Sender: No OFD packet to send [11:15:42]OFD Sender: No OFD packet to send [11:15:47]OFD Sender: No OFD packet to send [11:15:52]OFD Sender: No OFD packet to send [11:15:57]OFD Sender: No OFD packet to send [11:16:02]OFD Sender: No OFD packet to send [11:16:07]OFD Sender: No OFD packet to send [11:16:12]OFD Sender: No OFD packet to send [11:16:17]OFD Sender: No OFD packet to send [11:16:22]OFD Sender: No OFD packet to send [11:16:27]OFD Sender: No OFD packet to send [11:16:32]OFD Sender: No OFD packet to send [11:16:37]OFD Sender: No OFD packet to send [11:16:42]OFD Sender: No OFD packet to send [11:16:48]OFD Sender: No OFD packet to send [11:16:53]OFD Sender: No OFD packet to send [11:16:58]OFD Sender: No OFD packet to send [11:17:03]OFD Sender: No OFD packet to send [11:17:08]OFD Sender: No OFD packet to send [11:17:13]OFD Sender: No OFD packet to send [11:17:18]OFD Sender: No OFD packet to send [11:17:23]OFD Sender: No OFD packet to send [11:17:28]OFD Sender: No OFD packet to send [11:17:33]OFD Sender: No OFD packet to send [11:17:38]OFD Sender: No OFD packet to send [11:17:43]OFD Sender: No OFD packet to send [11:17:48]OFD Sender: No OFD packet to send [11:17:53]OFD Sender: No OFD packet to send [11:17:58]OFD Sender: No OFD packet to send [11:18:03]OFD Sender: No OFD packet to send [11:18:08]OFD Sender: No OFD packet to send [11:18:13]OFD Sender: No OFD packet to send [11:18:18]OFD Sender: No OFD packet to send [11:18:23]OFD Sender: No OFD packet to send [11:18:28]OFD Sender: No OFD packet to send [11:18:33]OFD Sender: No OFD packet to send [11:18:38]OFD Sender: No OFD packet to send [11:18:43]OFD Sender: No OFD packet to send [11:18:48]OFD Sender: No OFD packet to send [11:18:53]OFD Sender: No OFD packet to send [11:18:58]OFD Sender: No OFD packet to send [11:19:03]OFD Sender: No OFD packet to send [11:19:08]OFD Sender: No OFD packet to send [11:19:13]OFD Sender: No OFD packet to send [11:19:18]OFD Sender: No OFD packet to send [11:19:23]OFD Sender: No OFD packet to send [11:19:28]OFD Sender: No OFD packet to send [11:19:33]OFD Sender: No OFD packet to send [11:19:38]OFD Sender: No OFD packet to send [11:19:43]OFD Sender: No OFD packet to send [11:19:48]OFD Sender: No OFD packet to send [11:19:53]OFD Sender: No OFD packet to send [11:19:58]OFD Sender: No OFD packet to send [11:20:03]OFD Sender: No OFD packet to send [11:20:08]OFD Sender: No OFD packet to send [11:20:13]OFD Sender: No OFD packet to send [11:20:18]OFD Sender: No OFD packet to send [11:20:23]OFD Sender: No OFD packet to send [11:20:28]OFD Sender: No OFD packet to send [11:20:33]OFD Sender: No OFD packet to send [11:20:38]OFD Sender: No OFD packet to send [11:20:43]OFD Sender: No OFD packet to send [11:20:48]OFD Sender: No OFD packet to send [11:20:53]OFD Sender: No OFD packet to send [11:20:58]OFD Sender: No OFD packet to send [11:21:03]OFD Sender: No OFD packet to send [11:21:08]OFD Sender: No OFD packet to send [11:21:13]OFD Sender: No OFD packet to send [11:21:18]OFD Sender: No OFD packet to send [11:21:23]OFD Sender: No OFD packet to send [11:21:28]OFD Sender: No OFD packet to send [11:21:33]OFD Sender: No OFD packet to send [11:21:38]OFD Sender: No OFD packet to send [11:21:43]OFD Sender: No OFD packet to send [11:21:48]OFD Sender: No OFD packet to send [11:21:53]OFD Sender: No OFD packet to send [11:21:58]OFD Sender: No OFD packet to send [11:22:03]OFD Sender: No OFD packet to send [11:22:08]OFD Sender: No OFD packet to send [11:22:13]OFD Sender: No OFD packet to send [11:22:18]OFD Sender: No OFD packet to send [11:22:23]OFD Sender: No OFD packet to send [11:22:28]OFD Sender: No OFD packet to send [11:22:33]OFD Sender: No OFD packet to send [11:22:38]OFD Sender: No OFD packet to send [11:22:43]OFD Sender: No OFD packet to send [11:22:48]OFD Sender: No OFD packet to send [11:22:53]OFD Sender: No OFD packet to send [11:22:58]OFD Sender: No OFD packet to send [11:23:03]OFD Sender: No OFD packet to send [11:23:08]OFD Sender: No OFD packet to send [11:23:13]OFD Sender: No OFD packet to send [11:23:18]OFD Sender: No OFD packet to send [11:23:23]OFD Sender: No OFD packet to send [11:23:28]OFD Sender: No OFD packet to send [11:23:33]OFD Sender: No OFD packet to send [11:23:38]OFD Sender: No OFD packet to send [11:23:43]OFD Sender: No OFD packet to send [11:23:48]OFD Sender: No OFD packet to send [11:23:53]OFD Sender: No OFD packet to send [11:23:58]OFD Sender: No OFD packet to send [11:24:03]OFD Sender: No OFD packet to send [11:24:08]OFD Sender: No OFD packet to send [11:24:13]OFD Sender: No OFD packet to send [11:24:18]OFD Sender: No OFD packet to send [11:24:23]OFD Sender: No OFD packet to send [11:24:28]OFD Sender: No OFD packet to send [11:24:33]OFD Sender: No OFD packet to send [11:24:38]OFD Sender: No OFD packet to send [11:24:43]OFD Sender: No OFD packet to send [11:24:48]OFD Sender: No OFD packet to send [11:24:53]OFD Sender: No OFD packet to send [11:24:58]OFD Sender: No OFD packet to send [11:25:03]OFD Sender: No OFD packet to send [11:25:08]OFD Sender: No OFD packet to send [11:25:13]OFD Sender: No OFD packet to send [11:25:18]OFD Sender: No OFD packet to send [11:25:23]OFD Sender: No OFD packet to send [11:25:28]OFD Sender: No OFD packet to send [11:25:33]OFD Sender: No OFD packet to send [11:25:38]OFD Sender: No OFD packet to send [11:25:43]OFD Sender: No OFD packet to send [11:25:48]OFD Sender: No OFD packet to send [11:25:53]OFD Sender: No OFD packet to send [11:25:58]OFD Sender: No OFD packet to send [11:26:03]OFD Sender: No OFD packet to send [11:26:08]OFD Sender: No OFD packet to send [11:26:13]OFD Sender: No OFD packet to send [11:26:18]OFD Sender: No OFD packet to send [11:26:23]OFD Sender: No OFD packet to send [11:26:28]OFD Sender: No OFD packet to send [11:26:33]OFD Sender: No OFD packet to send [11:26:38]OFD Sender: No OFD packet to send [11:26:43]OFD Sender: No OFD packet to send [11:26:48]OFD Sender: No OFD packet to send [11:26:53]OFD Sender: No OFD packet to send [11:26:58]OFD Sender: No OFD packet to send [11:27:03]OFD Sender: No OFD packet to send [11:27:08]OFD Sender: No OFD packet to send [11:27:13]OFD Sender: No OFD packet to send [11:27:18]OFD Sender: No OFD packet to send [11:27:23]OFD Sender: No OFD packet to send [11:27:28]OFD Sender: No OFD packet to send [11:27:33]OFD Sender: No OFD packet to send [11:27:38]OFD Sender: No OFD packet to send [11:27:43]OFD Sender: No OFD packet to send [11:27:48]OFD Sender: No OFD packet to send [11:27:53]OFD Sender: No OFD packet to send [11:27:58]OFD Sender: No OFD packet to send [11:28:03]OFD Sender: No OFD packet to send [11:28:08]OFD Sender: No OFD packet to send [11:28:13]OFD Sender: No OFD packet to send [11:28:18]OFD Sender: No OFD packet to send [11:28:23]OFD Sender: No OFD packet to send [11:28:28]OFD Sender: No OFD packet to send [11:28:33]OFD Sender: No OFD packet to send [11:28:38]OFD Sender: No OFD packet to send [11:28:43]OFD Sender: No OFD packet to send [11:28:48]OFD Sender: No OFD packet to send [11:28:53]OFD Sender: No OFD packet to send [11:28:58]OFD Sender: No OFD packet to send [11:29:03]OFD Sender: No OFD packet to send [11:29:08]OFD Sender: No OFD packet to send [11:29:13]OFD Sender: No OFD packet to send [11:29:18]OFD Sender: No OFD packet to send [11:29:23]OFD Sender: No OFD packet to send [11:29:28]OFD Sender: No OFD packet to send [11:29:33]OFD Sender: No OFD packet to send [11:29:38]OFD Sender: No OFD packet to send [11:29:43]OFD Sender: No OFD packet to send [11:29:48]OFD Sender: No OFD packet to send [11:29:53]OFD Sender: No OFD packet to send [11:29:58]OFD Sender: No OFD packet to send [11:30:03]OFD Sender: No OFD packet to send [11:30:08]OFD Sender: No OFD packet to send [11:30:13]OFD Sender: No OFD packet to send [11:30:18]OFD Sender: No OFD packet to send [11:30:23]OFD Sender: No OFD packet to send [11:30:28]OFD Sender: No OFD packet to send [11:30:33]OFD Sender: No OFD packet to send [11:30:38]OFD Sender: No OFD packet to send [11:30:43]OFD Sender: No OFD packet to send [11:30:48]OFD Sender: No OFD packet to send [11:30:53]OFD Sender: No OFD packet to send [11:30:58]OFD Sender: No OFD packet to send [11:31:03]OFD Sender: No OFD packet to send [11:31:08]OFD Sender: No OFD packet to send [11:31:13]OFD Sender: No OFD packet to send [11:31:18]OFD Sender: No OFD packet to send [11:31:23]OFD Sender: No OFD packet to send [11:31:28]OFD Sender: No OFD packet to send [11:31:33]OFD Sender: No OFD packet to send [11:31:38]OFD Sender: No OFD packet to send [11:31:43]OFD Sender: No OFD packet to send [11:31:48]OFD Sender: No OFD packet to send [11:31:53]OFD Sender: No OFD packet to send [11:31:58]OFD Sender: No OFD packet to send [11:32:03]OFD Sender: No OFD packet to send [11:32:08]OFD Sender: No OFD packet to send [11:32:13]OFD Sender: No OFD packet to send [11:32:18]OFD Sender: No OFD packet to send [11:32:23]OFD Sender: No OFD packet to send [11:32:28]OFD Sender: No OFD packet to send [11:32:33]OFD Sender: No OFD packet to send [11:32:38]OFD Sender: No OFD packet to send [11:32:43]OFD Sender: No OFD packet to send [11:32:48]OFD Sender: No OFD packet to send [11:32:53]OFD Sender: No OFD packet to send [11:32:58]OFD Sender: No OFD packet to send [11:33:03]OFD Sender: No OFD packet to send [11:33:08]OFD Sender: No OFD packet to send [11:33:13]OFD Sender: No OFD packet to send [11:33:18]OFD Sender: No OFD packet to send [11:33:23]OFD Sender: No OFD packet to send [11:33:28]OFD Sender: No OFD packet to send [11:33:33]OFD Sender: No OFD packet to send [11:33:38]OFD Sender: No OFD packet to send [11:33:43]OFD Sender: No OFD packet to send [11:33:48]OFD Sender: No OFD packet to send [11:33:53]OFD Sender: No OFD packet to send [11:33:58]OFD Sender: No OFD packet to send [11:34:03]OFD Sender: No OFD packet to send [11:34:08]OFD Sender: No OFD packet to send [11:34:13]OFD Sender: No OFD packet to send [11:34:18]OFD Sender: No OFD packet to send [11:34:23]OFD Sender: No OFD packet to send [11:34:28]OFD Sender: No OFD packet to send [11:34:33]OFD Sender: No OFD packet to send [11:34:38]OFD Sender: No OFD packet to send [11:34:43]OFD Sender: No OFD packet to send [11:34:46]recv_with_timeout no data received [11:34:48]OFD Sender: No OFD packet to send [11:34:53]OFD Sender: No OFD packet to send [11:34:58]OFD Sender: No OFD packet to send [11:35:03]OFD Sender: No OFD packet to send [11:35:08]OFD Sender: No OFD packet to send [11:35:13]OFD Sender: No OFD packet to send [11:35:18]OFD Sender: No OFD packet to send [11:35:23]OFD Sender: No OFD packet to send [11:35:28]OFD Sender: No OFD packet to send [11:35:33]OFD Sender: No OFD packet to send [11:35:38]OFD Sender: No OFD packet to send [11:35:43]OFD Sender: No OFD packet to send [11:35:48]OFD Sender: No OFD packet to send [11:35:53]OFD Sender: No OFD packet to send [11:35:58]OFD Sender: No OFD packet to send [11:36:03]OFD Sender: No OFD packet to send [11:36:08]OFD Sender: No OFD packet to send [11:36:13]OFD Sender: No OFD packet to send [11:36:18]OFD Sender: No OFD packet to send [11:36:23]OFD Sender: No OFD packet to send [11:36:28]OFD Sender: No OFD packet to send [11:36:33]OFD Sender: No OFD packet to send [11:36:38]OFD Sender: No OFD packet to send [11:36:43]OFD Sender: No OFD packet to send [11:36:48]OFD Sender: No OFD packet to send [11:36:53]OFD Sender: No OFD packet to send [11:36:58]OFD Sender: No OFD packet to send [11:37:03]OFD Sender: No OFD packet to send [11:37:08]OFD Sender: No OFD packet to send [11:37:13]OFD Sender: No OFD packet to send [11:37:18]OFD Sender: No OFD packet to send [11:37:23]OFD Sender: No OFD packet to send [11:37:28]OFD Sender: No OFD packet to send [11:37:33]OFD Sender: No OFD packet to send [11:37:38]OFD Sender: No OFD packet to send [11:37:43]OFD Sender: No OFD packet to send [11:37:48]OFD Sender: No OFD packet to send [11:37:51]accept exits with 7 [11:37:51]New connection [11:37:51]New thread 3066551652 created [11:37:51]Thread 3066695012 joined [11:37:51]Waiting for new connection... [11:37:51] Sock 7.Parse request [11:37:51]Sock 7.Check first char [11:37:51]Sock 7.First char is OK [11:37:51]request: POST /json_proto HTTP/1.0 [11:37:51]Method: POST [11:37:51]URL: /json_proto [11:37:51]Method is POST - this is cgi request [11:37:51]url: /json_proto [11:37:51]query_string will be loaded in cgi processing [11:37:51]execute_cgi json_proto POST (null) [11:37:51]execute_cgi path=json_proto method=POST [11:37:51]POST find Content-Length [11:37:51]Host: 172.17.62.196:8080 [11:37:51]Content-Length: 786 [11:37:51]Content-Type: application/json [11:37:51] [11:37:51]POST finish read [11:37:51]Found Content-Length = 786 [11:37:51]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16958", "tax_sys" : 0, "items" : [ { "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 115.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:37:51]execute_script... [11:37: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)16958", "tax_sys" : 0, "items" : [ { "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 115.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:37:51]POST & json_proto [11:37:51]process_json_proto [11:37:51]json parsed OK: [11:37:51]protocol is kg_v1.0 [11:37:51]action value=close_receipt [11:37:51]process_action close_receipt [11:37:51]cmd_close_receipt [11:37:51]MH_GetDate [11:37:51]Write to MH i2c: F0 00 00 58 0C 53 [11:37:51]Write i2c OK [11:37:51]MH_I2C_Read... [11:37:51]Read from MH i2c: F0 [11:37:51]MH_I2C_Read... [11:37:51]Read from MH i2c: F0 09 00 [11:37:51]MH_I2C_Read... [11:37:51]Read from MH i2c: F0 09 00 58 0C 00 93 47 F5 66 CE CC 0E 66 9F [11:37:51]GetLastDocTimeStamp 1727349283 [11:37:51]current date 1727350675 [11:37:51]FM_GetShiftState [11:37:51]SAM_PROTO_GetShiftState [11:37:51]wFMCommunicate request_size=4 [11:37:51]MH_SAM_APDU [11:37:51]CAPDU: 80 13 01 00 [11:37:51]Write to MH i2c: E2 08 00 59 0C 80 13 01 00 00 00 00 00 E2 [11:37:51]Write i2c OK [11:37:51]MH_I2C_Read... [11:37:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:37:51]Read from MH i2c: E2 [11:37:51]MH_I2C_Read... [11:37:51]Read from MH i2c: E2 0E 00 [11:37:51]MH_I2C_Read... [11:37:51]Read from MH i2c: E2 0E 00 59 0C 00 09 00 01 58 A7 F4 66 00 00 00 00 90 00 47 [11:37:51]RAPDU: 09 00 01 58 A7 F4 66 00 00 00 00 90 00 [11:37:51]wFMCommunicate OK [11:37:51]SAM_PROTO_GetShiftState done [11:37:51]FM_GetShiftState done [11:37:51]opened in 1727309656 [11:37:51]opened+sec_in_day 1727396056 [11:37:51]quantity*price = 11500 [11:37:51]sum+1 = 11501 [11:37:51]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 115.00 НСП 1% : 1.02 НДС 12% : 12.21 Наличными: 0.00 Безнал.: 115.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 28 26.09.2024 11:37 Смена: 184 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 Платежная система: O! деньги ФМ: 0000000000959456 ФД: 19039 ФПД: 202331069426658 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T113755&type=1&operation_type=1&fn_number=0000000000959456&fd_number=19039&fm=202331069426658&tin=02508201610067®Number=0000000000152968&sum=11500 0 [11:37:52]StoreToDocumentArchive [11:37:52]shift 184 fd 19039 [11:37:52]save to /storage/0184/doc_00019039 [11:37:52]save last doc name /storage/0184/doc_00019039 to /storage/kkm_last_doc_name [11:37:52]save OK [11:37:52]Clear old archive folders... [11:37:52]ProcessDocumentItem done err = 0, tmpTLVsize=274 [11:37:52]tlvbuf is 01D375E0 [11:37:52]SAM_PROTO_ClearQueue [11:37:52]wFMCommunicate request_size=4 [11:37:52]MH_SAM_APDU [11:37:52]CAPDU: 80 09 00 00 [11:37:52]Write to MH i2c: E2 08 00 66 0C 80 09 00 00 00 00 00 00 E4 [11:37:52]Write i2c OK [11:37:52]MH_I2C_Read... [11:37:52]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:37:52]Read from MH i2c: E2 [11:37:52]MH_I2C_Read... [11:37:52]Read from MH i2c: E2 03 00 [11:37:52]MH_I2C_Read... [11:37:52]Read from MH i2c: E2 03 00 66 0C 00 90 00 E6 [11:37:52]RAPDU: 90 00 [11:37:52]wFMCommunicate OK [11:37:52]SAM_PROTO_ClearQueue done [11:37:52]KKMCreateOFDPacket [11:37:52]OFDProtocolAddRootSTLVToBuf [11:37:52]FM_MakeSignedData [11:37:52]FM_MakeSignedData [11:37:52]SAM_PROTO_SignData [11:37:52]wFMCommunicate request_size=4 [11:37:52]MH_SAM_APDU [11:37:52]CAPDU: 80 0D 01 02 [11:37:52]Write to MH i2c: E2 08 00 67 0C 80 0D 01 02 00 00 00 00 EC [11:37:52]Write i2c OK [11:37:52]MH_I2C_Read... [11:37:53]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:37:53]Read from MH i2c: E2 [11:37:53]MH_I2C_Read... [11:37:53]Read from MH i2c: E2 03 00 [11:37:53]MH_I2C_Read... [11:37:53]Read from MH i2c: E2 03 00 67 0C 00 90 00 E7 [11:37:53]RAPDU: 90 00 [11:37:53]wFMCommunicate OK [11:37:53]wFMCommunicate request_size=255 [11:37:53]MH_SAM_APDU [11:37:53]CAPDU: 80 0D 02 02 FA 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 EC 2C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 93 47 F5 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 [11:37:53]Write to MH i2c: E2 02 01 68 0C 80 0D 02 02 FA 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 EC 2C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 93 47 F5 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 00 00 97 [11:37:53]Write i2c OK [11:37:53]MH_I2C_Read... [11:37:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:37:53]Read from MH i2c: E2 [11:37:53]MH_I2C_Read... [11:37:53]Read from MH i2c: E2 03 00 [11:37:53]MH_I2C_Read... [11:37:53]Read from MH i2c: E2 03 00 68 0C 00 90 00 E8 [11:37:53]RAPDU: 90 00 [11:37:53]wFMCommunicate OK [11:37:53]wFMCommunicate request_size=33 [11:37:53]MH_SAM_APDU [11:37:53]CAPDU: 80 0D 02 02 1C 30 30 30 30 39 35 39 34 35 36 10 04 04 00 5F 4A 00 00 35 04 06 00 B8 04 DF 85 2B E2 [11:37:53]Write to MH i2c: E2 24 00 69 0C 80 0D 02 02 1C 00 30 30 30 30 39 35 39 34 35 36 10 04 04 00 5F 4A 00 00 35 04 06 00 B8 04 DF 85 2B E2 00 00 5A [11:37:53]Write i2c OK [11:37:53]MH_I2C_Read... [11:37:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:37:53]Read from MH i2c: E2 [11:37:53]MH_I2C_Read... [11:37:53]Read from MH i2c: E2 03 00 [11:37:53]MH_I2C_Read... [11:37:53]Read from MH i2c: E2 03 00 69 0C 00 90 00 E9 [11:37:53]RAPDU: 90 00 [11:37:53]wFMCommunicate OK [11:37:53]wFMCommunicate request_size=4 [11:37:53]MH_SAM_APDU [11:37:53]CAPDU: 80 0D 03 02 [11:37:53]Write to MH i2c: E2 08 00 6A 0C 80 0D 03 02 00 00 00 00 F1 [11:37:53]Write i2c OK [11:37:53]MH_I2C_Read... [11:37:53]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:37:53]Read from MH i2c: E2 [11:37:53]MH_I2C_Read... [11:37:53]Read from MH i2c: E2 0B 00 [11:37:53]MH_I2C_Read... [11:37:53]Read from MH i2c: E2 0B 00 6A 0C 00 39 EF 57 7C 91 54 77 2F 90 00 78 [11:37:53]RAPDU: 39 EF 57 7C 91 54 77 2F 90 00 [11:37:53]wFMCommunicate OK [11:37:53]SAM_PROTO_SignData done [11:37:53]FM_MakeSignedData done [11:37:53]CreateOFDProtocolMessage [11:37:53]wFMCommunicate request_size=4 [11:37:53]MH_SAM_APDU [11:37:53]CAPDU: 80 11 00 00 [11:37:53]Write to MH i2c: E2 08 00 6B 0C 80 11 00 00 00 00 00 00 F1 [11:37:53]Write i2c OK [11:37:53]MH_I2C_Read... [11:37:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:37:53]Read from MH i2c: E2 [11:37:53]MH_I2C_Read... [11:37:53]Read from MH i2c: E2 17 00 [11:37:53]MH_I2C_Read... [11:37:53]Read from MH i2c: E2 17 00 6B 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 4A [11:37:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [11:37:53]wFMCommunicate OK [11:37:53]CreateOFDProtocolMessage done [11:37:53]OFDSenderStorePacket 19039 [11:37:53]StoreOFDPacket docnum=19039 [11:37:53]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 26 01 00 00 CE D6 1E 01 19 5E 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 EC 2C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 93 47 F5 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 5F 4A 00 00 35 04 06 00 B8 04 DF 85 2B E2 39 EF 57 7C 91 54 77 2F [11:37:53]CheckFolder [11:37:53]dirname=/storage/ofd_packets [11:37:53]CheckFolder done [11:37:53]ProducePacketName [11:37:53]name=ofd_packets/00019039 [11:37:53]NVStorageSaveData ofd_packets/00019039 [11:37:53]File name is /storage/ofd_packets/00019039 [11:37:53]Write 324 bytes [11:37:53]NVStorageSaveData done [11:37:53]OFDSenderStorePacket done [11:37:53]KKMCreateOFDPacket done [11:37:53]NVStorageSaveData kkm_last_timestamp [11:37:53]File name is /storage/kkm_last_timestamp [11:37:53]Write 4 bytes [11:37:53]NVStorageSaveData done [11:37:53]ExternCall_PrintAddStr [11:37:53]wPrintStart [11:37:53]Write to MH i2c: 01 00 00 6C 0C 78 [11:37:53]Write i2c OK [11:37:53]MH_I2C_Read... [11:37:53]Read from MH i2c: 01 [11:37:53]MH_I2C_Read... [11:37:53]Read from MH i2c: 01 07 00 [11:37:53]MH_I2C_Read... [11:37:53]Read from MH i2c: 01 07 00 6C 0C 00 00 00 00 00 FF 0F 8D [11:37:53]RasterBufferAndPrint [11:37:53]line Счет N : (3)16958 [11:37:53]line ИНН: 02508201610067 [11:37:53]line Контрольно-Кассовый Чек [11:37:53]line ПРОДАЖА [11:37:53]line Товар: 2000036240010 [11:37:53]line Кофе Латте (GABB TRADE) [11:37:53]line 1.000 * 115.00 [11:37:53]line = 115.00 [11:37:53]line НДС 12% НСП 1% [11:37:53]line > о реализуемом товаре [11:37:53]line ИТОГО: 115.00 [11:37:53]line НСП 1% : 1.02 [11:37:53]line НДС 12% : 12.21 [11:37:53]line Наличными: 0.00 [11:37:53]line Безнал.: 115.00 [11:37:53]line Место: АЗС № 176 "Партнер Нефть" [11:37:53]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [11:37:53]line СНО: Общий режим [11:37:53]line Чек 28 26.09.2024 11:37 [11:37:53]line Смена: 184 ФФД: 1.0 [11:37:53]line ЗНМ: 0300000010 [11:37:53]line РНМ: 0000000000152968 [11:37:53]line Версия ККМ: v1.0 [11:37:53]line Платежная система: O! деньги [11:37:53]line ФМ: 0000000000959456 [11:37:53]line ФД: 19039 [11:37:53]line ФПД: 202331069426658 [11:37:53]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T113755&type=1&operation_type=1&fn_number=0000000000959456&fd_number=19039&fm=202331069426658&tin=02508201610067®Number=0000000000152968&sum=11500 [11:37:53]line 0 [11:37:53]OFD Sender: Processing packet 19039 [packets to send 7, broken 6] [11:37:53]ProducePacketName [11:37:53]name=ofd_packets/00019039 [11:37:53]OFD Sender: To server: pG, [11:37:53]CommunicateWithHost lk.salyk.kg:30040 [11:37:53]ConnectInit lk.salyk.kg [11:37:53]written 0, free lines is 4095 [11:37:53]Connected sock=11 [11:37:53]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 26 01 00 00 CE D6 1E 01 19 5E 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 EC 2C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 93 47 F5 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 5F 4A 00 00 35 04 06 00 B8 04 DF 85 2B E2 39 EF 57 7C 91 54 77 2F [11:37:54]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 D3 2D 47 00 18 49 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 5F 4A 00 00 F4 03 04 00 EE F0 F4 66 B6 04 01 00 00 A1 6D 1B 68 8B 15 45 E9 [11:37:54]CommunicateWithHost err = 0 [11:37:54]CheckOFDResponse [11:37:54]1017 (14) - 77093643461234 [11:37:54]1041 (16) - 0000000000959456 [11:37:54]1040 (4) - 19039 [11:37:54]1012 (4) - 26.09.2024 05:28 [11:37:54]1206 (1) - 0 [11:37:54]OFD Sender: Remove packet 19039 [11:37:54]ProducePacketName [11:37:54]name=ofd_packets/00019039 [11:37:54]NVStorageDeleteData [11:37:54]Write to MH i2c: 01 00 00 96 0C A2 [11:37:54]Write i2c OK [11:37:54]MH_I2C_Read... [11:37:54]Read from MH i2c: 01 [11:37:54]MH_I2C_Read... [11:37:54]Read from MH i2c: 01 07 00 [11:37:54]MH_I2C_Read... [11:37:54]Read from MH i2c: 01 07 00 96 0C 00 00 00 00 00 0B 0D C1 [11:37:54]RasterBufferAndPrint [11:37:54]line [11:37:54]line [11:37:54]line [11:37:54]line [11:37:54]line [11:37:54]written 0, free lines is 3345 [11:37:54]MH_Cut [11:37:54]Write to MH i2c: D1 01 00 9D 0C 01 7B [11:37:54]Write i2c OK [11:37:54]MH_I2C_Read... [11:37:54]Read from MH i2c: D1 [11:37:54]MH_I2C_Read... [11:37:54]Read from MH i2c: D1 01 00 [11:37:54]MH_I2C_Read... [11:37:54]Read from MH i2c: D1 01 00 9D 0C 00 7A [11:37:54]Write to MH i2c: 01 00 00 9E 0C AA [11:37:54]Write i2c OK [11:37:54]MH_I2C_Read... [11:37:54]OFD Sender: No OFD packet to send [11:37:54]*** Cut start [11:37:54]*** Partial cut [11:37:54]*** CUTSNS_PIN = 1 [11:37:54]*** CUTSNS_PIN = 0 [11:37:55]*** Brake cut motor [11:37:55]Read from MH i2c: 01 [11:37:55]MH_I2C_Read... [11:37:55]*** Stop cut motor [11:37:55]*** Cut end [11:37:55]Read from MH i2c: 01 07 00 [11:37:55]MH_I2C_Read... [11:37:55]Read from MH i2c: 01 07 00 9E 0C 00 00 00 00 00 FF 0F BF [11:37:55]process_action close_receipt done [11:37:55]requested_data is exist [11:37:55]produce_requested_data [11:37:55]requested_item fm.sn is exist - process it [11:37:55]wFMCommunicate request_size=4 [11:37:55]MH_SAM_APDU [11:37:55]CAPDU: 80 11 00 00 [11:37:55]Write to MH i2c: E2 08 00 9F 0C 80 11 00 00 00 00 00 00 25 [11:37:55]Write i2c OK [11:37:55]MH_I2C_Read... [11:37:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:37:55]Read from MH i2c: E2 [11:37:55]MH_I2C_Read... [11:37:55]Read from MH i2c: E2 17 00 [11:37:55]MH_I2C_Read... [11:37:55]Read from MH i2c: E2 17 00 9F 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 7E [11:37:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [11:37:55]wFMCommunicate OK [11:37:55]requested_item fd.num is exist - process it [11:37:55]SAM_PROTO_GetFieldsCounters [11:37:55]wFMCommunicate request_size=4 [11:37:55]MH_SAM_APDU [11:37:55]CAPDU: 80 13 00 00 [11:37:55]Write to MH i2c: E2 08 00 A0 0C 80 13 00 00 00 00 00 00 28 [11:37:55]Write i2c OK [11:37:55]MH_I2C_Read... [11:37:55]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:37:55]Read from MH i2c: E2 [11:37:55]MH_I2C_Read... [11:37:55]Read from MH i2c: E2 62 00 [11:37:55]MH_I2C_Read... [11:37:55]Read from MH i2c: E2 62 00 A0 0C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 5F 4A 00 00 0E 04 04 00 B8 00 00 00 12 04 04 00 1C 00 00 00 5E 04 04 00 1C 00 00 00 57 04 04 00 1D 00 00 00 19 04 04 00 00 00 00 00 90 00 0A [11:37:55]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 5F 4A 00 00 0E 04 04 00 B8 00 00 00 12 04 04 00 1C 00 00 00 5E 04 04 00 1C 00 00 00 57 04 04 00 1D 00 00 00 19 04 04 00 00 00 00 00 90 00 [11:37:55]wFMCommunicate OK [11:37:55]SAM_PROTO_GetFieldsCounters done [11:37:55]requested_item shift.num is exist - process it [11:37:55]requested_item shift.opened is exist - process it [11:37:55]req_shift_opened [11:37:55]FM_GetShiftState [11:37:55]SAM_PROTO_GetShiftState [11:37:55]wFMCommunicate request_size=4 [11:37:55]MH_SAM_APDU [11:37:55]CAPDU: 80 13 01 00 [11:37:55]Write to MH i2c: E2 08 00 A1 0C 80 13 01 00 00 00 00 00 2A [11:37:55]Write i2c OK [11:37:55]MH_I2C_Read... [11:37:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:37:55]Read from MH i2c: E2 [11:37:55]MH_I2C_Read... [11:37:55]Read from MH i2c: E2 0E 00 [11:37:55]MH_I2C_Read... [11:37:55]Read from MH i2c: E2 0E 00 A1 0C 00 09 00 01 58 A7 F4 66 00 00 00 00 90 00 8F [11:37:55]RAPDU: 09 00 01 58 A7 F4 66 00 00 00 00 90 00 [11:37:55]wFMCommunicate OK [11:37:55]SAM_PROTO_GetShiftState done [11:37:55]FM_GetShiftState done [11:37:55]req_shift_opened done [11:37:55]requested_item shift.open_date is exist - process it [11:37:55]req_shift_open_date [11:37:55]req_shift_open_date done [11:37:55]produce_requested_data done [11:37:55]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":19039,"shift.num":184,"shift.opened":1,"shift.open_date":1727309656} [11:37:55]process_action_free close_receipt [11:37:55]json_value_free [11:37:55]json_value_free done [11:37:55]process_json_proto returns [11:37:55]Send response to host [11:37:55]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":19039,"shift.num":184,"shift.opened":1,"shift.open_date":1727309656}}} [11:37:55]free response buf [11:37:55]execute_script done [11:37:55]execute_script returns [11:37:55]free content buf [11:37:55]Sock 7.Close socket [11:37:55]Sock 7.Thread stoped [11:37:59]OFD Sender: No OFD packet to send [11:38:04]OFD Sender: No OFD packet to send [11:38:09]OFD Sender: No OFD packet to send [11:38:14]OFD Sender: No OFD packet to send [11:38:19]OFD Sender: No OFD packet to send [11:38:24]OFD Sender: No OFD packet to send [11:38:29]OFD Sender: No OFD packet to send [11:38:34]OFD Sender: No OFD packet to send [11:38:39]OFD Sender: No OFD packet to send [11:38:44]OFD Sender: No OFD packet to send [11:38:49]OFD Sender: No OFD packet to send [11:38:54]OFD Sender: No OFD packet to send [11:38:59]OFD Sender: No OFD packet to send [11:39:04]OFD Sender: No OFD packet to send [11:39:09]OFD Sender: No OFD packet to send [11:39:14]OFD Sender: No OFD packet to send [11:39:19]OFD Sender: No OFD packet to send [11:39:24]OFD Sender: No OFD packet to send [11:39:29]OFD Sender: No OFD packet to send [11:39:34]OFD Sender: No OFD packet to send [11:39:39]OFD Sender: No OFD packet to send [11:39:44]OFD Sender: No OFD packet to send [11:39:49]OFD Sender: No OFD packet to send [11:39:54]OFD Sender: No OFD packet to send [11:39:59]OFD Sender: No OFD packet to send [11:40:04]OFD Sender: No OFD packet to send [11:40:09]OFD Sender: No OFD packet to send [11:40:14]OFD Sender: No OFD packet to send [11:40:19]OFD Sender: No OFD packet to send [11:40:24]OFD Sender: No OFD packet to send [11:40:29]OFD Sender: No OFD packet to send [11:40:34]OFD Sender: No OFD packet to send [11:40:39]OFD Sender: No OFD packet to send [11:40:44]OFD Sender: No OFD packet to send [11:40:49]OFD Sender: No OFD packet to send [11:40:54]OFD Sender: No OFD packet to send [11:40:59]OFD Sender: No OFD packet to send [11:41:04]OFD Sender: No OFD packet to send [11:41:09]OFD Sender: No OFD packet to send [11:41:14]OFD Sender: No OFD packet to send [11:41:19]OFD Sender: No OFD packet to send [11:41:24]OFD Sender: No OFD packet to send [11:41:29]OFD Sender: No OFD packet to send [11:41:34]OFD Sender: No OFD packet to send [11:41:39]OFD Sender: No OFD packet to send [11:41:44]OFD Sender: No OFD packet to send [11:41:49]OFD Sender: No OFD packet to send [11:41:54]OFD Sender: No OFD packet to send [11:41:59]OFD Sender: No OFD packet to send [11:42:04]OFD Sender: No OFD packet to send [11:42:09]OFD Sender: No OFD packet to send [11:42:14]OFD Sender: No OFD packet to send [11:42:19]OFD Sender: No OFD packet to send [11:42:24]OFD Sender: No OFD packet to send [11:42:29]OFD Sender: No OFD packet to send [11:42:34]OFD Sender: No OFD packet to send [11:42:39]OFD Sender: No OFD packet to send [11:42:44]OFD Sender: No OFD packet to send [11:42:50]OFD Sender: No OFD packet to send [11:42:55]OFD Sender: No OFD packet to send [11:43:00]OFD Sender: No OFD packet to send [11:43:05]OFD Sender: No OFD packet to send [11:43:10]OFD Sender: No OFD packet to send [11:43:15]OFD Sender: No OFD packet to send [11:43:20]OFD Sender: No OFD packet to send [11:43:25]OFD Sender: No OFD packet to send [11:43:30]OFD Sender: No OFD packet to send [11:43:35]OFD Sender: No OFD packet to send [11:43:40]OFD Sender: No OFD packet to send [11:43:45]OFD Sender: No OFD packet to send [11:43:50]OFD Sender: No OFD packet to send [11:43:55]OFD Sender: No OFD packet to send [11:44:00]OFD Sender: No OFD packet to send [11:44:05]OFD Sender: No OFD packet to send [11:44:10]OFD Sender: No OFD packet to send [11:44:15]OFD Sender: No OFD packet to send [11:44:20]OFD Sender: No OFD packet to send [11:44:25]OFD Sender: No OFD packet to send [11:44:30]OFD Sender: No OFD packet to send [11:44:35]OFD Sender: No OFD packet to send [11:44:40]OFD Sender: No OFD packet to send [11:44:45]OFD Sender: No OFD packet to send [11:44:50]OFD Sender: No OFD packet to send [11:44:55]OFD Sender: No OFD packet to send [11:45:00]OFD Sender: No OFD packet to send [11:45:05]OFD Sender: No OFD packet to send [11:45:10]OFD Sender: No OFD packet to send [11:45:15]OFD Sender: No OFD packet to send [11:45:20]OFD Sender: No OFD packet to send [11:45:25]OFD Sender: No OFD packet to send [11:45:30]OFD Sender: No OFD packet to send [11:45:35]OFD Sender: No OFD packet to send [11:45:40]OFD Sender: No OFD packet to send [11:45:45]OFD Sender: No OFD packet to send [11:45:50]OFD Sender: No OFD packet to send [11:45:55]OFD Sender: No OFD packet to send [11:46:00]OFD Sender: No OFD packet to send [11:46:05]OFD Sender: No OFD packet to send [11:46:10]OFD Sender: No OFD packet to send [11:46:15]OFD Sender: No OFD packet to send [11:46:20]OFD Sender: No OFD packet to send [11:46:25]OFD Sender: No OFD packet to send [11:46:30]OFD Sender: No OFD packet to send [11:46:35]OFD Sender: No OFD packet to send [11:46:40]OFD Sender: No OFD packet to send [11:46:45]OFD Sender: No OFD packet to send [11:46:50]OFD Sender: No OFD packet to send [11:46:55]OFD Sender: No OFD packet to send [11:47:00]OFD Sender: No OFD packet to send [11:47:05]OFD Sender: No OFD packet to send [11:47:10]OFD Sender: No OFD packet to send [11:47:15]OFD Sender: No OFD packet to send [11:47:20]OFD Sender: No OFD packet to send [11:47:25]OFD Sender: No OFD packet to send [11:47:30]OFD Sender: No OFD packet to send [11:47:35]OFD Sender: No OFD packet to send [11:47:40]OFD Sender: No OFD packet to send [11:47:45]OFD Sender: No OFD packet to send [11:47:50]OFD Sender: No OFD packet to send [11:47:55]OFD Sender: No OFD packet to send [11:48:00]OFD Sender: No OFD packet to send [11:48:05]OFD Sender: No OFD packet to send [11:48:10]OFD Sender: No OFD packet to send [11:48:15]OFD Sender: No OFD packet to send [11:48:20]OFD Sender: No OFD packet to send [11:48:25]OFD Sender: No OFD packet to send [11:48:30]OFD Sender: No OFD packet to send [11:48:35]OFD Sender: No OFD packet to send [11:48:40]OFD Sender: No OFD packet to send [11:48:45]OFD Sender: No OFD packet to send [11:48:50]OFD Sender: No OFD packet to send [11:48:55]OFD Sender: No OFD packet to send [11:49:00]OFD Sender: No OFD packet to send [11:49:05]OFD Sender: No OFD packet to send [11:49:10]OFD Sender: No OFD packet to send [11:49:15]OFD Sender: No OFD packet to send [11:49:20]OFD Sender: No OFD packet to send [11:49:25]OFD Sender: No OFD packet to send [11:49:30]OFD Sender: No OFD packet to send [11:49:35]OFD Sender: No OFD packet to send [11:49:40]OFD Sender: No OFD packet to send [11:49:45]OFD Sender: No OFD packet to send [11:49:50]OFD Sender: No OFD packet to send [11:49:55]OFD Sender: No OFD packet to send [11:50:00]OFD Sender: No OFD packet to send [11:50:05]OFD Sender: No OFD packet to send [11:50:10]OFD Sender: No OFD packet to send [11:50:15]OFD Sender: No OFD packet to send [11:50:20]OFD Sender: No OFD packet to send [11:50:25]OFD Sender: No OFD packet to send [11:50:30]OFD Sender: No OFD packet to send [11:50:35]OFD Sender: No OFD packet to send [11:50:40]OFD Sender: No OFD packet to send [11:50:45]OFD Sender: No OFD packet to send [11:50:50]OFD Sender: No OFD packet to send [11:50:55]OFD Sender: No OFD packet to send [11:51:00]OFD Sender: No OFD packet to send [11:51:05]OFD Sender: No OFD packet to send [11:51:10]OFD Sender: No OFD packet to send [11:51:15]OFD Sender: No OFD packet to send [11:51:20]OFD Sender: No OFD packet to send [11:51:25]OFD Sender: No OFD packet to send [11:51:30]OFD Sender: No OFD packet to send [11:51:35]OFD Sender: No OFD packet to send [11:51:40]OFD Sender: No OFD packet to send [11:51:45]OFD Sender: No OFD packet to send [11:51:50]OFD Sender: No OFD packet to send [11:51:55]OFD Sender: No OFD packet to send [11:52:00]OFD Sender: No OFD packet to send [11:52:05]OFD Sender: No OFD packet to send [11:52:10]OFD Sender: No OFD packet to send [11:52:15]OFD Sender: No OFD packet to send [11:52:20]OFD Sender: No OFD packet to send [11:52:25]OFD Sender: No OFD packet to send [11:52:30]OFD Sender: No OFD packet to send [11:52:35]OFD Sender: No OFD packet to send [11:52:40]OFD Sender: No OFD packet to send [11:52:45]OFD Sender: No OFD packet to send [11:52:50]OFD Sender: No OFD packet to send [11:52:55]OFD Sender: No OFD packet to send [11:53:00]OFD Sender: No OFD packet to send [11:53:05]OFD Sender: No OFD packet to send [11:53:10]OFD Sender: No OFD packet to send [11:53:15]OFD Sender: No OFD packet to send [11:53:20]OFD Sender: No OFD packet to send [11:53:25]OFD Sender: No OFD packet to send [11:53:30]OFD Sender: No OFD packet to send [11:53:35]OFD Sender: No OFD packet to send [11:53:40]OFD Sender: No OFD packet to send [11:53:45]OFD Sender: No OFD packet to send [11:53:50]OFD Sender: No OFD packet to send [11:53:55]OFD Sender: No OFD packet to send [11:54:00]OFD Sender: No OFD packet to send [11:54:05]OFD Sender: No OFD packet to send [11:54:10]OFD Sender: No OFD packet to send [11:54:15]OFD Sender: No OFD packet to send [11:54:20]OFD Sender: No OFD packet to send [11:54:25]OFD Sender: No OFD packet to send [11:54:30]OFD Sender: No OFD packet to send [11:54:35]OFD Sender: No OFD packet to send [11:54:40]OFD Sender: No OFD packet to send [11:54:45]OFD Sender: No OFD packet to send [11:54:50]OFD Sender: No OFD packet to send [11:54:55]OFD Sender: No OFD packet to send [11:55:00]OFD Sender: No OFD packet to send [11:55:05]OFD Sender: No OFD packet to send [11:55:10]OFD Sender: No OFD packet to send [11:55:15]OFD Sender: No OFD packet to send [11:55:20]OFD Sender: No OFD packet to send [11:55:25]OFD Sender: No OFD packet to send [11:55:30]OFD Sender: No OFD packet to send [11:55:35]OFD Sender: No OFD packet to send [11:55:40]OFD Sender: No OFD packet to send [11:55:45]OFD Sender: No OFD packet to send [11:55:50]OFD Sender: No OFD packet to send [11:55:55]OFD Sender: No OFD packet to send [11:56:00]OFD Sender: No OFD packet to send [11:56:05]OFD Sender: No OFD packet to send [11:56:10]OFD Sender: No OFD packet to send [11:56:15]OFD Sender: No OFD packet to send [11:56:20]OFD Sender: No OFD packet to send [11:56:25]OFD Sender: No OFD packet to send [11:56:30]OFD Sender: No OFD packet to send [11:56:35]OFD Sender: No OFD packet to send [11:56:40]OFD Sender: No OFD packet to send [11:56:45]OFD Sender: No OFD packet to send [11:56:50]OFD Sender: No OFD packet to send [11:56:55]OFD Sender: No OFD packet to send [11:57:00]OFD Sender: No OFD packet to send [11:57:05]OFD Sender: No OFD packet to send [11:57:10]OFD Sender: No OFD packet to send [11:57:15]OFD Sender: No OFD packet to send [11:57:20]OFD Sender: No OFD packet to send [11:57:25]OFD Sender: No OFD packet to send [11:57:30]OFD Sender: No OFD packet to send [11:57:35]OFD Sender: No OFD packet to send [11:57:40]OFD Sender: No OFD packet to send [11:57:45]OFD Sender: No OFD packet to send [11:57:50]OFD Sender: No OFD packet to send [11:57:55]OFD Sender: No OFD packet to send [11:58:00]OFD Sender: No OFD packet to send [11:58:05]OFD Sender: No OFD packet to send [11:58:10]OFD Sender: No OFD packet to send [11:58:15]OFD Sender: No OFD packet to send [11:58:20]OFD Sender: No OFD packet to send [11:58:25]OFD Sender: No OFD packet to send [11:58:30]OFD Sender: No OFD packet to send [11:58:35]OFD Sender: No OFD packet to send [11:58:40]OFD Sender: No OFD packet to send [11:58:45]OFD Sender: No OFD packet to send [11:58:50]OFD Sender: No OFD packet to send [11:58:55]OFD Sender: No OFD packet to send [11:59:00]OFD Sender: No OFD packet to send [11:59:05]OFD Sender: No OFD packet to send [11:59:10]OFD Sender: No OFD packet to send [11:59:15]OFD Sender: No OFD packet to send [11:59:20]OFD Sender: No OFD packet to send [11:59:25]OFD Sender: No OFD packet to send [11:59:30]OFD Sender: No OFD packet to send [11:59:35]OFD Sender: No OFD packet to send [11:59:40]OFD Sender: No OFD packet to send [11:59:45]OFD Sender: No OFD packet to send [11:59:50]OFD Sender: No OFD packet to send [11:59:55]OFD Sender: No OFD packet to send [12:00:00]OFD Sender: No OFD packet to send [12:00:05]OFD Sender: No OFD packet to send [12:00:10]OFD Sender: No OFD packet to send [12:00:15]OFD Sender: No OFD packet to send [12:00:20]OFD Sender: No OFD packet to send [12:00:25]OFD Sender: No OFD packet to send [12:00:30]OFD Sender: No OFD packet to send [12:00:35]OFD Sender: No OFD packet to send [12:00:40]OFD Sender: No OFD packet to send [12:00:45]OFD Sender: No OFD packet to send [12:00:50]OFD Sender: No OFD packet to send [12:00:55]OFD Sender: No OFD packet to send [12:01:00]OFD Sender: No OFD packet to send [12:01:05]OFD Sender: No OFD packet to send [12:01:10]OFD Sender: No OFD packet to send [12:01:15]OFD Sender: No OFD packet to send [12:01:20]OFD Sender: No OFD packet to send [12:01:25]OFD Sender: No OFD packet to send [12:01:30]OFD Sender: No OFD packet to send [12:01:35]OFD Sender: No OFD packet to send [12:01:40]OFD Sender: No OFD packet to send [12:01:45]OFD Sender: No OFD packet to send [12:01:50]OFD Sender: No OFD packet to send [12:01:55]OFD Sender: No OFD packet to send [12:02:00]OFD Sender: No OFD packet to send [12:02:05]OFD Sender: No OFD packet to send [12:02:10]OFD Sender: No OFD packet to send [12:02:15]OFD Sender: No OFD packet to send [12:02:20]OFD Sender: No OFD packet to send [12:02:25]OFD Sender: No OFD packet to send [12:02:30]OFD Sender: No OFD packet to send [12:02:35]OFD Sender: No OFD packet to send [12:02:40]OFD Sender: No OFD packet to send [12:02:45]OFD Sender: No OFD packet to send [12:02:50]OFD Sender: No OFD packet to send [12:02:55]OFD Sender: No OFD packet to send [12:03:00]OFD Sender: No OFD packet to send [12:03:05]OFD Sender: No OFD packet to send [12:03:10]OFD Sender: No OFD packet to send [12:03:15]OFD Sender: No OFD packet to send [12:03:20]OFD Sender: No OFD packet to send [12:03:25]OFD Sender: No OFD packet to send [12:03:30]OFD Sender: No OFD packet to send [12:03:35]OFD Sender: No OFD packet to send [12:03:40]OFD Sender: No OFD packet to send [12:03:45]OFD Sender: No OFD packet to send [12:03:50]OFD Sender: No OFD packet to send [12:03:55]OFD Sender: No OFD packet to send [12:04:00]OFD Sender: No OFD packet to send [12:04:05]OFD Sender: No OFD packet to send [12:04:11]OFD Sender: No OFD packet to send [12:04:16]OFD Sender: No OFD packet to send [12:04:21]OFD Sender: No OFD packet to send [12:04:26]OFD Sender: No OFD packet to send [12:04:31]OFD Sender: No OFD packet to send [12:04:36]OFD Sender: No OFD packet to send [12:04:41]OFD Sender: No OFD packet to send [12:04:46]OFD Sender: No OFD packet to send [12:04:51]OFD Sender: No OFD packet to send [12:04:56]OFD Sender: No OFD packet to send [12:05:01]OFD Sender: No OFD packet to send [12:05:06]OFD Sender: No OFD packet to send [12:05:11]OFD Sender: No OFD packet to send [12:05:16]OFD Sender: No OFD packet to send [12:05:21]OFD Sender: No OFD packet to send [12:05:26]OFD Sender: No OFD packet to send [12:05:31]OFD Sender: No OFD packet to send [12:05:36]OFD Sender: No OFD packet to send [12:05:41]OFD Sender: No OFD packet to send [12:05:46]OFD Sender: No OFD packet to send [12:05:51]OFD Sender: No OFD packet to send [12:05:56]OFD Sender: No OFD packet to send [12:06:01]OFD Sender: No OFD packet to send [12:06:06]OFD Sender: No OFD packet to send [12:06:11]OFD Sender: No OFD packet to send [12:06:16]OFD Sender: No OFD packet to send [12:06:21]OFD Sender: No OFD packet to send [12:06:26]OFD Sender: No OFD packet to send [12:06:31]OFD Sender: No OFD packet to send [12:06:36]OFD Sender: No OFD packet to send [12:06:41]OFD Sender: No OFD packet to send [12:06:46]OFD Sender: No OFD packet to send [12:06:51]OFD Sender: No OFD packet to send [12:06:56]OFD Sender: No OFD packet to send [12:07:01]OFD Sender: No OFD packet to send [12:07:06]OFD Sender: No OFD packet to send [12:07:11]OFD Sender: No OFD packet to send [12:07:16]OFD Sender: No OFD packet to send [12:07:21]OFD Sender: No OFD packet to send [12:07:26]OFD Sender: No OFD packet to send [12:07:31]OFD Sender: No OFD packet to send [12:07:36]OFD Sender: No OFD packet to send [12:07:41]OFD Sender: No OFD packet to send [12:07:46]OFD Sender: No OFD packet to send [12:07:51]OFD Sender: No OFD packet to send [12:07:56]OFD Sender: No OFD packet to send [12:08:01]OFD Sender: No OFD packet to send [12:08:06]OFD Sender: No OFD packet to send [12:08:11]OFD Sender: No OFD packet to send [12:08:16]OFD Sender: No OFD packet to send [12:08:21]OFD Sender: No OFD packet to send [12:08:26]OFD Sender: No OFD packet to send [12:08:31]OFD Sender: No OFD packet to send [12:08:36]OFD Sender: No OFD packet to send [12:08:41]OFD Sender: No OFD packet to send [12:08:46]OFD Sender: No OFD packet to send [12:08:51]OFD Sender: No OFD packet to send [12:08:56]OFD Sender: No OFD packet to send [12:09:01]OFD Sender: No OFD packet to send [12:09:06]OFD Sender: No OFD packet to send [12:09:11]OFD Sender: No OFD packet to send [12:09:16]OFD Sender: No OFD packet to send [12:09:21]OFD Sender: No OFD packet to send [12:09:26]OFD Sender: No OFD packet to send [12:09:31]OFD Sender: No OFD packet to send [12:09:36]OFD Sender: No OFD packet to send [12:09:41]OFD Sender: No OFD packet to send [12:09:46]OFD Sender: No OFD packet to send [12:09:51]OFD Sender: No OFD packet to send [12:09:56]OFD Sender: No OFD packet to send [12:10:01]OFD Sender: No OFD packet to send [12:10:06]OFD Sender: No OFD packet to send [12:10:11]OFD Sender: No OFD packet to send [12:10:16]OFD Sender: No OFD packet to send [12:10:21]OFD Sender: No OFD packet to send [12:10:26]OFD Sender: No OFD packet to send [12:10:31]OFD Sender: No OFD packet to send [12:10:36]OFD Sender: No OFD packet to send [12:10:41]OFD Sender: No OFD packet to send [12:10:46]OFD Sender: No OFD packet to send [12:10:51]OFD Sender: No OFD packet to send [12:10:56]OFD Sender: No OFD packet to send [12:11:01]OFD Sender: No OFD packet to send [12:11:06]OFD Sender: No OFD packet to send [12:11:11]OFD Sender: No OFD packet to send [12:11:16]OFD Sender: No OFD packet to send [12:11:21]OFD Sender: No OFD packet to send [12:11:26]OFD Sender: No OFD packet to send [12:11:31]OFD Sender: No OFD packet to send [12:11:36]OFD Sender: No OFD packet to send [12:11:41]OFD Sender: No OFD packet to send [12:11:46]OFD Sender: No OFD packet to send [12:11:51]OFD Sender: No OFD packet to send [12:11:56]OFD Sender: No OFD packet to send [12:12:01]OFD Sender: No OFD packet to send [12:12:06]OFD Sender: No OFD packet to send [12:12:11]OFD Sender: No OFD packet to send [12:12:16]OFD Sender: No OFD packet to send [12:12:21]OFD Sender: No OFD packet to send [12:12:26]OFD Sender: No OFD packet to send [12:12:31]OFD Sender: No OFD packet to send [12:12:36]OFD Sender: No OFD packet to send [12:12:41]OFD Sender: No OFD packet to send [12:12:46]OFD Sender: No OFD packet to send [12:12:51]OFD Sender: No OFD packet to send [12:12:56]OFD Sender: No OFD packet to send [12:13:01]OFD Sender: No OFD packet to send [12:13:06]OFD Sender: No OFD packet to send [12:13:11]OFD Sender: No OFD packet to send [12:13:16]OFD Sender: No OFD packet to send [12:13:21]OFD Sender: No OFD packet to send [12:13:26]OFD Sender: No OFD packet to send [12:13:31]OFD Sender: No OFD packet to send [12:13:36]OFD Sender: No OFD packet to send [12:13:41]OFD Sender: No OFD packet to send [12:13:46]OFD Sender: No OFD packet to send [12:13:51]OFD Sender: No OFD packet to send [12:13:56]OFD Sender: No OFD packet to send [12:14:01]OFD Sender: No OFD packet to send [12:14:06]OFD Sender: No OFD packet to send [12:14:11]OFD Sender: No OFD packet to send [12:14:16]OFD Sender: No OFD packet to send [12:14:21]OFD Sender: No OFD packet to send [12:14:26]OFD Sender: No OFD packet to send [12:14:31]OFD Sender: No OFD packet to send [12:14:36]OFD Sender: No OFD packet to send [12:14:41]OFD Sender: No OFD packet to send [12:14: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:51]OFD Sender: No OFD packet to send [12:19:56]OFD Sender: No OFD packet to send [12:20:01]OFD Sender: No OFD packet to send [12:20:06]OFD Sender: No OFD packet to send [12:20:11]OFD Sender: No OFD packet to send [12:20:16]OFD Sender: No OFD packet to send [12:20:21]OFD Sender: No OFD packet to send [12:20:26]OFD Sender: No OFD packet to send [12:20:31]OFD Sender: No OFD packet to send [12:20:36]OFD Sender: No OFD packet to send [12:20:41]OFD Sender: No OFD packet to send [12:20:46]OFD Sender: No OFD packet to send [12:20:51]OFD Sender: No OFD packet to send [12:20:51]accept exits with 9 [12:20:51]New connection [12:20:51]New thread 3066695012 created [12:20:51]Thread 3066551652 joined [12:20:51]Waiting for new connection... [12:20:51] Sock 9.Parse request [12:20:51]Sock 9.Check first char [12:20:51]Sock 9.First char is OK [12:20:51]request: POST /json_proto HTTP/1.0 [12:20:51]Method: POST [12:20:51]URL: /json_proto [12:20:51]Method is POST - this is cgi request [12:20:51]url: /json_proto [12:20:51]query_string will be loaded in cgi processing [12:20:51]execute_cgi json_proto POST (null) [12:20:51]execute_cgi path=json_proto method=POST [12:20:51]POST find Content-Length [12:20:51]Host: 172.17.62.196:8080 [12:20:51]Content-Length: 653 [12:20:51]Content-Type: application/json [12:20:51] [12:20:51]POST finish read [12:20:51]Found Content-Length = 653 [12:20:51]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16959", "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" : 77.00, "quantity" : 1.000, "sum" : 77.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 77.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:20:51]execute_script... [12: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)16959", "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" : 77.00, "quantity" : 1.000, "sum" : 77.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 77.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:20:51]POST & json_proto [12:20:51]process_json_proto [12:20:51]json parsed OK: [12:20:51]protocol is kg_v1.0 [12:20:51]action value=close_receipt [12:20:51]process_action close_receipt [12:20:51]cmd_close_receipt [12:20:51]MH_GetDate [12:20:51]Write to MH i2c: F0 00 00 A2 0C 9D [12:20:51]Write i2c OK [12:20:51]MH_I2C_Read... [12:20:51]Read from MH i2c: F0 [12:20:51]MH_I2C_Read... [12:20:51]Read from MH i2c: F0 09 00 [12:20:51]MH_I2C_Read... [12:20:51]Read from MH i2c: F0 09 00 A2 0C 00 A8 51 F5 66 CE CC 0E 66 08 [12:20:51]GetLastDocTimeStamp 1727350675 [12:20:51]current date 1727353256 [12:20:51]FM_GetShiftState [12:20:51]SAM_PROTO_GetShiftState [12:20:51]wFMCommunicate request_size=4 [12:20:51]MH_SAM_APDU [12:20:51]CAPDU: 80 13 01 00 [12:20:51]Write to MH i2c: E2 08 00 A3 0C 80 13 01 00 00 00 00 00 2C [12:20:51]Write i2c OK [12:20:51]MH_I2C_Read... [12:20:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:20:51]Read from MH i2c: E2 [12:20:51]MH_I2C_Read... [12:20:51]Read from MH i2c: E2 0E 00 [12:20:51]MH_I2C_Read... [12:20:51]Read from MH i2c: E2 0E 00 A3 0C 00 09 00 01 58 A7 F4 66 00 00 00 00 90 00 91 [12:20:51]RAPDU: 09 00 01 58 A7 F4 66 00 00 00 00 90 00 [12:20:51]wFMCommunicate OK [12:20:51]SAM_PROTO_GetShiftState done [12:20:51]FM_GetShiftState done [12:20:51]opened in 1727309656 [12:20:51]opened+sec_in_day 1727396056 [12:20:51]quantity*price = 7700 [12:20:51]sum+1 = 7701 [12:20:51]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 77.00 НСП 1% : 0.68 НДС 12% : 8.18 Наличными: 77.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 29 26.09.2024 12:20 Смена: 184 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 19040 ФПД: 121233204941479 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T122056&type=1&operation_type=1&fn_number=0000000000959456&fd_number=19040&fm=121233204941479&tin=02508201610067®Number=0000000000152968&sum=7700 0 [12:20:53]StoreToDocumentArchive [12:20:53]shift 184 fd 19040 [12:20:53]save to /storage/0184/doc_00019040 [12:20:53]save last doc name /storage/0184/doc_00019040 to /storage/kkm_last_doc_name [12:20:53]save OK [12:20:53]Clear old archive folders... [12:20:53]ProcessDocumentItem done err = 0, tmpTLVsize=293 [12:20:53]tlvbuf is 01D83730 [12:20:53]SAM_PROTO_ClearQueue [12:20:53]wFMCommunicate request_size=4 [12:20:53]MH_SAM_APDU [12:20:53]CAPDU: 80 09 00 00 [12:20:53]Write to MH i2c: E2 08 00 B0 0C 80 09 00 00 00 00 00 00 2E [12:20:53]Write i2c OK [12:20:53]MH_I2C_Read... [12:20:53]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:20:53]Read from MH i2c: E2 [12:20:53]MH_I2C_Read... [12:20:53]Read from MH i2c: E2 03 00 [12:20:53]MH_I2C_Read... [12:20:53]Read from MH i2c: E2 03 00 B0 0C 00 90 00 30 [12:20:53]RAPDU: 90 00 [12:20:53]wFMCommunicate OK [12:20:53]SAM_PROTO_ClearQueue done [12:20:53]KKMCreateOFDPacket [12:20:53]OFDProtocolAddRootSTLVToBuf [12:20:53]FM_MakeSignedData [12:20:53]FM_MakeSignedData [12:20:53]SAM_PROTO_SignData [12:20:53]wFMCommunicate request_size=4 [12:20:53]MH_SAM_APDU [12:20:53]CAPDU: 80 0D 01 02 [12:20:53]Write to MH i2c: E2 08 00 B1 0C 80 0D 01 02 00 00 00 00 36 [12:20:53]Write i2c OK [12:20:53]MH_I2C_Read... [12:20:53]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:20:53]Read from MH i2c: E2 [12:20:53]MH_I2C_Read... [12:20:53]Read from MH i2c: E2 03 00 [12:20:53]MH_I2C_Read... [12:20:53]Read from MH i2c: E2 03 00 B1 0C 00 90 00 31 [12:20:53]RAPDU: 90 00 [12:20:53]wFMCommunicate OK [12:20:53]wFMCommunicate request_size=255 [12:20:53]MH_SAM_APDU [12:20:53]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 14 1E 00 00 00 00 13 04 06 00 14 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 1E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 44 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 32 03 00 00 00 00 07 04 06 00 14 1E 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 A8 51 F5 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 [12:20:53]Write to MH i2c: E2 02 01 B2 0C 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 14 1E 00 00 00 00 13 04 06 00 14 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 1E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 44 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 32 03 00 00 00 00 07 04 06 00 14 1E 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 A8 51 F5 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 00 00 F4 [12:20:53]Write i2c OK [12:20:53]MH_I2C_Read... [12:20:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:20:53]Read from MH i2c: E2 [12:20:53]MH_I2C_Read... [12:20:53]Read from MH i2c: E2 03 00 [12:20:53]MH_I2C_Read... [12:20:53]Read from MH i2c: E2 03 00 B2 0C 00 90 00 32 [12:20:53]RAPDU: 90 00 [12:20:53]wFMCommunicate OK [12:20:53]wFMCommunicate request_size=52 [12:20:53]MH_SAM_APDU [12:20:53]CAPDU: 80 0D 02 02 2F 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 60 4A 00 00 35 04 06 00 6E 42 CE 1D 92 A7 [12:20:53]Write to MH i2c: E2 37 00 B3 0C 80 0D 02 02 2F 00 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 60 4A 00 00 35 04 06 00 6E 42 CE 1D 92 A7 00 00 86 [12:20:53]Write i2c OK [12:20:53]MH_I2C_Read... [12:20:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:20:53]Read from MH i2c: E2 [12:20:53]MH_I2C_Read... [12:20:53]Read from MH i2c: E2 03 00 [12:20:53]MH_I2C_Read... [12:20:53]Read from MH i2c: E2 03 00 B3 0C 00 90 00 33 [12:20:53]RAPDU: 90 00 [12:20:53]wFMCommunicate OK [12:20:53]wFMCommunicate request_size=4 [12:20:53]MH_SAM_APDU [12:20:53]CAPDU: 80 0D 03 02 [12:20:53]Write to MH i2c: E2 08 00 B4 0C 80 0D 03 02 00 00 00 00 3B [12:20:53]Write i2c OK [12:20:53]MH_I2C_Read... [12:20:53]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:20:53]Read from MH i2c: E2 [12:20:53]MH_I2C_Read... [12:20:53]Read from MH i2c: E2 0B 00 [12:20:53]MH_I2C_Read... [12:20:53]Read from MH i2c: E2 0B 00 B4 0C 00 2E E7 0D 39 0C 3C F9 04 90 00 DC [12:20:53]RAPDU: 2E E7 0D 39 0C 3C F9 04 90 00 [12:20:53]wFMCommunicate OK [12:20:53]SAM_PROTO_SignData done [12:20:53]FM_MakeSignedData done [12:20:53]CreateOFDProtocolMessage [12:20:53]wFMCommunicate request_size=4 [12:20:53]MH_SAM_APDU [12:20:53]CAPDU: 80 11 00 00 [12:20:53]Write to MH i2c: E2 08 00 B5 0C 80 11 00 00 00 00 00 00 3B [12:20:53]Write i2c OK [12:20:53]MH_I2C_Read... [12:20:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:20:53]Read from MH i2c: E2 [12:20:53]MH_I2C_Read... [12:20:53]Read from MH i2c: E2 17 00 [12:20:53]MH_I2C_Read... [12:20:53]Read from MH i2c: E2 17 00 B5 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 94 [12:20:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [12:20:53]wFMCommunicate OK [12:20:53]CreateOFDProtocolMessage done [12:20:53]OFDSenderStorePacket 19040 [12:20:53]StoreOFDPacket docnum=19040 [12:20:53]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 39 01 00 00 0C 40 31 01 9B A0 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 14 1E 00 00 00 00 13 04 06 00 14 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 1E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 44 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 32 03 00 00 00 00 07 04 06 00 14 1E 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 A8 51 F5 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 60 4A 00 00 35 04 06 00 6E 42 CE 1D 92 A7 2E E7 0D 39 0C 3C F9 04 [12:20:53]CheckFolder [12:20:53]dirname=/storage/ofd_packets [12:20:53]CheckFolder done [12:20:53]ProducePacketName [12:20:53]name=ofd_packets/00019040 [12:20:53]NVStorageSaveData ofd_packets/00019040 [12:20:53]File name is /storage/ofd_packets/00019040 [12:20:53]Write 343 bytes [12:20:53]NVStorageSaveData done [12:20:53]OFDSenderStorePacket done [12:20:53]KKMCreateOFDPacket done [12:20:53]NVStorageSaveData kkm_last_timestamp [12:20:53]File name is /storage/kkm_last_timestamp [12:20:53]Write 4 bytes [12:20:53]NVStorageSaveData done [12:20:53]ExternCall_PrintAddStr [12:20:53]wPrintStart [12:20:53]Write to MH i2c: 01 00 00 B6 0C C2 [12:20:53]Write i2c OK [12:20:53]MH_I2C_Read... [12:20:53]Read from MH i2c: 01 [12:20:53]MH_I2C_Read... [12:20:53]Read from MH i2c: 01 07 00 [12:20:53]MH_I2C_Read... [12:20:53]Read from MH i2c: 01 07 00 B6 0C 00 00 00 00 00 FF 0F D7 [12:20:53]RasterBufferAndPrint [12:20:53]line Счет N : (3)16959 [12:20:53]line ИНН: 02508201610067 [12:20:53]line Контрольно-Кассовый Чек [12:20:53]line ПРОДАЖА [12:20:53]line Товар: 4700000480050 [12:20:53]line Напиток Nitro Energy эн green ж/б 0,45л [12:20:53]line 1.000 * 77.00 [12:20:53]line = 77.00 [12:20:53]line НДС 12% НСП 1% [12:20:53]line > о реализуемом товаре [12:20:53]line ИТОГО: 77.00 [12:20:53]line НСП 1% : 0.68 [12:20:53]line НДС 12% : 8.18 [12:20:53]line Наличными: 77.00 [12:20:53]line Безнал.: 0.00 [12:20:53]line Место: АЗС № 176 "Партнер Нефть" [12:20:53]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [12:20:53]line СНО: Общий режим [12:20:53]line Чек 29 26.09.2024 12:20 [12:20:53]line Смена: 184 ФФД: 1.0 [12:20:53]line ЗНМ: 0300000010 [12:20:53]line РНМ: 0000000000152968 [12:20:53]line Версия ККМ: v1.0 [12:20:53]line ФМ: 0000000000959456 [12:20:53]line ФД: 19040 [12:20:53]line ФПД: 121233204941479 [12:20:53]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T122056&type=1&operation_type=1&fn_number=0000000000959456&fd_number=19040&fm=121233204941479&tin=02508201610067®Number=0000000000152968&sum=7700 [12:20:53]line 0 [12:20:53]OFD Sender: Processing packet 19040 [packets to send 7, broken 6] [12:20:53]ProducePacketName [12:20:53]name=ofd_packets/00019040 [12:20:53]OFD Sender: To server: pG, [12:20:53]CommunicateWithHost lk.salyk.kg:30040 [12:20:53]ConnectInit lk.salyk.kg [12:20:53]written 0, free lines is 4095 [12:20:54]Connected sock=10 [12:20:54]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 39 01 00 00 0C 40 31 01 9B A0 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 14 1E 00 00 00 00 13 04 06 00 14 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 1E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 44 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 32 03 00 00 00 00 07 04 06 00 14 1E 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 A8 51 F5 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 60 4A 00 00 35 04 06 00 6E 42 CE 1D 92 A7 2E E7 0D 39 0C 3C F9 04 [12:20:54]Write to MH i2c: 01 00 00 DF 0C EB [12:20:54]Write i2c OK [12:20:54]MH_I2C_Read... [12:20:54]Read from MH i2c: 01 [12:20:54]MH_I2C_Read... [12:20:54]Read from MH i2c: 01 07 00 [12:20:54]MH_I2C_Read... [12:20:54]Read from MH i2c: 01 07 00 DF 0C 00 00 00 00 00 0B 0D 0A [12:20:54]RasterBufferAndPrint [12:20:54]line [12:20:54]line [12:20:54]line [12:20:54]line [12:20:54]line [12:20:54]written 0, free lines is 3345 [12:20:54]MH_Cut [12:20:54]Write to MH i2c: D1 01 00 E6 0C 01 C4 [12:20:54]Write i2c OK [12:20:54]MH_I2C_Read... [12:20:54]Read from MH i2c: D1 [12:20:54]MH_I2C_Read... [12:20:54]Read from MH i2c: D1 01 00 [12:20:54]MH_I2C_Read... [12:20:54]Read from MH i2c: D1 01 00 E6 0C 00 C3 [12:20:54]Write to MH i2c: 01 00 00 E7 0C F3 [12:20:54]Write i2c OK [12:20:54]MH_I2C_Read... [12:20:54]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 39 F4 47 00 C6 61 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 60 4A 00 00 F4 03 04 00 02 FB F4 66 B6 04 01 00 00 AD E2 90 0B 6E 42 36 51 [12:20:54]CommunicateWithHost err = 0 [12:20:54]CheckOFDResponse [12:20:54]1017 (14) - 77093643461234 [12:20:54]1041 (16) - 0000000000959456 [12:20:54]1040 (4) - 19040 [12:20:54]1012 (4) - 26.09.2024 06:11 [12:20:54]1206 (1) - 0 [12:20:54]OFD Sender: Remove packet 19040 [12:20:54]ProducePacketName [12:20:54]name=ofd_packets/00019040 [12:20:54]NVStorageDeleteData [12:20:54]OFD Sender: No OFD packet to send [12:20:55]*** Cut start [12:20:55]*** Partial cut [12:20:55]*** CUTSNS_PIN = 1 [12:20:55]*** CUTSNS_PIN = 0 [12:20:55]*** Brake cut motor [12:20:55]Read from MH i2c: 01 [12:20:55]MH_I2C_Read... [12:20:55]*** Stop cut motor [12:20:55]*** Cut end [12:20:55]Read from MH i2c: 01 07 00 [12:20:55]MH_I2C_Read... [12:20:55]Read from MH i2c: 01 07 00 E7 0C 00 00 00 00 00 FF 0F 08 [12:20:55]process_action close_receipt done [12:20:55]requested_data is exist [12:20:55]produce_requested_data [12:20:55]requested_item fm.sn is exist - process it [12:20:55]wFMCommunicate request_size=4 [12:20:55]MH_SAM_APDU [12:20:55]CAPDU: 80 11 00 00 [12:20:55]Write to MH i2c: E2 08 00 E8 0C 80 11 00 00 00 00 00 00 6E [12:20:55]Write i2c OK [12:20:55]MH_I2C_Read... [12:20:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:20:55]Read from MH i2c: E2 [12:20:55]MH_I2C_Read... [12:20:55]Read from MH i2c: E2 17 00 [12:20:55]MH_I2C_Read... [12:20:55]Read from MH i2c: E2 17 00 E8 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 C7 [12:20:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [12:20:55]wFMCommunicate OK [12:20:55]requested_item fd.num is exist - process it [12:20:55]SAM_PROTO_GetFieldsCounters [12:20:55]wFMCommunicate request_size=4 [12:20:55]MH_SAM_APDU [12:20:55]CAPDU: 80 13 00 00 [12:20:55]Write to MH i2c: E2 08 00 E9 0C 80 13 00 00 00 00 00 00 71 [12:20:55]Write i2c OK [12:20:55]MH_I2C_Read... [12:20:55]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:20:55]Read from MH i2c: E2 [12:20:55]MH_I2C_Read... [12:20:55]Read from MH i2c: E2 62 00 [12:20:55]MH_I2C_Read... [12:20:55]Read from MH i2c: E2 62 00 E9 0C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 60 4A 00 00 0E 04 04 00 B8 00 00 00 12 04 04 00 1D 00 00 00 5E 04 04 00 1D 00 00 00 57 04 04 00 1E 00 00 00 19 04 04 00 00 00 00 00 90 00 57 [12:20:55]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 60 4A 00 00 0E 04 04 00 B8 00 00 00 12 04 04 00 1D 00 00 00 5E 04 04 00 1D 00 00 00 57 04 04 00 1E 00 00 00 19 04 04 00 00 00 00 00 90 00 [12:20:55]wFMCommunicate OK [12:20:55]SAM_PROTO_GetFieldsCounters done [12:20:55]requested_item shift.num is exist - process it [12:20:55]requested_item shift.opened is exist - process it [12:20:55]req_shift_opened [12:20:55]FM_GetShiftState [12:20:55]SAM_PROTO_GetShiftState [12:20:55]wFMCommunicate request_size=4 [12:20:55]MH_SAM_APDU [12:20:55]CAPDU: 80 13 01 00 [12:20:55]Write to MH i2c: E2 08 00 EA 0C 80 13 01 00 00 00 00 00 73 [12:20:55]Write i2c OK [12:20:55]MH_I2C_Read... [12:20:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:20:55]Read from MH i2c: E2 [12:20:55]MH_I2C_Read... [12:20:55]Read from MH i2c: E2 0E 00 [12:20:55]MH_I2C_Read... [12:20:55]Read from MH i2c: E2 0E 00 EA 0C 00 09 00 01 58 A7 F4 66 00 00 00 00 90 00 D8 [12:20:55]RAPDU: 09 00 01 58 A7 F4 66 00 00 00 00 90 00 [12:20:55]wFMCommunicate OK [12:20:55]SAM_PROTO_GetShiftState done [12:20:55]FM_GetShiftState done [12:20:55]req_shift_opened done [12:20:55]requested_item shift.open_date is exist - process it [12:20:55]req_shift_open_date [12:20:55]req_shift_open_date done [12:20:55]produce_requested_data done [12:20:55]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":19040,"shift.num":184,"shift.opened":1,"shift.open_date":1727309656} [12:20:55]process_action_free close_receipt [12:20:55]json_value_free [12:20:55]json_value_free done [12:20:55]process_json_proto returns [12:20:55]Send response to host [12:20:55]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":19040,"shift.num":184,"shift.opened":1,"shift.open_date":1727309656}}} [12:20:55]free response buf [12:20:55]execute_script done [12:20:55]execute_script returns [12:20:55]free content buf [12:20:55]Sock 9.Close socket [12:20:55]Sock 9.Thread stoped [12:20:59]OFD Sender: No OFD packet to send [12:21:04]OFD Sender: No OFD packet to send [12:21:09]OFD Sender: No OFD packet to send [12:21:14]OFD Sender: No OFD packet to send [12:21:19]OFD Sender: No OFD packet to send [12:21:24]OFD Sender: No OFD packet to send [12:21:29]OFD Sender: No OFD packet to send [12:21:34]OFD Sender: No OFD packet to send [12:21:39]accept exits with 7 [12:21:39]New connection [12:21:39]New thread 3066551652 created [12:21:39]Thread 3066695012 joined [12:21:39]Waiting for new connection... [12:21:39] Sock 7.Parse request [12:21:39]Sock 7.Check first char [12:21:39]Sock 7.First char is OK [12:21:39]request: POST /json_proto HTTP/1.0 [12:21:39]Method: POST [12:21:39]URL: /json_proto [12:21:39]Method is POST - this is cgi request [12:21:39]url: /json_proto [12:21:39]query_string will be loaded in cgi processing [12:21:39]execute_cgi json_proto POST (null) [12:21:39]execute_cgi path=json_proto method=POST [12:21:39]POST find Content-Length [12:21:39]Host: 172.17.62.196:8080 [12:21:39]Content-Length: 590 [12:21:39]Content-Type: application/json [12:21:39] [12:21:39]POST finish read [12:21:39]Found Content-Length = 590 [12:21:39]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16962", "tax_sys" : 0, "items" : [ { "code": "42069942", "name": "\u0416\u0435\u0432 Orbit White Fresh Mint", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 45.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:21:39]execute_script... [12:21: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)16962", "tax_sys" : 0, "items" : [ { "code": "42069942", "name": "\u0416\u0435\u0432 Orbit White Fresh Mint", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 45.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:21:39]POST & json_proto [12:21:39]process_json_proto [12:21:39]json parsed OK: [12:21:39]protocol is kg_v1.0 [12:21:39]action value=close_receipt [12:21:39]process_action close_receipt [12:21:39]cmd_close_receipt [12:21:39]MH_GetDate [12:21:39]Write to MH i2c: F0 00 00 EB 0C E6 [12:21:39]Write i2c OK [12:21:39]MH_I2C_Read... [12:21:39]Read from MH i2c: F0 [12:21:39]MH_I2C_Read... [12:21:39]Read from MH i2c: F0 09 00 [12:21:39]MH_I2C_Read... [12:21:39]Read from MH i2c: F0 09 00 EB 0C 00 D8 51 F5 66 CE CC 0E 66 81 [12:21:39]GetLastDocTimeStamp 1727353256 [12:21:39]current date 1727353304 [12:21:39]FM_GetShiftState [12:21:39]SAM_PROTO_GetShiftState [12:21:39]wFMCommunicate request_size=4 [12:21:39]MH_SAM_APDU [12:21:39]CAPDU: 80 13 01 00 [12:21:39]Write to MH i2c: E2 08 00 EC 0C 80 13 01 00 00 00 00 00 75 [12:21:39]Write i2c OK [12:21:39]MH_I2C_Read... [12:21:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:21:39]Read from MH i2c: E2 [12:21:39]MH_I2C_Read... [12:21:39]Read from MH i2c: E2 0E 00 [12:21:39]MH_I2C_Read... [12:21:39]Read from MH i2c: E2 0E 00 EC 0C 00 09 00 01 58 A7 F4 66 00 00 00 00 90 00 DA [12:21:39]RAPDU: 09 00 01 58 A7 F4 66 00 00 00 00 90 00 [12:21:39]wFMCommunicate OK [12:21:39]SAM_PROTO_GetShiftState done [12:21:39]FM_GetShiftState done [12:21:39]opened in 1727309656 [12:21:39]opened+sec_in_day 1727396056 [12:21:39]quantity*price = 4500 [12:21:39]sum+1 = 4501 [12:21:39]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 45.00 НСП 1% : 0.40 НДС 12% : 4.78 Наличными: 45.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 30 26.09.2024 12:21 Смена: 184 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 19041 ФПД: 68278346202647 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T122144&type=1&operation_type=1&fn_number=0000000000959456&fd_number=19041&fm=68278346202647&tin=02508201610067®Number=0000000000152968&sum=4500 0 [12:21:40]StoreToDocumentArchive [12:21:40]shift 184 fd 19041 [12:21:40]save to /storage/0184/doc_00019041 [12:21:40]save last doc name /storage/0184/doc_00019041 to /storage/kkm_last_doc_name [12:21:40]save OK [12:21:40]Clear old archive folders... [12:21:40]ProcessDocumentItem done err = 0, tmpTLVsize=266 [12:21:40]tlvbuf is 01D75B40 [12:21:40]SAM_PROTO_ClearQueue [12:21:40]wFMCommunicate request_size=4 [12:21:40]MH_SAM_APDU [12:21:40]CAPDU: 80 09 00 00 [12:21:40]Write to MH i2c: E2 08 00 F9 0C 80 09 00 00 00 00 00 00 77 [12:21:40]Write i2c OK [12:21:40]MH_I2C_Read... [12:21:41]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:21:41]Read from MH i2c: E2 [12:21:41]MH_I2C_Read... [12:21:41]Read from MH i2c: E2 03 00 [12:21:41]MH_I2C_Read... [12:21:41]Read from MH i2c: E2 03 00 F9 0C 00 90 00 79 [12:21:41]RAPDU: 90 00 [12:21:41]wFMCommunicate OK [12:21:41]SAM_PROTO_ClearQueue done [12:21:41]KKMCreateOFDPacket [12:21:41]OFDProtocolAddRootSTLVToBuf [12:21:41]FM_MakeSignedData [12:21:41]FM_MakeSignedData [12:21:41]SAM_PROTO_SignData [12:21:41]wFMCommunicate request_size=4 [12:21:41]MH_SAM_APDU [12:21:41]CAPDU: 80 0D 01 02 [12:21:41]Write to MH i2c: E2 08 00 FA 0C 80 0D 01 02 00 00 00 00 7F [12:21:41]Write i2c OK [12:21:41]MH_I2C_Read... [12:21:41]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:21:41]Read from MH i2c: E2 [12:21:41]MH_I2C_Read... [12:21:41]Read from MH i2c: E2 03 00 [12:21:41]MH_I2C_Read... [12:21:41]Read from MH i2c: E2 03 00 FA 0C 00 90 00 7A [12:21:41]RAPDU: 90 00 [12:21:41]wFMCommunicate OK [12:21:41]wFMCommunicate request_size=255 [12:21:41]MH_SAM_APDU [12:21:41]CAPDU: 80 0D 02 02 FA 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 08 00 34 32 30 36 39 39 34 32 06 04 1D 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 68 69 74 65 20 46 72 65 73 68 20 4D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 94 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 D8 51 F5 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 [12:21:41]Write to MH i2c: E2 02 01 FB 0C 80 0D 02 02 FA 00 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 08 00 34 32 30 36 39 39 34 32 06 04 1D 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 68 69 74 65 20 46 72 65 73 68 20 4D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 94 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 D8 51 F5 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 00 00 95 [12:21:41]Write i2c OK [12:21:41]MH_I2C_Read... [12:21:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:21:41]Read from MH i2c: E2 [12:21:41]MH_I2C_Read... [12:21:41]Read from MH i2c: E2 03 00 [12:21:41]MH_I2C_Read... [12:21:41]Read from MH i2c: E2 03 00 FB 0C 00 90 00 7B [12:21:41]RAPDU: 90 00 [12:21:41]wFMCommunicate OK [12:21:41]wFMCommunicate request_size=25 [12:21:41]MH_SAM_APDU [12:21:41]CAPDU: 80 0D 02 02 14 35 36 10 04 04 00 61 4A 00 00 35 04 06 00 3E 19 4A 92 3E 17 [12:21:41]Write to MH i2c: E2 1C 00 FC 0C 80 0D 02 02 14 00 35 36 10 04 04 00 61 4A 00 00 35 04 06 00 3E 19 4A 92 3E 17 00 00 9F [12:21:41]Write i2c OK [12:21:41]MH_I2C_Read... [12:21:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:21:41]Read from MH i2c: E2 [12:21:41]MH_I2C_Read... [12:21:41]Read from MH i2c: E2 03 00 [12:21:41]MH_I2C_Read... [12:21:41]Read from MH i2c: E2 03 00 FC 0C 00 90 00 7C [12:21:41]RAPDU: 90 00 [12:21:41]wFMCommunicate OK [12:21:41]wFMCommunicate request_size=4 [12:21:41]MH_SAM_APDU [12:21:41]CAPDU: 80 0D 03 02 [12:21:41]Write to MH i2c: E2 08 00 FD 0C 80 0D 03 02 00 00 00 00 84 [12:21:41]Write i2c OK [12:21:41]MH_I2C_Read... [12:21:41]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:21:41]Read from MH i2c: E2 [12:21:41]MH_I2C_Read... [12:21:41]Read from MH i2c: E2 0B 00 [12:21:41]MH_I2C_Read... [12:21:41]Read from MH i2c: E2 0B 00 FD 0C 00 37 11 B0 DC EC A8 C3 88 90 00 38 [12:21:41]RAPDU: 37 11 B0 DC EC A8 C3 88 90 00 [12:21:41]wFMCommunicate OK [12:21:41]SAM_PROTO_SignData done [12:21:41]FM_MakeSignedData done [12:21:41]CreateOFDProtocolMessage [12:21:41]wFMCommunicate request_size=4 [12:21:41]MH_SAM_APDU [12:21:41]CAPDU: 80 11 00 00 [12:21:41]Write to MH i2c: E2 08 00 FE 0C 80 11 00 00 00 00 00 00 84 [12:21:41]Write i2c OK [12:21:41]MH_I2C_Read... [12:21:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:21:41]Read from MH i2c: E2 [12:21:41]MH_I2C_Read... [12:21:41]Read from MH i2c: E2 17 00 [12:21:41]MH_I2C_Read... [12:21:41]Read from MH i2c: E2 17 00 FE 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 DD [12:21:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [12:21:41]wFMCommunicate OK [12:21:41]CreateOFDProtocolMessage done [12:21:41]OFDSenderStorePacket 19041 [12:21:41]StoreOFDPacket docnum=19041 [12:21:41]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 1E 01 00 00 DA CA 16 01 17 21 5A 03 01 00 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 08 00 34 32 30 36 39 39 34 32 06 04 1D 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 68 69 74 65 20 46 72 65 73 68 20 4D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 94 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 D8 51 F5 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 61 4A 00 00 35 04 06 00 3E 19 4A 92 3E 17 37 11 B0 DC EC A8 C3 88 [12:21:41]CheckFolder [12:21:41]dirname=/storage/ofd_packets [12:21:41]CheckFolder done [12:21:41]ProducePacketName [12:21:41]name=ofd_packets/00019041 [12:21:41]NVStorageSaveData ofd_packets/00019041 [12:21:41]File name is /storage/ofd_packets/00019041 [12:21:41]Write 316 bytes [12:21:41]NVStorageSaveData done [12:21:41]OFDSenderStorePacket done [12:21:41]KKMCreateOFDPacket done [12:21:41]NVStorageSaveData kkm_last_timestamp [12:21:41]File name is /storage/kkm_last_timestamp [12:21:41]Write 4 bytes [12:21:41]NVStorageSaveData done [12:21:41]ExternCall_PrintAddStr [12:21:41]wPrintStart [12:21:41]Write to MH i2c: 01 00 00 FF 0C 0B [12:21:41]Write i2c OK [12:21:41]MH_I2C_Read... [12:21:41]Read from MH i2c: 01 [12:21:41]MH_I2C_Read... [12:21:41]Read from MH i2c: 01 07 00 [12:21:41]MH_I2C_Read... [12:21:41]Read from MH i2c: 01 07 00 FF 0C 00 00 00 00 00 FF 0F 20 [12:21:41]RasterBufferAndPrint [12:21:41]line Счет N : (3)16962 [12:21:41]line ИНН: 02508201610067 [12:21:41]line Контрольно-Кассовый Чек [12:21:41]line ПРОДАЖА [12:21:41]line Товар: 42069942 [12:21:41]line Жев Orbit White Fresh Mint [12:21:41]line 1.000 * 45.00 [12:21:41]line = 45.00 [12:21:41]line НДС 12% НСП 1% [12:21:41]line > о реализуемом товаре [12:21:41]line ИТОГО: 45.00 [12:21:41]line НСП 1% : 0.40 [12:21:41]line НДС 12% : 4.78 [12:21:41]line Наличными: 45.00 [12:21:41]line Безнал.: 0.00 [12:21:41]line Место: АЗС № 176 "Партнер Нефть" [12:21:41]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [12:21:41]line СНО: Общий режим [12:21:41]line Чек 30 26.09.2024 12:21 [12:21:41]line Смена: 184 ФФД: 1.0 [12:21:41]line ЗНМ: 0300000010 [12:21:41]line РНМ: 0000000000152968 [12:21:41]line Версия ККМ: v1.0 [12:21:41]line ФМ: 0000000000959456 [12:21:41]line ФД: 19041 [12:21:41]line ФПД: 68278346202647 [12:21:41]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T122144&type=1&operation_type=1&fn_number=0000000000959456&fd_number=19041&fm=68278346202647&tin=02508201610067®Number=0000000000152968&sum=4500 [12:21:41]line 0 [12:21:41]OFD Sender: Processing packet 19041 [packets to send 7, broken 6] [12:21:41]ProducePacketName [12:21:41]name=ofd_packets/00019041 [12:21:41]OFD Sender: To server: pG, [12:21:41]CommunicateWithHost lk.salyk.kg:30040 [12:21:41]ConnectInit lk.salyk.kg [12:21:41]written 0, free lines is 4095 [12:21:42]Connected sock=11 [12:21:42]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 1E 01 00 00 DA CA 16 01 17 21 5A 03 01 00 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 08 00 34 32 30 36 39 39 34 32 06 04 1D 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 68 69 74 65 20 46 72 65 73 68 20 4D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 94 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 D8 51 F5 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 61 4A 00 00 35 04 06 00 3E 19 4A 92 3E 17 37 11 B0 DC EC A8 C3 88 [12:21:42]Write to MH i2c: 01 00 00 27 0D 34 [12:21:42]Write i2c OK [12:21:42]MH_I2C_Read... [12:21:42]Read from MH i2c: 01 [12:21:42]MH_I2C_Read... [12:21:42]Read from MH i2c: 01 07 00 [12:21:42]MH_I2C_Read... [12:21:42]Read from MH i2c: 01 07 00 27 0D 00 00 00 00 00 14 0D 5C [12:21:42]RasterBufferAndPrint [12:21:42]line [12:21:42]line [12:21:42]line [12:21:42]line [12:21:42]line [12:21:42]written 0, free lines is 3354 [12:21:42]MH_Cut [12:21:42]Write to MH i2c: D1 01 00 2E 0D 01 0D [12:21:42]Write i2c OK [12:21:42]MH_I2C_Read... [12:21:42]Read from MH i2c: D1 [12:21:42]MH_I2C_Read... [12:21:42]Read from MH i2c: D1 01 00 [12:21:42]MH_I2C_Read... [12:21:42]Read from MH i2c: D1 01 00 2E 0D 00 0C [12:21:42]Write to MH i2c: 01 00 00 2F 0D 3C [12:21:42]Write i2c OK [12:21:42]MH_I2C_Read... [12:21:42]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 8E 51 47 00 CD 4F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 61 4A 00 00 F4 03 04 00 32 FB F4 66 B6 04 01 00 00 62 50 1A D9 8E E4 16 F0 [12:21:42]CommunicateWithHost err = 0 [12:21:42]CheckOFDResponse [12:21:42]1017 (14) - 77093643461234 [12:21:42]1041 (16) - 0000000000959456 [12:21:42]1040 (4) - 19041 [12:21:42]1012 (4) - 26.09.2024 06:12 [12:21:42]1206 (1) - 0 [12:21:42]OFD Sender: Remove packet 19041 [12:21:42]ProducePacketName [12:21:42]name=ofd_packets/00019041 [12:21:42]NVStorageDeleteData [12:21:42]OFD Sender: No OFD packet to send [12:21:42]*** Cut start [12:21:42]*** Partial cut [12:21:42]*** CUTSNS_PIN = 1 [12:21:42]*** CUTSNS_PIN = 0 [12:21:43]*** Brake cut motor [12:21:43]Read from MH i2c: 01 [12:21:43]MH_I2C_Read... [12:21:43]*** Stop cut motor [12:21:43]*** Cut end [12:21:43]Read from MH i2c: 01 07 00 [12:21:43]MH_I2C_Read... [12:21:43]Read from MH i2c: 01 07 00 2F 0D 00 00 00 00 00 FF 0F 51 [12:21:43]process_action close_receipt done [12:21:43]requested_data is exist [12:21:43]produce_requested_data [12:21:43]requested_item fm.sn is exist - process it [12:21:43]wFMCommunicate request_size=4 [12:21:43]MH_SAM_APDU [12:21:43]CAPDU: 80 11 00 00 [12:21:43]Write to MH i2c: E2 08 00 30 0D 80 11 00 00 00 00 00 00 B7 [12:21:43]Write i2c OK [12:21:43]MH_I2C_Read... [12:21:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:21:43]Read from MH i2c: E2 [12:21:43]MH_I2C_Read... [12:21:43]Read from MH i2c: E2 17 00 [12:21:43]MH_I2C_Read... [12:21:43]Read from MH i2c: E2 17 00 30 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 10 [12:21:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [12:21:43]wFMCommunicate OK [12:21:43]requested_item fd.num is exist - process it [12:21:43]SAM_PROTO_GetFieldsCounters [12:21:43]wFMCommunicate request_size=4 [12:21:43]MH_SAM_APDU [12:21:43]CAPDU: 80 13 00 00 [12:21:43]Write to MH i2c: E2 08 00 31 0D 80 13 00 00 00 00 00 00 BA [12:21:43]Write i2c OK [12:21:43]MH_I2C_Read... [12:21:43]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:21:43]Read from MH i2c: E2 [12:21:43]MH_I2C_Read... [12:21:43]Read from MH i2c: E2 62 00 [12:21:43]MH_I2C_Read... [12:21:43]Read from MH i2c: E2 62 00 31 0D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 61 4A 00 00 0E 04 04 00 B8 00 00 00 12 04 04 00 1E 00 00 00 5E 04 04 00 1E 00 00 00 57 04 04 00 1F 00 00 00 19 04 04 00 00 00 00 00 90 00 A4 [12:21:43]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 61 4A 00 00 0E 04 04 00 B8 00 00 00 12 04 04 00 1E 00 00 00 5E 04 04 00 1E 00 00 00 57 04 04 00 1F 00 00 00 19 04 04 00 00 00 00 00 90 00 [12:21:43]wFMCommunicate OK [12:21:43]SAM_PROTO_GetFieldsCounters done [12:21:43]requested_item shift.num is exist - process it [12:21:43]requested_item shift.opened is exist - process it [12:21:43]req_shift_opened [12:21:43]FM_GetShiftState [12:21:43]SAM_PROTO_GetShiftState [12:21:43]wFMCommunicate request_size=4 [12:21:43]MH_SAM_APDU [12:21:43]CAPDU: 80 13 01 00 [12:21:43]Write to MH i2c: E2 08 00 32 0D 80 13 01 00 00 00 00 00 BC [12:21:43]Write i2c OK [12:21:43]MH_I2C_Read... [12:21:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:21:43]Read from MH i2c: E2 [12:21:43]MH_I2C_Read... [12:21:43]Read from MH i2c: E2 0E 00 [12:21:43]MH_I2C_Read... [12:21:43]Read from MH i2c: E2 0E 00 32 0D 00 09 00 01 58 A7 F4 66 00 00 00 00 90 00 21 [12:21:43]RAPDU: 09 00 01 58 A7 F4 66 00 00 00 00 90 00 [12:21:43]wFMCommunicate OK [12:21:43]SAM_PROTO_GetShiftState done [12:21:43]FM_GetShiftState done [12:21:43]req_shift_opened done [12:21:43]requested_item shift.open_date is exist - process it [12:21:43]req_shift_open_date [12:21:43]req_shift_open_date done [12:21:43]produce_requested_data done [12:21:43]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":19041,"shift.num":184,"shift.opened":1,"shift.open_date":1727309656} [12:21:43]process_action_free close_receipt [12:21:43]json_value_free [12:21:43]json_value_free done [12:21:43]process_json_proto returns [12:21:43]Send response to host [12:21:43]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":19041,"shift.num":184,"shift.opened":1,"shift.open_date":1727309656}}} [12:21:43]free response buf [12:21:43]execute_script done [12:21:43]execute_script returns [12:21:43]free content buf [12:21:43]Sock 7.Close socket [12:21:43]Sock 7.Thread stoped [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]accept exits with 9 [12:24:22]New connection [12:24:22]New thread 3066695012 created [12:24:22]Thread 3066551652 joined [12:24:22]Waiting for new connection... [12:24:22] Sock 9.Parse request [12:24:22]Sock 9.Check first char [12:24:22]Sock 9.First char is OK [12:24:22]request: POST /json_proto HTTP/1.0 [12:24:22]Method: POST [12:24:22]URL: /json_proto [12:24:22]Method is POST - this is cgi request [12:24:22]url: /json_proto [12:24:22]query_string will be loaded in cgi processing [12:24:22]execute_cgi json_proto POST (null) [12:24:22]execute_cgi path=json_proto method=POST [12:24:22]POST find Content-Length [12:24:22]Host: 172.17.62.196:8080 [12:24:22]Content-Length: 644 [12:24:22]Content-Type: application/json [12:24:22] [12:24:22]POST finish read [12:24:22]Found Content-Length = 644 [12:24:22]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16963", "tax_sys" : 0, "items" : [ { "code": "46226617", "name": "Mentos \u041F\u0412 \u041D\u0435\u0436\u043D\u0430\u044F \u041C\u044F\u0442\u0430 6*100*2\u0433", "price" : 10.00, "quantity" : 3.000, "sum" : 30.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 30.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:24:22]execute_script... [12:24: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)16963", "tax_sys" : 0, "items" : [ { "code": "46226617", "name": "Mentos \u041F\u0412 \u041D\u0435\u0436\u043D\u0430\u044F \u041C\u044F\u0442\u0430 6*100*2\u0433", "price" : 10.00, "quantity" : 3.000, "sum" : 30.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 30.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:24:22]POST & json_proto [12:24:22]process_json_proto [12:24:22]json parsed OK: [12:24:22]protocol is kg_v1.0 [12:24:22]action value=close_receipt [12:24:22]process_action close_receipt [12:24:22]cmd_close_receipt [12:24:22]MH_GetDate [12:24:22]Write to MH i2c: F0 00 00 33 0D 2F [12:24:22]Write i2c OK [12:24:22]MH_I2C_Read... [12:24:22]Read from MH i2c: F0 [12:24:22]MH_I2C_Read... [12:24:22]Read from MH i2c: F0 09 00 [12:24:22]MH_I2C_Read... [12:24:22]Read from MH i2c: F0 09 00 33 0D 00 7B 52 F5 66 CE CC 0E 66 6E [12:24:22]GetLastDocTimeStamp 1727353304 [12:24:22]current date 1727353467 [12:24:22]FM_GetShiftState [12:24:22]SAM_PROTO_GetShiftState [12:24:22]wFMCommunicate request_size=4 [12:24:22]MH_SAM_APDU [12:24:22]CAPDU: 80 13 01 00 [12:24:22]Write to MH i2c: E2 08 00 34 0D 80 13 01 00 00 00 00 00 BE [12:24:22]Write i2c OK [12:24:22]MH_I2C_Read... [12:24:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:24:22]Read from MH i2c: E2 [12:24:22]MH_I2C_Read... [12:24:22]Read from MH i2c: E2 0E 00 [12:24:22]MH_I2C_Read... [12:24:22]Read from MH i2c: E2 0E 00 34 0D 00 09 00 01 58 A7 F4 66 00 00 00 00 90 00 23 [12:24:22]RAPDU: 09 00 01 58 A7 F4 66 00 00 00 00 90 00 [12:24:22]wFMCommunicate OK [12:24:22]SAM_PROTO_GetShiftState done [12:24:22]FM_GetShiftState done [12:24:22]opened in 1727309656 [12:24:22]opened+sec_in_day 1727396056 [12:24:22]quantity*price = 3000 [12:24:22]sum+1 = 3001 [12:24:22]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 30.00 НСП 1% : 0.26 НДС 12% : 3.19 Наличными: 30.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 31 26.09.2024 12:24 Смена: 184 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 19042 ФПД: 4400750935337 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T122427&type=1&operation_type=1&fn_number=0000000000959456&fd_number=19042&fm=4400750935337&tin=02508201610067®Number=0000000000152968&sum=3000 0 [12:24:23]StoreToDocumentArchive [12:24:23]shift 184 fd 19042 [12:24:23]save to /storage/0184/doc_00019042 [12:24:23]save last doc name /storage/0184/doc_00019042 to /storage/kkm_last_doc_name [12:24:23]save OK [12:24:23]Clear old archive folders... [12:24:23]ProcessDocumentItem done err = 0, tmpTLVsize=280 [12:24:23]tlvbuf is 01D64390 [12:24:23]SAM_PROTO_ClearQueue [12:24:23]wFMCommunicate request_size=4 [12:24:23]MH_SAM_APDU [12:24:23]CAPDU: 80 09 00 00 [12:24:23]Write to MH i2c: E2 08 00 41 0D 80 09 00 00 00 00 00 00 C0 [12:24:23]Write i2c OK [12:24:23]MH_I2C_Read... [12:24:23]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:24:23]Read from MH i2c: E2 [12:24:23]MH_I2C_Read... [12:24:23]Read from MH i2c: E2 03 00 [12:24:23]MH_I2C_Read... [12:24:23]Read from MH i2c: E2 03 00 41 0D 00 90 00 C2 [12:24:23]RAPDU: 90 00 [12:24:23]wFMCommunicate OK [12:24:23]SAM_PROTO_ClearQueue done [12:24:23]KKMCreateOFDPacket [12:24:23]OFDProtocolAddRootSTLVToBuf [12:24:23]FM_MakeSignedData [12:24:23]FM_MakeSignedData [12:24:23]SAM_PROTO_SignData [12:24:23]wFMCommunicate request_size=4 [12:24:23]MH_SAM_APDU [12:24:23]CAPDU: 80 0D 01 02 [12:24:23]Write to MH i2c: E2 08 00 42 0D 80 0D 01 02 00 00 00 00 C8 [12:24:23]Write i2c OK [12:24:23]MH_I2C_Read... [12:24:24]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:24:24]Read from MH i2c: E2 [12:24:24]MH_I2C_Read... [12:24:24]Read from MH i2c: E2 03 00 [12:24:24]MH_I2C_Read... [12:24:24]Read from MH i2c: E2 03 00 42 0D 00 90 00 C3 [12:24:24]RAPDU: 90 00 [12:24:24]wFMCommunicate OK [12:24:24]wFMCommunicate request_size=255 [12:24:24]MH_SAM_APDU [12:24:24]CAPDU: 80 0D 02 02 FA 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 08 00 34 36 32 32 36 36 31 37 06 04 2B 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9D D0 B5 D0 B6 D0 BD D0 B0 D1 8F 20 D0 9C D1 8F D1 82 D0 B0 20 36 2A 31 30 30 2A 32 D0 B3 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 B8 0B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 0B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3F 01 00 00 00 00 07 04 06 00 B8 0B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1F 00 00 00 F4 03 04 00 7B 52 F5 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 [12:24:24]Write to MH i2c: E2 02 01 43 0D 80 0D 02 02 FA 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 08 00 34 36 32 32 36 36 31 37 06 04 2B 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9D D0 B5 D0 B6 D0 BD D0 B0 D1 8F 20 D0 9C D1 8F D1 82 D0 B0 20 36 2A 31 30 30 2A 32 D0 B3 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 B8 0B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 0B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3F 01 00 00 00 00 07 04 06 00 B8 0B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1F 00 00 00 F4 03 04 00 7B 52 F5 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 00 00 58 [12:24:24]Write i2c OK [12:24:24]MH_I2C_Read... [12:24:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:24:24]Read from MH i2c: E2 [12:24:24]MH_I2C_Read... [12:24:24]Read from MH i2c: E2 03 00 [12:24:24]MH_I2C_Read... [12:24:24]Read from MH i2c: E2 03 00 43 0D 00 90 00 C4 [12:24:24]RAPDU: 90 00 [12:24:24]wFMCommunicate OK [12:24:24]wFMCommunicate request_size=39 [12:24:24]MH_SAM_APDU [12:24:24]CAPDU: 80 0D 02 02 22 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 62 4A 00 00 35 04 06 00 04 00 A1 32 3D 29 [12:24:24]Write to MH i2c: E2 2A 00 44 0D 80 0D 02 02 22 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 62 4A 00 00 35 04 06 00 04 00 A1 32 3D 29 00 00 75 [12:24:24]Write i2c OK [12:24:24]MH_I2C_Read... [12:24:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:24:24]Read from MH i2c: E2 [12:24:24]MH_I2C_Read... [12:24:24]Read from MH i2c: E2 03 00 [12:24:24]MH_I2C_Read... [12:24:24]Read from MH i2c: E2 03 00 44 0D 00 90 00 C5 [12:24:24]RAPDU: 90 00 [12:24:24]wFMCommunicate OK [12:24:24]wFMCommunicate request_size=4 [12:24:24]MH_SAM_APDU [12:24:24]CAPDU: 80 0D 03 02 [12:24:24]Write to MH i2c: E2 08 00 45 0D 80 0D 03 02 00 00 00 00 CD [12:24:24]Write i2c OK [12:24:24]MH_I2C_Read... [12:24:24]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:24:24]Read from MH i2c: E2 [12:24:24]MH_I2C_Read... [12:24:24]Read from MH i2c: E2 0B 00 [12:24:24]MH_I2C_Read... [12:24:24]Read from MH i2c: E2 0B 00 45 0D 00 7D F2 DF F9 EF CE 6A 49 90 00 85 [12:24:24]RAPDU: 7D F2 DF F9 EF CE 6A 49 90 00 [12:24:24]wFMCommunicate OK [12:24:24]SAM_PROTO_SignData done [12:24:24]FM_MakeSignedData done [12:24:24]CreateOFDProtocolMessage [12:24:24]wFMCommunicate request_size=4 [12:24:24]MH_SAM_APDU [12:24:24]CAPDU: 80 11 00 00 [12:24:24]Write to MH i2c: E2 08 00 46 0D 80 11 00 00 00 00 00 00 CD [12:24:24]Write i2c OK [12:24:24]MH_I2C_Read... [12:24:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:24:24]Read from MH i2c: E2 [12:24:24]MH_I2C_Read... [12:24:24]Read from MH i2c: E2 17 00 [12:24:24]MH_I2C_Read... [12:24:24]Read from MH i2c: E2 17 00 46 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 26 [12:24:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [12:24:24]wFMCommunicate OK [12:24:24]CreateOFDProtocolMessage done [12:24:24]OFDSenderStorePacket 19042 [12:24:24]StoreOFDPacket docnum=19042 [12:24:24]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 2C 01 00 00 24 F0 24 01 50 A1 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 08 00 34 36 32 32 36 36 31 37 06 04 2B 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9D D0 B5 D0 B6 D0 BD D0 B0 D1 8F 20 D0 9C D1 8F D1 82 D0 B0 20 36 2A 31 30 30 2A 32 D0 B3 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 B8 0B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 0B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3F 01 00 00 00 00 07 04 06 00 B8 0B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1F 00 00 00 F4 03 04 00 7B 52 F5 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 62 4A 00 00 35 04 06 00 04 00 A1 32 3D 29 7D F2 DF F9 EF CE 6A 49 [12:24:24]CheckFolder [12:24:24]dirname=/storage/ofd_packets [12:24:24]CheckFolder done [12:24:24]ProducePacketName [12:24:24]name=ofd_packets/00019042 [12:24:24]NVStorageSaveData ofd_packets/00019042 [12:24:24]File name is /storage/ofd_packets/00019042 [12:24:24]Write 330 bytes [12:24:24]NVStorageSaveData done [12:24:24]OFDSenderStorePacket done [12:24:24]KKMCreateOFDPacket done [12:24:24]NVStorageSaveData kkm_last_timestamp [12:24:24]File name is /storage/kkm_last_timestamp [12:24:24]Write 4 bytes [12:24:24]NVStorageSaveData done [12:24:24]ExternCall_PrintAddStr [12:24:24]wPrintStart [12:24:24]Write to MH i2c: 01 00 00 47 0D 54 [12:24:24]Write i2c OK [12:24:24]MH_I2C_Read... [12:24:24]Read from MH i2c: 01 [12:24:24]MH_I2C_Read... [12:24:24]Read from MH i2c: 01 07 00 [12:24:24]MH_I2C_Read... [12:24:24]Read from MH i2c: 01 07 00 47 0D 00 00 00 00 00 FF 0F 69 [12:24:24]RasterBufferAndPrint [12:24:24]line Счет N : (3)16963 [12:24:24]line ИНН: 02508201610067 [12:24:24]line Контрольно-Кассовый Чек [12:24:24]line ПРОДАЖА [12:24:24]line Товар: 46226617 [12:24:24]line Mentos ПВ Нежная Мята 6*100*2г [12:24:24]line 3.000 * 10.00 [12:24:24]line = 30.00 [12:24:24]line НДС 12% НСП 1% [12:24:24]line > о реализуемом товаре [12:24:24]line ИТОГО: 30.00 [12:24:24]line НСП 1% : 0.26 [12:24:24]line НДС 12% : 3.19 [12:24:24]line Наличными: 30.00 [12:24:24]line Безнал.: 0.00 [12:24:24]line Место: АЗС № 176 "Партнер Нефть" [12:24:24]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [12:24:24]line СНО: Общий режим [12:24:24]line Чек 31 26.09.2024 12:24 [12:24:24]line Смена: 184 ФФД: 1.0 [12:24:24]line ЗНМ: 0300000010 [12:24:24]line РНМ: 0000000000152968 [12:24:24]line Версия ККМ: v1.0 [12:24:24]line ФМ: 0000000000959456 [12:24:24]line ФД: 19042 [12:24:24]line ФПД: 4400750935337 [12:24:24]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T122427&type=1&operation_type=1&fn_number=0000000000959456&fd_number=19042&fm=4400750935337&tin=02508201610067®Number=0000000000152968&sum=3000 [12:24:24]line 0 [12:24:24]OFD Sender: Processing packet 19042 [packets to send 7, broken 6] [12:24:24]ProducePacketName [12:24:24]name=ofd_packets/00019042 [12:24:24]OFD Sender: To server: pG, [12:24:24]CommunicateWithHost lk.salyk.kg:30040 [12:24:24]ConnectInit lk.salyk.kg [12:24:24]written 0, free lines is 4095 [12:24:24]Connected sock=11 [12:24:24]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 2C 01 00 00 24 F0 24 01 50 A1 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 08 00 34 36 32 32 36 36 31 37 06 04 2B 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9D D0 B5 D0 B6 D0 BD D0 B0 D1 8F 20 D0 9C D1 8F D1 82 D0 B0 20 36 2A 31 30 30 2A 32 D0 B3 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 B8 0B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 0B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3F 01 00 00 00 00 07 04 06 00 B8 0B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1F 00 00 00 F4 03 04 00 7B 52 F5 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 62 4A 00 00 35 04 06 00 04 00 A1 32 3D 29 7D F2 DF F9 EF CE 6A 49 [12:24:25]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 D1 D9 47 00 0A 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 39 35 39 34 35 36 10 04 04 00 62 4A 00 00 F4 03 04 00 D4 FB F4 66 B6 04 01 00 00 7D 47 38 30 BA 43 0F C4 [12:24:25]CommunicateWithHost err = 0 [12:24:25]CheckOFDResponse [12:24:25]1017 (14) - 77093643461234 [12:24:25]1041 (16) - 0000000000959456 [12:24:25]1040 (4) - 19042 [12:24:25]1012 (4) - 26.09.2024 06:14 [12:24:25]1206 (1) - 0 [12:24:25]OFD Sender: Remove packet 19042 [12:24:25]ProducePacketName [12:24:25]name=ofd_packets/00019042 [12:24:25]NVStorageDeleteData [12:24:25]Write to MH i2c: 01 00 00 70 0D 7D [12:24:25]Write i2c OK [12:24:25]MH_I2C_Read... [12:24:25]Read from MH i2c: 01 [12:24:25]MH_I2C_Read... [12:24:25]Read from MH i2c: 01 07 00 [12:24:25]MH_I2C_Read... [12:24:25]Read from MH i2c: 01 07 00 70 0D 00 00 00 00 00 01 0D 92 [12:24:25]RasterBufferAndPrint [12:24:25]line [12:24:25]line [12:24:25]line [12:24:25]line [12:24:25]line [12:24:25]written 0, free lines is 3335 [12:24:25]MH_Cut [12:24:25]Write to MH i2c: D1 01 00 77 0D 01 56 [12:24:25]Write i2c OK [12:24:25]MH_I2C_Read... [12:24:25]Read from MH i2c: D1 [12:24:25]MH_I2C_Read... [12:24:25]Read from MH i2c: D1 01 00 [12:24:25]MH_I2C_Read... [12:24:25]Read from MH i2c: D1 01 00 77 0D 00 55 [12:24:25]Write to MH i2c: 01 00 00 78 0D 85 [12:24:25]Write i2c OK [12:24:25]MH_I2C_Read... [12:24:25]OFD Sender: No OFD packet to send [12:24:25]*** Cut start [12:24:25]*** Partial cut [12:24:25]*** CUTSNS_PIN = 1 [12:24:25]*** CUTSNS_PIN = 0 [12:24:26]*** Brake cut motor [12:24:26]Read from MH i2c: 01 [12:24:26]MH_I2C_Read... [12:24:26]*** Stop cut motor [12:24:26]*** Cut end [12:24:26]Read from MH i2c: 01 07 00 [12:24:26]MH_I2C_Read... [12:24:26]Read from MH i2c: 01 07 00 78 0D 00 00 00 00 00 FF 0F 9A [12:24:26]process_action close_receipt done [12:24:26]requested_data is exist [12:24:26]produce_requested_data [12:24:26]requested_item fm.sn is exist - process it [12:24:26]wFMCommunicate request_size=4 [12:24:26]MH_SAM_APDU [12:24:26]CAPDU: 80 11 00 00 [12:24:26]Write to MH i2c: E2 08 00 79 0D 80 11 00 00 00 00 00 00 00 [12:24:26]Write i2c OK [12:24:26]MH_I2C_Read... [12:24:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:24:26]Read from MH i2c: E2 [12:24:26]MH_I2C_Read... [12:24:26]Read from MH i2c: E2 17 00 [12:24:26]MH_I2C_Read... [12:24:26]Read from MH i2c: E2 17 00 79 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 59 [12:24:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [12:24:26]wFMCommunicate OK [12:24:26]requested_item fd.num is exist - process it [12:24:26]SAM_PROTO_GetFieldsCounters [12:24:26]wFMCommunicate request_size=4 [12:24:26]MH_SAM_APDU [12:24:26]CAPDU: 80 13 00 00 [12:24:26]Write to MH i2c: E2 08 00 7A 0D 80 13 00 00 00 00 00 00 03 [12:24:26]Write i2c OK [12:24:26]MH_I2C_Read... [12:24:26]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:24:26]Read from MH i2c: E2 [12:24:26]MH_I2C_Read... [12:24:26]Read from MH i2c: E2 62 00 [12:24:26]MH_I2C_Read... [12:24:26]Read from MH i2c: E2 62 00 7A 0D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 62 4A 00 00 0E 04 04 00 B8 00 00 00 12 04 04 00 1F 00 00 00 5E 04 04 00 1F 00 00 00 57 04 04 00 20 00 00 00 19 04 04 00 00 00 00 00 90 00 F1 [12:24:26]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 62 4A 00 00 0E 04 04 00 B8 00 00 00 12 04 04 00 1F 00 00 00 5E 04 04 00 1F 00 00 00 57 04 04 00 20 00 00 00 19 04 04 00 00 00 00 00 90 00 [12:24:26]wFMCommunicate OK [12:24:26]SAM_PROTO_GetFieldsCounters done [12:24:26]requested_item shift.num is exist - process it [12:24:26]requested_item shift.opened is exist - process it [12:24:26]req_shift_opened [12:24:26]FM_GetShiftState [12:24:26]SAM_PROTO_GetShiftState [12:24:26]wFMCommunicate request_size=4 [12:24:26]MH_SAM_APDU [12:24:26]CAPDU: 80 13 01 00 [12:24:26]Write to MH i2c: E2 08 00 7B 0D 80 13 01 00 00 00 00 00 05 [12:24:26]Write i2c OK [12:24:26]MH_I2C_Read... [12:24:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:24:26]Read from MH i2c: E2 [12:24:26]MH_I2C_Read... [12:24:26]Read from MH i2c: E2 0E 00 [12:24:26]MH_I2C_Read... [12:24:26]Read from MH i2c: E2 0E 00 7B 0D 00 09 00 01 58 A7 F4 66 00 00 00 00 90 00 6A [12:24:26]RAPDU: 09 00 01 58 A7 F4 66 00 00 00 00 90 00 [12:24:26]wFMCommunicate OK [12:24:26]SAM_PROTO_GetShiftState done [12:24:26]FM_GetShiftState done [12:24:26]req_shift_opened done [12:24:26]requested_item shift.open_date is exist - process it [12:24:26]req_shift_open_date [12:24:26]req_shift_open_date done [12:24:26]produce_requested_data done [12:24:26]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":19042,"shift.num":184,"shift.opened":1,"shift.open_date":1727309656} [12:24:26]process_action_free close_receipt [12:24:26]json_value_free [12:24:26]json_value_free done [12:24:26]process_json_proto returns [12:24:26]Send response to host [12:24:26]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":19042,"shift.num":184,"shift.opened":1,"shift.open_date":1727309656}}} [12:24:26]free response buf [12:24:26]execute_script done [12:24:26]execute_script returns [12:24:26]free content buf [12:24:26]Sock 9.Close socket [12:24:26]Sock 9.Thread stoped [12:24:30]OFD Sender: No OFD packet to send [12:24:35]OFD Sender: No OFD packet to send [12:24:40]OFD Sender: No OFD packet to send [12:24:45]OFD Sender: No OFD packet to send [12:24:50]OFD Sender: No OFD packet to send [12:24:55]OFD Sender: No OFD packet to send [12:25:00]OFD Sender: No OFD packet to send [12:25:05]OFD Sender: No OFD packet to send [12:25:10]OFD Sender: No OFD packet to send [12:25:15]OFD Sender: No OFD packet to send [12:25:20]OFD Sender: No OFD packet to send [12:25:25]OFD Sender: No OFD packet to send [12:25:30]OFD Sender: No OFD packet to send [12:25:35]OFD Sender: No OFD packet to send [12:25:40]OFD Sender: No OFD packet to send [12:25:45]OFD Sender: No OFD packet to send [12:25:50]OFD Sender: No OFD packet to send [12:25:55]OFD Sender: No OFD packet to send [12:26:00]OFD Sender: No OFD packet to send [12:26:05]OFD Sender: No OFD packet to send [12:26:10]OFD Sender: No OFD packet to send [12:26:15]OFD Sender: No OFD packet to send [12:26:20]OFD Sender: No OFD packet to send [12:26:25]OFD Sender: No OFD packet to send [12:26:30]OFD Sender: No OFD packet to send [12:26:35]OFD Sender: No OFD packet to send [12:26:40]OFD Sender: No OFD packet to send [12:26:45]OFD Sender: No OFD packet to send [12:26:50]OFD Sender: No OFD packet to send [12:26:55]OFD Sender: No OFD packet to send [12:27:00]OFD Sender: No OFD packet to send [12:27:05]OFD Sender: No OFD packet to send [12:27:10]OFD Sender: No OFD packet to send [12:27:15]OFD Sender: No OFD packet to send [12:27:20]OFD Sender: No OFD packet to send [12:27:25]OFD Sender: No OFD packet to send [12:27:30]OFD Sender: No OFD packet to send [12:27:35]OFD Sender: No OFD packet to send [12:27:40]OFD Sender: No OFD packet to send [12:27:45]OFD Sender: No OFD packet to send [12:27:50]OFD Sender: No OFD packet to send [12:27:55]OFD Sender: No OFD packet to send [12:28:00]OFD Sender: No OFD packet to send [12:28:05]OFD Sender: No OFD packet to send [12:28:10]OFD Sender: No OFD packet to send [12:28:15]OFD Sender: No OFD packet to send [12:28:20]OFD Sender: No OFD packet to send [12:28:25]OFD Sender: No OFD packet to send [12:28:30]OFD Sender: No OFD packet to send [12:28:35]OFD Sender: No OFD packet to send [12:28:40]OFD Sender: No OFD packet to send [12:28:45]OFD Sender: No OFD packet to send [12:28:50]OFD Sender: No OFD packet to send [12:28:55]OFD Sender: No OFD packet to send [12:29:00]OFD Sender: No OFD packet to send [12:29:05]OFD Sender: No OFD packet to send [12:29:10]OFD Sender: No OFD packet to send [12:29:15]OFD Sender: No OFD packet to send [12:29:20]OFD Sender: No OFD packet to send [12:29:25]OFD Sender: No OFD packet to send [12:29:30]OFD Sender: No OFD packet to send [12:29:35]OFD Sender: No OFD packet to send [12:29:40]OFD Sender: No OFD packet to send [12:29:45]OFD Sender: No OFD packet to send [12:29:50]OFD Sender: No OFD packet to send [12:29:55]OFD Sender: No OFD packet to send [12:30:00]OFD Sender: No OFD packet to send [12:30:05]OFD Sender: No OFD packet to send [12:30:10]OFD Sender: No OFD packet to send [12:30:15]OFD Sender: No OFD packet to send [12:30:20]OFD Sender: No OFD packet to send [12:30:25]OFD Sender: No OFD packet to send [12:30:30]OFD Sender: No OFD packet to send [12:30:35]OFD Sender: No OFD packet to send [12:30:40]OFD Sender: No OFD packet to send [12:30:45]OFD Sender: No OFD packet to send [12:30:50]OFD Sender: No OFD packet to send [12:30:55]OFD Sender: No OFD packet to send [12:31:00]OFD Sender: No OFD packet to send [12:31:05]OFD Sender: No OFD packet to send [12:31:06]accept exits with 7 [12:31:06]New connection [12:31:06]New thread 3066551652 created [12:31:06]Thread 3066695012 joined [12:31:06]Waiting for new connection... [12:31:06] Sock 7.Parse request [12:31:06]Sock 7.Check first char [12:31:06]Sock 7.First char is OK [12:31:06]request: POST /json_proto HTTP/1.0 [12:31:06]Method: POST [12:31:06]URL: /json_proto [12:31:06]Method is POST - this is cgi request [12:31:06]url: /json_proto [12:31:06]query_string will be loaded in cgi processing [12:31:06]execute_cgi json_proto POST (null) [12:31:06]execute_cgi path=json_proto method=POST [12:31:06]POST find Content-Length [12:31:06]Host: 172.17.62.196:8080 [12:31:06]Content-Length: 647 [12:31:06]Content-Type: application/json [12:31:06] [12:31:06]POST finish read [12:31:06]Found Content-Length = 647 [12:31:06]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)118377", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 11", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-5", "price" : 75.70, "quantity" : 13.210, "sum" : 1000.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 1000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:31:06]execute_script... [12:31:06]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)118377", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 11", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-5", "price" : 75.70, "quantity" : 13.210, "sum" : 1000.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 1000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:31:06]POST & json_proto [12:31:06]process_json_proto [12:31:06]json parsed OK: [12:31:06]protocol is kg_v1.0 [12:31:06]action value=close_receipt [12:31:06]process_action close_receipt [12:31:06]cmd_close_receipt [12:31:06]MH_GetDate [12:31:06]Write to MH i2c: F0 00 00 7C 0D 78 [12:31:06]Write i2c OK [12:31:06]MH_I2C_Read... [12:31:06]Read from MH i2c: F0 [12:31:06]MH_I2C_Read... [12:31:06]Read from MH i2c: F0 09 00 [12:31:06]MH_I2C_Read... [12:31:06]Read from MH i2c: F0 09 00 7C 0D 00 0F 54 F5 66 CE CC 0E 66 4D [12:31:06]GetLastDocTimeStamp 1727353467 [12:31:06]current date 1727353871 [12:31:06]FM_GetShiftState [12:31:06]SAM_PROTO_GetShiftState [12:31:06]wFMCommunicate request_size=4 [12:31:06]MH_SAM_APDU [12:31:06]CAPDU: 80 13 01 00 [12:31:06]Write to MH i2c: E2 08 00 7D 0D 80 13 01 00 00 00 00 00 07 [12:31:06]Write i2c OK [12:31:06]MH_I2C_Read... [12:31:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:31:06]Read from MH i2c: E2 [12:31:06]MH_I2C_Read... [12:31:06]Read from MH i2c: E2 0E 00 [12:31:06]MH_I2C_Read... [12:31:06]Read from MH i2c: E2 0E 00 7D 0D 00 09 00 01 58 A7 F4 66 00 00 00 00 90 00 6C [12:31:06]RAPDU: 09 00 01 58 A7 F4 66 00 00 00 00 90 00 [12:31:06]wFMCommunicate OK [12:31:06]SAM_PROTO_GetShiftState done [12:31:06]FM_GetShiftState done [12:31:06]opened in 1727309656 [12:31:06]opened+sec_in_day 1727396056 [12:31:06]quantity*price = 99999 [12:31:06]sum+1 = 100001 [12:31:06]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 1000.00 НСП 1% : 8.85 НДС 12% : 106.19 Наличными: 1000.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 32 26.09.2024 12:31 Смена: 184 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 19043 ФПД: 157837392460552 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T123111&type=1&operation_type=1&fn_number=0000000000959456&fd_number=19043&fm=157837392460552&tin=02508201610067®Number=0000000000152968&sum=100000 [12:31:08]StoreToDocumentArchive [12:31:08]shift 184 fd 19043 [12:31:08]save to /storage/0184/doc_00019043 [12:31:08]save last doc name /storage/0184/doc_00019043 to /storage/kkm_last_doc_name [12:31:08]save OK [12:31:08]Clear old archive folders... [12:31:08]ProcessDocumentItem done err = 0, tmpTLVsize=252 [12:31:08]tlvbuf is 01D7E5B0 [12:31:08]SAM_PROTO_ClearQueue [12:31:08]wFMCommunicate request_size=4 [12:31:08]MH_SAM_APDU [12:31:08]CAPDU: 80 09 00 00 [12:31:08]Write to MH i2c: E2 08 00 8A 0D 80 09 00 00 00 00 00 00 09 [12:31:08]Write i2c OK [12:31:08]MH_I2C_Read... [12:31:08]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:31:08]Read from MH i2c: E2 [12:31:08]MH_I2C_Read... [12:31:08]Read from MH i2c: E2 03 00 [12:31:08]MH_I2C_Read... [12:31:08]Read from MH i2c: E2 03 00 8A 0D 00 90 00 0B [12:31:08]RAPDU: 90 00 [12:31:08]wFMCommunicate OK [12:31:08]SAM_PROTO_ClearQueue done [12:31:08]KKMCreateOFDPacket [12:31:08]OFDProtocolAddRootSTLVToBuf [12:31:08]FM_MakeSignedData [12:31:08]FM_MakeSignedData [12:31:08]SAM_PROTO_SignData [12:31:08]wFMCommunicate request_size=4 [12:31:08]MH_SAM_APDU [12:31:08]CAPDU: 80 0D 01 02 [12:31:08]Write to MH i2c: E2 08 00 8B 0D 80 0D 01 02 00 00 00 00 11 [12:31:08]Write i2c OK [12:31:08]MH_I2C_Read... [12:31:08]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:31:08]Read from MH i2c: E2 [12:31:08]MH_I2C_Read... [12:31:08]Read from MH i2c: E2 03 00 [12:31:08]MH_I2C_Read... [12:31:08]Read from MH i2c: E2 03 00 8B 0D 00 90 00 0C [12:31:08]RAPDU: 90 00 [12:31:08]wFMCommunicate OK [12:31:08]wFMCommunicate request_size=255 [12:31:08]MH_SAM_APDU [12:31:08]CAPDU: 80 0D 02 02 FA 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 9A 33 00 00 00 00 00 37 04 06 00 92 1D 00 00 00 00 13 04 06 00 A0 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 7B 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 20 00 00 00 F4 03 04 00 0F 54 F5 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 63 4A 00 00 35 04 06 00 [12:31:08]Write to MH i2c: E2 02 01 8C 0D 80 0D 02 02 FA 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 9A 33 00 00 00 00 00 37 04 06 00 92 1D 00 00 00 00 13 04 06 00 A0 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 7B 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 20 00 00 00 F4 03 04 00 0F 54 F5 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 63 4A 00 00 35 04 06 00 00 00 B2 [12:31:08]Write i2c OK [12:31:08]MH_I2C_Read... [12:31:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:31:08]Read from MH i2c: E2 [12:31:08]MH_I2C_Read... [12:31:08]Read from MH i2c: E2 03 00 [12:31:08]MH_I2C_Read... [12:31:08]Read from MH i2c: E2 03 00 8C 0D 00 90 00 0D [12:31:08]RAPDU: 90 00 [12:31:08]wFMCommunicate OK [12:31:08]wFMCommunicate request_size=11 [12:31:08]MH_SAM_APDU [12:31:08]CAPDU: 80 0D 02 02 06 8F 8D 61 B5 BB 08 [12:31:08]Write to MH i2c: E2 0E 00 8D 0D 80 0D 02 02 06 00 8F 8D 61 B5 BB 08 00 00 15 [12:31:08]Write i2c OK [12:31:08]MH_I2C_Read... [12:31:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:31:08]Read from MH i2c: E2 [12:31:08]MH_I2C_Read... [12:31:08]Read from MH i2c: E2 03 00 [12:31:08]MH_I2C_Read... [12:31:08]Read from MH i2c: E2 03 00 8D 0D 00 90 00 0E [12:31:08]RAPDU: 90 00 [12:31:08]wFMCommunicate OK [12:31:08]wFMCommunicate request_size=4 [12:31:08]MH_SAM_APDU [12:31:08]CAPDU: 80 0D 03 02 [12:31:08]Write to MH i2c: E2 08 00 8E 0D 80 0D 03 02 00 00 00 00 16 [12:31:08]Write i2c OK [12:31:08]MH_I2C_Read... [12:31:08]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:31:08]Read from MH i2c: E2 [12:31:08]MH_I2C_Read... [12:31:08]Read from MH i2c: E2 0B 00 [12:31:08]MH_I2C_Read... [12:31:08]Read from MH i2c: E2 0B 00 8E 0D 00 C3 28 C2 88 12 05 82 6C 90 00 51 [12:31:08]RAPDU: C3 28 C2 88 12 05 82 6C 90 00 [12:31:08]wFMCommunicate OK [12:31:08]SAM_PROTO_SignData done [12:31:08]FM_MakeSignedData done [12:31:08]CreateOFDProtocolMessage [12:31:08]wFMCommunicate request_size=4 [12:31:08]MH_SAM_APDU [12:31:08]CAPDU: 80 11 00 00 [12:31:08]Write to MH i2c: E2 08 00 8F 0D 80 11 00 00 00 00 00 00 16 [12:31:08]Write i2c OK [12:31:08]MH_I2C_Read... [12:31:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:31:08]Read from MH i2c: E2 [12:31:08]MH_I2C_Read... [12:31:08]Read from MH i2c: E2 17 00 [12:31:08]MH_I2C_Read... [12:31:08]Read from MH i2c: E2 17 00 8F 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 6F [12:31:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [12:31:08]wFMCommunicate OK [12:31:08]CreateOFDProtocolMessage done [12:31:08]OFDSenderStorePacket 19043 [12:31:08]StoreOFDPacket docnum=19043 [12:31:08]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 01 00 00 65 74 08 01 86 1C 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 9A 33 00 00 00 00 00 37 04 06 00 92 1D 00 00 00 00 13 04 06 00 A0 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 7B 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 20 00 00 00 F4 03 04 00 0F 54 F5 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 63 4A 00 00 35 04 06 00 8F 8D 61 B5 BB 08 C3 28 C2 88 12 05 82 6C [12:31:08]CheckFolder [12:31:08]dirname=/storage/ofd_packets [12:31:08]CheckFolder done [12:31:08]ProducePacketName [12:31:08]name=ofd_packets/00019043 [12:31:08]NVStorageSaveData ofd_packets/00019043 [12:31:08]File name is /storage/ofd_packets/00019043 [12:31:08]Write 302 bytes [12:31:08]NVStorageSaveData done [12:31:08]OFDSenderStorePacket done [12:31:08]KKMCreateOFDPacket done [12:31:08]NVStorageSaveData kkm_last_timestamp [12:31:08]File name is /storage/kkm_last_timestamp [12:31:08]Write 4 bytes [12:31:08]NVStorageSaveData done [12:31:08]ExternCall_PrintAddStr [12:31:08]wPrintStart [12:31:08]Write to MH i2c: 01 00 00 90 0D 9D [12:31:08]Write i2c OK [12:31:08]MH_I2C_Read... [12:31:08]Read from MH i2c: 01 [12:31:08]MH_I2C_Read... [12:31:08]Read from MH i2c: 01 07 00 [12:31:08]MH_I2C_Read... [12:31:08]Read from MH i2c: 01 07 00 90 0D 00 00 00 00 00 FF 0F B2 [12:31:08]RasterBufferAndPrint [12:31:08]line Счет N : (1)118377 [12:31:08]line ИНН: 02508201610067 [12:31:08]line Контрольно-Кассовый Чек [12:31:08]line ПРОДАЖА [12:31:08]line ТРК (МРК, ГНК) : 11 [12:31:08]line Товар: 2710194210 [12:31:08]line ДТ(л)-К-5 [12:31:08]line 13.210 * 75.70 [12:31:08]line = 1000.00 [12:31:08]line НДС 12% НСП 1% [12:31:08]line > о реализуемом товаре [12:31:08]line ИТОГО: 1000.00 [12:31:08]line НСП 1% : 8.85 [12:31:08]line НДС 12% : 106.19 [12:31:08]line Наличными: 1000.00 [12:31:08]line Безнал.: 0.00 [12:31:08]line Место: АЗС № 176 "Партнер Нефть" [12:31:08]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [12:31:08]line СНО: Общий режим [12:31:08]line Чек 32 26.09.2024 12:31 [12:31:08]line Смена: 184 ФФД: 1.0 [12:31:08]line ЗНМ: 0300000010 [12:31:08]line РНМ: 0000000000152968 [12:31:08]line Версия ККМ: v1.0 [12:31:08]line ФМ: 0000000000959456 [12:31:08]line ФД: 19043 [12:31:08]line ФПД: 157837392460552 [12:31:08]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T123111&type=1&operation_type=1&fn_number=0000000000959456&fd_number=19043&fm=157837392460552&tin=02508201610067®Number=0000000000152968&sum=100000 [12:31:08]OFD Sender: Processing packet 19043 [packets to send 7, broken 6] [12:31:08]ProducePacketName [12:31:08]name=ofd_packets/00019043 [12:31:08]OFD Sender: To server: pG, [12:31:08]CommunicateWithHost lk.salyk.kg:30040 [12:31:08]ConnectInit lk.salyk.kg [12:31:08]written 0, free lines is 4095 [12:31:09]Connected sock=10 [12:31:09]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 01 00 00 65 74 08 01 86 1C 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 9A 33 00 00 00 00 00 37 04 06 00 92 1D 00 00 00 00 13 04 06 00 A0 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 7B 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 20 00 00 00 F4 03 04 00 0F 54 F5 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 63 4A 00 00 35 04 06 00 8F 8D 61 B5 BB 08 C3 28 C2 88 12 05 82 6C [12:31:09]Write to MH i2c: 01 00 00 B8 0D C5 [12:31:09]Write i2c OK [12:31:09]MH_I2C_Read... [12:31:09]Read from MH i2c: 01 [12:31:09]MH_I2C_Read... [12:31:09]Read from MH i2c: 01 07 00 [12:31:09]MH_I2C_Read... [12:31:09]Read from MH i2c: 01 07 00 B8 0D 00 00 00 00 00 2C 0D 05 [12:31:09]RasterBufferAndPrint [12:31:09]line [12:31:09]line [12:31:09]line [12:31:09]line [12:31:09]line [12:31:09]written 0, free lines is 3378 [12:31:09]MH_Cut [12:31:09]Write to MH i2c: D1 01 00 BF 0D 01 9E [12:31:09]Write i2c OK [12:31:09]MH_I2C_Read... [12:31:09]Read from MH i2c: D1 [12:31:09]MH_I2C_Read... [12:31:09]Read from MH i2c: D1 01 00 [12:31:09]MH_I2C_Read... [12:31:09]Read from MH i2c: D1 01 00 BF 0D 00 9D [12:31:09]Write to MH i2c: 01 00 00 C0 0D CD [12:31:09]Write i2c OK [12:31:09]MH_I2C_Read... [12:31:09]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 7F AF 47 00 C8 05 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 63 4A 00 00 F4 03 04 00 69 FD F4 66 B6 04 01 00 00 9E E5 C1 07 D5 F5 3A DE [12:31:09]CommunicateWithHost err = 0 [12:31:09]CheckOFDResponse [12:31:09]1017 (14) - 77093643461234 [12:31:09]1041 (16) - 0000000000959456 [12:31:09]1040 (4) - 19043 [12:31:09]1012 (4) - 26.09.2024 06:21 [12:31:09]1206 (1) - 0 [12:31:09]OFD Sender: Remove packet 19043 [12:31:09]ProducePacketName [12:31:09]name=ofd_packets/00019043 [12:31:09]NVStorageDeleteData [12:31:09]OFD Sender: No OFD packet to send [12:31:09]*** Cut start [12:31:09]*** Partial cut [12:31:09]*** CUTSNS_PIN = 1 [12:31:10]*** CUTSNS_PIN = 0 [12:31:10]*** Brake cut motor [12:31:10]Read from MH i2c: 01 [12:31:10]MH_I2C_Read... [12:31:10]*** Stop cut motor [12:31:10]*** Cut end [12:31:10]Read from MH i2c: 01 07 00 [12:31:10]MH_I2C_Read... [12:31:10]Read from MH i2c: 01 07 00 C0 0D 00 00 00 00 00 FF 0F E2 [12:31:10]process_action close_receipt done [12:31:10]requested_data is exist [12:31:10]produce_requested_data [12:31:10]requested_item fm.sn is exist - process it [12:31:10]wFMCommunicate request_size=4 [12:31:10]MH_SAM_APDU [12:31:10]CAPDU: 80 11 00 00 [12:31:10]Write to MH i2c: E2 08 00 C1 0D 80 11 00 00 00 00 00 00 48 [12:31:10]Write i2c OK [12:31:10]MH_I2C_Read... [12:31:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:31:10]Read from MH i2c: E2 [12:31:10]MH_I2C_Read... [12:31:10]Read from MH i2c: E2 17 00 [12:31:10]MH_I2C_Read... [12:31:10]Read from MH i2c: E2 17 00 C1 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 A1 [12:31:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [12:31:10]wFMCommunicate OK [12:31:10]requested_item fd.num is exist - process it [12:31:10]SAM_PROTO_GetFieldsCounters [12:31:10]wFMCommunicate request_size=4 [12:31:10]MH_SAM_APDU [12:31:10]CAPDU: 80 13 00 00 [12:31:10]Write to MH i2c: E2 08 00 C2 0D 80 13 00 00 00 00 00 00 4B [12:31:10]Write i2c OK [12:31:10]MH_I2C_Read... [12:31:10]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:31:10]Read from MH i2c: E2 [12:31:10]MH_I2C_Read... [12:31:10]Read from MH i2c: E2 62 00 [12:31:10]MH_I2C_Read... [12:31:10]Read from MH i2c: E2 62 00 C2 0D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 63 4A 00 00 0E 04 04 00 B8 00 00 00 12 04 04 00 20 00 00 00 5E 04 04 00 20 00 00 00 57 04 04 00 21 00 00 00 19 04 04 00 00 00 00 00 90 00 3D [12:31:10]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 63 4A 00 00 0E 04 04 00 B8 00 00 00 12 04 04 00 20 00 00 00 5E 04 04 00 20 00 00 00 57 04 04 00 21 00 00 00 19 04 04 00 00 00 00 00 90 00 [12:31:10]wFMCommunicate OK [12:31:10]SAM_PROTO_GetFieldsCounters done [12:31:10]requested_item shift.num is exist - process it [12:31:10]requested_item shift.opened is exist - process it [12:31:10]req_shift_opened [12:31:10]FM_GetShiftState [12:31:10]SAM_PROTO_GetShiftState [12:31:10]wFMCommunicate request_size=4 [12:31:10]MH_SAM_APDU [12:31:10]CAPDU: 80 13 01 00 [12:31:10]Write to MH i2c: E2 08 00 C3 0D 80 13 01 00 00 00 00 00 4D [12:31:10]Write i2c OK [12:31:10]MH_I2C_Read... [12:31:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:31:10]Read from MH i2c: E2 [12:31:10]MH_I2C_Read... [12:31:10]Read from MH i2c: E2 0E 00 [12:31:10]MH_I2C_Read... [12:31:10]Read from MH i2c: E2 0E 00 C3 0D 00 09 00 01 58 A7 F4 66 00 00 00 00 90 00 B2 [12:31:10]RAPDU: 09 00 01 58 A7 F4 66 00 00 00 00 90 00 [12:31:10]wFMCommunicate OK [12:31:10]SAM_PROTO_GetShiftState done [12:31:10]FM_GetShiftState done [12:31:10]req_shift_opened done [12:31:10]requested_item shift.open_date is exist - process it [12:31:10]req_shift_open_date [12:31:10]req_shift_open_date done [12:31:10]produce_requested_data done [12:31:10]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":19043,"shift.num":184,"shift.opened":1,"shift.open_date":1727309656} [12:31:10]process_action_free close_receipt [12:31:10]json_value_free [12:31:10]json_value_free done [12:31:10]process_json_proto returns [12:31:10]Send response to host [12:31:10]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":19043,"shift.num":184,"shift.opened":1,"shift.open_date":1727309656}}} [12:31:10]free response buf [12:31:10]execute_script done [12:31:10]execute_script returns [12:31:10]free content buf [12:31:10]Sock 7.Close socket [12:31:10]Sock 7.Thread stoped [12:31:14]OFD Sender: No OFD packet to send [12:31:19]OFD Sender: No OFD packet to send [12:31:24]OFD Sender: No OFD packet to send [12:31:29]OFD Sender: No OFD packet to send [12:31:34]OFD Sender: No OFD packet to send [12:31:39]OFD Sender: No OFD packet to send [12:31:44]OFD Sender: No OFD packet to send [12:31:49]OFD Sender: No OFD packet to send [12:31:54]OFD Sender: No OFD packet to send [12:31:59]OFD Sender: No OFD packet to send [12:32:04]OFD Sender: No OFD packet to send [12:32:09]OFD Sender: No OFD packet to send [12:32:14]OFD Sender: No OFD packet to send [12:32:19]OFD Sender: No OFD packet to send [12:32:24]OFD Sender: No OFD packet to send [12:32:29]OFD Sender: No OFD packet to send [12:32:34]OFD Sender: No OFD packet to send [12:32:39]OFD Sender: No OFD packet to send [12:32:44]OFD Sender: No OFD packet to send [12:32:49]OFD Sender: No OFD packet to send [12:32:54]OFD Sender: No OFD packet to send [12:32:59]OFD Sender: No OFD packet to send [12:33:04]OFD Sender: No OFD packet to send [12:33:09]OFD Sender: No OFD packet to send [12:33:14]OFD Sender: No OFD packet to send [12:33:19]OFD Sender: No OFD packet to send [12:33:24]OFD Sender: No OFD packet to send [12:33:29]OFD Sender: No OFD packet to send [12:33:34]OFD Sender: No OFD packet to send [12:33:40]OFD Sender: No OFD packet to send [12:33:45]OFD Sender: No OFD packet to send [12:33:50]OFD Sender: No OFD packet to send [12:33:55]OFD Sender: No OFD packet to send [12:34:00]OFD Sender: No OFD packet to send [12:34:05]OFD Sender: No OFD packet to send [12:34:10]OFD Sender: No OFD packet to send [12:34:15]OFD Sender: No OFD packet to send [12:34:20]OFD Sender: No OFD packet to send [12:34:25]OFD Sender: No OFD packet to send [12:34:30]OFD Sender: No OFD packet to send [12:34:35]OFD Sender: No OFD packet to send [12:34:40]OFD Sender: No OFD packet to send [12:34:45]OFD Sender: No OFD packet to send [12:34:50]OFD Sender: No OFD packet to send [12:34:55]OFD Sender: No OFD packet to send [12:35:00]OFD Sender: No OFD packet to send [12:35:05]OFD Sender: No OFD packet to send [12:35:10]OFD Sender: No OFD packet to send [12:35:15]OFD Sender: No OFD packet to send [12:35:20]OFD Sender: No OFD packet to send [12:35:25]OFD Sender: No OFD packet to send [12:35:30]OFD Sender: No OFD packet to send [12:35:35]OFD Sender: No OFD packet to send [12:35:40]OFD Sender: No OFD packet to send [12:35:45]OFD Sender: No OFD packet to send [12:35:50]OFD Sender: No OFD packet to send [12:35:55]OFD Sender: No OFD packet to send [12:36:00]OFD Sender: No OFD packet to send [12:36:05]OFD Sender: No OFD packet to send [12:36:10]OFD Sender: No OFD packet to send [12:36:15]OFD Sender: No OFD packet to send [12:36:20]OFD Sender: No OFD packet to send [12:36:25]OFD Sender: No OFD packet to send [12:36:30]OFD Sender: No OFD packet to send [12:36:35]OFD Sender: No OFD packet to send [12:36:40]OFD Sender: No OFD packet to send [12:36:45]OFD Sender: No OFD packet to send [12:36:50]OFD Sender: No OFD packet to send [12:36:55]OFD Sender: No OFD packet to send [12:37:00]OFD Sender: No OFD packet to send [12:37:05]OFD Sender: No OFD packet to send [12:37:10]OFD Sender: No OFD packet to send [12:37:15]OFD Sender: No OFD packet to send [12:37:20]OFD Sender: No OFD packet to send [12:37:25]OFD Sender: No OFD packet to send [12:37:30]OFD Sender: No OFD packet to send [12:37:35]OFD Sender: No OFD packet to send [12:37:40]OFD Sender: No OFD packet to send [12:37:45]OFD Sender: No OFD packet to send [12:37:50]OFD Sender: No OFD packet to send [12:37:55]OFD Sender: No OFD packet to send [12:38:00]OFD Sender: No OFD packet to send [12:38:05]OFD Sender: No OFD packet to send [12:38:10]OFD Sender: No OFD packet to send [12:38:15]OFD Sender: No OFD packet to send [12:38:20]OFD Sender: No OFD packet to send [12:38:25]OFD Sender: No OFD packet to send [12:38:30]OFD Sender: No OFD packet to send [12:38:35]OFD Sender: No OFD packet to send [12:38:40]OFD Sender: No OFD packet to send [12:38:45]OFD Sender: No OFD packet to send [12:38:50]OFD Sender: No OFD packet to send [12:38:55]OFD Sender: No OFD packet to send [12:39:00]OFD Sender: No OFD packet to send [12:39:05]OFD Sender: No OFD packet to send [12:39:10]OFD Sender: No OFD packet to send [12:39:15]OFD Sender: No OFD packet to send [12:39:20]OFD Sender: No OFD packet to send [12:39:25]OFD Sender: No OFD packet to send [12:39:30]OFD Sender: No OFD packet to send [12:39:35]OFD Sender: No OFD packet to send [12:39:40]OFD Sender: No OFD packet to send [12:39:45]OFD Sender: No OFD packet to send [12:39:50]OFD Sender: No OFD packet to send [12:39:55]OFD Sender: No OFD packet to send [12:40:00]OFD Sender: No OFD packet to send [12:40:05]OFD Sender: No OFD packet to send [12:40:10]OFD Sender: No OFD packet to send [12:40:15]OFD Sender: No OFD packet to send [12:40:20]OFD Sender: No OFD packet to send [12:40:25]OFD Sender: No OFD packet to send [12:40:30]OFD Sender: No OFD packet to send [12:40:35]OFD Sender: No OFD packet to send [12:40:40]OFD Sender: No OFD packet to send [12:40:45]OFD Sender: No OFD packet to send [12:40:50]OFD Sender: No OFD packet to send [12:40:55]OFD Sender: No OFD packet to send [12:41:00]OFD Sender: No OFD packet to send [12:41:05]OFD Sender: No OFD packet to send [12:41:10]OFD Sender: No OFD packet to send [12:41:15]OFD Sender: No OFD packet to send [12:41:20]OFD Sender: No OFD packet to send [12:41:25]OFD Sender: No OFD packet to send [12:41:30]OFD Sender: No OFD packet to send [12:41:35]OFD Sender: No OFD packet to send [12:41:40]OFD Sender: No OFD packet to send [12:41:45]OFD Sender: No OFD packet to send [12:41:50]OFD Sender: No OFD packet to send [12:41:55]OFD Sender: No OFD packet to send [12:42:00]OFD Sender: No OFD packet to send [12:42:05]OFD Sender: No OFD packet to send [12:42:10]OFD Sender: No OFD packet to send [12:42:15]OFD Sender: No OFD packet to send [12:42:20]OFD Sender: No OFD packet to send [12:42:25]OFD Sender: No OFD packet to send [12:42:30]OFD Sender: No OFD packet to send [12:42:35]OFD Sender: No OFD packet to send [12:42:40]OFD Sender: No OFD packet to send [12:42:45]OFD Sender: No OFD packet to send [12:42:50]OFD Sender: No OFD packet to send [12:42:55]OFD Sender: No OFD packet to send [12:43:00]OFD Sender: No OFD packet to send [12:43:05]OFD Sender: No OFD packet to send [12:43:10]OFD Sender: No OFD packet to send [12:43:15]OFD Sender: No OFD packet to send [12:43:20]OFD Sender: No OFD packet to send [12:43:25]OFD Sender: No OFD packet to send [12:43:30]OFD Sender: No OFD packet to send [12:43:35]OFD Sender: No OFD packet to send [12:43:40]OFD Sender: No OFD packet to send [12:43:45]OFD Sender: No OFD packet to send [12:43:50]OFD Sender: No OFD packet to send [12:43:55]OFD Sender: No OFD packet to send [12:44:00]accept exits with 9 [12:44:00]New connection [12:44:00]New thread 3066695012 created [12:44:00]Thread 3066551652 joined [12:44:00]Waiting for new connection... [12:44:00] Sock 9.Parse request [12:44:00]Sock 9.Check first char [12:44:00]Sock 9.First char is OK [12:44:00]request: POST /json_proto HTTP/1.0 [12:44:00]Method: POST [12:44:00]URL: /json_proto [12:44:00]Method is POST - this is cgi request [12:44:00]url: /json_proto [12:44:00]query_string will be loaded in cgi processing [12:44:00]execute_cgi json_proto POST (null) [12:44:00]execute_cgi path=json_proto method=POST [12:44:00]POST find Content-Length [12:44:00]Host: 172.17.62.196:8080 [12:44:00]Content-Length: 653 [12:44:00]Content-Type: application/json [12:44:00] [12:44:00]POST finish read [12:44:00]Found Content-Length = 653 [12:44:00]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16964", "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" : 77.00, "quantity" : 1.000, "sum" : 77.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 77.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:44:00]execute_script... [12:44: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)16964", "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" : 77.00, "quantity" : 1.000, "sum" : 77.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 77.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:44:00]POST & json_proto [12:44:00]process_json_proto [12:44:00]json parsed OK: [12:44:00]protocol is kg_v1.0 [12:44:00]action value=close_receipt [12:44:00]process_action close_receipt [12:44:00]cmd_close_receipt [12:44:00]MH_GetDate [12:44:00]Write to MH i2c: F0 00 00 C4 0D C0 [12:44:00]Write i2c OK [12:44:00]MH_I2C_Read... [12:44:00]Read from MH i2c: F0 [12:44:00]MH_I2C_Read... [12:44:00]Read from MH i2c: F0 09 00 [12:44:00]MH_I2C_Read... [12:44:00]Read from MH i2c: F0 09 00 C4 0D 00 14 57 F5 66 CE CC 0E 66 9D [12:44:00]GetLastDocTimeStamp 1727353871 [12:44:00]current date 1727354644 [12:44:00]FM_GetShiftState [12:44:00]SAM_PROTO_GetShiftState [12:44:00]wFMCommunicate request_size=4 [12:44:00]MH_SAM_APDU [12:44:00]CAPDU: 80 13 01 00 [12:44:00]Write to MH i2c: E2 08 00 C5 0D 80 13 01 00 00 00 00 00 4F [12:44:00]Write i2c OK [12:44:00]MH_I2C_Read... [12:44:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:44:00]Read from MH i2c: E2 [12:44:00]MH_I2C_Read... [12:44:00]Read from MH i2c: E2 0E 00 [12:44:00]MH_I2C_Read... [12:44:00]Read from MH i2c: E2 0E 00 C5 0D 00 09 00 01 58 A7 F4 66 00 00 00 00 90 00 B4 [12:44:00]RAPDU: 09 00 01 58 A7 F4 66 00 00 00 00 90 00 [12:44:00]wFMCommunicate OK [12:44:00]SAM_PROTO_GetShiftState done [12:44:00]FM_GetShiftState done [12:44:00]opened in 1727309656 [12:44:00]opened+sec_in_day 1727396056 [12:44:00]quantity*price = 7700 [12:44:00]sum+1 = 7701 [12:44:00]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 77.00 НСП 1% : 0.68 НДС 12% : 8.18 Наличными: 77.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 33 26.09.2024 12:44 Смена: 184 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 19044 ФПД: 147460810681933 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T124404&type=1&operation_type=1&fn_number=0000000000959456&fd_number=19044&fm=147460810681933&tin=02508201610067®Number=0000000000152968&sum=7700 0 [12:44:01]StoreToDocumentArchive [12:44:01]shift 184 fd 19044 [12:44:01]save to /storage/0184/doc_00019044 [12:44:01]save last doc name /storage/0184/doc_00019044 to /storage/kkm_last_doc_name [12:44:01]save OK [12:44:01]Clear old archive folders... [12:44:01]ProcessDocumentItem done err = 0, tmpTLVsize=293 [12:44:01]tlvbuf is 01D76070 [12:44:01]SAM_PROTO_ClearQueue [12:44:01]wFMCommunicate request_size=4 [12:44:01]MH_SAM_APDU [12:44:01]CAPDU: 80 09 00 00 [12:44:01]Write to MH i2c: E2 08 00 D2 0D 80 09 00 00 00 00 00 00 51 [12:44:01]Write i2c OK [12:44:01]MH_I2C_Read... [12:44:01]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:44:01]Read from MH i2c: E2 [12:44:01]MH_I2C_Read... [12:44:01]Read from MH i2c: E2 03 00 [12:44:01]MH_I2C_Read... [12:44:01]Read from MH i2c: E2 03 00 D2 0D 00 90 00 53 [12:44:01]RAPDU: 90 00 [12:44:01]wFMCommunicate OK [12:44:01]SAM_PROTO_ClearQueue done [12:44:01]KKMCreateOFDPacket [12:44:01]OFDProtocolAddRootSTLVToBuf [12:44:01]FM_MakeSignedData [12:44:01]FM_MakeSignedData [12:44:01]SAM_PROTO_SignData [12:44:01]wFMCommunicate request_size=4 [12:44:01]MH_SAM_APDU [12:44:01]CAPDU: 80 0D 01 02 [12:44:01]Write to MH i2c: E2 08 00 D3 0D 80 0D 01 02 00 00 00 00 59 [12:44:01]Write i2c OK [12:44:01]MH_I2C_Read... [12:44:01]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:44:01]Read from MH i2c: E2 [12:44:01]MH_I2C_Read... [12:44:01]Read from MH i2c: E2 03 00 [12:44:01]MH_I2C_Read... [12:44:01]Read from MH i2c: E2 03 00 D3 0D 00 90 00 54 [12:44:01]RAPDU: 90 00 [12:44:01]wFMCommunicate OK [12:44:01]wFMCommunicate request_size=255 [12:44:01]MH_SAM_APDU [12:44:01]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 14 1E 00 00 00 00 13 04 06 00 14 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 1E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 44 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 32 03 00 00 00 00 07 04 06 00 14 1E 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 14 57 F5 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 [12:44:01]Write to MH i2c: E2 02 01 D4 0D 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 14 1E 00 00 00 00 13 04 06 00 14 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 1E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 44 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 32 03 00 00 00 00 07 04 06 00 14 1E 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 14 57 F5 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 00 00 8D [12:44:01]Write i2c OK [12:44:01]MH_I2C_Read... [12:44:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:44:01]Read from MH i2c: E2 [12:44:01]MH_I2C_Read... [12:44:01]Read from MH i2c: E2 03 00 [12:44:01]MH_I2C_Read... [12:44:01]Read from MH i2c: E2 03 00 D4 0D 00 90 00 55 [12:44:01]RAPDU: 90 00 [12:44:01]wFMCommunicate OK [12:44:01]wFMCommunicate request_size=52 [12:44:01]MH_SAM_APDU [12:44:01]CAPDU: 80 0D 02 02 2F 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 64 4A 00 00 35 04 06 00 86 1D 65 3D 2E 4D [12:44:01]Write to MH i2c: E2 37 00 D5 0D 80 0D 02 02 2F 00 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 64 4A 00 00 35 04 06 00 86 1D 65 3D 2E 4D 00 00 99 [12:44:01]Write i2c OK [12:44:01]MH_I2C_Read... [12:44:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:44:01]Read from MH i2c: E2 [12:44:01]MH_I2C_Read... [12:44:01]Read from MH i2c: E2 03 00 [12:44:01]MH_I2C_Read... [12:44:01]Read from MH i2c: E2 03 00 D5 0D 00 90 00 56 [12:44:01]RAPDU: 90 00 [12:44:01]wFMCommunicate OK [12:44:01]wFMCommunicate request_size=4 [12:44:01]MH_SAM_APDU [12:44:01]CAPDU: 80 0D 03 02 [12:44:01]Write to MH i2c: E2 08 00 D6 0D 80 0D 03 02 00 00 00 00 5E [12:44:01]Write i2c OK [12:44:01]MH_I2C_Read... [12:44:01]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:44:01]Read from MH i2c: E2 [12:44:01]MH_I2C_Read... [12:44:01]Read from MH i2c: E2 0B 00 [12:44:01]MH_I2C_Read... [12:44:01]Read from MH i2c: E2 0B 00 D6 0D 00 1D A1 05 D1 0E FF F3 01 90 00 F4 [12:44:01]RAPDU: 1D A1 05 D1 0E FF F3 01 90 00 [12:44:01]wFMCommunicate OK [12:44:01]SAM_PROTO_SignData done [12:44:01]FM_MakeSignedData done [12:44:01]CreateOFDProtocolMessage [12:44:01]wFMCommunicate request_size=4 [12:44:01]MH_SAM_APDU [12:44:01]CAPDU: 80 11 00 00 [12:44:01]Write to MH i2c: E2 08 00 D7 0D 80 11 00 00 00 00 00 00 5E [12:44:01]Write i2c OK [12:44:01]MH_I2C_Read... [12:44:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:44:01]Read from MH i2c: E2 [12:44:01]MH_I2C_Read... [12:44:01]Read from MH i2c: E2 17 00 [12:44:01]MH_I2C_Read... [12:44:01]Read from MH i2c: E2 17 00 D7 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 B7 [12:44:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [12:44:01]wFMCommunicate OK [12:44:01]CreateOFDProtocolMessage done [12:44:01]OFDSenderStorePacket 19044 [12:44:01]StoreOFDPacket docnum=19044 [12:44:01]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 39 01 00 00 8B 54 31 01 72 6C 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 14 1E 00 00 00 00 13 04 06 00 14 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 1E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 44 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 32 03 00 00 00 00 07 04 06 00 14 1E 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 14 57 F5 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 64 4A 00 00 35 04 06 00 86 1D 65 3D 2E 4D 1D A1 05 D1 0E FF F3 01 [12:44:01]CheckFolder [12:44:01]dirname=/storage/ofd_packets [12:44:01]CheckFolder done [12:44:01]ProducePacketName [12:44:01]name=ofd_packets/00019044 [12:44:01]NVStorageSaveData ofd_packets/00019044 [12:44:01]File name is /storage/ofd_packets/00019044 [12:44:01]Write 343 bytes [12:44:01]NVStorageSaveData done [12:44:01]OFDSenderStorePacket done [12:44:01]KKMCreateOFDPacket done [12:44:01]NVStorageSaveData kkm_last_timestamp [12:44:01]File name is /storage/kkm_last_timestamp [12:44:01]Write 4 bytes [12:44:01]NVStorageSaveData done [12:44:01]ExternCall_PrintAddStr [12:44:01]wPrintStart [12:44:01]Write to MH i2c: 01 00 00 D8 0D E5 [12:44:01]Write i2c OK [12:44:01]MH_I2C_Read... [12:44:01]Read from MH i2c: 01 [12:44:01]MH_I2C_Read... [12:44:01]Read from MH i2c: 01 07 00 [12:44:01]MH_I2C_Read... [12:44:01]Read from MH i2c: 01 07 00 D8 0D 00 00 00 00 00 FF 0F FA [12:44:01]RasterBufferAndPrint [12:44:01]line Счет N : (3)16964 [12:44:01]line ИНН: 02508201610067 [12:44:01]line Контрольно-Кассовый Чек [12:44:01]line ПРОДАЖА [12:44:01]line Товар: 4700000480050 [12:44:01]line Напиток Nitro Energy эн green ж/б 0,45л [12:44:01]line 1.000 * 77.00 [12:44:01]line = 77.00 [12:44:01]line НДС 12% НСП 1% [12:44:01]line > о реализуемом товаре [12:44:01]line ИТОГО: 77.00 [12:44:01]line НСП 1% : 0.68 [12:44:01]line НДС 12% : 8.18 [12:44:01]line Наличными: 77.00 [12:44:01]line Безнал.: 0.00 [12:44:01]line Место: АЗС № 176 "Партнер Нефть" [12:44:01]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [12:44:01]line СНО: Общий режим [12:44:01]line Чек 33 26.09.2024 12:44 [12:44:01]line Смена: 184 ФФД: 1.0 [12:44:01]line ЗНМ: 0300000010 [12:44:01]line РНМ: 0000000000152968 [12:44:01]line Версия ККМ: v1.0 [12:44:01]line ФМ: 0000000000959456 [12:44:01]line ФД: 19044 [12:44:01]line ФПД: 147460810681933 [12:44:01]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T124404&type=1&operation_type=1&fn_number=0000000000959456&fd_number=19044&fm=147460810681933&tin=02508201610067®Number=0000000000152968&sum=7700 [12:44:02]OFD Sender: Processing packet 19044 [packets to send 7, broken 6] [12:44:02]ProducePacketName [12:44:02]name=ofd_packets/00019044 [12:44:02]OFD Sender: To server: pG, [12:44:02]CommunicateWithHost lk.salyk.kg:30040 [12:44:02]ConnectInit lk.salyk.kg [12:44:02]line 0 [12:44:02]written 0, free lines is 4095 [12:44:02]Connected sock=11 [12:44:02]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 39 01 00 00 8B 54 31 01 72 6C 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 14 1E 00 00 00 00 13 04 06 00 14 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 1E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 44 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 32 03 00 00 00 00 07 04 06 00 14 1E 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 14 57 F5 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 64 4A 00 00 35 04 06 00 86 1D 65 3D 2E 4D 1D A1 05 D1 0E FF F3 01 [12:44:02]Write to MH i2c: 01 00 00 01 0E 0F [12:44:02]Write i2c OK [12:44:02]MH_I2C_Read... [12:44:02]Read from MH i2c: 01 [12:44:02]MH_I2C_Read... [12:44:02]Read from MH i2c: 01 07 00 [12:44:02]MH_I2C_Read... [12:44:02]Read from MH i2c: 01 07 00 01 0E 00 00 00 00 00 10 0D 33 [12:44:02]RasterBufferAndPrint [12:44:02]line [12:44:02]line [12:44:02]line [12:44:02]line [12:44:02]line [12:44:02]written 0, free lines is 3350 [12:44:02]MH_Cut [12:44:02]Write to MH i2c: D1 01 00 08 0E 01 E8 [12:44:02]Write i2c OK [12:44:02]MH_I2C_Read... [12:44:02]Read from MH i2c: D1 [12:44:02]MH_I2C_Read... [12:44:02]Read from MH i2c: D1 01 00 [12:44:02]MH_I2C_Read... [12:44:02]Read from MH i2c: D1 01 00 08 0E 00 E7 [12:44:02]Write to MH i2c: 01 00 00 09 0E 17 [12:44:02]Write i2c OK [12:44:02]MH_I2C_Read... [12:44:02]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 87 E0 47 00 E9 A0 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 64 4A 00 00 F4 03 04 00 6E 00 F5 66 B6 04 01 00 00 0E 50 8A 65 A2 49 C3 E3 [12:44:02]CommunicateWithHost err = 0 [12:44:02]CheckOFDResponse [12:44:02]1017 (14) - 77093643461234 [12:44:02]1041 (16) - 0000000000959456 [12:44:02]1040 (4) - 19044 [12:44:02]1012 (4) - 26.09.2024 06:34 [12:44:02]1206 (1) - 0 [12:44:02]OFD Sender: Remove packet 19044 [12:44:02]ProducePacketName [12:44:02]name=ofd_packets/00019044 [12:44:02]NVStorageDeleteData [12:44:03]OFD Sender: No OFD packet to send [12:44:03]*** Cut start [12:44:03]*** Partial cut [12:44:03]*** CUTSNS_PIN = 1 [12:44:03]*** CUTSNS_PIN = 0 [12:44:03]*** Brake cut motor [12:44:03]Read from MH i2c: 01 [12:44:03]MH_I2C_Read... [12:44:03]*** Stop cut motor [12:44:03]*** Cut end [12:44:03]Read from MH i2c: 01 07 00 [12:44:03]MH_I2C_Read... [12:44:03]Read from MH i2c: 01 07 00 09 0E 00 00 00 00 00 FF 0F 2C [12:44:03]process_action close_receipt done [12:44:03]requested_data is exist [12:44:03]produce_requested_data [12:44:03]requested_item fm.sn is exist - process it [12:44:03]wFMCommunicate request_size=4 [12:44:03]MH_SAM_APDU [12:44:03]CAPDU: 80 11 00 00 [12:44:03]Write to MH i2c: E2 08 00 0A 0E 80 11 00 00 00 00 00 00 92 [12:44:03]Write i2c OK [12:44:03]MH_I2C_Read... [12:44:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:44:04]Read from MH i2c: E2 [12:44:04]MH_I2C_Read... [12:44:04]Read from MH i2c: E2 17 00 [12:44:04]MH_I2C_Read... [12:44:04]Read from MH i2c: E2 17 00 0A 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 EB [12:44:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [12:44:04]wFMCommunicate OK [12:44:04]requested_item fd.num is exist - process it [12:44:04]SAM_PROTO_GetFieldsCounters [12:44:04]wFMCommunicate request_size=4 [12:44:04]MH_SAM_APDU [12:44:04]CAPDU: 80 13 00 00 [12:44:04]Write to MH i2c: E2 08 00 0B 0E 80 13 00 00 00 00 00 00 95 [12:44:04]Write i2c OK [12:44:04]MH_I2C_Read... [12:44:04]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:44:04]Read from MH i2c: E2 [12:44:04]MH_I2C_Read... [12:44:04]Read from MH i2c: E2 62 00 [12:44:04]MH_I2C_Read... [12:44:04]Read from MH i2c: E2 62 00 0B 0E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 64 4A 00 00 0E 04 04 00 B8 00 00 00 12 04 04 00 21 00 00 00 5E 04 04 00 21 00 00 00 57 04 04 00 22 00 00 00 19 04 04 00 00 00 00 00 90 00 8B [12:44:04]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 64 4A 00 00 0E 04 04 00 B8 00 00 00 12 04 04 00 21 00 00 00 5E 04 04 00 21 00 00 00 57 04 04 00 22 00 00 00 19 04 04 00 00 00 00 00 90 00 [12:44:04]wFMCommunicate OK [12:44:04]SAM_PROTO_GetFieldsCounters done [12:44:04]requested_item shift.num is exist - process it [12:44:04]requested_item shift.opened is exist - process it [12:44:04]req_shift_opened [12:44:04]FM_GetShiftState [12:44:04]SAM_PROTO_GetShiftState [12:44:04]wFMCommunicate request_size=4 [12:44:04]MH_SAM_APDU [12:44:04]CAPDU: 80 13 01 00 [12:44:04]Write to MH i2c: E2 08 00 0C 0E 80 13 01 00 00 00 00 00 97 [12:44:04]Write i2c OK [12:44:04]MH_I2C_Read... [12:44:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:44:04]Read from MH i2c: E2 [12:44:04]MH_I2C_Read... [12:44:04]Read from MH i2c: E2 0E 00 [12:44:04]MH_I2C_Read... [12:44:04]Read from MH i2c: E2 0E 00 0C 0E 00 09 00 01 58 A7 F4 66 00 00 00 00 90 00 FC [12:44:04]RAPDU: 09 00 01 58 A7 F4 66 00 00 00 00 90 00 [12:44:04]wFMCommunicate OK [12:44:04]SAM_PROTO_GetShiftState done [12:44:04]FM_GetShiftState done [12:44:04]req_shift_opened done [12:44:04]requested_item shift.open_date is exist - process it [12:44:04]req_shift_open_date [12:44:04]req_shift_open_date done [12:44:04]produce_requested_data done [12:44:04]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":19044,"shift.num":184,"shift.opened":1,"shift.open_date":1727309656} [12:44:04]process_action_free close_receipt [12:44:04]json_value_free [12:44:04]json_value_free done [12:44:04]process_json_proto returns [12:44:04]Send response to host [12:44:04]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":19044,"shift.num":184,"shift.opened":1,"shift.open_date":1727309656}}} [12:44:04]free response buf [12:44:04]execute_script done [12:44:04]execute_script returns [12:44:04]free content buf [12:44:04]Sock 9.Close socket [12:44:04]Sock 9.Thread stoped [12:44:08]OFD Sender: No OFD packet to send [12:44:13]OFD Sender: No OFD packet to send [12:44:18]OFD Sender: No OFD packet to send [12:44:23]OFD Sender: No OFD packet to send [12:44:28]OFD Sender: No OFD packet to send [12:44:33]OFD Sender: No OFD packet to send [12:44:38]OFD Sender: No OFD packet to send [12:44:41]accept exits with 7 [12:44:41]New connection [12:44:41]New thread 3066551652 created [12:44:41]Thread 3066695012 joined [12:44:41]Waiting for new connection... [12:44:41] Sock 7.Parse request [12:44:41]Sock 7.Check first char [12:44:41]Sock 7.First char is OK [12:44:41]request: POST /json_proto HTTP/1.0 [12:44:41]Method: POST [12:44:41]URL: /json_proto [12:44:41]Method is POST - this is cgi request [12:44:41]url: /json_proto [12:44:41]query_string will be loaded in cgi processing [12:44:41]execute_cgi json_proto POST (null) [12:44:41]execute_cgi path=json_proto method=POST [12:44:41]POST find Content-Length [12:44:41]Host: 172.17.62.196:8080 [12:44:41]Content-Length: 605 [12:44:41]Content-Type: application/json [12:44:41] [12:44:41]POST finish read [12:44:41]Found Content-Length = 605 [12:44:41]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16965", "tax_sys" : 0, "items" : [ { "code": "4870112003925", "name": "\u041A\u043E\u043D\u0434 ULKER-Albeni 40gr (6*24)", "price" : 55.00, "quantity" : 2.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" ] } } [12:44:41]execute_script... [12:44: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)16965", "tax_sys" : 0, "items" : [ { "code": "4870112003925", "name": "\u041A\u043E\u043D\u0434 ULKER-Albeni 40gr (6*24)", "price" : 55.00, "quantity" : 2.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" ] } } [12:44:41]POST & json_proto [12:44:41]process_json_proto [12:44:41]json parsed OK: [12:44:41]protocol is kg_v1.0 [12:44:41]action value=close_receipt [12:44:41]process_action close_receipt [12:44:41]cmd_close_receipt [12:44:41]MH_GetDate [12:44:41]Write to MH i2c: F0 00 00 0D 0E 0A [12:44:41]Write i2c OK [12:44:41]MH_I2C_Read... [12:44:41]Read from MH i2c: F0 [12:44:41]MH_I2C_Read... [12:44:41]Read from MH i2c: F0 09 00 [12:44:41]MH_I2C_Read... [12:44:41]Read from MH i2c: F0 09 00 0D 0E 00 3E 57 F5 66 CE CC 0E 66 11 [12:44:41]GetLastDocTimeStamp 1727354644 [12:44:41]current date 1727354686 [12:44:41]FM_GetShiftState [12:44:41]SAM_PROTO_GetShiftState [12:44:41]wFMCommunicate request_size=4 [12:44:41]MH_SAM_APDU [12:44:41]CAPDU: 80 13 01 00 [12:44:41]Write to MH i2c: E2 08 00 0E 0E 80 13 01 00 00 00 00 00 99 [12:44:41]Write i2c OK [12:44:41]MH_I2C_Read... [12:44:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:44:41]Read from MH i2c: E2 [12:44:41]MH_I2C_Read... [12:44:41]Read from MH i2c: E2 0E 00 [12:44:41]MH_I2C_Read... [12:44:41]Read from MH i2c: E2 0E 00 0E 0E 00 09 00 01 58 A7 F4 66 00 00 00 00 90 00 FE [12:44:41]RAPDU: 09 00 01 58 A7 F4 66 00 00 00 00 90 00 [12:44:41]wFMCommunicate OK [12:44:41]SAM_PROTO_GetShiftState done [12:44:41]FM_GetShiftState done [12:44:41]opened in 1727309656 [12:44:41]opened+sec_in_day 1727396056 [12:44:41]quantity*price = 11000 [12:44:41]sum+1 = 11001 [12:44:41]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 110.00 НСП 1% : 0.97 НДС 12% : 11.68 Наличными: 110.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 34 26.09.2024 12:44 Смена: 184 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 19045 ФПД: 250431039729744 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T124446&type=1&operation_type=1&fn_number=0000000000959456&fd_number=19045&fm=250431039729744&tin=02508201610067®Number=0000000000152968&sum=11000 0 [12:44:42]StoreToDocumentArchive [12:44:42]shift 184 fd 19045 [12:44:42]save to /storage/0184/doc_00019045 [12:44:43]save last doc name /storage/0184/doc_00019045 to /storage/kkm_last_doc_name [12:44:43]save OK [12:44:43]Clear old archive folders... [12:44:43]ProcessDocumentItem done err = 0, tmpTLVsize=275 [12:44:43]tlvbuf is 01D63790 [12:44:43]SAM_PROTO_ClearQueue [12:44:43]wFMCommunicate request_size=4 [12:44:43]MH_SAM_APDU [12:44:43]CAPDU: 80 09 00 00 [12:44:43]Write to MH i2c: E2 08 00 1B 0E 80 09 00 00 00 00 00 00 9B [12:44:43]Write i2c OK [12:44:43]MH_I2C_Read... [12:44:43]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:44:43]Read from MH i2c: E2 [12:44:43]MH_I2C_Read... [12:44:43]Read from MH i2c: E2 03 00 [12:44:43]MH_I2C_Read... [12:44:43]Read from MH i2c: E2 03 00 1B 0E 00 90 00 9D [12:44:43]RAPDU: 90 00 [12:44:43]wFMCommunicate OK [12:44:43]SAM_PROTO_ClearQueue done [12:44:43]KKMCreateOFDPacket [12:44:43]OFDProtocolAddRootSTLVToBuf [12:44:43]FM_MakeSignedData [12:44:43]FM_MakeSignedData [12:44:43]SAM_PROTO_SignData [12:44:43]wFMCommunicate request_size=4 [12:44:43]MH_SAM_APDU [12:44:43]CAPDU: 80 0D 01 02 [12:44:43]Write to MH i2c: E2 08 00 1C 0E 80 0D 01 02 00 00 00 00 A3 [12:44:43]Write i2c OK [12:44:43]MH_I2C_Read... [12:44:43]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:44:43]Read from MH i2c: E2 [12:44:43]MH_I2C_Read... [12:44:43]Read from MH i2c: E2 03 00 [12:44:43]MH_I2C_Read... [12:44:43]Read from MH i2c: E2 03 00 1C 0E 00 90 00 9E [12:44:43]RAPDU: 90 00 [12:44:43]wFMCommunicate OK [12:44:43]wFMCommunicate request_size=255 [12:44:43]MH_SAM_APDU [12:44:43]CAPDU: 80 0D 02 02 FA 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 32 35 06 04 21 00 D0 9A D0 BE D0 BD D0 B4 20 55 4C 4B 45 52 2D 41 6C 62 65 6E 69 20 34 30 67 72 20 28 36 2A 32 34 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 7C 15 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 22 00 00 00 F4 03 04 00 3E 57 F5 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 [12:44:43]Write to MH i2c: E2 02 01 1D 0E 80 0D 02 02 FA 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 32 35 06 04 21 00 D0 9A D0 BE D0 BD D0 B4 20 55 4C 4B 45 52 2D 41 6C 62 65 6E 69 20 34 30 67 72 20 28 36 2A 32 34 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 7C 15 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 22 00 00 00 F4 03 04 00 3E 57 F5 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 00 00 E6 [12:44:43]Write i2c OK [12:44:43]MH_I2C_Read... [12:44:43]OFD Sender: No OFD packet to send [12:44:43]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:44:43]Read from MH i2c: E2 [12:44:43]MH_I2C_Read... [12:44:43]Read from MH i2c: E2 03 00 [12:44:43]MH_I2C_Read... [12:44:43]Read from MH i2c: E2 03 00 1D 0E 00 90 00 9F [12:44:43]RAPDU: 90 00 [12:44:43]wFMCommunicate OK [12:44:43]wFMCommunicate request_size=34 [12:44:43]MH_SAM_APDU [12:44:43]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 65 4A 00 00 35 04 06 00 E3 C4 05 29 F0 50 [12:44:43]Write to MH i2c: E2 25 00 1E 0E 80 0D 02 02 1D 00 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 65 4A 00 00 35 04 06 00 E3 C4 05 29 F0 50 00 00 31 [12:44:43]Write i2c OK [12:44:43]MH_I2C_Read... [12:44:43]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:44:43]Read from MH i2c: E2 [12:44:43]MH_I2C_Read... [12:44:43]Read from MH i2c: E2 03 00 [12:44:43]MH_I2C_Read... [12:44:43]Read from MH i2c: E2 03 00 1E 0E 00 90 00 A0 [12:44:43]RAPDU: 90 00 [12:44:43]wFMCommunicate OK [12:44:43]wFMCommunicate request_size=4 [12:44:43]MH_SAM_APDU [12:44:43]CAPDU: 80 0D 03 02 [12:44:43]Write to MH i2c: E2 08 00 1F 0E 80 0D 03 02 00 00 00 00 A8 [12:44:43]Write i2c OK [12:44:43]MH_I2C_Read... [12:44:43]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:44:43]Read from MH i2c: E2 [12:44:43]MH_I2C_Read... [12:44:43]Read from MH i2c: E2 0B 00 [12:44:43]MH_I2C_Read... [12:44:43]Read from MH i2c: E2 0B 00 1F 0E 00 55 DB 46 15 1E 83 17 75 90 00 61 [12:44:43]RAPDU: 55 DB 46 15 1E 83 17 75 90 00 [12:44:43]wFMCommunicate OK [12:44:43]SAM_PROTO_SignData done [12:44:43]FM_MakeSignedData done [12:44:43]CreateOFDProtocolMessage [12:44:43]wFMCommunicate request_size=4 [12:44:43]MH_SAM_APDU [12:44:43]CAPDU: 80 11 00 00 [12:44:43]Write to MH i2c: E2 08 00 20 0E 80 11 00 00 00 00 00 00 A8 [12:44:43]Write i2c OK [12:44:43]MH_I2C_Read... [12:44:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:44:43]Read from MH i2c: E2 [12:44:43]MH_I2C_Read... [12:44:43]Read from MH i2c: E2 17 00 [12:44:43]MH_I2C_Read... [12:44:43]Read from MH i2c: E2 17 00 20 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 01 [12:44:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [12:44:43]wFMCommunicate OK [12:44:43]CreateOFDProtocolMessage done [12:44:43]OFDSenderStorePacket 19045 [12:44:43]StoreOFDPacket docnum=19045 [12:44:43]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 27 01 00 00 51 C3 1F 01 E6 08 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 32 35 06 04 21 00 D0 9A D0 BE D0 BD D0 B4 20 55 4C 4B 45 52 2D 41 6C 62 65 6E 69 20 34 30 67 72 20 28 36 2A 32 34 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 7C 15 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 22 00 00 00 F4 03 04 00 3E 57 F5 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 65 4A 00 00 35 04 06 00 E3 C4 05 29 F0 50 55 DB 46 15 1E 83 17 75 [12:44:43]CheckFolder [12:44:43]dirname=/storage/ofd_packets [12:44:43]CheckFolder done [12:44:43]ProducePacketName [12:44:43]name=ofd_packets/00019045 [12:44:43]NVStorageSaveData ofd_packets/00019045 [12:44:43]File name is /storage/ofd_packets/00019045 [12:44:43]Write 325 bytes [12:44:43]NVStorageSaveData done [12:44:43]OFDSenderStorePacket done [12:44:43]KKMCreateOFDPacket done [12:44:43]NVStorageSaveData kkm_last_timestamp [12:44:43]File name is /storage/kkm_last_timestamp [12:44:43]Write 4 bytes [12:44:43]NVStorageSaveData done [12:44:43]ExternCall_PrintAddStr [12:44:43]wPrintStart [12:44:43]Write to MH i2c: 01 00 00 21 0E 2F [12:44:43]Write i2c OK [12:44:43]MH_I2C_Read... [12:44:43]Read from MH i2c: 01 [12:44:43]MH_I2C_Read... [12:44:43]Read from MH i2c: 01 07 00 [12:44:43]MH_I2C_Read... [12:44:43]Read from MH i2c: 01 07 00 21 0E 00 00 00 00 00 FF 0F 44 [12:44:43]RasterBufferAndPrint [12:44:43]line Счет N : (3)16965 [12:44:43]line ИНН: 02508201610067 [12:44:43]line Контрольно-Кассовый Чек [12:44:43]line ПРОДАЖА [12:44:43]line Товар: 4870112003925 [12:44:43]line Конд ULKER-Albeni 40gr (6*24) [12:44:43]line 2.000 * 55.00 [12:44:43]line = 110.00 [12:44:43]line НДС 12% НСП 1% [12:44:43]line > о реализуемом товаре [12:44:43]line ИТОГО: 110.00 [12:44:43]line НСП 1% : 0.97 [12:44:43]line НДС 12% : 11.68 [12:44:43]line Наличными: 110.00 [12:44:43]line Безнал.: 0.00 [12:44:43]line Место: АЗС № 176 "Партнер Нефть" [12:44:43]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [12:44:43]line СНО: Общий режим [12:44:43]line Чек 34 26.09.2024 12:44 [12:44:43]line Смена: 184 ФФД: 1.0 [12:44:43]line ЗНМ: 0300000010 [12:44:43]line РНМ: 0000000000152968 [12:44:43]line Версия ККМ: v1.0 [12:44:43]line ФМ: 0000000000959456 [12:44:43]line ФД: 19045 [12:44:43]line ФПД: 250431039729744 [12:44:43]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T124446&type=1&operation_type=1&fn_number=0000000000959456&fd_number=19045&fm=250431039729744&tin=02508201610067®Number=0000000000152968&sum=11000 [12:44:43]line 0 [12:44:43]OFD Sender: Processing packet 19045 [packets to send 7, broken 6] [12:44:43]ProducePacketName [12:44:43]name=ofd_packets/00019045 [12:44:43]OFD Sender: To server: pG, [12:44:43]CommunicateWithHost lk.salyk.kg:30040 [12:44:43]ConnectInit lk.salyk.kg [12:44:43]written 0, free lines is 4095 [12:44:44]Connected sock=10 [12:44:44]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 27 01 00 00 51 C3 1F 01 E6 08 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 32 35 06 04 21 00 D0 9A D0 BE D0 BD D0 B4 20 55 4C 4B 45 52 2D 41 6C 62 65 6E 69 20 34 30 67 72 20 28 36 2A 32 34 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 7C 15 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 22 00 00 00 F4 03 04 00 3E 57 F5 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 65 4A 00 00 35 04 06 00 E3 C4 05 29 F0 50 55 DB 46 15 1E 83 17 75 [12:44:44]Write to MH i2c: 01 00 00 49 0E 57 [12:44:44]Write i2c OK [12:44:44]MH_I2C_Read... [12:44:44]Read from MH i2c: 01 [12:44:44]MH_I2C_Read... [12:44:44]Read from MH i2c: 01 07 00 [12:44:44]MH_I2C_Read... [12:44:44]Read from MH i2c: 01 07 00 49 0E 00 00 00 00 00 1C 0D 87 [12:44:44]RasterBufferAndPrint [12:44:44]line [12:44:44]line [12:44:44]line [12:44:44]line [12:44:44]line [12:44:44]written 0, free lines is 3362 [12:44:44]MH_Cut [12:44:44]Write to MH i2c: D1 01 00 50 0E 01 30 [12:44:44]Write i2c OK [12:44:44]MH_I2C_Read... [12:44:44]Read from MH i2c: D1 [12:44:44]MH_I2C_Read... [12:44:44]Read from MH i2c: D1 01 00 [12:44:44]MH_I2C_Read... [12:44:44]Read from MH i2c: D1 01 00 50 0E 00 2F [12:44:44]Write to MH i2c: 01 00 00 51 0E 5F [12:44:44]Write i2c OK [12:44:44]MH_I2C_Read... [12:44:44]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 4C 96 47 00 3C 95 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 65 4A 00 00 F4 03 04 00 98 00 F5 66 B6 04 01 00 00 76 EF 96 04 BD 57 CD A0 [12:44:44]CommunicateWithHost err = 0 [12:44:44]CheckOFDResponse [12:44:44]1017 (14) - 77093643461234 [12:44:44]1041 (16) - 0000000000959456 [12:44:44]1040 (4) - 19045 [12:44:44]1012 (4) - 26.09.2024 06:35 [12:44:44]1206 (1) - 0 [12:44:44]OFD Sender: Remove packet 19045 [12:44:44]ProducePacketName [12:44:44]name=ofd_packets/00019045 [12:44:44]NVStorageDeleteData [12:44:44]OFD Sender: No OFD packet to send [12:44:44]*** Cut start [12:44:44]*** Partial cut [12:44:44]*** CUTSNS_PIN = 1 [12:44:45]*** CUTSNS_PIN = 0 [12:44:45]*** Brake cut motor [12:44:45]Read from MH i2c: 01 [12:44:45]MH_I2C_Read... [12:44:45]*** Stop cut motor [12:44:45]*** Cut end [12:44:45]Read from MH i2c: 01 07 00 [12:44:45]MH_I2C_Read... [12:44:45]Read from MH i2c: 01 07 00 51 0E 00 00 00 00 00 FF 0F 74 [12:44:45]process_action close_receipt done [12:44:45]requested_data is exist [12:44:45]produce_requested_data [12:44:45]requested_item fm.sn is exist - process it [12:44:45]wFMCommunicate request_size=4 [12:44:45]MH_SAM_APDU [12:44:45]CAPDU: 80 11 00 00 [12:44:45]Write to MH i2c: E2 08 00 52 0E 80 11 00 00 00 00 00 00 DA [12:44:45]Write i2c OK [12:44:45]MH_I2C_Read... [12:44:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:44:45]Read from MH i2c: E2 [12:44:45]MH_I2C_Read... [12:44:45]Read from MH i2c: E2 17 00 [12:44:45]MH_I2C_Read... [12:44:45]Read from MH i2c: E2 17 00 52 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 33 [12:44:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [12:44:45]wFMCommunicate OK [12:44:45]requested_item fd.num is exist - process it [12:44:45]SAM_PROTO_GetFieldsCounters [12:44:45]wFMCommunicate request_size=4 [12:44:45]MH_SAM_APDU [12:44:45]CAPDU: 80 13 00 00 [12:44:45]Write to MH i2c: E2 08 00 53 0E 80 13 00 00 00 00 00 00 DD [12:44:45]Write i2c OK [12:44:45]MH_I2C_Read... [12:44:45]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:44:45]Read from MH i2c: E2 [12:44:45]MH_I2C_Read... [12:44:45]Read from MH i2c: E2 62 00 [12:44:45]MH_I2C_Read... [12:44:45]Read from MH i2c: E2 62 00 53 0E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 65 4A 00 00 0E 04 04 00 B8 00 00 00 12 04 04 00 22 00 00 00 5E 04 04 00 22 00 00 00 57 04 04 00 23 00 00 00 19 04 04 00 00 00 00 00 90 00 D7 [12:44:45]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 65 4A 00 00 0E 04 04 00 B8 00 00 00 12 04 04 00 22 00 00 00 5E 04 04 00 22 00 00 00 57 04 04 00 23 00 00 00 19 04 04 00 00 00 00 00 90 00 [12:44:45]wFMCommunicate OK [12:44:45]SAM_PROTO_GetFieldsCounters done [12:44:45]requested_item shift.num is exist - process it [12:44:45]requested_item shift.opened is exist - process it [12:44:45]req_shift_opened [12:44:45]FM_GetShiftState [12:44:45]SAM_PROTO_GetShiftState [12:44:45]wFMCommunicate request_size=4 [12:44:45]MH_SAM_APDU [12:44:45]CAPDU: 80 13 01 00 [12:44:45]Write to MH i2c: E2 08 00 54 0E 80 13 01 00 00 00 00 00 DF [12:44:45]Write i2c OK [12:44:45]MH_I2C_Read... [12:44:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:44:45]Read from MH i2c: E2 [12:44:45]MH_I2C_Read... [12:44:45]Read from MH i2c: E2 0E 00 [12:44:45]MH_I2C_Read... [12:44:45]Read from MH i2c: E2 0E 00 54 0E 00 09 00 01 58 A7 F4 66 00 00 00 00 90 00 44 [12:44:45]RAPDU: 09 00 01 58 A7 F4 66 00 00 00 00 90 00 [12:44:45]wFMCommunicate OK [12:44:45]SAM_PROTO_GetShiftState done [12:44:45]FM_GetShiftState done [12:44:45]req_shift_opened done [12:44:45]requested_item shift.open_date is exist - process it [12:44:45]req_shift_open_date [12:44:45]req_shift_open_date done [12:44:45]produce_requested_data done [12:44:45]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":19045,"shift.num":184,"shift.opened":1,"shift.open_date":1727309656} [12:44:45]process_action_free close_receipt [12:44:45]json_value_free [12:44:45]json_value_free done [12:44:45]process_json_proto returns [12:44:45]Send response to host [12:44:45]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":19045,"shift.num":184,"shift.opened":1,"shift.open_date":1727309656}}} [12:44:45]free response buf [12:44:45]execute_script done [12:44:45]execute_script returns [12:44:45]free content buf [12:44:45]Sock 7.Close socket [12:44:45]Sock 7.Thread stoped [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:06]accept exits with 9 [12:45:06]New connection [12:45:06]New thread 3066695012 created [12:45:06]Thread 3066551652 joined [12:45:06]Waiting for new connection... [12:45:06] Sock 9.Parse request [12:45:06]Sock 9.Check first char [12:45:06]Sock 9.First char is OK [12:45:06]request: POST /json_proto HTTP/1.0 [12:45:06]Method: POST [12:45:06]URL: /json_proto [12:45:06]Method is POST - this is cgi request [12:45:06]url: /json_proto [12:45:06]query_string will be loaded in cgi processing [12:45:06]execute_cgi json_proto POST (null) [12:45:06]execute_cgi path=json_proto method=POST [12:45:06]POST find Content-Length [12:45:06]Host: 172.17.62.196:8080 [12:45:06]Content-Length: 644 [12:45:06]Content-Type: application/json [12:45:06] [12:45:06]POST finish read [12:45:06]Found Content-Length = 644 [12:45:06]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16966", "tax_sys" : 0, "items" : [ { "code": "4700000310043", "name": "\u0412\u043E\u0434\u0430 \u0416\u0430\u043B\u0430\u043B\u0430\u0431\u0430\u0442 27 1\u043B", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 60.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:45:06]execute_script... [12:45: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)16966", "tax_sys" : 0, "items" : [ { "code": "4700000310043", "name": "\u0412\u043E\u0434\u0430 \u0416\u0430\u043B\u0430\u043B\u0430\u0431\u0430\u0442 27 1\u043B", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 60.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:45:06]POST & json_proto [12:45:06]process_json_proto [12:45:06]json parsed OK: [12:45:06]protocol is kg_v1.0 [12:45:06]action value=close_receipt [12:45:06]process_action close_receipt [12:45:06]cmd_close_receipt [12:45:06]MH_GetDate [12:45:06]Write to MH i2c: F0 00 00 55 0E 52 [12:45:06]Write i2c OK [12:45:06]MH_I2C_Read... [12:45:06]Read from MH i2c: F0 [12:45:06]MH_I2C_Read... [12:45:06]Read from MH i2c: F0 09 00 [12:45:06]MH_I2C_Read... [12:45:06]Read from MH i2c: F0 09 00 55 0E 00 57 57 F5 66 CE CC 0E 66 72 [12:45:06]GetLastDocTimeStamp 1727354686 [12:45:06]current date 1727354711 [12:45:06]FM_GetShiftState [12:45:06]SAM_PROTO_GetShiftState [12:45:06]wFMCommunicate request_size=4 [12:45:06]MH_SAM_APDU [12:45:06]CAPDU: 80 13 01 00 [12:45:06]Write to MH i2c: E2 08 00 56 0E 80 13 01 00 00 00 00 00 E1 [12:45:06]Write i2c OK [12:45:06]MH_I2C_Read... [12:45:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:45:06]Read from MH i2c: E2 [12:45:06]MH_I2C_Read... [12:45:06]Read from MH i2c: E2 0E 00 [12:45:06]MH_I2C_Read... [12:45:06]Read from MH i2c: E2 0E 00 56 0E 00 09 00 01 58 A7 F4 66 00 00 00 00 90 00 46 [12:45:06]RAPDU: 09 00 01 58 A7 F4 66 00 00 00 00 90 00 [12:45:06]wFMCommunicate OK [12:45:06]SAM_PROTO_GetShiftState done [12:45:06]FM_GetShiftState done [12:45:06]opened in 1727309656 [12:45:06]opened+sec_in_day 1727396056 [12:45:06]quantity*price = 6000 [12:45:06]sum+1 = 6001 [12:45:06]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 60.00 НСП 1% : 0.53 НДС 12% : 6.37 Наличными: 60.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 35 26.09.2024 12:45 Смена: 184 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 19046 ФПД: 193969469683264 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T124511&type=1&operation_type=1&fn_number=0000000000959456&fd_number=19046&fm=193969469683264&tin=02508201610067®Number=0000000000152968&sum=6000 0 [12:45:08]StoreToDocumentArchive [12:45:08]shift 184 fd 19046 [12:45:08]save to /storage/0184/doc_00019046 [12:45:08]save last doc name /storage/0184/doc_00019046 to /storage/kkm_last_doc_name [12:45:08]save OK [12:45:08]Clear old archive folders... [12:45:08]ProcessDocumentItem done err = 0, tmpTLVsize=276 [12:45:08]tlvbuf is 01D633F0 [12:45:08]SAM_PROTO_ClearQueue [12:45:08]wFMCommunicate request_size=4 [12:45:08]MH_SAM_APDU [12:45:08]CAPDU: 80 09 00 00 [12:45:08]Write to MH i2c: E2 08 00 63 0E 80 09 00 00 00 00 00 00 E3 [12:45:08]Write i2c OK [12:45:08]MH_I2C_Read... [12:45:08]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:45:08]Read from MH i2c: E2 [12:45:08]MH_I2C_Read... [12:45:08]Read from MH i2c: E2 03 00 [12:45:08]MH_I2C_Read... [12:45:08]Read from MH i2c: E2 03 00 63 0E 00 90 00 E5 [12:45:08]RAPDU: 90 00 [12:45:08]wFMCommunicate OK [12:45:08]SAM_PROTO_ClearQueue done [12:45:08]KKMCreateOFDPacket [12:45:08]OFDProtocolAddRootSTLVToBuf [12:45:08]FM_MakeSignedData [12:45:08]FM_MakeSignedData [12:45:08]SAM_PROTO_SignData [12:45:08]wFMCommunicate request_size=4 [12:45:08]MH_SAM_APDU [12:45:08]CAPDU: 80 0D 01 02 [12:45:08]Write to MH i2c: E2 08 00 64 0E 80 0D 01 02 00 00 00 00 EB [12:45:08]Write i2c OK [12:45:08]MH_I2C_Read... [12:45:08]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:45:08]Read from MH i2c: E2 [12:45:08]MH_I2C_Read... [12:45:08]Read from MH i2c: E2 03 00 [12:45:08]MH_I2C_Read... [12:45:08]Read from MH i2c: E2 03 00 64 0E 00 90 00 E6 [12:45:08]RAPDU: 90 00 [12:45:08]wFMCommunicate OK [12:45:08]wFMCommunicate request_size=255 [12:45:08]MH_SAM_APDU [12:45:08]CAPDU: 80 0D 02 02 FA 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 34 33 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 57 57 F5 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 [12:45:08]Write to MH i2c: E2 02 01 65 0E 80 0D 02 02 FA 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 34 33 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 57 57 F5 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 00 00 10 [12:45:08]Write i2c OK [12:45:08]MH_I2C_Read... [12:45:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:45:08]Read from MH i2c: E2 [12:45:08]MH_I2C_Read... [12:45:08]Read from MH i2c: E2 03 00 [12:45:08]MH_I2C_Read... [12:45:08]Read from MH i2c: E2 03 00 65 0E 00 90 00 E7 [12:45:08]RAPDU: 90 00 [12:45:08]wFMCommunicate OK [12:45:08]wFMCommunicate request_size=35 [12:45:08]MH_SAM_APDU [12:45:08]CAPDU: 80 0D 02 02 1E 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 66 4A 00 00 35 04 06 00 B0 6A 09 56 76 40 [12:45:08]Write to MH i2c: E2 26 00 66 0E 80 0D 02 02 1E 00 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 66 4A 00 00 35 04 06 00 B0 6A 09 56 76 40 00 00 C6 [12:45:08]Write i2c OK [12:45:08]MH_I2C_Read... [12:45:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:45:08]Read from MH i2c: E2 [12:45:08]MH_I2C_Read... [12:45:08]Read from MH i2c: E2 03 00 [12:45:08]MH_I2C_Read... [12:45:08]Read from MH i2c: E2 03 00 66 0E 00 90 00 E8 [12:45:08]RAPDU: 90 00 [12:45:08]wFMCommunicate OK [12:45:08]wFMCommunicate request_size=4 [12:45:08]MH_SAM_APDU [12:45:08]CAPDU: 80 0D 03 02 [12:45:08]Write to MH i2c: E2 08 00 67 0E 80 0D 03 02 00 00 00 00 F0 [12:45:08]Write i2c OK [12:45:08]MH_I2C_Read... [12:45:08]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:45:08]Read from MH i2c: E2 [12:45:08]MH_I2C_Read... [12:45:08]Read from MH i2c: E2 0B 00 [12:45:08]MH_I2C_Read... [12:45:08]Read from MH i2c: E2 0B 00 67 0E 00 81 60 12 A9 76 90 76 32 90 00 3B [12:45:08]RAPDU: 81 60 12 A9 76 90 76 32 90 00 [12:45:08]wFMCommunicate OK [12:45:08]SAM_PROTO_SignData done [12:45:08]FM_MakeSignedData done [12:45:08]CreateOFDProtocolMessage [12:45:08]wFMCommunicate request_size=4 [12:45:08]MH_SAM_APDU [12:45:08]CAPDU: 80 11 00 00 [12:45:08]Write to MH i2c: E2 08 00 68 0E 80 11 00 00 00 00 00 00 F0 [12:45:08]Write i2c OK [12:45:08]MH_I2C_Read... [12:45:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:45:08]Read from MH i2c: E2 [12:45:08]MH_I2C_Read... [12:45:08]Read from MH i2c: E2 17 00 [12:45:08]MH_I2C_Read... [12:45:08]Read from MH i2c: E2 17 00 68 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 49 [12:45:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [12:45:08]wFMCommunicate OK [12:45:08]CreateOFDProtocolMessage done [12:45:08]OFDSenderStorePacket 19046 [12:45:08]StoreOFDPacket docnum=19046 [12:45:08]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 28 01 00 00 6F 89 20 01 ED 72 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 34 33 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 57 57 F5 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 66 4A 00 00 35 04 06 00 B0 6A 09 56 76 40 81 60 12 A9 76 90 76 32 [12:45:08]CheckFolder [12:45:08]dirname=/storage/ofd_packets [12:45:08]CheckFolder done [12:45:08]ProducePacketName [12:45:08]name=ofd_packets/00019046 [12:45:08]NVStorageSaveData ofd_packets/00019046 [12:45:08]File name is /storage/ofd_packets/00019046 [12:45:08]Write 326 bytes [12:45:08]NVStorageSaveData done [12:45:08]OFDSenderStorePacket done [12:45:08]KKMCreateOFDPacket done [12:45:08]NVStorageSaveData kkm_last_timestamp [12:45:08]File name is /storage/kkm_last_timestamp [12:45:08]Write 4 bytes [12:45:08]NVStorageSaveData done [12:45:08]ExternCall_PrintAddStr [12:45:08]wPrintStart [12:45:08]Write to MH i2c: 01 00 00 69 0E 77 [12:45:08]Write i2c OK [12:45:08]MH_I2C_Read... [12:45:08]Read from MH i2c: 01 [12:45:08]MH_I2C_Read... [12:45:08]Read from MH i2c: 01 07 00 [12:45:08]MH_I2C_Read... [12:45:08]Read from MH i2c: 01 07 00 69 0E 00 00 00 00 00 FF 0F 8C [12:45:08]RasterBufferAndPrint [12:45:08]line Счет N : (3)16966 [12:45:08]line ИНН: 02508201610067 [12:45:08]line Контрольно-Кассовый Чек [12:45:08]line ПРОДАЖА [12:45:08]line Товар: 4700000310043 [12:45:08]line Вода Жалалабат 27 1л [12:45:08]line 1.000 * 60.00 [12:45:08]line = 60.00 [12:45:08]line НДС 12% НСП 1% [12:45:08]line > о реализуемом товаре [12:45:08]line ИТОГО: 60.00 [12:45:08]line НСП 1% : 0.53 [12:45:08]line НДС 12% : 6.37 [12:45:08]line Наличными: 60.00 [12:45:08]line Безнал.: 0.00 [12:45:08]line Место: АЗС № 176 "Партнер Нефть" [12:45:08]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [12:45:08]line СНО: Общий режим [12:45:08]line Чек 35 26.09.2024 12:45 [12:45:08]line Смена: 184 ФФД: 1.0 [12:45:08]line ЗНМ: 0300000010 [12:45:08]line РНМ: 0000000000152968 [12:45:08]line Версия ККМ: v1.0 [12:45:08]line ФМ: 0000000000959456 [12:45:08]line ФД: 19046 [12:45:08]line ФПД: 193969469683264 [12:45:08]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T124511&type=1&operation_type=1&fn_number=0000000000959456&fd_number=19046&fm=193969469683264&tin=02508201610067®Number=0000000000152968&sum=6000 [12:45:08]line 0 [12:45:08]OFD Sender: Processing packet 19046 [packets to send 7, broken 6] [12:45:08]ProducePacketName [12:45:08]name=ofd_packets/00019046 [12:45:08]OFD Sender: To server: pG, [12:45:08]CommunicateWithHost lk.salyk.kg:30040 [12:45:08]ConnectInit lk.salyk.kg [12:45:08]written 0, free lines is 4095 [12:45:09]Connected sock=10 [12:45:09]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 28 01 00 00 6F 89 20 01 ED 72 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 34 33 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 57 57 F5 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 66 4A 00 00 35 04 06 00 B0 6A 09 56 76 40 81 60 12 A9 76 90 76 32 [12:45:09]Write to MH i2c: 01 00 00 91 0E 9F [12:45:09]Write i2c OK [12:45:09]MH_I2C_Read... [12:45:09]Read from MH i2c: 01 [12:45:09]MH_I2C_Read... [12:45:09]Read from MH i2c: 01 07 00 [12:45:09]MH_I2C_Read... [12:45:09]Read from MH i2c: 01 07 00 91 0E 00 00 00 00 00 24 0D D7 [12:45:09]RasterBufferAndPrint [12:45:09]line [12:45:09]line [12:45:09]line [12:45:09]line [12:45:09]line [12:45:09]written 0, free lines is 3370 [12:45:09]MH_Cut [12:45:09]Write to MH i2c: D1 01 00 98 0E 01 78 [12:45:09]Write i2c OK [12:45:09]MH_I2C_Read... [12:45:09]Read from MH i2c: D1 [12:45:09]MH_I2C_Read... [12:45:09]Read from MH i2c: D1 01 00 [12:45:09]MH_I2C_Read... [12:45:09]Read from MH i2c: D1 01 00 98 0E 00 77 [12:45:09]Write to MH i2c: 01 00 00 99 0E A7 [12:45:09]Write i2c OK [12:45:09]MH_I2C_Read... [12:45:09]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 B0 3C 47 00 55 03 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 66 4A 00 00 F4 03 04 00 B1 00 F5 66 B6 04 01 00 00 2E AE D6 20 48 01 B3 C2 [12:45:09]CommunicateWithHost err = 0 [12:45:09]CheckOFDResponse [12:45:09]1017 (14) - 77093643461234 [12:45:09]1041 (16) - 0000000000959456 [12:45:09]1040 (4) - 19046 [12:45:09]1012 (4) - 26.09.2024 06:35 [12:45:09]1206 (1) - 0 [12:45:09]OFD Sender: Remove packet 19046 [12:45:09]ProducePacketName [12:45:09]name=ofd_packets/00019046 [12:45:09]NVStorageDeleteData [12:45:09]OFD Sender: No OFD packet to send [12:45:10]*** Cut start [12:45:10]*** Partial cut [12:45:10]*** CUTSNS_PIN = 1 [12:45:10]*** CUTSNS_PIN = 0 [12:45:10]*** Brake cut motor [12:45:10]Read from MH i2c: 01 [12:45:10]MH_I2C_Read... [12:45:10]*** Stop cut motor [12:45:10]*** Cut end [12:45:10]Read from MH i2c: 01 07 00 [12:45:10]MH_I2C_Read... [12:45:10]Read from MH i2c: 01 07 00 99 0E 00 00 00 00 00 FF 0F BC [12:45:10]process_action close_receipt done [12:45:10]requested_data is exist [12:45:10]produce_requested_data [12:45:10]requested_item fm.sn is exist - process it [12:45:10]wFMCommunicate request_size=4 [12:45:10]MH_SAM_APDU [12:45:10]CAPDU: 80 11 00 00 [12:45:10]Write to MH i2c: E2 08 00 9A 0E 80 11 00 00 00 00 00 00 22 [12:45:10]Write i2c OK [12:45:10]MH_I2C_Read... [12:45:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:45:10]Read from MH i2c: E2 [12:45:10]MH_I2C_Read... [12:45:10]Read from MH i2c: E2 17 00 [12:45:10]MH_I2C_Read... [12:45:10]Read from MH i2c: E2 17 00 9A 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 7B [12:45:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [12:45:10]wFMCommunicate OK [12:45:10]requested_item fd.num is exist - process it [12:45:10]SAM_PROTO_GetFieldsCounters [12:45:10]wFMCommunicate request_size=4 [12:45:10]MH_SAM_APDU [12:45:10]CAPDU: 80 13 00 00 [12:45:10]Write to MH i2c: E2 08 00 9B 0E 80 13 00 00 00 00 00 00 25 [12:45:10]Write i2c OK [12:45:10]MH_I2C_Read... [12:45:10]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:45:10]Read from MH i2c: E2 [12:45:10]MH_I2C_Read... [12:45:10]Read from MH i2c: E2 62 00 [12:45:10]MH_I2C_Read... [12:45:10]Read from MH i2c: E2 62 00 9B 0E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 66 4A 00 00 0E 04 04 00 B8 00 00 00 12 04 04 00 23 00 00 00 5E 04 04 00 23 00 00 00 57 04 04 00 24 00 00 00 19 04 04 00 00 00 00 00 90 00 23 [12:45:10]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 66 4A 00 00 0E 04 04 00 B8 00 00 00 12 04 04 00 23 00 00 00 5E 04 04 00 23 00 00 00 57 04 04 00 24 00 00 00 19 04 04 00 00 00 00 00 90 00 [12:45:10]wFMCommunicate OK [12:45:10]SAM_PROTO_GetFieldsCounters done [12:45:10]requested_item shift.num is exist - process it [12:45:10]requested_item shift.opened is exist - process it [12:45:10]req_shift_opened [12:45:10]FM_GetShiftState [12:45:10]SAM_PROTO_GetShiftState [12:45:10]wFMCommunicate request_size=4 [12:45:10]MH_SAM_APDU [12:45:10]CAPDU: 80 13 01 00 [12:45:10]Write to MH i2c: E2 08 00 9C 0E 80 13 01 00 00 00 00 00 27 [12:45:10]Write i2c OK [12:45:10]MH_I2C_Read... [12:45:10]Read from MH i2c: E2 [12:45:10]MH_I2C_Read... [12:45:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:45:10]Read from MH i2c: E2 0E 00 [12:45:10]MH_I2C_Read... [12:45:10]Read from MH i2c: E2 0E 00 9C 0E 00 09 00 01 58 A7 F4 66 00 00 00 00 90 00 8C [12:45:10]RAPDU: 09 00 01 58 A7 F4 66 00 00 00 00 90 00 [12:45:10]wFMCommunicate OK [12:45:10]SAM_PROTO_GetShiftState done [12:45:10]FM_GetShiftState done [12:45:10]req_shift_opened done [12:45:10]requested_item shift.open_date is exist - process it [12:45:10]req_shift_open_date [12:45:10]req_shift_open_date done [12:45:10]produce_requested_data done [12:45:10]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":19046,"shift.num":184,"shift.opened":1,"shift.open_date":1727309656} [12:45:10]process_action_free close_receipt [12:45:10]json_value_free [12:45:10]json_value_free done [12:45:10]process_json_proto returns [12:45:10]Send response to host [12:45:10]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":19046,"shift.num":184,"shift.opened":1,"shift.open_date":1727309656}}} [12:45:10]free response buf [12:45:10]execute_script done [12:45:10]execute_script returns [12:45:10]free content buf [12:45:10]Sock 9.Close socket [12:45:10]Sock 9.Thread stoped [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:30]OFD Sender: No OFD packet to send [12:46:35]OFD Sender: No OFD packet to send [12:46:40]OFD Sender: No OFD packet to send [12:46:45]OFD Sender: No OFD packet to send [12:46:50]OFD Sender: No OFD packet to send [12:46:55]OFD Sender: No OFD packet to send [12:47:00]OFD Sender: No OFD packet to send [12:47:05]OFD Sender: No OFD packet to send [12:47:10]OFD Sender: No OFD packet to send [12:47:15]OFD Sender: No OFD packet to send [12:47:20]OFD Sender: No OFD packet to send [12:47:25]OFD Sender: No OFD packet to send [12:47:30]OFD Sender: No OFD packet to send [12:47:35]OFD Sender: No OFD packet to send [12:47:40]OFD Sender: No OFD packet to send [12:47:45]OFD Sender: No OFD packet to send [12:47:50]OFD Sender: No OFD packet to send [12:47:55]OFD Sender: No OFD packet to send [12:48:00]OFD Sender: No OFD packet to send [12:48:05]OFD Sender: No OFD packet to send [12:48:10]OFD Sender: No OFD packet to send [12:48:15]OFD Sender: No OFD packet to send [12:48:20]OFD Sender: No OFD packet to send [12:48:25]OFD Sender: No OFD packet to send [12:48:30]OFD Sender: No OFD packet to send [12:48:35]OFD Sender: No OFD packet to send [12:48:40]OFD Sender: No OFD packet to send [12:48:45]OFD Sender: No OFD packet to send [12:48:50]OFD Sender: No OFD packet to send [12:48:55]OFD Sender: No OFD packet to send [12:49:00]OFD Sender: No OFD packet to send [12:49:05]OFD Sender: No OFD packet to send [12:49:10]OFD Sender: No OFD packet to send [12:49:15]OFD Sender: No OFD packet to send [12:49:20]OFD Sender: No OFD packet to send [12:49:25]OFD Sender: No OFD packet to send [12:49:30]OFD Sender: No OFD packet to send [12:49:35]OFD Sender: No OFD packet to send [12:49:40]OFD Sender: No OFD packet to send [12:49:45]OFD Sender: No OFD packet to send [12:49:50]OFD Sender: No OFD packet to send [12:50:05]OFD Sender: No OFD packet to send [12:50:05]recv_with_timeout no data received [12:50:10]OFD Sender: No OFD packet to send [12:50:15]OFD Sender: No OFD packet to send [12:50:16]recv_with_timeout no data received [12:50:20]OFD Sender: No OFD packet to send